Code Sample |
dsl@ttyp0[dsls]$ lsmod|grep irda irda 90352 0 [via-ircc] |
Code Sample |
# rmmod via-ircc # modprobe irda # lsmod |grep irda irda 90352 0 # setserial /dev/ttyS1 /dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3 # setserial /dev/ttyS0 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 # modprobe irport # modprobe irtty I've got a serial port here: # setserial /dev/ttyS0 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 #irattach /dev/ttyS0 -s #cat /var/log/messages ... Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo weksarahdio > /proc/sys/net/irda/devname' Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery' Jan 11 04:21:09 weksarahdio user.info irattach: Starting device irda0 |