[Bug 200938] service moused restart required after resume from suspend
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 17 19:15:37 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200938
Bug ID: 200938
Summary: service moused restart required after resume from
suspend
Product: Base System
Version: 10.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: usb
Assignee: freebsd-usb at FreeBSD.org
Reporter: jrm at ftfl.ca
After an upgrade from 10-STABLE (synced a few months ago) to 10-STABLE
r281907 (Thu Apr 23) the psm mouse (pointing stick on a Lenovo X220) no longer
works after a resume. At BSDCan there were a number of X220s and others had
the same problem when running CURRENT. The problems occur in both X and at the
console.
The dmesg output after putting debug.psm.loglevel=2 in /boot/loader.conf is
pasted below.
There are similar PRs, but I think this one is different since the mouse was
working after those reports and only broke in the last few months and none of
the referenced hints in /boot/loader.conf work in this case.
Adding service moused restart to rc.resume doesn't help. Only running it from
a shell prompt after the resume works.
May 1 21:50:30 phe devd: Executing '/etc/rc.suspend acpi 0x03'
May 1 21:50:30 phe acpi: suspend at 20150501 21:50:30
May 1 21:50:33 phe kernel: uhub0: at usbus0, port 1, addr 1 (disconnected)
May 1 21:50:33 phe kernel: ugen0.2: <vendor 0x8087> at usbus0 (disconnected)
May 1 21:50:33 phe kernel: uhub2: at uhub0, port 1, addr 2 (disconnected)
May 1 21:50:33 phe kernel: ugen0.3: <Chicony Electronics Co., Ltd.> at usbus0
(disconnected)
May 1 21:50:47 phe kernel: uhub1: at usbus1, port 1, addr 1 (disconnected)
May 1 21:50:47 phe kernel: ugen1.2: <vendor 0x8087> at usbus1 (disconnected)
May 1 21:50:47 phe kernel: uhub3: at uhub1, port 1, addr 2 (disconnected)
May 1 21:50:47 phe kernel: pci0: failed to set ACPI power state D2 on
\_SB_.PCI0.EXP1: AE_BAD_PARAMETER
May 1 21:50:47 phe kernel: pci0: failed to set ACPI power state D2 on
\_SB_.PCI0.EXP2: AE_BAD_PARAMETER
May 1 21:50:47 phe kernel: pci0: failed to set ACPI power state D2 on
\_SB_.PCI0.EXP4: AE_BAD_PARAMETER
May 1 21:50:47 phe kernel: pci0: failed to set ACPI power state D2 on
\_SB_.PCI0.EXP5: AE_BAD_PARAMETER
May 1 21:50:47 phe kernel: acpi0: cleared fixed power button status
May 1 21:50:47 phe kernel: info: [drm] Enabling RC6 states: RC6 on, RC6p on,
RC6pp on
May 1 21:50:47 phe kernel: error: [drm:pid1253:intel_lvds_enable] *ERROR*
timed out waiting for panel to power off
May 1 21:50:47 phe kernel: em0: link state changed to DOWN
May 1 21:50:47 phe kernel: psm0: system resume hook called.
May 1 21:50:47 phe kernel: psm0: current command byte: 0047 (reinitialize).
May 1 21:50:47 phe kernel: psm: DISABLE_DEV return code:00fa
May 1 21:50:47 phe kernel: psm: ENABLE_DEV return code:00fa
May 1 21:50:47 phe kernel: psm: DISABLE_DEV return code:00fa
May 1 21:50:47 phe kernel: psm: SET_SAMPLING_RATE (100) 00fa
May 1 21:50:47 phe kernel: psm: SET_RESOLUTION (2) 00fa
May 1 21:50:47 phe kernel: psm: SET_SCALING11 return code:00fa
May 1 21:50:47 phe kernel: psm: SET_STREAM_MODE return code:00fa
May 1 21:50:47 phe kernel: psm: SEND_AUX_DEV_STATUS return code:00fa
May 1 21:50:47 phe kernel: psm: status 00 02 64
May 1 21:50:47 phe kernel: psm: ENABLE_DEV return code:00fa
May 1 21:50:47 phe kernel: psm: SEND_AUX_DEV_STATUS return code:00fa
May 1 21:50:47 phe kernel: psm: status 20 02 64
May 1 21:50:47 phe kernel: psm0: system resume hook exiting.
May 1 21:50:47 phe kernel: uhub0: <Intel EHCI root HUB, class 9/0, rev
2.00/1.00, addr 1> on usbus1
May 1 21:50:47 phe kernel: uhub1: <Intel EHCI root HUB, class 9/0, rev
2.00/1.00, addr 1> on usbus0
May 1 21:50:47 phe devd: Executing '/etc/rc.resume acpi 0x03'
May 1 21:50:47 phe acpi: resumed at 20150501 21:50:47
May 1 21:50:48 phe kernel: em0: link state changed to UP
May 1 21:50:48 phe devd: Executing '/etc/rc.d/dhclient quietstart em0'
May 1 21:50:48 phe kernel: uhub1: 3 ports with 3 removable, self powered
May 1 21:50:48 phe kernel: uhub0: 3 ports with 3 removable, self powered
May 1 21:50:49 phe kernel: ugen0.2: <vendor 0x8087> at usbus0
May 1 21:50:49 phe kernel: uhub2: <vendor 0x8087 product 0x0024, class 9/0,
rev 2.00/0.00, addr 2> on usbus0
May 1 21:50:49 phe kernel: ugen1.2: <vendor 0x8087> at usbus1
May 1 21:50:49 phe kernel: uhub3: <vendor 0x8087 product 0x0024, class 9/0,
rev 2.00/0.00, addr 2> on usbus1
May 1 21:50:50 phe kernel: uhub2: 6 ports with 6 removable, self powered
May 1 21:50:51 phe kernel: uhub3: 8 ports with 8 removable, self powered
May 1 21:50:51 phe kernel: ugen0.3: <Chicony Electronics Co., Ltd.> at usbus0
May 1 21:50:51 phe devd: Executing '/usr/local/etc/rc.d/webcamd start ugen0.3'
May 1 21:50:51 phe devd: Executing '/usr/local/etc/rc.d/webcamd start ugen0.3'
May 1 21:50:51 phe devd: Executing 'logger Unknown USB device: vendor 0x04f2
product 0xb217 bus uhub2'
May 1 21:50:51 phe root: Unknown USB device: vendor 0x04f2 product 0xb217 bus
uhub2
May 1 21:50:51 phe devd: Executing 'logger Unknown USB device: vendor 0x04f2
product 0xb217 bus uhub2'
May 1 21:50:51 phe root: Unknown USB device: vendor 0x04f2 product 0xb217 bus
uhub2
May 1 21:50:51 phe devd: Executing 'logger Unknown USB device: vendor 0x04f2
product 0xb217 bus uhub2'
May 1 21:50:51 phe root: Unknown USB device: vendor 0x04f2 product 0xb217 bus
uhub2
May 1 21:50:51 phe dhclient: New IP Address (em0): 192.168.2.2
May 1 21:50:51 phe dhclient: New Subnet Mask (em0): 255.255.255.0
May 1 21:50:51 phe dhclient: New Broadcast Address (em0): 192.168.2.255
May 1 21:50:51 phe dhclient: New Routers (em0): 192.168.2.1
Restart moused:
May 1 21:51:08 phe kernel: psm: DISABLE_DEV return code:00fa
May 1 21:51:08 phe kernel: psm: SEND_AUX_DEV_STATUS return code:00fa
May 1 21:51:08 phe kernel: psm: status 00 02 64
May 1 21:51:09 phe kernel: psm: ENABLE_DEV return code:00fa
May 1 21:51:09 phe kernel: psm: SEND_AUX_DEV_STATUS return code:00fa
May 1 21:51:09 phe kernel: psm: status 20 02 64
May 1 21:51:09 phe kernel: psm: SET_SAMPLING_RATE (100) 00fa
May 1 21:51:09 phe kernel: psm: SET_RESOLUTION (2) 00fa
May 1 21:51:09 phe kernel: psm: SET_SCALING11 return code:00fa
May 1 21:51:09 phe kernel: psm: SEND_AUX_DEV_STATUS return code:00fa
May 1 21:51:09 phe kernel: psm: status 20 02 64
May 1 21:51:09 phe kernel: psmintr: Sync bytes now 00c0,00c0
May 1 21:51:57 phe kernel: error: [drm:pid1498:gen6_sanitize_pm] *ERROR* Power
management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 1a000000, was
12060000
May 1 21:53:54 phe kernel: error: [drm:pid1498:gen6_sanitize_pm] *ERROR* Power
management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 1a0d0000, was
1a000000
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list