brosen Tux's lil' helper
Joined: 23 Sep 2003 Posts: 81
|
Posted: Wed Feb 11, 2004 11:34 am Post subject: Lircd and device files (solved) |
|
|
I'm trying to get lirc working but have run into a problem.
It's a serial ir-sensor on ttyS0 (com1)
the remote is a functioning Sony with a lircd.conf from the project homepage.
I simply emerged lircd
added
Code: |
alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x03f8
|
to /etc/modules.d/aliases and ran modules-update
modprobe lirc_serial
/etc/init.d/lircd start
dmsg only says:
Code: |
lirc_serial: auto-detected active low receiver
lirc_dev: lirc_register_plugin:sample_rate: 0
|
irw doesn't produce anything and /var/log/lircd tells me
Code: |
Feb 11 12:12:17 delirium lircd 0.7.0pre2: lircd(serial) ready
Feb 11 12:12:52 delirium lircd 0.7.0pre2: accepted new client on /dev/lircd
Feb 11 12:12:52 delirium lircd 0.7.0pre2: could not open /dev/lirc
Feb 11 12:12:52 delirium lircd 0.7.0pre2: default_init(): Is a directory
Feb 11 12:12:52 delirium lircd 0.7.0pre2: caught signal
|
Any idea how I fix this?
EDIT:
Simple young apprentice, use -d /dev/lirc/0 |
|