LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 01-08-2010, 05:36 AM   #1
er.saurabh
LQ Newbie
 
Registered: Dec 2009
Posts: 13

Rep: Reputation: 0
Wink how to automate - modprobe usbserial - in linux (fedora)


Dear Experts,

I have three types of USB wireless modems to work with fedora.

All 3 modems works fine with the (modprobe usbserial - wvdial)
procedure.

Now What I have to do is on every boot, is probing the usbserial
driver with the respective product and vendor IDs , as below.

for first modem:

" modprobe usbserial vendor=0xYY product=0xZZ "
(where 0xYY and 0xZZ is IDs of first modem)

for inserting 2nd modem:

" rmmod usbserial "
then
" modprobe usbserial vendor=0xAA product=0xBB "
(where 0xAA and 0xBB is IDs of 2nd modem)

and so on,


I learnt that if I put this in rc.init , then modprobing
will be doing automatically, but this method will work only for
a single type of modem. How can I automate the procedure for
3 modems (say n modems)


Thanks in advance ..

Last edited by er.saurabh; 01-08-2010 at 06:08 AM.
 
Old 01-08-2010, 06:34 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Use udev to do that.
 
Old 01-08-2010, 07:23 AM   #3
er.saurabh
LQ Newbie
 
Registered: Dec 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks

Yes I got.. May I need to do some kind of rules mapping using udev..

But I will be very obliged if you provide links to the stuff from where can find I such tutorials ..

I am very new 2 linux
 
Old 01-08-2010, 07:25 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
http://www.reactivated.net/writing_udev_rules.html
 
Old 01-11-2010, 12:26 AM   #5
er.saurabh
LQ Newbie
 
Registered: Dec 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Wonderful tutorial...I am going tru..
 
  


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
modprobe usbserial problem with minimal linux er.saurabh Linux - Newbie 1 12-31-2009 08:39 AM
modprobe usbserial (Konsole Freezes) deepgrewal Linux - General 2 07-12-2007 09:55 AM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 10:54 AM
modprobe usbserial vendor=0xdf7 product=0x88 failed error -5 ricardo_duncan Linux - Newbie 0 10-11-2005 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration