[mythtv-users] Anyone Using LIRC on CentOS 6.6?

Kirk Bocek t004 at kbocek.com
Thu Jun 4 02:12:27 UTC 2015



On 6/3/2015 6:55 PM, Hika van den Hoven wrote:
> My error. Should be: udevadm info --attribute-walk path --name=/dev/lirc0

I'm stopping at the USB device to keep the noise down.

$udevadm info --attribute-walk path --name=/dev/lirc0

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:1d.3/usb5/5-1/5-1:1.0/rc/rc1/lirc0':
     KERNEL=="lirc0"
     SUBSYSTEM=="lirc"
     DRIVER==""

   looking at parent device 
'/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/rc/rc1':
     KERNELS=="rc1"
     SUBSYSTEMS=="rc"
     DRIVERS==""
     ATTRS{protocols}=="[rc-5] [nec] [rc-6] [jvc] [sony] [lirc]"

   looking at parent device 
'/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0':
     KERNELS=="5-1:1.0"
     SUBSYSTEMS=="usb"
     DRIVERS=="mceusb"
     ATTRS{bInterfaceNumber}=="00"
     ATTRS{bAlternateSetting}==" 0"
     ATTRS{bNumEndpoints}=="02"
     ATTRS{bInterfaceClass}=="ff"
     ATTRS{bInterfaceSubClass}=="ff"
     ATTRS{bInterfaceProtocol}=="ff"
     ATTRS{modalias}=="usb:v0471p0815d0000dc00dsc00dp00icFFiscFFipFF"
     ATTRS{supports_autosuspend}=="0"

   looking at parent device '/devices/pci0000:00/0000:00:1d.3/usb5/5-1':
     KERNELS=="5-1"
     SUBSYSTEMS=="usb"
     DRIVERS=="usb"
     ATTRS{configuration}==""
     ATTRS{bNumInterfaces}==" 1"
     ATTRS{bConfigurationValue}=="1"
     ATTRS{bmAttributes}=="a0"
     ATTRS{bMaxPower}=="100mA"
     ATTRS{urbnum}=="5606"
     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}=="5"
     ATTRS{devnum}=="2"
     ATTRS{version}==" 1.10"
     ATTRS{maxchild}=="0"
     ATTRS{quirks}=="0x0"
     ATTRS{authorized}=="1"
     ATTRS{ltm_capable}=="no"
     ATTRS{manufacturer}=="Philips"
     ATTRS{product}=="eHome Infrared Transceiver"
     ATTRS{serial}=="PH00VT63"



...and...


$udevadm info --attribute-walk path --name=/dev/input/event14

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:1d.3/usb5/5-1/5-1:1.0/rc/rc1/input15/event14':
     KERNEL=="event14"
     SUBSYSTEM=="input"
     DRIVER==""

   looking at parent device 
'/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/rc/rc1/input15':
     KERNELS=="input15"
     SUBSYSTEMS=="input"
     DRIVERS==""
     ATTRS{name}=="Media Center Ed. eHome Infrared Remote Transceiver 
(0471:0815)"
     ATTRS{phys}=="usb-0000:00:1d.3-1"
     ATTRS{uniq}==""
ATTRS{modalias}=="input:b0003v0471p0815e0000-e0,1,4,14,k71,72,73,74,77,80,94,A1,A4,A7,A8,AE,CF,D0,D2,D4,E0,E1,E2,160,164,166,16D,16E,170,171,172,174,175,179,181,182,185,188,189,18E,18F,190,191,192,193,197,19C,1A9,200,201,202,203,204,205,206,207,208,209,20A,20B,ram4,lsfw"
     ATTRS{properties}=="0"

   looking at parent device 
'/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/rc/rc1':
     KERNELS=="rc1"
     SUBSYSTEMS=="rc"
     DRIVERS==""
     ATTRS{protocols}=="[rc-5] [nec] [rc-6] [jvc] [sony] [lirc]"

   looking at parent device 
'/devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0':
     KERNELS=="5-1:1.0"
     SUBSYSTEMS=="usb"
     DRIVERS=="mceusb"
     ATTRS{bInterfaceNumber}=="00"
     ATTRS{bAlternateSetting}==" 0"
     ATTRS{bNumEndpoints}=="02"
     ATTRS{bInterfaceClass}=="ff"
     ATTRS{bInterfaceSubClass}=="ff"
     ATTRS{bInterfaceProtocol}=="ff"
     ATTRS{modalias}=="usb:v0471p0815d0000dc00dsc00dp00icFFiscFFipFF"
     ATTRS{supports_autosuspend}=="0"

   looking at parent device '/devices/pci0000:00/0000:00:1d.3/usb5/5-1':
     KERNELS=="5-1"
     SUBSYSTEMS=="usb"
     DRIVERS=="usb"
     ATTRS{configuration}==""
     ATTRS{bNumInterfaces}==" 1"
     ATTRS{bConfigurationValue}=="1"
     ATTRS{bmAttributes}=="a0"
     ATTRS{bMaxPower}=="100mA"
     ATTRS{urbnum}=="5606"
     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}=="5"
     ATTRS{devnum}=="2"
     ATTRS{version}==" 1.10"
     ATTRS{maxchild}=="0"
     ATTRS{quirks}=="0x0"
     ATTRS{authorized}=="1"
     ATTRS{ltm_capable}=="no"
     ATTRS{manufacturer}=="Philips"
     ATTRS{product}=="eHome Infrared Transceiver"
     ATTRS{serial}=="PH00VT63"


More information about the mythtv-users mailing list