Quote |
However, DSL really, really doesn't like this and hangs with the caps lock/scroll lock lights flashing - in all time I've been blundering around in DSL, I never managed to do this before |
Code Sample |
$ sudo ln -s /dev/ttyS1 /dev/irda0 $ sudo insmod irda $ sudo ifconfig irda0 up $ ifconfig irda0 irda0 Link encap:IrLAP HWaddr a7:c5:1c:32 UP RUNNING NOARP MTU:2048 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:8 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) # echo -n 1 >/proc/sys/net/irda/discovery [note terminal as root] $ cat /proc/net/irda/discovery IrLMP: Discovery log: nickname: P900, hint: 0x9325, saddr: 0xa7c51c32, daddr: 0x1770890c |
Code Sample |
$ sudo setserial /dev/ttyS1 UART none $ sudo rmmod serial $ sudo mknod -m 664 /dev/irda0 c 160 0 $ sudo insmod irda $ sudo insmod irport io=0x2f8 irq=3 $ dmesg | grep irda0 IrDA: Registered device irda0 $ sudo ifconfig irda0 up $ ifconfig irda0 irda0 Link encap:IrLAP HWaddr bb:59:77:82 UP RUNNING NOARP MTU:2048 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:8 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:3 Base address:0x2f8 # sudo echo -n 1 > /proc/sys/net/irda/discovery |