LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 10-05-2004, 08:02 PM   #1
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Help mount usb to same /dev no matter which order plugged in.


I hope I can explain this clearly. This is what I would like to be able to do.

Hardware:
Motherboard 2 port USB
PCI 5 port USB 2 Port Firewire

Devices I have: ( All mount and work fine )
USB 7 in1 Multicard Reader ( Mounted in Case and always Plugged in)
USB Lexar Trio JumpDrive for SD Cards
USB 20 gig Harddrive
USB DVDRW Burner

Running Fedora Core 2 fully updated
Kernel 2.6.9-rc2

This is what happens. If I start my machine with only the MultiCard Reader plugged in, it sees the slots as /dev/sdd1 - /dev/sdg1. Of coarse as I plug in other devices they increment up to the next /dev

Now I start the machine and have the Jumpdrive plugged in as well as the multiCard reader. Now the jumpdrive is /dev/sdd1 and card reader is /dev/sde1 - /dev/sdh1

What I what to do is to plug in any device in any order and have them to thier specfic /dev
Is there some file that can define a usb device to specfic /dev location.

Always want these device s to be the following
Card reader to be /dev/sdd1 - /dev/sdg1
Jumpdrive to be /dev/sdh1
Harddrive to be /dev/sdi1
burner to be /dev/sdj1

Even if I don't plug in the jumpdrive or harddrive then I want to card reader to be /dev/sdd1 - /dev/sdg1 and the burner as /dev/sdj1. So if iplug in the harddrive later then it will be /dev/sdi1. So in this setup /dev/sdh1 for the jumpdrive is empty till it is plugged in.

/dev/sda - /dev/sdc are scsi harddrives installed in machine

Thanks for all your help and time.
Brian

Last edited by Brian1; 10-05-2004 at 08:07 PM.
 
Old 10-05-2004, 08:31 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: Help mount usb to same /dev no matter which order plugged in.

Quote:
Originally posted by Brian1
What I what to do is to plug in any device in any order and have them to thier specfic /dev
Is there some file that can define a usb device to specfic /dev location.
it is udev

issue from a terminal "man udev"
but don't ask me how to set it up, as this is on my TO-DO LIST

Edit: There is also a program called usbmgr
http://www.dotaster.com/~shuu/linux/usbmgr/

Last edited by Bruce Hill; 10-05-2004 at 08:34 PM.
 
  


Reply


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
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 07:41 AM
USB Mouse only works when plugged into USB PCI Card helliax Slackware 6 12-05-2005 01:18 AM
can't mount /dev/cdrom no matter what I do a52b52 Linux - General 4 05-14-2004 12:10 AM
i just plugged a HD, unfortunately, i was not able to mount it.. hmm.. kublador Linux - Hardware 4 09-15-2003 12:00 AM
does order in kernel compile matter? doublefailure Linux - General 2 07-06-2002 05:26 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration