View previous topic :: View next topic |
Author |
Message |
karafeka Tux's lil' helper
Joined: 02 Aug 2004 Posts: 89
|
Posted: Sun Aug 05, 2007 9:32 am Post subject: auto turn off usb mouse [SOLVED] |
|
|
Hello
Is it possible to automatically turn off usb mouse (especially turn off red light), when not using computer for a long period (for example, over night)?
How to do this manually?
Last edited by karafeka on Thu Aug 09, 2007 9:39 am; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Aug 05, 2007 1:24 pm Post subject: |
|
|
Disconnect the mouse by unplugging it. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
bltngshp n00b
Joined: 20 Jan 2005 Posts: 54
|
Posted: Sun Aug 05, 2007 3:23 pm Post subject: |
|
|
nixnut wrote: | Disconnect the mouse by unplugging it. | zing!
But seriously short of that, from http://www.gentoo.org/doc/en/power-management-guide.xml:
Quote: | The kernel offers an experimental option to enable suspension of USB devices through driver calls or one of the power/state files in /sys. Code: | Device Drivers
USB support
[*] Support for Host-side USB
[*] USB suspend/resume (EXPERIMENTAL) |
|
Hopefully this gives you a place to start. |
|
Back to top |
|
|
karafeka Tux's lil' helper
Joined: 02 Aug 2004 Posts: 89
|
Posted: Thu Aug 09, 2007 9:38 am Post subject: |
|
|
If anybody else is interested, how to turn off usb mouse, then try this:
go to
/sys/bus/usb/drivers/usb
execute
$ echo -n 1-1 >bind
to turn off mouse (1-1 is number of usb device (in my case)).
to turn it back on:
$ echo -n 1-1 >unbind |
|
Back to top |
|
|
|