Re: [FIXED] Re: lirc on Debian with AMD64



On Sat, 29 Sep 2007, Greg Vickers wrote:

OK, I found out that Debian Etch uses a new input layer, and that the IR
inputs are in /dev/input/eventX where X corresponds the event number of
your input devices in 'cat /proc/bus/input/devices'

So my IR device is /dev/input/event1, instead of /dev/lirc or /dev/lirc0.

Just a heads-up, that event number could easily change from boot to boot.
You can preserve your sanity by making a udev rule like the following and
put it (or a symlink) in "/etc/udev/rules.d/"

KERNEL=="event[0-9]", ATTRS{name}=="cx88 IR *", SYMLINK+="lirc%n"

I *think* that rule should work for you Hauppauge card, but I'm making an
educated guess on the 'ATTRS{name}=="cx88 IR *"' bit.

You can confirm/correct the rule by running the following as root:
% udevinfo -a -p `udevinfo -q path -n /dev/input/event1`
where event1 is the lirc dev you want. Hopefully the appropriate match
rule is self-explanatory. '*' behaves as a shell-like wildcard.

-- Brad


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [FIXED] Re: lirc on Debian with AMD64
    ... that event number could easily change from boot to boot. ... If there is more than one card that could match the ATTRSfield, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [FIXED] Re: lirc on Debian with AMD64
    ... inputs are in /dev/input/eventX where X corresponds the event number of ... Just a heads-up, that event number could easily change from boot to boot. ...
    (Debian-User)
  • Re: System hangs at boot
    ... if your wireless card is configure ... >>expect an internet connection. ... loaded at boot time? ... with a subject of "unsubscribe". ...
    (Debian-User)
  • RE: C2t2 install on HP DL360. Hangs at cciss
    ... I can seem to boot all the way through to the gui but when I go to ... partition using disk druid it tells me I have no devices. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ...
    (Fedora)
  • Re: how to use promise fastTrak 378 with IDE disks?
    ... However, when I boot into ... lsmod | grep ata ... If you don't see sata_promise listed then you should try this command as ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)