|
From: Xiaofan C. <xia...@gm...> - 2011-07-01 14:59:04
|
On Fri, Jul 1, 2011 at 6:49 PM, Michael Bauer <mi...@m-...> wrote: > Xiaofan Chen wrote: >> Hopefully Alan's answer is good for you. However, I am wondering why you >> want to use the DEVPATH/DEVNAME to match the device. Why not use >> VID/PID plus serial number or manufacturer string or things like that to >> match the device? In that case, no udev rules are required. > > In general I fully agree and would have done it like that, but the problem > is that i want to support multiple connected devices of the same kind. And > in this case the information available from udev is completely identical. So > i can only rely on the physical address... I see. This topic has been discussed before but unfortunately I do not know when the topology API can be added to libusb-1.0. http://libusb.6.n5.nabble.com/equivalent-quot-DevicePath-quot-of-WinUSB-in-LibUSB-td2640222.html -- Xiaofan |