[mythtvnz] lirc discussion (was: VDPAU Results)
James Booth
james at booths.net.nz
Tue Apr 28 03:02:07 BST 2009
Entry is the same as yours - I looked it over and it seems like it should
work to me:
KERNEL=="lirc[0-9]*", "SUBSYSTEM=="lirc", SUBSYSTEMS=="usb",
ATTRS{product}=="eHome Infrared Transceiver", SYMLINK+="mceremote"
Output ofudevadm:
james at mythtv:/etc/udev/rules.d$ udevadm info -a -p $(udevadm info -q path -n
/dev/lirc2)
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:1a.1/usb4/4-1/lirc/lirc2':
KERNEL=="lirc2"
SUBSYSTEM=="lirc"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:1a.1/usb4/4-1':
KERNELS=="4-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}=="100mA"
ATTRS{urbnum}=="26538"
ATTRS{idVendor}=="0471"
ATTRS{idProduct}=="0815"
ATTRS{bcdDevice}=="0000"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="16"
ATTRS{speed}=="12"
ATTRS{busnum}=="4"
ATTRS{devnum}=="2"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Philips"
ATTRS{product}=="eHome Infrared Transceiver"
ATTRS{serial}=="PH00Wauw"
looking at parent device '/devices/pci0000:00/0000:00:1a.1/usb4':
KERNELS=="usb4"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="59"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0206"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="4"
ATTRS{devnum}=="1"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 2.6.28-11-generic uhci_hcd"
ATTRS{product}=="UHCI Host Controller"
ATTRS{serial}=="0000:00:1a.1"
ATTRS{authorized_default}=="1"
looking at parent device '/devices/pci0000:00/0000:00:1a.1':
KERNELS=="0000:00:1a.1"
SUBSYSTEMS=="pci"
DRIVERS=="uhci_hcd"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x2938"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x8277"
ATTRS{class}=="0x0c0300"
ATTRS{irq}=="21"
ATTRS{local_cpus}=="ffffffff,ffffffff"
ATTRS{local_cpulist}=="0-63"
ATTRS{modalias}=="pci:v00008086d00002938sv00001043sd00008277bc0Csc03i00"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
-----Original Message-----
From: mythtvnz-bounces at lists.linuxnut.co.nz
[mailto:mythtvnz-bounces at lists.linuxnut.co.nz] On Behalf Of Jean-Yves
Avenard
Sent: Tuesday, 28 April 2009 11:28 a.m.
To: MythTV in NZ
Subject: Re: [mythtvnz] lirc discussion (was: VDPAU Results)
Hi
2009/4/28 James Booth <james at booths.net.nz>:
> lrwxrwxrwx 1 root root 14 2009-04-27 22:41 mceremote ->
> usbdev4.2_ep81
Post your udev entry
and the result of udevadm for /dev/lirc2...
You didn't link to the lirc device, but to the parent device (usb)
_______________________________________________
mythtvnz mailing list
mythtvnz at lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
More information about the mythtvnz
mailing list