On 2014-03-12 02:06, drkdfndr wrote:
>
> robin_listas;2630000 Wrote:
>> On 2014-03-11 16:56, drkdfndr wrote:
>>>
>>> Still not sure what parameters to use :
>>> (bump)
>>
>> I have an idea about this, but I need having a good look at my laptop,
>> and then write it here. But I always forget when it is powered up.
>> Sorry.
>> I need to do some errands… perhaps when I come back.
> That would be awesome
I’ve been busy… highly technical tasks such as cutting iron bars to
size or pruning greenery on a garden
Yes, I was going to suggest looking at
“/etc/laptop-mode/conf.d/usb-autosuspend.conf”.
You could try this section:
# The list of USB driver types that should not use autosuspend. The driver
# type is given by "DRIVER=..." in a USB device's uevent file.
# Example: AUTOSUSPEND_USBTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_USBTYPE_BLACKLIST=""
(errata corrected above)
If you run “lsmod | grep usb” you can find out which are in use.
The other one:
# The list of USB IDs that should not use autosuspend. Use lsusb to find
out the
# IDs of your USB devices.
# Example: AUTOSUSPEND_USBID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_USBID_BLACKLIST=""
As the comment say, using “lsusb” should list the IDs. It gives an
output like this:
minas-tirith:/etc/laptop-mode # lsusb
Bus 002 Device 002: ID 0408:0f41 Quanta Computer, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
minas-tirith:/etc/laptop-mode #
But as you see, we can not see which one is the mouse. Let’s try with
“verbose”. …] Nope, I can not identify my touchpad.
From /var/log/Xorg.0.log, I know this:
> 101.700] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
> 101.700] (**) SynPS/2 Synaptics TouchPad: always reports core events
> 101.712] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input1/event1"
> 101.712] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
> 101.712] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
> 101.712] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
> 101.712] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
> 101.712] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
> 101.712] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
> 101.712] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
> 101.712] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
> 101.712] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
> 101.712] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
> 101.713] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
I think mine is not connected via usb at all. It is connected via
something they called “i8042 AUX port”. :-?
(I see an item “/sys/devices/platform/i8042/power/autosuspend_delay_ms”
which could be interesting to manipulate)
I have a note from a thread dated 2012-09-11, on which they use:
AUTOSUSPEND_USBTYPE_BLACKLIST=“usbhid”
This should help you, I think; your mouse is external. But of course,
the entire usb bus will remain powered up.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)