From owner-freebsd-usb@FreeBSD.ORG Sun Jul 1 15:07:33 2012 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 AC6781065672 for ; Sun, 1 Jul 2012 15:07:33 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 23A298FC14 for ; Sun, 1 Jul 2012 15:07:17 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.29]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q61ASD21007431; Sun, 1 Jul 2012 04:28:14 -0600 From: Erich Dollansky To: Hans Petter Selasky Date: Sun, 1 Jul 2012 17:28:11 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201206301702.21156.hselasky@c2i.net> <201207010702.04213.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207010702.04213.erichfreebsdlist@ovitrap.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207011728.11895.erichfreebsdlist@ovitrap.com> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 15:07:33 -0000 Hi, I have now one success and one failure. I inserted these into the corresponding files: usbdevs: vendor VIALabs 0x2109 VIA Labs product TOSHIBA TransMemory 0x6545 USB ThumbDrive product VIALabs USB30SATABridge 0x0700 USB 3.0 SATA Bridge usb_quirks.c USB_QUIRK(TOSHIBA, TransMemory, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(VIALabs, USB30SATABridge, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), Toshiba was already defined. The constants were taken from what usbconfig reported. When I enter now the quirk at the command line, it works for both devices. When I compile them into the kernel, it only works for the Toshiba device. Is there anything else I have to consider for a quirk which works from the command line? Erich On Sunday, July 01, 2012 07:02:03 AM Erich Dollansky wrote: > Hi, > > On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > > > You can try to look at the Linux XHCI driver, and the port switching support > > they have. It appears that because many old OS'es does not support USB 3.0 out > > of the box, mainboards come with EHCI + XHCI and this requires some magic bit > > fidling, which is not in the FreeBSD XHCI driver. > > I think that this is plain device dependent. I got meanwhile one device working. I used the quirks. I wonder why they are needed for 3 but not for 2 to make the device working. > > If I find the time, I will do some tests with the other devices. > > Erich > > From owner-freebsd-usb@FreeBSD.ORG Sun Jul 1 15:07:53 2012 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 B52781065673 for ; Sun, 1 Jul 2012 15:07:53 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8848FC14 for ; Sun, 1 Jul 2012 15:07:53 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.29]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q61025B6027937; Sat, 30 Jun 2012 18:02:06 -0600 From: Erich Dollansky To: Hans Petter Selasky Date: Sun, 1 Jul 2012 07:02:03 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201206301702.21156.hselasky@c2i.net> In-Reply-To: <201206301702.21156.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207010702.04213.erichfreebsdlist@ovitrap.com> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 15:07:53 -0000 Hi, On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > You can try to look at the Linux XHCI driver, and the port switching support > they have. It appears that because many old OS'es does not support USB 3.0 out > of the box, mainboards come with EHCI + XHCI and this requires some magic bit > fidling, which is not in the FreeBSD XHCI driver. I think that this is plain device dependent. I got meanwhile one device working. I used the quirks. I wonder why they are needed for 3 but not for 2 to make the device working. If I find the time, I will do some tests with the other devices. Erich From owner-freebsd-usb@FreeBSD.ORG Mon Jul 2 08:20:06 2012 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 83C291065673 for ; Mon, 2 Jul 2012 08:20:06 +0000 (UTC) (envelope-from info@penitzka.de) Received: from dd21226.kasserver.com (dd21226.kasserver.com [85.13.141.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4180F8FC0C for ; Mon, 2 Jul 2012 08:20:06 +0000 (UTC) Received: from penitzka.de (hosting.airweb.com.ua [82.144.221.113]) by dd21226.kasserver.com (Postfix) with ESMTPA id 1AD1B4E4F0C for ; Mon, 2 Jul 2012 10:15:41 +0200 (CEST) Date: Mon, 2 Jul 2012 11:19:02 +0000 From: =?windows-1251?Q?=DD=EB=E8=ED=E0_=C3=EE=F0=F8=EA=EE=E2=E0?= Organization: wctcywrnirronb X-Priority: 3 (Normal) Message-ID: <851432010.2012072111902@penitzka.de> To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: =?windows-1251?b?8evg4u376SDs7uk=?= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 08:20:06 -0000 привет.!!!))) если скучаешь и не против познакомиться www.gkorpus.org/user_mail.php там меня зовут...!) From owner-freebsd-usb@FreeBSD.ORG Mon Jul 2 11:07:24 2012 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 5C3171065680 for ; Mon, 2 Jul 2012 11:07:24 +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 452078FC28 for ; Mon, 2 Jul 2012 11:07:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q62B7O4R012780 for ; Mon, 2 Jul 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q62B7Njb012778 for freebsd-usb@FreeBSD.org; Mon, 2 Jul 2012 11:07:23 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Jul 2012 11:07:23 GMT Message-Id: <201207021107.q62B7Njb012778@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 11:07:24 -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/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/168743 usb panic: double fault caused by umass o usb/168551 usb Issues with embedded card reader (Laptop ASUS K43SJ) o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/166848 usb [umass] [patch] Buffalo RUF2 requires quirk o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? 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 f 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 f 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/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora 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/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 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 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/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu 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/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? 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 Mon Jul 2 18:32:16 2012 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 C79FD106566B for ; Mon, 2 Jul 2012 18:32:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 533D58FC0C for ; Mon, 2 Jul 2012 18:32:15 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 118726955; Mon, 02 Jul 2012 20:32:08 +0200 From: Hans Petter Selasky To: Erich Dollansky Date: Mon, 2 Jul 2012 20:32:04 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201206301702.21156.hselasky@c2i.net> <201207010702.04213.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207010702.04213.erichfreebsdlist@ovitrap.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207022032.04180.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 18:32:16 -0000 On Sunday 01 July 2012 02:02:03 Erich Dollansky wrote: > Hi, > > On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > > > You can try to look at the Linux XHCI driver, and the port switching > > support they have. It appears that because many old OS'es does not > > support USB 3.0 out of the box, mainboards come with EHCI + XHCI and > > this requires some magic bit fidling, which is not in the FreeBSD XHCI > > driver. > > I think that this is plain device dependent. I got meanwhile one device > working. I used the quirks. I wonder why they are needed for 3 but not for > 2 to make the device working. > > If I find the time, I will do some tests with the other devices. > > Erich Do you want me to commit that quirk you made, or do you have more quirks? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jul 2 20:07:59 2012 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 89C1A106564A for ; Mon, 2 Jul 2012 20:07:59 +0000 (UTC) (envelope-from muxx.mailinglists@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1F08FC18 for ; Mon, 2 Jul 2012 20:07:58 +0000 (UTC) Received: by lbon10 with SMTP id n10so10004626lbo.13 for ; Mon, 02 Jul 2012 13:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VtNIWvNCYBfVomTClZme6FWhtL1f5IiV/aY6/I06gZ4=; b=iJY5AikYFtkoGC3r0vHJPykae5TVrD9Hsxz4W6Y7nEgXHrNUDHYPdZc06mbgySq/uU 5Lb6oUctn2GLsu0G1p+m94vWIqXUU1fyZUjiL7QeKpRN4KWq2KIR8SxvFaDmuXH8Z85q TQSseLIUZHJHy/nwqva+qVzr8UQbhklXNnizj2Tk5UEwF5hAzvL8WoxHXvdOAefmCUjZ dQoPl11/M/67shUBk9nz5SBdaQaUg0yBL5rA6yCo1ty2Et1d56FOsj/hJum2y/aZZcAW 3dBiAhY3A9iC20G4T4E3+M80WfDZXNu9Utyc9+FoG5SfEpqOKEz+vuoKn1bGsJFYFT9Q RMnQ== MIME-Version: 1.0 Received: by 10.112.85.39 with SMTP id e7mr6770884lbz.56.1341259677619; Mon, 02 Jul 2012 13:07:57 -0700 (PDT) Received: by 10.112.26.163 with HTTP; Mon, 2 Jul 2012 13:07:57 -0700 (PDT) In-Reply-To: <201206251700.39759.hselasky@c2i.net> References: <201206241533.08745.hselasky@c2i.net> <201206251700.39759.hselasky@c2i.net> Date: Mon, 2 Jul 2012 21:07:57 +0100 Message-ID: From: maxim naumov To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: Seagate FreeAgent GoFlex 1.5TB external HDD problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 20:07:59 -0000 ok, done some more testing and measured throughput FreeBSD vs. GNU/Linux as you suggested: # dd if=/dev/da0s1 of=/dev/null bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 33.181306 secs (32359842 bytes/sec) and # dd if=/dev/sdb1 of=/dev/null bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 33.2969 s, 32.2 MB/s I was doing more testing with dt, specifying different maximum and minimum block sizes for random transfers. the curious thing is that I could not fail it if the maximum block size is up to 16k. 32k and higher eventually kills it. it seems to require random transfer size to fail. the filesystem driver will do the same. doing just dd/dt with a specified bs works fine. also I haven't seen it fail with a transfer size smaller than 32k before. could this be something to do with the USB transfer size of 64k (32k of data plus umass command)? /max From owner-freebsd-usb@FreeBSD.ORG Tue Jul 3 06:08:36 2012 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 64968106564A for ; Tue, 3 Jul 2012 06:08:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id DCEB68FC08 for ; Tue, 3 Jul 2012 06:08:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 126459060; Tue, 03 Jul 2012 08:08:27 +0200 From: Hans Petter Selasky To: maxim naumov Date: Tue, 3 Jul 2012 08:08:23 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201206251700.39759.hselasky@c2i.net> In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207030808.23509.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Seagate FreeAgent GoFlex 1.5TB external HDD problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 06:08:36 -0000 On Monday 02 July 2012 22:07:57 maxim naumov wrote: > ok, done some more testing and measured throughput FreeBSD vs. > GNU/Linux as you suggested: > > # dd if=/dev/da0s1 of=/dev/null bs=1M count=1024 > 1024+0 records in > 1024+0 records out > 1073741824 bytes transferred in 33.181306 secs (32359842 bytes/sec) > > and > > # dd if=/dev/sdb1 of=/dev/null bs=1M count=1024 > 1024+0 records in > 1024+0 records out > 1073741824 bytes (1.1 GB) copied, 33.2969 s, 32.2 MB/s > > I was doing more testing with dt, specifying different maximum and > minimum block sizes for random transfers. the curious thing is that I > could not fail it if the maximum block size is up to 16k. 32k and > higher eventually kills it. it seems to require random transfer size > to fail. the filesystem driver will do the same. doing just dd/dt with > a specified bs works fine. also I haven't seen it fail with a transfer > size smaller than 32k before. could this be something to do with the > USB transfer size of 64k (32k of data plus umass command)? Hi, For High Speed, the software size limit is 64KBytes, because many devices don't support more. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jul 3 13:31:21 2012 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 054A41065677 for ; Tue, 3 Jul 2012 13:31:21 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id C53CB8FC19 for ; Tue, 3 Jul 2012 13:31:20 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.21]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q63DU1MK028110; Tue, 3 Jul 2012 07:30:07 -0600 From: Erich Dollansky To: Hans Petter Selasky Date: Tue, 3 Jul 2012 20:30:00 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201207010702.04213.erichfreebsdlist@ovitrap.com> <201207022032.04180.hselasky@c2i.net> In-Reply-To: <201207022032.04180.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207032030.00385.erichfreebsdlist@ovitrap.com> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 13:31:21 -0000 Hi Hans, On Tuesday, July 03, 2012 01:32:04 AM Hans Petter Selasky wrote: > On Sunday 01 July 2012 02:02:03 Erich Dollansky wrote: > > Hi, > > > > On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > > > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > > > > > You can try to look at the Linux XHCI driver, and the port switching > > > support they have. It appears that because many old OS'es does not > > > support USB 3.0 out of the box, mainboards come with EHCI + XHCI and > > > this requires some magic bit fidling, which is not in the FreeBSD XHCI > > > driver. > > > > I think that this is plain device dependent. I got meanwhile one device > > working. I used the quirks. I wonder why they are needed for 3 but not for > > 2 to make the device working. > > > > If I find the time, I will do some tests with the other devices. > > > > Erich > > Do you want me to commit that quirk you made, or do you have more quirks? this would be perfect. Here are my additions for the moment: File: usb_quirk.c USB_QUIRK(TOSHIBA, TransMemory, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(VIALabs, USB30SATABridge, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), I think that I found the 'problem' i mentioned before. It was a typo. The two lines above work now on my machine. File: usbdevs vendor VIALabs 0x2109 VIA Labs product TOSHIBA TransMemory 0x6545 USB ThumbDrive product VIALabs USB30SATABridge 0x0700 USB 3.0 SATA Bridge If you could also add this: product HUAWEI ETS2055 0x1803 CDMA modem and in u3g.c U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI), This adds support for a very rare modem manufactured by Huawei and used by an ISP in Indonesia. The modem is in use on an 8.3 machine. The two storage devices are only used since a few days as backup devices on my X220. It would be good if we find somebody else with the same devices for testing. I still have to storage devices I did not get up and running yet. Erich From owner-freebsd-usb@FreeBSD.ORG Tue Jul 3 16:38:51 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B09251065673 for ; Tue, 3 Jul 2012 16:38:51 +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 39A428FC15 for ; Tue, 3 Jul 2012 16:38:51 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 290268169; Tue, 03 Jul 2012 18:33:43 +0200 From: Hans Petter Selasky To: Erich Dollansky Date: Tue, 3 Jul 2012 18:33:40 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201207022032.04180.hselasky@c2i.net> <201207032030.00385.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207032030.00385.erichfreebsdlist@ovitrap.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207031833.40565.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 16:38:51 -0000 On Tuesday 03 July 2012 15:30:00 Erich Dollansky wrote: > Hi Hans, > > On Tuesday, July 03, 2012 01:32:04 AM Hans Petter Selasky wrote: > > On Sunday 01 July 2012 02:02:03 Erich Dollansky wrote: > > > Hi, > > > > > > On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > > > > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > > > > > > > You can try to look at the Linux XHCI driver, and the port switching > > > > support they have. It appears that because many old OS'es does not > > > > support USB 3.0 out of the box, mainboards come with EHCI + XHCI and > > > > this requires some magic bit fidling, which is not in the FreeBSD > > > > XHCI driver. > > > > > > I think that this is plain device dependent. I got meanwhile one device > > > working. I used the quirks. I wonder why they are needed for 3 but not > > > for 2 to make the device working. > > > > > > If I find the time, I will do some tests with the other devices. > > > > > > Erich > > > > Do you want me to commit that quirk you made, or do you have more quirks? > > this would be perfect. Here are my additions for the moment: > > File: usb_quirk.c > > USB_QUIRK(TOSHIBA, TransMemory, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), > USB_QUIRK(VIALabs, USB30SATABridge, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), > > I think that I found the 'problem' i mentioned before. It was a typo. The > two lines above work now on my machine. > > File: usbdevs > > vendor VIALabs 0x2109 VIA Labs > > product TOSHIBA TransMemory 0x6545 USB ThumbDrive > product VIALabs USB30SATABridge 0x0700 USB 3.0 SATA Bridge > > If you could also add this: > > product HUAWEI ETS2055 0x1803 CDMA modem > > and in u3g.c > > U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI), > > This adds support for a very rare modem manufactured by Huawei and used by > an ISP in Indonesia. > > The modem is in use on an 8.3 machine. The two storage devices are only > used since a few days as backup devices on my X220. It would be good if we > find somebody else with the same devices for testing. > > I still have to storage devices I did not get up and running yet. Ok. http://svn.freebsd.org/changeset/base/238078 http://svn.freebsd.org/changeset/base/238079 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jul 3 23:34:32 2012 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 90439106564A for ; Tue, 3 Jul 2012 23:34:32 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4122D8FC0C for ; Tue, 3 Jul 2012 23:34:32 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.21]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q63NYO7k027019; Tue, 3 Jul 2012 17:34:26 -0600 From: Erich Dollansky To: Hans Petter Selasky Date: Wed, 4 Jul 2012 06:34:22 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201207032030.00385.erichfreebsdlist@ovitrap.com> <201207031833.40565.hselasky@c2i.net> In-Reply-To: <201207031833.40565.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207040634.22641.erichfreebsdlist@ovitrap.com> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 23:34:32 -0000 Hi, On Tuesday, July 03, 2012 11:33:40 PM Hans Petter Selasky wrote: > On Tuesday 03 July 2012 15:30:00 Erich Dollansky wrote: > http://svn.freebsd.org/changeset/base/238078 > http://svn.freebsd.org/changeset/base/238079 perfect. Erich From owner-freebsd-usb@FreeBSD.ORG Wed Jul 4 21:59:04 2012 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90E9D1065670; Wed, 4 Jul 2012 21:59:04 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 63FC08FC17; Wed, 4 Jul 2012 21:59:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q64Lx4dq020937; Wed, 4 Jul 2012 21:59:04 GMT (envelope-from emaste@freefall.freebsd.org) Received: (from emaste@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q64Lx4iv020933; Wed, 4 Jul 2012 21:59:04 GMT (envelope-from emaste) Date: Wed, 4 Jul 2012 21:59:04 GMT Message-Id: <201207042159.q64Lx4iv020933@freefall.freebsd.org> To: emaste@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org From: emaste@FreeBSD.org Cc: Subject: Re: usb/116947: [ukbd] [patch] [regression] enable boot protocol on the USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 21:59:04 -0000 Synopsis: [ukbd] [patch] [regression] enable boot protocol on the USB keyboards Responsible-Changed-From-To: freebsd-usb->hselasky Responsible-Changed-By: emaste Responsible-Changed-When: Wed Jul 4 21:56:57 UTC 2012 Responsible-Changed-Why: It appears the quirk in the PR is not in HEAD or stable/9. I tested this keyboard (MS Natural 4000) on stable/9 and can confirm that the function keys do not work, and that adding the UQ_KBD_BOOTPROTO quirk manually via usbconfig makes them work. HPS, any reason this quirk shouldn't be committed? http://www.freebsd.org/cgi/query-pr.cgi?pr=116947 From owner-freebsd-usb@FreeBSD.ORG Thu Jul 5 07:06:44 2012 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 05511106564A; Thu, 5 Jul 2012 07:06:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7D28FC08; Thu, 5 Jul 2012 07:06:42 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 294846903; Thu, 05 Jul 2012 09:06:35 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Date: Thu, 5 Jul 2012 09:06:33 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201207042159.q64Lx4iv020933@freefall.freebsd.org> In-Reply-To: <201207042159.q64Lx4iv020933@freefall.freebsd.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201207050906.33568.hselasky@c2i.net> Cc: emaste@freebsd.org Subject: Re: usb/116947: [ukbd] [patch] [regression] enable boot protocol on the USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 07:06:44 -0000 On Wednesday 04 July 2012 23:59:04 emaste@freebsd.org wrote: > Synopsis: [ukbd] [patch] [regression] enable boot protocol on the USB > keyboards > > Responsible-Changed-From-To: freebsd-usb->hselasky > Responsible-Changed-By: emaste > Responsible-Changed-When: Wed Jul 4 21:56:57 UTC 2012 > Responsible-Changed-Why: > It appears the quirk in the PR is not in HEAD or stable/9. I tested this > keyboard (MS Natural 4000) on stable/9 and can confirm that the function > keys do not work, and that adding the UQ_KBD_BOOTPROTO quirk manually via > usbconfig makes them work. > > HPS, any reason this quirk shouldn't be committed? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=116947 No, I think it has just been forgotten. Please commit patch. Some parts are already there. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jul 5 23:36:26 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6BB71065775 for ; Thu, 5 Jul 2012 23:36:25 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (unknown [IPv6:2001:42d0:a:104::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8EE8FC0C for ; Thu, 5 Jul 2012 23:36:25 +0000 (UTC) Received: from igor.geek.sh (196-210-225-160.dynamic.isadsl.co.za [196.210.225.160]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id 1910C201D6 for ; Fri, 6 Jul 2012 01:36:16 +0200 (SAST) Message-ID: <4FF624EF.6080603@phat.za.net> Date: Fri, 06 Jul 2012 01:36:15 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120515 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: debugging failed USB3 device attachment X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 23:36:26 -0000 Hi, I have some hardware with a USB3 controller that is detected by xhci(4), but when I try attach a USB3 device, it fails to attach to a USB3 bus, and after timing out it connects to a USB2 bus. Here's a verbose dmesg with xhci debugging enabled from when I plug the device in: http://pastebin.com/nM8nQFg3 I've captured xhci(4)'s verbose boot time dmesg output here: http://pastebin.com/EA3k7RLE The full verbose boot dmesg is at: http://pastebin.com/Y0qKiDZg And a regular boot dmesg is at: http://pastebin.com/e3tS8eS4 I've tried tweaking a handful of BIOS options like XHCI handoff and USB transfer timeout thresholds, but nothing seems to help. Have already upgraded to the latest BIOS available too. This FreeBSD 9.0-STABLE build is about 1 week old. Any help greatly appreciated! Thanks, Aragon From owner-freebsd-usb@FreeBSD.ORG Fri Jul 6 06:59:38 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCE19106566B for ; Fri, 6 Jul 2012 06:59:38 +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 6DFFA8FC12 for ; Fri, 6 Jul 2012 06:59:38 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 297051614; Fri, 06 Jul 2012 08:54:30 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 6 Jul 2012 08:54:30 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <4FF624EF.6080603@phat.za.net> In-Reply-To: <4FF624EF.6080603@phat.za.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207060854.30174.hselasky@c2i.net> Cc: Subject: Re: debugging failed USB3 device attachment X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 06:59:38 -0000 On Friday 06 July 2012 01:36:15 Aragon Gouveia wrote: > Hi, > > I have some hardware with a USB3 controller that is detected by xhci(4), > but when I try attach a USB3 device, it fails to attach to a USB3 bus, > and after timing out it connects to a USB2 bus. Here's a verbose dmesg > with xhci debugging enabled from when I plug the device in: > > http://pastebin.com/nM8nQFg3 > > I've captured xhci(4)'s verbose boot time dmesg output here: > > http://pastebin.com/EA3k7RLE > > The full verbose boot dmesg is at: > > http://pastebin.com/Y0qKiDZg > > And a regular boot dmesg is at: > > http://pastebin.com/e3tS8eS4 > > I've tried tweaking a handful of BIOS options like XHCI handoff and USB > transfer timeout thresholds, but nothing seems to help. Have already > upgraded to the latest BIOS available too. This FreeBSD 9.0-STABLE > build is about 1 week old. > > Any help greatly appreciated! > Hi, There is some magic to switch USB ports to USB 3.0 which is not in FreeBSD yet. They have it in Linux, and you might be able to port that code to BSD and try. Also, can you post output from "pciconf -lv" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jul 7 23:22:00 2012 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 ADCCD106564A for ; Sat, 7 Jul 2012 23:22:00 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 440988FC19 for ; Sat, 7 Jul 2012 23:22:00 +0000 (UTC) Received: from igor.geek.sh (196-210-225-160.dynamic.isadsl.co.za [196.210.225.160]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id 66671201D6; Sun, 8 Jul 2012 01:21:52 +0200 (SAST) Message-ID: <4FF8C48F.8000409@phat.za.net> Date: Sun, 08 Jul 2012 01:21:51 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120515 Thunderbird/12.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4FF624EF.6080603@phat.za.net> <201207060854.30174.hselasky@c2i.net> In-Reply-To: <201207060854.30174.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: debugging failed USB3 device attachment X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2012 23:22:00 -0000 Hi Hans, On 07/06/12 08:54, Hans Petter Selasky wrote: > There is some magic to switch USB ports to USB 3.0 which is not in FreeBSD > yet. They have it in Linux, and you might be able to port that code to BSD and > try. I know some C, but very little on USB architecture. I'm curious enough to try, but a bit more direction would be helpful if you can spare some. :) > Also, can you post output from "pciconf -lv" ? Sure, and pardon my delay: http://pastebin.com/Gxgv7W2F BTW, is this behaviour BIOS related? I recently setup another machine that had Intel's Z77 USB3 controller, and I don't remember having these issues when attaching the same USB3 device... Thanks, Aragon