From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 09:52:31 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A436C3A for ; Sat, 5 Apr 2014 09:52:31 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97F5A809 for ; Sat, 5 Apr 2014 09:52:30 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm4so2524192wib.8 for ; Sat, 05 Apr 2014 02:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=zf76uAhwecTM6bEDaw2knimpJDEg3/TcJRtUYHW+DeA=; b=v/JRRYfu+WSjjulRUoKpgA1qv4V6ZBxSK8XmDsS0vpDOuW5/VdhF2BC0ger4KvCFA3 h2skDFgTivu0IKHlu1CTYLHPE/l1JpyKnzmwU7SabBdiTw87zljefEIev4OpbNz9ddRC MF9bU+eefV089VoSO7cdTnGR7ICFHrDWdH4pfiz3yTgKzpuWoLYFIUG7GP4ggVtEwnvo fL47aeGdSmFekMLuLVoxzi9jW7ulFuwV00nayiUGM9IpKLmCro4fC03V+ORDuy7hGngn PK7lC/v1jXOleFgAK5mB7QFQi5o3KNK+31sIC+kE68DoCO03uDXbGeR2Uj+haU/cs3R4 J7bg== X-Received: by 10.194.103.36 with SMTP id ft4mr26578676wjb.66.1396691548873; Sat, 05 Apr 2014 02:52:28 -0700 (PDT) Received: from notebook.linsystem.net ([80.92.253.14]) by mx.google.com with ESMTPSA id u46sm25855398eel.1.2014.04.05.02.52.28 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 05 Apr 2014 02:52:28 -0700 (PDT) Date: Sat, 5 Apr 2014 11:52:25 +0200 From: Robert David To: freebsd-stable@freebsd.org Subject: usb working partialy after resume Message-ID: <20140405115225.063c1fd0@notebook.linsystem.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 09:52:31 -0000 Hi all, I got read a lot of USB problems on freebsd vs suspend/resume. For example: http://unethicalblogger.com/2013/12/03/scratchiest-neckbeard-freebsd-x200.html My problem is similar, but suggested solutions does not help. I do not have dev.uhci.*.wake ???? I run FreeBSD on Lenovo ThinkPad X61s. I use FreeBSD stable/10, I compile my own kernel with vt enabled and uhci/ehci disabled (to be build as modules). I unload and load ehci/uhci module on suspend/resume. But after first resume, USB start working wired. For example, at home I got docking station connected to external monitor with USB hub (connected keyboard,mouse) and this works all the time after suspend/resume. But in work I got some KVM switch with keyboard/mouse connected, but after resume only mouse works, I even cannot make keyboard work when connected directly to USB on notebook. The USB seems to be much more nonworking that working, connecting USB flash, scanner does not work. But the USB port on docking station suprisingly work, even can put here flash drive. It is wired and seems to be something with internal USB hubs and its power. Also wired is that In work I do not have docking station and the KVM switch is connected to one of the notebook ports. This messages are from connecting KVM in work: ugen2.2: at usbus2 uhub6: on usbus2 uhub6: 4 ports with 4 removable, self powered usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_IOERROR wlan0: link state changed to UP usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_IOERROR ugen2.3: at usbus2 (disconnected) uhub_reattach_port: could not allocate new device ugen2.3: at usbus2 ums0: 1.10/51.27, addr 3> on usbus2 ums0: 3 buttons and [XYZ] coordinates ID=0 Connecting for example flash drive to notebook port, does not produce anything, also the flash drive with led diode does not lit up. I will welcome any suggestions. Regards, Robert.