From: Paul B. <peb...@gm...> - 2009-01-15 00:27:09
|
About two years ago, I sent a patch that added the device link in the sys file system for many of the lirc class devices. That is, it added /sys/class/lirc?/device. These patches ('cvs diff' against head) refine/enhance those changes. lirc-lirc_i2c_sysfs_device.diff.bz2 adds the device link for the lirc_i2c. lirc-usb_sysfs_device.diff.bz2 fixes the USB device links. The original patch that I provided linked to the USB device rather than the USB device interface. As this worked fine to identify the device and creating persistent device names in the device file system, I did not catch the bug. However, it does not work one USB device creates more than one LIRC device as happens with some newer iMON devices (e.g. 15c2:0038). This patch fixes that bug. The changes have been tested with 0.8.4a on a PVR-250 (lirc_i2c), an iMON 15c2:0038 (lirc_imon) and an MCE 0471:0815 (lirc_mceusb2). |