LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to map a device with VID/PID with mounted path /dev/sdx? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-map-a-device-with-vid-pid-with-mounted-path-dev-sdx-4175537572/)

krishnamoorthy 03-23-2015 12:27 AM

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.

jeremy 03-23-2015 10:27 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 10:00 PM.