[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648939: [Ben Addis: Re: USB mouse stops work on battery power (Re: Possible solution)]



Forwarding with permission.
--- Begin Message ---
On Sun, 10 Jun 2012 11:08:34 -0500
Jonathan Nieder <jrnieder@gmail.com> wrote:

> Hi Ben,
> 
> Ben Addis wrote:
> 
> > [Subject: Bug#648939: Possible solution]
> 
> Please keep in mind that these appear as emails in a crowded inbox, so
> the subject line can be a good place to put valuable context.

Sorry about that; I'll remember for next time.

> 
> > I seem to have the same problem with my laptop (asus ul30a-a2
> > running debian testing, xfce 4.8, kernel 3.2.0-2-amd64; my mouse is
> > an Evoluent VerticalMouse 3)
> 
> Do you mean that the mouse works when the laptop is connected to power
> but stops about 20 seconds after power is disconnected, that
> reconnecting power gets the mouse working again, and that this is a
> regression introcued at some point between 2.6.32 and 3.0?

I tested it again a few times without the blacklist on the usb mouse's autosuspend. When I unplug the power, the mouse does work, but for varying amounts of time. One time worked ok for 2 minutes until I used the keyboard (and then it died in about 15 secs), another time it didn't work after only a second or two, and the third it lasted for maybe 3 minutes even while using the keyboard. So it seems unconnected to the keyboard use, and to the length of time since unplugging (except that it was always under 5 minutes or so).

In every case, it worked immediately on plugging the laptop back in.  Also unplugging the usb mouse and plugging it back in fixed it (while on battery), but only temporarily, as it would die again in the same way as when unplugging the computer.

Unfortunately, I don't know about when the bug was introduced, as I only switched to pure Debian (from LMDE) about 2 weeks ago. I only just noticed this bug yesterday, but I almost never use my usb mouse when unplugged. I'm not 100% sure I haven't done so in the last 2 weeks, but it's probable. I definitely didn't have this problem in LMDE, though, and I was on at least kernel 3.0.

> > The solution found here
> > (https://bbs.archlinux.org/viewtopic.php?id=123553) is working for
> > me so far. 
> >
> > Essentially you edit /etc/laptop-mode/conf.d/usb-autosuspend.conf
> > and add the usb id of your mouse to the blacklist. 
> 
> Please attach output from "reportbug --template
> linux-image-$(uname -r)" so we can work on diagnosing and fixing (or
> at least automatically working around) the underlying problem.

I've never used reportbug, so hopefully I've got it right.

> Hope that helps,
> Jonathan

Thanks for taking the time to go through this.

Ben
Include network configuration and status from this computer? 
Include network configuration and status from this computer? 
Include network configuration and status from this computer? Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ben Addis <ben@mint>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-image-3.2.0-2-amd64: none

Package: linux-2.6
Version: 3.2.18-1
Severity: wishlist

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***


-- Package-specific info:
** Version:
Linux version 3.2.0-2-amd64 (Debian 3.2.18-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-1) ) #1 SMP Mon May 21 17:45:41 UTC 2012

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-2-amd64 root=UUID=ee00de39-ebec-4eef-a2da-a0b06a4291b2 ro acpi_backlight=vendor i915.powersave=0 vga=792 quiet splash quiet

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log:
[156283.655393] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=0
[156283.860322] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,commit=0
[156545.489824] uhci_hcd 0000:00:1a.0: PCI INT A disabled
[156545.492844] uhci_hcd 0000:00:1a.1: PCI INT B disabled
[156545.495666] uhci_hcd 0000:00:1a.2: PCI INT D disabled
[156545.501272] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[156545.504223] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[156545.520056] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[156545.520115] ehci_hcd 0000:00:1d.7: PME# enabled
[156545.670856] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=600
[156545.935371] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,commit=600
[156547.840085] ehci_hcd 0000:00:1a.7: PCI INT C disabled
[156547.840161] ehci_hcd 0000:00:1a.7: PME# enabled
[156558.574920] NMI watchdog enabled, takes one hw-pmu counter.
[156558.575961] NMI watchdog enabled, takes one hw-pmu counter.
[156558.684092] ehci_hcd 0000:00:1a.7: BAR 0: set to [mem 0xfe9fbc00-0xfe9fbfff] (PCI address [0xfe9fbc00-0xfe9fbfff])
[156558.684120] ehci_hcd 0000:00:1a.7: restoring config space at offset 0xf (was 0x300, writing 0x306)
[156558.684152] ehci_hcd 0000:00:1a.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[156558.684296] ehci_hcd 0000:00:1a.7: PME# disabled
[156558.684311] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[156558.684321] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[156558.850131] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[156558.850143] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[156558.889984] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
[156558.889995] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[156558.930029] uhci_hcd 0000:00:1a.2: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[156558.930041] uhci_hcd 0000:00:1a.2: setting latency timer to 64
[156558.971353] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[156558.971364] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[156559.010015] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[156559.010026] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[156559.064069] ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0xfe9fb800-0xfe9fbbff] (PCI address [0xfe9fb800-0xfe9fbbff])
[156559.064096] ehci_hcd 0000:00:1d.7: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[156559.064132] ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900102)
[156559.064268] ehci_hcd 0000:00:1d.7: PME# disabled
[156559.064283] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[156559.064293] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[156559.079244] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=0
[156559.633842] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,commit=0
[156563.423702] uhci_hcd 0000:00:1a.0: PCI INT A disabled
[156563.426652] uhci_hcd 0000:00:1a.1: PCI INT B disabled
[156563.439462] uhci_hcd 0000:00:1a.2: PCI INT D disabled
[156563.470861] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[156563.474214] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[156563.492051] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[156563.492109] ehci_hcd 0000:00:1d.7: PME# enabled
[156563.524929] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=600
[156563.624596] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,commit=600
[156565.840287] ehci_hcd 0000:00:1a.7: PCI INT C disabled
[156565.840362] ehci_hcd 0000:00:1a.7: PME# enabled
[156566.520263] usb 5-1: USB disconnect, device number 20
[156568.112068] ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0xfe9fb800-0xfe9fbbff] (PCI address [0xfe9fb800-0xfe9fbbff])
[156568.112105] ehci_hcd 0000:00:1d.7: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[156568.112147] ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900102)
[156568.112336] ehci_hcd 0000:00:1d.7: PME# disabled
[156568.112357] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[156568.112372] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[156568.128057] ehci_hcd 0000:00:1a.7: BAR 0: set to [mem 0xfe9fbc00-0xfe9fbfff] (PCI address [0xfe9fbc00-0xfe9fbfff])
[156568.128094] ehci_hcd 0000:00:1a.7: restoring config space at offset 0xf (was 0x300, writing 0x306)
[156568.128138] ehci_hcd 0000:00:1a.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[156568.128324] ehci_hcd 0000:00:1a.7: PME# disabled
[156568.128345] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[156568.128359] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[156568.128409] ehci_hcd 0000:00:1a.7: PCI INT C disabled
[156568.128477] ehci_hcd 0000:00:1a.7: PME# enabled
[156568.496329] usb 5-1: new low-speed USB device number 21 using uhci_hcd
[156568.674649] usb 5-1: New USB device found, idVendor=1a7c, idProduct=0068
[156568.674655] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[156568.674659] usb 5-1: Product: Evoluent VerticalMouse 3 
[156568.674663] usb 5-1: Manufacturer: Kingsis Peripherals 
[156568.702553] input: Kingsis Peripherals  Evoluent VerticalMouse 3  as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input48
[156568.703085] generic-usb 0003:1A7C:0068.0025: input,hidraw2: USB HID v1.10 Mouse [Kingsis Peripherals  Evoluent VerticalMouse 3 ] on usb-0000:00:1d.0-1/input0
[156570.824178] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[156570.824255] ehci_hcd 0000:00:1d.7: PME# enabled
[156856.239843] NMI watchdog enabled, takes one hw-pmu counter.
[156856.240953] NMI watchdog enabled, takes one hw-pmu counter.
[156856.448104] ehci_hcd 0000:00:1a.7: BAR 0: set to [mem 0xfe9fbc00-0xfe9fbfff] (PCI address [0xfe9fbc00-0xfe9fbfff])
[156856.448133] ehci_hcd 0000:00:1a.7: restoring config space at offset 0xf (was 0x300, writing 0x306)
[156856.448170] ehci_hcd 0000:00:1a.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
[156856.448306] ehci_hcd 0000:00:1a.7: PME# disabled
[156856.448321] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[156856.448332] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[156856.608577] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[156856.608588] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[156856.649969] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
[156856.649981] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[156856.689773] uhci_hcd 0000:00:1a.2: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[156856.689785] uhci_hcd 0000:00:1a.2: setting latency timer to 64
[156856.731257] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[156856.731268] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[156856.769937] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[156856.769949] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[156856.824124] ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0xfe9fb800-0xfe9fbbff] (PCI address [0xfe9fb800-0xfe9fbbff])
[156856.824151] ehci_hcd 0000:00:1d.7: restoring config space at offset 0xf (was 0x100, writing 0x10a)
[156856.824183] ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900102)
[156856.824320] ehci_hcd 0000:00:1d.7: PME# disabled
[156856.824333] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[156856.824343] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[156856.998479] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=0
[156857.287919] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,commit=0

** Model information
sys_vendor: ASUSTeK Computer Inc.        
product_name: UL30A               
product_version: 1.0       
chassis_vendor: ASUSTeK Computer Inc.        
chassis_version: 1.0       
bios_vendor: American Megatrends Inc.
bios_version: 212    
board_vendor: ASUSTeK Computer Inc.        
board_name: UL30A     
board_version: 1.0       

** Loaded modules:
hidp
usbhid
hid
cryptd
aes_x86_64
aes_generic
vboxnetadp(O)
vboxnetflt(O)
vboxdrv(O)
acpi_cpufreq
mperf
cpufreq_userspace
cpufreq_conservative
cpufreq_powersave
cpufreq_stats
parport_pc
ppdev
lp
parport
rfcomm
bnep
binfmt_misc
uinput
fuse
ath3k
loop
dm_crypt
dm_mod
snd_hda_codec_hdmi
snd_hda_codec_realtek
uvcvideo
snd_hda_intel
snd_hda_codec
videodev
snd_hwdep
v4l2_compat_ioctl32
media
btusb
bluetooth
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_seq_midi
snd_seq_midi_event
asus_laptop
snd_rawmidi
arc4
snd_seq
sparse_keymap
ath9k
i915
ath9k_common
ath9k_hw
ath
drm_kms_helper
mac80211
drm
cfg80211
joydev
snd_seq_device
snd_timer
i2c_algo_bit
iTCO_wdt
rfkill
ac
evdev
battery
i2c_core
iTCO_vendor_support
input_polldev
power_supply
video
processor
snd
psmouse
serio_raw
button
soundcore
ext4
crc16
jbd2
mbcache
btrfs
crc32c
libcrc32c
zlib_deflate
sd_mod
crc_t10dif
thermal
thermal_sys
ahci
libahci
uhci_hcd
libata
atl1c
ehci_hcd
scsi_mod
usbcore
usb_common


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.0-2-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.43
ii  initramfs-tools [linux-initramfs-tool]  0.103
ii  kmod                                    8-2
ii  linux-base                              3.5
ii  module-init-tools                       8-2

Versions of packages linux-image-3.2.0-2-amd64 recommends:
ii  firmware-linux-free  3

Versions of packages linux-image-3.2.0-2-amd64 suggests:
pn  grub-pc        1.99-21
pn  linux-doc-3.2  <none>

Versions of packages linux-image-3.2.0-2-amd64 is related to:
pn  firmware-atheros        0.35
pn  firmware-bnx2           0.35
pn  firmware-bnx2x          0.35
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     0.35
pn  firmware-ipw2x00        0.35
pn  firmware-ivtv           0.35
pn  firmware-iwlwifi        0.35
pn  firmware-libertas       0.35
pn  firmware-linux          0.35
pn  firmware-linux-nonfree  0.35
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         0.35
pn  firmware-ralink         0.35
pn  firmware-realtek        0.35
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.2.0-2-amd64/postinst/ignoring-ramdisk:
  linux-image-3.2.0-2-amd64/postinst/depmod-error-initrd-3.2.0-2-amd64: false
  linux-image-3.2.0-2-amd64/postinst/missing-firmware-3.2.0-2-amd64:
  linux-image-3.2.0-2-amd64/prerm/removing-running-kernel-3.2.0-2-amd64: true

--- End Message ---

Reply to: