Jump to content

Compaq Evo N1000v IRDA Setup


michaelcole
 Share

Recommended Posts

2.6.12-13mdk

 

/etc/modprobe.conf

alias tty-ldisc-11 irtty

alias char-major-161 ircomm-tty # if you want IrCOMM support

alias irlan0 irlan

alias irda0 nsc-ircc

alias char-major-10-187 irnet # Official allocation of IrNET

 

/etc/sysconfig/irda

IRDA=yes

DEVICE=irda0

#DEVICE=IRDA

DISCOVERY=yes

 

/etc/modprobe.preload

irtty-sir

ircomm-tty

 

/etc/modules

irtty-sir

ircomm-tty

 

It has only taken 3 Days to get all the settings in the right place again and working..

 

This wil get the kbeam to work correctly with the internal IR device of the laptop..

 

I have not tried the networking or other features as yet..

 

Hope it helps others..

 

Annother change i made to set things up nicely was this in the irda file in /etc/init.d/

 

start() {

# Attach irda device

gprintf "Starting %s: " "$prog"

/bin/echo 115200 > /proc/sys/net/irda/max_baud_rate

/bin/echo 2000 > /proc/sys/net/irda/max_tx_data_size

/bin/echo 1000 > /proc/sys/net/irda/min_tx_turn_time

/bin/echo 1 > /proc/sys/net/irda/max_tx_window

setserial /dev/ttyS2 uart none

daemon /usr/sbin/irattach ${DEVICE} ${ARGS}

touch /var/lock/subsys/irda

echo

}

This sets the correct speeds and kills the serial device settings that get in the way of the IRDA start..

 

 

[moved from Hardware by spinynorman]

Edited by michaelcole
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...