Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Brad Sawatzky <brad+debian(at)swatter.net>
Date: Mon Oct 01 2007 - 00:04:28 EDT


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@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Oct 1 00:04:51 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:04:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library