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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-23-2004, 02:54 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Rep:
|
modprobe question: vendor? Prod?
I am a relatively new, on again and off again linux user. I am running Redhat 9, and I have a modprobe question.
I have a PCMCIA card that has a USB serial port in it. However, it is not advertised, so I need to manually specify it somehow.
I have this command, pulled from another webpage:
# modprobe usbserial vendor=0xf3d prod=0x0112
I am using a bash shell. modprobe responds by saying vendor and prod are not valid arguments. It seems to only want the usbserial part, and nothing more.
So how does this work? I need to get the serial port recognized to send AT commands to the card.
Thanks!
Derek
|
|
|
03-23-2004, 03:27 PM
|
#2
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
|
Looks like I may be in 'safe mode', according to the man page for modprobe. Not sure how to get out of safe mode at the moment.
Looking into it further - any ideas?
Derek
|
|
|
03-23-2004, 03:42 PM
|
#3
|
Member
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393
Rep:
|
Have you tried to get it to work without the prod and vendor arguments?
|
|
|
03-23-2004, 03:48 PM
|
#4
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
|
Yeah, it doesn't see the usb serial port because 'its not advertised'. For some reason, this secondary diagnostic port on the modem card doesn't tell anyone of its existance. This is why you have to specify it manually. Granted, this is the impression I have.
The usbserial loads, but nothing gets attached to anything.
Seems like if I could just get modprobe to work with these arguments, it would connect.
MAN modprobe says when in 'safe mode':
'There can only be one module name and options of the form "variable=value" are forbidden'
So maybe this is a problem, but I have no idea what safe mode is, how I got in it, or how to get out of it. I am scouring message forums and search engines, nothing so far.
Derek
|
|
|
03-23-2004, 03:54 PM
|
#5
|
Member
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393
Rep:
|
Well, I'm not keen on Red Hat nor did I have any idea that modprobe had arguments like those, because modprobe's usage file dos not mention them at all.
|
|
|
03-23-2004, 04:06 PM
|
#6
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
|
I am not keen on it either, but that is what was dealt to me here at work.
modprobe has this entry:
modprobe [-adnqv] [-C config] module [symbol=value ...]
That symbol=value thing looks like a valid argument. But not for me.
Derek
|
|
|
03-23-2004, 04:48 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
|
Hmm... I was not logging in under GNOME, but 'default'. not sure what that means for Redhat. I logged in under GNOME instead, and now modprobe works with those arguments.
Who knows why, but I'll move on. Thanks!
Derek
|
|
|
03-23-2004, 05:17 PM
|
#8
|
Member
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393
Rep:
|
Odd. Maybe it's just some hidden and suprising feature of GNOME.
|
|
|
All times are GMT -5. The time now is 09:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|