You are not logged in.

#1 2007-02-09 21:20:53

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Switching off usb devices at shutdown.

When windows xp shuts down it switches off all my usb devices (mouse, hub, etc) but arch doesn't.

Is this normal for linux or is there a way do have arch shutdown my devices?

Cheers.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#2 2007-02-15 21:50:03

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Switching off usb devices at shutdown.

OK. Well here's a video explaining what I mean. 3gp format.

http://homepage.ntlworld.com/j.robinson8/MOV1.3gp


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#3 2007-02-16 00:20:07

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Switching off usb devices at shutdown.

archuser wrote:

OK. Well here's a video explaining what I mean. 3gp format.

http://homepage.ntlworld.com/j.robinson8/MOV1.3gp

Plays fine in mplayer guys, though mplayerplugin doesnt pick it up.

That's odd, it looks like your computer hasnt completely shut down. What happens when you hit the power switch?

James

Offline

#4 2007-02-16 03:20:08

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Switching off usb devices at shutdown.

My computer used to do the same thing. Then a few month ago I made a motherboard upgrade and all of the sudden the problem was gone.
I never knew if it was MOBO related or if it had anything to do with software, but at "first glance" it would appear that hardware (of BIOS) may have an influence.

Offline

#5 2007-02-16 18:07:35

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Switching off usb devices at shutdown.

iphitus wrote:

That's odd, it looks like your computer hasnt completely shut down. What happens when you hit the power switch?

James

Physically powering off the system via the power switch completely powers everything off.

ralvez wrote:

My computer used to do the same thing. Then a few month ago I made a motherboard upgrade and all of the sudden the problem was gone.
I never knew if it was MOBO related or if it had anything to do with software, but at "first glance" it would appear that hardware (of BIOS) may have an influence.

My bios is up to date so an update having screwed something up is a possibility. But then, windows powers it off as usual.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#6 2007-02-28 22:49:31

samoturk
Member
From: Ljubljana, Slovenia
Registered: 2007-02-12
Posts: 86

Re: Switching off usb devices at shutdown.

Adding "rmmod usbhid" in shutdown scprits solves this problem.

Offline

#7 2007-03-01 17:11:04

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Switching off usb devices at shutdown.

Where do I add this?

I add rmmod usbhid to rc.shutdown but it hasn't made a difference.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#8 2007-03-01 17:25:23

samoturk
Member
From: Ljubljana, Slovenia
Registered: 2007-02-12
Posts: 86

Re: Switching off usb devices at shutdown.

Does "rmmod usbhid" switch off your mouse?

rc.shutdown is complex and i didn't have time to study it. So i added "rmmod usbhid" in /etc/rc.d/powersaved under section stop, line 24. When Arch shuts down it runs all daemons with stop parameter.. It is an ugly hack but it works for me..

Offline

#9 2007-03-01 18:16:45

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Switching off usb devices at shutdown.

Actually after watching it does work to an extent. It switches the mouse off but just before the computer powers off, the mouse comes back on again. ('_')

I'll try your hack to see if that works.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#10 2007-03-02 09:09:24

samoturk
Member
From: Ljubljana, Slovenia
Registered: 2007-02-12
Posts: 86

Re: Switching off usb devices at shutdown.

I watched it closely today and it doesn't work for me either. It turns on again just before shutdown. I didn't notice it yesterday, because I watched it just until it switched the LED off and then i went to bed..

Last edited by samoturk (2007-03-02 09:11:03)

Offline

#11 2007-03-02 09:50:29

samoturk
Member
From: Ljubljana, Slovenia
Registered: 2007-02-12
Posts: 86

Re: Switching off usb devices at shutdown.

I tried openSUSE 10.2, Fedora 6 and Slackware 10.2 and neither of them can switch off USB devices at shutdown. But windows XP can..
I have AMD 3000+ on nforce3 250 chipset.

I'll try with some different settings of ACPI and with removing some other modules during shutdown. On the other hand suspend to RAM switches off USB devices perfectly (but it crashes X..).

Offline

#12 2007-03-02 11:32:59

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Switching off usb devices at shutdown.

I'm sure this is a BIOS setup issue. Disable anything referring to timers, wakeup events, wake-on-$foo and so on.


1000

Offline

Board footer

Powered by FluxBB