DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default USB not working after suspend

Hello,

One of the laptops I manage is having problems with the suspend/resume functions. After a few suspends/resumes, all USB devices suddenly stop working. Even the laser of the USB mouse stops working.

Do you think that this problems is more related to the hardware of the machine? Or could this be some kind of kernel module failling?

The laptop is an IBM ThinkPad X31. It is running a fresh install of Ubuntu 8.04 LTS.


Thanks for any insights.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #2   (View Single Post)  
Old 17th July 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default

For the mouse try adding
Quote:
hint.psm.0.flags="0x3000"
to /boot/loader.conf. For usb in general look at /etc/rc.suspend and /etc/rc.resume. I added an 'ifconfig ... down' statement to rc.suspend and reset in rc.resume. If it's only one or two devices something similar may work.

Changing the irq settings in the bios may help. On an older thinkpad I've set them to auto, the default was 11.

Last edited by davidgurvich; 17th July 2008 at 04:35 PM.
Reply With Quote
  #3   (View Single Post)  
Old 17th July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Thanks for the reply davidgurvich, but I think your solution applies only to *BSD OSes. I am currently dealing with Ubuntu 8.04 LTS

I'll try the IRQ thing, thanks!

Thanks anyway!
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #4   (View Single Post)  
Old 18th July 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default

Sorry about that, I missed which forum the post was in. Unloading the usb modules on suspend and reloading them on resume may work. There should be specific scripts for suspend and resume in /etc/ somewhere. You may have to restart some services also.
Reply With Quote
  #5   (View Single Post)  
Old 21st July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Thanks for the reply. I am going to test a few things. I'll post the solution back here when something working will be in place.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #6   (View Single Post)  
Old 11th August 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Reloading the usb modules only freezes the terminal... and playing with the IRQs was of no help...

Suggestions are still appreciated. Thanks fo your posts davidgurvich.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with CVS? Zmyrgel OpenBSD General 15 6th October 2009 01:32 PM
x11 forwarding over ssh not working kasse OpenBSD General 14 23rd December 2008 02:21 PM
pf: why is that rule not working? ivanatora FreeBSD General 14 11th December 2008 09:32 AM
Crontab not working beandip FreeBSD General 6 6th August 2008 08:33 PM
Is powerd really working? yurtesen FreeBSD General 16 12th June 2008 11:10 PM


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick