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



On Mon, Oct 01, 2007 at 12:04:28AM -0400, Brad Sawatzky wrote:
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"

my udev-fu is very weak, but the %n substitutes the kernel supplied
number. in which case you'll get lirc[0-9] depending on which event it
matches. If you only have one ir port that you care about, then you'd
probably always want it to be the *same* symlink regardless of which
event it gets assigned to:

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

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: [FIXED] Re: lirc on Debian with AMD64
    ... Just a heads-up, that event number could easily change from boot to boot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: (newbie) Question about core linux security
    ... yes you are right I meant the graphical boot screen. ... > - Set a BIOS password, so people can't easily change the boot settings. ... a root user into my PC. ...
    (comp.os.linux.security)
  • Re: Startup
    ... getting error messages when you boot? ... There is a Startup tab that lists ... programs that are being started at boot. ... corresponds to whatever caused you to submit a post, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: OT 7025 F-80 Memory
    ... you can just use the difference between the boot ... count and the full memory count - and see if that corresponds with 1 ... bad DIMM or 3. ...
    (comp.sys.ibm.ps2.hardware)