LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-14-2010, 07:10 AM   #1
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Rep: Reputation: 31
Translate this command equivalent for Mint?


Sorry, title's confusing, but can't edit it.
I may not know what I'm talking about, but does anyone want to have a go at translating this suggestion I dug up into one that Mint 7 would act on?

sudo insmod /lib/modules/`uname -r`/kernel/drivers/usb/serial/usbs erial.ko vendor=0x16d8 product=0x6280

Object is to get drivers for telstra turbo which isnt recognised at all yet.

Last edited by widda; 02-14-2010 at 07:14 AM. Reason: title possibly misleading
 
Old 02-14-2010, 07:50 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Mint should understand that command as is (with the typos fixed that is). Have you tried running it? And if so, what is Mint doing or not doing? Error messages would be very helpful. You could also try a modprobe variation of that command:

modprobe usbserial vendor=0x16d8 product=0x6280


Of course one of the questions is why you would need the vendor and product information. If you're working off of some different advice, please post a link.
 
Old 02-14-2010, 12:09 PM   #3
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
I don't remember where I got the command from - it was during hours of trawling about trying to get friend's new telstra turbo wireless modem to be seen by just-installed Mint.
I ran it, not noticing the space in it - I don't spot any other typos, but I wouldn't know for sure, not familiar enough. Just copying and pasting what I read from some forum
I think terminal said command not found.
But it.s useful to know that it looks like acceptable Mint command, and will get back to friend and try again.
 
Old 02-14-2010, 05:05 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The only other real potential gotcha is the backtick (`) around the uname -r command. Make sure you type a backtick and not an apostrophe. The backtick causes the command in between them to be evaluated, where an apostrophe won't.
 
Old 02-14-2010, 08:14 PM   #5
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Thanks: It didnt like the modprobe idea btw:

laptop:~$ modprobe usbserial vendor=0x16d8 product=0x6280exitWARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release.

I don't get what kind of action is suggested by this response.

Last edited by widda; 02-14-2010 at 11:19 PM. Reason: clarify ambigity
 
Old 02-14-2010, 11:56 PM   #6
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
I put the amended command in-"sudo insmod..."- and met with no objections (nor any sign of action except being ready for new command, which I took as a good sign)

Last edited by widda; 02-14-2010 at 11:59 PM. Reason: clarify ambigity
 
Old 02-15-2010, 12:01 AM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by widda View Post
I put the amended command in-"sudo insmod..."- and met with no objections (nor any sign of action except being ready for new command, which I took as a good sign)
Yes that is normally a good sign. You can check by using lsmod. Not sure how familiar you are with mint or Ubuntu based distro's but all commands that need elevated privileges must be ran with sudo.
 
Old 02-15-2010, 07:19 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Yeah, if modprobe is silent, that means that the command worked. Modprobe only gets vocal when something goes wrong. And since modprobe does load a kernel module, you need to be root or use sudo.
 
Old 02-15-2010, 07:39 AM   #9
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
thanks hangdog and jstephens, I appreciate the extra education
 
  


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
shell scripting need to translate a command output megerdin Programming 5 10-19-2009 09:30 AM
BASH/No X: Using google translate to convert TXT files (translate) frenchn00b Programming 10 09-13-2009 10:55 PM
to translate or not to translate HTML rblampain General 2 07-05-2007 09:04 AM
How The Unix OS translate the shell command flavor Programming 4 10-25-2005 12:02 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM

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

All times are GMT -5. The time now is 09:14 PM.

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