How to map a device with VID/PID with mounted path /dev/sdx?
Hi,
I have developed a tool where the update logic happens through libusb. In the case of libusb, we perform the corresponding operations after opening the respective device with VID/PID. Now one of the requirement states that even user specifies the mounted path (eg: /dev/sda), the tool performs the operation to a different device(eg:/dev/sdb) where the VID/PID matches with my tool logic. Can anyone please suggest how to map the VID/PID with the mounted path. Thanks in advance. |
Quote:
Also...this is a confusing post. You say that you developed this tool that already does what you want...but you're not able to understand it to modify it??? Can you post this script? Tell us how you're getting the 'VID/PID' now? |
All times are GMT -5. The time now is 11:53 AM. |