LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-23-2004, 01:54 PM   #1
ohlarikd
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
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
 
Old 03-23-2004, 02:27 PM   #2
ohlarikd
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 02:42 PM   #3
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Have you tried to get it to work without the prod and vendor arguments?
 
Old 03-23-2004, 02:48 PM   #4
ohlarikd
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 02:54 PM   #5
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 03-23-2004, 03:06 PM   #6
ohlarikd
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 03:48 PM   #7
ohlarikd
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 03-23-2004, 04:17 PM   #8
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Odd. Maybe it's just some hidden and suprising feature of GNOME.
 
  


Reply



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 vendor=0xdf7 product=0x88 failed error -5 ricardo_duncan Linux - Newbie 0 10-11-2005 08:18 AM
installing security patches on prod servers. juanb Linux - Software 0 08-19-2004 03:40 AM
where can i download a good manufacturing program that includes MRP and Prod planning shamz Linux - Software 0 08-05-2004 02:27 PM
modprobe question littleking Slackware 8 12-04-2003 12:15 PM
modprobe - simple question smiley Linux - Software 6 06-15-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:06 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