[pvrusb2] New driver snapshot: pvrusb2-mci-20091011

Ken Bass kbass at kenbass.com
Fri Oct 23 23:38:02 CDT 2009


Mike Isely wrote:
> On Sat, 17 Oct 2009, Martin Dauskardt wrote:
>
>   
>>>   http://linuxtv.org/hg/~mcisely/pvrusb2-20091011/
>>>       
>> Hi Mike,
>>
>> I tried it and there are now much more informations available via udev :-)
>>
>> But is this right:
>>
>>     ATTRS{serial}=="0000:00:10.4".
>>
>> Instead of the serial number it seems to include the bus info.
>> v4l2-ct --all says
>>
>>         Bus info      : usb-0000:00:10.4-2
>>
>>     
Just as another datapoint my serial number is correct in my udev. 
However, there are multiple serial numbers.
The above serial number is associated with the parent and happens to be 
what is filled in as the serial number for the EHCI Host Controller on 
my system. I've included it below as an example.

  looking at device 
'/devices/pci0000:00/0000:00:02.1/usb1/1-5/video4linux/video3':
    KERNEL=="video3"
    SUBSYSTEM=="video4linux"
    DRIVER==""
    ATTR{name}==""
    ATTR{index}=="0"

  looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-5':
    KERNELS=="1-5"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="4387"
    ATTRS{idVendor}=="2040"
    ATTRS{idProduct}=="7501"
    ATTRS{bcdDevice}=="0800"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="3"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Hauppauge"
    ATTRS{product}=="WinTV"
    ATTRS{serial}=="7300-00-F0XXXXXX"

  looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="57"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0206"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="10"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.30.8-64.fc11.x86_64 ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:02.1"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:02.1':
    KERNELS=="0000:00:02.1"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x10de"
    ATTRS{device}=="0x005b"
    ATTRS{subsystem_vendor}=="0x15d9"
    ATTRS{subsystem_device}=="0x1011"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="22"
    ATTRS{local_cpus}=="00000000,00000003"
    ATTRS{local_cpulist}=="0-1"
    ATTRS{modalias}=="pci:v000010DEd0000005Bsv000015D9sd00001011bc0Csc03i20"
    ATTRS{numa_node}=="0"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""


More information about the pvrusb2 mailing list