From owner-freebsd-usb@FreeBSD.ORG Wed Jun 17 19:15:37 2015 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8AC6CC for ; Wed, 17 Jun 2015 19:15:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A20E9E26 for ; Wed, 17 Jun 2015 19:15:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HJFbjn092680 for ; Wed, 17 Jun 2015 19:15:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 200938] service moused restart required after resume from suspend Date: Wed, 17 Jun 2015 19:15:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@ftfl.ca X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 19:15:37 -0000 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@FreeBSD.org Reporter: jrm@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: 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: 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: 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: on usbus1 May 1 21:50:47 phe kernel: uhub1: 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: at usbus0 May 1 21:50:49 phe kernel: uhub2: on usbus0 May 1 21:50:49 phe kernel: ugen1.2: at usbus1 May 1 21:50:49 phe kernel: uhub3: 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: 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. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 17 19:53:28 2015 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AB81DFC for ; Wed, 17 Jun 2015 19:53:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84CE6AAF for ; Wed, 17 Jun 2015 19:53:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HJrS0b032545 for ; Wed, 17 Jun 2015 19:53:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 200938] service moused restart required after resume from suspend Date: Wed, 17 Jun 2015 19:53:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@ftfl.ca X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 19:53:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200938 --- Comment #1 from Joseph Mingrone --- I always had the trackpad disabled in the BIOS. Steve Wills noted that if he left the trackpad enabled in the BIOS, the problem goes away. I can confirm the same behaviour, i.e., with the trackpad disabled in BIOS so that only the pointing stick and discrete buttons work, the mouse doesn't work after resume. With the trackpad enabled in the BIOS, the mouse works after a resume. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 17 20:59:32 2015 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDAB3364 for ; Wed, 17 Jun 2015 20:59:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B70C3BC6 for ; Wed, 17 Jun 2015 20:59:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HKxWag039445 for ; Wed, 17 Jun 2015 20:59:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 200938] service moused restart required after resume from suspend Date: Wed, 17 Jun 2015 20:59:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 20:59:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200938 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #2 from Hans Petter Selasky --- Are you using X.org? Is this a race in X11's devd backend? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 17 21:02:43 2015 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B884402 for ; Wed, 17 Jun 2015 21:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 057C0DB3 for ; Wed, 17 Jun 2015 21:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HL2g3M079001 for ; Wed, 17 Jun 2015 21:02:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 200938] service moused restart required after resume from suspend Date: Wed, 17 Jun 2015 21:02:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@ftfl.ca X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 21:02:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200938 --- Comment #3 from Joseph Mingrone --- I am using X.org (xorg-server-1.14.7_5,1), but the problem occurs at the console as well when X isn't running. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 17 21:03:37 2015 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6304347E for ; Wed, 17 Jun 2015 21:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C53BDC4 for ; Wed, 17 Jun 2015 21:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5HL3bqq079446 for ; Wed, 17 Jun 2015 21:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 200938] service moused restart required after resume from suspend Date: Wed, 17 Jun 2015 21:03:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 21:03:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200938 --- Comment #4 from Hans Petter Selasky --- See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 --HPS -- You are receiving this mail because: You are the assignee for the bug.