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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...