LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 11-05-2009, 06:16 PM   #1
mtntop
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Difference between rebooting computer and unplugging usb modem


Kernel version: 2.6.21.4

We are getting an issue with the USB modem we are using. The modem seems to become "corrupt" somehow and stops working.

We've found that unplugging the modem and plugging it back in fixes the problem. But *rebooting the computer* doesn't.

By 'reboot' I mean a soft reboot.

Why is this? I assumed rebooting would have the same effect as unplugging the modem.

My own guess is that the problem is internal to the modem, and the modem needs to lose all power to 'reset' itself. A soft reboot maintains power to the modem, so the modem does not get reset. Is this true?

So how can we duplicate the effect of unplugging a usb device, without actually doing so?

We want to install these machines remotely and want to resolve this problem (and any other potential problems with the modem) remotely, without physical access to the machine. So unplugging is not a practical solution in production.

I haven't tried a hard reboot to see if this behaves differently. The problem is intermittent and hard to reproduce.

Thanks for any insight into how linux works.
 
Old 11-05-2009, 06:29 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,450

Rep: Reputation: 63
Some motherboards like my Asus board retain power on the USB ports after the system goes down and even while the system is off. I use this rather nice feature to charge my cell. Some motherboards do not. The ECS board in my room computer is an example of such. Sometimes its only the front ports sometimes its only the back ports. As for the modem you can try and compile the driver as a module instead of a built in kernel driver. That resolves problems I have with sound cards sometimes.
 
Old 11-05-2009, 08:40 PM   #3
mtntop
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks exvor. You are right; even when I shutdown the computer, the light on the modem is still shining. I have to unplug the AC power before the light goes off. We are using an EeePc. I've tried the different USB ports but they all have power when the OS is shutdown.

It looks like I'll have to try to either power down the USB port through the OS (I've searched for posts on this and it doesn't look easy) or perhaps look for a way to tell the modem to reset itself.
 
Old 11-05-2009, 09:22 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,450

Rep: Reputation: 63
It might be possible via UART commands if modems even use them these days <.< >.> its been a long long times since ive messed with one.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unplugging usb mass storage in linux launchpadtt Linux - Hardware 3 03-14-2007 05:02 PM
Unplugging USB cdrom drive ewlabonte Debian 7 07-07-2006 07:05 PM
Unplugging USB CDROM while mounted nukes it randomshinichi Linux - Hardware 2 05-14-2006 04:50 PM
Can't boot w/o unplugging usb items... pauleddy Linux - Hardware 2 06-11-2005 09:02 AM
Error On Unplugging USB Devices TastyWheat Linux - Hardware 0 08-28-2003 09:24 AM


All times are GMT -5. The time now is 10:31 PM.

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