Re: v4l parent for usb device interface or device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 26 March 2009, Janne Grunau wrote:
> 
> While I generally agree that setting parent to the usb interface is
> probably correct for multifunction devices

Make that "all" devices.  :)


> I noticed a problem after 
> changing the hdpvr driver accordingly.
> 
> With parent set to the usb interface there is no longer easy access to
> the usb device properties like the serial number through sysfs. I know
> that a couple of user with more than one device use the serial number
> to set static device nodes through udev.

The serial number is still available, but it's coupled to the USB
device not its interface.  Make your udev script hop up a level or
two in the driver model tree, as appropriate.






--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux