LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-05-2009, 07:16 PM   #1
mtntop
LQ Newbie
 
Registered: Nov 2009
Posts: 2
Thanked: 0
Difference between rebooting computer and unplugging usb modem


[Log in to get rid of this advertisement]
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.
windows_vista mtntop is offline     Reply With Quote
Old 11-05-2009, 07:29 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo
Posts: 1,138
Thanked: 5
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.
windows_xp_2003 exvor is online now     Reply With Quote
Thanked by:
Old 11-05-2009, 09:40 PM   #3
mtntop
LQ Newbie
 
Registered: Nov 2009
Posts: 2
Thanked: 0

Original Poster
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.
windows_vista mtntop is offline     Reply With Quote
Old 11-05-2009, 10:22 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo
Posts: 1,138
Thanked: 5
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.
windows_xp_2003 exvor is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Unplugging usb mass storage in linux launchpadtt Linux - Hardware 3 03-14-2007 06:02 PM
Unplugging USB cdrom drive ewlabonte Debian 7 07-07-2006 08:05 PM
Unplugging USB CDROM while mounted nukes it randomshinichi Linux - Hardware 2 05-14-2006 05:50 PM
Can't boot w/o unplugging usb items... pauleddy Linux - Hardware 2 06-11-2005 10:02 AM
Error On Unplugging USB Devices TastyWheat Linux - Hardware 0 08-28-2003 10:24 AM


All times are GMT -5. The time now is 02:33 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration