From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 05:50:01 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6E61065676 for ; Sun, 1 Nov 2009 05:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8208FC1C for ; Sun, 1 Nov 2009 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA15o0Yv044209 for ; Sun, 1 Nov 2009 05:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA15o0K2044208; Sun, 1 Nov 2009 05:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 1 Nov 2009 05:50:00 GMT Resent-Message-Id: <200911010550.nA15o0K2044208@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brandon Gooch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE7B8106566C for ; Sun, 1 Nov 2009 05:45:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C32B18FC08 for ; Sun, 1 Nov 2009 05:45:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA15jtfr012077 for ; Sun, 1 Nov 2009 05:45:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA15jtFR012076; Sun, 1 Nov 2009 05:45:55 GMT (envelope-from nobody) Message-Id: <200911010545.nA15jtFR012076@www.freebsd.org> Date: Sun, 1 Nov 2009 05:45:55 GMT From: Brandon Gooch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 05:50:01 -0000 >Number: 140160 >Category: usb >Synopsis: USB ports are no longer "active" after ACPI suspend/resume cycle. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 01 05:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Brandon Gooch >Release: 8.0 >Organization: >Environment: FreeBSD x300 8.0-RC2 FreeBSD 8.0-RC2 #0 r198667: Fri Oct 30 02:21:46 UTC 2009 root@x300:/usr/obj/usr/src/sys/X300 amd64 >Description: USB ports are unavailable after a suspend/resume cycle. From /var/log/messages: Oct 31 13:41:22 x300 acpi: suspend at 20091031 13:41:22 Oct 31 13:41:26 x300 kernel: ugen0.2: at usbus0 (disconnected) Oct 31 13:41:35 x300 kernel: ugen6.2: at usbus6 (disconnected) Oct 31 13:41:35 x300 kernel: usb_alloc_device:1597: set address 2 failed (USB_ERR_TIMEOUT, ignored) Oct 31 13:41:47 x300 kernel: usb_alloc_device:1635: getting device descriptor at addr 2 failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbus2: port reset timeout Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 2 reset failed, error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: device problem (USB_ERR_TIMEOUT), disabling port 2 Oct 31 13:41:47 x300 kernel: usbus6: port reset timeout Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 5 reset failed, error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: device problem (USB_ERR_TIMEOUT), disabling port 5 Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539: addr=2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539: addr=2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: ugen0.2: <(null)> at usbus0 (disconnected) Oct 31 13:41:47 x300 kernel: uhub_reattach_port:436: could not allocate new device! Oct 31 13:41:47 x300 acpi: resumed at 20091031 13:41:47 Oct 31 13:41:48 x300 root: Unknown USB device: vendor 0x17ef product 0x4807 bus uhub6 Oct 31 13:41:48 x300 kernel: ugen6.2: at usbus6 >How-To-Repeat: Suspend computer, then resume computer. Plug a device into any of the USB ports and realize that the ports are no longer "active". >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 09:11:30 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5F05106568D; Sun, 1 Nov 2009 09:11:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id E4B168FC21; Sun, 1 Nov 2009 09:11:29 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=69gCPFU-1nQA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=10mBZ_llQN4Iitzjp04A:9 a=Yl3gWboHjNZp90LXqSgA:7 a=ScJdE3OEaY-VZDnDVbDE5jaLdBUA:4 a=yOHyftqraOJ9hueA:21 a=mhEhRB7XuktBpwDE:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 269193538; Sun, 01 Nov 2009 10:11:28 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 1 Nov 2009 10:12:41 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911010545.nA15jtFR012076@www.freebsd.org> In-Reply-To: <200911010545.nA15jtFR012076@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911011012.43262.hselasky@c2i.net> Cc: Brandon Gooch , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 09:11:30 -0000 On Sunday 01 November 2009 06:45:55 Brandon Gooch wrote: > >Number: 140160 > >Category: usb > >Synopsis: USB ports are no longer "active" after ACPI suspend/resume > > cycle. Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Nov 01 05:50:00 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Brandon Gooch > >Release: 8.0 > >Organization: > >Environment: > > FreeBSD x300 8.0-RC2 FreeBSD 8.0-RC2 #0 r198667: Fri Oct 30 02:21:46 UTC > 2009 root@x300:/usr/obj/usr/src/sys/X300 amd64 > > >Description: > > USB ports are unavailable after a suspend/resume cycle. From > /var/log/messages: > > Oct 31 13:41:22 x300 acpi: suspend at 20091031 13:41:22 > Oct 31 13:41:26 x300 kernel: ugen0.2: at usbus0 > (disconnected) Oct 31 13:41:35 x300 kernel: ugen6.2: at > usbus6 (disconnected) Oct 31 13:41:35 x300 kernel: usb_alloc_device:1597: > set address 2 failed (USB_ERR_TIMEOUT, ignored) Oct 31 13:41:47 x300 > kernel: usb_alloc_device:1635: getting device descriptor at addr 2 failed, > USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbus2: port reset timeout > Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 2 reset failed, > error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: > device problem (USB_ERR_TIMEOUT), disabling port 2 Oct 31 13:41:47 x300 > kernel: usbus6: port reset timeout > Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 5 reset failed, > error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: > device problem (USB_ERR_TIMEOUT), disabling port 5 Oct 31 13:41:47 x300 > kernel: usbd_req_re_enumerate:1539: addr=2, set address failed! > (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: > usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, > USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539: > addr=2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 > kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 > failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: ugen0.2: <(null)> at > usbus0 (disconnected) Oct 31 13:41:47 x300 kernel: uhub_reattach_port:436: > could not allocate new device! Oct 31 13:41:47 x300 acpi: resumed at > 20091031 13:41:47 > Oct 31 13:41:48 x300 root: Unknown USB device: vendor 0x17ef product 0x4807 > bus uhub6 Oct 31 13:41:48 x300 kernel: ugen6.2: at usbus6 > > >How-To-Repeat: > > Suspend computer, then resume computer. Plug a device into any of the USB > ports and realize that the ports are no longer "active". > > >Fix: Can you try to disable USB legacy support in the BIOS. Probably there is a BIOS handover issue at resume. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 09:20:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3C6106566C for ; Sun, 1 Nov 2009 09:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDD38FC16 for ; Sun, 1 Nov 2009 09:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA19K343055785 for ; Sun, 1 Nov 2009 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA19K3h6055784; Sun, 1 Nov 2009 09:20:03 GMT (envelope-from gnats) Date: Sun, 1 Nov 2009 09:20:03 GMT Message-Id: <200911010920.nA19K3h6055784@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 09:20:03 -0000 The following reply was made to PR usb/140160; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Brandon Gooch , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. Date: Sun, 1 Nov 2009 10:12:41 +0100 On Sunday 01 November 2009 06:45:55 Brandon Gooch wrote: > >Number: 140160 > >Category: usb > >Synopsis: USB ports are no longer "active" after ACPI suspend/resume > > cycle. Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Nov 01 05:50:00 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Brandon Gooch > >Release: 8.0 > >Organization: > >Environment: > > FreeBSD x300 8.0-RC2 FreeBSD 8.0-RC2 #0 r198667: Fri Oct 30 02:21:46 UTC > 2009 root@x300:/usr/obj/usr/src/sys/X300 amd64 > > >Description: > > USB ports are unavailable after a suspend/resume cycle. From > /var/log/messages: > > Oct 31 13:41:22 x300 acpi: suspend at 20091031 13:41:22 > Oct 31 13:41:26 x300 kernel: ugen0.2: at usbus0 > (disconnected) Oct 31 13:41:35 x300 kernel: ugen6.2: at > usbus6 (disconnected) Oct 31 13:41:35 x300 kernel: usb_alloc_device:1597: > set address 2 failed (USB_ERR_TIMEOUT, ignored) Oct 31 13:41:47 x300 > kernel: usb_alloc_device:1635: getting device descriptor at addr 2 failed, > USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbus2: port reset timeout > Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 2 reset failed, > error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: > device problem (USB_ERR_TIMEOUT), disabling port 2 Oct 31 13:41:47 x300 > kernel: usbus6: port reset timeout > Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 5 reset failed, > error=USB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:458: > device problem (USB_ERR_TIMEOUT), disabling port 5 Oct 31 13:41:47 x300 > kernel: usbd_req_re_enumerate:1539: addr=2, set address failed! > (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: > usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, > USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539: > addr=2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 > kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 > failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: ugen0.2: <(null)> at > usbus0 (disconnected) Oct 31 13:41:47 x300 kernel: uhub_reattach_port:436: > could not allocate new device! Oct 31 13:41:47 x300 acpi: resumed at > 20091031 13:41:47 > Oct 31 13:41:48 x300 root: Unknown USB device: vendor 0x17ef product 0x4807 > bus uhub6 Oct 31 13:41:48 x300 kernel: ugen6.2: at usbus6 > > >How-To-Repeat: > > Suspend computer, then resume computer. Plug a device into any of the USB > ports and realize that the ports are no longer "active". > > >Fix: Can you try to disable USB legacy support in the BIOS. Probably there is a BIOS handover issue at resume. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 15:28:21 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39A22106566B for ; Sun, 1 Nov 2009 15:28:21 +0000 (UTC) (envelope-from oxyd.oxyd@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id C732B8FC08 for ; Sun, 1 Nov 2009 15:28:20 +0000 (UTC) Received: by ewy5 with SMTP id 5so731708ewy.36 for ; Sun, 01 Nov 2009 07:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YJ/kyNZWFU23Fwzm4xnz2dMyQlNo6z72t/hg5FPgv/Q=; b=cf5Vlzs2om4Z183Iob1ivcKYYGJPcKDzAg2C2AO1D1iHS0KbNwsYDDBbqKKcIgpcNG l4DJcUOHSq8bL9zvvJZQik2+BGli0TcgfXUs8iIsZIAq5gVX5X8CsZl6P+qCwHLGdz+K +czKSl7fh61YOPGuk17KPYvE96vWB9sHHzvlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lekUECEhGBlQ0jyQ/uWwov+YmfduDqmfh6SNTZqEiw1PWV+Z9PvYkcMSj1mP0HW/Qj XZGob8WRyiF1l7UyuVrUjatWjDVZ24v6DERqO6+qKqpcXuJMhHfPbhU3l62yHzNoEVGf HtwUsQmBn27TiAs7f0wkCVcQXI2i2XYjqA3CY= MIME-Version: 1.0 Received: by 10.216.86.206 with SMTP id w56mr3139145wee.1.1257087530089; Sun, 01 Nov 2009 06:58:50 -0800 (PST) Date: Sun, 1 Nov 2009 15:58:50 +0100 Message-ID: From: =?UTF-8?Q?Ond=C5=99ej_Majerech?= To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 15:28:21 -0000 Hello list, I had my HP P1005 printer working just fine under 7.2-RELEASE, but I just updated to 8.0-RC2 and the driver doesn't seem to like the new USB stack. I was using the foo2xqx driver [ http://foo2xqx.rkkda.com/ ] -- with this driver, the firmware needs to be sent to the printer each time it is turned on, like this: cat sihpP1005.dl > /dev/ugen0.0. Now, according to dmesg, the printer is now known as device /dev/ugen2.2, but I can't send the firmware to it (and I can't send the firmware to any other ugen* device either): cat sihpP1005.dl > /dev/ugen2.2 cat: stdout: Input/output error (Trying the same as root or with sudo doesn't make any difference.) My /etc/devfs.rules: add path 'da*' mode 0660 group operator add path 'usb' mode 0777 add path 'usb/*' mode 0666 add path 'usbctl' mode 0666 add path 'ugen*' mode 0777 ls -lh /dev/ugen* with the printer connected and turned on: lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen0.1 -> usb/0.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen1.1 -> usb/1.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen2.1 -> usb/2.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 20:31 /dev/ugen2.2 -> usb/2.2.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen3.1 -> usb/3.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen4.1 -> usb/4.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen5.1 -> usb/5.1.0 lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen6.1 -> usb/6.1.0 Googling around for possible solutions didn't turn up anything successful for me. I asked on the FreeBSD Forums and was told to turn on debug informations on ugen by sysctl hw.usb.ugen.debug=1 -- I did, but I don't see anything new in dmesg or /var/log/messages -- maybe I don't know where to look? Anyway, any suggestions? ~ Ondra From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 16:11:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418CB1065676 for ; Sun, 1 Nov 2009 16:11:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 991778FC14 for ; Sun, 1 Nov 2009 16:11:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=1nTmeiNMJWEA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=5B89tSi2AAAA:8 a=OoS1x4lAnu3a2C6149kA:9 a=qJmjsjAdcmiOgKTqN-wA:7 a=Fj3keuRJBCyapXe9lEPl2eemd-cA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1314531403; Sun, 01 Nov 2009 17:11:53 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 1 Nov 2009 17:13:06 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?utf-8?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?utf-8?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911011713.07994.hselasky@c2i.net> Cc: Subject: Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 16:11:57 -0000 On Sunday 01 November 2009 15:58:50 Ond=C5=99ej Majerech wrote: > Hello list, > > I had my HP P1005 printer working just fine under 7.2-RELEASE, but I > just updated to 8.0-RC2 and the driver doesn't seem to like the new > USB stack. How did you update? Did you recompile foo2xqx ? > > I was using the foo2xqx driver [ http://foo2xqx.rkkda.com/ ] -- with > this driver, the firmware needs to be sent to the printer each time it > is turned on, like this: cat sihpP1005.dl > /dev/ugen0.0. You need to specify the endpoint. ugenX.0 is the control endpoint. > Now, according to dmesg, the printer is now known as device > /dev/ugen2.2, but I can't send the firmware to it (and I can't send > the firmware to any other ugen* device either): > > cat sihpP1005.dl > /dev/ugen2.2 > cat: stdout: Input/output error > > (Trying the same as root or with sudo doesn't make any difference.) > > My /etc/devfs.rules: > > add path 'da*' mode 0660 group operator > add path 'usb' mode 0777 > add path 'usb/*' mode 0666 > add path 'usbctl' mode 0666 > add path 'ugen*' mode 0777 > > ls -lh /dev/ugen* with the printer connected and turned on: > > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen0.1 -> usb/0.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen1.1 -> usb/1.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen2.1 -> usb/2.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 20:31 /dev/ugen2.2 -> usb/2.2.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen3.1 -> usb/3.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen4.1 -> usb/4.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen5.1 -> usb/5.1.0 > lrwxrwxrwx 1 root wheel 9B Oct 31 17:18 /dev/ugen6.1 -> usb/6.1.0 > > Googling around for possible solutions didn't turn up anything > successful for me. I asked on the FreeBSD Forums and was told to turn > on debug informations on ugen by sysctl hw.usb.ugen.debug=3D1 -- I did, > but I don't see anything new in dmesg or /var/log/messages -- maybe I > don't know where to look? > > Anyway, any suggestions? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 17:15:35 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F79D1065694; Sun, 1 Nov 2009 17:15:35 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9648FC23; Sun, 1 Nov 2009 17:15:33 +0000 (UTC) Received: by bwz5 with SMTP id 5so5548008bwz.3 for ; Sun, 01 Nov 2009 09:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9cjAAVxhoyj0AsB0j9pgBglMYlmMGulJDJkXO/guOK8=; b=bJsP/CqhiWR1UHkj+T7D+z/7nO7meHXoE1pt0IeQ80LDCnBrcjFVNwJPpyZUgq3+W7 /P+fva4fHjrR2y10RFGtPl7bh6qCcVBIxJYzJ5VhLictiC3cQzc7zfBxJpKk80aXywr4 3/HA/hPtNx6gGQuciHGDQ2MYKn+qSt56VTauU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Cn++hDFNHZAgXHX+IrG5QlrQx8+EXAX9b7wyUBTZj0BmF4VaFBbDPuY4Yytq6Wk0Id 5otLExuf11z9T3Yf59iGeDc16F2AClngGoAIIu4h8BWT9quOeqnmwuLGGVy1DJ1U5WGj 22EsgNj/ZF09/nQw3YZBCugOaxedikzA4RhX4= MIME-Version: 1.0 Received: by 10.204.34.73 with SMTP id k9mr3160806bkd.45.1257094205780; Sun, 01 Nov 2009 08:50:05 -0800 (PST) In-Reply-To: <200911011012.43262.hselasky@c2i.net> References: <200911010545.nA15jtFR012076@www.freebsd.org> <200911011012.43262.hselasky@c2i.net> Date: Sun, 1 Nov 2009 16:50:05 +0000 Message-ID: <179b97fb0911010850h4acb2bfen3c236bcc7abda49f@mail.gmail.com> From: Brandon Gooch To: Hans Petter Selasky Content-Type: multipart/mixed; boundary=000325559e2695b4640477520d3a Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 17:15:35 -0000 --000325559e2695b4640477520d3a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Nov 1, 2009 at 9:12 AM, Hans Petter Selasky wrot= e: > On Sunday 01 November 2009 06:45:55 Brandon Gooch wrote: >> >Number: =A0 =A0 =A0 =A0 140160 >> >Category: =A0 =A0 =A0 usb >> >Synopsis: =A0 =A0 =A0 USB ports are no longer "active" after ACPI suspe= nd/resume >> > cycle. Confidential: =A0 no >> >Severity: =A0 =A0 =A0 non-critical >> >Priority: =A0 =A0 =A0 medium >> >Responsible: =A0 =A0freebsd-usb >> >State: =A0 =A0 =A0 =A0 =A0open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: =A0 =A0 =A0 =A0 =A0sw-bug >> >Submitter-Id: =A0 current-users >> >Arrival-Date: =A0 Sun Nov 01 05:50:00 UTC 2009 >> >Closed-Date: >> >Last-Modified: >> >Originator: =A0 =A0 Brandon Gooch >> >Release: =A0 =A0 =A0 =A08.0 >> >Organization: >> >Environment: >> >> FreeBSD x300 8.0-RC2 FreeBSD 8.0-RC2 #0 r198667: Fri Oct 30 02:21:46 UTC >> 2009 =A0 =A0 root@x300:/usr/obj/usr/src/sys/X300 =A0amd64 >> >> >Description: >> >> USB ports are unavailable after a suspend/resume cycle. From >> /var/log/messages: >> >> Oct 31 13:41:22 x300 acpi: suspend at 20091031 13:41:22 >> Oct 31 13:41:26 x300 kernel: ugen0.2: at usbus0 >> (disconnected) Oct 31 13:41:35 x300 kernel: ugen6.2: at >> usbus6 (disconnected) Oct 31 13:41:35 x300 kernel: usb_alloc_device:1597= : >> set address 2 failed (USB_ERR_TIMEOUT, ignored) Oct 31 13:41:47 x300 >> kernel: usb_alloc_device:1635: getting device descriptor at addr 2 faile= d, >> USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbus2: port reset timeout >> Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 2 reset failed= , >> error=3DUSB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:= 458: >> device problem (USB_ERR_TIMEOUT), disabling port 2 Oct 31 13:41:47 x300 >> kernel: usbus6: port reset timeout >> Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 5 reset failed= , >> error=3DUSB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:= 458: >> device problem (USB_ERR_TIMEOUT), disabling port 5 Oct 31 13:41:47 x300 >> kernel: usbd_req_re_enumerate:1539: addr=3D2, set address failed! >> (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: >> usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, >> USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539= : >> addr=3D2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47= x300 >> kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 >> failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: ugen0.2: <(null)> = at >> usbus0 (disconnected) Oct 31 13:41:47 x300 kernel: uhub_reattach_port:43= 6: >> could not allocate new device! Oct 31 13:41:47 x300 acpi: resumed at >> 20091031 13:41:47 >> Oct 31 13:41:48 x300 root: Unknown USB device: vendor 0x17ef product 0x4= 807 >> bus uhub6 Oct 31 13:41:48 x300 kernel: ugen6.2: at usbus= 6 >> >> >How-To-Repeat: >> >> Suspend computer, then resume computer. Plug a device into any of the US= B >> ports and realize that the ports are no longer "active". >> >> >Fix: > > Can you try to disable USB legacy support in the BIOS. Probably there is = a > BIOS handover issue at resume. > > --HPS > > I've tried each combination of bios settings, and the problem persists. It's strange -- the first suspend/resume cycle works great, everything comes back on, USB ports still active, etc... It's the subsequent suspend/resume cycles where I see the problem. I've attached my dmesg output, in case it matters. --000325559e2695b4640477520d3a Content-Type: text/plain; charset=US-ASCII; name="dmesg_lenovo_x300.txt" Content-Disposition: attachment; filename="dmesg_lenovo_x300.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g1hqfx5t0 Q29weXJpZ2h0IChjKSAxOTkyLTIwMDkgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2YgVGhlIEZy ZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCA4LjAtUkMyICMwIHIxOTg2Njc6IEZyaSBPY3QgMzAg MDI6MjE6NDYgVVRDIDIwMDkKICAgIHJvb3RAeDMwMDovdXNyL29iai91c3Ivc3JjL3N5cy9YMzAw ClRpbWVjb3VudGVyICJpODI1NCIgZnJlcXVlbmN5IDExOTMxODIgSHogcXVhbGl0eSAwCkNQVTog SW50ZWwoUikgQ29yZShUTSkyIER1byBDUFUgICAgIEw3MTAwICBAIDEuMjBHSHogKDExOTcuMDEt TUh6IEs4LWNsYXNzIENQVSkKICBPcmlnaW4gPSAiR2VudWluZUludGVsIiAgSWQgPSAweDZmYiAg U3RlcHBpbmcgPSAxMQogIEZlYXR1cmVzPTB4YmZlYmZiZmY8RlBVL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AyCnVnZW42LjI6IDx2ZW5kb3IgMHgxN2VmPiBhdCB1c2J1czYg KGRpc2Nvbm5lY3RlZCkKdXNidXM2OiBwb3J0IHJlc2V0IHRpbWVvdXQKdWh1Yl9yZWF0dGFjaF9w b3J0OjM3MTogcG9ydCA1IHJlc2V0IGZhaWxlZCwgZXJyb3I9VVNCX0VSUl9USU1FT1VUCnVodWJf cmVhdHRhY2hfcG9ydDo0NTg6IGRldmljZSBwcm9ibGVtIChVU0JfRVJSX1RJTUVPVVQpLCBkaXNh YmxpbmcgcG9ydCA1CmRybTA6IFtJVEhSRUFEXQp1Z2VuNi4yOiA8dmVuZG9yIDB4MTdlZj4gYXQg dXNidXM2CndsYW4wOiBsaW5rIHN0YXRlIGNoYW5nZWQgdG8gVVAKaXduMDogbmVlZCBtdWx0aWNh c3QgdXBkYXRlIGNhbGxiYWNrCml3bjA6IG5lZWQgbXVsdGljYXN0IHVwZGF0ZSBjYWxsYmFjawpp d24wOiBuZWVkIG11bHRpY2FzdCB1cGRhdGUgY2FsbGJhY2sK --000325559e2695b4640477520d3a-- From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 17:20:04 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 609FD106566C for ; Sun, 1 Nov 2009 17:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33D438FC12 for ; Sun, 1 Nov 2009 17:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1HK4ct070720 for ; Sun, 1 Nov 2009 17:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA1HK3vd070719; Sun, 1 Nov 2009 17:20:03 GMT (envelope-from gnats) Date: Sun, 1 Nov 2009 17:20:03 GMT Message-Id: <200911011720.nA1HK3vd070719@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Brandon Gooch Cc: Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brandon Gooch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 17:20:04 -0000 The following reply was made to PR usb/140160; it has been noted by GNATS. From: Brandon Gooch To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/140160: USB ports are no longer "active" after ACPI suspend/resume cycle. Date: Sun, 1 Nov 2009 16:50:05 +0000 --000325559e2695b4640477520d3a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Nov 1, 2009 at 9:12 AM, Hans Petter Selasky wrot= e: > On Sunday 01 November 2009 06:45:55 Brandon Gooch wrote: >> >Number: =A0 =A0 =A0 =A0 140160 >> >Category: =A0 =A0 =A0 usb >> >Synopsis: =A0 =A0 =A0 USB ports are no longer "active" after ACPI suspe= nd/resume >> > cycle. Confidential: =A0 no >> >Severity: =A0 =A0 =A0 non-critical >> >Priority: =A0 =A0 =A0 medium >> >Responsible: =A0 =A0freebsd-usb >> >State: =A0 =A0 =A0 =A0 =A0open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: =A0 =A0 =A0 =A0 =A0sw-bug >> >Submitter-Id: =A0 current-users >> >Arrival-Date: =A0 Sun Nov 01 05:50:00 UTC 2009 >> >Closed-Date: >> >Last-Modified: >> >Originator: =A0 =A0 Brandon Gooch >> >Release: =A0 =A0 =A0 =A08.0 >> >Organization: >> >Environment: >> >> FreeBSD x300 8.0-RC2 FreeBSD 8.0-RC2 #0 r198667: Fri Oct 30 02:21:46 UTC >> 2009 =A0 =A0 root@x300:/usr/obj/usr/src/sys/X300 =A0amd64 >> >> >Description: >> >> USB ports are unavailable after a suspend/resume cycle. From >> /var/log/messages: >> >> Oct 31 13:41:22 x300 acpi: suspend at 20091031 13:41:22 >> Oct 31 13:41:26 x300 kernel: ugen0.2: at usbus0 >> (disconnected) Oct 31 13:41:35 x300 kernel: ugen6.2: at >> usbus6 (disconnected) Oct 31 13:41:35 x300 kernel: usb_alloc_device:1597= : >> set address 2 failed (USB_ERR_TIMEOUT, ignored) Oct 31 13:41:47 x300 >> kernel: usb_alloc_device:1635: getting device descriptor at addr 2 faile= d, >> USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbus2: port reset timeout >> Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 2 reset failed= , >> error=3DUSB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:= 458: >> device problem (USB_ERR_TIMEOUT), disabling port 2 Oct 31 13:41:47 x300 >> kernel: usbus6: port reset timeout >> Oct 31 13:41:47 x300 kernel: uhub_reattach_port:371: port 5 reset failed= , >> error=3DUSB_ERR_TIMEOUT Oct 31 13:41:47 x300 kernel: uhub_reattach_port:= 458: >> device problem (USB_ERR_TIMEOUT), disabling port 5 Oct 31 13:41:47 x300 >> kernel: usbd_req_re_enumerate:1539: addr=3D2, set address failed! >> (USB_ERR_STALLED, ignored) Oct 31 13:41:47 x300 kernel: >> usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, >> USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: usbd_req_re_enumerate:1539= : >> addr=3D2, set address failed! (USB_ERR_STALLED, ignored) Oct 31 13:41:47= x300 >> kernel: usbd_req_re_enumerate:1553: getting device descriptor at addr 2 >> failed, USB_ERR_STALLED! Oct 31 13:41:47 x300 kernel: ugen0.2: <(null)> = at >> usbus0 (disconnected) Oct 31 13:41:47 x300 kernel: uhub_reattach_port:43= 6: >> could not allocate new device! Oct 31 13:41:47 x300 acpi: resumed at >> 20091031 13:41:47 >> Oct 31 13:41:48 x300 root: Unknown USB device: vendor 0x17ef product 0x4= 807 >> bus uhub6 Oct 31 13:41:48 x300 kernel: ugen6.2: at usbus= 6 >> >> >How-To-Repeat: >> >> Suspend computer, then resume computer. Plug a device into any of the US= B >> ports and realize that the ports are no longer "active". >> >> >Fix: > > Can you try to disable USB legacy support in the BIOS. Probably there is = a > BIOS handover issue at resume. > > --HPS > > I've tried each combination of bios settings, and the problem persists. It's strange -- the first suspend/resume cycle works great, everything comes back on, USB ports still active, etc... It's the subsequent suspend/resume cycles where I see the problem. I've attached my dmesg output, in case it matters. --000325559e2695b4640477520d3a Content-Type: text/plain; charset=US-ASCII; name="dmesg_lenovo_x300.txt" Content-Disposition: attachment; filename="dmesg_lenovo_x300.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g1hqfx5t0 Q29weXJpZ2h0IChjKSAxOTkyLTIwMDkgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2YgVGhlIEZy ZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCA4LjAtUkMyICMwIHIxOTg2Njc6IEZyaSBPY3QgMzAg MDI6MjE6NDYgVVRDIDIwMDkKICAgIHJvb3RAeDMwMDovdXNyL29iai91c3Ivc3JjL3N5cy9YMzAw ClRpbWVjb3VudGVyICJpODI1NCIgZnJlcXVlbmN5IDExOTMxODIgSHogcXVhbGl0eSAwCkNQVTog SW50ZWwoUikgQ29yZShUTSkyIER1byBDUFUgICAgIEw3MTA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9ydCAyIHJlc2V0IGZhaWxlZCwgZXJyb3I9VVNCX0VSUl9USU1F T1VUCnVodWJfcmVhdHRhY2hfcG9ydDo0NTg6IGRldmljZSBwcm9ibGVtIChVU0JfRVJSX1RJTUVP VVQpLCBkaXNhYmxpbmcgcG9ydCAyCnVnZW42LjI6IDx2ZW5kb3IgMHgxN2VmPiBhdCB1c2J1czYg KGRpc2Nvbm5lY3RlZCkKdXNidXM2OiBwb3J0IHJlc2V0IHRpbWVvdXQKdWh1Yl9yZWF0dGFjaF9w b3J0OjM3MTogcG9ydCA1IHJlc2V0IGZhaWxlZCwgZXJyb3I9VVNCX0VSUl9USU1FT1VUCnVodWJf cmVhdHRhY2hfcG9ydDo0NTg6IGRldmljZSBwcm9ibGVtIChVU0JfRVJSX1RJTUVPVVQpLCBkaXNh YmxpbmcgcG9ydCA1CmRybTA6IFtJVEhSRUFEXQp1Z2VuNi4yOiA8dmVuZG9yIDB4MTdlZj4gYXQg dXNidXM2CndsYW4wOiBsaW5rIHN0YXRlIGNoYW5nZWQgdG8gVVAKaXduMDogbmVlZCBtdWx0aWNh c3QgdXBkYXRlIGNhbGxiYWNrCml3bjA6IG5lZWQgbXVsdGljYXN0IHVwZGF0ZSBjYWxsYmFjawpp d24wOiBuZWVkIG11bHRpY2FzdCB1cGRhdGUgY2FsbGJhY2sK --000325559e2695b4640477520d3a-- From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 17:32:41 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A6001065692 for ; Sun, 1 Nov 2009 17:32:41 +0000 (UTC) (envelope-from oxyd.oxyd@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id E32168FC1C for ; Sun, 1 Nov 2009 17:32:40 +0000 (UTC) Received: by ewy5 with SMTP id 5so779121ewy.36 for ; Sun, 01 Nov 2009 09:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ixRvRDbXyam8U1Fa2ht1lccDJUPbZdyU4ZkbMITWH18=; b=b/B7D+jEkS/AE/FdI0N6/9gYNaUZqVt9Qv2gy6Mk3mxbHeYcCDUmYo1ukAcAtCCWyT RxI/k4+xpOp7CXG5SDzCZAxArFDYSieptg5IUvEbjCL14wxb/yN4vqxNKqmkbACDrjR5 TgQeicYkfMlzA4qiNj4XjI9wQJFP6ETyjwdKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UpE1hUDhv4n37HHt41RxhBBbh576HYipSnzein55BrVZ0s0U5eqFlf9SgtrCAYicqU 5Z1za/9ua2kBuTa2MEzXmaJ3WcTYmc4m0aFb0ufbHvAu0xM2AtaxdEYA7B5zIrR8oZhz WOQ2JHnXrPbHtweWHfKxVos0Jgu3kZCO3tp1E= MIME-Version: 1.0 Received: by 10.216.90.9 with SMTP id d9mr3378996wef.201.1257096759651; Sun, 01 Nov 2009 09:32:39 -0800 (PST) In-Reply-To: <200911011713.07994.hselasky@c2i.net> References: <200911011713.07994.hselasky@c2i.net> Date: Sun, 1 Nov 2009 18:32:39 +0100 Message-ID: From: =?UTF-8?Q?Ond=C5=99ej_Majerech?= To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 17:32:41 -0000 2009/11/1 Hans Petter Selasky : > On Sunday 01 November 2009 15:58:50 Ond=C5=99ej Majerech wrote: >> Hello list, >> >> I had my HP P1005 printer working just fine under 7.2-RELEASE, but I >> just updated to 8.0-RC2 and the driver doesn't seem to like the new >> USB stack. > > How did you update? Source update -- csup'd to RELENG_8, then followed the instructions in Hand= book. > > Did you recompile foo2xqx ? Yes. Actually, I did pkg_delete -a and then rebuilt everything from scratc= h. ~ Ondra From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 17:34:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59127106566C for ; Sun, 1 Nov 2009 17:34:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id D49FB8FC0C for ; Sun, 1 Nov 2009 17:34:50 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=1nTmeiNMJWEA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=rApxX2k2rJmLCMul_zoA:9 a=tvagz3qKBZ1eDnsAyAkA:7 a=WDCIPQJB_wTqp-2zmtZcFNyqeS8A:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 576198333; Sun, 01 Nov 2009 18:34:48 +0100 From: Hans Petter Selasky To: =?utf-8?q?Ond=C5=99ej_Majerech?= Date: Sun, 1 Nov 2009 18:36:01 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911011713.07994.hselasky@c2i.net> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?utf-8?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?utf-8?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911011836.03573.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 17:34:51 -0000 On Sunday 01 November 2009 18:32:39 Ond=C5=99ej Majerech wrote: > 2009/11/1 Hans Petter Selasky : > > On Sunday 01 November 2009 15:58:50 Ond=C5=99ej Majerech wrote: > >> Hello list, > >> > >> I had my HP P1005 printer working just fine under 7.2-RELEASE, but I > >> just updated to 8.0-RC2 and the driver doesn't seem to like the new > >> USB stack. > > > > How did you update? > > Source update -- csup'd to RELENG_8, then followed the instructions in > Handbook. > > > Did you recompile foo2xqx ? > > Yes. Actually, I did pkg_delete -a and then rebuilt everything from > scratch. > > ~ Ondra If you need to cat some firmware somwhere first, then check: /dev/usb/X.Y.Z, where Z is the endpoint. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 18:09:41 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A5251065670 for ; Sun, 1 Nov 2009 18:09:41 +0000 (UTC) (envelope-from oxyd.oxyd@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF068FC22 for ; Sun, 1 Nov 2009 18:09:40 +0000 (UTC) Received: by bwz5 with SMTP id 5so5591677bwz.3 for ; Sun, 01 Nov 2009 10:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kQQu9leji/+r2gQfzzbxRnmeJpglrTrIiRC+6cUerPc=; b=f20eKNtN46DZSIwCOcQSyeSqT1ZK+gAJa6aV1YZKNnOY/XEjb2EhP9HamjwF7gk6gt bzFbBT34i3yy12dTJ77Uj0YJteC1kDmNpRX+Gx+Ua75s85gMcwiqALj/KcRevox4JAAH dBPS+TvsSOpedB2vXv7ERPjWaBRJuyMRwqNL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kTIzXXx9jP96SOn0NNak6vNyWfWEqUKWVufz5iLva4kxWjIPdGcn1SfQu15hMXXZSx 3KUXoNAWWnY868GlYm36pBRq0TClI9JCWwvy//iLWdO3TMwS6fU12riiTh4QZtXITa+K zUVVsmrSki+eNFfx4knmyIMnR1XVuTSU1BFI8= MIME-Version: 1.0 Received: by 10.216.89.73 with SMTP id b51mr3218569wef.125.1257098979108; Sun, 01 Nov 2009 10:09:39 -0800 (PST) In-Reply-To: <200911011836.03573.hselasky@c2i.net> References: <200911011713.07994.hselasky@c2i.net> <200911011836.03573.hselasky@c2i.net> Date: Sun, 1 Nov 2009 19:09:39 +0100 Message-ID: From: =?UTF-8?Q?Ond=C5=99ej_Majerech?= To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: HP LaserJet P1005 USB Printer under FreeBSD 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 18:09:41 -0000 2009/11/1 Hans Petter Selasky : > On Sunday 01 November 2009 18:32:39 Ond=C5=99ej Majerech wrote: >> 2009/11/1 Hans Petter Selasky : >> > On Sunday 01 November 2009 15:58:50 Ond=C5=99ej Majerech wrote: >> >> Hello list, >> >> >> >> I had my HP P1005 printer working just fine under 7.2-RELEASE, but I >> >> just updated to 8.0-RC2 and the driver doesn't seem to like the new >> >> USB stack. >> > >> > How did you update? >> >> Source update -- csup'd to RELENG_8, then followed the instructions in >> Handbook. >> >> > Did you recompile foo2xqx ? >> >> Yes. =C2=A0Actually, I did pkg_delete -a and then rebuilt everything fro= m >> scratch. >> >> ~ Ondra > > If you need to cat some firmware somwhere first, then check: > > /dev/usb/X.Y.Z, where Z is the endpoint. > Wow, this was much easier than I'd thought. cat'ing the firmware to /dev/usb/2.2.1 indeed did the trick. Thanks for the help. ~ Ondra From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 20:32:03 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDDDE106566C for ; Sun, 1 Nov 2009 20:32:03 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id A8FD68FC13 for ; Sun, 1 Nov 2009 20:32:03 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KSG001ZZ6D7UI10@bgo1smout1.broadpark.no> for freebsd-usb@freebsd.org; Sun, 01 Nov 2009 21:31:55 +0100 (CET) Received: from kg-v2.kg4.no ([89.10.24.90]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KSG001646D600N0@bgo1sminn1.broadpark.no> for freebsd-usb@freebsd.org; Sun, 01 Nov 2009 21:31:54 +0100 (CET) Date: Sun, 01 Nov 2009 21:31:54 +0100 From: Torfinn Ingolfsen To: freebsd-usb@freebsd.org Message-id: <20091101213154.cf76de69.torfinn.ingolfsen@broadpark.no> In-reply-to: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 20:32:04 -0000 On Tue, 14 Apr 2009 23:57:27 +0200 Torfinn Ingolfsen wrote: > I got a new usb gadget, a TEMPer[1]. According to info on the net, A small update. I tried this gadget with FreeBSD 8.0-rc2. Without uchcom loaded it prints this in /var/log/messages: Nov 1 21:25:33 kg-t2 root: Unknown USB device: vendor 0x4348 product 0x5523 bus uhub0 Nov 1 21:25:33 kg-t2 kernel: ugen0.2: at usbus0 If I insert the gadget after loading the uchcom driver, the machine panics. The same happens if I load the driver with the gadget inserted. No core dump. I've trie this on two different machines, one running the i386 and the other the amd64 version of FreeBSD 8.0-RC2. Both panics with the uchcom driver and this gadget. References: 1) http://www.dealextreme.com/details.dx/sku.7003 -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Sun Nov 1 21:08:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB617106566B for ; Sun, 1 Nov 2009 21:08:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5E43A8FC18 for ; Sun, 1 Nov 2009 21:08:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=YgHpy36AcwMA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=G1D4sebDAAAA:8 a=ZXsJbOu41V9ieiVsl0sA:9 a=ua_Z9H5cmjyqdLWqlx7uDvoeN-AA:4 a=0RxRzh4HYlI1salk:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1319879648; Sun, 01 Nov 2009 22:08:22 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 1 Nov 2009 22:09:34 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> <20091101213154.cf76de69.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20091101213154.cf76de69.torfinn.ingolfsen@broadpark.no> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911012209.37403.hselasky@c2i.net> Cc: Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 21:08:24 -0000 On Sunday 01 November 2009 21:31:54 Torfinn Ingolfsen wrote: > On Tue, 14 Apr 2009 23:57:27 +0200 > > Torfinn Ingolfsen wrote: > > I got a new usb gadget, a TEMPer[1]. According to info on the net, > > A small update. I tried this gadget with FreeBSD 8.0-rc2. > Without uchcom loaded it prints this in /var/log/messages: > Nov 1 21:25:33 kg-t2 root: Unknown USB device: vendor 0x4348 product > 0x5523 bus uhub0 Nov 1 21:25:33 kg-t2 kernel: ugen0.2: at > usbus0 > > If I insert the gadget after loading the uchcom driver, the machine panic= s. > The same happens if I load the driver with the gadget inserted. No core > dump. > > I've trie this on two different machines, one running the i386 and the > other the amd64 version of FreeBSD 8.0-RC2. Both panics with the uchcom > driver and this gadget. > > References: > 1) http://www.dealextreme.com/details.dx/sku.7003 Hi, Try to fetch:=20 /sys/dev/usb/serial/uchcom.c=20 =46rom FreeBSD 9-current and rebuild the uchcom module or kernel. Known issue I think. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Mon Nov 2 11:07:05 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5B931065696 for ; Mon, 2 Nov 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B339A8FC15 for ; Mon, 2 Nov 2009 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA2B75W4033757 for ; Mon, 2 Nov 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA2B75mB033755 for freebsd-usb@FreeBSD.org; Mon, 2 Nov 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Nov 2009 11:07:05 GMT Message-Id: <200911021107.nA2B75mB033755@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2009 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/140160 usb USB ports are no longer "active" after ACPI suspend/re o usb/139990 usb [panic] Kernel frequently panics after printing o usb/139598 usb [umass] CAM reports "xptioctl: put "device pass" in yo o usb/139243 usb [uhci] unplug prolific USB serial -> uhci_abort_xfer: o usb/139142 usb [regression] ehci drivers (NVIDIA nForce4 USB 2.0 cont o usb/138915 usb [patch][usb8][usb67] add support for SheevaPlug serial o usb/138904 usb [rum] unpluging USB wifi card panics system f usb/138882 usb [ohci] [panic] Can't install FreeBSD 7.2 due to ohci p o usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb 8.0-BETA4 can't boot from USB flash drive [regression] o usb/138675 usb [usb8] [panic] page fault, perhaps in USB o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138563 usb [usb8] [patch] Increase buffer sizes to accomodate lon o usb/138389 usb [usb8] [patch] NULL pointer dereference in usb_endpoin o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb Additional dev id for u3g (Option mini PCIe) o usb/138138 usb Novatel U760 for u3g (Verizon and Bell Canada) o usb/138124 usb [usb8] Axed uaudio functionality in the usbng (alterna o usb/138119 usb MultiBay CDROM (propably on USB bus) is not recognized o usb/137872 usb slow booting on usb flash drive f usb/137848 usb Page fault when using an USB bluetooth adapter o usb/137806 usb [ukbd] USB keyboard doesn't work until it's unplugged o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] Support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro p usb/137226 usb [usb67][patch] quirk for Philips extern USB disk o usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb SteelSeries Ikari USB laser mouse not attaching p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] aue driver only passes traffic in promisc mode f usb/135857 usb RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa p usb/135372 usb [usb67][umass] Quirk report for Teclast TL-C300 usb me o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c p usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107924 usb [usb67] usbd(8) does not call detach o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 311 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Nov 2 13:21:21 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A50106568D for ; Mon, 2 Nov 2009 13:21:21 +0000 (UTC) (envelope-from dlangille@myyearbook.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 014308FC22 for ; Mon, 2 Nov 2009 13:21:20 +0000 (UTC) Received: by pxi28 with SMTP id 28so3180491pxi.7 for ; Mon, 02 Nov 2009 05:21:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.6.39 with SMTP id 39mr683384wff.316.1257168080572; Mon, 02 Nov 2009 05:21:20 -0800 (PST) In-Reply-To: <3a142e750910211210k7c99ec54q605e4c3ef3de9c4c@mail.gmail.com> References: <6dd019370906101118k6c26ccat5596dbe1ba03ebe5@mail.gmail.com> <6dd019370910210726x49ce12f5uf06a17a039d2c9d0@mail.gmail.com> <3a142e750910211210k7c99ec54q605e4c3ef3de9c4c@mail.gmail.com> Date: Mon, 2 Nov 2009 08:21:20 -0500 Message-ID: <6dd019370911020521g9eff193jd9f26589dc5afcd7@mail.gmail.com> From: Dan Langille To: Paul B Mahol Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: MS USB mouse does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2009 13:21:21 -0000 On Wed, Oct 21, 2009 at 2:10 PM, Paul B Mahol wrote: > On 10/21/09, Dan Langille wrote: > > bump > > > > On Wed, Jun 10, 2009 at 2:18 PM, Dan Langille > > wrote: > > > >> I'm running FreeBSD 7.2-STABLE from Tue May 26. > >> > >> I have an MS keyboard and mouse, both of which are wireless and > >> operate through the same USB transceiver. The keyboard works. The > >> mouse does not. > >> > >> From /var/run/dmesg.boot: > >> > >> ukbd0: >> rev 2.00/2.50, addr 3> on uhub7 > >> kbd2 at ukbd0 > >> uhid0: >> rev 2.00/2.50, addr 3> on uhub7 > >> > >> I see nothing related to the mouse. Any ideas. It's a really nice > >> mouse, otherwise. ;) > > Try with 8.0, maybe something improved ... > If not, than the only option is to write mouse driver, if this particular > mouse > doesnt need some kind of quirk .... > FYI, I upgraded to FreeBSD 8.0-RC2. Mouse and keyboard both work. :) -- Dan Langille myYearbook.com From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 03:36:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 605931065679 for ; Tue, 3 Nov 2009 03:36:24 +0000 (UTC) (envelope-from achilov-rn@askd.ru) Received: from master.askd.ru (master.askd.ru [80.242.75.6]) by mx1.freebsd.org (Postfix) with ESMTP id C44378FC16 for ; Tue, 3 Nov 2009 03:36:23 +0000 (UTC) Received: from to-495.askd.gmbh (IDENT:shelton@sentry [192.168.1.94]) by master.askd.ru (8.14.3/8.14.3) with ESMTP id nA33aESX029700 for ; Tue, 3 Nov 2009 09:36:14 +0600 (NOVT) (envelope-from achilov-rn@askd.ru) From: "Rashid N. Achilov" Organization: =?koi8-r?b?7+/v?= "=?koi8-r?b?4fMt88nT1MXNwQ==?= =?koi8-r?b?IOvPzdDMxcvT?=" To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 09:36:19 +0600 User-Agent: KMail/1.9.7 References: <6dd019370906101118k6c26ccat5596dbe1ba03ebe5@mail.gmail.com> <3a142e750910211210k7c99ec54q605e4c3ef3de9c4c@mail.gmail.com> <6dd019370911020521g9eff193jd9f26589dc5afcd7@mail.gmail.com> In-Reply-To: <6dd019370911020521g9eff193jd9f26589dc5afcd7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911030936.19878.achilov-rn@askd.ru> Subject: Re: MS USB mouse does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Achilov, Rashid" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 03:36:24 -0000 On Monday 02 November 2009, Dan Langille wrote: > > Try with 8.0, maybe something improved ... > > If not, than the only option is to write mouse driver, if this particular > > mouse > > doesnt need some kind of quirk .... > > > > FYI, I upgraded to FreeBSD 8.0-RC2. > > Mouse and keyboard both work. :) Awaiting at least 8.0-RELEASE (but preferrable 8.1-RELEASE - "dot zero" still will buggy). But this is good news. Probably, my Genius Optical Value and Microsoft 5000 twins will work :-) -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), JID: citycat4@jabber.org OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 04:00:17 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5490A1065672 for ; Tue, 3 Nov 2009 04:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 183178FC16 for ; Tue, 3 Nov 2009 04:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3409rH014686 for ; Tue, 3 Nov 2009 04:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA34094v014685; Tue, 3 Nov 2009 04:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 3 Nov 2009 04:00:09 GMT Resent-Message-Id: <200911030400.nA34094v014685@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rick Sprague Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0860A106566C for ; Tue, 3 Nov 2009 03:57:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EBC468FC1A for ; Tue, 3 Nov 2009 03:57:09 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA33v9WU094426 for ; Tue, 3 Nov 2009 03:57:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA33v91O094425; Tue, 3 Nov 2009 03:57:09 GMT (envelope-from nobody) Message-Id: <200911030357.nA33v91O094425@www.freebsd.org> Date: Tue, 3 Nov 2009 03:57:09 GMT From: Rick Sprague To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 04:00:17 -0000 >Number: 140236 >Category: usb >Synopsis: Labels wiped on external Journaled USB HDD on 8.0-RC2 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 03 04:00:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rick Sprague >Release: 8.0-RC2 >Organization: >Environment: FreeBSD XXXXXX 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This happens after reboot. All the labels on the external USB 450GB HDD, which is gjournaled, are erased. This drive I know works fine and am pretty sure it's a software issue. I thought this was a fluke, but I'm reporting this bug after it happened for the 2nd time. I've been able to recover the data by relabeling the disk w/ the same sizes. >How-To-Repeat: Reboot >Fix: If you know the exact label sizes, just renter and untoggle newfs. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 10:00:15 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 705971065670 for ; Tue, 3 Nov 2009 10:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33CB48FC1C for ; Tue, 3 Nov 2009 10:00:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3A0C63059454 for ; Tue, 3 Nov 2009 10:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA3A0CnU059453; Tue, 3 Nov 2009 10:00:12 GMT (envelope-from gnats) Resent-Date: Tue, 3 Nov 2009 10:00:12 GMT Resent-Message-Id: <200911031000.nA3A0CnU059453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sebastian Huber Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2C111065670 for ; Tue, 3 Nov 2009 09:52:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D23BE8FC18 for ; Tue, 3 Nov 2009 09:52:52 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA39qqSM082387 for ; Tue, 3 Nov 2009 09:52:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA39qqlq082386; Tue, 3 Nov 2009 09:52:52 GMT (envelope-from nobody) Message-Id: <200911030952.nA39qqlq082386@www.freebsd.org> Date: Tue, 3 Nov 2009 09:52:52 GMT From: Sebastian Huber To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:00:15 -0000 >Number: 140242 >Category: usb >Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 03 10:00:12 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sebastian Huber >Release: 9-current >Organization: embedded brains GmbH >Environment: >Description: In ehci_ixp_attach() setting of sc->sc_bus.usbrev is superfluous since this is also set in ehci_init(). Calling ehci_reset() without a valid sc->sc_offs value makes no sense. >How-To-Repeat: >Fix: Index: ehci_ixp4xx.c =================================================================== --- ehci_ixp4xx.c (revision 198848) +++ ehci_ixp4xx.c (working copy) @@ -157,8 +157,6 @@ return (ENOMEM); } - sc->sc_bus.usbrev = USB_REV_2_0; - /* NB: hints fix the memory location and irq */ rid = 0; @@ -230,7 +228,6 @@ | EHCI_SCFLG_BIGEMMIO | EHCI_SCFLG_NORESTERM ; - (void) ehci_reset(sc); err = ehci_init(sc); if (!err) { >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 10:09:29 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AEC9106566B; Tue, 3 Nov 2009 10:09:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 785EC8FC15; Tue, 3 Nov 2009 10:09:28 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=CGJ8n4-NgEEA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=uWpPHBPPO1n2KsHQQYoA:9 a=5iJVv3YZ6Pq0fU633AEA:7 a=PflxJVr-h9pNVsi5yF4bHrAoEdcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1339315974; Tue, 03 Nov 2009 11:09:26 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 11:08:32 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911030952.nA39qqlq082386@www.freebsd.org> In-Reply-To: <200911030952.nA39qqlq082386@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911031108.33332.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:09:29 -0000 On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote: > >Number: 140242 > >Category: usb > >Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 03 10:00:12 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Sebastian Huber > >Release: 9-current > >Organization: > > embedded brains GmbH > > >Environment: > >Description: > > In ehci_ixp_attach() setting of sc->sc_bus.usbrev is superfluous since this > is also set in ehci_init(). > > Calling ehci_reset() without a valid sc->sc_offs value makes no sense. > > >How-To-Repeat: > > > >Fix: > > Index: ehci_ixp4xx.c > =================================================================== > --- ehci_ixp4xx.c (revision 198848) > +++ ehci_ixp4xx.c (working copy) > @@ -157,8 +157,6 @@ > return (ENOMEM); > } > > - sc->sc_bus.usbrev = USB_REV_2_0; > - > /* NB: hints fix the memory location and irq */ > > rid = 0; > @@ -230,7 +228,6 @@ > > | EHCI_SCFLG_BIGEMMIO > | EHCI_SCFLG_NORESTERM > > ; > - (void) ehci_reset(sc); > > err = ehci_init(sc); > if (!err) { > > >Release-Note: > >Audit-Trail: > >Unformatted: Hi, Thanks for your patch. What is the correct "sc->sc_offs" value? The sc_offs field is used by more than reset, and should be set correctly. I.E. The right solution is not to remove the ehci_reset() call. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 10:10:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 862C2106566C for ; Tue, 3 Nov 2009 10:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0398FC15 for ; Tue, 3 Nov 2009 10:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3AA2b8067712 for ; Tue, 3 Nov 2009 10:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA3AA2Tx067711; Tue, 3 Nov 2009 10:10:02 GMT (envelope-from gnats) Date: Tue, 3 Nov 2009 10:10:02 GMT Message-Id: <200911031010.nA3AA2Tx067711@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:10:02 -0000 The following reply was made to PR usb/140242; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Sebastian Huber , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings Date: Tue, 3 Nov 2009 11:08:32 +0100 On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote: > >Number: 140242 > >Category: usb > >Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 03 10:00:12 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Sebastian Huber > >Release: 9-current > >Organization: > > embedded brains GmbH > > >Environment: > >Description: > > In ehci_ixp_attach() setting of sc->sc_bus.usbrev is superfluous since this > is also set in ehci_init(). > > Calling ehci_reset() without a valid sc->sc_offs value makes no sense. > > >How-To-Repeat: > > > >Fix: > > Index: ehci_ixp4xx.c > =================================================================== > --- ehci_ixp4xx.c (revision 198848) > +++ ehci_ixp4xx.c (working copy) > @@ -157,8 +157,6 @@ > return (ENOMEM); > } > > - sc->sc_bus.usbrev = USB_REV_2_0; > - > /* NB: hints fix the memory location and irq */ > > rid = 0; > @@ -230,7 +228,6 @@ > > | EHCI_SCFLG_BIGEMMIO > | EHCI_SCFLG_NORESTERM > > ; > - (void) ehci_reset(sc); > > err = ehci_init(sc); > if (!err) { > > >Release-Note: > >Audit-Trail: > >Unformatted: Hi, Thanks for your patch. What is the correct "sc->sc_offs" value? The sc_offs field is used by more than reset, and should be set correctly. I.E. The right solution is not to remove the ehci_reset() call. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 10:28:22 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9E1E106568B for ; Tue, 3 Nov 2009 10:28:22 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from mail.embedded-brains.de (host-82-135-62-35.customer.m-online.net [82.135.62.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF988FC12 for ; Tue, 3 Nov 2009 10:28:22 +0000 (UTC) Received: by mail.embedded-brains.de (Postfix, from userid 65534) id 0DDCB65F2E2; Tue, 3 Nov 2009 11:28:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on fidibus X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [192.168.96.31] (eb0011.eb.z [192.168.96.31]) by mail.embedded-brains.de (Postfix) with ESMTP id 01E0865F2E1; Tue, 3 Nov 2009 11:28:19 +0100 (CET) Message-ID: <4AF005C1.7090007@embedded-brains.de> Date: Tue, 03 Nov 2009 11:28:17 +0100 From: Sebastian Huber User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Hans Petter Selasky References: <200911031010.nA3AA2Tx067711@freefall.freebsd.org> In-Reply-To: <200911031010.nA3AA2Tx067711@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:28:22 -0000 Hans Petter Selasky wrote: [...] > What is the correct "sc->sc_offs" value? The sc_offs field is used by more > than reset, and should be set correctly. I.E. The right solution is not to > remove the ehci_reset() call. [...] The sc->sc_offs value is initialized early during ehci_init(). Afterwards a ehci_reset() is ok, but before it is not good. -- Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 10:43:06 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 467041065670; Tue, 3 Nov 2009 10:43:06 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.freebsd.org (Postfix) with ESMTP id B83E38FC08; Tue, 3 Nov 2009 10:43:05 +0000 (UTC) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw1.york.ac.uk (8.13.6/8.13.6) with ESMTP id nA3AAmRg014391; Tue, 3 Nov 2009 10:10:48 GMT Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1N5GLg-0000t2-2S; Tue, 03 Nov 2009 10:10:48 +0000 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id nA3AAlnb099038; Tue, 3 Nov 2009 10:10:47 GMT (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id nA3AAlCk099037; Tue, 3 Nov 2009 10:10:47 GMT (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Rick van der Zwet In-Reply-To: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 03 Nov 2009 10:10:47 +0000 Message-Id: <1257243047.98619.8.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-current@FreeBSD.org, hselasky@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 10:43:06 -0000 [freebsd-current cc'd, as that was where the thread started, but this probably belongs on -usb, replies should go there] On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote: > The first net interface of a aue(4) define used to be called aue0 > afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). (no > sign of ue(4) btw). > > I was looking in the UPDATING, man, mailinglists freebsd-usb@ and > freebsd-current@. But I could not find the reason why the naming > convention on this aue differs from the regular stuff, anybody? > > /Rick > > quick# dmesg | tail -8 > ugen1.3: at usbus1 > aue0: on usbus1 > miibus1: on aue0 > ukphy0: PHY 1 on miibus1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ue0: on aue0 > ue0: Ethernet address: 00:00:e8:00:11:36 > ue0: link state changed to DOWN > > quick# ifconfig -l > bfe0 lo0 ue0 Hmm, this looks like a serious bug, possibly in the new USB subsystem (HPS CC'd). I've got an axe(4) device, which also does the same: ugen7.3: at usbus7 axe0: on usbus7 axe0: PHYADDR 0xe0:0x10 miibus1: on axe0 ukphy0: PHY 16 on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on axe0 ue0: Ethernet address: 00:50:b6:05:57:a7 ue0: link state changed to DOWN Gavin From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 11:04:17 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A85A1106568B; Tue, 3 Nov 2009 11:04:17 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id AC4958FC18; Tue, 3 Nov 2009 11:04:16 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UCflARi49IcA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=p6NVgGBU1vQ2caJ32RIA:9 a=OtAmMAkJGGkWUAIKcvUA:7 a=wJlQUFfP-54dsvDomPGtlXuK048A:4 a=Zzef8cBpXGKMt_rX:21 a=zFcG4CBDPOfxa_WF:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1144636901; Tue, 03 Nov 2009 12:04:14 +0100 Received-SPF: softfail receiver=mailfe12.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 12:03:21 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> <1257243047.98619.8.camel@buffy.york.ac.uk> In-Reply-To: <1257243047.98619.8.camel@buffy.york.ac.uk> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911031203.22103.hselasky@freebsd.org> Cc: Gavin Atkinson , freebsd-current@freebsd.org, Rick van der Zwet Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 11:04:17 -0000 On Tuesday 03 November 2009 11:10:47 Gavin Atkinson wrote: > [freebsd-current cc'd, as that was where the thread started, but this > probably belongs on -usb, replies should go there] > > On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote: > > The first net interface of a aue(4) define used to be called aue0 > > afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). (no > > sign of ue(4) btw). > > > > I was looking in the UPDATING, man, mailinglists freebsd-usb@ and > > freebsd-current@. But I could not find the reason why the naming > > convention on this aue differs from the regular stuff, anybody? > > > > /Rick > > > > quick# dmesg | tail -8 > > ugen1.3: at usbus1 > > aue0: on usbus1 > > miibus1: on aue0 > > ukphy0: PHY 1 on miibus1 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > ue0: on aue0 > > ue0: Ethernet address: 00:00:e8:00:11:36 > > ue0: link state changed to DOWN > > > > quick# ifconfig -l > > bfe0 lo0 ue0 > > Hmm, this looks like a serious bug, possibly in the new USB subsystem > (HPS CC'd). > > I've got an axe(4) device, which also does the same: > > ugen7.3: at usbus7 > axe0: on usbus7 > axe0: PHYADDR 0xe0:0x10 > miibus1: on axe0 > ukphy0: PHY 16 on miibus1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ue0: on axe0 > ue0: Ethernet address: 00:50:b6:05:57:a7 > ue0: link state changed to DOWN Hi, All USB ethernet adapters are now named ue0. You will get one axe0 event and one ue0 event. So there should be no problems regarding devd.conf . --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 11:07:14 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A833C106566B; Tue, 3 Nov 2009 11:07:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id D589B8FC18; Tue, 3 Nov 2009 11:07:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UCflARi49IcA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=xzg1ZBY50pbcvyk_5xIA:9 a=aevmJ9JxKSu9oa9zSWWyIwMXj3cA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1339345046; Tue, 03 Nov 2009 12:07:11 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Tue, 3 Nov 2009 12:06:19 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> <1257243047.98619.8.camel@buffy.york.ac.uk> <200911031203.22103.hselasky@freebsd.org> In-Reply-To: <200911031203.22103.hselasky@freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911031206.19512.hselasky@c2i.net> Cc: Gavin Atkinson , freebsd-usb@freebsd.org, Rick van der Zwet Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 11:07:14 -0000 On Tuesday 03 November 2009 12:03:21 Hans Petter Selasky wrote: > Hi, > > All USB ethernet adapters are now named ue0. You will get one axe0 event > and one ue0 event. So there should be no problems regarding devd.conf . > > --HPS s/ue0/ueN/ --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 11:15:28 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC37B1065672; Tue, 3 Nov 2009 11:15:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id F0EED8FC1E; Tue, 3 Nov 2009 11:15:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=CGJ8n4-NgEEA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=uWpPHBPPO1n2KsHQQYoA:9 a=JNBfB33hg-1TGyzhKLUA:7 a=c_tG_9AFcVDJQP5pS9KPFozNrjQA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1329739995; Tue, 03 Nov 2009 12:00:26 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 11:59:33 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911030952.nA39qqlq082386@www.freebsd.org> In-Reply-To: <200911030952.nA39qqlq082386@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911031159.33427.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 11:15:28 -0000 On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote: > >Number: 140242 > >Category: usb > >Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 03 10:00:12 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Sebastian Huber > >Release: 9-current > >Organization: > > embedded brains GmbH > > >Environment: > >Description: > > In ehci_ixp_attach() setting of sc->sc_bus.usbrev is superfluous since this > is also set in ehci_init(). > > Calling ehci_reset() without a valid sc->sc_offs value makes no sense. > > >How-To-Repeat: > > > >Fix: > > Index: ehci_ixp4xx.c > =================================================================== > --- ehci_ixp4xx.c (revision 198848) > +++ ehci_ixp4xx.c (working copy) > @@ -157,8 +157,6 @@ > return (ENOMEM); > } > > - sc->sc_bus.usbrev = USB_REV_2_0; > - > /* NB: hints fix the memory location and irq */ > > rid = 0; > @@ -230,7 +228,6 @@ > > | EHCI_SCFLG_BIGEMMIO > | EHCI_SCFLG_NORESTERM > > ; > - (void) ehci_reset(sc); > > err = ehci_init(sc); > if (!err) { > > >Release-Note: > >Audit-Trail: > >Unformatted: > Committed to USB P4: http://p4web.freebsd.org/chv.cgi?CH=170109 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 11:20:04 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6747F1065695 for ; Tue, 3 Nov 2009 11:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 56AB78FC20 for ; Tue, 3 Nov 2009 11:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3BK4Af030690 for ; Tue, 3 Nov 2009 11:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA3BK472030689; Tue, 3 Nov 2009 11:20:04 GMT (envelope-from gnats) Date: Tue, 3 Nov 2009 11:20:04 GMT Message-Id: <200911031120.nA3BK472030689@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 11:20:04 -0000 The following reply was made to PR usb/140242; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Sebastian Huber , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings Date: Tue, 3 Nov 2009 11:59:33 +0100 On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote: > >Number: 140242 > >Category: usb > >Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 03 10:00:12 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Sebastian Huber > >Release: 9-current > >Organization: > > embedded brains GmbH > > >Environment: > >Description: > > In ehci_ixp_attach() setting of sc->sc_bus.usbrev is superfluous since this > is also set in ehci_init(). > > Calling ehci_reset() without a valid sc->sc_offs value makes no sense. > > >How-To-Repeat: > > > >Fix: > > Index: ehci_ixp4xx.c > =================================================================== > --- ehci_ixp4xx.c (revision 198848) > +++ ehci_ixp4xx.c (working copy) > @@ -157,8 +157,6 @@ > return (ENOMEM); > } > > - sc->sc_bus.usbrev = USB_REV_2_0; > - > /* NB: hints fix the memory location and irq */ > > rid = 0; > @@ -230,7 +228,6 @@ > > | EHCI_SCFLG_BIGEMMIO > | EHCI_SCFLG_NORESTERM > > ; > - (void) ehci_reset(sc); > > err = ehci_init(sc); > if (!err) { > > >Release-Note: > >Audit-Trail: > >Unformatted: > Committed to USB P4: http://p4web.freebsd.org/chv.cgi?CH=170109 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 11:33:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCCB1065672 for ; Tue, 3 Nov 2009 11:33:32 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from mail.embedded-brains.de (host-82-135-62-35.customer.m-online.net [82.135.62.35]) by mx1.freebsd.org (Postfix) with ESMTP id E839D8FC14 for ; Tue, 3 Nov 2009 11:33:31 +0000 (UTC) Received: by mail.embedded-brains.de (Postfix, from userid 65534) id B84F165F2E2; Tue, 3 Nov 2009 12:33:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on fidibus X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [192.168.96.31] (eb0011.eb.z [192.168.96.31]) by mail.embedded-brains.de (Postfix) with ESMTP id 93A3265F2E1 for ; Tue, 3 Nov 2009 12:33:30 +0100 (CET) Message-ID: <4AF01509.7060701@embedded-brains.de> Date: Tue, 03 Nov 2009 12:33:29 +0100 From: Sebastian Huber User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: umass.c question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 11:33:32 -0000 Hi! In umass_attach() the sc->sc_mtx will be initialized. This mutex will be passed to cam_sim_alloc(). Who destroys this mutex? I guess it should be destroyed in umass_detach() right after the last unlock. CU -- Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 12:32:31 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A41EE10656A3 for ; Tue, 3 Nov 2009 12:32:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 37D3D8FC1D for ; Tue, 3 Nov 2009 12:32:31 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=zbmeDd2HElvu0nVLltAA:9 a=FbBsbebAyIawILiljZwA:7 a=-hckygnY7aUVWPYsUfCQ30fPqRwA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1320701087; Tue, 03 Nov 2009 13:32:30 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 13:31:36 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4AF01509.7060701@embedded-brains.de> In-Reply-To: <4AF01509.7060701@embedded-brains.de> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911031331.37162.hselasky@c2i.net> Cc: Subject: Re: umass.c question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 12:32:31 -0000 On Tuesday 03 November 2009 12:33:29 Sebastian Huber wrote: > Sebastian Huber Thanks for your patch. Committed to USB P4: http://p4web.freebsd.org/chv.cgi?CH=170113 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 12:42:11 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3401A1065697; Tue, 3 Nov 2009 12:42:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 850B68FC19; Tue, 3 Nov 2009 12:42:10 +0000 (UTC) Received: by bwz5 with SMTP id 5so7716146bwz.3 for ; Tue, 03 Nov 2009 04:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=t1BGlaZoVZqa/lCOqCfftCunKf43z0+fdp5NPr4DSFk=; b=jQTUi/tYqEuezPmf1VeRdtKY3K/QfLlE2Ls8LJ8AuH9N0pmJq3cUaQSSVG4bvyNhnA vWHfBD+9rCMSNgrlv5+8It9o9zJiLYSIQRA1FABSsFOuimDFBNx0D/jWng03snL36/gR fnPiBOpj5cc43At8YEwDSJsBABvb3hBaoY7E4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=gw74qTjemKyChmcANIMqOAN0II+pK2kwxQscdypakiALxO85NByt64O4wvFvCnXSpU 6dhSNTh9HrnKGHtEOBFk+B8OINCgffnEAExo1ZTLUm4DsF3LRdOrbckOUvhmztPQ7lSv Wb3oPcDfHHFC/nOQ29c/lgRVjgErxUFLi3U3g= Received: by 10.204.48.140 with SMTP id r12mr1511001bkf.112.1257250477639; Tue, 03 Nov 2009 04:14:37 -0800 (PST) Received: from mac-mini.lan (bl7-30-163.dsl.telepac.pt [85.240.30.163]) by mx.google.com with ESMTPS id 15sm23082bwz.8.2009.11.03.04.14.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Nov 2009 04:14:36 -0800 (PST) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Rui Paulo In-Reply-To: <200911031203.22103.hselasky@freebsd.org> Date: Tue, 3 Nov 2009 12:14:34 +0000 Content-Transfer-Encoding: 7bit Message-Id: References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> <1257243047.98619.8.camel@buffy.york.ac.uk> <200911031203.22103.hselasky@freebsd.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1076) Cc: Rick van der Zwet , Gavin Atkinson , freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 12:42:11 -0000 On 3 Nov 2009, at 11:03, Hans Petter Selasky wrote: > On Tuesday 03 November 2009 11:10:47 Gavin Atkinson wrote: >> [freebsd-current cc'd, as that was where the thread started, but this >> probably belongs on -usb, replies should go there] >> >> On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote: >>> The first net interface of a aue(4) define used to be called aue0 >>> afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). >>> (no >>> sign of ue(4) btw). >>> >>> I was looking in the UPDATING, man, mailinglists freebsd-usb@ and >>> freebsd-current@. But I could not find the reason why the naming >>> convention on this aue differs from the regular stuff, anybody? >>> >>> /Rick >>> >>> quick# dmesg | tail -8 >>> ugen1.3: at usbus1 >>> aue0: on usbus1 >>> miibus1: on aue0 >>> ukphy0: PHY 1 on miibus1 >>> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >>> ue0: on aue0 >>> ue0: Ethernet address: 00:00:e8:00:11:36 >>> ue0: link state changed to DOWN >>> >>> quick# ifconfig -l >>> bfe0 lo0 ue0 >> >> Hmm, this looks like a serious bug, possibly in the new USB subsystem >> (HPS CC'd). >> >> I've got an axe(4) device, which also does the same: >> >> ugen7.3: at usbus7 >> axe0: on usbus7 >> axe0: PHYADDR 0xe0:0x10 >> miibus1: on axe0 >> ukphy0: PHY 16 on miibus1 >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> ue0: on axe0 >> ue0: Ethernet address: 00:50:b6:05:57:a7 >> ue0: link state changed to DOWN > > Hi, > > All USB ethernet adapters are now named ue0. You will get one axe0 > event and > one ue0 event. So there should be no problems regarding devd.conf . Fair enough, but this must be mentioned in src/UPDATING. -- Rui Paulo From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 17:55:40 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A809106568D; Tue, 3 Nov 2009 17:55:40 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 93A108FC1E; Tue, 3 Nov 2009 17:55:39 +0000 (UTC) Received: by qyk6 with SMTP id 6so2972697qyk.3 for ; Tue, 03 Nov 2009 09:55:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=uYXKSF3gM0bpjt3ju8phMG45A6y2wDefRt2xeCtaQOM=; b=oHI3FbUp6BJ7GuNU1xEszpkravfAstjNSjipgKrUdSQPfiY7nrWInRQh4oIUlCFosb sly5RimphnbmhZS6r27A3AcGbUZm/Tmxe2mstUpQ92/QtUGCk3ER1EJP7Zbg9EYki3n/ eH0WPyFLIqzvbU3phcPSdjEfWJeeQ4Ebw6Klo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=wFQbvW726QCeFhBP1cA5Swi+atAr0FwYBduAQJohc62clfJl3rQPD+sTs2h5VciMk5 yf9h8fia54TME63h7RwlFcnF9142OcdPTdZuOMjxAYyk/EVoTFmwKiT7yQ41FiMA87EC wEjInzHzroKNV2F3s+AZDmrjkb/9qmXvZ7sc4= Received: by 10.224.21.204 with SMTP id k12mr160087qab.232.1257270938817; Tue, 03 Nov 2009 09:55:38 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm176643qyk.0.2009.11.03.09.55.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Nov 2009 09:55:37 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 3 Nov 2009 09:55:01 -0800 From: Pyun YongHyeon Date: Tue, 3 Nov 2009 09:55:01 -0800 To: Gavin Atkinson Message-ID: <20091103175501.GD1256@michelle.cdnetworks.com> References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> <1257243047.98619.8.camel@buffy.york.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1257243047.98619.8.camel@buffy.york.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, hselasky@freebsd.org, freebsd-usb@freebsd.org, Rick van der Zwet Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 17:55:40 -0000 On Tue, Nov 03, 2009 at 10:10:47AM +0000, Gavin Atkinson wrote: > [freebsd-current cc'd, as that was where the thread started, but this > probably belongs on -usb, replies should go there] > > On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote: > > The first net interface of a aue(4) define used to be called aue0 > > afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). (no > > sign of ue(4) btw). > > > > I was looking in the UPDATING, man, mailinglists freebsd-usb@ and > > freebsd-current@. But I could not find the reason why the naming > > convention on this aue differs from the regular stuff, anybody? > > > > /Rick > > > > quick# dmesg | tail -8 > > ugen1.3: at usbus1 > > aue0: on usbus1 > > miibus1: on aue0 > > ukphy0: PHY 1 on miibus1 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > ue0: on aue0 > > ue0: Ethernet address: 00:00:e8:00:11:36 > > ue0: link state changed to DOWN > > > > quick# ifconfig -l > > bfe0 lo0 ue0 > > Hmm, this looks like a serious bug, possibly in the new USB subsystem > (HPS CC'd). > > I've got an axe(4) device, which also does the same: > > ugen7.3: at usbus7 > axe0: on usbus7 > axe0: PHYADDR 0xe0:0x10 > miibus1: on axe0 > ukphy0: PHY 16 on miibus1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ue0: on axe0 > ue0: Ethernet address: 00:50:b6:05:57:a7 > ue0: link state changed to DOWN > I'm not sure this is feature of new USB or bug. I don't have strong objections on current behavior but looks like I'm seeing Linux behavior. Traditionally all network interfaces used their own driver name. I think this change should be documented in UPDATING. > Gavin From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 18:50:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9C4106566B for ; Tue, 3 Nov 2009 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B3D808FC14 for ; Tue, 3 Nov 2009 18:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3Io2D4020750 for ; Tue, 3 Nov 2009 18:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA3Io2sS020749; Tue, 3 Nov 2009 18:50:02 GMT (envelope-from gnats) Date: Tue, 3 Nov 2009 18:50:02 GMT Message-Id: <200911031850.nA3Io2sS020749@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Monty Hall Cc: Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Monty Hall List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 18:50:03 -0000 The following reply was made to PR usb/140236; it has been noted by GNATS. From: Monty Hall To: bug-followup@FreeBSD.org, sprague@msu.edu Cc: Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 Date: Tue, 03 Nov 2009 13:43:54 -0500 OMG, I didn't mean LABEL, I meant PARTITION. From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 19:50:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CCB1065670 for ; Tue, 3 Nov 2009 19:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88FDF8FC15 for ; Tue, 3 Nov 2009 19:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3Jo3S2071984 for ; Tue, 3 Nov 2009 19:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA3Jo3YH071982; Tue, 3 Nov 2009 19:50:03 GMT (envelope-from gnats) Date: Tue, 3 Nov 2009 19:50:03 GMT Message-Id: <200911031950.nA3Jo3YH071982@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Monty Hall Cc: Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Monty Hall List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 19:50:03 -0000 The following reply was made to PR usb/140236; it has been noted by GNATS. From: Monty Hall To: bug-followup@FreeBSD.org, sprague@msu.edu Cc: Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 Date: Tue, 03 Nov 2009 14:41:29 -0500 FYI: please use my sbcglobal account From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 20:49:34 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F40106568B for ; Tue, 3 Nov 2009 20:49:34 +0000 (UTC) (envelope-from tlb@tlb.org) Received: from anybots.com (mail.anybots.com [64.142.12.96]) by mx1.freebsd.org (Postfix) with SMTP id 5AAC68FC12 for ; Tue, 3 Nov 2009 20:49:34 +0000 (UTC) Received: (qmail 64971 invoked from network); 3 Nov 2009 20:49:33 -0000 Received: from unknown (HELO mobile-166-129-130-231.mycingular.net) (tlb@166.129.130.231) by mail.anybots.com with SMTP; 3 Nov 2009 20:49:33 -0000 Message-Id: <8098FB54-3C93-42EA-9FA0-B34ED779E83C@tlb.org> From: Trevor Blackwell To: freebsd-usb@FreeBSD.org In-Reply-To: <200911031850.nA3Io2sS020749@freefall.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 3 Nov 2009 12:49:18 -0800 References: <200911031850.nA3Io2sS020749@freefall.freebsd.org> X-Mailer: Apple Mail (2.936) Cc: Monty Hall Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 20:49:34 -0000 I recently had a partition table wiped out on a non-boot disk, an 8 GB flash drive on a SATA port. I don't know that I can reproduce it, but if there are more similar reports it might be worth looking in the disk subsystem rather than USB. -- Trevor Blackwell tlb@tlb.org 650 776 7870 On Nov 3, 2009, at 10:50 , Monty Hall wrote: > The following reply was made to PR usb/140236; it has been noted by > GNATS. > > From: Monty Hall > To: bug-followup@FreeBSD.org, sprague@msu.edu > Cc: > Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD > on 8.0-RC2 > Date: Tue, 03 Nov 2009 13:43:54 -0500 > > OMG, I didn't mean LABEL, I meant PARTITION. > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 21:23:40 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63854106566C; Tue, 3 Nov 2009 21:23:40 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2492D8FC18; Tue, 3 Nov 2009 21:23:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 93CDCFF75; Wed, 4 Nov 2009 10:07:31 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cTC5d-j5TZGJ; Wed, 4 Nov 2009 10:07:27 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 4 Nov 2009 10:07:27 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 08EE511477; Wed, 4 Nov 2009 10:07:26 +1300 (NZDT) Date: Wed, 4 Nov 2009 10:07:25 +1300 From: Andrew Thompson To: Pyun YongHyeon Message-ID: <20091103210725.GA33086@citylink.fud.org.nz> References: <5aaae08a0910311359v45cc9dc9h2826d8a29bfb5575@mail.gmail.com> <1257243047.98619.8.camel@buffy.york.ac.uk> <20091103175501.GD1256@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091103175501.GD1256@michelle.cdnetworks.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Rick van der Zwet , Gavin Atkinson , hselasky@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: aue0 detected as ue0 on 8.0-RC2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 21:23:40 -0000 On Tue, Nov 03, 2009 at 09:55:01AM -0800, Pyun YongHyeon wrote: > On Tue, Nov 03, 2009 at 10:10:47AM +0000, Gavin Atkinson wrote: > > [freebsd-current cc'd, as that was where the thread started, but this > > Hmm, this looks like a serious bug, possibly in the new USB subsystem > > (HPS CC'd). > > > > I've got an axe(4) device, which also does the same: > > > > ugen7.3: at usbus7 > > axe0: on usbus7 > > axe0: PHYADDR 0xe0:0x10 > > miibus1: on axe0 > > ukphy0: PHY 16 on miibus1 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > ue0: on axe0 > > ue0: Ethernet address: 00:50:b6:05:57:a7 > > ue0: link state changed to DOWN > > > > I'm not sure this is feature of new USB or bug. I don't have strong > objections on current behavior but looks like I'm seeing Linux > behavior. Traditionally all network interfaces used their own > driver name. I think this change should be documented in UPDATING. I have added an UPDATING entry in 198859. Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 21:27:05 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CFCF106566C for ; Tue, 3 Nov 2009 21:27:05 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 3877F8FC14 for ; Tue, 3 Nov 2009 21:27:05 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KSJ00JFOY94CN20@bgo1smout1.broadpark.no> for freebsd-usb@freebsd.org; Tue, 03 Nov 2009 22:27:04 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KSJ004U4Y93ZXA0@bgo1sminn1.broadpark.no> for freebsd-usb@freebsd.org; Tue, 03 Nov 2009 22:27:04 +0100 (CET) Date: Tue, 03 Nov 2009 22:27:03 +0100 From: Torfinn Ingolfsen To: freebsd-usb@freebsd.org Message-id: <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> In-reply-to: <200911012209.37403.hselasky@c2i.net> References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> <20091101213154.cf76de69.torfinn.ingolfsen@broadpark.no> <200911012209.37403.hselasky@c2i.net> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 21:27:05 -0000 On Sun, 01 Nov 2009 22:09:34 +0100 Hans Petter Selasky wrote: > Try to fetch: > > /sys/dev/usb/serial/uchcom.c > > From FreeBSD 9-current and rebuild the uchcom module or kernel. I noticed that the latest uchcom.c had been MFC'ed to RELENG_8, so I fetched and built that instead. root@kg-t2# uname -a FreeBSD kg-t2.kg4.no 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Nov 3 20:13:10 CET 2009 root@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 And in /var/log/messages I see: Nov 3 22:17:43 kg-t2 kernel: ugen0.2: at usbus0 Nov 3 22:17:43 kg-t2 kernel: ucom0: on usbus0 Nov 3 22:17:43 kg-t2 kernel: ucom0: CH340 detected and usbconfig shows: root@kg-t2# usbconfig list ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON But where is ucom0? root@kg-t2# ls -l /dev/uc* ls: /dev/uc*: No such file or directory root@kg-t2# ls -l /dev/ucom0 ls: /dev/ucom0: No such file or directory root@kg-t2# ls -l /dev/ucom0 -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Tue Nov 3 21:55:43 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA7F106566B for ; Tue, 3 Nov 2009 21:55:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF778FC19 for ; Tue, 3 Nov 2009 21:55:42 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=YgHpy36AcwMA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=75OBNcyTBNFUEMVpWAcA:9 a=53TJCCPaOz20soDuc_IA:7 a=qgQv5g2AMstxn8JQSB6KwAHuEbkA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1320947773; Tue, 03 Nov 2009 22:55:40 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 3 Nov 2009 22:56:57 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> <200911012209.37403.hselasky@c2i.net> <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911032256.58552.hselasky@c2i.net> Cc: Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 21:55:43 -0000 On Tuesday 03 November 2009 22:27:03 Torfinn Ingolfsen wrote: > On Sun, 01 Nov 2009 22:09:34 +0100 > > Hans Petter Selasky wrote: > > Try to fetch: > > > > /sys/dev/usb/serial/uchcom.c > > > > From FreeBSD 9-current and rebuild the uchcom module or kernel. > > I noticed that the latest uchcom.c had been MFC'ed to RELENG_8, so I > fetched and built that instead. > root@kg-t2# uname -a > FreeBSD kg-t2.kg4.no 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Nov 3 20:13:10 CET > 2009 root@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 > > And in /var/log/messages I see: > Nov 3 22:17:43 kg-t2 kernel: ugen0.2: at usbus0 > Nov 3 22:17:43 kg-t2 kernel: ucom0: 1.10/2.50, addr 2> on usbus0 Nov 3 22:17:43 kg-t2 kernel: ucom0: CH340 > detected > and usbconfig shows: > root@kg-t2# usbconfig list > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > But where is ucom0? > root@kg-t2# ls -l /dev/uc* > ls: /dev/uc*: No such file or directory > root@kg-t2# ls -l /dev/ucom0 > ls: /dev/ucom0: No such file or directory > root@kg-t2# ls -l /dev/ucom0 /dev/cuaU0 --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 4 01:20:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B67F1065676 for ; Wed, 4 Nov 2009 01:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 78B478FC14 for ; Wed, 4 Nov 2009 01:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA41K2J3056792 for ; Wed, 4 Nov 2009 01:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA41K2Rv056791; Wed, 4 Nov 2009 01:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 4 Nov 2009 01:20:02 GMT Resent-Message-Id: <200911040120.nA41K2Rv056791@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Jenssen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B2B71065670 for ; Wed, 4 Nov 2009 01:11:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6378FC08 for ; Wed, 4 Nov 2009 01:11:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA41BwOW098497 for ; Wed, 4 Nov 2009 01:11:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA41Bw30098496; Wed, 4 Nov 2009 01:11:58 GMT (envelope-from nobody) Message-Id: <200911040111.nA41Bw30098496@www.freebsd.org> Date: Wed, 4 Nov 2009 01:11:58 GMT From: Robert Jenssen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140259: libusb-1.0 portability/compatibility nits X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 01:20:02 -0000 >Number: 140259 >Category: usb >Synopsis: libusb-1.0 portability/compatibility nits >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 04 01:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Robert Jenssen >Release: 8.0RC2 >Organization: >Environment: FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct 31 05:40:55 EST 2009 robj@kraken:/usr/obj/usr/src/sys/KRAKEN i386 >Description: Thankyou for porting libusb-1.0 to the FreeBSD kernel. Being new to usb programming, I tried to compile the non-trivial example program, dpfp.c, provided with the libusb-1.0.3.tar.bz2 tarball available from "http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.3/libusb-1.0.3.tar.bz2/download" . I found two problems 1. FreeBSD libusb10 is not quite portable. Here is a diff required to get dpfp.c to compile: [robj examples]diff dpfp.c dpfp.c.orig 30,32c30 < #include < < #define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup)) --- > #include 62c60 < static libusb_device_handle *devh = NULL; --- > static struct libusb_device_handle *devh = NULL; 2. Some libusb-1.0 functions are not implemented. Here is an attempt to link dpfp.c: [robj examples]gcc -O0 -g -o dpfp -lusb dpfp.c /var/tmp//ccPc8n2t.o(.text+0x4dc): In function `set_mode_async': /home/robj/TMP/libusb-1.0.3/examples/dpfp.c:182: undefined reference to `libusb_fill_control_setup' /var/tmp//ccPc8n2t.o(.text+0x51c):/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:184: undefined reference to `libusb_fill_control_transfer' /var/tmp//ccPc8n2t.o(.text+0xbe5): In function `alloc_transfers': /home/robj/TMP/libusb-1.0.3/examples/dpfp.c:406: undefined reference to `libusb_fill_bulk_transfer' /var/tmp//ccPc8n2t.o(.text+0xc2c):/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:408: undefined reference to `libusb_fill_interrupt_transfer' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Nov 4 18:42:43 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17C041065670 for ; Wed, 4 Nov 2009 18:42:43 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id C76118FC1D for ; Wed, 4 Nov 2009 18:42:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KSL00DQBLALKBB0@bgo1smout1.broadpark.no> for freebsd-usb@freebsd.org; Wed, 04 Nov 2009 19:42:21 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KSL0045FLAL8M71@bgo1sminn1.broadpark.no> for freebsd-usb@freebsd.org; Wed, 04 Nov 2009 19:42:21 +0100 (CET) Date: Wed, 04 Nov 2009 19:42:21 +0100 From: Torfinn Ingolfsen To: freebsd-usb@freebsd.org Message-id: <20091104194221.c325fb37.torfinn.ingolfsen@broadpark.no> In-reply-to: <200911032256.58552.hselasky@c2i.net> References: <20090414235727.38d16ee1.torfinn.ingolfsen@broadpark.no> <200911012209.37403.hselasky@c2i.net> <20091103222703.0e8ea0eb.torfinn.ingolfsen@broadpark.no> <200911032256.58552.hselasky@c2i.net> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: usb thermometer - TEMPer - FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 18:42:43 -0000 On Tue, 03 Nov 2009 22:56:57 +0100 Hans Petter Selasky wrote: > > But where is ucom0? > > root@kg-t2# ls -l /dev/uc* > > ls: /dev/uc*: No such file or directory > > root@kg-t2# ls -l /dev/ucom0 > > ls: /dev/ucom0: No such file or directory > > root@kg-t2# ls -l /dev/ucom0 > > /dev/cuaU0 Ah! I did know that, but had forgotten and that "ucom0:" in the output confused me. Thanks! Here is an idea: could we have the class of devices (usb devices that create / use ttys) report which tty they are using when they attach? Ie, instead of ucom0: CH340 detected We could have: ucom0: CH340 detected, using /dev/cuaU0 or something like that? I don't care if it is the driver, ther kenel or another part of FreeBSd that outpus this information, I just want it t be presented to the user. Just my 0.02 eurocents. -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Thu Nov 5 09:01:13 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA425106568F for ; Thu, 5 Nov 2009 09:01:13 +0000 (UTC) (envelope-from a.markov@complitex.ru) Received: from complitex.ru (mx.complitex.ru [213.79.84.132]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED9E8FC12 for ; Thu, 5 Nov 2009 09:01:12 +0000 (UTC) Received: from [192.168.1.11] (account a.markov HELO redrat) by complitex.ru (CommuniGate Pro SMTP 5.2.15) with ESMTPA id 1357082 for freebsd-usb@FreeBSD.org; Thu, 05 Nov 2009 11:01:09 +0300 Message-ID: From: "Alexey Markov" To: Date: Thu, 5 Nov 2009 11:01:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 FL-Build: Fidolook 2007 (HV) 6.0.6000.97 - 24/12/2008 20:32:05 X-Mailman-Approved-At: Thu, 05 Nov 2009 12:40:01 +0000 Cc: Subject: AnyDATA ADU-500A USB-modem and a lot of "ubsa_cfg_request" errors X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 09:01:13 -0000 Hello! First of all, excuse my English. Well, i have an AnyDATA ADU-500A Rev.A USB-modem, and i'm going to use it for my handmade "VIA EPIA-based mobile router". I have installed latest 8.0-RC2 and configured ppp, and now everything works just fine, except that I got a lot of such messages on console when I run ppp: ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED (ignored) I really want to work it out, and I have some spare time for experiments, but haven't any experience of debuging kernel drivers. Can anybody give me a clue to solve this little problem? -- WBR, Alexey Markov. From owner-freebsd-usb@FreeBSD.ORG Thu Nov 5 13:00:48 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A4E1106568F for ; Thu, 5 Nov 2009 13:00:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id D098B8FC0C for ; Thu, 5 Nov 2009 13:00:47 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=AyTOrmMljvoA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=5ooAFhydGfIeH8WLAzQA:9 a=76Rb3HFn4ReG9NbwTo3iBoGavawA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 271342493; Thu, 05 Nov 2009 14:00:44 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 5 Nov 2009 13:59:49 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911051359.49517.hselasky@c2i.net> Cc: Alexey Markov Subject: Re: AnyDATA ADU-500A USB-modem and a lot of "ubsa_cfg_request" errors X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 13:00:48 -0000 On Thursday 05 November 2009 09:01:05 Alexey Markov wrote: > Hello! > > First of all, excuse my English. > > Well, i have an AnyDATA ADU-500A Rev.A USB-modem, and i'm going to use > it for my handmade "VIA EPIA-based mobile router". I have installed > latest 8.0-RC2 and configured ppp, and now everything works just fine, > except that I got a lot of such messages on console when I run ppp: > > ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED > (ignored) > > I really want to work it out, and I have some spare time for experiments, > but haven't any experience of debuging kernel drivers. Can anybody give me > a clue to solve this little problem? Did you look in the source code: /sys/dev/usb/serial/ubsa.c --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Nov 5 13:13:05 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C19F7106566B for ; Thu, 5 Nov 2009 13:13:05 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from goat.gigo.com (ipv6.gigo.com [IPv6:2001:470:1:18::2]) by mx1.freebsd.org (Postfix) with ESMTP id A347E8FC1A for ; Thu, 5 Nov 2009 13:13:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by goat.gigo.com (Postfix) with ESMTP id 9AF988F24 for ; Thu, 5 Nov 2009 05:13:05 -0800 (PST) Received: from goat.gigo.com ([127.0.0.1]) by localhost (vette.gigo.com [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id b4Mh8onpgUWl for ; Thu, 5 Nov 2009 05:13:05 -0800 (PST) Received: from 201.88.119.237 (201-88-119-237.bsace702.dsl.brasiltelecom.net.br [201.88.119.237]) by goat.gigo.com (Postfix) with ESMTPSA id EFB7E8E6B for ; Thu, 5 Nov 2009 05:13:04 -0800 (PST) Received: (qmail 52398 invoked by uid 80); 5 Nov 2009 11:12:28 -0200 Received: from 200.201.164.11 ([200.201.164.11]) by exxodus.dyndns.org (Horde Framework) with HTTP; Thu, 05 Nov 2009 11:12:28 -0200 Message-ID: <20091105111228.42154lq771l53zeo@exxodus.dyndns.org> Date: Thu, 05 Nov 2009 11:12:28 -0200 From: Mario Sergio Fujikawa Ferreira To: gavin@FreeBSD.org References: <200908251137.n7PBbVA7086443@freefall.freebsd.org> (sfid-20090825_09001_6359084E) (sfid-20090825_09001_6359084E) In-Reply-To: <200908251137.n7PBbVA7086443@freefall.freebsd.org> (sfid-20090825_09001_6359084E) (sfid-20090825_09001_6359084E) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.5) / FreeBSD-8.0 Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/106861: [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 Bluetooth USB Adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 13:13:05 -0000 Quoting gavin@FreeBSD.org: > Old Synopsis: [usbdevs] [patch]: usbdevs update: Add product ACER > Zeevo BT-500 Bluetooth USB Adapter > New Synopsis: [usb67] [usb8] [usbdevs] [patch] Add ACER Zeevo BT-500 > Bluetooth USB Adapter > > Do you know if this USB bluetooth adapter works with more recent > versions of FreeBSD? Unfortunately, I do not have access to this adapter anymore. Unless there are other people with a similar need, this PR could be marked for expiration (say 2 months without a follow up). Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 00:30:08 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FB191065693 for ; Fri, 6 Nov 2009 00:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33AD88FC1C for ; Fri, 6 Nov 2009 00:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA60U8RI078364 for ; Fri, 6 Nov 2009 00:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA60U8mc078359; Fri, 6 Nov 2009 00:30:08 GMT (envelope-from gnats) Resent-Date: Fri, 6 Nov 2009 00:30:08 GMT Resent-Message-Id: <200911060030.nA60U8mc078359@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Jenssen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F18A106568B for ; Fri, 6 Nov 2009 00:26:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1CE8FC22 for ; Fri, 6 Nov 2009 00:26:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA60QEkR073219 for ; Fri, 6 Nov 2009 00:26:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA60QEoB073159; Fri, 6 Nov 2009 00:26:14 GMT (envelope-from nobody) Message-Id: <200911060026.nA60QEoB073159@www.freebsd.org> Date: Fri, 6 Nov 2009 00:26:14 GMT From: Robert Jenssen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 00:30:08 -0000 >Number: 140325 >Category: usb >Synopsis: Missing/incorrect initialisation and memory leak in libusb10/libusb20 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 06 00:30:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Robert Jenssen >Release: 8.0RC2 >Organization: >Environment: FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Nov 6 02:43:24 EST 2009 root@kraken:/usr/obj/usr/src/sys/KRAKEN i386 >Description: I was getting some weird values for usb configuration descriptor extra length. Valgrind is a wonderful tool recently ported to FreeBSD by stas@FreeBSD.org. Using valgrind I found the following problems (fixed in the attached patch): 1. In libusb10_desc.c, libusb_get_config_descriptor(), at line 162: pconfd->interface = (libusb_interface *) (pconfd + sizeof(libusb_config_descriptor)); should be: pconfd->interface = (libusb_interface *) (pconfd + 1); This problem causes illegal writes past the end of pconfd. 2. In libusb20_ugen20.c , ugen20_get_config_desc_full(), cdesc and ptr are not initialised. This problem causes branches on uninitialised values. 3. In libusb20.c, libusb20_be_free(), pbe is not free'd. This problem causes a minor memory leak. >How-To-Repeat: Compile the following test, link with a debug version of libusb.a and run valgrind. #include int main(void) { libusb_context *context; struct libusb_device **devs; struct libusb_config_descriptor *config; libusb_init(&context); libusb_get_device_list(context, &devs); libusb_get_active_config_descriptor(devs[0], &config); libusb_free_config_descriptor(config); libusb_free_device_list(devs, 1); libusb_exit(context); return 0; } >Fix: Apply the attached patch in /usr/src/lib/libusb Patch attached with submission follows: *** libusb10_desc.c 2009-11-06 10:35:00.000000000 +1100 --- libusb10_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 *************** *** 116,133 **** nep = 0; nextra = pconf->extra.len; - #define NEXTRA_ALIGN_TO(n) (nextra=((nextra+n)/n)*n) for (i = 0; i < nif; i++) { pinf = pconf->interface + i; nextra += pinf->extra.len; - NEXTRA_ALIGN_TO(16); nep += pinf->num_endpoints; k = pinf->num_endpoints; pend = pinf->endpoints; while (k--) { nextra += pend->extra.len; - NEXTRA_ALIGN_TO(16); pend++; } --- 116,130 ---- *************** *** 136,148 **** pinf = pinf->altsetting; while (j--) { nextra += pinf->extra.len; - NEXTRA_ALIGN_TO(16); nep += pinf->num_endpoints; k = pinf->num_endpoints; pend = pinf->endpoints; while (k--) { nextra += pend->extra.len; - NEXTRA_ALIGN_TO(16); pend++; } pinf++; --- 133,143 ---- *************** *** 155,163 **** (nalt * sizeof(libusb_interface_descriptor)) + (nep * sizeof(libusb_endpoint_descriptor)); - /* Align nextra */ - NEXTRA_ALIGN_TO(16); - pconfd = malloc(nextra); if (pconfd == NULL) { --- 150,155 ---- *************** *** 167,173 **** /* make sure memory is clean */ memset(pconfd, 0, nextra); ! pconfd->interface = (libusb_interface *) (pconfd + 1); ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); endd = (libusb_endpoint_descriptor *) (ifd + nalt); --- 159,166 ---- /* make sure memory is clean */ memset(pconfd, 0, nextra); ! pconfd->interface = (libusb_interface *) (pconfd + ! sizeof(libusb_config_descriptor)); ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); endd = (libusb_endpoint_descriptor *) (ifd + nalt); *************** *** 194,200 **** for (i = 0; i < nif; i++) { - pconfd->interface[i].altsetting = 0; pconfd->interface[i].altsetting = ifd; ifd->endpoint = endd; endd += pconf->interface[i].num_endpoints; --- 187,192 ---- *** libusb20.c 2009-11-06 10:35:00.000000000 +1100 --- libusb20.c.orig 2009-08-03 18:13:06.000000000 +1000 *************** *** 1093,1100 **** if (pbe->methods->exit_backend) { pbe->methods->exit_backend(pbe); } - /* free backend */ - free(pbe); return; } --- 1093,1098 ---- *** libusb20_desc.c 2009-11-06 10:35:00.000000000 +1100 --- libusb20_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 *************** *** 118,124 **** if (lub_config == NULL) { return (NULL); /* out of memory */ } - memset(lub_config, 0, size); lub_interface = (void *)(lub_config + 1); lub_alt_interface = (void *)(lub_interface + niface_no_alt); lub_endpoint = (void *)(lub_interface + niface); --- 118,123 ---- *** libusb20_ugen20.c 2009-11-06 10:35:00.000000000 +1100 --- libusb20_ugen20.c.orig 2009-10-23 23:02:01.000000000 +1100 *************** *** 449,455 **** uint16_t len; int error; - memset(&cdesc, 0, sizeof(cdesc)); memset(&gen_desc, 0, sizeof(gen_desc)); gen_desc.ugd_data = &cdesc; --- 449,454 ---- *************** *** 469,475 **** if (!ptr) { return (LIBUSB20_ERROR_NO_MEM); } - memset(ptr, 0, len); gen_desc.ugd_data = ptr; gen_desc.ugd_maxlen = len; --- 468,473 ---- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 04:00:14 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95E01065694 for ; Fri, 6 Nov 2009 04:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5848FC15 for ; Fri, 6 Nov 2009 04:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA640EcI058547 for ; Fri, 6 Nov 2009 04:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA640E7C058546; Fri, 6 Nov 2009 04:00:14 GMT (envelope-from gnats) Date: Fri, 6 Nov 2009 04:00:14 GMT Message-Id: <200911060400.nA640E7C058546@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Robert Jenssen Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Jenssen List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 04:00:14 -0000 The following reply was made to PR usb/140325; it has been noted by GNATS. From: Robert Jenssen To: bug-followup@FreeBSD.org, robertjenssen@hotmail.com Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 Date: Fri, 6 Nov 2009 14:42:13 +1100 Hi, Regarding my bug report usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20. I revised my simple test to: #include #include int main(void) { libusb_context *context; struct libusb_device **devs; libusb_device_handle *handle; struct libusb_config_descriptor *config; struct libusb_device_descriptor device_desc; int bytes; #define STRLEN 128 unsigned char str[STRLEN]; int transferred; libusb_init(&context); libusb_get_device_list(context, &devs); libusb_get_active_config_descriptor(devs[0], &config); libusb_free_config_descriptor(config); libusb_get_device_descriptor(devs[0], &device_desc); libusb_open(devs[0], &handle); libusb_get_string_descriptor_ascii(handle,device_desc.iProduct,str,STRLEN); libusb_claim_interface(handle, 1); libusb_bulk_transfer(handle, 1, str, STRLEN, &transferred, 0); libusb_release_interface(handle, 1); libusb_close(handle); libusb_free_device_list(devs, 1); libusb_exit(context); return 0; } and found two additional problems: 4. A jump on uninitialised occurs at libusb20.c:658 in libusb20_dev_req_string_sync(): req.wLength = *(uint8_t *)ptr; /* bytes */ if (req.wLength > len) { To fix, zero the upper byte with: memset(ptr, 0, len); 5. A memory leak occurs for devs[0] in the above test. devs[0]->refcnt is incremented to 3 during libusb_bulk_transfer() but not decremented on exit from that function. Consequently, devs[0] is not freed in libusb_free_device_list(). I couldn't see a quick fix for this and it's a minor memory leak (44 bytes) so I will leave it for an expert. Regards, Rob -- Robert Jenssen From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 04:10:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 209F9106566B for ; Fri, 6 Nov 2009 04:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9CBF8FC08 for ; Fri, 6 Nov 2009 04:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA64A4mV066869 for ; Fri, 6 Nov 2009 04:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA64A4LQ066868; Fri, 6 Nov 2009 04:10:04 GMT (envelope-from gnats) Date: Fri, 6 Nov 2009 04:10:04 GMT Message-Id: <200911060410.nA64A4LQ066868@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Robert Jenssen Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Jenssen List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 04:10:05 -0000 The following reply was made to PR usb/140325; it has been noted by GNATS. From: Robert Jenssen To: Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 Date: Fri, 6 Nov 2009 14:57:00 +1100 --_813ea73d-cf99-4614-b03d-4bb9d22d7898_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C Sorry for the noise. In my last email I missed out a memory leak: 6. In libusb10.c=2C libusb_close()=2C pdev isn't freed. Here is a diff: *** libusb10.c 2009-11-06 13:30:51.000000000 +1100 --- libusb10.c.orig 2009-08-03 18:13:06.000000000 +1000 *************** *** 416=2C422 **** libusb10_remove_pollfd(ctx=2C &dev->dev_poll)=3B =20 libusb20_dev_close(pdev)=3B - free(pdev)=3B libusb_unref_device(dev)=3B =20 /* make sure our event loop detects the closed device */ --- 416=2C421 ---- --=20 Robert Jenssen =20 _________________________________________________________________ Looking to move this spring? With all the lastest places=2C searching has n= ever been easier. Look now! http://clk.atdmt.com/NMN/go/157631292/direct/01/= --_813ea73d-cf99-4614-b03d-4bb9d22d7898_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C

Sorry for the noise. In my last email I missed out a memory le= ak:

6. In libusb10.c=2C libusb_close()=2C pdev isn't freed. Here is = a diff:
*** libusb10.c =3B =3B  =3B2009-11-06 13:30:51.00000= 0000 +1100
--- libusb10.c.orig =3B =3B  =3B2009-08-03 18:13:= 06.000000000 +1000
***************
*** 416=2C422 ****
 =3B &nb= sp=3B =3B  =3Blibusb10_remove_pollfd(ctx=2C &=3Bdev->=3Bdev_po= ll)=3B
 =3B
 =3B  =3B =3B  =3Blibusb20_dev_close= (pdev)=3B
- =3B =3B free(pdev)=3B
 =3B  =3B =3B &= nbsp=3Blibusb_unref_device(dev)=3B
 =3B
 =3B  =3B = =3B  =3B/* make sure our event loop detects the closed device */
---= 416=2C421 ----

--
Robert Jenssen <=3Brobertjenssen@hotmail.co= m>=3B



With all the lastest places=2C searc= hing has never been easier. Look now! Looking to move this spring? = --_813ea73d-cf99-4614-b03d-4bb9d22d7898_-- From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 08:30:38 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE381065676 for ; Fri, 6 Nov 2009 08:30:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 101DD8FC1C for ; Fri, 6 Nov 2009 08:30:37 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=AyTOrmMljvoA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=TYaeS1Br8n0RPUNxP_MA:9 a=Li73T4bQhIGLcz3m36EA:7 a=qLa0h62P3BIy9YZZ0N-CBEdYlu4A:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1145357278; Fri, 06 Nov 2009 09:30:35 +0100 From: Hans Petter Selasky To: "Alexey Markov" Date: Fri, 6 Nov 2009 09:29:39 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911051359.49517.hselasky@c2i.net> <8E4D6619143F4948997186D3DF828D66@complitex.local> In-Reply-To: <8E4D6619143F4948997186D3DF828D66@complitex.local> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911060929.40525.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: AnyDATA ADU-500A USB-modem and a lot of "ubsa_cfg_request" errors X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 08:30:38 -0000 On Friday 06 November 2009 08:31:05 Alexey Markov wrote: > Hello, Hans! > On November, 05 2009 at 15:59 you wrote to freebsd-usb@freebsd.org: > > ??>> except that I got a lot of such messages on console when I run ppp: > ??>> > ??>> ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED > ??>> > ??>> I really want to work it out, and I have some spare time for > ??>> experiments, but haven't any experience of debuging kernel drivers. > ??>> Can anybody give me a clue to solve this little problem? > > HPS> Did you look in the source code: > HPS> /sys/dev/usb/serial/ubsa.c > > Yes, of course! Line #317 belongs to ubsa_cfg_request(), which just calls > another function, ucom_cfg_do_request(), with some parameters. But this > function is called several times in the code, so I've changed code of > ubsa_cfg_request() function to see, which config requests are failed: > > DPRINTFN(0, "device request failed, err=%s, index=%d, value=%d "... > > I have got a lot of messages like this one: > > ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED, > index=10, value=1 (ignored) > > where index/value pairs sequence is: > > 10/1, 11/1, 12/0, 0/24, 3/0, 2/3, 1/0, 16/384, 0/2, 3/0 and so forth. > > It seems, that driver tried to set some config parameters like DTR, RTS, > BAUDRATE etc, and failed. But after all, modem is working (maybe, with > non-optimal settings or default settings). > > So, I need an advice: what can I do to find the cause of failed config > requests? Hi, Maybe you device belongs in the ugensa.c driver and not ubsa.c if it does not support all those DTR/RTS ... settings? Do you have a datasheet for the modem in question? --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 08:52:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4A0106566B; Fri, 6 Nov 2009 08:52:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 89F878FC21; Fri, 6 Nov 2009 08:52:31 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=JhkvhRibbtIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=miH4J3ebS2kzY9m3ClQA:9 a=0Qhij3TW4Wc2f62AdjwA:7 a=IAq8naS0Nz3HJEQWETfPczCoFXUA:4 a=SV7veod9ZcQA:10 a=xJ1uwIrbEd-Rv1g9:21 a=pZJ9fp19uh5bu4rS:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 577851993; Fri, 06 Nov 2009 09:52:29 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 6 Nov 2009 09:51:34 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911060026.nA60QEoB073159@www.freebsd.org> In-Reply-To: <200911060026.nA60QEoB073159@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911060951.34794.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Robert Jenssen Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 08:52:32 -0000 On Friday 06 November 2009 01:26:14 Robert Jenssen wrote: > >Number: 140325 > >Category: usb > >Synopsis: Missing/incorrect initialisation and memory leak in > > libusb10/libusb20 Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Nov 06 00:30:07 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Robert Jenssen > >Release: 8.0RC2 > >Organization: > >Environment: > > FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Nov 6 02:43:24 EST 2009 > root@kraken:/usr/obj/usr/src/sys/KRAKEN i386 > > >Description: > > I was getting some weird values for usb configuration descriptor extra > length. Valgrind is a wonderful tool recently ported to FreeBSD by > stas@FreeBSD.org. Using valgrind I found the following problems (fixed in > the attached patch): > > 1. In libusb10_desc.c, libusb_get_config_descriptor(), at line 162: > pconfd->interface = (libusb_interface *) (pconfd + > sizeof(libusb_config_descriptor)); > should be: > pconfd->interface = (libusb_interface *) (pconfd + 1); > This problem causes illegal writes past the end of pconfd. > > 2. In libusb20_ugen20.c , ugen20_get_config_desc_full(), cdesc and ptr are > not initialised. This problem causes branches on uninitialised values. > > 3. In libusb20.c, libusb20_be_free(), pbe is not free'd. This problem > causes a minor memory leak. > > >How-To-Repeat: > > Compile the following test, link with a debug version of libusb.a and run > valgrind. > > #include > int main(void) { > libusb_context *context; > struct libusb_device **devs; > struct libusb_config_descriptor *config; > > libusb_init(&context); > libusb_get_device_list(context, &devs); > libusb_get_active_config_descriptor(devs[0], &config); > libusb_free_config_descriptor(config); > libusb_free_device_list(devs, 1); > libusb_exit(context); > return 0; > } > > >Fix: > > Apply the attached patch in /usr/src/lib/libusb > > > Patch attached with submission follows: > > *** libusb10_desc.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb10_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 116,133 **** > nep = 0; > nextra = pconf->extra.len; > > - #define NEXTRA_ALIGN_TO(n) (nextra=((nextra+n)/n)*n) > for (i = 0; i < nif; i++) { > > pinf = pconf->interface + i; > nextra += pinf->extra.len; > - NEXTRA_ALIGN_TO(16); > nep += pinf->num_endpoints; > k = pinf->num_endpoints; > pend = pinf->endpoints; > while (k--) { > nextra += pend->extra.len; > - NEXTRA_ALIGN_TO(16); > pend++; > } > > --- 116,130 ---- > *************** > *** 136,148 **** > pinf = pinf->altsetting; > while (j--) { > nextra += pinf->extra.len; > - NEXTRA_ALIGN_TO(16); > nep += pinf->num_endpoints; > k = pinf->num_endpoints; > pend = pinf->endpoints; > while (k--) { > nextra += pend->extra.len; > - NEXTRA_ALIGN_TO(16); > pend++; > } > pinf++; > --- 133,143 ---- > *************** > *** 155,163 **** > (nalt * sizeof(libusb_interface_descriptor)) + > (nep * sizeof(libusb_endpoint_descriptor)); > > - /* Align nextra */ > - NEXTRA_ALIGN_TO(16); > - > pconfd = malloc(nextra); > > if (pconfd == NULL) { > --- 150,155 ---- > *************** > *** 167,173 **** > /* make sure memory is clean */ > memset(pconfd, 0, nextra); > > ! pconfd->interface = (libusb_interface *) (pconfd + 1); > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > --- 159,166 ---- > /* make sure memory is clean */ > memset(pconfd, 0, nextra); > > ! pconfd->interface = (libusb_interface *) (pconfd + > ! sizeof(libusb_config_descriptor)); > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > *************** > *** 194,200 **** > > for (i = 0; i < nif; i++) { > > - pconfd->interface[i].altsetting = 0; > pconfd->interface[i].altsetting = ifd; > ifd->endpoint = endd; > endd += pconf->interface[i].num_endpoints; > --- 187,192 ---- > *** libusb20.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 1093,1100 **** > if (pbe->methods->exit_backend) { > pbe->methods->exit_backend(pbe); > } > - /* free backend */ > - free(pbe); > return; > } > > --- 1093,1098 ---- > *** libusb20_desc.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 118,124 **** > if (lub_config == NULL) { > return (NULL); /* out of memory */ > } > - memset(lub_config, 0, size); > lub_interface = (void *)(lub_config + 1); > lub_alt_interface = (void *)(lub_interface + niface_no_alt); > lub_endpoint = (void *)(lub_interface + niface); > --- 118,123 ---- > *** libusb20_ugen20.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20_ugen20.c.orig 2009-10-23 23:02:01.000000000 +1100 > *************** > *** 449,455 **** > uint16_t len; > int error; > > - memset(&cdesc, 0, sizeof(cdesc)); > memset(&gen_desc, 0, sizeof(gen_desc)); > > gen_desc.ugd_data = &cdesc; > --- 449,454 ---- > *************** > *** 469,475 **** > if (!ptr) { > return (LIBUSB20_ERROR_NO_MEM); > } > - memset(ptr, 0, len); > gen_desc.ugd_data = ptr; > gen_desc.ugd_maxlen = len; > > --- 468,473 ---- > > >Release-Note: > >Audit-Trail: > >Unformatted: > I'm working on these issues. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 09:00:10 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E04D10656A6 for ; Fri, 6 Nov 2009 09:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 46E078FC2A for ; Fri, 6 Nov 2009 09:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA690867052243 for ; Fri, 6 Nov 2009 09:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA6908Z0052242; Fri, 6 Nov 2009 09:00:08 GMT (envelope-from gnats) Date: Fri, 6 Nov 2009 09:00:08 GMT Message-Id: <200911060900.nA6908Z0052242@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 09:00:10 -0000 The following reply was made to PR usb/140325; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Robert Jenssen , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 Date: Fri, 6 Nov 2009 09:51:34 +0100 On Friday 06 November 2009 01:26:14 Robert Jenssen wrote: > >Number: 140325 > >Category: usb > >Synopsis: Missing/incorrect initialisation and memory leak in > > libusb10/libusb20 Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Nov 06 00:30:07 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Robert Jenssen > >Release: 8.0RC2 > >Organization: > >Environment: > > FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Nov 6 02:43:24 EST 2009 > root@kraken:/usr/obj/usr/src/sys/KRAKEN i386 > > >Description: > > I was getting some weird values for usb configuration descriptor extra > length. Valgrind is a wonderful tool recently ported to FreeBSD by > stas@FreeBSD.org. Using valgrind I found the following problems (fixed in > the attached patch): > > 1. In libusb10_desc.c, libusb_get_config_descriptor(), at line 162: > pconfd->interface = (libusb_interface *) (pconfd + > sizeof(libusb_config_descriptor)); > should be: > pconfd->interface = (libusb_interface *) (pconfd + 1); > This problem causes illegal writes past the end of pconfd. > > 2. In libusb20_ugen20.c , ugen20_get_config_desc_full(), cdesc and ptr are > not initialised. This problem causes branches on uninitialised values. > > 3. In libusb20.c, libusb20_be_free(), pbe is not free'd. This problem > causes a minor memory leak. > > >How-To-Repeat: > > Compile the following test, link with a debug version of libusb.a and run > valgrind. > > #include > int main(void) { > libusb_context *context; > struct libusb_device **devs; > struct libusb_config_descriptor *config; > > libusb_init(&context); > libusb_get_device_list(context, &devs); > libusb_get_active_config_descriptor(devs[0], &config); > libusb_free_config_descriptor(config); > libusb_free_device_list(devs, 1); > libusb_exit(context); > return 0; > } > > >Fix: > > Apply the attached patch in /usr/src/lib/libusb > > > Patch attached with submission follows: > > *** libusb10_desc.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb10_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 116,133 **** > nep = 0; > nextra = pconf->extra.len; > > - #define NEXTRA_ALIGN_TO(n) (nextra=((nextra+n)/n)*n) > for (i = 0; i < nif; i++) { > > pinf = pconf->interface + i; > nextra += pinf->extra.len; > - NEXTRA_ALIGN_TO(16); > nep += pinf->num_endpoints; > k = pinf->num_endpoints; > pend = pinf->endpoints; > while (k--) { > nextra += pend->extra.len; > - NEXTRA_ALIGN_TO(16); > pend++; > } > > --- 116,130 ---- > *************** > *** 136,148 **** > pinf = pinf->altsetting; > while (j--) { > nextra += pinf->extra.len; > - NEXTRA_ALIGN_TO(16); > nep += pinf->num_endpoints; > k = pinf->num_endpoints; > pend = pinf->endpoints; > while (k--) { > nextra += pend->extra.len; > - NEXTRA_ALIGN_TO(16); > pend++; > } > pinf++; > --- 133,143 ---- > *************** > *** 155,163 **** > (nalt * sizeof(libusb_interface_descriptor)) + > (nep * sizeof(libusb_endpoint_descriptor)); > > - /* Align nextra */ > - NEXTRA_ALIGN_TO(16); > - > pconfd = malloc(nextra); > > if (pconfd == NULL) { > --- 150,155 ---- > *************** > *** 167,173 **** > /* make sure memory is clean */ > memset(pconfd, 0, nextra); > > ! pconfd->interface = (libusb_interface *) (pconfd + 1); > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > --- 159,166 ---- > /* make sure memory is clean */ > memset(pconfd, 0, nextra); > > ! pconfd->interface = (libusb_interface *) (pconfd + > ! sizeof(libusb_config_descriptor)); > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > *************** > *** 194,200 **** > > for (i = 0; i < nif; i++) { > > - pconfd->interface[i].altsetting = 0; > pconfd->interface[i].altsetting = ifd; > ifd->endpoint = endd; > endd += pconf->interface[i].num_endpoints; > --- 187,192 ---- > *** libusb20.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 1093,1100 **** > if (pbe->methods->exit_backend) { > pbe->methods->exit_backend(pbe); > } > - /* free backend */ > - free(pbe); > return; > } > > --- 1093,1098 ---- > *** libusb20_desc.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > *************** > *** 118,124 **** > if (lub_config == NULL) { > return (NULL); /* out of memory */ > } > - memset(lub_config, 0, size); > lub_interface = (void *)(lub_config + 1); > lub_alt_interface = (void *)(lub_interface + niface_no_alt); > lub_endpoint = (void *)(lub_interface + niface); > --- 118,123 ---- > *** libusb20_ugen20.c 2009-11-06 10:35:00.000000000 +1100 > --- libusb20_ugen20.c.orig 2009-10-23 23:02:01.000000000 +1100 > *************** > *** 449,455 **** > uint16_t len; > int error; > > - memset(&cdesc, 0, sizeof(cdesc)); > memset(&gen_desc, 0, sizeof(gen_desc)); > > gen_desc.ugd_data = &cdesc; > --- 449,454 ---- > *************** > *** 469,475 **** > if (!ptr) { > return (LIBUSB20_ERROR_NO_MEM); > } > - memset(ptr, 0, len); > gen_desc.ugd_data = ptr; > gen_desc.ugd_maxlen = len; > > --- 468,473 ---- > > >Release-Note: > >Audit-Trail: > >Unformatted: > I'm working on these issues. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 07:31:12 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E07106568D for ; Fri, 6 Nov 2009 07:31:12 +0000 (UTC) (envelope-from a.markov@complitex.ru) Received: from complitex.ru (mx.complitex.ru [213.79.84.132]) by mx1.freebsd.org (Postfix) with ESMTP id 9F93B8FC1F for ; Fri, 6 Nov 2009 07:31:10 +0000 (UTC) Received: from [192.168.1.11] (account a.markov HELO redrat) by complitex.ru (CommuniGate Pro SMTP 5.2.15) with ESMTPA id 1359441; Fri, 06 Nov 2009 10:31:09 +0300 Message-ID: <8E4D6619143F4948997186D3DF828D66@complitex.local> From: "Alexey Markov" To: "Hans Petter Selasky" , References: <200911051359.49517.hselasky@c2i.net> Date: Fri, 6 Nov 2009 10:31:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 FL-Build: Fidolook 2007 (HV) 6.0.6000.97 - 24/12/2008 20:32:05 X-Mailman-Approved-At: Fri, 06 Nov 2009 12:22:58 +0000 Cc: Subject: Re: AnyDATA ADU-500A USB-modem and a lot of "ubsa_cfg_request" errors X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 07:31:12 -0000 Hello, Hans! On November, 05 2009 at 15:59 you wrote to freebsd-usb@freebsd.org: ??>> except that I got a lot of such messages on console when I run ppp: ??>> ??>> ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED ??>> ??>> I really want to work it out, and I have some spare time for ??>> experiments, but haven't any experience of debuging kernel drivers. ??>> Can anybody give me a clue to solve this little problem? HPS> Did you look in the source code: HPS> /sys/dev/usb/serial/ubsa.c Yes, of course! Line #317 belongs to ubsa_cfg_request(), which just calls another function, ucom_cfg_do_request(), with some parameters. But this function is called several times in the code, so I've changed code of ubsa_cfg_request() function to see, which config requests are failed: DPRINTFN(0, "device request failed, err=%s, index=%d, value=%d "... I have got a lot of messages like this one: ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED, index=10, value=1 (ignored) where index/value pairs sequence is: 10/1, 11/1, 12/0, 0/24, 3/0, 2/3, 1/0, 16/384, 0/2, 3/0 and so forth. It seems, that driver tried to set some config parameters like DTR, RTS, BAUDRATE etc, and failed. But after all, modem is working (maybe, with non-optimal settings or default settings). So, I need an advice: what can I do to find the cause of failed config requests? -- WBR, Alexey Markov. From owner-freebsd-usb@FreeBSD.ORG Fri Nov 6 09:27:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4A81065670 for ; Fri, 6 Nov 2009 09:27:49 +0000 (UTC) (envelope-from a.markov@complitex.ru) Received: from complitex.ru (mx.complitex.ru [213.79.84.132]) by mx1.freebsd.org (Postfix) with ESMTP id B0CCF8FC19 for ; Fri, 6 Nov 2009 09:27:47 +0000 (UTC) Received: from [192.168.1.11] (account a.markov HELO redrat) by complitex.ru (CommuniGate Pro SMTP 5.2.15) with ESMTPA id 1359811; Fri, 06 Nov 2009 12:27:46 +0300 Message-ID: <3334975634114673BD39836F55BDAFD6@complitex.local> From: "Alexey Markov" To: "Hans Petter Selasky" References: <200911051359.49517.hselasky@c2i.net> <8E4D6619143F4948997186D3DF828D66@complitex.local> <200911060929.40525.hselasky@c2i.net> Date: Fri, 6 Nov 2009 12:27:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 FL-Build: Fidolook 2007 (HV) 6.0.6000.97 - 24/12/2008 20:32:05 X-Mailman-Approved-At: Fri, 06 Nov 2009 12:23:10 +0000 Cc: freebsd-usb@freebsd.org Subject: Re: AnyDATA ADU-500A USB-modem and a lot of "ubsa_cfg_request" errors X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 09:27:49 -0000 Hello, Hans! On November, 06 2009 at 11:29 you wrote to Alexey Markov: HPS> Maybe you device belongs in the ugensa.c driver and not ubsa.c No, AnyDATA ADU-500A definitely belongs to the ubsa driver, it even stated in the man page of ubsa. Just in case i had tried the ugensa driver, but it doesn't work at all. HPS> if it does not support all those DTR/RTS ... settings? I think, it may be connected with this PR: usb/134950 HPS> Do you have a datasheet for the modem in question? Alas! There is no any datasheets neither in Google nor on manufacturer site. :-( -- WBR, Alexey Markov. From owner-freebsd-usb@FreeBSD.ORG Sat Nov 7 01:04:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAAC4106566B; Sat, 7 Nov 2009 01:04:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id DAB5F8FC12; Sat, 7 Nov 2009 01:04:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=JhkvhRibbtIA:10 a=RERtC8nhXGhYvIZhK0yWrQ==:17 a=6I5d2MoRAAAA:8 a=uKoqv_oPnLvkEHPJRaQA:9 a=ccsqx_3khbR0apkUrCIA:7 a=3JY17-B5VkS6UhrXE7GFpebtYCIA:4 a=SV7veod9ZcQA:10 a=Lsvu8ZUqSK3jz0Eo:21 a=5SAJ2YTNqifRsb1o:21 Received: from [90.149.203.35] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1160189320; Sat, 07 Nov 2009 02:04:22 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 7 Nov 2009 02:05:43 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200911060026.nA60QEoB073159@www.freebsd.org> <200911060951.34794.hselasky@c2i.net> In-Reply-To: <200911060951.34794.hselasky@c2i.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911070205.44380.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Robert Jenssen Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 01:04:24 -0000 On Friday 06 November 2009 09:51:34 Hans Petter Selasky wrote: > On Friday 06 November 2009 01:26:14 Robert Jenssen wrote: > > >Number: 140325 > > >Category: usb > > >Synopsis: Missing/incorrect initialisation and memory leak in > > > libusb10/libusb20 Confidential: no > > >Severity: serious > > >Priority: medium > > >Responsible: freebsd-usb > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Fri Nov 06 00:30:07 UTC 2009 > > >Closed-Date: > > >Last-Modified: > > >Originator: Robert Jenssen > > >Release: 8.0RC2 > > >Organization: > > >Environment: > > > > FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Nov 6 02:43:24 EST 2009 > > root@kraken:/usr/obj/usr/src/sys/KRAKEN i386 > > > > >Description: > > > > I was getting some weird values for usb configuration descriptor extra > > length. Valgrind is a wonderful tool recently ported to FreeBSD by > > stas@FreeBSD.org. Using valgrind I found the following problems (fixed in > > the attached patch): > > > > 1. In libusb10_desc.c, libusb_get_config_descriptor(), at line 162: > > pconfd->interface = (libusb_interface *) (pconfd + > > sizeof(libusb_config_descriptor)); > > should be: > > pconfd->interface = (libusb_interface *) (pconfd + 1); > > This problem causes illegal writes past the end of pconfd. > > > > 2. In libusb20_ugen20.c , ugen20_get_config_desc_full(), cdesc and ptr > > are not initialised. This problem causes branches on uninitialised > > values. > > > > 3. In libusb20.c, libusb20_be_free(), pbe is not free'd. This problem > > causes a minor memory leak. > > > > >How-To-Repeat: > > > > Compile the following test, link with a debug version of libusb.a and run > > valgrind. > > > > #include > > int main(void) { > > libusb_context *context; > > struct libusb_device **devs; > > struct libusb_config_descriptor *config; > > > > libusb_init(&context); > > libusb_get_device_list(context, &devs); > > libusb_get_active_config_descriptor(devs[0], &config); > > libusb_free_config_descriptor(config); > > libusb_free_device_list(devs, 1); > > libusb_exit(context); > > return 0; > > } > > > > >Fix: > > > > Apply the attached patch in /usr/src/lib/libusb > > > > > > Patch attached with submission follows: > > > > *** libusb10_desc.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb10_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 116,133 **** > > nep = 0; > > nextra = pconf->extra.len; > > > > - #define NEXTRA_ALIGN_TO(n) (nextra=((nextra+n)/n)*n) > > for (i = 0; i < nif; i++) { > > > > pinf = pconf->interface + i; > > nextra += pinf->extra.len; > > - NEXTRA_ALIGN_TO(16); > > nep += pinf->num_endpoints; > > k = pinf->num_endpoints; > > pend = pinf->endpoints; > > while (k--) { > > nextra += pend->extra.len; > > - NEXTRA_ALIGN_TO(16); > > pend++; > > } > > > > --- 116,130 ---- > > *************** > > *** 136,148 **** > > pinf = pinf->altsetting; > > while (j--) { > > nextra += pinf->extra.len; > > - NEXTRA_ALIGN_TO(16); > > nep += pinf->num_endpoints; > > k = pinf->num_endpoints; > > pend = pinf->endpoints; > > while (k--) { > > nextra += pend->extra.len; > > - NEXTRA_ALIGN_TO(16); > > pend++; > > } > > pinf++; > > --- 133,143 ---- > > *************** > > *** 155,163 **** > > (nalt * sizeof(libusb_interface_descriptor)) + > > (nep * sizeof(libusb_endpoint_descriptor)); > > > > - /* Align nextra */ > > - NEXTRA_ALIGN_TO(16); > > - > > pconfd = malloc(nextra); > > > > if (pconfd == NULL) { > > --- 150,155 ---- > > *************** > > *** 167,173 **** > > /* make sure memory is clean */ > > memset(pconfd, 0, nextra); > > > > ! pconfd->interface = (libusb_interface *) (pconfd + 1); > > > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > > --- 159,166 ---- > > /* make sure memory is clean */ > > memset(pconfd, 0, nextra); > > > > ! pconfd->interface = (libusb_interface *) (pconfd + > > ! sizeof(libusb_config_descriptor)); > > > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > > *************** > > *** 194,200 **** > > > > for (i = 0; i < nif; i++) { > > > > - pconfd->interface[i].altsetting = 0; > > pconfd->interface[i].altsetting = ifd; > > ifd->endpoint = endd; > > endd += pconf->interface[i].num_endpoints; > > --- 187,192 ---- > > *** libusb20.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 1093,1100 **** > > if (pbe->methods->exit_backend) { > > pbe->methods->exit_backend(pbe); > > } > > - /* free backend */ > > - free(pbe); > > return; > > } > > > > --- 1093,1098 ---- > > *** libusb20_desc.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 118,124 **** > > if (lub_config == NULL) { > > return (NULL); /* out of memory */ > > } > > - memset(lub_config, 0, size); > > lub_interface = (void *)(lub_config + 1); > > lub_alt_interface = (void *)(lub_interface + niface_no_alt); > > lub_endpoint = (void *)(lub_interface + niface); > > --- 118,123 ---- > > *** libusb20_ugen20.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20_ugen20.c.orig 2009-10-23 23:02:01.000000000 +1100 > > *************** > > *** 449,455 **** > > uint16_t len; > > int error; > > > > - memset(&cdesc, 0, sizeof(cdesc)); > > memset(&gen_desc, 0, sizeof(gen_desc)); > > > > gen_desc.ugd_data = &cdesc; > > --- 449,454 ---- > > *************** > > *** 469,475 **** > > if (!ptr) { > > return (LIBUSB20_ERROR_NO_MEM); > > } > > - memset(ptr, 0, len); > > gen_desc.ugd_data = ptr; > > gen_desc.ugd_maxlen = len; > > > > --- 468,473 ---- > > > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > I'm working on these issues. > > --HPS First set of patches has been commited to USB P4 with some modifications. Please verify: http://p4web.freebsd.org/chv.cgi?CH=170304 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 7 01:10:04 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5E31065670 for ; Sat, 7 Nov 2009 01:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F1A748FC1C for ; Sat, 7 Nov 2009 01:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA71A3s7064306 for ; Sat, 7 Nov 2009 01:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA71A3cG064305; Sat, 7 Nov 2009 01:10:03 GMT (envelope-from gnats) Date: Sat, 7 Nov 2009 01:10:03 GMT Message-Id: <200911070110.nA71A3cG064305@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 01:10:04 -0000 The following reply was made to PR usb/140325; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Robert Jenssen , freebsd-gnats-submit@freebsd.org Subject: Re: usb/140325: Missing/incorrect initialisation and memory leak in libusb10/libusb20 Date: Sat, 7 Nov 2009 02:05:43 +0100 On Friday 06 November 2009 09:51:34 Hans Petter Selasky wrote: > On Friday 06 November 2009 01:26:14 Robert Jenssen wrote: > > >Number: 140325 > > >Category: usb > > >Synopsis: Missing/incorrect initialisation and memory leak in > > > libusb10/libusb20 Confidential: no > > >Severity: serious > > >Priority: medium > > >Responsible: freebsd-usb > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Fri Nov 06 00:30:07 UTC 2009 > > >Closed-Date: > > >Last-Modified: > > >Originator: Robert Jenssen > > >Release: 8.0RC2 > > >Organization: > > >Environment: > > > > FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Nov 6 02:43:24 EST 2009 > > root@kraken:/usr/obj/usr/src/sys/KRAKEN i386 > > > > >Description: > > > > I was getting some weird values for usb configuration descriptor extra > > length. Valgrind is a wonderful tool recently ported to FreeBSD by > > stas@FreeBSD.org. Using valgrind I found the following problems (fixed in > > the attached patch): > > > > 1. In libusb10_desc.c, libusb_get_config_descriptor(), at line 162: > > pconfd->interface = (libusb_interface *) (pconfd + > > sizeof(libusb_config_descriptor)); > > should be: > > pconfd->interface = (libusb_interface *) (pconfd + 1); > > This problem causes illegal writes past the end of pconfd. > > > > 2. In libusb20_ugen20.c , ugen20_get_config_desc_full(), cdesc and ptr > > are not initialised. This problem causes branches on uninitialised > > values. > > > > 3. In libusb20.c, libusb20_be_free(), pbe is not free'd. This problem > > causes a minor memory leak. > > > > >How-To-Repeat: > > > > Compile the following test, link with a debug version of libusb.a and run > > valgrind. > > > > #include > > int main(void) { > > libusb_context *context; > > struct libusb_device **devs; > > struct libusb_config_descriptor *config; > > > > libusb_init(&context); > > libusb_get_device_list(context, &devs); > > libusb_get_active_config_descriptor(devs[0], &config); > > libusb_free_config_descriptor(config); > > libusb_free_device_list(devs, 1); > > libusb_exit(context); > > return 0; > > } > > > > >Fix: > > > > Apply the attached patch in /usr/src/lib/libusb > > > > > > Patch attached with submission follows: > > > > *** libusb10_desc.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb10_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 116,133 **** > > nep = 0; > > nextra = pconf->extra.len; > > > > - #define NEXTRA_ALIGN_TO(n) (nextra=((nextra+n)/n)*n) > > for (i = 0; i < nif; i++) { > > > > pinf = pconf->interface + i; > > nextra += pinf->extra.len; > > - NEXTRA_ALIGN_TO(16); > > nep += pinf->num_endpoints; > > k = pinf->num_endpoints; > > pend = pinf->endpoints; > > while (k--) { > > nextra += pend->extra.len; > > - NEXTRA_ALIGN_TO(16); > > pend++; > > } > > > > --- 116,130 ---- > > *************** > > *** 136,148 **** > > pinf = pinf->altsetting; > > while (j--) { > > nextra += pinf->extra.len; > > - NEXTRA_ALIGN_TO(16); > > nep += pinf->num_endpoints; > > k = pinf->num_endpoints; > > pend = pinf->endpoints; > > while (k--) { > > nextra += pend->extra.len; > > - NEXTRA_ALIGN_TO(16); > > pend++; > > } > > pinf++; > > --- 133,143 ---- > > *************** > > *** 155,163 **** > > (nalt * sizeof(libusb_interface_descriptor)) + > > (nep * sizeof(libusb_endpoint_descriptor)); > > > > - /* Align nextra */ > > - NEXTRA_ALIGN_TO(16); > > - > > pconfd = malloc(nextra); > > > > if (pconfd == NULL) { > > --- 150,155 ---- > > *************** > > *** 167,173 **** > > /* make sure memory is clean */ > > memset(pconfd, 0, nextra); > > > > ! pconfd->interface = (libusb_interface *) (pconfd + 1); > > > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > > --- 159,166 ---- > > /* make sure memory is clean */ > > memset(pconfd, 0, nextra); > > > > ! pconfd->interface = (libusb_interface *) (pconfd + > > ! sizeof(libusb_config_descriptor)); > > > > ifd = (libusb_interface_descriptor *) (pconfd->interface + nif); > > endd = (libusb_endpoint_descriptor *) (ifd + nalt); > > *************** > > *** 194,200 **** > > > > for (i = 0; i < nif; i++) { > > > > - pconfd->interface[i].altsetting = 0; > > pconfd->interface[i].altsetting = ifd; > > ifd->endpoint = endd; > > endd += pconf->interface[i].num_endpoints; > > --- 187,192 ---- > > *** libusb20.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 1093,1100 **** > > if (pbe->methods->exit_backend) { > > pbe->methods->exit_backend(pbe); > > } > > - /* free backend */ > > - free(pbe); > > return; > > } > > > > --- 1093,1098 ---- > > *** libusb20_desc.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20_desc.c.orig 2009-08-03 18:13:06.000000000 +1000 > > *************** > > *** 118,124 **** > > if (lub_config == NULL) { > > return (NULL); /* out of memory */ > > } > > - memset(lub_config, 0, size); > > lub_interface = (void *)(lub_config + 1); > > lub_alt_interface = (void *)(lub_interface + niface_no_alt); > > lub_endpoint = (void *)(lub_interface + niface); > > --- 118,123 ---- > > *** libusb20_ugen20.c 2009-11-06 10:35:00.000000000 +1100 > > --- libusb20_ugen20.c.orig 2009-10-23 23:02:01.000000000 +1100 > > *************** > > *** 449,455 **** > > uint16_t len; > > int error; > > > > - memset(&cdesc, 0, sizeof(cdesc)); > > memset(&gen_desc, 0, sizeof(gen_desc)); > > > > gen_desc.ugd_data = &cdesc; > > --- 449,454 ---- > > *************** > > *** 469,475 **** > > if (!ptr) { > > return (LIBUSB20_ERROR_NO_MEM); > > } > > - memset(ptr, 0, len); > > gen_desc.ugd_data = ptr; > > gen_desc.ugd_maxlen = len; > > > > --- 468,473 ---- > > > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > I'm working on these issues. > > --HPS First set of patches has been commited to USB P4 with some modifications. Please verify: http://p4web.freebsd.org/chv.cgi?CH=170304 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 7 11:07:07 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 956181065679; Sat, 7 Nov 2009 11:07:07 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6CDF38FC14; Sat, 7 Nov 2009 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA7B77w7017020; Sat, 7 Nov 2009 11:07:07 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA7B77m1017016; Sat, 7 Nov 2009 11:07:07 GMT (envelope-from brucec) Date: Sat, 7 Nov 2009 11:07:07 GMT Message-Id: <200911071107.nA7B77m1017016@freefall.freebsd.org> To: bruce@cran.org.uk, brucec@FreeBSD.org, freebsd-usb@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: usb/138563: [usb8] [patch] Increase buffer sizes to accomodate longer USB strings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 11:07:07 -0000 Synopsis: [usb8] [patch] Increase buffer sizes to accomodate longer USB strings State-Changed-From-To: open->closed State-Changed-By: brucec State-Changed-When: Sat Nov 7 11:05:11 UTC 2009 State-Changed-Why: Fixed in CURRENT and 8.x http://www.freebsd.org/cgi/query-pr.cgi?pr=138563 From owner-freebsd-usb@FreeBSD.ORG Sat Nov 7 20:10:03 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 640431065670 for ; Sat, 7 Nov 2009 20:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 38F7A8FC13 for ; Sat, 7 Nov 2009 20:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA7KA2sl090401 for ; Sat, 7 Nov 2009 20:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA7KA2JZ090400; Sat, 7 Nov 2009 20:10:02 GMT (envelope-from gnats) Date: Sat, 7 Nov 2009 20:10:02 GMT Message-Id: <200911072010.nA7KA2JZ090400@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Best Cc: Subject: Re: usb/125264: [patch] sysctl for set usb mouse rate (very useful for gamers - FPS games) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 20:10:03 -0000 The following reply was made to PR usb/125264; it has been noted by GNATS. From: Alexander Best To: Cc: Subject: Re: usb/125264: [patch] sysctl for set usb mouse rate (very useful for gamers - FPS games) Date: Sat, 07 Nov 2009 21:08:18 +0100 (CET) since 8 has now become a stable branch the pr can be closed. this feature is dependant upon the usb2 stack an will not be backported to branches 7 and 6 which use the old usb1 stack. alex