LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 03-23-2015, 01:27 AM   #1
krishnamoorthy
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Rep: Reputation: Disabled
Lightbulb 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.
 
Old 03-23-2015, 11:27 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 11,956

Rep: Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108Reputation: 3108
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
udev rule to rename /dev/sdx as /dev/sdr does not work :-( on OS 11.2 tkmbe SUSE / openSUSE 2 05-10-2012 02:53 AM
Get /dev/input/eventX from VID:PID (C/C++) Litch84 Programming 1 10-08-2011 06:49 AM
using libusb find device VID & PID on Solaris xwhbin Solaris / OpenSolaris 2 05-19-2010 02:05 AM
usb bluetooth modify vid & pid scan73 Linux - Newbie 1 02-11-2008 11:35 PM
Lock different external drives to a set device name ? (/dev/sdX) Dark Carnival Linux - Hardware 5 10-20-2006 11:42 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration