Re: rule for old udev version

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

 



On Wed, Jul 15, 2009 at 6:15 PM, Nicola Maggi<nicola.maggi@xxxxxxxxx> wrote:
> On Wed, Jul 15, 2009 at 11:08 AM, Xiaofan Chen<xiaofanc@xxxxxxxxx> wrote:
>> Maybe udev is not working in this setup and you can try
>> hotplug.
>>
>> Example:
>> http://piklab.sf.net/files/libusb_udev_hotplug.txt
>> http://piklab.wiki.sourceforge.net/USB+Port+Problems
>
> Thank you for your help,hotplug worked just fine.
> However i have a little question:
> in the document you linked there was an example foo.usermap file with
> hard coded PID and VID in it.
> However I only know a VID for sure.I would need to use some kind of
> wildcard, i.e. match any usb device with this PID, no matter what PID
> it has.
> Is there such a way? or should i create one file for each peripheral?
>

In that case, you can try just use the VID and leave the
PID field to 0000.

# Foo device with VID=1234 and PID=xxxx
bar 0x0001 0x1234 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000

Explanation:
http://lug.wsu.edu/node/339


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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux