From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 08:31:59 2011 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 44BBD106564A for ; Sun, 23 Oct 2011 08:31:59 +0000 (UTC) (envelope-from franz@electromail.org) Received: from mx-a.spam-sponge.de (mx-a.spam-sponge.de [81.169.171.162]) by mx1.freebsd.org (Postfix) with ESMTP id CCAD28FC12 for ; Sun, 23 Oct 2011 08:31:58 +0000 (UTC) Received: from [192.168.100.4] (e178015035.adsl.alicedsl.de [85.178.15.35]) (authenticated bits=0) by mx-a.spam-sponge.de (8.14.4/8.14.4) with ESMTP id p9N8VoSw091787 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 23 Oct 2011 10:31:56 +0200 (CEST) (envelope-from franz@electromail.org) Message-ID: <4EA3D0F6.8060509@electromail.org> Date: Sun, 23 Oct 2011 10:31:50 +0200 From: Franz Schwartau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <4EA1D70D.3010909@electromail.org> In-Reply-To: <4EA1D70D.3010909@electromail.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 08:31:59 -0000 Hi again, meanwhile I did some debugging. QuickPort dump_device_desc: http://pastebin.com/h62jLHui QuickPort dump_curr_config_desc: http://pastebin.com/6rheBiMi Debug messages (hw.usb.debug=4): http://paste2.org/p/1733421 I found an external HDD enclosure (Sharkoon Rapid-Case 3.5" SATA USB3.0) which uses the same SATA bridge chip (ASM1051, Vendor 0x174C, Product 0x55AA). Attached to an USB port it uses high speed instead of full speed of the QuickPort. Rapid-Case dump_device_desc: http://pastebin.com/B7suMZG7 Rapid-Case dump_curr_config_desc: http://pastebin.com/D6xPyYUp The only difference I could find is wMaxPacketSize in Endpoint 0 and Endpoint 1 is set to 0x40 for the QuickPort. The Rapid-Case external enclosure has set wMaxPacketSize to 0x200. Having a look at lsusb's output under Linux wMaxPacketSize is set to 0x200 even for the QuickPort: http://pastebin.com/fMcxhKax If more debug information is needed don't hesitate to ask. :-) Best regards Franz From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 19:34:44 2011 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 52E28106564A for ; Sun, 23 Oct 2011 19:34:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id CC4058FC14 for ; Sun, 23 Oct 2011 19:34:43 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.5 required=5.0 tests=ALL_TRUSTED, BAYES_05 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 192805343; Sun, 23 Oct 2011 21:34:40 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 23 Oct 2011 21:31:31 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> <4EA3D0F6.8060509@electromail.org> In-Reply-To: <4EA3D0F6.8060509@electromail.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110232131.31667.hselasky@c2i.net> Cc: Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 19:34:44 -0000 On Sunday 23 October 2011 10:31:50 Franz Schwartau wrote: > Hi again, > > meanwhile I did some debugging. Hi, What does "usbconfig" output? Did you load the xhci module? What does your dmesg look like? --HPS > > QuickPort dump_device_desc: > http://pastebin.com/h62jLHui > > QuickPort dump_curr_config_desc: > http://pastebin.com/6rheBiMi > > Debug messages (hw.usb.debug=4): > http://paste2.org/p/1733421 > > I found an external HDD enclosure (Sharkoon Rapid-Case 3.5" SATA USB3.0) > which uses the same SATA bridge chip (ASM1051, Vendor 0x174C, Product > 0x55AA). Attached to an USB port it uses high speed instead of full > speed of the QuickPort. > > Rapid-Case dump_device_desc: > http://pastebin.com/B7suMZG7 > > Rapid-Case dump_curr_config_desc: > http://pastebin.com/D6xPyYUp > > The only difference I could find is wMaxPacketSize in Endpoint 0 and > Endpoint 1 is set to 0x40 for the QuickPort. The Rapid-Case external > enclosure has set wMaxPacketSize to 0x200. > > Having a look at lsusb's output under Linux wMaxPacketSize is set to > 0x200 even for the QuickPort: > > http://pastebin.com/fMcxhKax > > If more debug information is needed don't hesitate to ask. :-) > > Best regards > Franz > > _______________________________________________ > 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 Sun Oct 23 19:36:41 2011 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 5A7941065670 for ; Sun, 23 Oct 2011 19:36:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id D96678FC0C for ; Sun, 23 Oct 2011 19:36:40 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 195474560; Sun, 23 Oct 2011 21:36:38 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 23 Oct 2011 21:33:29 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> In-Reply-To: <4EA1D70D.3010909@electromail.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110232133.29972.hselasky@c2i.net> Cc: Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 19:36:41 -0000 On Friday 21 October 2011 22:33:17 Franz Schwartau wrote: > Hi! > > I bought a Sharkoon QuickPort XT USB3.0 SATA docking station. > Unfortunately it is attached to an OHCI. Thus it runs at full speed (12 > Mbps) only. pciconf -lv | grep -iE "ohci|uhci|ehci|xhci|USB" Hi, The OHCI controller is FULL speed only capable. You need EHCI or XHCI at least to be able to get higher speeds. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 19:41:33 2011 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 340B9106566C for ; Sun, 23 Oct 2011 19:41:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id B50C98FC0A for ; Sun, 23 Oct 2011 19:41:32 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 195475473 for freebsd-usb@freebsd.org; Sun, 23 Oct 2011 21:41:30 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 23 Oct 2011 21:38:21 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> <201110232133.29972.hselasky@c2i.net> In-Reply-To: <201110232133.29972.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110232138.21184.hselasky@c2i.net> Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 19:41:33 -0000 On Sunday 23 October 2011 21:33:29 Hans Petter Selasky wrote: > On Friday 21 October 2011 22:33:17 Franz Schwartau wrote: > > Hi! > > > > I bought a Sharkoon QuickPort XT USB3.0 SATA docking station. > > Unfortunately it is attached to an OHCI. Thus it runs at full speed (12 > > Mbps) only. > > pciconf -lv | grep -iE "ohci|uhci|ehci|xhci|USB" > > Hi, > > The OHCI controller is FULL speed only capable. And LOW speed. > > You need EHCI or XHCI at least to be able to get higher speeds. > --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 20:03:23 2011 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 139D5106564A for ; Sun, 23 Oct 2011 20:03:22 +0000 (UTC) (envelope-from franz@electromail.org) Received: from mx-a.spam-sponge.de (mx-a.spam-sponge.de [81.169.171.162]) by mx1.freebsd.org (Postfix) with ESMTP id 623738FC12 for ; Sun, 23 Oct 2011 20:03:21 +0000 (UTC) Received: from [192.168.100.4] (e178015035.adsl.alicedsl.de [85.178.15.35]) (authenticated bits=0) by mx-a.spam-sponge.de (8.14.4/8.14.4) with ESMTP id p9NK3EvP056361 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 23 Oct 2011 22:03:17 +0200 (CEST) (envelope-from franz@electromail.org) Message-ID: <4EA47302.4080501@electromail.org> Date: Sun, 23 Oct 2011 22:03:14 +0200 From: Franz Schwartau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA1D70D.3010909@electromail.org> <4EA3D0F6.8060509@electromail.org> <201110232131.31667.hselasky@c2i.net> In-Reply-To: <201110232131.31667.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 20:03:23 -0000 Hi Hans! On 23.10.2011 21:31, Hans Petter Selasky wrote: > On Sunday 23 October 2011 10:31:50 Franz Schwartau wrote: >> Hi again, >> >> meanwhile I did some debugging. > > Hi, > > What does "usbconfig" output? # usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.3: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON BTW. the "External HDD DMI" is the Sharkoon RapidCase which has the same ASmedia ASM1051 SATA bridge as the QuickPort named "sharkoon sharkoon". > Did you load the xhci module? No, I don't have an eXtensible Host Controller. > What does your dmesg look like? http://paste2.org/p/1734983 From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 20:06:50 2011 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 325CC106567E for ; Sun, 23 Oct 2011 20:06:50 +0000 (UTC) (envelope-from franz@electromail.org) Received: from mx-a.spam-sponge.de (mx-a.spam-sponge.de [81.169.171.162]) by mx1.freebsd.org (Postfix) with ESMTP id B8B178FC1F for ; Sun, 23 Oct 2011 20:06:49 +0000 (UTC) Received: from [192.168.100.4] (e178015035.adsl.alicedsl.de [85.178.15.35]) (authenticated bits=0) by mx-a.spam-sponge.de (8.14.4/8.14.4) with ESMTP id p9NK6h4J056550 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 23 Oct 2011 22:06:45 +0200 (CEST) (envelope-from franz@electromail.org) Message-ID: <4EA473D2.7030808@electromail.org> Date: Sun, 23 Oct 2011 22:06:42 +0200 From: Franz Schwartau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA1D70D.3010909@electromail.org> <201110232133.29972.hselasky@c2i.net> In-Reply-To: <201110232133.29972.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 23 Oct 2011 20:06:50 -0000 Hi Hans! On 23.10.2011 21:33, Hans Petter Selasky wrote: > On Friday 21 October 2011 22:33:17 Franz Schwartau wrote: >> Hi! >> >> I bought a Sharkoon QuickPort XT USB3.0 SATA docking station. >> Unfortunately it is attached to an OHCI. Thus it runs at full speed (12 >> Mbps) only. > > pciconf -lv | grep -iE "ohci|uhci|ehci|xhci|USB" ohci0@pci0:0:18:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00 device = 'SB700 USB OHCI0 Controller' subclass = USB ohci1@pci0:0:18:1: class=0x0c0310 card=0x50041458 chip=0x43981002 rev=0x00 hdr=0x00 device = 'Standard OpenHCD USB-Hostcontroller (SB700)' subclass = USB ehci0@pci0:0:18:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00 device = 'SB700 USB EHCI Controller' subclass = USB ohci2@pci0:0:19:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00 device = 'SB700 USB OHCI0 Controller' subclass = USB ohci3@pci0:0:19:1: class=0x0c0310 card=0x50041458 chip=0x43981002 rev=0x00 hdr=0x00 device = 'Standard OpenHCD USB-Hostcontroller (SB700)' subclass = USB ehci1@pci0:0:19:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00 device = 'SB700 USB EHCI Controller' subclass = USB ohci4@pci0:0:20:5: class=0x0c0310 card=0x50041458 chip=0x43991002 rev=0x00 hdr=0x00 device = 'SB700 USB OHCI2 Controller' subclass = USB > Hi, > > The OHCI controller is FULL speed only capable. > > You need EHCI or XHCI at least to be able to get higher speeds. I know... :-) My machine has OHCI as well as EHCI. But the QuickPort docking station is attached to an OHCI instead of an EHCI. Best regards Franz From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 23:56:25 2011 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 B23A8106566B; Sun, 23 Oct 2011 23:56:25 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8926C8FC0A; Sun, 23 Oct 2011 23:56:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9NNuPDa013297; Sun, 23 Oct 2011 23:56:25 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9NNuO85013293; Sun, 23 Oct 2011 23:56:24 GMT (envelope-from eadler) Date: Sun, 23 Oct 2011 23:56:24 GMT Message-Id: <201110232356.p9NNuO85013293@freefall.freebsd.org> To: me@swizard.beercan.ru, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/105361: [usb67] [panic] Kernel panic during unmounting mass storage (Creative mp3 player) 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, 23 Oct 2011 23:56:25 -0000 Synopsis: [usb67] [panic] Kernel panic during unmounting mass storage (Creative mp3 player) State-Changed-From-To: open->closed State-Changed-By: eadler State-Changed-When: Sun Oct 23 23:56:24 UTC 2011 State-Changed-Why: usb stack changed in 8.x+ If this is still an issue please email me and I'll reopen this http://www.freebsd.org/cgi/query-pr.cgi?pr=105361 From owner-freebsd-usb@FreeBSD.ORG Sun Oct 23 23:56:28 2011 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 EC15F106566C; Sun, 23 Oct 2011 23:56:28 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C49428FC12; Sun, 23 Oct 2011 23:56:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9NNuSFw013366; Sun, 23 Oct 2011 23:56:28 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9NNuSc4013362; Sun, 23 Oct 2011 23:56:28 GMT (envelope-from eadler) Date: Sun, 23 Oct 2011 23:56:28 GMT Message-Id: <201110232356.p9NNuSc4013362@freefall.freebsd.org> To: reed@reedmedia.net, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/121232: [usb67] [panic] USB CardBus card removal causes reboot sometimes 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, 23 Oct 2011 23:56:29 -0000 Synopsis: [usb67] [panic] USB CardBus card removal causes reboot sometimes State-Changed-From-To: feedback->closed State-Changed-By: eadler State-Changed-When: Sun Oct 23 23:56:28 UTC 2011 State-Changed-Why: usb stack changed in 8.x+ If this is still an issue please email me and I'll reopen this http://www.freebsd.org/cgi/query-pr.cgi?pr=121232 From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 00:00:39 2011 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 BE41D1065678; Mon, 24 Oct 2011 00:00:39 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 978B08FC14; Mon, 24 Oct 2011 00:00:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9O00dxn014647; Mon, 24 Oct 2011 00:00:39 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9O00d8o014638; Mon, 24 Oct 2011 00:00:39 GMT (envelope-from eadler) Date: Mon, 24 Oct 2011 00:00:39 GMT Message-Id: <201110240000.p9O00d8o014638@freefall.freebsd.org> To: rehsack@googlemail.com, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/138570: [usb67] [panic] USB mass device panics current 7.2-STABLE 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, 24 Oct 2011 00:00:39 -0000 Synopsis: [usb67] [panic] USB mass device panics current 7.2-STABLE State-Changed-From-To: suspended->closed State-Changed-By: eadler State-Changed-When: Mon Oct 24 00:00:38 UTC 2011 State-Changed-Why: Feeback timeout and the issue is believed to be fixed. Please contact me if this is still an issue http://www.freebsd.org/cgi/query-pr.cgi?pr=138570 From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 00:01:03 2011 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 1A0AB106566B; Mon, 24 Oct 2011 00:01:03 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E37EE8FC13; Mon, 24 Oct 2011 00:01:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9O012eu015887; Mon, 24 Oct 2011 00:01:02 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9O0120v015857; Mon, 24 Oct 2011 00:01:02 GMT (envelope-from eadler) Date: Mon, 24 Oct 2011 00:01:02 GMT Message-Id: <201110240001.p9O0120v015857@freefall.freebsd.org> To: amdmi3@mail.ru, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/101761: [usb67] [patch] [request] usb.h: increase maximal size of report descriptor 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, 24 Oct 2011 00:01:03 -0000 Synopsis: [usb67] [patch] [request] usb.h: increase maximal size of report descriptor State-Changed-From-To: open->closed State-Changed-By: eadler State-Changed-When: Mon Oct 24 00:01:01 UTC 2011 State-Changed-Why: issue fixed http://www.freebsd.org/cgi/query-pr.cgi?pr=101761 From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 00:03:12 2011 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 2B4921065674; Mon, 24 Oct 2011 00:03:12 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 032688FC13; Mon, 24 Oct 2011 00:03:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9O03Bgi022277; Mon, 24 Oct 2011 00:03:11 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9O03BlJ022271; Mon, 24 Oct 2011 00:03:11 GMT (envelope-from eadler) Date: Mon, 24 Oct 2011 00:03:11 GMT Message-Id: <201110240003.p9O03BlJ022271@freefall.freebsd.org> To: beat@chruetertee.ch, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/136761: [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem 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, 24 Oct 2011 00:03:12 -0000 Synopsis: [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem State-Changed-From-To: patched->closed State-Changed-By: eadler State-Changed-When: Mon Oct 24 00:03:10 UTC 2011 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=136761 From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 00:04:09 2011 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 277901065676; Mon, 24 Oct 2011 00:04:09 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 000288FC14; Mon, 24 Oct 2011 00:04:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9O048jN022518; Mon, 24 Oct 2011 00:04:08 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9O048Tx022513; Mon, 24 Oct 2011 00:04:08 GMT (envelope-from eadler) Date: Mon, 24 Oct 2011 00:04:08 GMT Message-Id: <201110240004.p9O048Tx022513@freefall.freebsd.org> To: don_oles@able.com.ua, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/137872: [usb67] [boot] slow booting on usb flash drive 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, 24 Oct 2011 00:04:09 -0000 Synopsis: [usb67] [boot] slow booting on usb flash drive State-Changed-From-To: open->feedback State-Changed-By: eadler State-Changed-When: Mon Oct 24 00:04:08 UTC 2011 State-Changed-Why: per hps, is this still an issue? http://www.freebsd.org/cgi/query-pr.cgi?pr=137872 From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 06:36:57 2011 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 C5555106566C for ; Mon, 24 Oct 2011 06:36:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 53B9A8FC13 for ; Mon, 24 Oct 2011 06:36:56 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 194351768; Mon, 24 Oct 2011 08:36:55 +0200 From: Hans Petter Selasky To: Franz Schwartau Date: Mon, 24 Oct 2011 08:33:45 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> <201110232133.29972.hselasky@c2i.net> <4EA473D2.7030808@electromail.org> In-Reply-To: <4EA473D2.7030808@electromail.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110240833.45586.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 24 Oct 2011 06:36:57 -0000 On Sunday 23 October 2011 22:06:42 Franz Schwartau wrote: > I know... :-) My machine has OHCI as well as EHCI. But the QuickPort > docking station is attached to an OHCI instead of an EHCI. Then there is no way to get High Speed. Some computers are just like that, that not all ports are High Speed. Maybe we should have a warning about that, that the device should be connected to another port to get High Speed? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 07:07:54 2011 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 DAF101065680 for ; Mon, 24 Oct 2011 07:07:54 +0000 (UTC) (envelope-from franz@electromail.org) Received: from mx-a.spam-sponge.de (mx-a.spam-sponge.de [81.169.171.162]) by mx1.freebsd.org (Postfix) with ESMTP id 69DBA8FC1D for ; Mon, 24 Oct 2011 07:07:53 +0000 (UTC) Received: from [192.168.100.4] (e178016191.adsl.alicedsl.de [85.178.16.191]) (authenticated bits=0) by mx-a.spam-sponge.de (8.14.4/8.14.4) with ESMTP id p9O77fAV085594 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 24 Oct 2011 09:07:48 +0200 (CEST) (envelope-from franz@electromail.org) Message-ID: <4EA50EBD.7020105@electromail.org> Date: Mon, 24 Oct 2011 09:07:41 +0200 From: Franz Schwartau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA1D70D.3010909@electromail.org> <201110232133.29972.hselasky@c2i.net> <4EA473D2.7030808@electromail.org> <201110240833.45586.hselasky@c2i.net> In-Reply-To: <201110240833.45586.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 24 Oct 2011 07:07:54 -0000 Hi Hans! On 24.10.2011 08:33, Hans Petter Selasky wrote: > On Sunday 23 October 2011 22:06:42 Franz Schwartau wrote: >> I know... :-) My machine has OHCI as well as EHCI. But the QuickPort >> docking station is attached to an OHCI instead of an EHCI. > > Then there is no way to get High Speed. Some computers are just like that, > that not all ports are High Speed. Maybe we should have a warning about that, > that the device should be connected to another port to get High Speed? Maybe my "attached" was misleading. The port I attached the QuickPort docking station is capable of high speed in regard of the hardware. But FreeBSD attaches the device to an OHCI instead of an EHCI. Of course I tried different ports and cables. On a different machine with the same motherboard I tested the QuickPort with FreeBSD-9.0-RC1, CentOS 6.0 and Windows 7. Under CentOS 6.0 and Windows 7 the QuickPort was set to high speed. Under FreeBSD only full speed was available. The only difference so far I could find was that wMaxPacketSize in Endpoint 0 and Endpoint 1 is set to 0x40 for FreeBSD and 0x200 for CentOS and Windows. Best regards Franz From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 07:22:19 2011 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 3830E1065675 for ; Mon, 24 Oct 2011 07:22:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id B59198FC15 for ; Mon, 24 Oct 2011 07:22:18 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 196491835; Mon, 24 Oct 2011 09:22:16 +0200 From: Hans Petter Selasky To: Franz Schwartau Date: Mon, 24 Oct 2011 09:19:08 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> <201110240833.45586.hselasky@c2i.net> <4EA50EBD.7020105@electromail.org> In-Reply-To: <4EA50EBD.7020105@electromail.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110240919.08150.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 24 Oct 2011 07:22:19 -0000 On Monday 24 October 2011 09:07:41 Franz Schwartau wrote: > Maybe my "attached" was misleading. The port I attached the QuickPort > docking station is capable of high speed in regard of the hardware. But > FreeBSD attaches the device to an OHCI instead of an EHCI. Of course I > tried different ports and cables. Hi, High speed mode requires some additional signalling called High Speed chirp. If this fails, FULL speed is the default fallback mode. Does other devices besides from the HUB work in High Speed mode? Have you tried other HUB brands? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 08:42:59 2011 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 CE8E6106564A for ; Mon, 24 Oct 2011 08:42:59 +0000 (UTC) (envelope-from franz@electromail.org) Received: from mx-a.spam-sponge.de (mx-a.spam-sponge.de [81.169.171.162]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4648FC0C for ; Mon, 24 Oct 2011 08:42:58 +0000 (UTC) Received: from [192.168.100.4] (e178016191.adsl.alicedsl.de [85.178.16.191]) (authenticated bits=0) by mx-a.spam-sponge.de (8.14.4/8.14.4) with ESMTP id p9O8goeq089176 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 24 Oct 2011 10:42:53 +0200 (CEST) (envelope-from franz@electromail.org) Message-ID: <4EA5250A.2050801@electromail.org> Date: Mon, 24 Oct 2011 10:42:50 +0200 From: Franz Schwartau User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA1D70D.3010909@electromail.org> <201110240833.45586.hselasky@c2i.net> <4EA50EBD.7020105@electromail.org> <201110240919.08150.hselasky@c2i.net> In-Reply-To: <201110240919.08150.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 24 Oct 2011 08:42:59 -0000 Hi Hans! On 24.10.2011 09:19, Hans Petter Selasky wrote: > On Monday 24 October 2011 09:07:41 Franz Schwartau wrote: >> Maybe my "attached" was misleading. The port I attached the QuickPort >> docking station is capable of high speed in regard of the hardware. But >> FreeBSD attaches the device to an OHCI instead of an EHCI. Of course I >> tried different ports and cables. > > Hi, > > High speed mode requires some additional signalling called High Speed chirp. > If this fails, FULL speed is the default fallback mode. Does other devices > besides from the HUB work in High Speed mode? Have you tried other HUB brands? There is no extra USB hub (in the sense of an extra device). The QuickPort is directly connected to the USB ports of the motherboard. I tried four different ports. At least two of them are capable of high speed. The Sharkoon RapidCase (External HDD DMI) and an USB memory stick (Flash Voyager Corsair) are set to high speed: ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen2.3: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON But if I connect the QuickPort it is set to full speed no matter which port or which cable I'm using... And to repeat it: Other OS set the QuickPort to high speed with the _same_ hardware setup. Best regards Franz From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 09:25:55 2011 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 A9AD0106564A for ; Mon, 24 Oct 2011 09:25:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5D95B8FC08 for ; Mon, 24 Oct 2011 09:25:53 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_40 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 192985745; Mon, 24 Oct 2011 11:25:51 +0200 From: Hans Petter Selasky To: Franz Schwartau Date: Mon, 24 Oct 2011 11:22:43 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA1D70D.3010909@electromail.org> <201110240919.08150.hselasky@c2i.net> <4EA5250A.2050801@electromail.org> In-Reply-To: <4EA5250A.2050801@electromail.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110241122.43495.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Sharkoon QuickPort XT USB3.0 at full speed only 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, 24 Oct 2011 09:25:55 -0000 On Monday 24 October 2011 10:42:50 Franz Schwartau wrote: > Hi Hans! > Hi, > But if I connect the QuickPort it is set to full speed no matter which > port or which cable I'm using... And to repeat it: Other OS set the > QuickPort to high speed with the _same_ hardware setup. It might be that they issue some control request to force the HUB into High speed mode. You would need to check the USB 2.0 specification (HUB chapter) about that. Control requests can be issued using "usbconfig -d X.Y do_request" command. Look for "other speed" keyword. --HPS > Best regards > Franz From owner-freebsd-usb@FreeBSD.ORG Mon Oct 24 11:07:14 2011 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 AC78F1065670 for ; Mon, 24 Oct 2011 11:07:14 +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 9A3C78FC17 for ; Mon, 24 Oct 2011 11:07:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9OB7EN1025458 for ; Mon, 24 Oct 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9OB7DIo025456 for freebsd-usb@FreeBSD.org; Mon, 24 Oct 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Oct 2011 11:07:13 GMT Message-Id: <201110241107.p9OB7DIo025456@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, 24 Oct 2011 11:07:14 -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/161798 usb [patch] usbdevs / if_run.c modification o usb/161793 usb poor EHCI usb2 i/o performance o usb/161559 usb Add LOGITECH Webcam C100 into usbdevs o usb/160911 usb The usb flash drive JetFlash Transcend 16GB 1100 doesn o usb/160436 usb ucom wedges machine on parity error ? o usb/160301 usb [patch] missing device usb and device ucom entries in o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159611 usb [PATCH] USB stick extrememory Snippy needs quirks o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 o usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke o usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/155496 usb [usb][patch] support BUFFALO WLI-U2-SG54HG wireless o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154710 usb [ugen] Conexant USB Modem is not working in 8.x. In 7. o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153599 usb [usbdevs] [patch] Feiya Elango USB MicroSD reader sync o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149934 usb [patch] [usb8] Transcend JetFlash V85 poor performance p usb/149900 usb [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E p usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is f usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f 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 [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device f 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/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [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 o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c 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/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/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 [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p 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/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach 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/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c 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 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/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa s usb/122819 usb [usb67] [patch] Patch to provide dynamic additions to o usb/122813 usb [udbp] [request] udbp driver should be removed in favo 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/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/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s 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 f 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/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/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/119509 usb [usb] USB flaky on Dell Optiplex 755 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/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 [snd_uaudio] [patch] Not possible to record with Plant 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 p usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th 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 s usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated 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/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu 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/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [usb67] SMP-Kernel crashes reliably when Bluetooth con 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 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/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 f 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/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. f 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 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/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent 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. 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 f 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/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device f 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/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f 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/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/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports 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 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 usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 302 problems total. From owner-freebsd-usb@FreeBSD.ORG Wed Oct 26 17:47:13 2011 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 B7580106566C for ; Wed, 26 Oct 2011 17:47:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4EDDC8FC12 for ; Wed, 26 Oct 2011 17:47:12 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 197745922 for freebsd-usb@freebsd.org; Wed, 26 Oct 2011 19:47:10 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 26 Oct 2011 19:44:05 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201110261944.05516.hselasky@c2i.net> Subject: XHCI - USB 3.0 - Call for AMD testers 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, 26 Oct 2011 17:47:13 -0000 Hi, Someone told med that certain USB 3.0 super speed AMD chipsets don't work with the XHCI driver in FreeBSD 8/9 at EuroBSDcon this year. I would like to call out for someone having such a chipset to report to me and to try the latest code in FreeBSD after this commit: http://svn.freebsd.org/changeset/base/226803 --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 09:20:12 2011 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 1A00D1065670 for ; Thu, 27 Oct 2011 09:20:12 +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 97C9C8FC08 for ; Thu, 27 Oct 2011 09:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9R9KBw9045735 for ; Thu, 27 Oct 2011 09:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9R9KBWs045733; Thu, 27 Oct 2011 09:20:11 GMT (envelope-from gnats) Resent-Date: Thu, 27 Oct 2011 09:20:11 GMT Resent-Message-Id: <201110270920.p9R9KBWs045733@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, Edwin Groothuis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC3CD1065678 for ; Thu, 27 Oct 2011 09:15:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 624C48FC13 for ; Thu, 27 Oct 2011 09:15:52 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9R9FpG5054020 for ; Thu, 27 Oct 2011 09:15:51 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9R9FpIN054019; Thu, 27 Oct 2011 09:15:51 GMT (envelope-from nobody) Message-Id: <201110270915.p9R9FpIN054019@red.freebsd.org> Date: Thu, 27 Oct 2011 09:15:51 GMT From: Edwin Groothuis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/162054: usbdump just hangs on 9.0-RC1 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, 27 Oct 2011 09:20:12 -0000 >Number: 162054 >Category: usb >Synopsis: usbdump just hangs on 9.0-RC1 >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: Thu Oct 27 09:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: 9.0-RC1 >Organization: - >Environment: FreeBSD t43.nbttech.com 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 2011 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: On my machine running 9.0-RC1, updated from 8.2 via FreeBSD-update: When running "usbdump -i usbus4" and connecting any USB device so far (memory, iPhone, 3G modem), it just hangs and doesn't output anything. Closing it with ^C is not possible, only ^Z and kill %1 is possible. ktrace on usbdump shows that it is reading properly. Running Wireshark on usb04 shows that frames are being received. Running usbdump on a file captured from an old machine (FreeBSD X.x.x.x 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224195: Tue Jul 19 17:45:03 CST 2011 X@X:/usr/obj/usr/src/sys/GENERIC amd64) shows the output as expected. Running usbdump on a file captured on this machine doesn't output anything, but can be aborted with ^C. I have uploaded a tar ball at http://www.mavetju.org/~edwin/usbdump-problem.tar.gz with in it: - output of trace in ktrace.out - iphone.cap of when it doesn't work. - usbdumptest from the old 9.0-CURRENT machine. Help :-P >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 09:44:08 2011 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 D25521065675 for ; Thu, 27 Oct 2011 09:44:08 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id 439E98FC15 for ; Thu, 27 Oct 2011 09:44:07 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id p9R8D6pE019303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 27 Oct 2011 10:13:06 +0200 Received: from portgus.lan ([147.83.40.234]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p9R8CnC3030373 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 27 Oct 2011 10:13:05 +0200 Message-ID: <4EA9127E.80504@entel.upc.edu> Date: Thu, 27 Oct 2011 10:12:46 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111018 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: multipart/mixed; boundary="------------030105040408080408060908" X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Thu, 27 Oct 2011 10:13:06 +0200 (CEST) Cc: Subject: Quirk for a USB mass storage device 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, 27 Oct 2011 09:44:08 -0000 This is a multi-part message in MIME format. --------------030105040408080408060908 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I'm running FreeBSD 10.0 r226042 on AMD64 and I'm having problems with the following device: umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4001 umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) umass0:5:0:-1: Attached to scbus5 as you can see, UQ_MSC_NO_GETMAXLUN should be set to use the device. As it is a 64Gb mass storage I would like to use it. I tried to manually add the quirk and it worked. Later on I tried with 9.0Beta2/i386 on the same machine and the problem also appeared. So I made a patch (which works on CURRENT, did not try with STABLE) to add the quirk, which is attached. Hans: is it necessary to fill a PR with the patch or would it be enough with the inline patch? Gus --------------030105040408080408060908 Content-Type: text/plain; name="datatraveler-patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="datatraveler-patch.txt" diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index 128fe2a..04d1dc8 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -230,6 +230,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { USB_QUIRK(JMICRON, JM20337, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_SYNC_CACHE), + USB_QUIRK(KINGSTON, DT200, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN), USB_QUIRK(KYOCERA, FINECAM_L3, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY), USB_QUIRK(KYOCERA, FINECAM_S3X, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_CBI, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 5a4d3f4..0225694 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -2012,6 +2012,7 @@ product KEYSPAN UIA11 0x0202 UIA-11 remote control /* Kingston products */ product KINGSTON XX1 0x0008 Ethernet product KINGSTON KNU101TX 0x000a KNU101TX USB Ethernet +product KINGSTON DT200 0x1630 DATATRAVELER 200 /* Kawasaki products */ product KLSI DUH3E10BT 0x0008 USB Ethernet --------------030105040408080408060908-- From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 10:00:27 2011 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 AC9181065672 for ; Thu, 27 Oct 2011 10:00:27 +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 8140C8FC08 for ; Thu, 27 Oct 2011 10:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RA0Rht081939 for ; Thu, 27 Oct 2011 10:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9RA0RIj081938; Thu, 27 Oct 2011 10:00:27 GMT (envelope-from gnats) Date: Thu, 27 Oct 2011 10:00:27 GMT Message-Id: <201110271000.p9RA0RIj081938@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Edwin Groothuis Cc: Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 10:00:27 -0000 The following reply was made to PR usb/162054; it has been noted by GNATS. From: Edwin Groothuis To: Colin Percival Cc: bug-followup@FreeBSD.org Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1 Date: Thu, 27 Oct 2011 20:46:09 +1100 Hello Colin, I just submitted a PR on this issue: usb/162054: usbdump just hangs on = 9.0-RC1. The usbdump used was gotten via freebsd-update earlier this week. I compiled usbdump myself from the stable/9 source code and it worked = fine. Not sure if this is something you want to know about. Edwin= From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 10:00:36 2011 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 4293710656A5 for ; Thu, 27 Oct 2011 10:00:36 +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 324E58FC0C for ; Thu, 27 Oct 2011 10:00:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RA0aNr082075 for ; Thu, 27 Oct 2011 10:00:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9RA0a8p082072; Thu, 27 Oct 2011 10:00:36 GMT (envelope-from gnats) Date: Thu, 27 Oct 2011 10:00:36 GMT Message-Id: <201110271000.p9RA0a8p082072@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Edwin Groothuis Cc: Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 10:00:36 -0000 The following reply was made to PR usb/162054; it has been noted by GNATS. From: Edwin Groothuis To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1 Date: Thu, 27 Oct 2011 20:40:52 +1100 As a test I compiled usbdump myself instead of using the one supplied by = FreeBSD-update: [~/usbdump/usbdump] edwin@t43>sudo ./usbdump-9 -i usbus4 19:35:11.080561 usbus4.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D0 19:35:11.080638 usbus4.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 19:35:11.080645 usbus4.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 This is: * $FreeBSD: stable/9/usr.sbin/usbdump/usbdump.c 226565 2011-10-20 = 14:45:16Z hselasky $ Honestly=85 No idea where it went wrong. I'll poke Colin Percival about this.= From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 17:27:09 2011 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 1758F1065670 for ; Thu, 27 Oct 2011 17:27:09 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id C3E5D8FC17 for ; Thu, 27 Oct 2011 17:27:08 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 5E97D804; Thu, 27 Oct 2011 19:08:23 +0200 (CEST) Date: Thu, 27 Oct 2011 19:07:38 +0200 From: Pawel Jakub Dawidek To: freebsd-current@FreeBSD.org Message-ID: <20111027170738.GB1667@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: hps@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: umass(4) regression in 9.0-RC1. 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, 27 Oct 2011 17:27:09 -0000 --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. My SDHC card (via adapter) is no longer being detected after upgrade to 9.0-RC1. The same card with this adapter works on my laptop with older HEAD. usbus0: EHCI version 1.0 usbus0: on ehci0 usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 10 ports with 10 removable, self powered # usbdevs -v usbdevs: no USB controllers found ehci0@pci0:0:10:1: class=3D0x0c0320 card=3D0x81fb1043 chip=3D0x036d10= de rev=3D0xa2 hdr=3D0x00 vendor =3D 'nVidia Corporation' device =3D 'MCP55 USB Controller' class =3D serial bus subclass =3D USB After connecting the adapter with the card inside: kernel: ugen0.2: at usbus0 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6pj9oACgkQForvXbEpPzTwAwCfaXfOjpzh2JDhgMTryjDr6W++ +z4An0lhCOfm28C4fv4MWu8+XGOsiFV6 =WeIt -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig-- From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 18:31:48 2011 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 979D1106564A for ; Thu, 27 Oct 2011 18:31:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2C13B8FC1D for ; Thu, 27 Oct 2011 18:31:47 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 194660214; Thu, 27 Oct 2011 20:31:45 +0200 From: Hans Petter Selasky To: Gustau =?iso-8859-15?q?P=E9rez?= Date: Thu, 27 Oct 2011 20:28:40 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA9127E.80504@entel.upc.edu> In-Reply-To: <4EA9127E.80504@entel.upc.edu> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <201110272028.40342.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 27 Oct 2011 18:31:48 -0000 On Thursday 27 October 2011 10:12:46 Gustau P=E9rez wrote: > Hi, >=20 > I'm running FreeBSD 10.0 r226042 on AMD64 and I'm having problems > with the following device: >=20 > umass0: addr 7> on usbus0 > umass0: SCSI over Bulk-Only; quirks =3D 0x4001 > umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) > umass0:5:0:-1: Attached to scbus5 >=20 > as you can see, UQ_MSC_NO_GETMAXLUN should be set to use the device. > As it is a 64Gb mass storage I would like to use it. >=20 > I tried to manually add the quirk and it worked. Later on I tried > with 9.0Beta2/i386 on the same machine and the problem also appeared. So > I made a patch (which works on CURRENT, did not try with STABLE) to add > the quirk, which is attached. >=20 > Hans: is it necessary to fill a PR with the patch or would it be > enough with the inline patch? Hi Gustau, Does this device work at all without this patch? I was thinking to auto detect this behaviour instead. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 18:33:52 2011 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 20947106564A; Thu, 27 Oct 2011 18:33:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3B75D8FC16; Thu, 27 Oct 2011 18:33:50 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 196106193; Thu, 27 Oct 2011 20:33:49 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 27 Oct 2011 20:30:44 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111027170738.GB1667@garage.freebsd.pl> In-Reply-To: <20111027170738.GB1667@garage.freebsd.pl> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201110272030.44262.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: umass(4) regression in 9.0-RC1. 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, 27 Oct 2011 18:33:52 -0000 On Thursday 27 October 2011 19:07:38 Pawel Jakub Dawidek wrote: > Hi. > > My SDHC card (via adapter) is no longer being detected after upgrade to > 9.0-RC1. The same card with this adapter works on my laptop with older > HEAD. > > usbus0: EHCI version 1.0 > usbus0: on ehci0 > usbus0: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > uhub0: 10 ports with 10 removable, self powered > > # usbdevs -v > usbdevs: no USB controllers found > > ehci0@pci0:0:10:1: class=0x0c0320 card=0x81fb1043 chip=0x036d10de > rev=0xa2 hdr=0x00 vendor = 'nVidia Corporation' > device = 'MCP55 USB Controller' > class = serial bus > subclass = USB > > After connecting the adapter with the card inside: > > kernel: ugen0.2: at usbus0 What does usbconfig dump_device_desc, say about this device? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 18:41:24 2011 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 16834106566C; Thu, 27 Oct 2011 18:41:24 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id BF7BE8FC0C; Thu, 27 Oct 2011 18:41:23 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 6719587A; Thu, 27 Oct 2011 20:41:21 +0200 (CEST) Date: Thu, 27 Oct 2011 20:40:37 +0200 From: Pawel Jakub Dawidek To: Hans Petter Selasky Message-ID: <20111027184035.GC1667@garage.freebsd.pl> References: <20111027170738.GB1667@garage.freebsd.pl> <201110272030.44262.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f+W+jCU1fRNres8c" Content-Disposition: inline In-Reply-To: <201110272030.44262.hselasky@c2i.net> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: umass(4) regression in 9.0-RC1. 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, 27 Oct 2011 18:41:24 -0000 --f+W+jCU1fRNres8c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2011 at 08:30:44PM +0200, Hans Petter Selasky wrote: > What does usbconfig dump_device_desc, say about this device? ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (48= 0Mbps) pwr=3DSAVE bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0200 bDeviceClass =3D 0x0009 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0001 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x0000 idProduct =3D 0x0000 bcdDevice =3D 0x0100 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --f+W+jCU1fRNres8c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6ppaIACgkQForvXbEpPzTGRgCeMYU699f60MlVFjVpBrQJEPm1 19IAoJfkMc3i4G3SDNjikaE96Q+ttC49 =6sSD -----END PGP SIGNATURE----- --f+W+jCU1fRNres8c-- From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 18:45:17 2011 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 0C50B106566C; Thu, 27 Oct 2011 18:45:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 31F1E8FC13; Thu, 27 Oct 2011 18:45:15 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 195800736; Thu, 27 Oct 2011 20:45:14 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 27 Oct 2011 20:42:09 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111027170738.GB1667@garage.freebsd.pl> <201110272030.44262.hselasky@c2i.net> <20111027184035.GC1667@garage.freebsd.pl> In-Reply-To: <20111027184035.GC1667@garage.freebsd.pl> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201110272042.09238.hselasky@c2i.net> Cc: Pawel Jakub Dawidek , freebsd-usb@freebsd.org Subject: Re: umass(4) regression in 9.0-RC1. 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, 27 Oct 2011 18:45:17 -0000 On Thursday 27 October 2011 20:40:37 Pawel Jakub Dawidek wrote: > On Thu, Oct 27, 2011 at 08:30:44PM +0200, Hans Petter Selasky wrote: > > What does usbconfig dump_device_desc, say about this device? > > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0000 > idProduct = 0x0000 > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 This is the root HUB. Can you also show the actual device? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 27 18:52:02 2011 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 3B0F11065674; Thu, 27 Oct 2011 18:52:02 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id E406F8FC19; Thu, 27 Oct 2011 18:52:01 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id E009C888; Thu, 27 Oct 2011 20:51:59 +0200 (CEST) Date: Thu, 27 Oct 2011 20:51:15 +0200 From: Pawel Jakub Dawidek To: Hans Petter Selasky Message-ID: <20111027185115.GD1667@garage.freebsd.pl> References: <20111027170738.GB1667@garage.freebsd.pl> <201110272030.44262.hselasky@c2i.net> <20111027184035.GC1667@garage.freebsd.pl> <201110272042.09238.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eheScQNz3K90DVRs" Content-Disposition: inline In-Reply-To: <201110272042.09238.hselasky@c2i.net> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: umass(4) regression in 9.0-RC1. 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, 27 Oct 2011 18:52:02 -0000 --eheScQNz3K90DVRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: > This is the root HUB. Can you also show the actual device? Sorry, it wasn't connected, here it goes: ugen0.2: at usbus0, cfg=3D255 md=3DHOST spd=3DHIGH (48= 0Mbps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0200 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0008 idVendor =3D 0x0bda idProduct =3D 0x0119 bcdDevice =3D 0x1981 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0003 bNumConfigurations =3D 0x0001 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --eheScQNz3K90DVRs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6pqCMACgkQForvXbEpPzTUHQCeIkHx2HrLxzqURXVUIhUYmPUx EqsAn0JuqSXywvAy/BDyexulFSbzyqhq =cmtO -----END PGP SIGNATURE----- --eheScQNz3K90DVRs-- From owner-freebsd-usb@FreeBSD.ORG Fri Oct 28 05:27:33 2011 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 1EC1C106564A for ; Fri, 28 Oct 2011 05:27:33 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD268FC17 for ; Fri, 28 Oct 2011 05:27:32 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id p9S5RPl1026829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Oct 2011 07:27:25 +0200 Received: from portgus.lan ([147.83.40.234]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p9S5RMIt020401 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 28 Oct 2011 07:27:25 +0200 Message-ID: <4EAA3D37.4060909@entel.upc.edu> Date: Fri, 28 Oct 2011 07:27:19 +0200 From: =?ISO-8859-15?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111018 Thunderbird/7.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA9127E.80504@entel.upc.edu> <201110272028.40342.hselasky@c2i.net> In-Reply-To: <201110272028.40342.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Fri, 28 Oct 2011 07:27:25 +0200 (CEST) Cc: freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 28 Oct 2011 05:27:33 -0000 Al 27/10/2011 20:28, En/na Hans Petter Selasky ha escrit: > On Thursday 27 October 2011 10:12:46 Gustau Pérez wrote: >> Hi, >> >> I'm running FreeBSD 10.0 r226042 on AMD64 and I'm having problems >> with the following device: >> >> umass0: > addr 7> on usbus0 >> umass0: SCSI over Bulk-Only; quirks = 0x4001 >> umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) >> umass0:5:0:-1: Attached to scbus5 >> >> as you can see, UQ_MSC_NO_GETMAXLUN should be set to use the device. >> As it is a 64Gb mass storage I would like to use it. >> >> I tried to manually add the quirk and it worked. Later on I tried >> with 9.0Beta2/i386 on the same machine and the problem also appeared. So >> I made a patch (which works on CURRENT, did not try with STABLE) to add >> the quirk, which is attached. >> >> Hans: is it necessary to fill a PR with the patch or would it be >> enough with the inline patch? > Hi Gustau, > > Does this device work at all without this patch? > > I was thinking to auto detect this behaviour instead. > > --HPS It did not work without the quirk. The corresponding /dev/daX device never appeared. After manually setting the quirk I could use it by unplugging and re-plugging the device. I see a few number of devices using this quirk. However many of them use other quirks too. So auto detecting this behavior would be good for those pseudo-scsi devices having only problems with LUN detection. Please let me know if you want me to test any patch or you want me to check any code. Gus From owner-freebsd-usb@FreeBSD.ORG Fri Oct 28 07:14:51 2011 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 6C69E106564A; Fri, 28 Oct 2011 07:14:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 94E528FC16; Fri, 28 Oct 2011 07:14:50 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 195961601; Fri, 28 Oct 2011 09:14:48 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 28 Oct 2011 09:11:42 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111027170738.GB1667@garage.freebsd.pl> <201110272042.09238.hselasky@c2i.net> <20111027185115.GD1667@garage.freebsd.pl> In-Reply-To: <20111027185115.GD1667@garage.freebsd.pl> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201110280911.43003.hselasky@c2i.net> Cc: Pawel Jakub Dawidek , freebsd-usb@freebsd.org Subject: Re: umass(4) regression in 9.0-RC1. 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, 28 Oct 2011 07:14:51 -0000 On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: > On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: > > This is the root HUB. Can you also show the actual device? > > Sorry, it wasn't connected, here it goes: > > ugen0.2: at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) > pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x0bda > idProduct = 0x0119 > bcdDevice = 0x1981 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 > bNumConfigurations = 0x0001 Hi, The control request in question is mandatory according to the UMASS specification, and I wonder why it times out and all other control requests aswell. Could you try setting the no-synchronize cache quirk instead, and then plug your device. I'm sorry, but this problem needs further investigation before we can make a patch. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 28 07:15:58 2011 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 2FF02106566B for ; Fri, 28 Oct 2011 07:15:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id B1DEE8FC16 for ; Fri, 28 Oct 2011 07:15:57 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 194828996; Fri, 28 Oct 2011 09:15:55 +0200 From: Hans Petter Selasky To: Gustau =?iso-8859-15?q?P=E9rez?= Date: Fri, 28 Oct 2011 09:12:52 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA9127E.80504@entel.upc.edu> <201110272028.40342.hselasky@c2i.net> <4EAA3D37.4060909@entel.upc.edu> In-Reply-To: <4EAA3D37.4060909@entel.upc.edu> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <201110280912.52103.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 28 Oct 2011 07:15:58 -0000 On Friday 28 October 2011 07:27:19 Gustau P=E9rez wrote: > Al 27/10/2011 20:28, En/na Hans Petter Selasky ha escrit: > > On Thursday 27 October 2011 10:12:46 Gustau P=E9rez wrote: > >> Hi, > >> =20 > >> I'm running FreeBSD 10.0 r226042 on AMD64 and I'm having problems > >>=20 > >> with the following device: > >> umass0: >>=20 > >> addr 7> on usbus0 > >>=20 > >> umass0: SCSI over Bulk-Only; quirks =3D 0x4001 > >> umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) > >> umass0:5:0:-1: Attached to scbus5 > >> =20 > >> as you can see, UQ_MSC_NO_GETMAXLUN should be set to use the device. > >>=20 > >> As it is a 64Gb mass storage I would like to use it. > >>=20 > >> I tried to manually add the quirk and it worked. Later on I tried > >>=20 > >> with 9.0Beta2/i386 on the same machine and the problem also appeared. = So > >> I made a patch (which works on CURRENT, did not try with STABLE) to add > >> the quirk, which is attached. > >>=20 > >> Hans: is it necessary to fill a PR with the patch or would it be > >>=20 > >> enough with the inline patch? > >=20 > > Hi Gustau, > >=20 > > Does this device work at all without this patch? > >=20 > > I was thinking to auto detect this behaviour instead. > >=20 > > --HPS >=20 > It did not work without the quirk. The corresponding /dev/daX device > never appeared. After manually setting the quirk I could use it by > unplugging and re-plugging the device. >=20 > I see a few number of devices using this quirk. However many of them > use other quirks too. So auto detecting this behavior would be good for > those pseudo-scsi devices having only problems with LUN detection. >=20 > Please let me know if you want me to test any patch or you want me to > check any code. >=20 > Gus Try to set the no synchronize cache quirk instead. Does that solve the prob= lem=20 aswell? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 28 19:10:35 2011 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 CD0FE106566C; Fri, 28 Oct 2011 19:10:35 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFDF8FC17; Fri, 28 Oct 2011 19:10:35 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id CA4DECAE; Fri, 28 Oct 2011 21:10:32 +0200 (CEST) Date: Fri, 28 Oct 2011 21:09:47 +0200 From: Pawel Jakub Dawidek To: Hans Petter Selasky Message-ID: <20111028190947.GA1713@garage.freebsd.pl> References: <20111027170738.GB1667@garage.freebsd.pl> <201110272042.09238.hselasky@c2i.net> <20111027185115.GD1667@garage.freebsd.pl> <201110280911.43003.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <201110280911.43003.hselasky@c2i.net> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: umass(4) regression in 9.0-RC1. 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, 28 Oct 2011 19:10:35 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2011 at 09:11:42AM +0200, Hans Petter Selasky wrote: > On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: > > On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: > > > This is the root HUB. Can you also show the actual device? > >=20 > > Sorry, it wasn't connected, here it goes: > >=20 > > ugen0.2: at usbus0, cfg=3D255 md=3DHOST spd=3DHIGH= (480Mbps) > > pwr=3DON > >=20 > > bLength =3D 0x0012 > > bDescriptorType =3D 0x0001 > > bcdUSB =3D 0x0200 > > bDeviceClass =3D 0x0000 > > bDeviceSubClass =3D 0x0000 > > bDeviceProtocol =3D 0x0000 > > bMaxPacketSize0 =3D 0x0008 > > idVendor =3D 0x0bda > > idProduct =3D 0x0119 > > bcdDevice =3D 0x1981 > > iManufacturer =3D 0x0001 > > iProduct =3D 0x0002 > > iSerialNumber =3D 0x0003 > > bNumConfigurations =3D 0x0001 >=20 > Hi, >=20 > The control request in question is mandatory according to the UMASS=20 > specification, and I wonder why it times out and all other control reques= ts=20 > aswell. >=20 > Could you try setting the no-synchronize cache quirk instead, and then pl= ug=20 > your device. >=20 > I'm sorry, but this problem needs further investigation before we can mak= e a=20 > patch. It wasn't immediately obvious for me how to set the no-synchronize cache quirk, but I think I found it: # usbconfig add_quirk UQ_MSC_NO_SYNC_CACHE And it seems to work: umass0: on usbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready t= o ready change, medium may have changed) da0 at umass-sim0 bus 0 scbus13 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 30799MB (63076352 512 byte sectors: 255H 63S/T 3926C) --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6q/fsACgkQForvXbEpPzTlcQCfSjF9ybX8gZI7/YsVrBGVnY2r hDUAn2tf2+lzvlOI4Dh+gFk5h6rgNdP0 =xcWu -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 06:54:21 2011 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 AAAA2106566C; Sat, 29 Oct 2011 06:54:21 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id C5EDA8FC08; Sat, 29 Oct 2011 06:54:20 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_40 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 196701766; Sat, 29 Oct 2011 08:54:18 +0200 From: Hans Petter Selasky To: Gustau =?iso-8859-1?q?P=E9rez?= Date: Sat, 29 Oct 2011 08:51:15 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA9127E.80504@entel.upc.edu> <201110281549.15561.hselasky@c2i.net> <4EAAC562.3000201@entel.upc.edu> In-Reply-To: <4EAAC562.3000201@entel.upc.edu> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_jJ6qOcgvAd4Xy7t" Message-Id: <201110290851.15130.hselasky@c2i.net> Cc: Pawel Jakub Dawidek , freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 29 Oct 2011 06:54:21 -0000 --Boundary-00=_jJ6qOcgvAd4Xy7t Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Friday 28 October 2011 17:08:18 Gustau P=E9rez wrote: > >> Do you want the patch? I can generate it in a second if you wish. > >=20 > > Yes, please do. >=20 > This one applies over both current and 9.0RC1. >=20 > Gus Hi Pawel and Gustau, Can you both clean out your own patches and try the attached one? =2D-HPS --Boundary-00=_jJ6qOcgvAd4Xy7t Content-Type: text/x-patch; charset="iso-8859-15"; name="no_get_max_lun.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="no_get_max_lun.diff" === sys/dev/usb/usb_device.c ================================================================== --- sys/dev/usb/usb_device.c (revision 226805) +++ sys/dev/usb/usb_device.c (local) @@ -1851,7 +1851,8 @@ } } if (set_config_failed == 0 && config_index == 0 && - usb_test_quirk(&uaa, UQ_MSC_NO_SYNC_CACHE) == 0) { + usb_test_quirk(&uaa, UQ_MSC_NO_SYNC_CACHE) == 0 && + usb_test_quirk(&uaa, UQ_MSC_NO_GETMAXLUN) == 0) { /* * Try to figure out if there are any MSC quirks we === sys/dev/usb/usb_msctest.c ================================================================== --- sys/dev/usb/usb_msctest.c (revision 226805) +++ sys/dev/usb/usb_msctest.c (local) @@ -603,6 +603,29 @@ return (is_cdrom); } +static uint8_t +usb_msc_get_max_lun(struct usb_device *udev, uint8_t iface_index) +{ + struct usb_device_request req; + usb_error_t err; + uint8_t buf = 0; + + + /* The Get Max Lun command is a class-specific request. */ + req.bmRequestType = UT_READ_CLASS_INTERFACE; + req.bRequest = 0xFE; /* GET_MAX_LUN */ + USETW(req.wValue, 0); + req.wIndex[0] = iface_index; + req.wIndex[1] = 0; + USETW(req.wLength, 1); + + err = usbd_do_request(udev, NULL, &req, &buf); + if (err) + buf = 0; + + return (buf); +} + usb_error_t usb_msc_auto_quirk(struct usb_device *udev, uint8_t iface_index) { @@ -622,6 +645,11 @@ */ usb_pause_mtx(NULL, hz); + if (usb_msc_get_max_lun(udev, iface_index) == 0) { + DPRINTF("Device has only got one LUN.\n"); + usbd_add_dynamic_quirk(udev, UQ_MSC_NO_GETMAXLUN); + } + is_no_direct = 1; for (timeout = 4; timeout; timeout--) { err = bbb_command_start(sc, DIR_IN, 0, sc->buffer, --Boundary-00=_jJ6qOcgvAd4Xy7t-- From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 09:01:23 2011 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 235BE106564A; Sat, 29 Oct 2011 09:01:23 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1B68FC0A; Sat, 29 Oct 2011 09:01:22 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id p9T91Fha010963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 29 Oct 2011 11:01:16 +0200 Received: from portgus.lan (9.Red-79-151-132.dynamicIP.rima-tde.net [79.151.132.9]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p9T91EHG026951 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 29 Oct 2011 11:01:15 +0200 Message-ID: <4EABC0D5.2050509@entel.upc.edu> Date: Sat, 29 Oct 2011 11:01:09 +0200 From: =?ISO-8859-15?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111018 Thunderbird/7.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4EA9127E.80504@entel.upc.edu> <201110281549.15561.hselasky@c2i.net> <4EAAC562.3000201@entel.upc.edu> <201110290851.15130.hselasky@c2i.net> In-Reply-To: <201110290851.15130.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Sat, 29 Oct 2011 11:01:16 +0200 (CEST) Cc: Pawel Jakub Dawidek , freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 29 Oct 2011 09:01:23 -0000 Al 29/10/2011 08:51, En/na Hans Petter Selasky ha escrit: > On Friday 28 October 2011 17:08:18 Gustau Pérez wrote: >>>> Do you want the patch? I can generate it in a second if you wish. >>> Yes, please do. >> This one applies over both current and 9.0RC1. >> >> Gus > Hi Pawel and Gustau, > > Can you both clean out your own patches and try the attached one? > > --HPS It works fine for me. I tried many usb devices (ranging from an old usb XD card reader, an Ipod nano 3gen, two old kingston usb drives, etc) and alI did work. I also checked the code and what it does seems to be fine for me. I would commit it. Thank you Hans, Gus From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 12:33:41 2011 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 BADC8106566B; Sat, 29 Oct 2011 12:33:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id D03508FC1D; Sat, 29 Oct 2011 12:33:40 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 195345535; Sat, 29 Oct 2011 14:33:38 +0200 From: Hans Petter Selasky To: Gustau =?iso-8859-15?q?P=E9rez?= Date: Sat, 29 Oct 2011 14:30:34 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4EA9127E.80504@entel.upc.edu> <201110290851.15130.hselasky@c2i.net> <4EABC0D5.2050509@entel.upc.edu> In-Reply-To: <4EABC0D5.2050509@entel.upc.edu> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201110291430.34869.hselasky@c2i.net> Cc: Pawel Jakub Dawidek , freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 29 Oct 2011 12:33:41 -0000 Will be MFC'ed in a few days. http://svn.freebsd.org/changeset/base/226903 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 14:26:35 2011 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 7122F106564A for ; Sat, 29 Oct 2011 14:26:35 +0000 (UTC) (envelope-from david.marec@davenulle.org) Received: from smtp21.services.sfr.fr (smtp21.services.sfr.fr [93.17.128.1]) by mx1.freebsd.org (Postfix) with ESMTP id 31A4C8FC15 for ; Sat, 29 Oct 2011 14:26:34 +0000 (UTC) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2102.sfr.fr (SMTP Server) with ESMTP id 2A71D700005C; Sat, 29 Oct 2011 16:10:46 +0200 (CEST) Received: from david.marec (209.103.28.93.rev.sfr.net [93.28.103.209]) by msfrf2102.sfr.fr (SMTP Server) with ESMTP id F00A370000BE; Sat, 29 Oct 2011 16:10:45 +0200 (CEST) X-SFR-UUID: 20111029141045983.F00A370000BE@msfrf2102.sfr.fr Message-ID: <4EAC0966.2050607@davenulle.org> Date: Sat, 29 Oct 2011 16:10:46 +0200 From: David Marec User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111002 Thunderbird/7.0.1 MIME-Version: 1.0 To: current@freebsd.org, freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 14:26:35 -0000 Hi list, While I was running Freebsd 8, I used to set the suitable rights for my hplip printer, plugged via usb, in this way: * ulpt removed from the kernel. * scripting /etc/devd.conf, to catch usb printers events, as follows: attach 10 { # device-name "ugen[0-9]+"; match "vendor" "0x03f0"; match "product" "0x4712"; # action "logger Chalut la foule"; action "/root/sbin/ugen-hdle $device-name"; }; with david:~>less /root/sbin/ugen-hdle #!/bin/sh echo "Printer detected on " $1 dev=`echo $1 | /usr/bin/awk 'BEGIN { } { s = substr($0, 5, 99); } END { print s; }'` # echo "setting suitable rights for " $dev /usr/sbin/chown cups:hplip /dev/usb/$dev.[0-9] /bin/chmod g+rw /dev/usb/$dev.[0-9] But, now running FreeBSD 9, I get new usb/devd behavior issues. First, the ulpt module is always loaded. Is there any elegant way to get rid of this 'self loading' behavior, except to remove it from /boot/modules ? Anyway, it sounds like HPLIP is now working with the ulpt module loaded. But, devd never sets the suitable rights on ugen. Moreover, switching to the 'action' that only logs something, reveals that devd never executes this entry. So, what's should be the news group&user's rights required by HPLIP/cups on FreeBSD 9 ? And, how to handle them with devd ? However, there is a new "devd" directory inside of "/etc". Is there new usb&devd procedures for FreeBSD9 ? [fu2 freebsd-usb@freebsd.org] regards -- David Marec, mailto:david.marec@davenulle.org http://user.lamaiziere.net/david/Site http://www.diablotins.org/ From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 18:38:56 2011 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 91D13106566C for ; Sat, 29 Oct 2011 18:38:56 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 4324B8FC08 for ; Sat, 29 Oct 2011 18:38:56 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 65BD8F93; Sat, 29 Oct 2011 20:38:54 +0200 (CEST) Date: Sat, 29 Oct 2011 20:38:07 +0200 From: Pawel Jakub Dawidek To: Hans Petter Selasky Message-ID: <20111029183807.GF1713@garage.freebsd.pl> References: <4EA9127E.80504@entel.upc.edu> <201110281549.15561.hselasky@c2i.net> <4EAAC562.3000201@entel.upc.edu> <201110290851.15130.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v2Uk6McLiE8OV1El" Content-Disposition: inline In-Reply-To: <201110290851.15130.hselasky@c2i.net> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-usb@freebsd.org Subject: Re: Quirk for a USB mass storage device 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, 29 Oct 2011 18:38:56 -0000 --v2Uk6McLiE8OV1El Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 29, 2011 at 08:51:15AM +0200, Hans Petter Selasky wrote: > On Friday 28 October 2011 17:08:18 Gustau P=E9rez wrote: > > >> Do you want the patch? I can generate it in a second if you wish. > > >=20 > > > Yes, please do. > >=20 > > This one applies over both current and 9.0RC1. > >=20 > > Gus >=20 > Hi Pawel and Gustau, >=20 > Can you both clean out your own patches and try the attached one? Unfortunately it doesn't fix the problem for me. There is no change after applying the patch. The modules I have loaded: ehci usb umass (usb_quirk) As for the patch itself: > --- sys/dev/usb/usb_msctest.c (revision 226805) > +++ sys/dev/usb/usb_msctest.c (local) > @@ -603,6 +603,29 @@ > return (is_cdrom); > } > =20 > +static uint8_t > +usb_msc_get_max_lun(struct usb_device *udev, uint8_t iface_index) > +{ > + struct usb_device_request req; > + usb_error_t err; > + uint8_t buf =3D 0; > + > + > + /* The Get Max Lun command is a class-specific request. */ > + req.bmRequestType =3D UT_READ_CLASS_INTERFACE; > + req.bRequest =3D 0xFE; /* GET_MAX_LUN */ > + USETW(req.wValue, 0); > + req.wIndex[0] =3D iface_index; > + req.wIndex[1] =3D 0; > + USETW(req.wLength, 1); > + > + err =3D usbd_do_request(udev, NULL, &req, &buf); > + if (err) > + buf =3D 0; > + > + return (buf); > +} You could drop 'err' variable and just check function return directly. There is only one extra empty line at the begining of the function. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --v2Uk6McLiE8OV1El Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6sSA4ACgkQForvXbEpPzQ1QgCeJlnUiRusw856glnkDlordyWn 6o0AoNjZsaSWnIXA8jcchq+7jAnCk5YY =CL+S -----END PGP SIGNATURE----- --v2Uk6McLiE8OV1El-- From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 19:58:55 2011 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 94CC61065673; Sat, 29 Oct 2011 19:58:55 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id 34B978FC18; Sat, 29 Oct 2011 19:58:55 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 686A1358C5A; Sat, 29 Oct 2011 21:58:53 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 446A228468; Sat, 29 Oct 2011 21:58:53 +0200 (CEST) Date: Sat, 29 Oct 2011 21:58:53 +0200 From: Jilles Tjoelker To: freebsd-usb@freebsd.org Message-ID: <20111029195852.GA90408@stack.nl> References: <4EAC0966.2050607@davenulle.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EAC0966.2050607@davenulle.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org Subject: Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9 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, 29 Oct 2011 19:58:55 -0000 On Sat, Oct 29, 2011 at 04:10:46PM +0200, David Marec wrote: > So, what's should be the news group&user's rights required by HPLIP/cups > on FreeBSD 9 ? > And, how to handle them with devd ? Use devfs rules. Pasting from http://www.stack.nl/~jilles/unix/freebsd-devfs.txt Create or edit /etc/devfs.rules and put something like this in it: [devfsrules_mybox=10] add path 'fd0*' mode 660 See man 8 devfs for more information. Then put in /etc/rc.conf devfs_system_ruleset="devfsrules_mybox" If you want to edit other /dev mountpoints (e.g. for jails) use something like devfs_set_rulesets="/usr/jails/jail1/dev=devfsrules_jail1 /usr/jails/jail2/dev=devfsrules_jail2" -- Jilles Tjoelker From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 22:59:24 2011 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 84290106564A; Sat, 29 Oct 2011 22:59:24 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 462458FC12; Sat, 29 Oct 2011 22:59:24 +0000 (UTC) Received: from baby-jane.lamaiziere.net (63.9.74.86.rev.sfr.net [86.74.9.63]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 35672FAA31A5; Sun, 30 Oct 2011 00:43:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id AA1087320C; Sun, 30 Oct 2011 00:43:51 +0200 (CEST) Date: Sun, 30 Oct 2011 00:43:50 +0200 From: Patrick Lamaiziere To: Jilles Tjoelker Message-ID: <20111030004350.5ffb0e00@davenulle.org> In-Reply-To: <20111029195852.GA90408@stack.nl> References: <4EAC0966.2050607@davenulle.org> <20111029195852.GA90408@stack.nl> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9 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, 29 Oct 2011 22:59:24 -0000 Le Sat, 29 Oct 2011 21:58:53 +0200, Jilles Tjoelker a écrit : > On Sat, Oct 29, 2011 at 04:10:46PM +0200, David Marec wrote: > > So, what's should be the news group&user's rights required by > > HPLIP/cups on FreeBSD 9 ? > > > And, how to handle them with devd ? > > Use devfs rules. > > Pasting from http://www.stack.nl/~jilles/unix/freebsd-devfs.txt > > Create or edit /etc/devfs.rules and put something like this in it: > > [devfsrules_mybox=10] > add path 'fd0*' mode 660 The problem is that the printer appears as ugenXXX.Y, but other usb devices (disk, usb-key, ...) also have an entry in /dev/ugen/ You really don't want to allow the users to access these devices, but *only* the printer. This is why we use a devd rule that test the type of the device. I don't think we can do this with devfs. And the ugen number differs if the usb port is not always the same. Regards. From owner-freebsd-usb@FreeBSD.ORG Sat Oct 29 23:55:02 2011 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 AEF581065675 for ; Sat, 29 Oct 2011 23:55:02 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 128848FC1F for ; Sat, 29 Oct 2011 23:55:01 +0000 (UTC) Received: from ur.dons.net.au (ppp118-210-211-94.lns20.adl6.internode.on.net [118.210.211.94]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p9TNVLQx029145 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 30 Oct 2011 10:01:27 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: "Daniel O'Connor" In-Reply-To: <4EAC0966.2050607@davenulle.org> Date: Sun, 30 Oct 2011 10:01:21 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EAC0966.2050607@davenulle.org> To: David Marec X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: 2.162 (**) BAYES_00,KHOP_DYNAMIC,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9 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, 29 Oct 2011 23:55:02 -0000 On 30/10/2011, at 24:40, David Marec wrote: > But, now running FreeBSD 9, I get new usb/devd behavior issues. >=20 > First, the ulpt module is always loaded. Is there any elegant way to = get rid of this 'self loading' behavior, except to remove it from = /boot/modules ? > Anyway, it sounds like HPLIP is now working with the ulpt module = loaded. I'm not sure what would load it automatically - it may be built into the = kernel though. Anyway, as you say it should work with ulpt loaded = anyway. > But, devd never sets the suitable rights on ugen. >=20 > Moreover, switching to the 'action' that only logs something, reveals = that devd never executes this entry. >=20 >=20 > So, what's should be the news group&user's rights required by = HPLIP/cups on FreeBSD 9 ? >=20 > And, how to handle them with devd ? I have a similar problem.. Looking at /etc/devd/uath.conf I see.. notify 100 { match "system" "USB"; match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x168c"; match "product" "0x0002"; action "/usr/sbin/uathload -d /dev/$cdev"; }; Also, I have devd entries for NUT (UPS software) which look like so.. attach 100 { match "vendor" "0x0463"; match "product" "0xffff"; action "chown :uucp /dev/$device-name; chmod 660 = /dev/$device-name"; }; However this doesn't seem to work anymore, it certainly used to.. :( I tried adding the system, subsystem & type parts and changing = device-name to cdev but no luck.. I ran devd -Dd and checked the output but while it says it parses = nut.conf it doesn't seem to match the entries. devd output looks like so.. Processing event '!system=3DUSB subsystem=3DDEVICE type=3DATTACH = ugen=3Dugen1.3 cdev=3Dugen1.3 vendor=3D0x046 3 product=3D0xffff devclass=3D0x00 devsubclass=3D0x00 sernum=3D"000000000"= release=3D0x4241 mode=3Dhost port=3D 3 parent=3Dugen1.1' Pushing table setting system=3DUSB setting subsystem=3DDEVICE setting type=3DATTACH setting ugen=3Dugen1.3 setting cdev=3Dugen1.3 setting vendor=3D0x0463 setting product=3D0xffff setting devclass=3D0x00 setting devsubclass=3D0x00 setting sernum=3D000000000 setting release=3D0x4241 setting mode=3Dhost setting port=3D3 setting parent=3Dugen1.1 Processing notify event -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C