Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-14-2007, 05:17 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 24

Rep: Reputation: 15
Map USB device to a specific special file

Hi all,

sorry to bother you with this, but I forgot how to do it and can't find it on google.

I know that there is a way to map a specific USB device to a specific special file. Currently it is mapped to /dev/input/eventX where X is variable (may change each time you plug in a USB device).

I want to map it to a specific special file every time it is plugged in. I remember that I was able to steer that based on the product ID or product key (something viewable by "cat /proc/bus/input/devices").

I can't remember how to do it...can anyone please refresh my memory?

Many thanks,
Old 04-14-2007, 05:30 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,867

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
The document to search for is "Writing udev rules"
by Daniel Drake
Old 04-14-2007, 05:37 PM   #3
LQ Newbie
Registered: Apr 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Cheers, that was it!



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
Force a USB device to use a specific /dev/ttyUSBX garnser Linux - Software 4 02-10-2006 06:28 AM
Setting special permissions for USB flash device Shawn Parr SUSE / openSUSE 0 02-19-2005 06:04 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 03:52 AM
USB device is recognized, but wount access it's specific driver. Lechium Linux - Software 2 08-05-2004 01:26 PM
how can usb-storage device attach to specific /dev/sd* xxie Linux - Hardware 0 05-25-2004 10:14 PM

All times are GMT -5. The time now is 11:59 AM.

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