• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

HOWTO IrDA + Asus M2400N

tobym

Newbie
nach langem rumsuchen und rumprobieren ist es mir endlich gelungen infrarot auf meinem asus m2400n zum laufen zu bringen.. und hier nur ein howto für alle anderen m2400n user:

als root:

cd /etc/modprobe.d

-->datei 'irda' erstellen mit folgendem inhalt:

# IrCOMM module
alias char-major-161 ircomm-tty
alias char-major-60 ircomm_tty
# DevFS autoload for IrCOMM
alias /dev/ircomm0 ircomm-tty
alias /dev/ircomm1 ircomm-tty
# IrLAN, but currently the IrLAN protocol is no longer maintained by the Linux/IrDA core team
alias irlan0 irlan
# To use the FIR driver. This applies only to the specific device!!!
alias irda0 nsc-ircc
install nsc-ircc /bin/setserial /dev/ttyS1 uart none; /sbin/modprobe --ignore-install nsc-ircc; echo 1 > /proc/sys/net/irda/discovery; ifconfig irda0 up
remove nsc-ircc /sbin/modprobe -r --ignore-remove nsc-ircc; /sbin/modprobe -r ircomm_tty ircomm irda
# IrNET module
alias char-major-10-187 irnet

so, das ganze abspeichern und testen:

modprobe nsc-ircc
dmesg | tail -n 10

sollte etwa folgende ausgabe geben:

irda_init()
NET: Registered protocol family 23
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Found dongle: HP HSDL-1100/HSDL-2100
irlap_change_speed(), setting speed to 9600

und nun:

irdadump -d

sollte dann euer ir-gerät erkennen (Vorher natürlich handy oder anderes infrarot-gerät aktivieren und neben den ir-port legen)
 
Oben