From owner-freebsd-usb@FreeBSD.ORG  Sun Feb 23 16:58:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8194DD68
 for <freebsd-usb@freebsd.org>; Sun, 23 Feb 2014 16:58:16 +0000 (UTC)
Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de
 [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1B710D8
 for <freebsd-usb@freebsd.org>; Sun, 23 Feb 2014 16:58:15 +0000 (UTC)
Received: from outgoing.leidinger.net (pD9FBB92C.dip0.t-ipconnect.de
 [217.251.185.44])
 by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 7128F844009;
 Sun, 23 Feb 2014 17:57:49 +0100 (CET)
Received: from unknown (Titan.Leidinger.net [192.168.1.17])
 by outgoing.leidinger.net (Postfix) with ESMTP id 196E43DEE;
 Sun, 23 Feb 2014 17:57:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net;
 s=outgoing-alex; t=1393174666;
 bh=zxPrVWYFV9AK42hbPP+F3C9+XitnCOPnSheVFkXxej8=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References;
 b=LLo+Hp0P8gcuNPAvDwFKqNTm2jGOEPtf9N6Blnqd99WtJ2EsdhsLn7TiDDwofp9CE
 jpPYHkYmjSujInMMINYpoFzm027K03pxkE8SqOCjnuBuli1Uihj9c5X/BA8tdaznQ6
 58yZtQsdBNuK3JthN4lYvjbkfk/U9Jdh5IXlaxdGkczsg2XlcERFoU7SObI1U95MDs
 qvwez2Zr1E7g5QpfZCNiRmXM8W2lcTOaNI4hCqzVxHXSpuKKEqhdoDlDDjft5FBn11
 RNQciK+fLTx2QwvSHGVzr7rtP0YgtfRVvFALA2G6N/1tXToOJv7GL4mEN+h+Yq9j/U
 zZSayFpotgdWQ==
Date: Sun, 23 Feb 2014 17:57:42 +0100
From: Alexander Leidinger <Alexander@Leidinger.net>
To: "Julian H. Stacey" <jhs@berklix.com>
Subject: Re: Reiner SCT RFID unknown device id?
Message-ID: <20140223175742.00001d19@unknown>
In-Reply-To: <201402221749.s1MHmrZK021602@fire.js.berklix.net>
References: <20140222142618.00006f9b@unknown>
 <201402221749.s1MHmrZK021602@fire.js.berklix.net>
X-Mailer: Claws Mail 3.9.2-55-g74b05b (GTK+ 2.16.6; i586-pc-mingw32msvc)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-EBL-MailScanner-Information: Please contact the ISP for more information
X-EBL-MailScanner-ID: 7128F844009.A0B9B
X-EBL-MailScanner: Found to be clean
X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN,
 SpamAssassin (not cached, score=-0.72, required 6,
 autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.22, DKIM_SIGNED 0.10,
 DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_45 0.60,
 RP_MATCHES_RCVD -0.00)
X-EBL-MailScanner-From: alexander@leidinger.net
X-EBL-MailScanner-Watermark: 1393779469.92389@PyJZkAaBI/zrqSdpeD+yzw
X-EBL-Spam-Status: No
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Feb 2014 16:58:16 -0000

On Sat, 22 Feb 2014 18:48:53 +0100
"Julian H. Stacey" <jhs@berklix.com> wrote:

> Alexander Leidinger wrote:

> > A port at
> > http://www.leidinger.net/test/pcsc-cyberjack.tar.bz2
> >=20
> > I did this port not for the RFID reader, it's for another one. It
> > may or may not work for you.
>=20
> Thanks Alexander !, I downloaded & installed on 9.2-RELEASE,

[...]

> I ran make package-recursive to make sure any dependencies are in
> place, & installed security/pcsc-tools

[...]

>  vi Info.plist
>    VendorID .. 0x0c4b same as mine
>    ProductID does not include my 0x9102
>    do a quick hack in 3 blocks to add it.

It may not be supported... did you check how it is supported in linux?

> /usr/local/etc/rc.d/pcscd restart
>  pcsc_scan
>   Waiting for the first reader...^D
>=20
> Got to stop for now.  Am I on course please ?

=46rom something I wanted to finish and publish a year ago but didn't
yet (the following is just a small excerpt):
---snip---
Then I installed security/opensc (smart card framework),
devel/libccid (card reader driver for the Aladdin eToken PRO 72k and
for my Cherry card reader), pcsc-cyberjack (a card reader driver for my
"Reiner SCT cyberJack secoder" card reader which I ported to FreeBSD
but which is not in the Ports Collection, as it does not support enough
features you expect from a card reader), security/engine_pkcs12 (a
plugin-in for OpenSSL so that it can talk directly with the smart card)
and security/gnupg with the custom config option SCDAEMON (Smartcard
daemon).

As a dependency the pcsc-lite port (smart card reader framework) is
installed, and the pkg-message tells to add some lines
to /etc/devd.conf when USB card readers shall be used (so watch out and
follow the instructions). As I am using the smart card in a jail, I had
to modify those lines so that they execute the command inside the jail
(I prefixed the command with "/usr/sbin/jexec <jailname> ").

For opensc the sample config file /usr/local/etc/openct.conf-sample has
to be copied to /usr/local/etc/openct.conf.
---snip---

The next thing in my "what I did" docs is the command which looks for
the openpgp card in the reader, so I don't have more. So check your
devd.conf for a suitable line for the pcsc-lite port.

Bye,
Alexander.

--=20
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137

From owner-freebsd-usb@FreeBSD.ORG  Mon Feb 24 11:06:59 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9D0E5B6F
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Feb 2014 11:06:59 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7F0A21634
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Feb 2014 11:06:59 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1OB6xxK027728
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Feb 2014 11:06:59 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1OB6x92027726
 for freebsd-usb@FreeBSD.org; Mon, 24 Feb 2014 11:06:59 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 24 Feb 2014 11:06:59 GMT
Message-Id: <201402241106.s1OB6x92027726@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Feb 2014 11:06:59 -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/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

328 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon Feb 24 11:20:26 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9A6A3C66;
 Mon, 24 Feb 2014 11:20:26 +0000 (UTC)
Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com
 [IPv6:2607:f8b0:400d:c01::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 49F781891;
 Mon, 24 Feb 2014 11:20:26 +0000 (UTC)
Received: by mail-qc0-f179.google.com with SMTP id r5so4022406qcx.24
 for <multiple recipients>; Mon, 24 Feb 2014 03:20:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:date:message-id:subject:from:to:content-type;
 bh=5aUA4flIMfJ/EaZqHENH3IsDbvOoDGIByoUiC+uVAn4=;
 b=rtmbcfac2LaREnz+Xw4saaSUkP1ovuytxI7bxOEY0nVIdTyKyvLmNjy8zAH8/ynBvn
 OnOuUzij8LdUO9gG4M8dNQP9BEAU7oIZowrDlsz9Htuphy121JxQDpQexf8A1vpyqgD4
 ZMNqqkporkCWFZHLttHkPtieGdCfDb0ZregkFYXBXm4c5zHYuMwk8QMmEtth2ZaYWJGi
 GimGpDUbMkSAlbVuWqAq+u6MgLDlox2a2/dftwoF/QMGFS2bLPmgsWbTf+bCaJuLLKHM
 4QFPjn29w7vm1lYciP7eXzxHmTo1rYqbxkGJnT2Sng1esKsbaAhXLIbUrlQQ4rZPUZhx
 AM7A==
MIME-Version: 1.0
X-Received: by 10.140.83.99 with SMTP id i90mr27810528qgd.100.1393240824571;
 Mon, 24 Feb 2014 03:20:24 -0800 (PST)
Sender: tomek.cedro@gmail.com
Received: by 10.229.209.69 with HTTP; Mon, 24 Feb 2014 03:20:24 -0800 (PST)
Date: Mon, 24 Feb 2014 12:20:24 +0100
X-Google-Sender-Auth: wacpHUHUn1p-obkJs8Zg9MqTbOI
Message-ID: <CAFYkXjmEYQXoL2ao3AiPX__jw9xBnjJO+68TCbcH_Kw9aGKdFg@mail.gmail.com>
Subject: VirtualBox 4.3.6 and USB Mass Storage problems
From: CeDeROM <cederom@tlen.pl>
To: freebsd-emulation@freebsd.org, 
 "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Feb 2014 11:20:26 -0000

Hello :-)

I have noticed that I am unable to work on USB memories attached to
guest system - I get various errors in different OS (i.e. Windows,
Linux, ...). I think it was possible before, and might come handy
quite often :-) Any hints apprciated :-)

Tomek

FreeBSD mercury 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan
16 22:34:59 UTC 2014
root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

pkg info virtualbox-ose
virtualbox-ose-4.3.6
Name           : virtualbox-ose
Version        : 4.3.6
Installed on   : Fri Jan 31 02:25:26 CET 2014
Origin         : emulators/virtualbox-ose
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : emulators
Licenses       : GPLv2
Maintainer     : vbox@FreeBSD.org
WWW            : http://www.virtualbox.org/
Comment        : A general-purpose full virtualizer for x86 hardware
Options        :
DBUS           : on
DEBUG          : off
GUESTADDITIONS : off
NLS            : on
PULSEAUDIO     : off
PYTHON         : on
QT4            : on
UDPTUNNEL      : on
VDE            : off
VNC            : on
VPX            : off
WEBSERVICE     : on
X11            : on

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

From owner-freebsd-usb@FreeBSD.ORG  Mon Feb 24 12:42:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C55CF54A
 for <freebsd-usb@freebsd.org>; Mon, 24 Feb 2014 12:42:44 +0000 (UTC)
Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com
 [IPv6:2607:f8b0:4003:c02::234])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 773171177
 for <freebsd-usb@freebsd.org>; Mon, 24 Feb 2014 12:42:44 +0000 (UTC)
Received: by mail-oa0-f52.google.com with SMTP id i4so7010788oah.11
 for <freebsd-usb@freebsd.org>; Mon, 24 Feb 2014 04:42:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=gcTG/4YiVQ0QnbikGU8e73tCxkta97YIweYQ7vV+ERo=;
 b=gy5wgl5H9udbWOCiFnA97RHuUmWFdB46B3OhDgKDAuwVPaLJTdSOsa//qLPQ6p3ncu
 C1qpe+5cB7L4dvECvG810cM8PgArcG8zhEbwobVbrdURamKxyebex72hN5QZOTQ2T9eB
 3kT9znTTxHtyPqQBuDwCBjl813E+RB0TQkhl0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=gcTG/4YiVQ0QnbikGU8e73tCxkta97YIweYQ7vV+ERo=;
 b=I6FjKLG7wvBosDsrz535gQfa9n7Ic/XbHzQqBk4EtrQthg/qgJq4PaW3ARQKFF6jM2
 2ytSr3SvVd/rqAEgwdjh/PutMLyzWJ5Fi6XDvmg1Ixz3FKWkbPoMGqMdpzRSkJI94r6O
 OVnF8rw7QgtCA1saPkvKm8+iXZ450fqbfBFMiGz8EKWS+5PJ/hqJcVPPbD0WqQerzjAW
 pbHl10OOMb79qPvUOCxC6mPDKjEKUg2D0e8WlquO6gtbtANJpxpwygsVGZXeA0nA8NeV
 C2XC8tvv+FFX2cj/vcyAmnpLsZnK5x5v/3OtHKITkMwVFZRzY4xRpahJgAFMt55k5Uvn
 e2bg==
X-Gm-Message-State: ALoCoQkYSfMN4GCmdr7ohUgxcjnuKlt+hPRjdX340YHwyNu8tz7Bx/gjAFIstniVFHQQr1uk8ZrX
MIME-Version: 1.0
X-Received: by 10.60.145.197 with SMTP id sw5mr21127763oeb.58.1393245763748;
 Mon, 24 Feb 2014 04:42:43 -0800 (PST)
Sender: decke@bluelife.at
Received: by 10.76.144.71 with HTTP; Mon, 24 Feb 2014 04:42:43 -0800 (PST)
X-Originating-IP: [80.123.233.199]
In-Reply-To: <CAFYkXjmEYQXoL2ao3AiPX__jw9xBnjJO+68TCbcH_Kw9aGKdFg@mail.gmail.com>
References: <CAFYkXjmEYQXoL2ao3AiPX__jw9xBnjJO+68TCbcH_Kw9aGKdFg@mail.gmail.com>
Date: Mon, 24 Feb 2014 13:42:43 +0100
X-Google-Sender-Auth: I7-fvpmKTBCE1z5aOyPKaXxVaqk
Message-ID: <CAE-m3X1K32USYSfpzu4JP+cG0-_eCB=5_Pz5xDV2J8YxymL4eQ@mail.gmail.com>
Subject: Re: VirtualBox 4.3.6 and USB Mass Storage problems
From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@FreeBSD.org>
To: CeDeROM <cederom@tlen.pl>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>,
 "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Feb 2014 12:42:44 -0000

No, USB passthrough never worked reliably. So it is not a regression
but something
that should be fixed.

On Mon, Feb 24, 2014 at 12:20 PM, CeDeROM <cederom@tlen.pl> wrote:
> Hello :-)
>
> I have noticed that I am unable to work on USB memories attached to
> guest system - I get various errors in different OS (i.e. Windows,
> Linux, ...). I think it was possible before, and might come handy
> quite often :-) Any hints apprciated :-)
>
> Tomek
>
> FreeBSD mercury 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan
> 16 22:34:59 UTC 2014
> root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>
> pkg info virtualbox-ose
> virtualbox-ose-4.3.6
> Name           : virtualbox-ose
> Version        : 4.3.6
> Installed on   : Fri Jan 31 02:25:26 CET 2014
> Origin         : emulators/virtualbox-ose
> Architecture   : freebsd:10:x86:64
> Prefix         : /usr/local
> Categories     : emulators
> Licenses       : GPLv2
> Maintainer     : vbox@FreeBSD.org
> WWW            : http://www.virtualbox.org/
> Comment        : A general-purpose full virtualizer for x86 hardware
> Options        :
> DBUS           : on
> DEBUG          : off
> GUESTADDITIONS : off
> NLS            : on
> PULSEAUDIO     : off
> PYTHON         : on
> QT4            : on
> UDPTUNNEL      : on
> VDE            : off
> VNC            : on
> VPX            : off
> WEBSERVICE     : on
> X11            : on
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
> _______________________________________________
> freebsd-emulation@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"



-- 
Bernhard Froehlich
http://www.bluelife.at/

From owner-freebsd-usb@FreeBSD.ORG  Tue Feb 25 05:59:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 660F722D;
 Tue, 25 Feb 2014 05:59:05 +0000 (UTC)
Received: from mail-pd0-x230.google.com (mail-pd0-x230.google.com
 [IPv6:2607:f8b0:400e:c02::230])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0785622DB;
 Tue, 25 Feb 2014 04:40:40 +0000 (UTC)
Received: by mail-pd0-f176.google.com with SMTP id r10so158365pdi.21
 for <multiple recipients>; Mon, 24 Feb 2014 20:40:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=swe8SN/JyaKyj+dUF2aSKp00dY5jcQoljPceAiIZ7rQ=;
 b=iojEVna4x79ybfJp1fnAxCXknRAj90Y8brHdO1MhvPI4uSbMS1C9oZepsmJFl1EoUZ
 3XYF6xT5WskOdDW98BLUHHMEYWKSiyMy4jkDHgZVrsOTVSyj2HhhIDx3HLXIibGAIE+m
 4BmbYCWxnKYS3xTRSXU2Z4xUiv+pxjSTfqCA5wb7p0ok17z6cECHL52v1qUG4OmI6CUu
 KW5hkvzsVT8rb2mH37zF5hsoVFGED7T4JAQZzxK5TdDk6vK1J+5XkApzpSVQcMMe5QKR
 6pE5TZPXOZ33EaXhriAJn7/AcUKdA7921NOviw38E/HD1MCkiJt7UXJHgqD9YO+aHl1z
 Nr0A==
MIME-Version: 1.0
X-Received: by 10.66.227.193 with SMTP id sc1mr29975483pac.102.1393303239728; 
 Mon, 24 Feb 2014 20:40:39 -0800 (PST)
Sender: kob6558@gmail.com
Received: by 10.66.15.33 with HTTP; Mon, 24 Feb 2014 20:40:39 -0800 (PST)
In-Reply-To: <CAE-m3X1K32USYSfpzu4JP+cG0-_eCB=5_Pz5xDV2J8YxymL4eQ@mail.gmail.com>
References: <CAFYkXjmEYQXoL2ao3AiPX__jw9xBnjJO+68TCbcH_Kw9aGKdFg@mail.gmail.com>
 <CAE-m3X1K32USYSfpzu4JP+cG0-_eCB=5_Pz5xDV2J8YxymL4eQ@mail.gmail.com>
Date: Mon, 24 Feb 2014 20:40:39 -0800
X-Google-Sender-Auth: SdjBbPI2W6to8D9-GRz8pcjTyyY
Message-ID: <CAN6yY1t-X4ZF95G=EtoRrQg_MHdmcLp-Dkw0HLzg9Z3to5K+nQ@mail.gmail.com>
Subject: Re: VirtualBox 4.3.6 and USB Mass Storage problems
From: Kevin Oberman <rkoberman@gmail.com>
To: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>,
 "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Feb 2014 05:59:05 -0000

On Mon, Feb 24, 2014 at 4:42 AM, Bernhard Fr=C3=B6hlich <decke@freebsd.org>=
wrote:

> No, USB passthrough never worked reliably. So it is not a regression
> but something
> that should be fixed.
>
>
>
> --
> Bernhard Froehlich
> http://www.bluelife.at/
>
>
I've had good luck with really slow devices like serial ports, but no luck
with higher-speed devices.

 IIRC, the USB support is 1.0 with no 2.0 capability. At least on other
platforms only the closed source version supports 2.0. I suspect mny faster
devices just are not happy with the low USB speeds of which VB-OSE is
capable.



--=20
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com

From owner-freebsd-usb@FreeBSD.ORG  Sun Mar  2 05:00:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BB9B9EF7
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun,  2 Mar 2014 05:00:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8BE5A1A5A
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun,  2 Mar 2014 05:00:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s22500b8005296
 for <freebsd-usb@freefall.freebsd.org>; Sun, 2 Mar 2014 05:00:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s22500RE005295;
 Sun, 2 Mar 2014 05:00:00 GMT (envelope-from gnats)
Resent-Date: Sun, 2 Mar 2014 05:00:00 GMT
Resent-Message-Id: <201403020500.s22500RE005295@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,
 Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 76661EE0
 for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2014 04:55:41 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 53F271A4B
 for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2014 04:55:41 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s224tfsa089547
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Mar 2014 04:55:41 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s224tfmw089545;
 Sun, 2 Mar 2014 04:55:41 GMT (envelope-from nobody)
Message-Id: <201403020455.s224tfmw089545@cgiserv.freebsd.org>
Date: Sun, 2 Mar 2014 04:55:41 GMT
From: Hiroo Ono <hiroo.ono+freebsd@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 05:00:00 -0000


>Number:         187188
>Category:       usb
>Synopsis:       [USB][patch] ELECOM WRH-150 needs a quirk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 02 05:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hiroo Ono
>Release:        10.0R
>Organization:
>Environment:
>Description:
Hello,

The device from ELECOM co., ltd. needs quirk to be attached as an USB ethernet device.
It is a wireless router that has an USB ethernet interface, inside
which has the REALTEK RTL8196EU.

I found the following pages that describe the device: http://www.to-link.net/ProductShow.asp?ID=132
Some devices like ASUS WL-330NUL are said to be using the same board.

output of usbconfig is as follows.

# usbconfig -d 4.3
ugen4.3: <USB Network Interface ELECOM CO., LTD.> at usbus4, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)

# usbconfig -d 4.3 dump_device_desc
ugen4.3: <USB Network Interface ELECOM CO., LTD.> at usbus4, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0002 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0bda 
  idProduct = 0x8196 
  bcdDevice = 0x0000 
  iManufacturer = 0x0001  <ELECOM CO., LTD.>
  iProduct = 0x0002  <USB Network Interface>
  iSerialNumber = 0x0003  <0090FE9832FF>
  bNumConfigurations = 0x0002 


# usbconfig -d 4.3 dump_all_config_desc
ugen4.3: <USB Network Interface ELECOM CO., LTD.> at usbus4, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0043 
    bNumInterfaces = 0x0002 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0009  <RNDIS>
    bmAttributes = 0x00c0 
    bMaxPower = 0x0032 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0002 
      bInterfaceSubClass = 0x0002 
      bInterfaceProtocol = 0x00ff 
      iInterface = 0x0006  <RNDIS Communications Control>

      Additional Descriptor

      bLength = 0x05
      bDescriptorType = 0x24
      bDescriptorSubType = 0x00
       RAW dump: 
       0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


      Additional Descriptor

      bLength = 0x05
      bDescriptorType = 0x24
      bDescriptorSubType = 0x01
       RAW dump: 
       0x00 | 0x05, 0x24, 0x01, 0x00, 0x01


      Additional Descriptor

      bLength = 0x04
      bDescriptorType = 0x24
      bDescriptorSubType = 0x02
       RAW dump: 
       0x00 | 0x04, 0x24, 0x02, 0x00


      Additional Descriptor

      bLength = 0x05
      bDescriptorType = 0x24
      bDescriptorSubType = 0x06
       RAW dump: 
       0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x000b 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 


    Interface 1
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0001 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0002 
      bInterfaceClass = 0x000a 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0004  <Ethernet Data>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0002  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



 Configuration index 1

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0050 
    bNumInterfaces = 0x0002 
    bConfigurationValue = 0x0002 
    iConfiguration = 0x0007  <CDC Ethernet>
    bmAttributes = 0x00c0 
    bMaxPower = 0x0032 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0002 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0005  <CDC Communications Control>

      Additional Descriptor

      bLength = 0x05
      bDescriptorType = 0x24
      bDescriptorSubType = 0x00
       RAW dump: 
       0x00 | 0x05, 0x24, 0x00, 0x10, 0x01


      Additional Descriptor

      bLength = 0x05
      bDescriptorType = 0x24
      bDescriptorSubType = 0x06
       RAW dump: 
       0x00 | 0x05, 0x24, 0x06, 0x00, 0x01


      Additional Descriptor

      bLength = 0x0d
      bDescriptorType = 0x24
      bDescriptorSubType = 0x0f
       RAW dump: 
       0x00 | 0x0d, 0x24, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 
       0x08 | 0xea, 0x05, 0x00, 0x00, 0x00


     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x000b 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 


    Interface 1
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0001 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0000 
      bInterfaceClass = 0x000a 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>


    Interface 1 Alt 1
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0001 
      bAlternateSetting = 0x0001 
      bNumEndpoints = 0x0002 
      bInterfaceClass = 0x000a 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0004  <Ethernet Data>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0002  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

>How-To-Repeat:

>Fix:
I have checked it on 10.0-RELEASE. The attached patch is against -current.

Patch attached with submission follows:

diff -ur usb/quirk/usb_quirk.c usb.mod/quirk/usb_quirk.c
--- usb/quirk/usb_quirk.c	2014-03-01 05:37:22.000000000 +0900
+++ usb.mod/quirk/usb_quirk.c	2014-03-01 06:12:59.000000000 +0900
@@ -95,6 +95,7 @@
 	USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS),
 	USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1),
 	USB_QUIRK(PLANEX2, MZKUE150N, 0x0000, 0xffff, UQ_CFG_INDEX_1),
+	USB_QUIRK(REALTEK, RTL8196EU, 0x0000, 0xffff, UQ_CFG_INDEX_1),
 	/* Quirks for printer devices */
 	USB_QUIRK(HP, 895C, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
 	USB_QUIRK(HP, 880C, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
diff -ur usb/usbdevs usb.mod/usbdevs
--- usb/usbdevs	2014-03-01 05:43:08.000000000 +0900
+++ usb.mod/usbdevs	2014-03-01 06:11:30.000000000 +0900
@@ -3688,6 +3688,7 @@
 product REALTEK RTL8188CU_2	0x817b	RTL8188CU
 product REALTEK RTL8187		0x8187	RTL8187 Wireless Adapter
 product REALTEK RTL8187B_0	0x8189	RTL8187B Wireless Adapter
+product REALTEK RTL8196EU	0x8196	RTL8196EU
 product REALTEK RTL8187B_1	0x8197	RTL8187B Wireless Adapter
 product REALTEK RTL8187B_2	0x8198	RTL8187B Wireless Adapter
 product REALTEK RTL8188CUS	0x818a	RTL8188CUS


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar  3 08:20:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0512BD02
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon,  3 Mar 2014 08:20:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id CB332914
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon,  3 Mar 2014 08:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s238K1Gc055521
 for <freebsd-usb@freefall.freebsd.org>; Mon, 3 Mar 2014 08:20:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s238K12R055516;
 Mon, 3 Mar 2014 08:20:01 GMT (envelope-from gnats)
Date: Mon, 3 Mar 2014 08:20:01 GMT
Message-Id: <201403030820.s238K12R055516@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@bitfrost.no>
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@bitfrost.no>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 08:20:02 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: Hans Petter Selasky <hps@bitfrost.no>
To: Hiroo Ono <hiroo.ono+freebsd@gmail.com>, 
 freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Mon, 03 Mar 2014 09:16:12 +0100

 On 03/02/14 05:55, Hiroo Ono wrote:
 >
 >> Number:         187188
 >> Category:       usb
 >> Synopsis:       [USB][patch] ELECOM WRH-150 needs a quirk
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-usb
 >> State:          open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:          change-request
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Sun Mar 02 05:00:00 UTC 2014
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Hiroo Ono
 >> Release:        10.0R
 >> Organization:
 >> Environment:
 >> Description:
 > Hello,
 >
 >> How-To-Repeat:
 >
 >> Fix:
 > I have checked it on 10.0-RELEASE. The attached patch is against -current.
 >
 > Patch attached with submission follows:
 >
 > diff -ur usb/quirk/usb_quirk.c usb.mod/quirk/usb_quirk.c
 > --- usb/quirk/usb_quirk.c	2014-03-01 05:37:22.000000000 +0900
 > +++ usb.mod/quirk/usb_quirk.c	2014-03-01 06:12:59.000000000 +0900
 > @@ -95,6 +95,7 @@
 >   	USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS),
 >   	USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1),
 >   	USB_QUIRK(PLANEX2, MZKUE150N, 0x0000, 0xffff, UQ_CFG_INDEX_1),
 > +	USB_QUIRK(REALTEK, RTL8196EU, 0x0000, 0xffff, UQ_CFG_INDEX_1),
 >   	/* Quirks for printer devices */
 >   	USB_QUIRK(HP, 895C, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
 >   	USB_QUIRK(HP, 880C, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
 > diff -ur usb/usbdevs usb.mod/usbdevs
 > --- usb/usbdevs	2014-03-01 05:43:08.000000000 +0900
 > +++ usb.mod/usbdevs	2014-03-01 06:11:30.000000000 +0900
 > @@ -3688,6 +3688,7 @@
 >   product REALTEK RTL8188CU_2	0x817b	RTL8188CU
 >   product REALTEK RTL8187		0x8187	RTL8187 Wireless Adapter
 >   product REALTEK RTL8187B_0	0x8189	RTL8187B Wireless Adapter
 > +product REALTEK RTL8196EU	0x8196	RTL8196EU
 >   product REALTEK RTL8187B_1	0x8197	RTL8187B Wireless Adapter
 >   product REALTEK RTL8187B_2	0x8198	RTL8187B Wireless Adapter
 >   product REALTEK RTL8188CUS	0x818a	RTL8188CUS
 >
 
 Hi,
 
 If you upgrade to -stable there should be an RNDIS driver in FreeBSD 
 now. Have you tried that:
 
 /boot/kernel/if_urndis.ko
 
 http://svnweb.freebsd.org/changeset/base/262362
 
 --HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar  3 11:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A3026F4A
 for <freebsd-usb@FreeBSD.org>; Mon,  3 Mar 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8179495B
 for <freebsd-usb@FreeBSD.org>; Mon,  3 Mar 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s23B6sUo008696
 for <freebsd-usb@FreeBSD.org>; Mon, 3 Mar 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s23B6shO008694
 for freebsd-usb@FreeBSD.org; Mon, 3 Mar 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 3 Mar 2014 11:06:54 GMT
Message-Id: <201403031106.s23B6shO008694@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 11:06:54 -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/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

329 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon Mar  3 16:04:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CB3C172
 for <freebsd-usb@freebsd.org>; Mon,  3 Mar 2014 16:04:16 +0000 (UTC)
Received: from mail294.us3.mcdlv.net (mail294.us3.mcdlv.net [173.231.177.38])
 by mx1.freebsd.org (Postfix) with ESMTP id 61DE9984
 for <freebsd-usb@freebsd.org>; Mon,  3 Mar 2014 16:04:16 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1;
 d=mail294.us3.mcdlv.net; 
 h=Subject:From:Reply-To:To:Date:Message-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version;
 i=info=3Dbuffalo8.com@mail294.us3.mcdlv.net; 
 bh=U70ZaobqR8zyL2h1k4DUKi79hjc=;
 b=kSCvifCBURmgqPRsnkdxLNSNLtfugPHhiGDBb15JTvT1J3J7QJrsdQIkPJ4OTM3JiEU7hmTdxA2f
 AjZnQ//I7b7ckK2YrnFOUE0maiVbJFcVllxHLs4eluhBn2eFCOvx2Nl8IIV7Da8BtFsoDIhRr5cz
 31DsUaLS8THoeRwldlA=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=mail294.us3.mcdlv.net;
 b=04CoW9zn5NkgaHE8LCqZQVzAplwW+5qUBbjEKdcsV+ADva5FrwyL8AsHspX6hEcVe6IEktPnjj//
 Hy7e9HBEwpoovE6G8BQBvKZ+ScE2sJWUd4jMtPjQuf2mFlKZDjILBZD8ZSYUGPjc4rZ3c1+/csNz
 k67unHof8E32gNz3WuI=;
Received: from (127.0.0.1) by mail294.us3.mcdlv.net id h2iito174i42 for
 <freebsd-usb@freebsd.org>;
 Mon, 3 Mar 2014 15:55:00 +0000 (envelope-from
 <bounce-mc.us3_25836143.420573-freebsd-usb=freebsd.org@mail294.us3.mcdlv.net>)
Subject: =?utf-8?Q?Buffalo=208=20=2D=20Production=20Services?=
From: =?utf-8?Q?Buffalo=208=20Productions?= <info@buffalo8.com>
To: =?utf-8?Q??= <freebsd-usb@freebsd.org>
Date: Mon, 3 Mar 2014 15:55:00 +0000
Message-ID: <a2cb4dfce33580e17ba9afa2a0af084bfaf.20140303160246@mail294.us3.mcdlv.net>
X-Mailer: MailChimp Mailer - **CID1b08837f600af084bfaf**
X-Campaign: mailchimpa2cb4dfce33580e17ba9afa2a.1b08837f60
X-campaignid: mailchimpa2cb4dfce33580e17ba9afa2a.1b08837f60
X-Report-Abuse: Please report abuse for this campaign here:
 http://www.mailchimp.com/abuse/abuse.phtml?u=a2cb4dfce33580e17ba9afa2a&id=1b08837f60&e=0af084bfaf
X-MC-User: a2cb4dfce33580e17ba9afa2a
X-Feedback-ID: 25836143:25836143.420573:us3:mc
x-accounttype: pd
Sender: "Buffalo 8 Productions" <info=buffalo8.com@mail294.us3.mcdlv.net>
x-mcda: FALSE
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: =?utf-8?Q?Buffalo=208=20Productions?= <info@buffalo8.com>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 16:04:17 -0000

**
http://bondit.us3.list-manage.com/track/click?u=3Da2cb4dfce33580e17ba9afa2=
a&id=3Deeb6f6389d&e=3D0af084bfaf

Production Services Introduction
------------------------------------------------------------
http://bondit.us3.list-manage.com/track/click?u=3Da2cb4dfce33580e17ba9afa2=
a&id=3D00e7405746&e=3D0af084bfaf
Develop.
- Strip Board Schedules
- Line Item Budgets
- Business Proposals
- Investors Packages
- Marketing Overviews
- Consulting Meetings
- Representation Rolodex
- Sales & Buyer Rolodex

http://bondit.us3.list-manage.com/track/click?u=3Da2cb4dfce33580e17ba9afa2=
a&id=3D7b68ad84c5&e=3D0af084bfaf
Produce.
- Staff Line Producers
- Directorial Roster
- Preferred Crews
- Casting Space
- Office Space
- Internal Rental Stock
- Preferred Vendor Rates
- Post Production Facility

http://bondit.us3.list-manage.com/track/click?u=3Da2cb4dfce33580e17ba9afa2=
a&id=3D63ca776c0b&e=3D0af084bfaf
Distribute.
- Sales Representation
- Major Market Attendance
- Foreign Buyer Relationships
- Festival/Release Oversight
- Lower Sales Commission
- Buyers & Sellers Rolodex
- Distribution Consulting
- Release/Festival Consutling

=E2=80=94https://twitter.com/Buffalo8Profollow us on Twitter () =E2=80=94=
 http://bondit.us3.list-manage2.com/track/click?u=3Da2cb4dfce33580e17ba9af=
a2a&id=3Dc497b87d88&e=3D0af084bfaf us on Facebook () http://bondit.u=
s3.list-manage.com/track/click?u=3Da2cb4dfce33580e17ba9afa2a&id=3Ded96379f=
db&e=3D0af084bfaf
Looking for development=2C production or distribution assistance on a feat=
ure film?
Check out www.Buffalo8.com (http://bondit.us3.list-manage.com/track/click?=
u=3Da2cb4dfce33580e17ba9afa2a&id=3De30b04f0c4&e=3D0af084bfaf) for de=
tails.
view email in browser (http://us3.campaign-archive2.com/?u=3Da2cb4dfce3358=
0e17ba9afa2a&id=3D1b08837f60&e=3D0af084bfaf) |
 unsubscribe (http://bondit.us3.list-manage.com/unsubscribe?u=3Da2cb4dfce3=
3580e17ba9afa2a&id=3D1c08343321&e=3D0af084bfaf&c=3D1b08837f60) | update your=
 profile (http://bondit.us3.list-manage.com/profile?u=3Da2cb4dfce33580e17b=
a9afa2a&id=3D1c08343321&e=3D0af084bfaf) | forward to a friend (http://us3.fo=
rward-to-friend.com/forward?u=3Da2cb4dfce33580e17ba9afa2a&id=3D1b08837f60&=
e=3D0af084bfaf)
You have done business with Buffalo 8 Productions & BondIt in the past.
BondIt
9247 Alden Drive=2C Beverly Hills=2C CA=2C United States
Beverly Hills=2C CA 90210
USA

 Email Marketing Powered by MailChimp
http://www.mailchimp.com/monkey-rewards/?utm_source=3Dfreemium_newsletter&=
utm_medium=3Demail&utm_campaign=3Dmonkey_rewards&aid=3Da2cb4dfce33580e17ba=
9afa2a&afl=3D1
Copyright (C) 2014 BondIt All rights reserved.
From owner-freebsd-usb@FreeBSD.ORG  Mon Mar  3 18:21:11 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 345D57F1;
 Mon,  3 Mar 2014 18:21:11 +0000 (UTC)
Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116])
 by mx1.freebsd.org (Postfix) with ESMTP id 4FF89946;
 Mon,  3 Mar 2014 18:21:10 +0000 (UTC)
Received: by smtp.kn-bremen.de (Postfix, from userid 10)
 id A64BB1E00807; Mon,  3 Mar 2014 19:21:09 +0100 (CET)
Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1])
 by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s23IIPDg059319;
 Mon, 3 Mar 2014 19:18:25 +0100 (CET)
 (envelope-from nox@enceladus10.kn-bremen.de)
Received: (from nox@localhost)
 by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s23IIPxq059318;
 Mon, 3 Mar 2014 19:18:25 +0100 (CET) (envelope-from nox)
From: Juergen Lock <nox@jelal.kn-bremen.de>
Date: Mon, 3 Mar 2014 19:18:25 +0100
To: Juergen Lock <nox@jelal.kn-bremen.de>
Subject: CFT #2: Re: linux libusb again, I made an updated port...
Message-ID: <20140303181825.GA59170@enceladus10.kn-bremen.de>
References: <20140207201208.GA59695@enceladus10.kn-bremen.de>
 <20140207204928.GD12994@FreeBSD.org>
 <20140208084546.GA74796@enceladus10.kn-bremen.de>
 <20140209025624.GE12994@FreeBSD.org>
 <20140209135905.GA13024@enceladus10.kn-bremen.de>
 <20140210041845.GG12994@FreeBSD.org>
 <D4F77E00-748A-4F18-AC39-3821380D13AA@FreeBSD.org>
 <20140210231109.GA54389@enceladus10.kn-bremen.de>
 <20140211195650.GI12994@FreeBSD.org>
 <20140211232048.GA91008@enceladus10.kn-bremen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20140211232048.GA91008@enceladus10.kn-bremen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: bapt@FreeBSD.org, hselasky@FreeBSD.org,
 "Wojciech A. Koszek" <wkoszek@FreeBSD.org>, freebsd-emulation@FreeBSD.org,
 "Bjoern A. Zeeb" <bz@FreeBSD.org>, freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 18:21:11 -0000

HPS found out what was wrong, the linux libusb needs to be built
with COMPAT_32BIT=YES on amd64 since the linuxolator is 32bit...
Using this packages Linux lsusb finally does something.

 So I updated the shar and package at the locations listed below,
please test! :)

 Thanx,
	Juergen

On Wed, Feb 12, 2014 at 12:20:48AM +0100, Juergen Lock wrote:
> On Tue, Feb 11, 2014 at 07:56:50PM +0000, Wojciech A. Koszek wrote:
> > On Tue, Feb 11, 2014 at 12:11:09AM +0100, Juergen Lock wrote:
> > > On Mon, Feb 10, 2014 at 11:06:27AM +0000, Bjoern A. Zeeb wrote:
> > > > 
> > > > On 10 Feb 2014, at 04:18 , Wojciech A. Koszek <wkoszek@FreeBSD.org> wrote:
> > > > 
> > > > > On nie, lut 09, 2014 at 02:59:06 +0100, Juergen Lock wrote:
> > > > >> On Sun, Feb 09, 2014 at 02:56:24AM +0000, Wojciech A. Koszek wrote:
> > > > >>> On sob, lut 08, 2014 at 09:45:46 +0100, Juergen Lock wrote:
> > > > >>>> On Fri, Feb 07, 2014 at 08:49:28PM +0000, Wojciech A. Koszek wrote:
> > > > >>>>> On pi??, lut 07, 2014 at 09:12:08 +0100, Juergen Lock wrote:
> > > > >>>>>> Hi!
> > > > >>>>>> 
> > > > >>>>>> This came up on irc so I tried to build a linux libusb port (before
> > > > >>>>>> I learned about ports/146895), mine uses linux_base-gentoo-stage3
> > > > >>>>>> like linux_kdump with a src/lib/libusb head snapshot so it's more
> > > > >>>>>> up to date than wkoszek's build (ports/146895), and it's really
> > > > >>>>>> easy to update it again.  Also maybe it can be used as linux
> > > > >>>>>> libusb-1.0.so too; I didn't actually test it tho.
> > > > >>>>>> 
> > > > >>>>>> Should this be committed?  Is wkoszek's version better since it
> > > > >>>>>> also builds on < 10.x?  Comments welcome...
> > > > >>>>>> 
> > > > >>>>>> wkoszek's version:
> > > > >>>>>> 
> > > > >>>>>> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=146895
> > > > >>>>>> 
> > > > >>>>>> Mine:
> > > > >>>>>> 
> > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/linux_libusb.shar
> > > > >>>>>> 
> > > > >>>>>> Distfile:
> > > > >>>>>> 
> > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/distfiles/linux_libusb-11.0r261448.tar.bz2
> > > > >>>>>> 
> > > > >>>>>> 10/amd64 package:
> > > > >>>>>> 
> > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448.txz
> > > > >>>>>> 
> > > > >>>>>> (built via:
> > > > >>>>>> 
> > > > >>>>>> 	poudriere bulk -v -j 10amd64 -p custom devel/linux_libusb
> > > > >>>>>> 
> > > > >>>>>> - btw for some reason the dependency emulators/linux_base-gentoo-stage3
> > > > >>>>>> doesn't build for 10i386 in poudriere bulk, I get a pkg segfault.  bapt
> > > > >>>>>> Cc'd...)
> > > > >>>>>> 
> > > > >>>>> 
> > > > >>>>> Juergen,
> > > > >>>> Hi!
> > > > >>>>> 
> > > > >>>>> What would be the reason for this update?
> > > > >>>>> 
> > > > >>>>> My stuff may be out of date, but it was all tested and working. I verified
> > > > >>>>> it with Linux'ish lsusb(1) and USB-based FPGA JTAG programmer, for which
> > > > >>>>> this stuff was written.
> > > > >>>>> 
> > > > >>>> I was just thinking an updated version may be useful, but if it's
> > > > >>>> already working for everyone maybe less so...
> > > > >>>> 
> > > > >>>> Or would it work as a linux libusb-1.0.so too?  I know the libusb 1.0
> > > > >>>> stuff added some functions since 9.x at least... maybe hps would know
> > > > >>>> (Cc'd.)
> > > > >>>> 
> > > > >>> 
> > > > >>> Juergen,
> > > > >>> 
> > > > >>> I think this package is useful and is looking for maintainer, so if you have
> > > > >>> time and energy, I'm OK with upgrading it, but I suggest testing it first.
> > > > >>> Bjoern might be interested too.
> > > > >>> 
> > > > >> You mean bz@ ?  Cc'd.  I tried testing lsusb from debian sid but it printed
> > > > >> nothing, neither with my nor with your older version, but maybe it's just
> > > > >> `too new' for our current linuxolator.
> > > > > 
> > > > > I assume you have at least 1 USB device while trying this. I don't remember
> > > > > exactly, but while trying within Linuxolator, you may need devfs/procfs to
> > > > > be mounted under Linuxolator's root directory.
> > > > 
> > > > My understanding and from looking at trace is that if we cannot find it in /compat/linux we ale search in /; so no need for an extra mount unless maybe you run chrooted.
> > > > 
> > > > 
> > > > > So you'll have to figure this out.
> > > > > 
> > > > > Does it return with 0 exit code?
> > > > > 
> > > > > If not, lsusb should be simple enough to let you place printf() all over the
> > > > > place and understand out when it's failing. 
> > > > 
> > > > For me the problem was a clock_gettime() call in the libusb which my glibc did not provide.   That made all things fail (silently) until I used linux ?rtld" tracing to see the unresolved symbol from libusb/the commercial 3rd party software dynamically loading libusb.
> > > > 
> > > And my linux_kdump ends like this:
> > > 
> > >  35607 lsusb    CALL  munmap(0x28247000,0x8000)
> > >  35607 lsusb    RET   munmap 0
> > >  35607 lsusb    CALL  linux_open(0x28090c31,0,0x28081e00)
> > >  35607 lsusb    NAMI  "/compat/linux/dev/usbctl"
> > >  35607 lsusb    NAMI  "/dev/usbctl"
> > >  35607 lsusb    RET   linux_open 3
> > >  35607 lsusb    CALL  linux_ioctl(0x3,0xffe5 ,0xffffc5d8)
> > >  35607 lsusb    RET   linux_ioctl 0
> > >  35607 lsusb    CALL  close(0x3)
> > >  35607 lsusb    RET   close 0
> > >  35607 lsusb    CALL  linux_exit_group(0x1)
> > >  35607 lsusb    UNKNOWN(11)
> > > 
> > > and the exit code is 1, so I guess it's failing on an unhandled
> > > syscall or something like that.
> > 
> > Juergen
> > 
> > Can you send the full trace with all eventual child processes? If you could
> > copy&paste:
> > 
> > 	open libusb
> > 	for each bus
> > 		for each device
> > 			open device
> > 
> > to a separate program, we could make it libusb/Linuxolator regression test.
> > This would also help us match ptrace<->line number output.
> > 
> There are no child processes and it seems it doesn't even get to
> enumerate buses, i.e. the /dev/usbctl above is the only usb-related
> thing it opens.  I've put the full kdump here:
> 
> 	http://people.freebsd.org/~nox/tmp/lsusb.kdump.txt.xz
> 
> (don't be surprised about the libz.so.1 path, the one from fc10
> was too old so I had to point LD_LIBRARY_PATH at debian's one
> I copied.)
> 
> > Which FreeBSD are you using?
> > 
>  10.0-r.
> 
> > This may indicate some relationship with
> > 
> > 	http://www.freebsd.org/cgi/query-pr.cgi?pr=141439
> > 
>  Well at least 10.0 should have that fix already.
> 
>  Maybe I can find an older (fc10?) lsusb later...
> 
>  Thanx,
> 	Juergen

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 10:49:39 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B137C741
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 10:49:39 +0000 (UTC)
Received: from nm37.bullet.mail.ne1.yahoo.com (nm37.bullet.mail.ne1.yahoo.com
 [98.138.229.30])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5117F28
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 10:49:38 +0000 (UTC)
Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:49:32 -0000
Received: from [98.138.100.112] by nm37.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:46:32 -0000
Received: from [98.137.12.56] by tm103.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:46:32 -0000
Received: from [98.137.12.211] by tm1.bullet.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 10:46:32 -0000
Received: from [127.0.0.1] by omp1019.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 10:46:32 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 641690.41981.bm@omp1019.mail.gq1.yahoo.com
Received: (qmail 81278 invoked by uid 60001); 4 Mar 2014 10:46:32 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024;
 t=1393929992; bh=ps4rd2d7WeicpgjjNlGjeWFtnfuf4QsTiB6uTeUCO3c=;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=PJSysywNTJe3iYcOCat3RsbGbxHRgrS801Dt9ZLD4FwFXMGVZ5DSXEmX5W56+Nj/ZJJGnT4RT8n1MbzyMsut8Fy0gkMTxS1MQ/O7bW/Dezp4zV3SVspX5qzeoU9NNMogwjK8Xds7U5TI1swRvSD4A6CQ3hFMrVhl6EuoXNOUiF4=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=grE+DKUsBCqjSs48XPpgnq5/zVnekaKTS89SxsaIZH5Ak0PkJ0BzNtnQgW8C5mPlfPRriM+izjowMcekWgoD3wA9UJ8QqjI32htrmpnoFLRV7YO+vvUW+yjnYR5yJV3hBBmI2ZF6srTN7NaXc7lJ0LDqtf/bBLZU+F2Ll/drZq0=;
X-YMail-OSG: 9dgYgpIVM1kYbrmrU1V0E_PV83Of2MNnBcfPTWftIj_gOXb
 Y066Y3bLDBbbsCKn8caQB0iAupCklZQ4JCXNqcMUfQ1.JUY.K1Sdczzd7vT8
 B.wY46H5KcanMoLlL29uylXRIJM8TVSxIlTO4zVY0xgvt8K46PXRQPOkTFgZ
 E_8ar9CmpBrpT8iWFUJ5AsrDr2KVzPhhzJbNtJwfuZbL3S2TNHCFvYByCa9a
 y.ILLptx4Yvg4vkuCE4fUvqSvw7B8xF5csDyhxsrVwAeaxhuOC.lfoev82gv
 .fKpfrUI_PjaeT4vQJCqgv5V5D6u5gJ53sVDcy6kZqR44EtzkJNdRyBcPFI6
 0mDc1ZddFlitvQcJwvccQzeyDhMUFspdxkSf0a8YpQiWGAtNmrc9YtjKDkhM
 3UOyxJO.PHKrocx_wpRy8p37F_fJnXYub4npeADP_Dibgt_d_j0lcqvpXD43
 5.FX7VX2aS3Iq3QKuBJJjUdFr.MlJf0oFzxCNYv7lif0IlGOXUsgr58qfBJu
 jID6ixw1L9D_G2L58P_4zW_qv3wc2ggktALCGiQVs1gjId8VRnk.9owdEGCp
 V_mSfPZctGDgbj1h6eKmVFGVKcYCoGbYqDx9OluCHPufo1g--
Received: from [192.70.171.13] by web164502.mail.gq1.yahoo.com via HTTP;
 Tue, 04 Mar 2014 02:46:32 PST
X-Rocket-MIMEInfo: 002.001,
 T24gVHVlc2RheSwgRmVicnVhcnkgMTgsIDIwMTQgMToxMyBBTSwgSGFucyBQZXR0ZXIgU2VsYXNreSA8aHBzQGJpdGZyb3N0Lm5vPiB3cm90ZToNCj4gQXJlIGFueSBvZiB0aGUgVVNCIGRldmljZXMgeW91IGhhdmUgYm91Z2h0IHNvLWNhbGxlZCAiVVNCIGNlcnRpZmllZCIsIGNhcnJ5IGEgVVNCIGxvZ28gYW5kIGFyZSByZWdpc3RlcmVkIGJ5IHVzYi5vcmc_DQoNCkhhcyBhbnlvbmUgYWN0dWFsbHkgc2VlbiBvbmUgb2YgdGhlc2UgbXl0aGljYWwgYmVhc3RzIGluIHRoZSB3aWxkPyAgSSdtIGhhdmluZyBkaWYBMAEBAQE-
X-Mailer: YahooMailClassic/432 YahooMailWebService/0.8.177.636
Message-ID: <1393929992.29422.YahooMailBasic@web164502.mail.gq1.yahoo.com>
Date: Tue, 4 Mar 2014 02:46:32 -0800 (PST)
From: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
To: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>,
 Hans Petter Selasky <hps@bitfrost.no>
In-Reply-To: <5302FA52.2010009@bitfrost.no>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 10:49:39 -0000

On Tuesday, February 18, 2014 1:13 AM, Hans Petter Selasky <hps@bitfrost.no> wrote:
> Are any of the USB devices you have bought so-called "USB certified", carry a USB logo and are registered by usb.org?

Has anyone actually seen one of these mythical beasts in the wild?  I'm having difficulty purchasing one.  Perhaps it's because I'm looking for a self-powered USB drive?  Constraints of the server room require that we not plug these things into their own outlets.

Any suggestions for buying one these things to use?  Anyone have an experience with one they can recommend?
 
[Sorry for the double-send, Hans, I missed the Reply All on the first message.]

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 10:59:29 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0B092898
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 10:59:29 +0000 (UTC)
Received: from nm31.bullet.mail.ne1.yahoo.com (nm31.bullet.mail.ne1.yahoo.com
 [98.138.229.24])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 39BA2175
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 10:59:27 +0000 (UTC)
Received: from [127.0.0.1] by nm31.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:59:24 -0000
Received: from [98.138.100.117] by nm31.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:56:40 -0000
Received: from [98.137.12.58] by tm108.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 10:56:40 -0000
Received: from [98.137.12.199] by tm3.bullet.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 10:56:40 -0000
Received: from [127.0.0.1] by omp1007.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 10:56:40 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 391637.38559.bm@omp1007.mail.gq1.yahoo.com
Received: (qmail 69497 invoked by uid 60001); 4 Mar 2014 10:56:40 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024;
 t=1393930600; bh=YHbY4AsIY7DHHFmPm1LS/D9mrT6DGUwle+kVdkrHF7s=;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=Iu8rR5pFeuqWlBGZBdydKO9iWRa/NMGEMlEedFGvlvco/1uXBeHRACM47qT9hSy2oATyvsujh4XluRzyIOG3hYe0tzRTJWJ1U+oFiUT9faLBa0TyNDM2+cU+siy5FCWOtRWFX62tbqB7OfuTczQ7RngWadD+pazK3Sn0o+ymspE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type;
 b=NJWLHZEl2vNOzNVLEvINuvfnMs+BBHS936umoUo3JDMsgz6Z1mGTWWJfQsS8Qg8yM/iV2qg25pqt8IxNOXqTZKDMM8Nm/MI2VXJMHuVKmVoVWyLCuCjfe8OmhnWZyDurTW9DFQb37xIeA7BMdTkDyrEI5zjGPymTVC4/qFPCam8=;
X-YMail-OSG: V6pBZ68VM1lkTAkiLHpxeY3qLke_.PcuoaVYhwv3uMdNMOM
 a05E5G8EZc2o1rlIfs.6egakgrZ64smQ3.yyaBsLsJ7DPP8t064vhKKRFv42
 vTMAa2zFVi_vC_GffwcLkgKr_8dicJjj.qJCS6IBJfAAz.kc6SlJGOW_JMc8
 b_HiX9_Wbz0TzSdRZz.nPqqr.CLDD90um1FVda3EnyvwdYTIiXKuCUTx7UIe
 MvXdTxWiETf_GC8mUxqIYksLOvAVS7_R4MIcRvgqWfjDszC1cPQ22fKyCREN
 0YSihgHfM1AtTV1ItG9xFNttAmwdPUiIDeLFDGkn6FzFXsAVpkd4Qy2Tlo2s
 3_5S1zgussnNBRTau2J74iHMGLRaDsGttsZAdReiHusxmc6OXOdjlc2m6SnP
 GL1CEni0i7lKyVJGjhwyISYcm9bkUuLTlWCIvs74mCUFyX5WdvOAwwkxVZQ_
 pxw7ZtZNCKbl_1JTiv1c992ZK0TvvlvErdTOV7Wsd0UZ4NR5hRSUSMVRNXIt
 lKvohAydso411MADDok8xUZsPAN2ejEb0Ed1cOJPuycJv_IA16uKfBAumsMz
 P99F.0k7gip9I_Rdoq0XuVQa6RuFraf1zUTUK40noaddH
Received: from [192.70.171.13] by web164504.mail.gq1.yahoo.com via HTTP;
 Tue, 04 Mar 2014 02:56:40 PST
X-Rocket-MIMEInfo: 002.001,
 T24gVHVlLCAzLzQvMTQsIFZlbGNybyBMZWFmIDx2ZWxjcm9sZWFmQHJvY2tldG1haWwuY29tPiB3cm90ZToNCj4gT24gVHVlc2RheSwgRmVicnVhcnkgMTgsIDIwMTQgMToxMyBBTSwgSGFucyBQZXR0ZXIgU2VsYXNreSA8aHBzQGJpdGZyb3N0Lm5vPiB3cm90ZToNCj4.IEFyZSBhbnkgb2YgdGhlIFVTQiBkZXZpY2VzIHlvdSBoYXZlIGJvdWdodCBzby1jYWxsZWQgIlVTQiBjZXJ0aWZpZWQiLCBjYXJyeSBhIFVTQiBsb2dvIGFuZCBhcmUgcmVnaXN0ZXJlZCBieSB1c2Iub3JnPw0KPiBBbnkgc3VnZ2VzdGlvbnMBMAEBAQE-
X-Mailer: YahooMailClassic/432 YahooMailWebService/0.8.177.636
Message-ID: <1393930600.85283.YahooMailBasic@web164504.mail.gq1.yahoo.com>
Date: Tue, 4 Mar 2014 02:56:40 -0800 (PST)
From: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
To: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>,
 Hans Petter Selasky <hps@bitfrost.no>
In-Reply-To: <1393929992.29422.YahooMailBasic@web164502.mail.gq1.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 10:59:29 -0000

On Tue, 3/4/14, Velcro Leaf <velcroleaf@rocketmail.com> wrote:
> On Tuesday, February 18, 2014 1:13 AM, Hans Petter Selasky <hps@bitfrost.no> wrote:
>> Are any of the USB devices you have bought so-called "USB certified", carry a USB logo and are registered by usb.org?
> Any suggestions for buying one these things to use? Anyone have an experience with one they can recommend?

Although, I suppose the more important question is...even if something is "USB certified", is it REALLY going to work?

Just because it SHOULD work, WOULD it work?  If all certified means is that I theoretically could win a prolonged debate with either FreeBSD contributors or the drive manufacturer, then it hardly matters.  Being right on the Internet is worth less than nothing.

I just want to buy half a dozen self-powered USB drives and have them work with multiple architectures (i386 and amd64) using the same recent, stable version of FreeBSD.  Any advice to help me accomplish this goal?


From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 11:39:18 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0BFBB595
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 11:39:18 +0000 (UTC)
Received: from mail-bk0-x231.google.com (mail-bk0-x231.google.com
 [IPv6:2a00:1450:4008:c01::231])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 917367BA
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 11:39:17 +0000 (UTC)
Received: by mail-bk0-f49.google.com with SMTP id my13so170046bkb.36
 for <freebsd-usb@freebsd.org>; Tue, 04 Mar 2014 03:39:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to
 :mime-version:content-type:content-transfer-encoding;
 bh=MbLcsI168ERNvoPU4zV6ANm/KU7t2ltpL5FCiMOA9NY=;
 b=NbbuQOI4RL9U785GEVQwxV7ojBZCRMfMfRWB3H4BJuKeAi2vsI1voSqgeOSEva6goE
 iWuLr8rT8LPC6uDk24v5OdcT5TVKgppwA+/dRJGyw6cFUnxja2OgoUgdqqbcGrQ+THpK
 t6BEVbPQYWezLbS//jOIcBJME6+LBZZM0ljVawwZkr7P83Rywxmzc2MKd3jOTQM3MVqF
 w2oyC5q+TLXFihd8sO7nEDdGYH0JCH+WKv8vdYvEfcrnFpqY3h+kOXWIBPsrQWZwhNKh
 O9qdWoUMEdfyDbxd18y+9MPTyQxTz+CDdkMRRCuSGfuMX109gaowYBmPKjvvxBw5e55B
 pEbA==
X-Received: by 10.205.108.137 with SMTP id ec9mr453841bkc.76.1393933155733;
 Tue, 04 Mar 2014 03:39:15 -0800 (PST)
Received: from ernst.home (p4FCA7272.dip0.t-ipconnect.de. [79.202.114.114])
 by mx.google.com with ESMTPSA id f11sm827931bkj.6.2014.03.04.03.39.13
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 04 Mar 2014 03:39:14 -0800 (PST)
Date: Tue, 4 Mar 2014 12:39:12 +0100
From: Gary Jennejohn <gljennjohn@gmail.com>
To: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
Message-ID: <20140304123912.08829e26@ernst.home>
In-Reply-To: <1393930600.85283.YahooMailBasic@web164504.mail.gq1.yahoo.com>
References: <1393929992.29422.YahooMailBasic@web164502.mail.gq1.yahoo.com>
 <1393930600.85283.YahooMailBasic@web164504.mail.gq1.yahoo.com>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.17; amd64-portbld-freebsd11.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: gljennjohn@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 11:39:18 -0000

On Tue, 4 Mar 2014 02:56:40 -0800 (PST)
Velcro Leaf <velcroleaf@rocketmail.com> wrote:

> On Tue, 3/4/14, Velcro Leaf <velcroleaf@rocketmail.com> wrote:
> > On Tuesday, February 18, 2014 1:13 AM, Hans Petter Selasky <hps@bitfrost.no> wrote:
> >> Are any of the USB devices you have bought so-called "USB certified", carry a USB logo and are registered by usb.org?
> > Any suggestions for buying one these things to use? Anyone have an experience with one they can recommend?
> 

> Although, I suppose the more important question is...even if
> something is "USB certified", is it REALLY going to work?
> 
> Just because it SHOULD work, WOULD it work?  If all certified
> means is that I theoretically could win a prolonged debate with
> either FreeBSD contributors or the drive manufacturer, then it
> hardly matters.  Being right on the Internet is worth less than
> nothing.
> 
> I just want to buy half a dozen self-powered USB drives and
> have them work with multiple architectures (i386 and amd64)
> using the same recent, stable version of FreeBSD.  Any advice
> to help me accomplish this goal?
> 

I have two 1TB USB3 external drives from Toshiba (laptop drives in a
plastic enclosure) which work with both FreeBSD and Windows7.

Since they're USB3 there's no problem with powering them.  Transfer
rates on the order of 90 MB/s.

Here's what's on the sticker:

www.toshibastorage.com
v63700-C 1TB
P/N: HDTB110EK3BA

Don't know whether these are still available.  Seems to me I bought
them cheap on eBay or amazon.

-- 
Gary Jennejohn


From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 11:47:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B6435B2E
 for <freebsd-usb@FreeBSD.org>; Tue,  4 Mar 2014 11:47:20 +0000 (UTC)
Received: from alogt.com (alogt.com [69.36.191.58])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8E61588F
 for <freebsd-usb@FreeBSD.org>; Tue,  4 Mar 2014 11:47:20 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com;
 s=default; 
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date;
 bh=o5CV1zl34Tr2Smd1wKYu/+rCyRBY5L1Ewz5AsKTQ5ZU=; 
 b=xJkAvX7WSYC0eRp2Qk01k5Zw1ClhLkNw92ZuNpuyADrdsVnB0mu/qgfgMU1ba4m3xkn8Z4LWB4DbEnpVwjudGyKhXkO/Bye2DTvxnaB2DuBM2wSnMRiv71bJbXQviuzral8oe8ImqJHR3pzlNUkFqDjDJJ2/w9IpNViuLdlXh7Q=;
Received: from [39.208.92.7] (port=11230 helo=X220.alogt.com)
 by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128)
 (Exim 4.82) (envelope-from <erich@alogt.com>)
 id 1WKnoX-001kyv-KD; Tue, 04 Mar 2014 04:47:14 -0700
Date: Tue, 4 Mar 2014 19:47:09 +0800
From: Erich Dollansky <erich@alogt.com>
To: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
Message-ID: <20140304194709.3421b152@X220.alogt.com>
In-Reply-To: <1392702874.11017.YahooMailNeo@web164504.mail.gq1.yahoo.com>
References: <1392702874.11017.YahooMailNeo@web164504.mail.gq1.yahoo.com>
Organization: ALO Green Technologies
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net
X-AntiAbuse: Original Domain - freebsd.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - alogt.com
X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id:
 erich@alogt.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 11:47:20 -0000

Hi,

just buy cheap USB cases and put any drive you want in. Of course, some
of the cases are better and same are worse then other. But how much
money will you lose. As you can use then drives which fit into your
other hardware, you can even exchange them in case of a problem.

Erich

On Mon, 17 Feb 2014 21:54:34 -0800 (PST) Velcro
Leaf <velcroleaf@rocketmail.com> wrote:

> I'm trying to get off tape drives and move to USB drives for backups,
> however circumstances are making this impossible.
>=20
> Does anyone have a suggestion for a known 1TB external USB drive,
> powered through the USB cable, that consistently works with FreeBSD,
> and has for some time?
>=20
> I've gone through half a dozen models of such drives and each time I
> find one that works properly on each of our servers, I try to buy a
> few more to make a complete cycle.=A0 Invariably, however, I can no
> longer purchase the same model, or I can get the same model, but it
> is invisibly different at purchase-time (eg, with new firmware that
> doesn't work with FreeBSD).
>=20
>=20
> I've tried to work through the quirks process with you guys, but it
> hasn't been successful, and eventually I suppose it's not considered
> enough of a problem to fix, probably because in a few weeks there
> will be a brand new version that doesn't work, in a different way.
>=20
> I know that these drives are all tested with Windows before shipping,
> and that's why they work with Windows, but is there any plan, on
> either the hardware or FreeBSD side of things to deal with this
> issue?=A0 I've been working on and off on the problem for about a year,
> and if anything, things are getting worse.
>=20
> -Leif
>=20
> _______________________________________________
> freebsd-usb@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"


From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 12:20:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 98484711
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 82C6CBAB
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s24CK1lQ009201
 for <freebsd-usb@freefall.freebsd.org>; Tue, 4 Mar 2014 12:20:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s24CK1RD009200;
 Tue, 4 Mar 2014 12:20:01 GMT (envelope-from gnats)
Date: Tue, 4 Mar 2014 12:20:01 GMT
Message-Id: <201403041220.s24CK1RD009200@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: =?ISO-2022-JP?B?SGlyb28gT25vICgbJEI+LkxuNDJAOBsoQik=?=
 <hiroo.ono+freebsd@gmail.com>
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: =?ISO-2022-JP?B?SGlyb28gT25vICgbJEI+LkxuNDJAOBsoQik=?=
 <hiroo.ono+freebsd@gmail.com>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 12:20:01 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: =?ISO-2022-JP?B?SGlyb28gT25vICgbJEI+LkxuNDJAOBsoQik=?= <hiroo.ono+freebsd@gmail.com>
To: Hans Petter Selasky <hps@bitfrost.no>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Tue, 4 Mar 2014 21:15:42 +0900

 Hi,
 
 I have tried with stable r262711, and it is recognized as umodem0,
 same as with 10.0R.
 
 ugen4.3: <ELECOM CO., LTD.> at usbus4
 umodem0: <RNDIS COmmunications Control> on usbus4
 umodem0: data interface 1, has no CM over data, has no break
 
 This device is a NAT router, which has a (wired) ethernet interface
 for the WAN side.
 For the LAN side, it has a wireless interface and a USB interface.
 The USB interface has 2 configuration indexes.
 
 The config index 0 is recognized as umodem0, and config index 1 is
 recognized as ue0.
 For the usual case, I want it to be recognized as ue, which need a
 quirk to set the
 config index to 1.
 
 The user manual of this device says that, when I plug in the device to
 windows PC,
 the driver installation starts, and then it is recognized as an USB
 ethernet device.
 So, similar setting should be used for Windows.
 I do not know what the umodem of config index 0 is for. hrs@ who suggested me to
 use the quirk speculated that it might be used to update the firmware,
 but not sure.
 
 2014-03-03 17:16 GMT+09:00 Hans Petter Selasky <hps@bitfrost.no>:
 
 > If you upgrade to -stable there should be an RNDIS driver in FreeBSD now.
 > Have you tried that:
 >
 > /boot/kernel/if_urndis.ko
 >
 > http://svnweb.freebsd.org/changeset/base/262362
 >
 > --HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 12:30:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CF5E9AD8
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:30:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id BD019CA9
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:30:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s24CU2eX012148
 for <freebsd-usb@freefall.freebsd.org>; Tue, 4 Mar 2014 12:30:02 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s24CU2f2012147;
 Tue, 4 Mar 2014 12:30:02 GMT (envelope-from gnats)
Date: Tue, 4 Mar 2014 12:30:02 GMT
Message-Id: <201403041230.s24CU2f2012147@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@bitfrost.no>
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@bitfrost.no>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 12:30:02 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: Hans Petter Selasky <hps@bitfrost.no>
To: hiroo.ono+freebsd@gmail.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Tue, 04 Mar 2014 13:30:01 +0100

 On 03/04/14 13:15, Hiroo Ono (小野寛生) wrote:
 > Hi,
 >
 > I have tried with stable r262711, and it is recognized as umodem0,
 > same as with 10.0R.
 >
 > ugen4.3: <ELECOM CO., LTD.> at usbus4
 > umodem0: <RNDIS COmmunications Control> on usbus4
 > umodem0: data interface 1, has no CM over data, has no break
 >
 > This device is a NAT router, which has a (wired) ethernet interface
 > for the WAN side.
 > For the LAN side, it has a wireless interface and a USB interface.
 > The USB interface has 2 configuration indexes.
 >
 > The config index 0 is recognized as umodem0, and config index 1 is
 > recognized as ue0.
 > For the usual case, I want it to be recognized as ue, which need a
 > quirk to set the
 > config index to 1.
 >
 > The user manual of this device says that, when I plug in the device to
 > windows PC,
 > the driver installation starts, and then it is recognized as an USB
 > ethernet device.
 > So, similar setting should be used for Windows.
 > I do not know what the umodem of config index 0 is for. hrs@ who suggested me to
 > use the quirk speculated that it might be used to update the firmware,
 > but not sure.
 >
 > 2014-03-03 17:16 GMT+09:00 Hans Petter Selasky <hps@bitfrost.no>:
 >
 >> If you upgrade to -stable there should be an RNDIS driver in FreeBSD now.
 >> Have you tried that:
 >>
 >> /boot/kernel/if_urndis.ko
 >>
 >> http://svnweb.freebsd.org/changeset/base/262362
 >>
 >> --HPS
 
 Hi,
 
 I understand, sounds good. I thought it was providing a USB RNDIS 
 ethernet interface and not a modem by looking at the USB descriptors you 
 sent.
 
 --HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 12:40:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B3E4BF7E
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 87E25DCD
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  4 Mar 2014 12:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s24Ce2pU014955
 for <freebsd-usb@freefall.freebsd.org>; Tue, 4 Mar 2014 12:40:02 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s24Ce2ln014954;
 Tue, 4 Mar 2014 12:40:02 GMT (envelope-from gnats)
Date: Tue, 4 Mar 2014 12:40:02 GMT
Message-Id: <201403041240.s24Ce2ln014954@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/187188: commit references a PR
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dfilter service <dfilter@FreeBSD.ORG>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 12:40:02 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/187188: commit references a PR
Date: Tue,  4 Mar 2014 12:33:26 +0000 (UTC)

 Author: hselasky
 Date: Tue Mar  4 12:33:18 2014
 New Revision: 262732
 URL: http://svnweb.freebsd.org/changeset/base/262732
 
 Log:
   Add new quirk.
   
   MFC after:	1 week
   PR:		usb/187188
   Submitted by:	Hiroo Ono <hiroo.ono+freebsd@gmail.com>
 
 Modified:
   head/sys/dev/usb/quirk/usb_quirk.c
   head/sys/dev/usb/usbdevs
 
 Modified: head/sys/dev/usb/quirk/usb_quirk.c
 ==============================================================================
 --- head/sys/dev/usb/quirk/usb_quirk.c	Tue Mar  4 11:43:01 2014	(r262731)
 +++ head/sys/dev/usb/quirk/usb_quirk.c	Tue Mar  4 12:33:18 2014	(r262732)
 @@ -93,6 +93,7 @@ static struct usb_quirk_entry usb_quirks
  	USB_QUIRK(TELEX, MIC1, 0x009, 0x009, UQ_AU_NO_FRAC),
  	USB_QUIRK(SILICONPORTALS, YAPPHONE, 0x100, 0x100, UQ_AU_INP_ASYNC),
  	USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS),
 +	USB_QUIRK(REALTEK, RTL8196EU, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(PLANEX2, MZKUE150N, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	/* Quirks for printer devices */
 
 Modified: head/sys/dev/usb/usbdevs
 ==============================================================================
 --- head/sys/dev/usb/usbdevs	Tue Mar  4 11:43:01 2014	(r262731)
 +++ head/sys/dev/usb/usbdevs	Tue Mar  4 12:33:18 2014	(r262732)
 @@ -3688,6 +3688,7 @@ product REALTEK RTL8188CU_1	0x817a	RTL81
  product REALTEK RTL8188CU_2	0x817b	RTL8188CU
  product REALTEK RTL8187		0x8187	RTL8187 Wireless Adapter
  product REALTEK RTL8187B_0	0x8189	RTL8187B Wireless Adapter
 +product REALTEK RTL8196EU	0x8196	RTL8196EU
  product REALTEK RTL8187B_1	0x8197	RTL8187B Wireless Adapter
  product REALTEK RTL8187B_2	0x8198	RTL8187B Wireless Adapter
  product REALTEK RTL8188CUS	0x818a	RTL8188CUS
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar  4 15:40:36 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F052EEA8
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 15:40:35 +0000 (UTC)
Received: from nm38.bullet.mail.ne1.yahoo.com (nm38.bullet.mail.ne1.yahoo.com
 [98.138.229.31])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id B09AA3B9
 for <freebsd-usb@freebsd.org>; Tue,  4 Mar 2014 15:40:35 +0000 (UTC)
Received: from [127.0.0.1] by nm38.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 15:40:28 -0000
Received: from [98.138.100.116] by nm38.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 15:37:35 -0000
Received: from [98.137.12.189] by tm107.bullet.mail.ne1.yahoo.com with NNFMP;
 04 Mar 2014 15:37:35 -0000
Received: from [216.39.60.206] by tm10.bullet.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 15:37:35 -0000
Received: from [127.0.0.1] by omp1093.mail.gq1.yahoo.com with NNFMP;
 04 Mar 2014 15:37:35 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 324900.12680.bm@omp1093.mail.gq1.yahoo.com
Received: (qmail 57892 invoked by uid 60001); 4 Mar 2014 15:37:35 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024;
 t=1393947454; bh=dsd4OGhG4/a1r85Xn3BK/vivUwREKvSvpv5xX79PkgQ=;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
 b=xr4BRiFLwepBzbinIazBwfjPKtUdCfNA1CjDKyv4kk2vEf25uyk12lssz7HM8jzHBXM8NQhNxiyrjz/5kHpXywbASQTd30ww1cGZO16Bd4Nigzmpj+WD0Pz79q4jNsSuwXOBRCK7YudFChXakAp8paAl2HkcTt9AEiBk1qLeV3Q=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com;
 h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
 b=JuoF654uzWPwz6fFLX550m99U83nJA0wK9vACUldLXB5iRiFKi8OkhJSYRWs48KPl7bKxXriOKC0qAYQcCvguB1/jR35X1Z4mx8umICNrn/CJGXjqJ5WLgS0cR5TM4B+F4Zc1b4oEiAc3bLAlwQURA2a5zoADw7x3gTt4iZ85pU=;
X-YMail-OSG: JeloTvMVM1nAj9iivdWbfqipQxS9AM17PBFeqEmr1imdkDB
 Xo1yYzubLuNeyFCwTehTMkQxFEoNdN.hIcaPf2C4racHcO6wqDlJaDXw808.
 DoXLvhnhtoZyhIsQJxQJIdmNgeMmmRatTuvF8BdddrnqKnG05ggBnQ54M53U
 eUSB8OJ_rE8quXkktVn8rio_Yzv4Zn5nx2BNDN7eZhVEVj0NEbWXBIYFVNn1
 zBH0qYJ5BGHjhS6TYNstnzL9P1hX1no01Nf_0BU3FymZ8Qfeq6UBkoItBnQm
 W2NtOQ4gBPRbA00kOgEiIw3qUpSKCO1zd3Qbk1nAO43IvvM6B.ORcXC.An5u
 O_KIkQHw_hGrnVt66TNj3n9dISh31E84wx_z8dR2xhfxCNPq4egVoj3ghVLc
 daca4VyeaVpsB0QbLqgDLga739vWSdMhTxx.kQonrlyTHsWNhThtA.eQIOOh
 1iVKirsF._8Mk3Cf_TDOzyA4UEII943oWsXWQt.d9QWlMEiYpcRQsUgWjl5U
 micbUDlYsBBrc1hVOjgU3flz.Ebe7M.WDPESsVHA6aBdAwbQ-
Received: from [74.229.13.174] by web164505.mail.gq1.yahoo.com via HTTP;
 Tue, 04 Mar 2014 07:37:34 PST
X-Rocket-MIMEInfo: 002.001,
 T24gVHVlLCAzLzQvMTQsIEVyaWNoIERvbGxhbnNreSA8ZXJpY2hAYWxvZ3QuY29tPiB3cm90ZToNCj4ganVzdCBidXkgY2hlYXAgVVNCIGNhc2VzIGFuZCBwdXQgYW55IGRyaXZlIHlvdSB3YW50IGluLg0KDQpXaWxsIHRoaXMgcmVzdWx0IGluIGEgcXVpcmtsZXNzIGluc3RhbGxhdGlvbiwgb3Igd2lsbCBJIGp1c3QgYmUgbW92aW5nIHRoZSBwcm9ibGVtIGZhcnRoZXIgZG93biB0aGUgY2FibGU_ICBJZiBhbGwgZHJpdmVzIHdpbGwgYmVoYXZlIHRoZW1zZWx2ZXMsIHRoZW4gcGVyaGFwcyB0aGlzIHRydWx5IGkBMAEBAQE-
X-Mailer: YahooMailClassic/432 YahooMailWebService/0.8.177.636
Message-ID: <1393947454.18188.YahooMailBasic@web164505.mail.gq1.yahoo.com>
Date: Tue, 4 Mar 2014 07:37:34 -0800 (PST)
From: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
To: Erich Dollansky <erich@alogt.com>, gljennjohn@gmail.com
In-Reply-To: <20140304194709.3421b152@X220.alogt.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 15:40:36 -0000

On Tue, 3/4/14, Erich Dollansky <erich@alogt.com> wrote:
> just buy cheap USB cases and put any drive you want in.

Will this result in a quirkless installation, or will I just be moving the problem farther down the cable?  If all drives will behave themselves, then perhaps this truly is the best option.

Seems like all the other drives I've purchased are technically just laptop drives in a plastic case, but maybe a case designed for swapping in and out unspecified drives will be more universal.

Thanks for the tip.

On Tue, 3/4/14, Gary Jennejohn <gljennjohn@gmail.com> wrote:
> I have two 1TB USB3 external drives from Toshiba (laptop drives in a plastic enclosure) which work with both FreeBSD and Windows7.
>
> Don't know whether these are still available.  Seems to me I bought them cheap on eBay or amazon.

The issue I'm running into is consistent availability.  I want to get one, test it, then get maybe half a dozen more once I'm sure it works, and have the option to get a few down the road as replacements/additions are necessary.  They don't all have to be the same model, but we need the ability to just buy more when needed, not start the experimentation phase again.

I suppose that's a tall order, but maybe the external swap case will solve the problem.

Thanks to both of you for the input!

Leif


From owner-freebsd-usb@FreeBSD.ORG  Wed Mar  5 00:26:10 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4BBDC1C4
 for <freebsd-usb@FreeBSD.org>; Wed,  5 Mar 2014 00:26:10 +0000 (UTC)
Received: from alogt.com (alogt.com [69.36.191.58])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1D1B416F
 for <freebsd-usb@FreeBSD.org>; Wed,  5 Mar 2014 00:26:10 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com;
 s=default; 
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date;
 bh=+o7VWkrG96G2iE8h8q+0ppfhYxoA/EVjob01nCdbGIY=; 
 b=r0LZY44aSEsogtDt7BTJqGNiH2gp0bufPTBRH2GHjoE/euDq39lnIv3rrwkvvMDeh0P6FsaSUNdArjbdjpEA6EdmAo1at32lNZqUeMcFhu4iIVSzFEcsbC7a/pblDKwyzto+T4eDmq7gDKzeAfm0eVNFWE5b07JURbwjK4W5ENE=;
Received: from [39.209.12.82] (port=28263 helo=X220.alogt.com)
 by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128)
 (Exim 4.82) (envelope-from <erichsfreebsdlist@alogt.com>)
 id 1WKzey-0015G4-M9; Tue, 04 Mar 2014 17:26:09 -0700
Date: Wed, 5 Mar 2014 08:26:01 +0800
From: Erich Dollansky <erichsfreebsdlist@alogt.com>
To: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
Message-ID: <20140305082601.5589a64d@X220.alogt.com>
In-Reply-To: <1393947454.18188.YahooMailBasic@web164505.mail.gq1.yahoo.com>
References: <20140304194709.3421b152@X220.alogt.com>
 <1393947454.18188.YahooMailBasic@web164505.mail.gq1.yahoo.com>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net
X-AntiAbuse: Original Domain - freebsd.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - alogt.com
X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id:
 erichsfreebsdlist@alogt.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: gljennjohn@gmail.com, "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 00:26:10 -0000

Hi,

On Tue, 4 Mar 2014 07:37:34 -0800 (PST)
Velcro Leaf <velcroleaf@rocketmail.com> wrote:

> On Tue, 3/4/14, Erich Dollansky <erich@alogt.com> wrote:
> > just buy cheap USB cases and put any drive you want in.
> 
> Will this result in a quirkless installation, or will I just be
> moving the problem farther down the cable?  If all drives will behave
> themselves, then perhaps this truly is the best option.
> 
> Seems like all the other drives I've purchased are technically just
> laptop drives in a plastic case, but maybe a case designed for
> swapping in and out unspecified drives will be more universal.
> 
there is one chip in the case which is important. Some behave
strangely. If you really get a case which is not supported, get a new
one as it is not much money. The drive is still yours and is not
affected. A side effect is that you can choose the drive.

> Thanks for the tip.
> 
> On Tue, 3/4/14, Gary Jennejohn <gljennjohn@gmail.com> wrote:
> > I have two 1TB USB3 external drives from Toshiba (laptop drives in
> > a plastic enclosure) which work with both FreeBSD and Windows7.
> >
> > Don't know whether these are still available.  Seems to me I bought
> > them cheap on eBay or amazon.
> 
> The issue I'm running into is consistent availability.  I want to get
> one, test it, then get maybe half a dozen more once I'm sure it
> works, and have the option to get a few down the road as
> replacements/additions are necessary.  They don't all have to be the
> same model, but we need the ability to just buy more when needed, not
> start the experimentation phase again.
> 
> I suppose that's a tall order, but maybe the external swap case will
> solve the problem.

Do not think of swapping. Just buy the number of cases you will need. I
go currently for something called 'rock'. It might be over the top for
you as the case comes with a small bag making it look like a wallet.
This is important for me as an extra protection while travelling. If
you need them just in the office, it is a waste of extra money.

I buy them always in the same shop. If something would be really wrong,
I can give them back. 

Erich

From owner-freebsd-usb@FreeBSD.ORG  Wed Mar  5 22:20:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 991073A4
 for <freebsd-usb@freebsd.org>; Wed,  5 Mar 2014 22:20:57 +0000 (UTC)
Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.83])
 by mx1.freebsd.org (Postfix) with ESMTP id 592146A1
 for <freebsd-usb@freebsd.org>; Wed,  5 Mar 2014 22:20:57 +0000 (UTC)
Received: from filter.sfr.fr (localhost [127.0.0.1])
 by msfrf2419.sfr.fr (SMTP Server) with ESMTP id 2E2F27000054
 for <freebsd-usb@freebsd.org>; Wed,  5 Mar 2014 23:15:30 +0100 (CET)
Received: from sfr.fr (unknown [186.235.149.98])
 by msfrf2419.sfr.fr (SMTP Server) with ESMTP id 6965A70000BF
 for <freebsd-usb@freebsd.org>; Wed,  5 Mar 2014 23:15:23 +0100 (CET)
X-SFR-UUID: 20140305221523431.6965A70000BF@msfrf2419.sfr.fr
From: annehaase <annehaase@aol.com>
To: Freebsd Usb <freebsd-usb@freebsd.org>
Subject: How Are You?
Date: Wed, 5 Mar 2014 23:15:09 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609
Message-Id: <20140305221523.6965A70000BF@msfrf2419.sfr.fr>
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 22:20:57 -0000

 
  
   
     
     
            
     
     

http://lmc-partners.com/modules/mod_araticlhess/cnnnews.php?ckrbrhr1534gkwpc



























    \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
    


   
Philosophy of life: Eat every cookie as if it's the LAST cookie!


    
 
        
From owner-freebsd-usb@FreeBSD.ORG  Fri Mar  7 14:08:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B5BCDD72
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:08:05 +0000 (UTC)
Received: from land.berklix.org (land.berklix.org [144.76.10.75])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 44DC92EA
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:08:05 +0000 (UTC)
Received: from mart.js.berklix.net (p5DCBC2C4.dip0.t-ipconnect.de
 [93.203.194.196]) (authenticated bits=128)
 by land.berklix.org (8.14.5/8.14.5) with ESMTP id s27E73P1020917;
 Fri, 7 Mar 2014 14:07:03 GMT (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s27E6blW010927;
 Fri, 7 Mar 2014 15:06:44 +0100 (CET) (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.5/8.14.5) with ESMTP id s27CvivL009813;
 Fri, 7 Mar 2014 14:00:16 +0100 (CET) (envelope-from jhs@berklix.com)
Message-Id: <201403071300.s27CvivL009813@fire.js.berklix.net>
To: freebsd-usb@freebsd.org
Subject: USB flash memory stick works on 8.3-rel, fails on 9.2 & 10.0
From: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com BSD Linux Unix Consultants, Munich Germany
User-agent: EXMH on FreeBSD http://www.berklix.com/free/
X-URL: http://www.berklix.com/~jhs/cv/
Date: Fri, 07 Mar 2014 13:57:44 +0100
Cc: "Julian H. Stacey" <jhs@berklix.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Mar 2014 14:08:05 -0000

A 16G USB flash memory stick here works with 8.3-RELEASE but fails (on same
PC & port) to create /dev/da* on FreeBSD-9 & 10. (devd running on all3)
What should I change for the stick ?
What can we change on FreeBSD so similar devices dont fail ?

On 8.3-RELEASE LED stays on, dev/da* appera, & can mount,.
On 9.2 & 10.0- Releases, the LED flashes faster than a whirling dervish,
but no /dev/da*

9.2-RELEASE shows:
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 ugen1.3: <USB2.0> at usbus1 (disconnected)
 umass0: at uhub3, port 1, addr 3 (disconnected)
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
 (da0:umass-sim0:0:0:0): got CAM status 0x44
 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
 (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 5 refs
 (da0:umass-sim0:0:0:0): removing device entry
 ugen1.3: <USB2.0> at usbus1
 umass0: <USB2.0 DISK, class 0/0, rev 2.00/1.00, addr 3> on usbus1
 umass0:  SCSI over Bulk-Only; quirks = 0x0100
 umass0:2:0:-1: Attached to scbus2
 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
 da0: <USB2.0 DISK 0.00> Removable Direct Access SCSI-4 device 
 da0: 40.000MB/s transfers
 da0: 15015MB (30750720 512 byte sectors: 255H 63S/T 1914C)
 da0: quirks=0x2<NO_6_BYTE>

10.0-RELEASE on same PC shows similar, as does another 9.2 PC

9.2 devd -d does start doing the right thing eg:
 Processing event '+umass0 at bus=2 hubaddr=1 port=1 devaddr=3
 interface=0 vendor=0x048d product=0x1170 devclass=0x00 devsubclass=0x00
 sernum="0000000004DA3CC3" release=0x0100 mode=host intclass=0x08
 intsubclass=0x06 intprotocol=0x50  on uhub2'

 Executing 'sleep 4; rm -f /devusb/hama16g; ln -s /dev/`echo
 umass0|sed -e s/umass/da/`s1 /devusb/hama16g;mkdir /media/hama16g;
 chmod 777 /media/hama16g; chown jhs:staff /media/hama16g;
 `/site/usr/local/bin/fsck.sh` -y -t msdosfs /devusb/hama16g;mount
 -t msdosfs /devusb/hama16g /media/hama16g'
 Can't stat /devusb/hama16g
 ** /devusb/hama16g
 Can't open `/devusb/hama16g'
 mount_msdosfs: /devusb/hama16g:

My /devusb/hama16g@ -> /dev/da0s1 (works for other sticks) is left
dangling as no /dev/da* to point to.

2nd PC usbconfig shows:
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)

( BTW Seems a lot of power for a stick ?  A same size 16G USB3 stick (on
same USB 2 socket) reports ugen5.2: <Mass Storage Device JetFlash>
at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA), & the
USB3 stick mounts OK. )

usbconfig -u 5 -a 2 do_request 0x81 0x06 0x2200 0 0x100 # copied from man.
REQUEST = <ERROR>

usbconfig -u 5 -a 2 dump_curr_config_desc
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)

 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0020 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0080 
    bMaxPower = 0x00f0 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0002 
      bInterfaceClass = 0x0008 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0050 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0001 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0001 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

usbconfig -u 5 -a 2 dump_device_desc
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x048d 
  idProduct = 0x1170 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <retrieving string failed>
  iProduct = 0x0002  <retrieving string failed>
  iSerialNumber = 0x0003  <retrieving string failed>
  bNumConfigurations = 0x0001 

usbconfig -u 5 -a 2  power_on
ls /dev/da*
	ls: No match.
xs usbconfig -u 5 -a 2  power_off
	shell hangs

Per man usb_quirk, I tried a reboot with usb_quirk_load="YES" in
/boot/loader.conf , did not help.

Rebooted with 8.3-RELEASE, stick works.

BTW This "Hama" stick is a very lightly used device, not worn out,
In case anyone else has one to try, it's:
Product code 34 090894, 10 Euro from Mueller, Munich, Germany 2012_10_11 
Cardboard marked USB2 6 MB/sec Bar Code 4 047443 144492.

Cheers,
Julian
- -- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
		Boycott Putin's Russia, invaders of Ukraine

From owner-freebsd-usb@FreeBSD.ORG  Fri Mar  7 14:08:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E8501DA6
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:08:19 +0000 (UTC)
Received: from land.berklix.org (land.berklix.org [144.76.10.75])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 766972EF
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:08:19 +0000 (UTC)
Received: from mart.js.berklix.net (p5DCBC2C4.dip0.t-ipconnect.de
 [93.203.194.196]) (authenticated bits=128)
 by land.berklix.org (8.14.5/8.14.5) with ESMTP id s27E7Hpk020939
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 14:07:17 GMT
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s27E6blm010927
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 15:06:58 +0100 (CET)
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.5/8.14.5) with ESMTP id s2730VFj074641
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 04:03:03 +0100 (CET)
 (envelope-from jhs@berklix.com)
Message-Id: <201403070303.s2730VFj074641@fire.js.berklix.net>
To: freebsd-usb@freebsd.org
Subject: Is USB stick dead ? Would someone like it to investigate ?
From: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com BSD Linux Unix Consultants, Munich Germany
User-agent: EXMH on FreeBSD http://www.berklix.com/free/
X-URL: http://www.berklix.com/~jhs/cv/
Date: Fri, 07 Mar 2014 04:00:31 +0100
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Mar 2014 14:08:20 -0000

I have a "Hama" USB stick, 16G that creates no /dev/da* any more, though
it used to (tested on 2 PCs).  Maybe it's dead ? The LED still flashes.  Or just
gone weird ? Something I could fix with some CAM magic ? 
Is it exhibit strangeness worthy of someone debugging ?  (for
the sake of FreeSBD, not the stick) in which case I could post it to
whoever fancies improving FreeBSD ?  (No valuable data on it).

9.2-RELEASE shows:
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 ugen1.3: <USB2.0> at usbus1 (disconnected)
 umass0: at uhub3, port 1, addr 3 (disconnected)
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 d5 37 fe 00 00 01 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Retrying command
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00 
 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
 (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
 (da0:umass-sim0:0:0:0): got CAM status 0x44
 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
 (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 5 refs
 (da0:umass-sim0:0:0:0): removing device entry
 ugen1.3: <USB2.0> at usbus1
 umass0: <USB2.0 DISK, class 0/0, rev 2.00/1.00, addr 3> on usbus1
 umass0:  SCSI over Bulk-Only; quirks = 0x0100
 umass0:2:0:-1: Attached to scbus2
 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
 da0: <USB2.0 DISK 0.00> Removable Direct Access SCSI-4 device 
 da0: 40.000MB/s transfers
 da0: 15015MB (30750720 512 byte sectors: 255H 63S/T 1914C)
 da0: quirks=0x2<NO_6_BYTE>

10.0 similar

devd -d does start doing the right thing eg:
 Processing event '+umass0 at bus=2 hubaddr=1 port=1 devaddr=3
 interface=0 vendor=0x048d product=0x1170 devclass=0x00 devsubclass=0x00
 sernum="0000000004DA3CC3" release=0x0100 mode=host intclass=0x08
 intsubclass=0x06 intprotocol=0x50  on uhub2'

 Executing 'sleep 4; rm -f /devusb/hama16g; ln -s /dev/`echo
 umass0|sed -e s/umass/da/`s1 /devusb/hama16g;mkdir /media/hama16g;
 chmod 777 /media/hama16g; chown jhs:staff /media/hama16g;
 `/site/usr/local/bin/fsck.sh` -y -t msdosfs /devusb/hama16g;mount
 -t msdosfs /devusb/hama16g /media/hama16g'
 Can't stat /devusb/hama16g
 ** /devusb/hama16g
 Can't open `/devusb/hama16g'
 mount_msdosfs: /devusb/hama16g:

My /devusb/hama16g@ -> /dev/da0s1 (works for other sticks) is left
dangling as no /dev/da* to point to.

2nd PC usbconfig shows:
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)
(seems a lot of power for a stick)

(A same size 16G USB3 stick (on same USB 2 socket) reports
ugen5.2: <Mass Storage Device JetFlash> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
(& the USB3 stick mounts OK))

usbconfig -u 5 -a 2 do_request 0x81 0x06 0x2200 0 0x100
REQUEST = <ERROR>

usbconfig -u 5 -a 2 dump_curr_config_desc
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)

 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0020 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0080 
    bMaxPower = 0x00f0 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0002 
      bInterfaceClass = 0x0008 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0050 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0001 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0001 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

usbconfig -u 5 -a 2 dump_device_desc
ugen5.2: <DISK USB2.0> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (480mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x048d 
  idProduct = 0x1170 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <retrieving string failed>
  iProduct = 0x0002  <retrieving string failed>
  iSerialNumber = 0x0003  <retrieving string failed>
  bNumConfigurations = 0x0001 

usbconfig -u 5 -a 2  power_on
ls /dev/da*
	ls: No match.
xs usbconfig -u 5 -a 2  power_off
	shell hangs

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
		Boycott Putin's Russia, invaders of Ukraine

From owner-freebsd-usb@FreeBSD.ORG  Fri Mar  7 14:21:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A51D7125
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:21:41 +0000 (UTC)
Received: from land.berklix.org (land.berklix.org [144.76.10.75])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 32BA863A
 for <freebsd-usb@freebsd.org>; Fri,  7 Mar 2014 14:21:40 +0000 (UTC)
Received: from mart.js.berklix.net (p5DCBD1C3.dip0.t-ipconnect.de
 [93.203.209.195]) (authenticated bits=128)
 by land.berklix.org (8.14.5/8.14.5) with ESMTP id s27EKcec021518
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 14:20:39 GMT
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s27EKK13011465
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 15:20:20 +0100 (CET)
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.5/8.14.5) with ESMTP id s27EK8YM002174
 for <freebsd-usb@freebsd.org>; Fri, 7 Mar 2014 15:20:20 +0100 (CET)
 (envelope-from jhs@berklix.com)
Message-Id: <201403071420.s27EK8YM002174@fire.js.berklix.net>
cc: freebsd-usb@freebsd.org
Subject: Re: Is USB stick dead ? Would someone like it to investigate ?
From: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany
User-agent: EXMH on FreeBSD http://berklix.com/free/
X-URL: http://www.berklix.com
In-reply-to: Your message "Fri, 07 Mar 2014 04:00:31 +0100."
 <201403070303.s2730VFj074641@fire.js.berklix.net>
Date: Fri, 07 Mar 2014 15:20:08 +0100
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Mar 2014 14:21:41 -0000

"Julian H. Stacey" wrote:
> I have a "Hama" USB stick, 16G that creates no /dev/da* any more, though

Sorry all, please do not answer this thread with
 Subject: Is USB stick dead ? Would someone like it to investigate ?
Its an old mail that I thought had failed to send. Seems it just got stuck 
my end & made it out, obsolete

My revised mail I would appreciate replies to has a slightly different subject:
 Subject: USB flash memory stick works on 8.3-rel, fails on 9.2 & 10.0

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Interleave replies below like a play script.  Indent old text with "> ".
 Send plain text, not quoted-printable, HTML, base64, or multipart/alternative.
		Boycott Putin's Russia, invaders of Ukraine.

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar 10 11:06:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 729E91D8
 for <freebsd-usb@FreeBSD.org>; Mon, 10 Mar 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5416B824
 for <freebsd-usb@FreeBSD.org>; Mon, 10 Mar 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2AB6trx043395
 for <freebsd-usb@FreeBSD.org>; Mon, 10 Mar 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2AB6soU043393
 for freebsd-usb@FreeBSD.org; Mon, 10 Mar 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 10 Mar 2014 11:06:54 GMT
Message-Id: <201403101106.s2AB6soU043393@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Mar 2014 11:06:55 -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/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

329 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Wed Mar 12 08:40:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5C334439
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 12 Mar 2014 08:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4A56FC13
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 12 Mar 2014 08:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2C8e26e048591
 for <freebsd-usb@freefall.freebsd.org>; Wed, 12 Mar 2014 08:40:02 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2C8e2CK048590;
 Wed, 12 Mar 2014 08:40:02 GMT (envelope-from gnats)
Date: Wed, 12 Mar 2014 08:40:02 GMT
Message-Id: <201403120840.s2C8e2CK048590@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/187188: commit references a PR
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dfilter service <dfilter@FreeBSD.ORG>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 08:40:02 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/187188: commit references a PR
Date: Wed, 12 Mar 2014 08:30:26 +0000 (UTC)

 Author: hselasky
 Date: Wed Mar 12 08:30:18 2014
 New Revision: 263075
 URL: http://svnweb.freebsd.org/changeset/base/263075
 
 Log:
   MFC r262732:
   Add new quirk.
   
   PR:		usb/187188
 
 Modified:
   stable/9/sys/dev/usb/quirk/usb_quirk.c
 Directory Properties:
   stable/9/sys/   (props changed)
   stable/9/sys/dev/   (props changed)
 
 Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c
 ==============================================================================
 --- stable/9/sys/dev/usb/quirk/usb_quirk.c	Wed Mar 12 08:26:49 2014	(r263074)
 +++ stable/9/sys/dev/usb/quirk/usb_quirk.c	Wed Mar 12 08:30:18 2014	(r263075)
 @@ -93,6 +93,7 @@ static struct usb_quirk_entry usb_quirks
  	USB_QUIRK(TELEX, MIC1, 0x009, 0x009, UQ_AU_NO_FRAC),
  	USB_QUIRK(SILICONPORTALS, YAPPHONE, 0x100, 0x100, UQ_AU_INP_ASYNC),
  	USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS),
 +	USB_QUIRK(REALTEK, RTL8196EU, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(PLANEX2, MZKUE150N, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	/* Quirks for printer devices */
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Wed Mar 12 08:40:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6D95B438
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 12 Mar 2014 08:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 42A85C0E
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 12 Mar 2014 08:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2C8e1ee048585
 for <freebsd-usb@freefall.freebsd.org>; Wed, 12 Mar 2014 08:40:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2C8e1wg048584;
 Wed, 12 Mar 2014 08:40:01 GMT (envelope-from gnats)
Date: Wed, 12 Mar 2014 08:40:01 GMT
Message-Id: <201403120840.s2C8e1wg048584@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/187188: commit references a PR
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dfilter service <dfilter@FreeBSD.ORG>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 08:40:01 -0000

The following reply was made to PR usb/187188; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/187188: commit references a PR
Date: Wed, 12 Mar 2014 08:32:14 +0000 (UTC)

 Author: hselasky
 Date: Wed Mar 12 08:32:01 2014
 New Revision: 263076
 URL: http://svnweb.freebsd.org/changeset/base/263076
 
 Log:
   MFC r262732:
   Add new quirk.
   
   PR:             usb/187188
 
 Modified:
   stable/10/sys/dev/usb/quirk/usb_quirk.c
   stable/10/sys/dev/usb/usbdevs
 Directory Properties:
   stable/10/   (props changed)
 
 Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c
 ==============================================================================
 --- stable/10/sys/dev/usb/quirk/usb_quirk.c	Wed Mar 12 08:30:18 2014	(r263075)
 +++ stable/10/sys/dev/usb/quirk/usb_quirk.c	Wed Mar 12 08:32:01 2014	(r263076)
 @@ -93,6 +93,7 @@ static struct usb_quirk_entry usb_quirks
  	USB_QUIRK(TELEX, MIC1, 0x009, 0x009, UQ_AU_NO_FRAC),
  	USB_QUIRK(SILICONPORTALS, YAPPHONE, 0x100, 0x100, UQ_AU_INP_ASYNC),
  	USB_QUIRK(LOGITECH, UN53B, 0x0000, 0xffff, UQ_NO_STRINGS),
 +	USB_QUIRK(REALTEK, RTL8196EU, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(ELSA, MODEM1, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	USB_QUIRK(PLANEX2, MZKUE150N, 0x0000, 0xffff, UQ_CFG_INDEX_1),
  	/* Quirks for printer devices */
 
 Modified: stable/10/sys/dev/usb/usbdevs
 ==============================================================================
 --- stable/10/sys/dev/usb/usbdevs	Wed Mar 12 08:30:18 2014	(r263075)
 +++ stable/10/sys/dev/usb/usbdevs	Wed Mar 12 08:32:01 2014	(r263076)
 @@ -3659,6 +3659,7 @@ product REALTEK RTL8188CU_1	0x817a	RTL81
  product REALTEK RTL8188CU_2	0x817b	RTL8188CU
  product REALTEK RTL8187		0x8187	RTL8187 Wireless Adapter
  product REALTEK RTL8187B_0	0x8189	RTL8187B Wireless Adapter
 +product REALTEK RTL8196EU	0x8196	RTL8196EU
  product REALTEK RTL8187B_1	0x8197	RTL8187B Wireless Adapter
  product REALTEK RTL8187B_2	0x8198	RTL8187B Wireless Adapter
  product REALTEK RTL8188CUS	0x818a	RTL8188CUS
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Wed Mar 12 11:47:26 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D833CD11;
 Wed, 12 Mar 2014 11:47:26 +0000 (UTC)
Received: from gazoz.arved.priv.at (gazoz.arved.priv.at
 [IPv6:2a02:180:1:1::551f:ba88])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6BB74F9D;
 Wed, 12 Mar 2014 11:47:26 +0000 (UTC)
Received: from elma.local.arved.priv.at (inek.arved.priv.at [78.142.160.182])
 (authenticated bits=0)
 by gazoz.arved.priv.at (8.14.7/8.14.7) with ESMTP id s2CBlFbA092773
 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NOT);
 Wed, 12 Mar 2014 12:47:21 +0100 (CET)
 (envelope-from arved@FreeBSD.org)
Subject: Re: Reiner SCT RFID unknown device id?
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: =?iso-8859-1?Q?Tilman_Keskin=F6z?= <arved@FreeBSD.org>
In-Reply-To: <201402221749.s1MHmrZK021602@fire.js.berklix.net>
Date: Wed, 12 Mar 2014 12:47:15 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <6C1100A4-DC5E-4DAF-ACB2-16C01991713E@FreeBSD.org>
References: <201402221749.s1MHmrZK021602@fire.js.berklix.net>
To: "Julian H. Stacey" <jhs@berklix.com>
X-Mailer: Apple Mail (2.1085)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 11:47:26 -0000

Hi,=20

On Feb 22, 2014, at 18:48 , Julian H. Stacey wrote:
>>>> On 02/17/14 16:54, Mathias Picker wrote:
>>>>> I just found a used Reiner SCT RFID
>>>>> =
(http://www.reiner-sct.com/produkte/chipkartenleser/cyberJack_RFID_standar=
d.html)
>>>>> and bought it, hoping I could get it to work in FreeBSD.
>>=20
>> A port at
>> http://www.leidinger.net/test/pcsc-cyberjack.tar.bz2
>>=20
>> I did this port not for the RFID reader, it's for another one. It may
>> or may not work for you.
>=20
> Thanks Alexander !, I downloaded & installed on 9.2-RELEASE,
>=20
> I reduced files/* long rooted names to eg
> --- ifd/Makefile.in.orig        2013-01-19 23:47:28.016736517 +0100
> +++ ifd/Makefile.in     2013-01-19 23:48:19.870759570 +0100
> copies in
> =
http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/security/pcsc-=
cyberjack/
>=20
> I ran make package-recursive to make sure any dependencies are in =
place,
> & installed security/pcsc-tools
>=20
> pcsc_scan
> PC/SC device scanner
> V 1.4.21 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
> Compiled with PC/SC lite version: 1.8.8
> SCardEstablishContext: Service not available.

Try to run pcscd in foreground:

sudo pcscd -df

Usually the daemon says more detailed why the Service is not available.

I have seen a Reiner SCT reader somewhere in the office, will also try =
to play with this next week.


From owner-freebsd-usb@FreeBSD.ORG  Fri Mar 14 07:22:22 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 85F5D4C7
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 07:22:22 +0000 (UTC)
Received: from ns1.allunix.ru (mail.allunix.ru [85.118.230.76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id EE3C9CB8
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 07:22:21 +0000 (UTC)
Received: from gamer (clips.allunix.ru [85.118.230.78] (may be forged))
 by ns1.allunix.ru (8.14.4/8.14.4) with ESMTP id s2E89LgP009800
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 14:09:21 +0600 (NOVT)
 (envelope-from admin@allunix.ru)
X-AntiVirus: Checked by Dr.Web [version: 8.0.7.07121, engine: 8.3.0.10280,
 virus records: 5036531, updated: 14.03.2014]
Message-ID: <5322AE1E.6020407@allunix.ru>
Date: Fri, 14 Mar 2014 14:22:06 +0700
From: Admin <admin@allunix.ru>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: freebsd-usb@freebsd.org
Subject: VIA Cardbus USB
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 07:22:22 -0000

Hello all.

I have a two-port PCMCIA USB 2.0 card exactly like this:

http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-font-b-2-0-b-font-font-b-Cardbus.jpg

It works in Linux for my USB mouse and keyboard, so now I am trying to 
use it in FreeBSD.

This is how it is detected by pciconf -lv:

uhci0@pci0:7:0:0: class=0x0c0300 card=0x30381106 chip=0x30381106 
rev=0x61 hdr=0x00
vendor = 'VIA Technologies, Inc.'
device = 'VT82xxxxx UHCI USB 1.1 Controller'
class = serial bus
subclass = USB
uhci1@pci0:7:0:1: class=0x0c0300 card=0x30381106 chip=0x30381106 
rev=0x61 hdr=0x00
vendor = 'VIA Technologies, Inc.'
device = 'VT82xxxxx UHCI USB 1.1 Controller'
class = serial bus
subclass = USB
ehci0@pci0:7:0:2: class=0x0c0320 card=0x31041106 chip=0x31041106 
rev=0x63 hdr=0x00
vendor = 'VIA Technologies, Inc.'
device = 'USB 2.0'
class = serial bus
subclass = USB

And this is what I see during boot:

Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
     root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz 686-class 
CPU)
   Origin = "AuthenticAMD"  Id = 0x40f82  Family = 0xf  Model = 0x48 
Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x2001<SSE3,CX16>
   AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
   AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
real memory  = 3221225472 (3072 MB)
avail memory = 2743922688 (2616 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, 1000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
attimer0: Can't map interrupt.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem 
0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1
vgapci0: Boot video device
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pcib2: failed to allocate initial I/O port window: 0-0xfff
pcib2: failed to allocate initial memory window: 0-0xfffff
pcib2: failed to allocate initial prefetch window: 0-0xfffff
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pcib3: failed to allocate initial I/O port window: 0-0xfff
pcib3: failed to allocate initial memory window: 0-0xfffff
pci4: <ACPI PCI bus> on pcib3
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP400 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 
on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 at 
device 20.2 on pci0
hdac0: Device stuck in reset
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci6: <ACPI PCI bus> on pcib4
rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 
0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:d4:55:3d:e8
ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0 on pci6
ath0: AR2413 mac 7.8 RF2413 phy 4.5
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at device 
4.0 on pci6
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci6: <memory, flash> at device 4.1 (no driver attached)
sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at device 
4.2 on pci6
sdhci_pci0: 1 slot(s) allocated
pci6: <memory, flash> at device 4.3 (no driver attached)
sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
sdhci_pci1: 1 slot(s) allocated
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid 
ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
powernow0: <PowerNow! K8> on cpu0
powernow1: <PowerNow! K8> on cpu1
Timecounters tick every 1.000 msec
random: unblocking device.
cardbus0: Expecting link target, got 0xff
cardbus0: Expecting link target, got 0xff
uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at device 
0.0 on cardbus0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <ST98823A 3.06> ATA-6 device
ada0: Serial Number 5PK2AD2Y
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
cd0 at ata0 bus 0 scbus0 target 1 lun 0
cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
cd0: Serial Number FIDL384431WL
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [1131986 x 2048 byte records]
SMP: AP CPU #1 Launched!
usbus0: controller did not reset
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
cardbus0: Expecting link target, got 0xff
cardbus0: Expecting link target, got 0xff
uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at device 
0.1 on cardbus0
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
usbus1: controller did not reset
usbus1 on uhci1
usbus1: 12Mbps Full Speed USB v1.0
cardbus0: Expecting link target, got 0xff
cardbus0: Expecting link target, got 0xff
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff irq 20 
at device 0.2 on cardbus0
ehci0: VIA-quirk applied
usbus2: EHCI version 1.0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
usbus2 on ehci0
usbus2: 480Mbps High Speed USB v2.0
ugen2.1: <VIA> at usbus2
uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub2: 4 ports with 4 removable, self powered
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
uhci_interrupt: resume detect
uhci_interrupt: host system error
uhci_interrupt: host controller process error
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
Trying to mount root from ufs:/dev/ada0p2 [rw]...
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
wlan0: Ethernet address: 00:16:cf:89:cf:e0
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1


I see that when nothing is plugged in those USB ports on the card.

When I plug something in (like keyboard and mouse), it is not detected 
and does not work.

usbconfig just hangs, not reacting to ctrl+c until I unplug the card. 
Then it unhags and states the right EHCI device.

Where should I start looking?

From owner-freebsd-usb@FreeBSD.ORG  Fri Mar 14 07:41:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DB03CE74
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 07:41:42 +0000 (UTC)
Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202])
 by mx1.freebsd.org (Postfix) with ESMTP id 7CFDCE91
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 07:41:42 +0000 (UTC)
Received: from mail.lockless.no (mail.lockless.no [46.29.221.38])
 by mta05.bitpro.no (Postfix) with ESMTPS id C094317FC8F;
 Fri, 14 Mar 2014 08:41:34 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by mail.lockless.no (Postfix) with ESMTP id 96A9C8F03F3;
 Fri, 14 Mar 2014 08:41:28 +0100 (CET)
X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no
Received: from mail.lockless.no ([127.0.0.1])
 by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id nkhsoDKRfx4h; Fri, 14 Mar 2014 08:41:28 +0100 (CET)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 by mail.lockless.no (Postfix) with ESMTPSA id 4E1EA8EF964;
 Fri, 14 Mar 2014 08:41:28 +0100 (CET)
Message-ID: <5322B2E0.7090905@bitfrost.no>
Date: Fri, 14 Mar 2014 08:42:24 +0100
From: Hans Petter Selasky <hps@bitfrost.no>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Admin <admin@allunix.ru>, freebsd-usb@freebsd.org
Subject: Re: VIA Cardbus USB
References: <5322AE1E.6020407@allunix.ru>
In-Reply-To: <5322AE1E.6020407@allunix.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 07:41:42 -0000

On 03/14/14 08:22, Admin wrote:
> Hello all.
>
> I have a two-port PCMCIA USB 2.0 card exactly like this:
>
> http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-font-b-2-0-b-font-font-b-Cardbus.jpg
>
>
> It works in Linux for my USB mouse and keyboard, so now I am trying to
> use it in FreeBSD.
>
> This is how it is detected by pciconf -lv:
>
> uhci0@pci0:7:0:0: class=0x0c0300 card=0x30381106 chip=0x30381106
> rev=0x61 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> device = 'VT82xxxxx UHCI USB 1.1 Controller'
> class = serial bus
> subclass = USB
> uhci1@pci0:7:0:1: class=0x0c0300 card=0x30381106 chip=0x30381106
> rev=0x61 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> device = 'VT82xxxxx UHCI USB 1.1 Controller'
> class = serial bus
> subclass = USB
> ehci0@pci0:7:0:2: class=0x0c0320 card=0x31041106 chip=0x31041106
> rev=0x63 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> device = 'USB 2.0'
> class = serial bus
> subclass = USB
>
> And this is what I see during boot:
>
> Copyright (c) 1992-2013 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>          The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
>      root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz 686-class
> CPU)
>    Origin = "AuthenticAMD"  Id = 0x40f82  Family = 0xf  Model = 0x48
> Stepping = 2
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>
>    Features2=0x2001<SSE3,CX16>
>    AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>    AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
> real memory  = 3221225472 (3072 MB)
> avail memory = 2743922688 (2616 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: <PTLTD          APIC  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 1 package(s) x 2 core(s)
>   cpu0 (BSP): APIC ID:  0
>   cpu1 (AP): APIC ID:  1
> MADT: Forcing active-low polarity and level trigger for SCI
> ioapic0 <Version 2.1> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> random: <Software, Yarrow> initialized
> acpi0: <PTLTD   RSDT> on motherboard
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, 1000 (3) failed
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> attimer0: Can't map interrupt.
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
> acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem
> 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1
> vgapci0: Boot video device
> pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
> pcib2: failed to allocate initial I/O port window: 0-0xfff
> pcib2: failed to allocate initial memory window: 0-0xfffff
> pcib2: failed to allocate initial prefetch window: 0-0xfffff
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
> pcib3: failed to allocate initial I/O port window: 0-0xfff
> pcib3: failed to allocate initial memory window: 0-0xfffff
> pci4: <ACPI PCI bus> on pcib3
> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
> atapci0: <ATI IXP400 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1
> on pci0
> ata0: <ATA channel> at channel 0 on atapci0
> ata1: <ATA channel> at channel 1 on atapci0
> hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 at
> device 20.2 on pci0
> hdac0: Device stuck in reset
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
> isa0: <ISA bus> on isab0
> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
> pci6: <ACPI PCI bus> on pcib4
> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
> 0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:16:d4:55:3d:e8
> ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0 on pci6
> ath0: AR2413 mac 7.8 RF2413 phy 4.5
> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
> cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at device
> 4.0 on pci6
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> pci6: <memory, flash> at device 4.1 (no driver attached)
> sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at device
> 4.2 on pci6
> sdhci_pci0: 1 slot(s) allocated
> pci6: <memory, flash> at device 4.3 (no driver attached)
> sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
> sdhci_pci1: 1 slot(s) allocated
> acpi_tz0: <Thermal Zone> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model Generic PS/2 mouse, device ID 0
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid
> ORM0000 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> ppc0: parallel port not found.
> powernow0: <PowerNow! K8> on cpu0
> powernow1: <PowerNow! K8> on cpu1
> Timecounters tick every 1.000 msec
> random: unblocking device.
> cardbus0: Expecting link target, got 0xff
> cardbus0: Expecting link target, got 0xff
> uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at device
> 0.0 on cardbus0
> ada0 at ata0 bus 0 scbus0 target 0 lun 0
> ada0: <ST98823A 3.06> ATA-6 device
> ada0: Serial Number 5PK2AD2Y
> ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
> ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
> ada0: Previously was known as ad0
> cd0 at ata0 bus 0 scbus0 target 1 lun 0
> cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
> cd0: Serial Number FIDL384431WL
> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> cd0: cd present [1131986 x 2048 byte records]
> SMP: AP CPU #1 Launched!
> usbus0: controller did not reset
> usbus0 on uhci0
> usbus0: 12Mbps Full Speed USB v1.0
> cardbus0: Expecting link target, got 0xff
> cardbus0: Expecting link target, got 0xff
> uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at device
> 0.1 on cardbus0
> ugen0.1: <VIA> at usbus0
> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> usbus1: controller did not reset
> usbus1 on uhci1
> usbus1: 12Mbps Full Speed USB v1.0
> cardbus0: Expecting link target, got 0xff
> cardbus0: Expecting link target, got 0xff
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff irq 20
> at device 0.2 on cardbus0
> ehci0: VIA-quirk applied
> usbus2: EHCI version 1.0
> ugen1.1: <VIA> at usbus1
> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> usbus2 on ehci0
> usbus2: 480Mbps High Speed USB v2.0
> ugen2.1: <VIA> at usbus2
> uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
> uhub0: 2 ports with 2 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub2: 4 ports with 4 removable, self powered
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> uhci_interrupt: resume detect
> uhci_interrupt: host system error
> uhci_interrupt: host controller process error
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> Trying to mount root from ufs:/dev/ada0p2 [rw]...
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> wlan0: Ethernet address: 00:16:cf:89:cf:e0
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>
>
> I see that when nothing is plugged in those USB ports on the card.
>
> When I plug something in (like keyboard and mouse), it is not detected
> and does not work.
>
> usbconfig just hangs, not reacting to ctrl+c until I unplug the card.
> Then it unhags and states the right EHCI device.
>
> Where should I start looking?

Hi,

This might sound like an IRQ problem, that the device is not generating 
any interrupts. You can fake interrupts by using a timer/callout to see 
if that is the real problem.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Fri Mar 14 08:08:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BF942CE1
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 08:08:57 +0000 (UTC)
Received: from ns1.allunix.ru (mail.allunix.ru [85.118.230.76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3230415B
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 08:08:56 +0000 (UTC)
Received: from gamer (clips.allunix.ru [85.118.230.78] (may be forged))
 by ns1.allunix.ru (8.14.4/8.14.4) with ESMTP id s2E8ttR3010081;
 Fri, 14 Mar 2014 14:55:55 +0600 (NOVT)
 (envelope-from admin@allunix.ru)
X-AntiVirus: Checked by Dr.Web [version: 8.0.7.07121, engine: 8.3.0.10280,
 virus records: 5036531, updated: 14.03.2014]
Message-ID: <5322B907.6070506@allunix.ru>
Date: Fri, 14 Mar 2014 15:08:39 +0700
From: Admin <admin@allunix.ru>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Hans Petter Selasky <hps@bitfrost.no>, freebsd-usb@freebsd.org
Subject: Re: VIA Cardbus USB
References: <5322AE1E.6020407@allunix.ru> <5322B2E0.7090905@bitfrost.no>
In-Reply-To: <5322B2E0.7090905@bitfrost.no>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 08:08:57 -0000

14.03.2014 14:42, Hans Petter Selasky пишет:
> On 03/14/14 08:22, Admin wrote:
>> Hello all.
>>
>> I have a two-port PCMCIA USB 2.0 card exactly like this:
>>
>> http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-font-b-2-0-b-font-font-b-Cardbus.jpg 
>>
>>
>>
>> It works in Linux for my USB mouse and keyboard, so now I am trying to
>> use it in FreeBSD.
>>
>> This is how it is detected by pciconf -lv:
>>
>> uhci0@pci0:7:0:0: class=0x0c0300 card=0x30381106 chip=0x30381106
>> rev=0x61 hdr=0x00
>> vendor = 'VIA Technologies, Inc.'
>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>> class = serial bus
>> subclass = USB
>> uhci1@pci0:7:0:1: class=0x0c0300 card=0x30381106 chip=0x30381106
>> rev=0x61 hdr=0x00
>> vendor = 'VIA Technologies, Inc.'
>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>> class = serial bus
>> subclass = USB
>> ehci0@pci0:7:0:2: class=0x0c0320 card=0x31041106 chip=0x31041106
>> rev=0x63 hdr=0x00
>> vendor = 'VIA Technologies, Inc.'
>> device = 'USB 2.0'
>> class = serial bus
>> subclass = USB
>>
>> And this is what I see during boot:
>>
>> Copyright (c) 1992-2013 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>> The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
>> root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz 686-class
>> CPU)
>> Origin = "AuthenticAMD" Id = 0x40f82 Family = 0xf Model = 0x48
>> Stepping = 2
>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> 
>>
>>
>> Features2=0x2001<SSE3,CX16>
>> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>> real memory = 3221225472 (3072 MB)
>> avail memory = 2743922688 (2616 MB)
>> Event timer "LAPIC" quality 400
>> ACPI APIC Table: <PTLTD APIC >
>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>> cpu0 (BSP): APIC ID: 0
>> cpu1 (AP): APIC ID: 1
>> MADT: Forcing active-low polarity and level trigger for SCI
>> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>> kbd1 at kbdmux0
>> random: <Software, Yarrow> initialized
>> acpi0: <PTLTD RSDT> on motherboard
>> acpi0: Power Button (fixed)
>> acpi0: reservation of 0, 1000 (3) failed
>> cpu0: <ACPI CPU> on acpi0
>> cpu1: <ACPI CPU> on acpi0
>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>> Event timer "RTC" frequency 32768 Hz quality 0
>> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> attimer0: Can't map interrupt.
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
>> acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
>> acpi_lid0: <Control Method Lid Switch> on acpi0
>> acpi_button0: <Power Button> on acpi0
>> acpi_button1: <Sleep Button> on acpi0
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem
>> 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1
>> vgapci0: Boot video device
>> pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>> pcib2: failed to allocate initial I/O port window: 0-0xfff
>> pcib2: failed to allocate initial memory window: 0-0xfffff
>> pcib2: failed to allocate initial prefetch window: 0-0xfffff
>> pci2: <ACPI PCI bus> on pcib2
>> pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>> pcib3: failed to allocate initial I/O port window: 0-0xfff
>> pcib3: failed to allocate initial memory window: 0-0xfffff
>> pci4: <ACPI PCI bus> on pcib3
>> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
>> atapci0: <ATI IXP400 UDMA133 controller> port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1
>> on pci0
>> ata0: <ATA channel> at channel 0 on atapci0
>> ata1: <ATA channel> at channel 1 on atapci0
>> hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 at
>> device 20.2 on pci0
>> hdac0: Device stuck in reset
>> isab0: <PCI-ISA bridge> at device 20.3 on pci0
>> isa0: <ISA bus> on isab0
>> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
>> pci6: <ACPI PCI bus> on pcib4
>> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
>> 0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
>> miibus0: <MII bus> on rl0
>> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
>> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> rl0: Ethernet address: 00:16:d4:55:3d:e8
>> ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0 
>> on pci6
>> ath0: AR2413 mac 7.8 RF2413 phy 4.5
>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
>> cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at device
>> 4.0 on pci6
>> cardbus0: <CardBus bus> on cbb0
>> pccard0: <16-bit PCCard bus> on cbb0
>> pci6: <memory, flash> at device 4.1 (no driver attached)
>> sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at device
>> 4.2 on pci6
>> sdhci_pci0: 1 slot(s) allocated
>> pci6: <memory, flash> at device 4.3 (no driver attached)
>> sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
>> sdhci_pci1: 1 slot(s) allocated
>> acpi_tz0: <Thermal Zone> on acpi0
>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>> psm0: [GIANT-LOCKED]
>> psm0: model Generic PS/2 mouse, device ID 0
>> battery0: <ACPI Control Method Battery> on acpi0
>> acpi_acad0: <AC Adapter> on acpi0
>> pmtimer0 on isa0
>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid
>> ORM0000 on isa0
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
>> isa0
>> ppc0: parallel port not found.
>> powernow0: <PowerNow! K8> on cpu0
>> powernow1: <PowerNow! K8> on cpu1
>> Timecounters tick every 1.000 msec
>> random: unblocking device.
>> cardbus0: Expecting link target, got 0xff
>> cardbus0: Expecting link target, got 0xff
>> uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at device
>> 0.0 on cardbus0
>> ada0 at ata0 bus 0 scbus0 target 0 lun 0
>> ada0: <ST98823A 3.06> ATA-6 device
>> ada0: Serial Number 5PK2AD2Y
>> ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
>> ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
>> ada0: Previously was known as ad0
>> cd0 at ata0 bus 0 scbus0 target 1 lun 0
>> cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
>> cd0: Serial Number FIDL384431WL
>> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
>> cd0: cd present [1131986 x 2048 byte records]
>> SMP: AP CPU #1 Launched!
>> usbus0: controller did not reset
>> usbus0 on uhci0
>> usbus0: 12Mbps Full Speed USB v1.0
>> cardbus0: Expecting link target, got 0xff
>> cardbus0: Expecting link target, got 0xff
>> uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at device
>> 0.1 on cardbus0
>> ugen0.1: <VIA> at usbus0
>> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>> usbus1: controller did not reset
>> usbus1 on uhci1
>> usbus1: 12Mbps Full Speed USB v1.0
>> cardbus0: Expecting link target, got 0xff
>> cardbus0: Expecting link target, got 0xff
>> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff irq 20
>> at device 0.2 on cardbus0
>> ehci0: VIA-quirk applied
>> usbus2: EHCI version 1.0
>> ugen1.1: <VIA> at usbus1
>> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> usbus2 on ehci0
>> usbus2: 480Mbps High Speed USB v2.0
>> ugen2.1: <VIA> at usbus2
>> uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>> uhub0: 2 ports with 2 removable, self powered
>> uhub1: 2 ports with 2 removable, self powered
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub2: 4 ports with 4 removable, self powered
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> uhci_interrupt: resume detect
>> uhci_interrupt: host system error
>> uhci_interrupt: host controller process error
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> Trying to mount root from ufs:/dev/ada0p2 [rw]...
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> wlan0: Ethernet address: 00:16:cf:89:cf:e0
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>
>>
>> I see that when nothing is plugged in those USB ports on the card.
>>
>> When I plug something in (like keyboard and mouse), it is not detected
>> and does not work.
>>
>> usbconfig just hangs, not reacting to ctrl+c until I unplug the card.
>> Then it unhags and states the right EHCI device.
>>
>> Where should I start looking?
>
> Hi,
>
> This might sound like an IRQ problem, that the device is not 
> generating any interrupts. You can fake interrupts by using a 
> timer/callout to see if that is the real problem.
>
> --
Thanks for the reply!
I thought of that, yes, but... do I have to hack a scheduler or something?
I'm not shure how this could be done.

From owner-freebsd-usb@FreeBSD.ORG  Fri Mar 14 08:37:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DB1FED7A
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 08:37:20 +0000 (UTC)
Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203])
 by mx1.freebsd.org (Postfix) with ESMTP id 57A1D5E0
 for <freebsd-usb@freebsd.org>; Fri, 14 Mar 2014 08:37:19 +0000 (UTC)
Received: from mail.lockless.no (mail.lockless.no [46.29.221.38])
 by mta04.bitpro.no (Postfix) with ESMTPS id B4BD51001FB;
 Fri, 14 Mar 2014 09:37:12 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by mail.lockless.no (Postfix) with ESMTP id 662298F83ED;
 Fri, 14 Mar 2014 09:37:06 +0100 (CET)
X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no
Received: from mail.lockless.no ([127.0.0.1])
 by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id VNh7DCR2KUPW; Fri, 14 Mar 2014 09:37:06 +0100 (CET)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 by mail.lockless.no (Postfix) with ESMTPSA id 3308F8F83D3;
 Fri, 14 Mar 2014 09:37:06 +0100 (CET)
Message-ID: <5322BFEA.2030507@bitfrost.no>
Date: Fri, 14 Mar 2014 09:38:02 +0100
From: Hans Petter Selasky <hps@bitfrost.no>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Admin <admin@allunix.ru>, freebsd-usb@freebsd.org
Subject: Re: VIA Cardbus USB
References: <5322AE1E.6020407@allunix.ru> <5322B2E0.7090905@bitfrost.no>
 <5322B907.6070506@allunix.ru>
In-Reply-To: <5322B907.6070506@allunix.ru>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 08:37:21 -0000

On 03/14/14 09:08, Admin wrote:
> 14.03.2014 14:42, Hans Petter Selasky пишет:
>> On 03/14/14 08:22, Admin wrote:
>>> Hello all.
>>>
>>> I have a two-port PCMCIA USB 2.0 card exactly like this:
>>>
>>> http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-font-b-2-0-b-font-font-b-Cardbus.jpg
>>>
>>>
>>>
>>> It works in Linux for my USB mouse and keyboard, so now I am trying to
>>> use it in FreeBSD.
>>>
>>> This is how it is detected by pciconf -lv:
>>>
>>> uhci0@pci0:7:0:0: class=0x0c0300 card=0x30381106 chip=0x30381106
>>> rev=0x61 hdr=0x00
>>> vendor = 'VIA Technologies, Inc.'
>>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>>> class = serial bus
>>> subclass = USB
>>> uhci1@pci0:7:0:1: class=0x0c0300 card=0x30381106 chip=0x30381106
>>> rev=0x61 hdr=0x00
>>> vendor = 'VIA Technologies, Inc.'
>>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>>> class = serial bus
>>> subclass = USB
>>> ehci0@pci0:7:0:2: class=0x0c0320 card=0x31041106 chip=0x31041106
>>> rev=0x63 hdr=0x00
>>> vendor = 'VIA Technologies, Inc.'
>>> device = 'USB 2.0'
>>> class = serial bus
>>> subclass = USB
>>>
>>> And this is what I see during boot:
>>>
>>> Copyright (c) 1992-2013 The FreeBSD Project.
>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>> The Regents of the University of California. All rights reserved.
>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>> FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
>>> root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
>>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>>> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz 686-class
>>> CPU)
>>> Origin = "AuthenticAMD" Id = 0x40f82 Family = 0xf Model = 0x48
>>> Stepping = 2
>>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>>
>>>
>>> Features2=0x2001<SSE3,CX16>
>>> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>>> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>>> real memory = 3221225472 (3072 MB)
>>> avail memory = 2743922688 (2616 MB)
>>> Event timer "LAPIC" quality 400
>>> ACPI APIC Table: <PTLTD APIC >
>>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>> cpu0 (BSP): APIC ID: 0
>>> cpu1 (AP): APIC ID: 1
>>> MADT: Forcing active-low polarity and level trigger for SCI
>>> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>>> kbd1 at kbdmux0
>>> random: <Software, Yarrow> initialized
>>> acpi0: <PTLTD RSDT> on motherboard
>>> acpi0: Power Button (fixed)
>>> acpi0: reservation of 0, 1000 (3) failed
>>> cpu0: <ACPI CPU> on acpi0
>>> cpu1: <ACPI CPU> on acpi0
>>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>>> Event timer "RTC" frequency 32768 Hz quality 0
>>> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>> attimer0: Can't map interrupt.
>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
>>> acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
>>> acpi_lid0: <Control Method Lid Switch> on acpi0
>>> acpi_button0: <Power Button> on acpi0
>>> acpi_button1: <Sleep Button> on acpi0
>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>> pci0: <ACPI PCI bus> on pcib0
>>> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
>>> pci1: <ACPI PCI bus> on pcib1
>>> vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem
>>> 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1
>>> vgapci0: Boot video device
>>> pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>>> pcib2: failed to allocate initial I/O port window: 0-0xfff
>>> pcib2: failed to allocate initial memory window: 0-0xfffff
>>> pcib2: failed to allocate initial prefetch window: 0-0xfffff
>>> pci2: <ACPI PCI bus> on pcib2
>>> pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>>> pcib3: failed to allocate initial I/O port window: 0-0xfff
>>> pcib3: failed to allocate initial memory window: 0-0xfffff
>>> pci4: <ACPI PCI bus> on pcib3
>>> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
>>> atapci0: <ATI IXP400 UDMA133 controller> port
>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1
>>> on pci0
>>> ata0: <ATA channel> at channel 0 on atapci0
>>> ata1: <ATA channel> at channel 1 on atapci0
>>> hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 at
>>> device 20.2 on pci0
>>> hdac0: Device stuck in reset
>>> isab0: <PCI-ISA bridge> at device 20.3 on pci0
>>> isa0: <ISA bus> on isab0
>>> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
>>> pci6: <ACPI PCI bus> on pcib4
>>> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
>>> 0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
>>> miibus0: <MII bus> on rl0
>>> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
>>> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>>> rl0: Ethernet address: 00:16:d4:55:3d:e8
>>> ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0
>>> on pci6
>>> ath0: AR2413 mac 7.8 RF2413 phy 4.5
>>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
>>> cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at device
>>> 4.0 on pci6
>>> cardbus0: <CardBus bus> on cbb0
>>> pccard0: <16-bit PCCard bus> on cbb0
>>> pci6: <memory, flash> at device 4.1 (no driver attached)
>>> sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at device
>>> 4.2 on pci6
>>> sdhci_pci0: 1 slot(s) allocated
>>> pci6: <memory, flash> at device 4.3 (no driver attached)
>>> sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
>>> sdhci_pci1: 1 slot(s) allocated
>>> acpi_tz0: <Thermal Zone> on acpi0
>>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>>> kbd0 at atkbd0
>>> atkbd0: [GIANT-LOCKED]
>>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>>> psm0: [GIANT-LOCKED]
>>> psm0: model Generic PS/2 mouse, device ID 0
>>> battery0: <ACPI Control Method Battery> on acpi0
>>> acpi_acad0: <AC Adapter> on acpi0
>>> pmtimer0 on isa0
>>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid
>>> ORM0000 on isa0
>>> sc0: <System console> at flags 0x100 on isa0
>>> sc0: VGA <16 virtual consoles, flags=0x300>
>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
>>> isa0
>>> ppc0: parallel port not found.
>>> powernow0: <PowerNow! K8> on cpu0
>>> powernow1: <PowerNow! K8> on cpu1
>>> Timecounters tick every 1.000 msec
>>> random: unblocking device.
>>> cardbus0: Expecting link target, got 0xff
>>> cardbus0: Expecting link target, got 0xff
>>> uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at device
>>> 0.0 on cardbus0
>>> ada0 at ata0 bus 0 scbus0 target 0 lun 0
>>> ada0: <ST98823A 3.06> ATA-6 device
>>> ada0: Serial Number 5PK2AD2Y
>>> ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
>>> ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
>>> ada0: Previously was known as ad0
>>> cd0 at ata0 bus 0 scbus0 target 1 lun 0
>>> cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
>>> cd0: Serial Number FIDL384431WL
>>> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
>>> cd0: cd present [1131986 x 2048 byte records]
>>> SMP: AP CPU #1 Launched!
>>> usbus0: controller did not reset
>>> usbus0 on uhci0
>>> usbus0: 12Mbps Full Speed USB v1.0
>>> cardbus0: Expecting link target, got 0xff
>>> cardbus0: Expecting link target, got 0xff
>>> uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at device
>>> 0.1 on cardbus0
>>> ugen0.1: <VIA> at usbus0
>>> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>>> usbus1: controller did not reset
>>> usbus1 on uhci1
>>> usbus1: 12Mbps Full Speed USB v1.0
>>> cardbus0: Expecting link target, got 0xff
>>> cardbus0: Expecting link target, got 0xff
>>> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff irq 20
>>> at device 0.2 on cardbus0
>>> ehci0: VIA-quirk applied
>>> usbus2: EHCI version 1.0
>>> ugen1.1: <VIA> at usbus1
>>> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> usbus2 on ehci0
>>> usbus2: 480Mbps High Speed USB v2.0
>>> ugen2.1: <VIA> at usbus2
>>> uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>>> uhub0: 2 ports with 2 removable, self powered
>>> uhub1: 2 ports with 2 removable, self powered
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub2: 4 ports with 4 removable, self powered
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> uhci_interrupt: resume detect
>>> uhci_interrupt: host system error
>>> uhci_interrupt: host controller process error
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> Trying to mount root from ufs:/dev/ada0p2 [rw]...
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> wlan0: Ethernet address: 00:16:cf:89:cf:e0
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>
>>>
>>> I see that when nothing is plugged in those USB ports on the card.
>>>
>>> When I plug something in (like keyboard and mouse), it is not detected
>>> and does not work.
>>>
>>> usbconfig just hangs, not reacting to ctrl+c until I unplug the card.
>>> Then it unhags and states the right EHCI device.
>>>
>>> Where should I start looking?
>>
>> Hi,
>>
>> This might sound like an IRQ problem, that the device is not
>> generating any interrupts. You can fake interrupts by using a
>> timer/callout to see if that is the real problem.
>>
>> --
> Thanks for the reply!
> I thought of that, yes, but... do I have to hack a scheduler or something?
> I'm not shure how this could be done.
>
>

Hi,

Just hack a callout that is calling the ehci_interrupt() function every 
1ms. See for example the xhci driver which has already got such a feature.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sat Mar 15 21:33:15 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4601490;
 Sat, 15 Mar 2014 21:33:15 +0000 (UTC)
Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116])
 by mx1.freebsd.org (Postfix) with ESMTP id 23FE28A7;
 Sat, 15 Mar 2014 21:33:14 +0000 (UTC)
Received: by smtp.kn-bremen.de (Postfix, from userid 10)
 id 1D7E31E00175; Sat, 15 Mar 2014 22:33:13 +0100 (CET)
Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1])
 by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s2FLVif9038243;
 Sat, 15 Mar 2014 22:31:44 +0100 (CET)
 (envelope-from nox@enceladus10.kn-bremen.de)
Received: (from nox@localhost)
 by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s2FLVilC038242;
 Sat, 15 Mar 2014 22:31:44 +0100 (CET) (envelope-from nox)
From: Juergen Lock <nox@jelal.kn-bremen.de>
Date: Sat, 15 Mar 2014 22:31:43 +0100
To: Juergen Lock <nox@jelal.kn-bremen.de>
Subject: Re: CFT #3: Re: linux libusb again... (now also for 10i386)
Message-ID: <20140315213143.GA37825@enceladus10.kn-bremen.de>
References: <20140207204928.GD12994@FreeBSD.org>
 <20140208084546.GA74796@enceladus10.kn-bremen.de>
 <20140209025624.GE12994@FreeBSD.org>
 <20140209135905.GA13024@enceladus10.kn-bremen.de>
 <20140210041845.GG12994@FreeBSD.org>
 <D4F77E00-748A-4F18-AC39-3821380D13AA@FreeBSD.org>
 <20140210231109.GA54389@enceladus10.kn-bremen.de>
 <20140211195650.GI12994@FreeBSD.org>
 <20140211232048.GA91008@enceladus10.kn-bremen.de>
 <20140303181825.GA59170@enceladus10.kn-bremen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20140303181825.GA59170@enceladus10.kn-bremen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: bapt@FreeBSD.org, hselasky@FreeBSD.org,
 "Wojciech A. Koszek" <wkoszek@FreeBSD.org>, freebsd-emulation@FreeBSD.org,
 "Bjoern A. Zeeb" <bz@FreeBSD.org>, freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Mar 2014 21:33:15 -0000

Hi!

 I now have changed my port to use devel/linux-f10-devtools instead of
emulators/linux_base-gentoo-stage3 (you need linux-f10-devtools-10_1
because of http://www.freebsd.org/cgi/query-pr.cgi?pr=187609 ),
which not only allows it to build outside of tb/powderkeg but also
works around the missing 10i386 package issue:

	http://people.freebsd.org/~nox/tmp/linux_libusb-002.shar

 Packages:

	http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448_1.txz
	http://people.freebsd.org/~nox/tmp/packages/10i386/linux_libusb-11.0r261448_1.txz

(Seems you can also manually untar them and use them on 9.x,
at least Linux lsusb seems to do something on 9.2/amd64 too.)

 Happy testing... :)
	Juergen

On Mon, Mar 03, 2014 at 07:18:25PM +0100, Juergen Lock wrote:
> HPS found out what was wrong, the linux libusb needs to be built
> with COMPAT_32BIT=YES on amd64 since the linuxolator is 32bit...
> Using this packages Linux lsusb finally does something.
> 
>  So I updated the shar and package at the locations listed below,
> please test! :)
> 
>  Thanx,
> 	Juergen
> 
> On Wed, Feb 12, 2014 at 12:20:48AM +0100, Juergen Lock wrote:
> > On Tue, Feb 11, 2014 at 07:56:50PM +0000, Wojciech A. Koszek wrote:
> > > On Tue, Feb 11, 2014 at 12:11:09AM +0100, Juergen Lock wrote:
> > > > On Mon, Feb 10, 2014 at 11:06:27AM +0000, Bjoern A. Zeeb wrote:
> > > > > 
> > > > > On 10 Feb 2014, at 04:18 , Wojciech A. Koszek <wkoszek@FreeBSD.org> wrote:
> > > > > 
> > > > > > On nie, lut 09, 2014 at 02:59:06 +0100, Juergen Lock wrote:
> > > > > >> On Sun, Feb 09, 2014 at 02:56:24AM +0000, Wojciech A. Koszek wrote:
> > > > > >>> On sob, lut 08, 2014 at 09:45:46 +0100, Juergen Lock wrote:
> > > > > >>>> On Fri, Feb 07, 2014 at 08:49:28PM +0000, Wojciech A. Koszek wrote:
> > > > > >>>>> On pi??, lut 07, 2014 at 09:12:08 +0100, Juergen Lock wrote:
> > > > > >>>>>> Hi!
> > > > > >>>>>> 
> > > > > >>>>>> This came up on irc so I tried to build a linux libusb port (before
> > > > > >>>>>> I learned about ports/146895), mine uses linux_base-gentoo-stage3
> > > > > >>>>>> like linux_kdump with a src/lib/libusb head snapshot so it's more
> > > > > >>>>>> up to date than wkoszek's build (ports/146895), and it's really
> > > > > >>>>>> easy to update it again.  Also maybe it can be used as linux
> > > > > >>>>>> libusb-1.0.so too; I didn't actually test it tho.
> > > > > >>>>>> 
> > > > > >>>>>> Should this be committed?  Is wkoszek's version better since it
> > > > > >>>>>> also builds on < 10.x?  Comments welcome...
> > > > > >>>>>> 
> > > > > >>>>>> wkoszek's version:
> > > > > >>>>>> 
> > > > > >>>>>> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=146895
> > > > > >>>>>> 
> > > > > >>>>>> Mine:
> > > > > >>>>>> 
> > > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/linux_libusb.shar
> > > > > >>>>>> 
> > > > > >>>>>> Distfile:
> > > > > >>>>>> 
> > > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/distfiles/linux_libusb-11.0r261448.tar.bz2
> > > > > >>>>>> 
> > > > > >>>>>> 10/amd64 package:
> > > > > >>>>>> 
> > > > > >>>>>> 	http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448.txz
> > > > > >>>>>> 
> > > > > >>>>>> (built via:
> > > > > >>>>>> 
> > > > > >>>>>> 	poudriere bulk -v -j 10amd64 -p custom devel/linux_libusb
> > > > > >>>>>> 
> > > > > >>>>>> - btw for some reason the dependency emulators/linux_base-gentoo-stage3
> > > > > >>>>>> doesn't build for 10i386 in poudriere bulk, I get a pkg segfault.  bapt
> > > > > >>>>>> Cc'd...)
> > > > > >>>>>> 
> > > > > >>>>> 
> > > > > >>>>> Juergen,
> > > > > >>>> Hi!
> > > > > >>>>> 
> > > > > >>>>> What would be the reason for this update?
> > > > > >>>>> 
> > > > > >>>>> My stuff may be out of date, but it was all tested and working. I verified
> > > > > >>>>> it with Linux'ish lsusb(1) and USB-based FPGA JTAG programmer, for which
> > > > > >>>>> this stuff was written.
> > > > > >>>>> 
> > > > > >>>> I was just thinking an updated version may be useful, but if it's
> > > > > >>>> already working for everyone maybe less so...
> > > > > >>>> 
> > > > > >>>> Or would it work as a linux libusb-1.0.so too?  I know the libusb 1.0
> > > > > >>>> stuff added some functions since 9.x at least... maybe hps would know
> > > > > >>>> (Cc'd.)
> > > > > >>>> 
> > > > > >>> 
> > > > > >>> Juergen,
> > > > > >>> 
> > > > > >>> I think this package is useful and is looking for maintainer, so if you have
> > > > > >>> time and energy, I'm OK with upgrading it, but I suggest testing it first.
> > > > > >>> Bjoern might be interested too.
> > > > > >>> 
> > > > > >> You mean bz@ ?  Cc'd.  I tried testing lsusb from debian sid but it printed
> > > > > >> nothing, neither with my nor with your older version, but maybe it's just
> > > > > >> `too new' for our current linuxolator.
> > > > > > 
> > > > > > I assume you have at least 1 USB device while trying this. I don't remember
> > > > > > exactly, but while trying within Linuxolator, you may need devfs/procfs to
> > > > > > be mounted under Linuxolator's root directory.
> > > > > 
> > > > > My understanding and from looking at trace is that if we cannot find it in /compat/linux we ale search in /; so no need for an extra mount unless maybe you run chrooted.
> > > > > 
> > > > > 
> > > > > > So you'll have to figure this out.
> > > > > > 
> > > > > > Does it return with 0 exit code?
> > > > > > 
> > > > > > If not, lsusb should be simple enough to let you place printf() all over the
> > > > > > place and understand out when it's failing. 
> > > > > 
> > > > > For me the problem was a clock_gettime() call in the libusb which my glibc did not provide.   That made all things fail (silently) until I used linux ?rtld" tracing to see the unresolved symbol from libusb/the commercial 3rd party software dynamically loading libusb.
> > > > > 
> > > > And my linux_kdump ends like this:
> > > > 
> > > >  35607 lsusb    CALL  munmap(0x28247000,0x8000)
> > > >  35607 lsusb    RET   munmap 0
> > > >  35607 lsusb    CALL  linux_open(0x28090c31,0,0x28081e00)
> > > >  35607 lsusb    NAMI  "/compat/linux/dev/usbctl"
> > > >  35607 lsusb    NAMI  "/dev/usbctl"
> > > >  35607 lsusb    RET   linux_open 3
> > > >  35607 lsusb    CALL  linux_ioctl(0x3,0xffe5 ,0xffffc5d8)
> > > >  35607 lsusb    RET   linux_ioctl 0
> > > >  35607 lsusb    CALL  close(0x3)
> > > >  35607 lsusb    RET   close 0
> > > >  35607 lsusb    CALL  linux_exit_group(0x1)
> > > >  35607 lsusb    UNKNOWN(11)
> > > > 
> > > > and the exit code is 1, so I guess it's failing on an unhandled
> > > > syscall or something like that.
> > > 
> > > Juergen
> > > 
> > > Can you send the full trace with all eventual child processes? If you could
> > > copy&paste:
> > > 
> > > 	open libusb
> > > 	for each bus
> > > 		for each device
> > > 			open device
> > > 
> > > to a separate program, we could make it libusb/Linuxolator regression test.
> > > This would also help us match ptrace<->line number output.
> > > 
> > There are no child processes and it seems it doesn't even get to
> > enumerate buses, i.e. the /dev/usbctl above is the only usb-related
> > thing it opens.  I've put the full kdump here:
> > 
> > 	http://people.freebsd.org/~nox/tmp/lsusb.kdump.txt.xz
> > 
> > (don't be surprised about the libz.so.1 path, the one from fc10
> > was too old so I had to point LD_LIBRARY_PATH at debian's one
> > I copied.)
> > 
> > > Which FreeBSD are you using?
> > > 
> >  10.0-r.
> > 
> > > This may indicate some relationship with
> > > 
> > > 	http://www.freebsd.org/cgi/query-pr.cgi?pr=141439
> > > 
> >  Well at least 10.0 should have that fix already.
> > 
> >  Maybe I can find an older (fc10?) lsusb later...
> > 
> >  Thanx,
> > 	Juergen

From owner-freebsd-usb@FreeBSD.ORG  Sun Mar 16 20:27:37 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8EFEE5FA
 for <freebsd-usb@freebsd.org>; Sun, 16 Mar 2014 20:27:37 +0000 (UTC)
Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com
 [209.85.160.44])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 61858F8C
 for <freebsd-usb@freebsd.org>; Sun, 16 Mar 2014 20:27:37 +0000 (UTC)
Received: by mail-pb0-f44.google.com with SMTP id rp16so4816503pbb.31
 for <freebsd-usb@freebsd.org>; Sun, 16 Mar 2014 13:27:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:content-type:mime-version:subject:from
 :in-reply-to:date:cc:content-transfer-encoding:message-id:references
 :to; bh=zFgybgaMmN4hF+j7TyAl5YlVGbl2KTVud65qeKTRreA=;
 b=bSTCZ76cTGmDBvwmalYM/Q16u3Ufki4EI73wOUJkr8BLielDx8h7i6TcohE3Js79Ez
 EvVfHFl9nWXQL3BxwaiWcf0h3WeyQWIO9qacoNHuKzzhIyXkoxb/hvVt+LOZdBJfZc2+
 DLlcEY9xLDX4YUv+Wx4wTb039khSlRvHclDT9pDy1RkjOvNlLCwMOMjp9hEAQWzyvqYO
 Yx1n19w3AdV33I5gMKipdZ+r9ozmXm58KC1Sh0H5jnNSIJP7aGfo5yTn8booafCSTsHM
 lwC9W02yGJzjMakHTPecTdom1a5sFIuivo4KILSs+JVTXUErJ+LtRBcpe0O6QM30bYIt
 S5Ww==
X-Gm-Message-State: ALoCoQlYDZlH4l6OPWee1qQwQQNmBJPkkS9ZlIgnWlegPPi33nTyejBKnsyVFNANH3azcmbDHsd/
X-Received: by 10.66.193.202 with SMTP id hq10mr21718135pac.57.1395001650376; 
 Sun, 16 Mar 2014 13:27:30 -0700 (PDT)
Received: from lgmac-swong.corp.netflix.com (dc1-prod.netflix.com.
 [69.53.236.251])
 by mx.google.com with ESMTPSA id vg1sm36820835pbc.44.2014.03.16.13.27.28
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Sun, 16 Mar 2014 13:27:29 -0700 (PDT)
Sender: Warner Losh <wlosh@bsdimp.com>
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Subject: Re: VIA Cardbus USB
From: Warner Losh <imp@bsdimp.com>
In-Reply-To: <5322BFEA.2030507@bitfrost.no>
Date: Sun, 16 Mar 2014 14:27:27 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <9AC6995B-7134-40DC-BCC1-25D99EC4D022@gmail.com>
References: <5322AE1E.6020407@allunix.ru> <5322B2E0.7090905@bitfrost.no>
 <5322B907.6070506@allunix.ru> <5322BFEA.2030507@bitfrost.no>
To: Hans Petter Selasky <hps@bitfrost.no>
X-Mailer: Apple Mail (2.1874)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Mar 2014 20:27:37 -0000


On Mar 14, 2014, at 2:38 AM, Hans Petter Selasky <hps@bitfrost.no> =
wrote:

> On 03/14/14 09:08, Admin wrote:
>> 14.03.2014 14:42, Hans Petter Selasky =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>> On 03/14/14 08:22, Admin wrote:
>>>> Hello all.
>>>>=20
>>>> I have a two-port PCMCIA USB 2.0 card exactly like this:
>>>>=20
>>>> =
http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-f=
ont-b-2-0-b-font-font-b-Cardbus.jpg
>>>>=20
>>>>=20
>>>>=20
>>>> It works in Linux for my USB mouse and keyboard, so now I am trying =
to
>>>> use it in FreeBSD.
>>>>=20
>>>> This is how it is detected by pciconf -lv:
>>>>=20
>>>> uhci0@pci0:7:0:0: class=3D0x0c0300 card=3D0x30381106 =
chip=3D0x30381106
>>>> rev=3D0x61 hdr=3D0x00
>>>> vendor =3D 'VIA Technologies, Inc.'
>>>> device =3D 'VT82xxxxx UHCI USB 1.1 Controller'
>>>> class =3D serial bus
>>>> subclass =3D USB
>>>> uhci1@pci0:7:0:1: class=3D0x0c0300 card=3D0x30381106 =
chip=3D0x30381106
>>>> rev=3D0x61 hdr=3D0x00
>>>> vendor =3D 'VIA Technologies, Inc.'
>>>> device =3D 'VT82xxxxx UHCI USB 1.1 Controller'
>>>> class =3D serial bus
>>>> subclass =3D USB
>>>> ehci0@pci0:7:0:2: class=3D0x0c0320 card=3D0x31041106 =
chip=3D0x31041106
>>>> rev=3D0x63 hdr=3D0x00
>>>> vendor =3D 'VIA Technologies, Inc.'
>>>> device =3D 'USB 2.0'
>>>> class =3D serial bus
>>>> subclass =3D USB
>>>>=20
>>>> And this is what I see during boot:
>>>>=20
>>>> Copyright (c) 1992-2013 The FreeBSD Project.
>>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, =
1994
>>>> The Regents of the University of California. All rights reserved.
>>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>>> FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
>>>> root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
>>>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>>>> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz =
686-class
>>>> CPU)
>>>> Origin =3D "AuthenticAMD" Id =3D 0x40f82 Family =3D 0xf Model =3D =
0x48
>>>> Stepping =3D 2
>>>> =
Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>>>=20
>>>>=20
>>>> Features2=3D0x2001<SSE3,CX16>
>>>> AMD =
Features=3D0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>>>> AMD Features2=3D0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>>>> real memory =3D 3221225472 (3072 MB)
>>>> avail memory =3D 2743922688 (2616 MB)
>>>> Event timer "LAPIC" quality 400
>>>> ACPI APIC Table: <PTLTD APIC >
>>>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>>>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>>> cpu0 (BSP): APIC ID: 0
>>>> cpu1 (AP): APIC ID: 1
>>>> MADT: Forcing active-low polarity and level trigger for SCI
>>>> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>>>> kbd1 at kbdmux0
>>>> random: <Software, Yarrow> initialized
>>>> acpi0: <PTLTD RSDT> on motherboard
>>>> acpi0: Power Button (fixed)
>>>> acpi0: reservation of 0, 1000 (3) failed
>>>> cpu0: <ACPI CPU> on acpi0
>>>> cpu1: <ACPI CPU> on acpi0
>>>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>>>> Event timer "RTC" frequency 32768 Hz quality 0
>>>> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>>> attimer0: Can't map interrupt.
>>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>>>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on =
acpi0
>>>> acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
>>>> acpi_lid0: <Control Method Lid Switch> on acpi0
>>>> acpi_button0: <Power Button> on acpi0
>>>> acpi_button1: <Sleep Button> on acpi0
>>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>>> pci0: <ACPI PCI bus> on pcib0
>>>> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
>>>> pci1: <ACPI PCI bus> on pcib1
>>>> vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem
>>>> 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on =
pci1
>>>> vgapci0: Boot video device
>>>> pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>>>> pcib2: failed to allocate initial I/O port window: 0-0xfff
>>>> pcib2: failed to allocate initial memory window: 0-0xfffff
>>>> pcib2: failed to allocate initial prefetch window: 0-0xfffff
>>>> pci2: <ACPI PCI bus> on pcib2
>>>> pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>>>> pcib3: failed to allocate initial I/O port window: 0-0xfff
>>>> pcib3: failed to allocate initial memory window: 0-0xfffff
>>>> pci4: <ACPI PCI bus> on pcib3
>>>> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
>>>> atapci0: <ATI IXP400 UDMA133 controller> port
>>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device =
20.1
>>>> on pci0
>>>> ata0: <ATA channel> at channel 0 on atapci0
>>>> ata1: <ATA channel> at channel 1 on atapci0
>>>> hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 =
at
>>>> device 20.2 on pci0
>>>> hdac0: Device stuck in reset
>>>> isab0: <PCI-ISA bridge> at device 20.3 on pci0
>>>> isa0: <ISA bus> on isab0
>>>> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
>>>> pci6: <ACPI PCI bus> on pcib4
>>>> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
>>>> 0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
>>>> miibus0: <MII bus> on rl0
>>>> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
>>>> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>>>> rl0: Ethernet address: 00:16:d4:55:3d:e8
>>>> ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0
>>>> on pci6
>>>> ath0: AR2413 mac 7.8 RF2413 phy 4.5
>>>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
>>>> cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at =
device
>>>> 4.0 on pci6
>>>> cardbus0: <CardBus bus> on cbb0
>>>> pccard0: <16-bit PCCard bus> on cbb0
>>>> pci6: <memory, flash> at device 4.1 (no driver attached)
>>>> sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at =
device
>>>> 4.2 on pci6
>>>> sdhci_pci0: 1 slot(s) allocated
>>>> pci6: <memory, flash> at device 4.3 (no driver attached)
>>>> sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
>>>> sdhci_pci1: 1 slot(s) allocated
>>>> acpi_tz0: <Thermal Zone> on acpi0
>>>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on =
acpi0
>>>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>>>> kbd0 at atkbd0
>>>> atkbd0: [GIANT-LOCKED]
>>>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>>>> psm0: [GIANT-LOCKED]
>>>> psm0: model Generic PS/2 mouse, device ID 0
>>>> battery0: <ACPI Control Method Battery> on acpi0
>>>> acpi_acad0: <AC Adapter> on acpi0
>>>> pmtimer0 on isa0
>>>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff =
pnpid
>>>> ORM0000 on isa0
>>>> sc0: <System console> at flags 0x100 on isa0
>>>> sc0: VGA <16 virtual consoles, flags=3D0x300>
>>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff =
on
>>>> isa0
>>>> ppc0: parallel port not found.
>>>> powernow0: <PowerNow! K8> on cpu0
>>>> powernow1: <PowerNow! K8> on cpu1
>>>> Timecounters tick every 1.000 msec
>>>> random: unblocking device.
>>>> cardbus0: Expecting link target, got 0xff
>>>> cardbus0: Expecting link target, got 0xff
>>>> uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at =
device
>>>> 0.0 on cardbus0
>>>> ada0 at ata0 bus 0 scbus0 target 0 lun 0
>>>> ada0: <ST98823A 3.06> ATA-6 device
>>>> ada0: Serial Number 5PK2AD2Y
>>>> ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
>>>> ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
>>>> ada0: Previously was known as ad0
>>>> cd0 at ata0 bus 0 scbus0 target 1 lun 0
>>>> cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
>>>> cd0: Serial Number FIDL384431WL
>>>> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
>>>> cd0: cd present [1131986 x 2048 byte records]
>>>> SMP: AP CPU #1 Launched!
>>>> usbus0: controller did not reset
>>>> usbus0 on uhci0
>>>> usbus0: 12Mbps Full Speed USB v1.0
>>>> cardbus0: Expecting link target, got 0xff
>>>> cardbus0: Expecting link target, got 0xff
>>>> uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at =
device
>>>> 0.1 on cardbus0
>>>> ugen0.1: <VIA> at usbus0
>>>> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on =
usbus0
>>>> usbus1: controller did not reset
>>>> usbus1 on uhci1
>>>> usbus1: 12Mbps Full Speed USB v1.0
>>>> cardbus0: Expecting link target, got 0xff
>>>> cardbus0: Expecting link target, got 0xff
>>>> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff =
irq 20
>>>> at device 0.2 on cardbus0
>>>> ehci0: VIA-quirk applied
>>>> usbus2: EHCI version 1.0
>>>> ugen1.1: <VIA> at usbus1
>>>> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on =
usbus1
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> usbus2 on ehci0
>>>> usbus2: 480Mbps High Speed USB v2.0
>>>> ugen2.1: <VIA> at usbus2
>>>> uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on =
usbus2
>>>> uhub0: 2 ports with 2 removable, self powered
>>>> uhub1: 2 ports with 2 removable, self powered
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub2: 4 ports with 4 removable, self powered
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> uhci_interrupt: resume detect
>>>> uhci_interrupt: host system error
>>>> uhci_interrupt: host controller process error
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> Trying to mount root from ufs:/dev/ada0p2 [rw]...
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> wlan0: Ethernet address: 00:16:cf:89:cf:e0
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>> uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT
>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling =
port 1
>>>>=20
>>>>=20
>>>> I see that when nothing is plugged in those USB ports on the card.
>>>>=20
>>>> When I plug something in (like keyboard and mouse), it is not =
detected
>>>> and does not work.
>>>>=20
>>>> usbconfig just hangs, not reacting to ctrl+c until I unplug the =
card.
>>>> Then it unhags and states the right EHCI device.
>>>>=20
>>>> Where should I start looking?
>>>=20
>>> Hi,
>>>=20
>>> This might sound like an IRQ problem, that the device is not
>>> generating any interrupts. You can fake interrupts by using a
>>> timer/callout to see if that is the real problem.
>>>=20
>>> --
>> Thanks for the reply!
>> I thought of that, yes, but... do I have to hack a scheduler or =
something?
>> I'm not shure how this could be done.
>>=20
>>=20
>=20
> Hi,
>=20
> Just hack a callout that is calling the ehci_interrupt() function =
every 1ms. See for example the xhci driver which has already got such a =
feature.

Any updates?

Warner=

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar 17 11:06:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 494F6B95
 for <freebsd-usb@FreeBSD.org>; Mon, 17 Mar 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2BD072AE
 for <freebsd-usb@FreeBSD.org>; Mon, 17 Mar 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HB6t1f011440
 for <freebsd-usb@FreeBSD.org>; Mon, 17 Mar 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2HB6sV4011438
 for freebsd-usb@FreeBSD.org; Mon, 17 Mar 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 17 Mar 2014 11:06:54 GMT
Message-Id: <201403171106.s2HB6sV4011438@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 11:06:55 -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/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

329 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Tue Mar 18 04:07:59 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2FD77E2
 for <freebsd-usb@freebsd.org>; Tue, 18 Mar 2014 04:07:59 +0000 (UTC)
Received: from ns1.allunix.ru (mail.allunix.ru [85.118.230.76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 57CF43C5
 for <freebsd-usb@freebsd.org>; Tue, 18 Mar 2014 04:07:57 +0000 (UTC)
Received: from gamer (clips.allunix.ru [85.118.230.78] (may be forged))
 by ns1.allunix.ru (8.14.4/8.14.4) with ESMTP id s2I4stpY056988;
 Tue, 18 Mar 2014 10:54:56 +0600 (NOVT)
 (envelope-from admin@allunix.ru)
X-AntiVirus: Checked by Dr.Web [version: 8.0.7.07121, engine: 8.3.0.10280,
 virus records: 5046644, updated: 18.03.2014]
Message-ID: <5327C687.1020202@allunix.ru>
Date: Tue, 18 Mar 2014 11:07:35 +0700
From: Admin <admin@allunix.ru>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Warner Losh <imp@bsdimp.com>, Hans Petter Selasky <hps@bitfrost.no>
Subject: Re: VIA Cardbus USB
References: <5322AE1E.6020407@allunix.ru> <5322B2E0.7090905@bitfrost.no>
 <5322B907.6070506@allunix.ru> <5322BFEA.2030507@bitfrost.no>
 <9AC6995B-7134-40DC-BCC1-25D99EC4D022@gmail.com>
In-Reply-To: <9AC6995B-7134-40DC-BCC1-25D99EC4D022@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 04:07:59 -0000

17.03.2014 3:27, Warner Losh пишет:
> On Mar 14, 2014, at 2:38 AM, Hans Petter Selasky <hps@bitfrost.no> wrote:
>
>> On 03/14/14 09:08, Admin wrote:
>>> 14.03.2014 14:42, Hans Petter Selasky пишет:
>>>> On 03/14/14 08:22, Admin wrote:
>>>>> Hello all.
>>>>>
>>>>> I have a two-port PCMCIA USB 2.0 card exactly like this:
>>>>>
>>>>> http://i01.i.aliimg.com/wsphoto/v0/371216405/PCMCIA-to-font-b-USB-b-font-font-b-2-0-b-font-font-b-Cardbus.jpg
>>>>>
>>>>>
>>>>>
>>>>> It works in Linux for my USB mouse and keyboard, so now I am trying to
>>>>> use it in FreeBSD.
>>>>>
>>>>> This is how it is detected by pciconf -lv:
>>>>>
>>>>> uhci0@pci0:7:0:0: class=0x0c0300 card=0x30381106 chip=0x30381106
>>>>> rev=0x61 hdr=0x00
>>>>> vendor = 'VIA Technologies, Inc.'
>>>>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>>>>> class = serial bus
>>>>> subclass = USB
>>>>> uhci1@pci0:7:0:1: class=0x0c0300 card=0x30381106 chip=0x30381106
>>>>> rev=0x61 hdr=0x00
>>>>> vendor = 'VIA Technologies, Inc.'
>>>>> device = 'VT82xxxxx UHCI USB 1.1 Controller'
>>>>> class = serial bus
>>>>> subclass = USB
>>>>> ehci0@pci0:7:0:2: class=0x0c0320 card=0x31041106 chip=0x31041106
>>>>> rev=0x63 hdr=0x00
>>>>> vendor = 'VIA Technologies, Inc.'
>>>>> device = 'USB 2.0'
>>>>> class = serial bus
>>>>> subclass = USB
>>>>>
>>>>> And this is what I see during boot:
>>>>>
>>>>> Copyright (c) 1992-2013 The FreeBSD Project.
>>>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>>>> The Regents of the University of California. All rights reserved.
>>>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>>>> FreeBSD 10.0-RC3 #2: Wed Feb 12 16:18:02 NOVT 2014
>>>>> root@AcerAspire:/usr/obj/usr/src/sys/GENERIC i386
>>>>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>>>>> CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.04-MHz 686-class
>>>>> CPU)
>>>>> Origin = "AuthenticAMD" Id = 0x40f82 Family = 0xf Model = 0x48
>>>>> Stepping = 2
>>>>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>>>>
>>>>>
>>>>> Features2=0x2001<SSE3,CX16>
>>>>> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>>>>> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
>>>>> real memory = 3221225472 (3072 MB)
>>>>> avail memory = 2743922688 (2616 MB)
>>>>> Event timer "LAPIC" quality 400
>>>>> ACPI APIC Table: <PTLTD APIC >
>>>>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>>>>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>>>> cpu0 (BSP): APIC ID: 0
>>>>> cpu1 (AP): APIC ID: 1
>>>>> MADT: Forcing active-low polarity and level trigger for SCI
>>>>> ioapic0 <Version 2.1> irqs 0-23 on motherboard
>>>>> kbd1 at kbdmux0
>>>>> random: <Software, Yarrow> initialized
>>>>> acpi0: <PTLTD RSDT> on motherboard
>>>>> acpi0: Power Button (fixed)
>>>>> acpi0: reservation of 0, 1000 (3) failed
>>>>> cpu0: <ACPI CPU> on acpi0
>>>>> cpu1: <ACPI CPU> on acpi0
>>>>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>>>>> Event timer "RTC" frequency 32768 Hz quality 0
>>>>> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
>>>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>>>> attimer0: Can't map interrupt.
>>>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>>>>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
>>>>> acpi_ec0: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
>>>>> acpi_lid0: <Control Method Lid Switch> on acpi0
>>>>> acpi_button0: <Power Button> on acpi0
>>>>> acpi_button1: <Sleep Button> on acpi0
>>>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>>>> pci0: <ACPI PCI bus> on pcib0
>>>>> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
>>>>> pci1: <ACPI PCI bus> on pcib1
>>>>> vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem
>>>>> 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1
>>>>> vgapci0: Boot video device
>>>>> pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
>>>>> pcib2: failed to allocate initial I/O port window: 0-0xfff
>>>>> pcib2: failed to allocate initial memory window: 0-0xfffff
>>>>> pcib2: failed to allocate initial prefetch window: 0-0xfffff
>>>>> pci2: <ACPI PCI bus> on pcib2
>>>>> pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
>>>>> pcib3: failed to allocate initial I/O port window: 0-0xfff
>>>>> pcib3: failed to allocate initial memory window: 0-0xfffff
>>>>> pci4: <ACPI PCI bus> on pcib3
>>>>> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
>>>>> atapci0: <ATI IXP400 UDMA133 controller> port
>>>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1
>>>>> on pci0
>>>>> ata0: <ATA channel> at channel 0 on atapci0
>>>>> ata1: <ATA channel> at channel 1 on atapci0
>>>>> hdac0: <ATI SB450 HDA Controller> mem 0xc0000000-0xc0003fff irq 16 at
>>>>> device 20.2 on pci0
>>>>> hdac0: Device stuck in reset
>>>>> isab0: <PCI-ISA bridge> at device 20.3 on pci0
>>>>> isa0: <ISA bus> on isab0
>>>>> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
>>>>> pci6: <ACPI PCI bus> on pcib4
>>>>> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
>>>>> 0xc0210000-0xc02100ff irq 21 at device 1.0 on pci6
>>>>> miibus0: <MII bus> on rl0
>>>>> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
>>>>> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>>>>> rl0: Ethernet address: 00:16:d4:55:3d:e8
>>>>> ath0: <Atheros 2413> mem 0xc0200000-0xc020ffff irq 22 at device 2.0
>>>>> on pci6
>>>>> ath0: AR2413 mac 7.8 RF2413 phy 4.5
>>>>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056
>>>>> cbb0: <PCI-CardBus Bridge> mem 0xc0211000-0xc0211fff irq 20 at device
>>>>> 4.0 on pci6
>>>>> cardbus0: <CardBus bus> on cbb0
>>>>> pccard0: <16-bit PCCard bus> on cbb0
>>>>> pci6: <memory, flash> at device 4.1 (no driver attached)
>>>>> sdhci_pci0: <ENE CB712 SD> mem 0xc0210800-0xc02108ff irq 23 at device
>>>>> 4.2 on pci6
>>>>> sdhci_pci0: 1 slot(s) allocated
>>>>> pci6: <memory, flash> at device 4.3 (no driver attached)
>>>>> sdhci_pci1: <ENE CB712 SD 2> at device 4.4 on pci6
>>>>> sdhci_pci1: 1 slot(s) allocated
>>>>> acpi_tz0: <Thermal Zone> on acpi0
>>>>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>>>>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>>>>> kbd0 at atkbd0
>>>>> atkbd0: [GIANT-LOCKED]
>>>>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>>>>> psm0: [GIANT-LOCKED]
>>>>> psm0: model Generic PS/2 mouse, device ID 0
>>>>> battery0: <ACPI Control Method Battery> on acpi0
>>>>> acpi_acad0: <AC Adapter> on acpi0
>>>>> pmtimer0 on isa0
>>>>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid
>>>>> ORM0000 on isa0
>>>>> sc0: <System console> at flags 0x100 on isa0
>>>>> sc0: VGA <16 virtual consoles, flags=0x300>
>>>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
>>>>> isa0
>>>>> ppc0: parallel port not found.
>>>>> powernow0: <PowerNow! K8> on cpu0
>>>>> powernow1: <PowerNow! K8> on cpu1
>>>>> Timecounters tick every 1.000 msec
>>>>> random: unblocking device.
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> uhci0: <VIA 83C572 USB controller> port 0xa100-0xa11f irq 20 at device
>>>>> 0.0 on cardbus0
>>>>> ada0 at ata0 bus 0 scbus0 target 0 lun 0
>>>>> ada0: <ST98823A 3.06> ATA-6 device
>>>>> ada0: Serial Number 5PK2AD2Y
>>>>> ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
>>>>> ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
>>>>> ada0: Previously was known as ad0
>>>>> cd0 at ata0 bus 0 scbus0 target 1 lun 0
>>>>> cd0: <PIONEER DVD-RW DVR-K16RS 1.35> Removable CD-ROM SCSI-0 device
>>>>> cd0: Serial Number FIDL384431WL
>>>>> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
>>>>> cd0: cd present [1131986 x 2048 byte records]
>>>>> SMP: AP CPU #1 Launched!
>>>>> usbus0: controller did not reset
>>>>> usbus0 on uhci0
>>>>> usbus0: 12Mbps Full Speed USB v1.0
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> uhci1: <VIA 83C572 USB controller> port 0xa120-0xa13f irq 20 at device
>>>>> 0.1 on cardbus0
>>>>> ugen0.1: <VIA> at usbus0
>>>>> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>>>>> usbus1: controller did not reset
>>>>> usbus1 on uhci1
>>>>> usbus1: 12Mbps Full Speed USB v1.0
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> cardbus0: Expecting link target, got 0xff
>>>>> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc0212000-0xc02120ff irq 20
>>>>> at device 0.2 on cardbus0
>>>>> ehci0: VIA-quirk applied
>>>>> usbus2: EHCI version 1.0
>>>>> ugen1.1: <VIA> at usbus1
>>>>> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> usbus2 on ehci0
>>>>> usbus2: 480Mbps High Speed USB v2.0
>>>>> ugen2.1: <VIA> at usbus2
>>>>> uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>>>>> uhub0: 2 ports with 2 removable, self powered
>>>>> uhub1: 2 ports with 2 removable, self powered
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub2: 4 ports with 4 removable, self powered
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> uhci_interrupt: resume detect
>>>>> uhci_interrupt: host system error
>>>>> uhci_interrupt: host controller process error
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> Trying to mount root from ufs:/dev/ada0p2 [rw]...
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> wlan0: Ethernet address: 00:16:cf:89:cf:e0
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>> uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT
>>>>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1
>>>>>
>>>>>
>>>>> I see that when nothing is plugged in those USB ports on the card.
>>>>>
>>>>> When I plug something in (like keyboard and mouse), it is not detected
>>>>> and does not work.
>>>>>
>>>>> usbconfig just hangs, not reacting to ctrl+c until I unplug the card.
>>>>> Then it unhags and states the right EHCI device.
>>>>>
>>>>> Where should I start looking?
>>>> Hi,
>>>>
>>>> This might sound like an IRQ problem, that the device is not
>>>> generating any interrupts. You can fake interrupts by using a
>>>> timer/callout to see if that is the real problem.
>>>>
>>>> --
>>> Thanks for the reply!
>>> I thought of that, yes, but... do I have to hack a scheduler or something?
>>> I'm not shure how this could be done.
>>>
>>>
>> Hi,
>>
>> Just hack a callout that is calling the ehci_interrupt() function every 1ms. See for example the xhci driver which has already got such a feature.
> Any updates?
>
> Warner
>
>
First of all I must confess that I didn't realize at first that this 
maillist, as I assume now, is mostly for developers, which I certainly 
am not. Not even a programmer. Just a user, somewhat experienced (using 
FreeBSD for almost everything since 2003), but hacking a kernel is above 
my competence. I tried some tricks like compiling kernel without USB2.0 
support to see if it only effects ehci and not ohci for example, but I 
guess this may seem pretty stupid to this community. That obviously 
didn't work, so at this point I just gave up and continued to use Linux 
in that machine instead. Maybe a little backstory can explain what I'm 
really trying to do:

I have a notebook Acer Aspire 5100. A pretty old one and best known for 
it's unreliable southbridge. The symptoms of it burning down are almost 
the same for everyone: notebook gets a burned hole in the chasis in the 
left lower corner under the keyboard, USB stops working, keyboard and 
touchpad stop responding. And yes, I have all of them. Yet notebook can 
still work almost flawlessly after that, you just can't type anything in 
or plug the USB-device. That means you can't, for exmple, enter BIOS and 
change boot priority, etc. So when I run it's preinstalled Windows - I 
can't do anything. When I run Linux LiveCD - I also can't do anything, I 
just can't pass the first step in Kubuntu's graphical setup. So here is 
what I did - I took out HDD and installed a FreeBSD on it using another 
computer, and then I inserted the HDD back into the notebook. So the 
BIOS still is inaccessible due to no response on F2 and the FreeBSD boot 
menu is also unskipable due to no reaction on Enter, so I have to wait 
all 10 seconds before the kernel is loaded.

But when the kernel is loaded, the keyboard magically starts responding. 
When the system is loaded I can use it fully. The keyboard just works. 
And what I want to know is how? The touchpad and USB are still dead, no 
USB controllers are detected in dmesg or usbconfig, but the keyboard is 
detected normally as atkbd0 and it just works. And FreeBSD is the only 
OS that sees and reacts to this notebook's keyboard. I just wonder how 
this is possible? The southbridge is dead without a doubt, and all other 
systems totally agree with this.

Yet I have to have a mouse to make this old notebook somewhat usefull, 
So, as I've said, I grabbed that PCMCIA USB card and tried plugging 
mouse into it. In Linux that totally hepled, mouse and keyboard 
connected to this USB adapter just work and I can use Linux. But using 
external keyboard (since Linux does not detect a built-in one) makes 
this notebook not usable as a portable device. That's why I want to use 
FreeBSD with a built-in keyboard, which works, and a mouse connected to 
this PCMCIA-To-USB adapter, which does not work.

That's my story. But I'm just not familiar with C language to figure out 
what should I do.

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar 18 14:37:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B169E3F9;
 Tue, 18 Mar 2014 14:37:23 +0000 (UTC)
Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90])
 (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 290E89F9;
 Tue, 18 Mar 2014 14:37:23 +0000 (UTC)
Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587])
 (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.sbone.de (Postfix) with ESMTPS id CFECE25D3A9C;
 Tue, 18 Mar 2014 14:37:20 +0000 (UTC)
Received: from content-filter.sbone.de (content-filter.sbone.de
 [IPv6:fde9:577b:c1a9:31::2013:2742])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.sbone.de (Postfix) with ESMTPS id E1BAEC22C3D;
 Tue, 18 Mar 2014 14:37:19 +0000 (UTC)
X-Virus-Scanned: amavisd-new at sbone.de
Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587])
 by content-filter.sbone.de (content-filter.sbone.de
 [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024)
 with ESMTP id zOlss_PlUquY; Tue, 18 Mar 2014 14:37:18 +0000 (UTC)
Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.sbone.de (Postfix) with ESMTPSA id 54AB8C22C0D;
 Tue, 18 Mar 2014 14:37:18 +0000 (UTC)
Date: Tue, 18 Mar 2014 14:37:17 +0000 (UTC)
From: "Bjoern A. Zeeb" <bz@FreeBSD.org>
To: Juergen Lock <nox@jelal.kn-bremen.de>
Subject: Re: CFT #3: Re: linux libusb again... (now also for 10i386)
In-Reply-To: <20140315213143.GA37825@enceladus10.kn-bremen.de>
Message-ID: <alpine.BSF.2.00.1403181436340.4568@ai.fobar.qr>
References: <20140207204928.GD12994@FreeBSD.org>
 <20140208084546.GA74796@enceladus10.kn-bremen.de>
 <20140209025624.GE12994@FreeBSD.org>
 <20140209135905.GA13024@enceladus10.kn-bremen.de>
 <20140210041845.GG12994@FreeBSD.org>
 <D4F77E00-748A-4F18-AC39-3821380D13AA@FreeBSD.org>
 <20140210231109.GA54389@enceladus10.kn-bremen.de>
 <20140211195650.GI12994@FreeBSD.org>
 <20140211232048.GA91008@enceladus10.kn-bremen.de>
 <20140303181825.GA59170@enceladus10.kn-bremen.de>
 <20140315213143.GA37825@enceladus10.kn-bremen.de>
X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: freebsd-emulation@FreeBSD.org, "Wojciech A. Koszek" <wkoszek@FreeBSD.org>,
 bapt@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 14:37:23 -0000

On Sat, 15 Mar 2014, Juergen Lock wrote:

> Hi!
>
> I now have changed my port to use devel/linux-f10-devtools instead of
> emulators/linux_base-gentoo-stage3 (you need linux-f10-devtools-10_1
> because of http://www.freebsd.org/cgi/query-pr.cgi?pr=187609 ),
> which not only allows it to build outside of tb/powderkeg but also
> works around the missing 10i386 package issue:
>
> 	http://people.freebsd.org/~nox/tmp/linux_libusb-002.shar
>
> Packages:
>
> 	http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448_1.txz
> 	http://people.freebsd.org/~nox/tmp/packages/10i386/linux_libusb-11.0r261448_1.txz
>
> (Seems you can also manually untar them and use them on 9.x,
> at least Linux lsusb seems to do something on 9.2/amd64 too.)

I just fetched the amd64 package and instaled it on 10.0-RC5 and it
just worked.  Please get it in. :-)

-- 
Bjoern A. Zeeb                             ????????? ??? ??????? ??????:
'??? ??? ???? ??????  ??????? ?? ?? ??????? ??????? ??? ????? ????? ????
?????? ?? ????? ????',  ????????? ?????????, "??? ????? ?? ?????", ?.???

From owner-freebsd-usb@FreeBSD.ORG  Tue Mar 18 19:55:37 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C6152855;
 Tue, 18 Mar 2014 19:55:37 +0000 (UTC)
Received: from smtp.kn-bremen.de (gruenbaer.kn-bremen.de [148.251.8.79])
 by mx1.freebsd.org (Postfix) with ESMTP id C099A699;
 Tue, 18 Mar 2014 19:55:36 +0000 (UTC)
Received: by smtp.kn-bremen.de (Postfix, from userid 10)
 id 5B47D3DE0DC7; Tue, 18 Mar 2014 20:55:29 +0100 (CET)
Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1])
 by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s2IJrHUY027393;
 Tue, 18 Mar 2014 20:53:17 +0100 (CET)
 (envelope-from nox@enceladus10.kn-bremen.de)
Received: (from nox@localhost)
 by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s2IJrH7I027392;
 Tue, 18 Mar 2014 20:53:17 +0100 (CET) (envelope-from nox)
From: Juergen Lock <nox@jelal.kn-bremen.de>
Date: Tue, 18 Mar 2014 20:53:17 +0100
To: "Bjoern A. Zeeb" <bz@FreeBSD.org>
Subject: Re: CFT #3: Re: linux libusb again... (now also for 10i386)
Message-ID: <20140318195316.GA27385@enceladus10.kn-bremen.de>
References: <20140209025624.GE12994@FreeBSD.org>
 <20140209135905.GA13024@enceladus10.kn-bremen.de>
 <20140210041845.GG12994@FreeBSD.org>
 <D4F77E00-748A-4F18-AC39-3821380D13AA@FreeBSD.org>
 <20140210231109.GA54389@enceladus10.kn-bremen.de>
 <20140211195650.GI12994@FreeBSD.org>
 <20140211232048.GA91008@enceladus10.kn-bremen.de>
 <20140303181825.GA59170@enceladus10.kn-bremen.de>
 <20140315213143.GA37825@enceladus10.kn-bremen.de>
 <alpine.BSF.2.00.1403181436340.4568@ai.fobar.qr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.BSF.2.00.1403181436340.4568@ai.fobar.qr>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: bapt@FreeBSD.org, hselasky@FreeBSD.org,
 "Wojciech A. Koszek" <wkoszek@FreeBSD.org>,
 Juergen Lock <nox@jelal.kn-bremen.de>, freebsd-emulation@FreeBSD.org,
 freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 19:55:37 -0000

On Tue, Mar 18, 2014 at 02:37:17PM +0000, Bjoern A. Zeeb wrote:
> On Sat, 15 Mar 2014, Juergen Lock wrote:
> 
> > Hi!
> >
> > I now have changed my port to use devel/linux-f10-devtools instead of
> > emulators/linux_base-gentoo-stage3 (you need linux-f10-devtools-10_1
> > because of http://www.freebsd.org/cgi/query-pr.cgi?pr=187609 ),
> > which not only allows it to build outside of tb/powderkeg but also
> > works around the missing 10i386 package issue:
> >
> > 	http://people.freebsd.org/~nox/tmp/linux_libusb-002.shar
> >
> > Packages:
> >
> > 	http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448_1.txz
> > 	http://people.freebsd.org/~nox/tmp/packages/10i386/linux_libusb-11.0r261448_1.txz
> >
> > (Seems you can also manually untar them and use them on 9.x,
> > at least Linux lsusb seems to do something on 9.2/amd64 too.)
> 
> I just fetched the amd64 package and instaled it on 10.0-RC5 and it
> just worked.  Please get it in. :-)
> 
Done.  Thanx for testing! :)
	Juergen

PS: someone wants to test it as Linux libusb-1.0 too?  You'd have
to ln it yourself but otherwise it might just work as such also...

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 04:40:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3EF225B9
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 04:40:44 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 61487DBA
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 04:40:42 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s2K4eB54093417
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 20 Mar 2014 15:10:18 +1030 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB config SX lock deadlock
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_E230DD3A-5B09-4F17-A638-593974F6F8F2";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <52565BB1.8070506@bitfrost.no>
Date: Thu, 20 Mar 2014 15:10:10 +1030
Message-Id: <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
To: Hans Petter Selasky <hps@bitfrost.no>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -2.51 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 04:40:44 -0000


--Apple-Mail=_E230DD3A-5B09-4F17-A638-593974F6F8F2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


On 10 Oct 2013, at 18:18, Hans Petter Selasky <hps@bitfrost.no> wrote:
> On 10/10/13 09:38, Daniel O'Connor wrote:
>>=20
>> On 10/10/2013, at 16:59, Hans Petter Selasky <hps@bitfrost.no> wrote:
>> The usb_fifo_* code handles all wakeups so I am not sure.
>=20
> The usb_fifo code only will only do refcounting. If you do USB control =
requests, you should use the f_ioctl_post, callback, because the f_ioctl =
callback does not protect against attach and detach or the enumeration =
thread running.
>=20
>        err =3D (f->methods->f_ioctl) (f, cmd, addr, fflags);
>=20
>        DPRINTFN(2, "f_ioctl cmd 0x%lx =3D %d\n", cmd, err);
>=20
>        if (err !=3D ENOIOCTL)
>                goto done;
>=20
>        if (usb_usb_ref_device(cpd, &refs)) {
>                err =3D ENXIO;
>                goto done;
>        }
>=20
>        err =3D (f->methods->f_ioctl_post) (f, cmd, addr, fflags);
>=20
>        DPRINTFN(2, "f_ioctl_post cmd 0x%lx =3D %d\n", cmd, err);

After a long hiatus I have come back to this problem.

I updated a test system to 9-STABLE (r263062) and the problem occurs =
quite often. I'm still trying to find _why_ my device disconnects =
(unfortunately it has no debugger so it's tricky), however with this =
kernel is very reliably hangs (under and hour of tests).

I end up with the following backtrace of the thread in question..
(kgdb) bt
#0  sched_switch (td=3D0xfffffe011fa9c000, newtd=3D0xfffffe0002953000, =
flags=3D<value optimized out>) at /local0/src/sys/kern/sched_ule.c:1904
#1  0xffffffff8089e5b0 in mi_switch (flags=3D260, newtd=3D0x0) at =
/local0/src/sys/kern/kern_synch.c:485
#2  0xffffffff808d5274 in sleepq_wait (wchan=3D0xfffffe011faed050, =
pri=3D0) at /local0/src/sys/kern/subr_sleepqueue.c:618
#3  0xffffffff8089d916 in _sx_xlock_hard (sx=3D0xfffffe011faed050, =
tid=3D18446741879512481792, opts=3D<value optimized out>, file=3D<value =
optimized out>,
    line=3D<value optimized out>) at /local0/src/sys/kern/kern_sx.c:678
#4  0xffffffff8089de06 in _sx_xlock (sx=3D0xfffffe011faed050, opts=3D0, =
file=3D0xffffffff80e4d528 "/local0/src/sys/dev/usb/usb_device.c", =
line=3D2651) at sx.h:161
#5  0xffffffff8071245a in usbd_enum_lock (udev=3D0xfffffe011faed000) at =
/local0/src/sys/dev/usb/usb_device.c:2651
#6  0xffffffff807207a2 in usbd_do_request_flags =
(udev=3D0xfffffe011faed000, mtx=3D0x0, req=3D0xffffff812c402920, =
data=3D0xfffffe011fab8274, flags=3D4, actlen=3D0x0, timeout=3D5000)
    at /local0/src/sys/dev/usb/usb_request.c:459
#7  0xffffffff81c6493c in ugsio_udioctl (fifo=3D<value optimized out>, =
cmd=3D3222040644, data=3D0xfffffe011fab8270, fflags=3D<value optimized =
out>) at ugsio.c:1038
#8  0xffffffff8070f932 in usb_ioctl (dev=3D<value optimized out>, =
cmd=3D3222040644, addr=3D0xfffffe011fab8270 "\001", fflag=3D<value =
optimized out>, td=3D<value optimized out>)
    at /local0/src/sys/dev/usb/usb_dev.c:1075
#9  0xffffffff8078f01a in devfs_ioctl_f (fp=3D0xfffffe0008f21be0, =
com=3D3222040644, data=3D<value optimized out>, cred=3D<value optimized =
out>, td=3D0xfffffe011fa9c000)
    at /local0/src/sys/fs/devfs/devfs_vnops.c:758
#10 0xffffffff808df946 in kern_ioctl (td=3D0xfffffe011fa9c000, fd=3D3, =
com=3D3222040644, data=3D0xfffffe011fab8270 "\001") at file.h:311
#11 0xffffffff808dfb5d in sys_ioctl (td=3D0xfffffe011fa9c000, =
uap=3D0xffffff812c402b70) at /local0/src/sys/kern/sys_generic.c:696
#12 0xffffffff80c4ee58 in amd64_syscall (td=3D0xfffffe011fa9c000, =
traced=3D0) at subr_syscall.c:135
#13 0xffffffff80c3aa67 in Xfast_syscall () at =
/local0/src/sys/amd64/amd64/exception.S:391
#14 0x00000008010e7d9c in ?? ()

and the code at frame 7
1033	    usbreq.bRequest =3D VC_CMD;
1034	    USETW(usbreq.wValue, vccmd->value);
1035	    USETW(usbreq.wIndex, vccmd->index);
1036	    USETW(usbreq.wLength, sizeof(vccmd->data));
1037
1038	    if ((err =3D usbd_do_request_flags(udev, NULL, &usbreq, =
vccmd->data, USB_SHORT_XFER_OK, NULL, 20000)) !=3D =
USB_ERR_NORMAL_COMPLETION) {
1039		DPRINTFN(1, "USB request failed: %d\n", err);
1040		return(err);
1041	    }
1042

The lock object looks like..
(kgdb) print sx
$1 =3D (struct sx *) 0xfffffe011faed050
(kgdb) print *sx
$2 =3D {lock_object =3D {lo_name =3D 0xffffffff80e4d3d7 "USB config SX =
lock", lo_flags =3D 41091072, lo_data =3D 0, lo_witness =3D 0x0}, =
sx_lock =3D 18446741874768565396}

I tried 'show alllocks' in DDB but it doesn't list anything even though =
witness is in the kernel :(

However some digging shows most of the USB process threads look the same =
except for..

* 42 Thread 100030 (PID=3D15: usb/usbus0)  sched_switch =
(td=3D0xfffffe0004e75490, newtd=3D0xfffffe0002953000, flags=3D<value =
optimized out>)
    at /local0/src/sys/kern/sched_ule.c:1904
#0  sched_switch (td=3D0xfffffe0004e75490, newtd=3D0xfffffe0002953000, =
flags=3D<value optimized out>) at /local0/src/sys/kern/sched_ule.c:1904
#1  0xffffffff8089e5b0 in mi_switch (flags=3D260, newtd=3D0x0) at =
/local0/src/sys/kern/kern_synch.c:485
#2  0xffffffff808d5274 in sleepq_wait (wchan=3D0xfffffe000851a288, =
pri=3D0) at /local0/src/sys/kern/subr_sleepqueue.c:618
#3  0xffffffff80852c6d in _cv_wait (cvp=3D0xfffffe000851a288, =
lock=3D0xffffffff81403700) at /local0/src/sys/kern/kern_condvar.c:139
#4  0xffffffff8071195c in usb_fifo_free (f=3D0xfffffe000851a200) at =
/local0/src/sys/dev/usb/usb_dev.c:609
#5  0xffffffff80711a52 in usb_fifo_detach (f_sc=3D0xfffffe0008802458) at =
/local0/src/sys/dev/usb/usb_dev.c:1824
#6  0xffffffff81c64041 in ugsio_detach (dev=3D<value optimized out>) at =
ugsio.c:341
#7  0xffffffff808c35a4 in device_detach (dev=3D0xfffffe0008bf3100) at =
device_if.h:214
#8  0xffffffff807130b8 in usb_detach_device (udev=3D0xfffffe011faed000, =
iface_index=3D32 ' ', flag=3D<value optimized out>) at =
/local0/src/sys/dev/usb/usb_device.c:1050
#9  0xffffffff80713a7c in usb_unconfigure (udev=3D0xfffffe011faed000, =
flag=3D<value optimized out>) at =
/local0/src/sys/dev/usb/usb_device.c:450
#10 0xffffffff80714287 in usbd_set_config_index =
(udev=3D0xfffffe011faed000, index=3D255 '=EF=BF=BD') at =
/local0/src/sys/dev/usb/usb_device.c:513
#11 0xffffffff8071ce11 in uhub_explore (udev=3D0xfffffe0008166000) at =
/local0/src/sys/dev/usb/usb_hub.c:460
#12 0xffffffff8071ca4b in uhub_explore (udev=3D0xfffffe0006f2f000) at =
/local0/src/sys/dev/usb/usb_hub.c:524
#13 0xffffffff80707782 in usb_bus_explore (pm=3D<value optimized out>) =
at /local0/src/sys/dev/usb/controller/usb_controller.c:381
#14 0xffffffff80720403 in usb_process (arg=3D<value optimized out>) at =
/local0/src/sys/dev/usb/usb_process.c:169
#15 0xffffffff8086b4cd in fork_exit (callout=3D0xffffffff80720340 =
<usb_process>, arg=3D0xffffff80007e5db0, frame=3D0xffffff80f5d34c00) at =
/local0/src/sys/kern/kern_fork.c:996
#16 0xffffffff80c3acae in fork_trampoline () at =
/local0/src/sys/amd64/amd64/exception.S:606
#17 0x0000000000000000 in ?? ()

So I think usb_detach_device has grabbed the enum lock, but I'm not sure =
what sort of fix would be appropriate, any ideas?

Thanks.

--
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







--Apple-Mail=_E230DD3A-5B09-4F17-A638-593974F6F8F2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTKnEq5ZPcIHs/zowRAnoyAJ94+B1XL0phdga1oIV0PNDshNZCuwCgo+t0
FplIWvpl4rBPARcFd/pMucs=
=mKDA
-----END PGP SIGNATURE-----

--Apple-Mail=_E230DD3A-5B09-4F17-A638-593974F6F8F2--

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 04:50:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 31400799
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 04:50:41 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7F48CDFF
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 04:50:40 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s2K4oR9c093845
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 20 Mar 2014 15:20:33 +1030 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB config SX lock deadlock
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_5046864B-2944-43A1-9313-A11FF1007D20";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
Date: Thu, 20 Mar 2014 15:20:26 +1030
Message-Id: <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
 <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
To: Hans Petter Selasky <hps@bitfrost.no>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -2.51 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 04:50:41 -0000


--Apple-Mail=_5046864B-2944-43A1-9313-A11FF1007D20
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 20 Mar 2014, at 15:10, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> #8  0xffffffff8070f932 in usb_ioctl (dev=3D<value optimized out>, =
cmd=3D3222040644, addr=3D0xfffffe011fab8270 "\001", fflag=3D<value =
optimized out>, td=3D<value optimized out>)
>    at /local0/src/sys/dev/usb/usb_dev.c:1075

Sigh, I just realised this means my driver was still using f_ioctl, not =
f_ioctl_post.

Sorry, will double check that and test again.

--
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







--Apple-Mail=_5046864B-2944-43A1-9313-A11FF1007D20
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTKnOS5ZPcIHs/zowRAkmxAJ9zJMPrtOYO05mOrN0q636uCQTBEACfVMV1
32qpL4VhH4Aqxnq7oDYd6sU=
=fhjL
-----END PGP SIGNATURE-----

--Apple-Mail=_5046864B-2944-43A1-9313-A11FF1007D20--

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 11:13:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D49C1CFE
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 11:13:02 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 378253B7
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 11:13:01 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-100-39.lns20.adl2.internode.on.net
 [118.210.100.39]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s2KBCa39030170
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 20 Mar 2014 21:42:44 +1030 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB config SX lock deadlock
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_18577C42-FDE0-41E3-A723-4CFEA3A7A79A";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
Date: Thu, 20 Mar 2014 21:42:35 +1030
Message-Id: <C2B2332E-266F-4B21-8ED5-4B68C39A5D69@gsoft.com.au>
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
 <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
 <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
To: Hans Petter Selasky <hps@bitfrost.no>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 11:13:03 -0000


--Apple-Mail=_18577C42-FDE0-41E3-A723-4CFEA3A7A79A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 20 Mar 2014, at 15:20, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> On 20 Mar 2014, at 15:10, Daniel O'Connor <doconnor@gsoft.com.au> =
wrote:
>> #8  0xffffffff8070f932 in usb_ioctl (dev=3D<value optimized out>, =
cmd=3D3222040644, addr=3D0xfffffe011fab8270 "\001", fflag=3D<value =
optimized out>, td=3D<value optimized out>)
>>   at /local0/src/sys/dev/usb/usb_dev.c:1075
>=20
> Sigh, I just realised this means my driver was still using f_ioctl, =
not f_ioctl_post.
>=20
> Sorry, will double check that and test again.

OK, I have checked and it is definitely using the _post version - it =
gets stuck in..

#0  sched_switch (td=3D0xfffffe0008f1c490, newtd=3D0xfffffe0002953490, =
flags=3D<value optimized out>) at /local0/src/sys/kern/sched_ule.c:1904
#1  0xffffffff8089e5b0 in mi_switch (flags=3D260, newtd=3D0x0) at =
/local0/src/sys/kern/kern_synch.c:485
#2  0xffffffff808d5274 in sleepq_wait (wchan=3D0xfffffe000817c050, =
pri=3D0) at /local0/src/sys/kern/subr_sleepqueue.c:618
#3  0xffffffff8089d916 in _sx_xlock_hard (sx=3D0xfffffe000817c050, =
tid=3D18446741874836358288, opts=3D<value optimized out>, file=3D<value =
optimized out>,
    line=3D<value optimized out>) at /local0/src/sys/kern/kern_sx.c:678
#4  0xffffffff8089de06 in _sx_xlock (sx=3D0xfffffe000817c050, opts=3D0, =
file=3D0xffffffff80e4d528 "/local0/src/sys/dev/usb/usb_device.c", =
line=3D2651) at sx.h:161
#5  0xffffffff8071245a in usbd_enum_lock (udev=3D0xfffffe000817c000) at =
/local0/src/sys/dev/usb/usb_device.c:2651
#6  0xffffffff8070f47a in usb_ref_device (cpd=3D0xfffffe004f287a80, =
crd=3D0xffffff812c284970, need_uref=3D1) at =
/local0/src/sys/dev/usb/usb_dev.c:225
#7  0xffffffff8070fa32 in usb_ioctl (dev=3D<value optimized out>, =
cmd=3D3225710660, addr=3D0xfffffe004eddfd00 "\004", fflag=3D<value =
optimized out>, td=3D<value optimized out>)
    at /local0/src/sys/dev/usb/usb_dev.c:1105
#8  0xffffffff8078f01a in devfs_ioctl_f (fp=3D0xfffffe01109f40a0, =
com=3D3225710660, data=3D<value optimized out>, cred=3D<value optimized =
out>, td=3D0xfffffe0008f1c490)
    at /local0/src/sys/fs/devfs/devfs_vnops.c:758
#9  0xffffffff808df946 in kern_ioctl (td=3D0xfffffe0008f1c490, fd=3D3, =
com=3D3225710660, data=3D0xfffffe004eddfd00 "\004") at file.h:311
#10 0xffffffff808dfb5d in sys_ioctl (td=3D0xfffffe0008f1c490, =
uap=3D0xffffff812c284b70) at /local0/src/sys/kern/sys_generic.c:696
#11 0xffffffff80c4ee58 in amd64_syscall (td=3D0xfffffe0008f1c490, =
traced=3D0) at subr_syscall.c:135
#12 0xffffffff80c3aa67 in Xfast_syscall () at =
/local0/src/sys/amd64/amd64/exception.S:391
#13 0x00000008010d8d9c in ?? ()

--
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







--Apple-Mail=_18577C42-FDE0-41E3-A723-4CFEA3A7A79A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTKs0j5ZPcIHs/zowRAlzjAKCF5O1l/SPmSaJM648OejJv1GozigCeJ6wI
STwh4/C+hF9I8KKfK13LgCI=
=zdNe
-----END PGP SIGNATURE-----

--Apple-Mail=_18577C42-FDE0-41E3-A723-4CFEA3A7A79A--

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 13:25:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 30DD8A25
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 13:25:57 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id C54B7366
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 13:25:56 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 3DE191FE026;
 Thu, 20 Mar 2014 14:25:54 +0100 (CET)
Message-ID: <532AEC8F.7000608@selasky.org>
Date: Thu, 20 Mar 2014 14:26:39 +0100
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB config SX lock deadlock
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
 <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
 <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
 <C2B2332E-266F-4B21-8ED5-4B68C39A5D69@gsoft.com.au>
In-Reply-To: <C2B2332E-266F-4B21-8ED5-4B68C39A5D69@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 13:25:57 -0000

Hi,

Can you try to reproduce using the attached patch.

You need to manually add:

#define USB_BUS_EXPLORE_PROC(bus) (&(bus)->explore_proc)

Because the patch is for -current.

Thank you for your bug report!

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 13:54:11 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3B8C24DC
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 13:54:11 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id ED95F878
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 13:54:10 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 2EE1C1FE026;
 Thu, 20 Mar 2014 14:54:09 +0100 (CET)
Message-ID: <532AF32D.3060406@selasky.org>
Date: Thu, 20 Mar 2014 14:54:53 +0100
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB config SX lock deadlock
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
 <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
 <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
 <C2B2332E-266F-4B21-8ED5-4B68C39A5D69@gsoft.com.au>
 <532AEC8F.7000608@selasky.org>
In-Reply-To: <532AEC8F.7000608@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 13:54:11 -0000

On 03/20/14 14:26, Hans Petter Selasky wrote:
> Hi,
>
> Can you try to reproduce using the attached patch.
>
> You need to manually add:
>
> #define USB_BUS_EXPLORE_PROC(bus) (&(bus)->explore_proc)
>
> Because the patch is for -current.
>
> Thank you for your bug report!
>
> --HPS

FYI

http://svnweb.freebsd.org/changeset/base/263423

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 20 22:34:25 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D2B57306
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 22:34:25 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 34E39E49
 for <freebsd-usb@freebsd.org>; Thu, 20 Mar 2014 22:34:24 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-132-29.lns20.adl6.internode.on.net
 [118.210.132.29]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s2KMXv98075566
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 21 Mar 2014 09:04:08 +1030 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB config SX lock deadlock
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_146D45C5-5E9A-43C7-A458-C6FFEB4FF387";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <532AEC8F.7000608@selasky.org>
Date: Fri, 21 Mar 2014 09:03:56 +1030
Message-Id: <29BF3F84-1EE7-4E99-A094-29B4AB7325D6@gsoft.com.au>
References: <9783900F-08A1-41FB-81B8-3C9809B82521@gsoft.com.au>
 <52553000.2010003@bitfrost.no>
 <A2C6A9D3-1595-41D2-A5C6-B544A3E40058@gsoft.com.au>
 <52554855.6030404@bitfrost.no>
 <FFD6BC71-0CAC-41AE-9450-6549F4B0E9C5@gsoft.com.au>
 <52564953.8080707@bitfrost.no>
 <7610BC59-ED91-4807-B145-7F7DD2C725E9@gsoft.com.au>
 <52565BB1.8070506@bitfrost.no>
 <084BCD21-ADE9-4E60-B637-99EEE1D26389@gsoft.com.au>
 <427679D2-ED43-435A-B362-5F7B89F7AA3A@gsoft.com.au>
 <C2B2332E-266F-4B21-8ED5-4B68C39A5D69@gsoft.com.au>
 <532AEC8F.7000608@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 22:34:25 -0000


--Apple-Mail=_146D45C5-5E9A-43C7-A458-C6FFEB4FF387
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=iso-8859-1


On 20 Mar 2014, at 23:56, Hans Petter Selasky <hps@selasky.org> wrote:
> Can you try to reproduce using the attached patch.
> 
> You need to manually add:
> 
> #define USB_BUS_EXPLORE_PROC(bus) (&(bus)->explore_proc)
> 
> Because the patch is for -current.
> 
> Thank you for your bug report!

Wow, very fast turn around, thanks!

I am running a patched kernel now.

--
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







--Apple-Mail=_146D45C5-5E9A-43C7-A458-C6FFEB4FF387
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTK2zU5ZPcIHs/zowRAt5iAJ9jjbdMOL1ZnSTdv6VoEE0uT7XTdACeOGSN
4aPxDmhJmSyoDJm35I7Q6OI=
=EIkB
-----END PGP SIGNATURE-----

--Apple-Mail=_146D45C5-5E9A-43C7-A458-C6FFEB4FF387--

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar 24 11:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4927D27F
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Mar 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2B80F18A
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Mar 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OB6sMB014026
 for <freebsd-usb@FreeBSD.org>; Mon, 24 Mar 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2OB6rxs014024
 for freebsd-usb@FreeBSD.org; Mon, 24 Mar 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 24 Mar 2014 11:06:53 GMT
Message-Id: <201403241106.s2OB6rxs014024@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Mar 2014 11:06:54 -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/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

329 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Thu Mar 27 17:19:38 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0DB272CC;
 Thu, 27 Mar 2014 17:19:38 +0000 (UTC)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B57F9B95;
 Thu, 27 Mar 2014 17:19:37 +0000 (UTC)
Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52]
 helo=damnhippie.dyndns.org)
 by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
 (Exim 4.72) (envelope-from <ian@FreeBSD.org>)
 id 1WTDxo-000HPG-3M; Thu, 27 Mar 2014 17:19:36 +0000
Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240])
 by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s2RHJXbm078895;
 Thu, 27 Mar 2014 11:19:33 -0600 (MDT) (envelope-from ian@FreeBSD.org)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 24.8.230.52
X-Report-Abuse-To: abuse@dyndns.com (see
 http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse
 reporting information)
X-MHO-User: U2FsdGVkX1/wh05co1opAsvxX2mjGbDa
Subject: Supporting higher baud rates in newer FTDI chips
From: Ian Lepore <ian@FreeBSD.org>
To: freebsd-embedded@FreeBSD.org, freebsd-usb@FreeBSD.org
Content-Type: multipart/mixed; boundary="=-IEciT+MNHOgmdlZ3e4gk"
Date: Thu, 27 Mar 2014 11:19:33 -0600
Message-ID: <1395940773.81853.113.camel@revolution.hippie.lan>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 17:19:38 -0000


--=-IEciT+MNHOgmdlZ3e4gk
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have added support to the uftdi driver for the higher baud rates
supported by the latest H-series chips.  I hope to commit the changes
soon; the patch is attached for review.

In the process I discovered we've been setting the rate wrong on the
older chips (we put the high bit of the fractional rate in the wrong
place, but it only affects very high non-standard bit rates).  Because
the old code was wrong I ended up basically rewriting everything related
to calculating and setting the baud rate.  

The newer chips use the same product ID as the earlier ones, so I wrote
some new code to use the bcdDevice field from the device descriptor to
determine the model and version of chip.

I've tested this on all the chips I have around: 232R, 2232C, 2232D,
2232H, and 4232H.

-- Ian


--=-IEciT+MNHOgmdlZ3e4gk
Content-Disposition: inline; filename="uftdi_baudrate2.diff"
Content-Type: text/x-patch; name="uftdi_baudrate2.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: sys/dev/usb/serial/uftdi_reg.h
===================================================================
--- sys/dev/usb/serial/uftdi_reg.h	(revision 263112)
+++ sys/dev/usb/serial/uftdi_reg.h	(working copy)
@@ -75,31 +75,13 @@
 /*
  * BmRequestType:  0100 0000B
  * bRequest:       FTDI_SIO_SET_BAUDRATE
- * wValue:         BaudRate value - see below
- * wIndex:         Port
+ * wValue:         BaudRate low bits
+ * wIndex:         Port and BaudRate high bits 
  * wLength:        0
  * Data:           None
  */
 /* FTDI_SIO_SET_BAUDRATE */
-enum {
-	ftdi_sio_b300 = 0,
-	ftdi_sio_b600 = 1,
-	ftdi_sio_b1200 = 2,
-	ftdi_sio_b2400 = 3,
-	ftdi_sio_b4800 = 4,
-	ftdi_sio_b9600 = 5,
-	ftdi_sio_b19200 = 6,
-	ftdi_sio_b38400 = 7,
-	ftdi_sio_b57600 = 8,
-	ftdi_sio_b115200 = 9
-};
 
-#define	FTDI_8U232AM_FREQ 3000000
-
-/* Bounds for normal divisors as 4-bit fixed precision ints. */
-#define	FTDI_8U232AM_MIN_DIV 0x20
-#define	FTDI_8U232AM_MAX_DIV 0x3fff8
-
 /*
  * BmRequestType:  0100 0000B
  * bRequest:       FTDI_SIO_SET_DATA
Index: sys/dev/usb/serial/uftdi.c
===================================================================
--- sys/dev/usb/serial/uftdi.c	(revision 263112)
+++ sys/dev/usb/serial/uftdi.c	(working copy)
@@ -92,6 +92,21 @@ enum {
 	UFTDI_N_TRANSFER,
 };
 
+enum {
+	DEVT_SIO,
+	DEVT_232A,
+	DEVT_232B,
+	DEVT_2232D,	/* Includes 2232C */
+	DEVT_232R,
+	DEVT_2232H,
+	DEVT_4232H,
+	DEVT_232H,
+	DEVT_230X,
+};
+
+#define	DEVF_BAUDBITS_HINDEX	0x01	/* Baud bits in high byte of index. */
+#define	DEVF_BAUDCLK_12M	0X02	/* Base baud clock is 12MHz. */
+
 struct uftdi_softc {
 	struct ucom_super_softc sc_super_ucom;
 	struct ucom_softc sc_ucom;
@@ -105,15 +120,16 @@ struct uftdi_softc {
 
 	uint16_t sc_last_lcr;
 
-	uint8_t sc_type;
-	uint8_t	sc_iface_index;
+	uint8_t sc_devtype;
+	uint8_t sc_devflags;
 	uint8_t	sc_hdrlen;
 	uint8_t	sc_msr;
 	uint8_t	sc_lsr;
 };
 
 struct uftdi_param_config {
-	uint16_t rate;
+	uint16_t baud_lobits;
+	uint16_t baud_hibits;
 	uint16_t lcr;
 	uint8_t	v_start;
 	uint8_t	v_stop;
@@ -135,8 +151,8 @@ static void	uftdi_cfg_open(struct ucom_softc *);
 static void	uftdi_cfg_set_dtr(struct ucom_softc *, uint8_t);
 static void	uftdi_cfg_set_rts(struct ucom_softc *, uint8_t);
 static void	uftdi_cfg_set_break(struct ucom_softc *, uint8_t);
-static int	uftdi_set_parm_soft(struct termios *,
-		    struct uftdi_param_config *, uint8_t);
+static int	uftdi_set_parm_soft(struct ucom_softc *, struct termios *,
+		    struct uftdi_param_config *);
 static int	uftdi_pre_param(struct ucom_softc *, struct termios *);
 static void	uftdi_cfg_param(struct ucom_softc *, struct termios *);
 static void	uftdi_cfg_get_status(struct ucom_softc *, uint8_t *,
@@ -145,7 +161,6 @@ static void	uftdi_start_read(struct ucom_softc *);
 static void	uftdi_stop_read(struct ucom_softc *);
 static void	uftdi_start_write(struct ucom_softc *);
 static void	uftdi_stop_write(struct ucom_softc *);
-static uint8_t	uftdi_8u232am_getrate(uint32_t, uint16_t *);
 static void	uftdi_poll(struct ucom_softc *ucom);
 
 static const struct usb_config uftdi_config[UFTDI_N_TRANSFER] = {
@@ -846,6 +861,80 @@ static const STRUCT_USB_HOST_ID uftdi_devs[] = {
 #undef UFTDI_DEV
 };
 
+/*
+ * Set up softc fields whose value depends on the device type.
+ *
+ * Note that the 2232C and 2232D devices are the same for our purposes.  In the
+ * silicon the difference is that the D series has CPU FIFO mode and C doesn't.
+ * I haven't found any way of determining the C/D difference from info provided
+ * by the chip other than trying to set CPU FIFO mode and having it work or not.
+ * 
+ * Due to a hardware bug, a 232B chip without an eeprom reports itself as a 
+ * 232A, but if the serial number is also zero we know it's really a 232B. 
+ */
+static void
+uftdi_devtype_setup(struct uftdi_softc *sc, struct usb_attach_arg *uaa)
+{
+	struct usb_device_descriptor *dd;
+
+	switch (uaa->info.bcdDevice) {
+	case 0x200:
+		dd = usbd_get_device_descriptor(sc->sc_udev);
+		if (dd->iSerialNumber == 0) {
+			sc->sc_devtype = DEVT_232B;
+		} else {
+			sc->sc_devtype = DEVT_232A;
+		}
+		sc->sc_ucom.sc_portno = 0;
+		break;
+	case 0x400:
+		sc->sc_devtype = DEVT_232B;
+		sc->sc_ucom.sc_portno = 0;
+		break;
+	case 0x500:
+		sc->sc_devtype = DEVT_2232D;
+		sc->sc_devflags |= DEVF_BAUDBITS_HINDEX;
+		sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
+		break;
+	case 0x600:
+		sc->sc_devtype = DEVT_232R;
+		sc->sc_ucom.sc_portno = 0;
+		break;
+	case 0x700:
+		sc->sc_devtype = DEVT_2232H;
+		sc->sc_devflags |= DEVF_BAUDBITS_HINDEX | DEVF_BAUDCLK_12M;
+		sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
+		break;
+	case 0x800:
+		sc->sc_devtype = DEVT_4232H;
+		sc->sc_devflags |= DEVF_BAUDBITS_HINDEX | DEVF_BAUDCLK_12M;
+		sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
+		break;
+	case 0x900:
+		sc->sc_devtype = DEVT_232H;
+		sc->sc_devflags |= DEVF_BAUDBITS_HINDEX | DEVF_BAUDCLK_12M;
+		sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
+		break;
+	case 0x1000:
+		sc->sc_devtype = DEVT_230X;
+		sc->sc_devflags |= DEVF_BAUDBITS_HINDEX;
+		sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
+		break;
+	default:
+		if (uaa->info.bcdDevice < 0x200) {
+			sc->sc_devtype = DEVT_SIO;
+			sc->sc_hdrlen = 1;
+		} else {
+			sc->sc_devtype = DEVT_232R;
+			device_printf(sc->sc_dev, "Warning: unknown FTDI "
+			    "device type, bcdDevice=0x%04x, assuming 232R", 
+			    uaa->info.bcdDevice);
+		}
+		sc->sc_ucom.sc_portno = 0;
+		break;
+	}
+}
+
 static int
 uftdi_probe(device_t dev)
 {
@@ -885,6 +974,8 @@ uftdi_attach(device_t dev)
 	struct uftdi_softc *sc = device_get_softc(dev);
 	int error;
 
+	DPRINTF("\n");
+
 	sc->sc_udev = uaa->device;
 	sc->sc_dev = dev;
 	sc->sc_unit = device_get_unit(dev);
@@ -893,34 +984,11 @@ uftdi_attach(device_t dev)
 	mtx_init(&sc->sc_mtx, "uftdi", NULL, MTX_DEF);
 	ucom_ref(&sc->sc_super_ucom);
 
-	DPRINTF("\n");
 
-	sc->sc_iface_index = uaa->info.bIfaceIndex;
-	sc->sc_type = USB_GET_DRIVER_INFO(uaa) & UFTDI_TYPE_MASK;
+	uftdi_devtype_setup(sc, uaa);
 
-	switch (sc->sc_type) {
-	case UFTDI_TYPE_AUTO:
-		/* simplified type check */
-		if (uaa->info.bcdDevice >= 0x0200 ||
-		    usbd_get_iface(uaa->device, 1) != NULL) {
-			sc->sc_type = UFTDI_TYPE_8U232AM;
-			sc->sc_hdrlen = 0;
-		} else {
-			sc->sc_type = UFTDI_TYPE_SIO;
-			sc->sc_hdrlen = 1;
-		}
-		break;
-	case UFTDI_TYPE_SIO:
-		sc->sc_hdrlen = 1;
-		break;
-	case UFTDI_TYPE_8U232AM:
-	default:
-		sc->sc_hdrlen = 0;
-		break;
-	}
-
 	error = usbd_transfer_setup(uaa->device,
-	    &sc->sc_iface_index, sc->sc_xfer, uftdi_config,
+	    &uaa->info.bIfaceIndex, sc->sc_xfer, uftdi_config,
 	    UFTDI_N_TRANSFER, sc, &sc->sc_mtx);
 
 	if (error) {
@@ -928,8 +996,6 @@ uftdi_attach(device_t dev)
 		    "transfers failed\n");
 		goto detach;
 	}
-	sc->sc_ucom.sc_portno = FTDI_PIT_SIOA + uaa->info.bIfaceNum;
-
 	/* clear stall at first run */
 	mtx_lock(&sc->sc_mtx);
 	usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_WR]);
@@ -1192,58 +1258,162 @@ uftdi_cfg_set_break(struct ucom_softc *ucom, uint8
 	    &req, NULL, 0, 1000);
 }
 
+/*
+ * Return true if the given speed is within operational tolerance of the target
+ * speed.  FTDI recommends that the hardware speed be within 3% of nominal.
+ */
+static inline boolean_t
+uftdi_baud_within_tolerance(uint64_t speed, uint64_t target)
+{
+	return ((speed >= (target * 100) / 103) &&
+	    (speed <= (target * 100) / 97));
+}
+
 static int
-uftdi_set_parm_soft(struct termios *t,
-    struct uftdi_param_config *cfg, uint8_t type)
+uftdi_sio_encode_baudrate(struct uftdi_softc *sc, speed_t speed,
+	struct uftdi_param_config *cfg)
 {
+	u_int i;
+	const speed_t sio_speeds[] = {
+		300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
+	};
 
-	memset(cfg, 0, sizeof(*cfg));
-
-	switch (type) {
-	case UFTDI_TYPE_SIO:
-		switch (t->c_ospeed) {
-		case 300:
-			cfg->rate = ftdi_sio_b300;
-			break;
-		case 600:
-			cfg->rate = ftdi_sio_b600;
-			break;
-		case 1200:
-			cfg->rate = ftdi_sio_b1200;
-			break;
-		case 2400:
-			cfg->rate = ftdi_sio_b2400;
-			break;
-		case 4800:
-			cfg->rate = ftdi_sio_b4800;
-			break;
-		case 9600:
-			cfg->rate = ftdi_sio_b9600;
-			break;
-		case 19200:
-			cfg->rate = ftdi_sio_b19200;
-			break;
-		case 38400:
-			cfg->rate = ftdi_sio_b38400;
-			break;
-		case 57600:
-			cfg->rate = ftdi_sio_b57600;
-			break;
-		case 115200:
-			cfg->rate = ftdi_sio_b115200;
-			break;
-		default:
-			return (EINVAL);
+	/*
+	 * The original SIO chips were limited to a small choice of speeds
+	 * listed in an internal table of speeds chosen by an index value.
+	 */
+	for (i = 0; i < nitems(sio_speeds); ++i) {
+		if (speed == sio_speeds[i]) {
+			cfg->baud_lobits = i;
+			cfg->baud_hibits = 0;
+			return (0);
 		}
-		break;
+	}
+	return (ERANGE);
+}
 
-	case UFTDI_TYPE_8U232AM:
-		if (uftdi_8u232am_getrate(t->c_ospeed, &cfg->rate)) {
-			return (EINVAL);
-		}
-		break;
+static int
+uftdi_encode_baudrate(struct uftdi_softc *sc, speed_t speed,
+	struct uftdi_param_config *cfg)
+{
+	static const uint8_t encoded_fraction[8] = {0, 3, 2, 4, 1, 5, 6, 7};
+	static const uint8_t roundoff_232a[16] = {
+		0,  1,  0,  1,  0, -1,  2,  1,
+		0, -1, -2, -3,  4,  3,  2,  1,
+	};
+	uint32_t clk, divisor, fastclk_flag, frac, hwspeed;
+
+	/*
+	 * If this chip has the fast clock capability and the speed is within
+	 * range, use the 12MHz clock, otherwise the standard clock is 3MHz.
+	 */
+	if ((sc->sc_devflags & DEVF_BAUDCLK_12M) && speed >= 1200) {
+		clk = 12000000;
+		fastclk_flag = (1 << 17);
+	} else {
+		clk = 3000000;
+		fastclk_flag = 0;
 	}
 
+	/*
+	 * Make sure the requested speed is reachable with the available clock
+	 * and a 14-bit divisor.
+	 */
+	if (speed < (clk >> 14) || speed > clk)
+		return (ERANGE);
+
+	/*
+	 * Calculate the divisor, initially yielding a fixed point number with a
+	 * 4-bit (1/16ths) fraction, then round it to the nearest fraction the
+	 * hardware can handle.  When the integral part of the divisor is
+	 * greater than one, the fractional part is in 1/8ths of the base clock.
+	 * The FT8U232AM chips can handle only 0.125, 0.250, and 0.5 fractions.
+	 * Later chips can handle all 1/8th fractions.
+	 *
+	 * If the integral part of the divisor is 1, a special rule applies: the
+	 * fractional part can only be .0 or .5 (this is a limitation of the
+	 * hardware).  We handle this by truncating the fraction rather than
+	 * rounding, because this only applies to the two fastest speeds the
+	 * chip can achieve and rounding doesn't matter, either you've asked for
+	 * that exact speed or you've asked for something the chip can't do.
+	 *
+	 * For the FT8U232AM chips, use a roundoff table to adjust the result
+	 * to the nearest 1/8th fraction that is supported by the hardware,
+	 * leaving a fixed-point number with a 3-bit fraction which exactly
+	 * represents the math the hardware divider will do.  For later-series
+	 * chips that support all 8 fractional divisors, just round 16ths to
+	 * 8ths by adding 1 and dividing by 2.
+	 */
+	divisor = (clk << 4) / speed;
+	if ((divisor & 0xfffffff0) == 1)
+		divisor &= 0xfffffff8;
+	else if (sc->sc_devtype == DEVT_232A)
+		divisor += roundoff_232a[divisor & 0x0f];
+	else
+		divisor += 1;  /* Rounds odd 16ths up to next 8th. */
+	divisor >>= 1;
+
+	/*
+	 * Ensure the resulting hardware speed will be within operational
+	 * tolerance (within 3% of nominal).
+	 */
+	hwspeed = (clk << 3) / divisor;
+	if (!uftdi_baud_within_tolerance(hwspeed, speed))
+		return (ERANGE);
+
+	/*
+	 * Re-pack the divisor into hardware format. The lower 14-bits hold the
+	 * integral part, while the upper bits specify the fraction by indexing
+	 * a table of fractions within the hardware which is laid out as:
+	 *    {0.0, 0.5, 0.25, 0.125, 0.325, 0.625, 0.725, 0.875}
+	 * The A-series chips only have the first four table entries; the
+	 * roundoff table logic above ensures that the fractional part for those
+	 * chips will be one of the first four values.
+	 *
+	 * When the divisor is 1 a special encoding applies:  1.0 is encoded as
+	 * 0.0, and 1.5 is encoded as 1.0.  The rounding logic above has already
+	 * ensured that the fraction is either .0 or .5 if the integral is 1.
+	 */
+	frac = divisor & 0x07;
+	divisor >>= 3;
+	if (divisor == 1) {
+		if (frac == 0)
+			divisor = 0;  /* 1.0 becomes 0.0 */
+		else
+			frac = 0;     /* 1.5 becomes 1.0 */
+	}
+	divisor |= (encoded_fraction[frac] << 14) | fastclk_flag;
+        
+	cfg->baud_lobits = (uint16_t)divisor;
+	cfg->baud_hibits = (uint16_t)(divisor >> 16);
+
+	/*
+	 * If this chip requires the baud bits to be in the high byte of the
+	 * index word, move the bits up to that location.
+	 */
+	if (sc->sc_devflags & DEVF_BAUDBITS_HINDEX) {
+		cfg->baud_hibits <<= 8;
+	}
+
+	return (0);
+}
+
+static int
+uftdi_set_parm_soft(struct ucom_softc *ucom, struct termios *t,
+    struct uftdi_param_config *cfg)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	int err;
+
+	memset(cfg, 0, sizeof(*cfg));
+
+	if (sc->sc_devtype == DEVT_SIO)
+		err = uftdi_sio_encode_baudrate(sc, t->c_ospeed, cfg);
+	else
+		err = uftdi_encode_baudrate(sc, t->c_ospeed, cfg);
+	if (err != 0)
+		return (err);
+
 	if (t->c_cflag & CSTOPB)
 		cfg->lcr = FTDI_SIO_SET_DATA_STOP_BITS_2;
 	else
@@ -1293,12 +1463,11 @@ static int
 static int
 uftdi_pre_param(struct ucom_softc *ucom, struct termios *t)
 {
-	struct uftdi_softc *sc = ucom->sc_parent;
 	struct uftdi_param_config cfg;
 
 	DPRINTF("\n");
 
-	return (uftdi_set_parm_soft(t, &cfg, sc->sc_type));
+	return (uftdi_set_parm_soft(ucom, t, &cfg));
 }
 
 static void
@@ -1309,7 +1478,7 @@ uftdi_cfg_param(struct ucom_softc *ucom, struct te
 	struct uftdi_param_config cfg;
 	struct usb_device_request req;
 
-	if (uftdi_set_parm_soft(t, &cfg, sc->sc_type)) {
+	if (uftdi_set_parm_soft(ucom, t, &cfg)) {
 		/* should not happen */
 		return;
 	}
@@ -1319,8 +1488,8 @@ uftdi_cfg_param(struct ucom_softc *ucom, struct te
 
 	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
 	req.bRequest = FTDI_SIO_SET_BAUD_RATE;
-	USETW(req.wValue, cfg.rate);
-	USETW(req.wIndex, wIndex);
+	USETW(req.wValue, cfg.baud_lobits);
+	USETW(req.wIndex, cfg.baud_hibits | wIndex);
 	USETW(req.wLength, 0);
 	ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, 
 	    &req, NULL, 0, 1000);
@@ -1386,75 +1555,6 @@ uftdi_stop_write(struct ucom_softc *ucom)
 	usbd_transfer_stop(sc->sc_xfer[UFTDI_BULK_DT_WR]);
 }
 
-/*------------------------------------------------------------------------*
- *	uftdi_8u232am_getrate
- *
- * Return values:
- *    0: Success
- * Else: Failure
- *------------------------------------------------------------------------*/
-static uint8_t
-uftdi_8u232am_getrate(uint32_t speed, uint16_t *rate)
-{
-	/* Table of the nearest even powers-of-2 for values 0..15. */
-	static const uint8_t roundoff[16] = {
-		0, 2, 2, 4, 4, 4, 8, 8,
-		8, 8, 8, 8, 16, 16, 16, 16,
-	};
-	uint32_t d;
-	uint32_t freq;
-	uint16_t result;
-
-	if ((speed < 178) || (speed > ((3000000 * 100) / 97)))
-		return (1);		/* prevent numerical overflow */
-
-	/* Special cases for 2M and 3M. */
-	if ((speed >= ((3000000 * 100) / 103)) &&
-	    (speed <= ((3000000 * 100) / 97))) {
-		result = 0;
-		goto done;
-	}
-	if ((speed >= ((2000000 * 100) / 103)) &&
-	    (speed <= ((2000000 * 100) / 97))) {
-		result = 1;
-		goto done;
-	}
-	d = (FTDI_8U232AM_FREQ << 4) / speed;
-	d = (d & ~15) + roundoff[d & 15];
-
-	if (d < FTDI_8U232AM_MIN_DIV)
-		d = FTDI_8U232AM_MIN_DIV;
-	else if (d > FTDI_8U232AM_MAX_DIV)
-		d = FTDI_8U232AM_MAX_DIV;
-
-	/*
-	 * Calculate the frequency needed for "d" to exactly divide down to
-	 * our target "speed", and check that the actual frequency is within
-	 * 3% of this.
-	 */
-	freq = (speed * d);
-	if ((freq < ((FTDI_8U232AM_FREQ * 1600ULL) / 103)) ||
-	    (freq > ((FTDI_8U232AM_FREQ * 1600ULL) / 97)))
-		return (1);
-
-	/*
-	 * Pack the divisor into the resultant value.  The lower 14-bits
-	 * hold the integral part, while the upper 2 bits encode the
-	 * fractional component: either 0, 0.5, 0.25, or 0.125.
-	 */
-	result = (d >> 4);
-	if (d & 8)
-		result |= 0x4000;
-	else if (d & 4)
-		result |= 0x8000;
-	else if (d & 2)
-		result |= 0xc000;
-
-done:
-	*rate = result;
-	return (0);
-}
-
 static void
 uftdi_poll(struct ucom_softc *ucom)
 {

--=-IEciT+MNHOgmdlZ3e4gk--


From owner-freebsd-usb@FreeBSD.ORG  Sat Mar 29 12:20:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B60EB85C
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sat, 29 Mar 2014 12:20:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 92C8BAEC
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sat, 29 Mar 2014 12:20:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2TCK0cP031869
 for <freebsd-usb@freefall.freebsd.org>; Sat, 29 Mar 2014 12:20:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2TCK0WO031868;
 Sat, 29 Mar 2014 12:20:00 GMT (envelope-from gnats)
Resent-Date: Sat, 29 Mar 2014 12:20:00 GMT
Resent-Message-Id: <201403291220.s2TCK0WO031868@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,
 Tuomo Latto <djv+fbpr@iki.fi>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1F3AE6FF
 for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Mar 2014 12:10:48 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0C59AA2B
 for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Mar 2014 12:10:43 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2TCAbjI001114
 for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Mar 2014 12:10:37 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2TCAbrs001106;
 Sat, 29 Mar 2014 12:10:37 GMT (envelope-from nobody)
Message-Id: <201403291210.s2TCAbrs001106@cgiserv.freebsd.org>
Date: Sat, 29 Mar 2014 12:10:37 GMT
From: Tuomo Latto <djv+fbpr@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/188046: [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle
 support
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Mar 2014 12:20:00 -0000


>Number:         188046
>Category:       usb
>Synopsis:       [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 12:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tuomo Latto
>Release:        9-STABLE
>Organization:
>Environment:
FreeBSD xxx64 9.2-STABLE FreeBSD 9.2-STABLE #1 r263317M: Tue Mar 25 15:10:32 EET 2014     xxx@xxx64:/usr/obj/usr/src/sys/XXX64  amd64

>Description:
ZyXEL NWD2105 WiFi/WLAN USB dongle is not currently supported as it is not identified.
More information about the device: https://wikidevi.com/wiki/ZyXEL_NWD2105
>How-To-Repeat:
Plug it in.
>Fix:
The attached patch should add the relevant device ids and seems to make it work.

Patch attached with submission follows:

diff -ru /root/sys_dev_usb/usbdevs /usr/src/sys/dev/usb/usbdevs
--- /root/sys_dev_usb/usbdevs	2014-03-18 22:04:14.000000000 +0200
+++ /usr/src/sys/dev/usb/usbdevs	2014-03-24 20:22:57.000000000 +0200
@@ -4535,5 +4535,6 @@
 product ZYXEL G202		0x3410	G-202
 product ZYXEL RT2870_1		0x3416	RT2870
 product ZYXEL RT2870_2		0x341a	RT2870
+product ZYXEL RT3070		0x341e	NWD2105
 product ZYXEL RTL8192CU		0x341f	RTL8192CU
 product ZYXEL NWD2705		0x3421	NWD2705
diff -ru /root/sys_dev_usb/wlan/if_run.c /usr/src/sys/dev/usb/wlan/if_run.c
--- /root/sys_dev_usb/wlan/if_run.c	2014-03-18 22:04:14.000000000 +0200
+++ /usr/src/sys/dev/usb/wlan/if_run.c	2014-03-24 20:23:31.000000000 +0200
@@ -315,6 +315,7 @@
     RUN_DEV(ZINWELL,		RT3072_2),
     RUN_DEV(ZYXEL,		RT2870_1),
     RUN_DEV(ZYXEL,		RT2870_2),
+    RUN_DEV(ZYXEL,		RT3070),
     RUN_DEV_EJECT(ZYXEL,	NWD2705),
     RUN_DEV_EJECT(RALINK,	RT_STOR),
 #undef RUN_DEV_EJECT


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar 31 08:50:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BDBB0296
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 31 Mar 2014 08:50:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 81961CC0
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 31 Mar 2014 08:50:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2V8o0vZ013626
 for <freebsd-usb@freefall.freebsd.org>; Mon, 31 Mar 2014 08:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2V8o0X2013624;
 Mon, 31 Mar 2014 08:50:00 GMT (envelope-from gnats)
Resent-Date: Mon, 31 Mar 2014 08:50:00 GMT
Resent-Message-Id: <201403310850.s2V8o0X2013624@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,
 zhiqiang feng <windyboy@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2A1D8283
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Mar 2014 08:49:00 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id F1EABCB6
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Mar 2014 08:48:59 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2V8mxgZ086959
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 31 Mar 2014 08:48:59 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2V8mxbN086958;
 Mon, 31 Mar 2014 08:48:59 GMT (envelope-from nobody)
Message-Id: <201403310848.s2V8mxbN086958@cgiserv.freebsd.org>
Date: Mon, 31 Mar 2014 08:48:59 GMT
From: zhiqiang feng <windyboy@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/188119: multiple keybard
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Mar 2014 08:50:00 -0000


>Number:         188119
>Category:       usb
>Synopsis:       multiple keybard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 08:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     zhiqiang feng
>Release:        10.0-RELEASE
>Organization:
ITDCL
>Environment:
FreeBSD vpn.gzzn.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I plug yubikey(usb keyboard) into my machine to input the keys, then unplug the yubikey, my ps/2 keyboard will not work any more, the keyboard hardware is ok, then I plug yubikey again then the keybard will work again.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Mon Mar 31 11:06:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 64A95BDC
 for <freebsd-usb@FreeBSD.org>; Mon, 31 Mar 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 472E7BB2
 for <freebsd-usb@FreeBSD.org>; Mon, 31 Mar 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2VB6r04058864
 for <freebsd-usb@FreeBSD.org>; Mon, 31 Mar 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2VB6quX058862
 for freebsd-usb@FreeBSD.org; Mon, 31 Mar 2014 11:06:52 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 31 Mar 2014 11:06:52 GMT
Message-Id: <201403311106.s2VB6quX058862@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Mar 2014 11:06:53 -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/188119   usb        multiple keybard
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

331 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  1 10:40:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E6844B7E
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  1 Apr 2014 10:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D4B5CF4F
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  1 Apr 2014 10:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s31Ae14r030562
 for <freebsd-usb@freefall.freebsd.org>; Tue, 1 Apr 2014 10:40:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s31Ae1Ta030561;
 Tue, 1 Apr 2014 10:40:01 GMT (envelope-from gnats)
Date: Tue, 1 Apr 2014 10:40:01 GMT
Message-Id: <201404011040.s31Ae1Ta030561@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@selasky.org>
Subject: Re: usb/188119: multiple keybard
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@selasky.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Apr 2014 10:40:02 -0000

The following reply was made to PR usb/188119; it has been noted by GNATS.

From: Hans Petter Selasky <hps@selasky.org>
To: zhiqiang feng <windyboy@gmail.com>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188119: multiple keybard
Date: Tue, 01 Apr 2014 12:36:50 +0200

 On 03/31/14 10:48, zhiqiang feng wrote:
 >
 >> Number:         188119
 >> Category:       usb
 >> Synopsis:       multiple keybard
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-usb
 >> State:          open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:          sw-bug
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Mon Mar 31 08:50:00 UTC 2014
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     zhiqiang feng
 >> Release:        10.0-RELEASE
 >> Organization:
 > ITDCL
 >> Environment:
 > FreeBSD vpn.gzzn.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
 >> Description:
 > I plug yubikey(usb keyboard) into my machine to input the keys, then unplug the yubikey, my ps/2 keyboard will not work any more, the keyboard hardware is ok, then I plug yubikey again then the keybard will work again.
 >> How-To-Repeat:
 >
 >> Fix:
 >
 >
 >> Release-Note:
 >> Audit-Trail:
 >> Unformatted:
 
 Hi,
 
 I think this might be a HAL/X.org issue.
 
 Does the keyboard still work if you switch to the text-console?
 
 --HPS
 

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  1 10:40:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DC334B7F
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  1 Apr 2014 10:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C9F01F50
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Tue,  1 Apr 2014 10:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s31Ae2vo030568
 for <freebsd-usb@freefall.freebsd.org>; Tue, 1 Apr 2014 10:40:02 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s31Ae2Zk030567;
 Tue, 1 Apr 2014 10:40:02 GMT (envelope-from gnats)
Date: Tue, 1 Apr 2014 10:40:02 GMT
Message-Id: <201404011040.s31Ae2Zk030567@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/188046: commit references a PR
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dfilter service <dfilter@FreeBSD.ORG>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Apr 2014 10:40:02 -0000

The following reply was made to PR usb/188046; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/188046: commit references a PR
Date: Tue,  1 Apr 2014 10:34:43 +0000 (UTC)

 Author: hselasky
 Date: Tue Apr  1 10:34:39 2014
 New Revision: 263985
 URL: http://svnweb.freebsd.org/changeset/base/263985
 
 Log:
   Add new USB ID.
   
   Submitted by:	Tuomo Latto <djv+fbpr@iki.fi>
   PR:		usb/188046
   MFC after:	1 week
 
 Modified:
   head/sys/dev/usb/usbdevs
   head/sys/dev/usb/wlan/if_run.c
 
 Modified: head/sys/dev/usb/usbdevs
 ==============================================================================
 --- head/sys/dev/usb/usbdevs	Tue Apr  1 08:19:30 2014	(r263984)
 +++ head/sys/dev/usb/usbdevs	Tue Apr  1 10:34:39 2014	(r263985)
 @@ -4535,5 +4535,6 @@ product ZYXEL G220V2		0x340f	G-220 v2
  product ZYXEL G202		0x3410	G-202
  product ZYXEL RT2870_1		0x3416	RT2870
  product ZYXEL RT2870_2		0x341a	RT2870
 +product ZYXEL RT3070		0x341e	NWD2105
  product ZYXEL RTL8192CU		0x341f	RTL8192CU
  product ZYXEL NWD2705		0x3421	NWD2705
 
 Modified: head/sys/dev/usb/wlan/if_run.c
 ==============================================================================
 --- head/sys/dev/usb/wlan/if_run.c	Tue Apr  1 08:19:30 2014	(r263984)
 +++ head/sys/dev/usb/wlan/if_run.c	Tue Apr  1 10:34:39 2014	(r263985)
 @@ -316,6 +316,7 @@ static const STRUCT_USB_HOST_ID run_devs
      RUN_DEV(ZINWELL,		RT3072_2),
      RUN_DEV(ZYXEL,		RT2870_1),
      RUN_DEV(ZYXEL,		RT2870_2),
 +    RUN_DEV(ZYXEL,		RT3070),
      RUN_DEV_EJECT(ZYXEL,	NWD2705),
      RUN_DEV_EJECT(RALINK,	RT_STOR),
  #undef RUN_DEV_EJECT
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  2 02:53:58 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 496E9676;
 Wed,  2 Apr 2014 02:53:58 +0000 (UTC)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 08BC1C02;
 Wed,  2 Apr 2014 02:53:57 +0000 (UTC)
Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52]
 helo=damnhippie.dyndns.org)
 by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
 (Exim 4.72) (envelope-from <ian@FreeBSD.org>)
 id 1WVBJM-000NME-63; Wed, 02 Apr 2014 02:53:56 +0000
Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240])
 by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s322rsVS085217;
 Tue, 1 Apr 2014 20:53:54 -0600 (MDT) (envelope-from ian@FreeBSD.org)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 24.8.230.52
X-Report-Abuse-To: abuse@dyndns.com (see
 http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse
 reporting information)
X-MHO-User: U2FsdGVkX18jFnRFxPr+wXkgzpuFi7bY
Subject: uftdi driver - new ioctls to support FTDI bitbang and other modes
From: Ian Lepore <ian@FreeBSD.org>
To: freebsd-usb@FreeBSD.org, freebsd-embedded@FreeBSD.org
Content-Type: multipart/mixed; boundary="=-aAnWI9pkvoHeukRLaZxf"
Date: Tue, 01 Apr 2014 20:53:53 -0600
Message-ID: <1396407233.81853.229.camel@revolution.hippie.lan>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Apr 2014 02:53:58 -0000


--=-aAnWI9pkvoHeukRLaZxf
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

The attached patch, which I hope to commit sometime soon, adds support
for bitbang, MPSSE, CPU_FIFO, and other modes supported by the FTDI
serial adapter chips, using ioctl() calls.  This allows full control of
all the FTDI features that embedded folks like, using any language that
supports fd-based IO.  You can, for example, program an fpga in MPSSE
mode just by configuring the mode with a couple ioctl() calls, then
writing the bitfile image to the fd as if it were going out a serial
port.  You can also do jtag work this way.

In addition to adding the new ioctls, this change removes all the code
that reset the chip at attach and open/close time, and also the code
that turned on RTS/CTS flow control on open without any permission to do
so (that was just always a bug in the driver).  

When FTDI chips are configured as GPIO or MPSSE or other special-purpose
uses by an attached serial eeprom, the chip will power on with certain
pins driven or floating, and it's important that the driver not do
anything to the chip to perturb that unless it receives a specific
command to do so.  When used for "plain old serial comms" the chip
powers on into the right mode and never needs to be reset while it's
running to operate properly, so this change is transparent to most
users.

-- Ian



--=-aAnWI9pkvoHeukRLaZxf
Content-Disposition: inline; filename="uftdi_ioctl.diff"
Content-Type: text/x-patch; name="uftdi_ioctl.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: sys/dev/usb/serial/uftdi_reg.h
===================================================================
--- sys/dev/usb/serial/uftdi_reg.h	(revision 264013)
+++ sys/dev/usb/serial/uftdi_reg.h	(working copy)
@@ -28,6 +28,10 @@
 					 * reg */
 #define	FTDI_SIO_SET_EVENT_CHAR	6	/* Set the event character */
 #define	FTDI_SIO_SET_ERROR_CHAR	7	/* Set the error character */
+#define	FTDI_SIO_SET_LATENCY	9	/* Set the latency timer */
+#define	FTDI_SIO_GET_LATENCY	10	/* Read the latency timer */
+#define	FTDI_SIO_SET_BITMODE	11	/* Set the bit bang I/O mode */
+#define	FTDI_SIO_GET_BITMODE	12	/* Read pin states in bit bang mode */
 
 /* Port Identifier Table */
 #define	FTDI_PIT_DEFAULT 	0	/* SIOA */
Index: sys/dev/usb/serial/uftdi.c
===================================================================
--- sys/dev/usb/serial/uftdi.c	(revision 264031)
+++ sys/dev/usb/serial/uftdi.c	(working copy)
@@ -38,7 +38,14 @@ __FBSDID("$FreeBSD$");
  */
 
 /*
- * FTDI FT2232x, FT8U100AX and FT8U232AM serial adapter driver
+ * FTDI FT232x, FT2232x, FT4232x, FT8U100AX and FT8U232xM serial adapters.
+ *
+ * Note that we specifically do not do a reset or otherwise alter the state of
+ * the chip during attach, detach, open, and close, because it could be
+ * pre-initialized (via an attached serial eeprom) to power-on into a mode such
+ * as bitbang in which the pins are being driven to a specific state which we
+ * must not perturb.  The device gets reset at power-on, and doesn't need to be
+ * reset again after that to function, except as directed by ioctl() calls.
  */
 
 #include <sys/stdint.h>
@@ -64,6 +71,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
 #include <dev/usb/usb_core.h>
+#include <dev/usb/usb_ioctl.h>
 #include "usbdevs.h"
 
 #define	USB_DEBUG_VAR uftdi_debug
@@ -72,6 +80,7 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/usb/serial/usb_serial.h>
 #include <dev/usb/serial/uftdi_reg.h>
+#include <dev/usb/uftdiio.h>
 
 #ifdef USB_DEBUG
 static int uftdi_debug = 0;
@@ -175,6 +184,7 @@ static usb_callback_t uftdi_read_callback;
 
 static void	uftdi_free(struct ucom_softc *);
 static void	uftdi_cfg_open(struct ucom_softc *);
+static void	uftdi_cfg_close(struct ucom_softc *);
 static void	uftdi_cfg_set_dtr(struct ucom_softc *, uint8_t);
 static void	uftdi_cfg_set_rts(struct ucom_softc *, uint8_t);
 static void	uftdi_cfg_set_break(struct ucom_softc *, uint8_t);
@@ -184,6 +194,15 @@ static int	uftdi_pre_param(struct ucom_softc *, st
 static void	uftdi_cfg_param(struct ucom_softc *, struct termios *);
 static void	uftdi_cfg_get_status(struct ucom_softc *, uint8_t *,
 		    uint8_t *);
+static int	uftdi_reset(struct ucom_softc *, int);
+static int	uftdi_set_bitmode(struct ucom_softc *, uint8_t, uint8_t);
+static int	uftdi_get_bitmode(struct ucom_softc *, uint8_t *);
+static int	uftdi_set_latency(struct ucom_softc *, int);
+static int	uftdi_get_latency(struct ucom_softc *, int *);
+static int	uftdi_set_event_char(struct ucom_softc *, int);
+static int	uftdi_set_error_char(struct ucom_softc *, int);
+static int	uftdi_ioctl(struct ucom_softc *, uint32_t, caddr_t, int,
+		    struct thread *);
 static void	uftdi_start_read(struct ucom_softc *);
 static void	uftdi_stop_read(struct ucom_softc *);
 static void	uftdi_start_write(struct ucom_softc *);
@@ -218,7 +237,9 @@ static const struct ucom_callback uftdi_callback =
 	.ucom_cfg_set_break = &uftdi_cfg_set_break,
 	.ucom_cfg_param = &uftdi_cfg_param,
 	.ucom_cfg_open = &uftdi_cfg_open,
+	.ucom_cfg_close = &uftdi_cfg_close,
 	.ucom_pre_param = &uftdi_pre_param,
+	.ucom_ioctl = &uftdi_ioctl,
 	.ucom_start_read = &uftdi_start_read,
 	.ucom_stop_read = &uftdi_stop_read,
 	.ucom_start_write = &uftdi_start_write,
@@ -1085,37 +1106,25 @@ uftdi_free(struct ucom_softc *ucom)
 static void
 uftdi_cfg_open(struct ucom_softc *ucom)
 {
-	struct uftdi_softc *sc = ucom->sc_parent;
-	uint16_t wIndex = ucom->sc_portno;
-	struct usb_device_request req;
 
+	/*
+	 * This do-nothing open routine exists for the sole purpose of this
+	 * DPRINTF() so that you can see the point at which open gets called
+	 * when debugging is enabled.
+	 */
 	DPRINTF("");
+}
 
-	/* perform a full reset on the device */
+static void
+uftdi_cfg_close(struct ucom_softc *ucom)
+{
 
-	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
-	req.bRequest = FTDI_SIO_RESET;
-	USETW(req.wValue, FTDI_SIO_RESET_SIO);
-	USETW(req.wIndex, wIndex);
-	USETW(req.wLength, 0);
-	ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, 
-	    &req, NULL, 0, 1000);
-
-	/* turn on RTS/CTS flow control */
-
-	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
-	req.bRequest = FTDI_SIO_SET_FLOW_CTRL;
-	USETW(req.wValue, 0);
-	USETW2(req.wIndex, FTDI_SIO_RTS_CTS_HS, wIndex);
-	USETW(req.wLength, 0);
-	ucom_cfg_do_request(sc->sc_udev, &sc->sc_ucom, 
-	    &req, NULL, 0, 1000);
-
 	/*
-	 * NOTE: with the new UCOM layer there will always be a
-	 * "uftdi_cfg_param()" call after "open()", so there is no need for
-	 * "open()" to configure anything
+	 * This do-nothing close routine exists for the sole purpose of this
+	 * DPRINTF() so that you can see the point at which close gets called
+	 * when debugging is enabled.
 	 */
+	DPRINTF("");
 }
 
 static void
@@ -1582,6 +1591,182 @@ uftdi_cfg_get_status(struct ucom_softc *ucom, uint
 	*lsr = sc->sc_lsr;
 }
 
+static int
+uftdi_reset(struct ucom_softc *ucom, int reset_type)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_RESET;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 0);
+	USETW(req.wValue, reset_type);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL));
+}
+
+static int
+uftdi_set_bitmode(struct ucom_softc *ucom, uint8_t bitmode, uint8_t iomask)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_SET_BITMODE;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 0);
+
+	if (bitmode == UFTDI_BITMODE_NONE)
+	    USETW2(req.wValue, 0, 0);
+	else
+	    USETW2(req.wValue, (1 << bitmode), iomask);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL));
+}
+
+static int
+uftdi_get_bitmode(struct ucom_softc *ucom, uint8_t *iomask)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_GET_BITMODE;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 1);
+	USETW(req.wValue,  0);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, iomask));
+}
+
+static int
+uftdi_set_latency(struct ucom_softc *ucom, int latency)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+
+	if (latency < 0 || latency > 255)
+		return (USB_ERR_INVAL);
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_SET_LATENCY;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 0);
+	USETW2(req.wValue, 0, latency);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL));
+}
+
+static int
+uftdi_get_latency(struct ucom_softc *ucom, int *latency)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+	usb_error_t err;
+	uint8_t buf;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_GET_LATENCY;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 1);
+	USETW(req.wValue, 0);
+
+	err = usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, &buf);
+	*latency = buf;
+
+	return (err);
+}
+
+static int
+uftdi_set_event_char(struct ucom_softc *ucom, int echar)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+	uint8_t enable;
+
+	enable = (echar == -1) ? 0 : 1;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_SET_EVENT_CHAR;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 0);
+	USETW2(req.wValue, enable, echar & 0xff);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL));
+}
+
+static int
+uftdi_set_error_char(struct ucom_softc *ucom, int echar)
+{
+	struct uftdi_softc *sc = ucom->sc_parent;
+	usb_device_request_t req;
+	uint8_t enable;
+
+	enable = (echar == -1) ? 0 : 1;
+
+	req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
+	req.bRequest = FTDI_SIO_SET_ERROR_CHAR;
+
+	USETW(req.wIndex, sc->sc_ucom.sc_portno);
+	USETW(req.wLength, 0);
+	USETW2(req.wValue, enable, echar & 0xff);
+
+	return (usbd_do_request(sc->sc_udev, &sc->sc_mtx, &req, NULL));
+}
+
+static int
+uftdi_ioctl(struct ucom_softc *ucom, uint32_t cmd, caddr_t data,
+    int flag, struct thread *td)
+{
+	int err;
+	struct uftdi_bitmode * mode;
+
+	DPRINTF("portno: %d cmd: %#x\n", ucom->sc_portno, cmd);
+
+	switch (cmd) {
+	case UFTDIIOC_RESET_IO:
+	case UFTDIIOC_RESET_RX:
+	case UFTDIIOC_RESET_TX:
+		err = uftdi_reset(ucom, 
+		    cmd == UFTDIIOC_RESET_IO ? FTDI_SIO_RESET_SIO :
+		    (cmd == UFTDIIOC_RESET_RX ? FTDI_SIO_RESET_PURGE_RX :
+		    FTDI_SIO_RESET_PURGE_TX));
+		break;
+	case UFTDIIOC_SET_BITMODE:
+		mode = (struct uftdi_bitmode *)data;
+		err = uftdi_set_bitmode(ucom, mode->mode, mode->iomask);
+		break;
+	case UFTDIIOC_GET_BITMODE:
+		mode = (struct uftdi_bitmode *)data;
+		err = uftdi_get_bitmode(ucom, &mode->iomask);
+		break;
+	case UFTDIIOC_SET_LATENCY:
+		err = uftdi_set_latency(ucom, *((int *)data));
+		break;
+	case UFTDIIOC_GET_LATENCY:
+		err = uftdi_get_latency(ucom, (int *)data);
+		break;
+	case UFTDIIOC_SET_ERROR_CHAR:
+		err = uftdi_set_event_char(ucom, *(int *)data);
+		break;
+	case UFTDIIOC_SET_EVENT_CHAR:
+		err = uftdi_set_error_char(ucom, *(int *)data);
+		break;
+	default:
+		return (ENOIOCTL);
+	}
+	if (err != USB_ERR_NORMAL_COMPLETION)
+		return (EIO);
+	return (0);
+}
+
 static void
 uftdi_start_read(struct ucom_softc *ucom)
 {
Index: sys/dev/usb/uftdiio.h
===================================================================
--- sys/dev/usb/uftdiio.h	(revision 0)
+++ sys/dev/usb/uftdiio.h	(working copy)
@@ -0,0 +1,74 @@
+/*-
+ * Copyright 2008-2012 - Symmetricom, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions, and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ *  $FreeBSD$ 
+ */
+
+/*
+ * FTDI USB serial converter chip ioctl commands.
+ */
+
+#ifndef _USB_UFTDIIO_H_
+#define _USB_UFTDIIO_H_
+
+#include <sys/ioccom.h>
+
+enum uftdi_bitmodes
+{
+	UFTDI_BITMODE_ASYNC = 0,
+	UFTDI_BITMODE_MPSSE = 1,
+	UFTDI_BITMODE_SYNC = 2,
+	UFTDI_BITMODE_CPU_EMUL = 3,
+	UFTDI_BITMODE_FAST_SERIAL = 4,
+	UFTDI_BITMODE_CBUS = 5,
+	UFTDI_BITMODE_NONE = 0xff,
+};
+
+/*
+ * For UFTDIIOC_SET_BITMODE:
+ *   mode   = One of the uftdi_bitmodes enum values.
+ *   iomask = Mask of bits enabled for bitbang output.
+ *
+ * For UFTDIIOC_GET_BITMODE:
+ *   mode   = Unused.
+ *   iomask = Returned snapshot of bitbang pin states at time of call.
+ */
+struct uftdi_bitmode
+{
+	uint8_t mode;
+	uint8_t iomask;
+};
+
+#define	UFTDIIOC_RESET_IO	_IO('c', 0)	/* Reset config, flush fifos.*/
+#define	UFTDIIOC_RESET_RX	_IO('c', 1)	/* Flush input fifo. */
+#define	UFTDIIOC_RESET_TX	_IO('c', 2)	/* Flush output fifo. */
+#define	UFTDIIOC_SET_BITMODE	_IOW('c', 3, struct uftdi_bitmode)
+#define	UFTDIIOC_GET_BITMODE	_IOR('c', 4, struct uftdi_bitmode)
+#define	UFTDIIOC_SET_ERROR_CHAR	_IOW('c', 5, int)	/* -1 to disable */
+#define	UFTDIIOC_SET_EVENT_CHAR	_IOW('c', 6, int)	/* -1 to disable */
+#define	UFTDIIOC_SET_LATENCY	_IOW('c', 7, int)	/* 1-255 ms */
+#define	UFTDIIOC_GET_LATENCY	_IOR('c', 8, int)
+
+#endif

Property changes on: sys/dev/usb/uftdiio.h
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
Added: svn:eol-style
## -0,0 +1 ##
+native

--=-aAnWI9pkvoHeukRLaZxf--


From owner-freebsd-usb@FreeBSD.ORG  Sun Apr  6 01:53:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id EF9B489C
 for <freebsd-usb@freebsd.org>; Sun,  6 Apr 2014 01:53:53 +0000 (UTC)
Received: from mail-qg0-x242.google.com (mail-qg0-x242.google.com
 [IPv6:2607:f8b0:400d:c04::242])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id B495D6B8
 for <freebsd-usb@freebsd.org>; Sun,  6 Apr 2014 01:53:53 +0000 (UTC)
Received: by mail-qg0-f66.google.com with SMTP id a108so1435558qge.9
 for <freebsd-usb@freebsd.org>; Sat, 05 Apr 2014 18:53:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=161ZQX3J8QFdgNDlU1F5AoNSbHq+detKjCahL+PXMgc=;
 b=QTKlmK8ZOZbetk1beXVV7BSLvan/S8F6R9qgGC6vyV5/jAK9bWizTjkT62jMQejDTR
 SVYnhEPbPRukOQo3ACdNeANy9wIM5MfJE3cZLqf9EQ3sqoJDVl21++mJY+CYFjSjIieB
 jxBK5muhERLdSBlfx3xUksIEiMjzRQAtI+GsXJZfTqaeT2RpdItX9lffJo6OoT9AZ75W
 HJp6e0zVhcmQSjH3DsM0TKUCU/ahsBeRRgrE/89N5e6K9rLxdIvL13Tqo3fAv0IwBtV4
 goRwgQdka+SazyZTnM+h48sK0HZvwQkhHqpnpVnMpLJeQnv7ATFttkWL/sUqhLVbZzVL
 sQaw==
MIME-Version: 1.0
X-Received: by 10.224.22.10 with SMTP id l10mr24128044qab.3.1396749232875;
 Sat, 05 Apr 2014 18:53:52 -0700 (PDT)
Received: by 10.96.200.136 with HTTP; Sat, 5 Apr 2014 18:53:52 -0700 (PDT)
Date: Sun, 6 Apr 2014 05:53:52 +0400
Message-ID: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>
Subject: Realtek SD Card Reader 0x0bda / 0x0129 detection?
From: Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
To: freebsd-usb@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Apr 2014 01:53:54 -0000

Hi,

Environment: FreeBSD 10.0-RELEASE/amd64 on Lenovo IdeaPad S400.

SD Card Reader visible by usbconfig:
ugen1.4: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (500mA)

usbconfig info:
  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x00ff
  bDeviceSubClass = 0x00ff
  bDeviceProtocol = 0x00ff
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0bda
  idProduct = 0x0129
  bcdDevice = 0x3960
  iManufacturer = 0x0001  <Generic>
  iProduct = 0x0002  <USB2.0-CRW>
  iSerialNumber = 0x0003  <20100201396000000>
  bNumConfigurations = 0x0001

Adding/removing SD card yields nothing. The same with booting with SD
card and/or turning power on/off with usbconfig.

If I add this to /usr/src/sys/dev/usb/usbdevs
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

- nothing changes.

If I add these quirks to /usr/src/sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN,
UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI)

then I get:
umass0: <Bulk-In, Bulk-Out, Interface> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:3:0:-1: Attached to scbus3
...
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
...
(probe0:umass-sim0:0:0:0): Error 5, Retries exhausted

Adding the 'UQ_MSC_NO_SYNC_CACHE" quirk changes nothing.

Does anybody know what should be done and is it possible at all to use
this card reader with FreeBSD 10.0?

Ivan

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  7 11:06:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 64F06BEC
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Apr 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 40BDCC17
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Apr 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s37B6rSQ071239
 for <freebsd-usb@FreeBSD.org>; Mon, 7 Apr 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s37B6qUD071237
 for freebsd-usb@FreeBSD.org; Mon, 7 Apr 2014 11:06:52 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 7 Apr 2014 11:06:52 GMT
Message-Id: <201404071106.s37B6qUD071237@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Apr 2014 11:06:53 -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/188119   usb        multiple keybard
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

331 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  7 12:46:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 095A6CB7
 for <freebsd-usb@freebsd.org>; Mon,  7 Apr 2014 12:46:42 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BAA0C9CB
 for <freebsd-usb@freebsd.org>; Mon,  7 Apr 2014 12:46:41 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 3EBF91FE027;
 Mon,  7 Apr 2014 14:46:40 +0200 (CEST)
Message-ID: <53429E5F.1030407@selasky.org>
Date: Mon, 07 Apr 2014 14:47:27 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Ivan Rokotov <ivan.rokotov.bsd@gmail.com>, freebsd-usb@freebsd.org
Subject: Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?
References: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>
In-Reply-To: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Apr 2014 12:46:42 -0000

On 04/06/14 03:53, Ivan Rokotov wrote:
> Hi,
>
> Environment: FreeBSD 10.0-RELEASE/amd64 on Lenovo IdeaPad S400.
>
> SD Card Reader visible by usbconfig:
> ugen1.4: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON (500mA)
>
> usbconfig info:
>    bLength = 0x0012
>    bDescriptorType = 0x0001
>    bcdUSB = 0x0200
>    bDeviceClass = 0x00ff
>    bDeviceSubClass = 0x00ff
>    bDeviceProtocol = 0x00ff
>    bMaxPacketSize0 = 0x0040
>    idVendor = 0x0bda
>    idProduct = 0x0129
>    bcdDevice = 0x3960
>    iManufacturer = 0x0001  <Generic>
>    iProduct = 0x0002  <USB2.0-CRW>
>    iSerialNumber = 0x0003  <20100201396000000>
>    bNumConfigurations = 0x0001
>
> Adding/removing SD card yields nothing. The same with booting with SD
> card and/or turning power on/off with usbconfig.
>
> If I add this to /usr/src/sys/dev/usb/usbdevs
> product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader
>
> - nothing changes.
>
> If I add these quirks to /usr/src/sys/dev/usb/quirk/usb_quirk.c
> USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN,
> UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI)
>
> then I get:
> umass0: <Bulk-In, Bulk-Out, Interface> on usbus1
> umass0:  SCSI over Bulk-Only; quirks = 0x0100
> umass0:3:0:-1: Attached to scbus3
> ...
> (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (probe0:umass-sim0:0:0:0): Retrying command
> ...
> (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted
>
> Adding the 'UQ_MSC_NO_SYNC_CACHE" quirk changes nothing.
>
> Does anybody know what should be done and is it possible at all to use
> this card reader with FreeBSD 10.0?
>
> Ivan
> _______________________________________________
> 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"
>

Hi,

How did you add the quirk?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  7 15:34:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B93FFE0E
 for <freebsd-usb@freebsd.org>; Mon,  7 Apr 2014 15:34:04 +0000 (UTC)
Received: from mail180.atl81.rsgsv.net (mail180.atl81.rsgsv.net
 [198.2.129.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA11DF5
 for <freebsd-usb@freebsd.org>; Mon,  7 Apr 2014 15:34:04 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1;
 d=mail180.atl81.rsgsv.net; 
 h=Subject:From:Reply-To:To:Date:Message-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version;
 i=info=3Dbuffalo8.com@mail180.atl81.rsgsv.net; 
 bh=0E8eVdGvtrGTufZG4X77CBYdY+g=;
 b=KdTRXFJwW83iUaLFcdFg9T1vENDmnH7utGqYzqEKmtcOwTMTHbQy1bVJtvFNDj8JPou4Em8gpPqB
 M0eNdUOCDSmFrYnJ2ciw10l3qkPDmwTEoqWRgzm2v6fZ1F054MPf/BZLGROheW+KSDK9NVSjYKzd
 Fo+HFiiEMK/Nbgaq16k=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1;
 d=mail180.atl81.rsgsv.net; 
 b=ea+so/fdFEc8t0GxudL+0vWm1W1WFcNXzIlV8dMA1YVE5CeO3r22R6c7N2qLPSimUoiWivuXkX+I
 R9zDRYiWVIdCPgCHBqhZipLfjNlmWajDaZqvyYMqltUiy54761l6FVdYZUfpTpinAjiqbwy8U4jU
 RAit1jQGeZ7JkXPAQBM=;
Received: from (127.0.0.1) by mail180.atl81.rsgsv.net id h8b2mo1ohk02 for
 <freebsd-usb@freebsd.org>;
 Mon, 7 Apr 2014 15:03:57 +0000 (envelope-from
 <bounce-mc.us8_27777483.381741-freebsd-usb=freebsd.org@mail180.atl81.rsgsv.net>)
Subject: =?utf-8?Q?Buffalo=208=20Productions=20=2D=20April=20Update?=
From: =?utf-8?Q?Buffalo=208=20Productions?= <info@buffalo8.com>
To: =?utf-8?Q??= <freebsd-usb@freebsd.org>
Date: Mon, 7 Apr 2014 15:03:57 +0000
Message-ID: <4ff84a89ef7b8ee62ed8028e158acfadc2d.20140407150246@mail180.atl81.rsgsv.net>
X-Mailer: MailChimp Mailer - **CID9208491d5258acfadc2d**
X-Campaign: mailchimp4ff84a89ef7b8ee62ed8028e1.9208491d52
X-campaignid: mailchimp4ff84a89ef7b8ee62ed8028e1.9208491d52
X-Report-Abuse: Please report abuse for this campaign here:
 http://www.mailchimp.com/abuse/abuse.phtml?u=4ff84a89ef7b8ee62ed8028e1&id=9208491d52&e=58acfadc2d
X-MC-User: 4ff84a89ef7b8ee62ed8028e1
X-Feedback-ID: 27777483:27777483.381741:us8:mc
X-Accounttype: pd
Sender: "Buffalo 8 Productions" <info=buffalo8.com@mail180.atl81.rsgsv.net>
x-mcda: FALSE
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: =?utf-8?Q?Buffalo=208=20Productions?= <info@buffalo8.com>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Apr 2014 15:34:04 -0000

Use this area to offer a short teaser of your email's content. Text here w=
ill show in the preview area of some email clients.
------------------------------------------------------------
Is this email not displaying correctly?
View it in your browser (http://us8.campaign-archive2.com/?u=3D4ff84a89ef7=
b8ee62ed8028e1&id=3D9208491d52&e=3D58acfadc2d) .
Buffalo 8 Productions April Updates (http://www.buffalo8.com?utm_source=3D=
MASTER+LIST&utm_campaign=3D9208491d52-Buffalo_8_April_Update4_3_2014&utm_m=
edium=3Demail&utm_term=3D0_febc027b06-9208491d52-127544089)
http://www.buffalo8.com?utm_source=3DMASTER+LIST&utm_campaign=3D9208491d52=
-Buffalo_8_April_Update4_3_2014&utm_medium=3Demail&utm_term=3D0_febc027b06=
-9208491d52-127544089
http://trulyfreefilm.hopeforfilm.com/2014/03/bondit-the-rise-of-entertainm=
ent-union-depositsbonds-a-new-solution-to-the-protocol.html?utm_source=3DM=
ASTER+LIST&utm_campaign=3D9208491d52-Buffalo_8_April_Update4_3_2014&utm_me=
dium=3Demail&utm_term=3D0_febc027b06-9208491d52-127544089


** Ted Hope Blog Arrives
------------------------------------------------------------
BondIt & Ted Hope (Hope For Film) have teamed up for a series of posts on=
 the recently launched union deposit cash-flowing venture (http://trulyfre=
efilm.hopeforfilm.com/2014/03/bondit-the-rise-of-entertainment-union-depos=
itsbonds-a-new-solution-to-the-protocol.html?utm_source=3DMASTER+LIST&utm_=
campaign=3D9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=3Demail&ut=
m_term=3D0_febc027b06-9208491d52-127544089)

http://www.bondit.us?utm_source=3DMASTER+LIST&utm_campaign=3D9208491d52-Bu=
ffalo_8_April_Update4_3_2014&utm_medium=3Demail&utm_term=3D0_febc027b06-92=
08491d52-127544089


**
------------------------------------------------------------


** The Silent Thief Release
------------------------------------------------------------
On Tuesday April 8 - Buffalo 8's film The Silent Thief will be released on=
 iTunes=2C Amazon=2C Blockbuster=2C Vudu=2C Dish and Walmart (http://www.w=
almart.com/ip/33476093?utm_source=3DMASTER+LIST&utm_campaign=3D9208491d52-=
Buffalo_8_April_Update4_3_2014&utm_medium=3Demail&utm_term=3D0_febc027b06-=
9208491d52-127544089)


**


------------------------------------------------------------


**
------------------------------------------------------------


** MagMo Animation Premiere
------------------------------------------------------------
Buffalo 8 was excited to be a part of Stephen Meades  (https://www.dropbox=
=2Ecom/s/be7vbcux3cdsk9l/Magmo_Final_1080.mp4?utm_source=3DMASTER+LIST&utm_c=
ampaign=3D9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=3Demail&utm=
_term=3D0_febc027b06-9208491d52-127544089) (Big Bamboo) (http://bigb=
amboollc.com?utm_source=3DMASTER+LIST&utm_campaign=3D9208491d52-Buffalo_8_=
April_Update4_3_2014&utm_medium=3Demail&utm_term=3D0_febc027b06-9208491d52=
-127544089)  new venture MagMo - with the creation of the product an=
imation sequence (https://www.dropbox.com/s/be7vbcux3cdsk9l/Magmo_Final_10=
80.mp4?utm_source=3DMASTER+LIST&utm_campaign=3D9208491d52-Buffalo_8_April_=
Update4_3_2014&utm_medium=3Demail&utm_term=3D0_febc027b06-9208491d52-=
127544089)


** Partnership With Toronto Based Atomic Clock
------------------------------------------------------------
Buffalo 8's Commercial division has partnered with Canadian production com=
pany=2C Atomic Clock=2C for roster expansion and international growth! (ht=
tp://atomicclockinc.com/directors/?utm_source=3DMASTER+LIST&utm_campaign=
=3D9208491d52-Buffalo_8_April_Update4_3_2014&utm_medium=3Demail&utm_term=
=3D0_febc027b06-9208491d52-127544089)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Copyright =C2=A9 2014 Buffalo 8 Productions=2C LLC=2C All rights reserved.
 www.buffalo8.com

Our mailing address is:
Buffalo 8 Productions=2C LLC
9247 Alden Drive=2C Beverly Hills=2C CA=2C United States
Beverly Hills=2C CA 90210
USA
www.Buffalo8.com

www.BondIt.us
** unsubscribe from this list (http://buffalo8.us8.list-manage.com/unsubsc=
ribe?u=3D4ff84a89ef7b8ee62ed8028e1&id=3Dfebc027b06&e=3D58acfadc2d&c=3D920849=
1d52)
| ** update subscription preferences (http://buffalo8.us8.list-manage1.com=
/profile?u=3D4ff84a89ef7b8ee62ed8028e1&id=3Dfebc027b06&e=3D58acfadc2d)
From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  8 00:33:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 14D50416
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 00:33:17 +0000 (UTC)
Received: from mail-qg0-x243.google.com (mail-qg0-x243.google.com
 [IPv6:2607:f8b0:400d:c04::243])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id CCA2817D4
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 00:33:16 +0000 (UTC)
Received: by mail-qg0-f67.google.com with SMTP id j5so57884qga.2
 for <freebsd-usb@freebsd.org>; Mon, 07 Apr 2014 17:33:16 -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=yD9bp+sHTIR69++vCKw9fYYM8f+1sSFbIpdNIv5NDNo=;
 b=GFEyxCreuHjGwfLucVdu3LbgDJYjKoAa0dJFuDTfVowI5tr4lht4sQ1eqKcClactew
 lf0nZ+fn0id0HteVxONHD1FOBJ21pBlUF/N6LGpnM6g/xaE1a03cD2kqcHjNlU3nnhr9
 IpemyXTbxfceKz8mQ23zaNT+69kkONhE3GEl5EXsIubAJGRiqbNouNce1Y5vqMMALSBq
 KnVu8HWRxUSMr0W7702s5h9xeGnZLoHc4aPcE4hODu4tTfhPcJw75i9q2qgvny7pjHqA
 J7hHDJn8WU9t2d/Hyv/nnOEYnELE5Xdz00Tj0dx81CJdrCPtsJpnK+oADMWRotzDP6FX
 PV4Q==
MIME-Version: 1.0
X-Received: by 10.140.21.164 with SMTP id 33mr448384qgl.97.1396917195980; Mon,
 07 Apr 2014 17:33:15 -0700 (PDT)
Received: by 10.96.200.136 with HTTP; Mon, 7 Apr 2014 17:33:15 -0700 (PDT)
In-Reply-To: <53429E5F.1030407@selasky.org>
References: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>
 <53429E5F.1030407@selasky.org>
Date: Tue, 8 Apr 2014 04:33:15 +0400
Message-ID: <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com>
Subject: Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?
From: Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Apr 2014 00:33:17 -0000

2014-04-07 16:47 GMT+04:00 Hans Petter Selasky <hps@selasky.org>:
> Hi,
>
> How did you add the quirk?

Hi hps@,

I added this to sys/dev/usb/usbdevs:
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

and this to sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, <LIST OF QUIRKS>),

and recompiled my kernel. 'usbconfig' confirms that quirks were added, e.g.

# usbconfig -d 1.4 dump_device_quirks | grep 0x0129
VID=0x0bda PID=0x0129 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_MSC_NO_SYNC_CACHE

Changing quirks without recompiling kernel (simply using add_quirks
and then turning off/on the device) gave no visible effect, i.e. no
dmesg events.

Ivan

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  8 10:59:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5406C6E3
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 10:59:20 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 174161258
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 10:59:20 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id A13C81FE027;
 Tue,  8 Apr 2014 12:59:18 +0200 (CEST)
Message-ID: <5343D6B6.9010802@selasky.org>
Date: Tue, 08 Apr 2014 13:00:06 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
Subject: Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?
References: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>	<53429E5F.1030407@selasky.org>
 <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com>
In-Reply-To: <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Apr 2014 10:59:20 -0000

On 04/08/14 02:33, Ivan Rokotov wrote:
> 2014-04-07 16:47 GMT+04:00 Hans Petter Selasky <hps@selasky.org>:
>> Hi,
>>
>> How did you add the quirk?
>
> Hi hps@,
>
> I added this to sys/dev/usb/usbdevs:
> product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader
>
> and this to sys/dev/usb/quirk/usb_quirk.c
> USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, <LIST OF QUIRKS>),
>
> and recompiled my kernel. 'usbconfig' confirms that quirks were added, e.g.
>
> # usbconfig -d 1.4 dump_device_quirks | grep 0x0129
> VID=0x0bda PID=0x0129 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_MSC_NO_SYNC_CACHE
>
> Changing quirks without recompiling kernel (simply using add_quirks
> and then turning off/on the device) gave no visible effect, i.e. no
> dmesg events.
>

Hi,

Can you check using:

usbdump -i usbusX -f Y -s 65536 -vvv

what is going on with regards to USB communication towards your adapter?

X and Y are the numbers after ugenX.Y for your device.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  8 15:01:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E9D6D756
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 15:01:05 +0000 (UTC)
Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com
 [IPv6:2607:f8b0:400d:c00::232])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id A89581B00
 for <freebsd-usb@freebsd.org>; Tue,  8 Apr 2014 15:01:05 +0000 (UTC)
Received: by mail-qa0-f50.google.com with SMTP id ih12so976501qab.23
 for <freebsd-usb@freebsd.org>; Tue, 08 Apr 2014 08:01:04 -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=Fs1gfuia+hGaEuuIYlfL6MqPEvspA200UUYbfdOd/Nc=;
 b=wa+Ikj0HtDEKFvxMTR+gRuW4QLbqPCkdnP4CeuUXLDBtdLaK4tnMzLB9i6cIHzsX5z
 +cIYshePP0K9iv/UOGTcIIsLwJlVF+FWCEf0fcLeiAWhgxedD6nQI874fsW9hLrwi29k
 TaDxsoDgyt+acjHP3hTjXHN/XjmtwdFzAckHT3+dQg5UUWy44MjzuSLpORm+rgK6uXDX
 1iqR0Q2yezRE67Yz4lD0CEVpLiemer6ZGn7qz/OvGdbM6KP0U8vaii5vwf8H/fwKxrYU
 rugO38isdj3WrET6M2pf915Lvx4yJy8A0CSu1h17+048CvdozN+EG/KMShIeX+ktWwOG
 vpZA==
MIME-Version: 1.0
X-Received: by 10.224.66.4 with SMTP id l4mr5162680qai.70.1396969264574; Tue,
 08 Apr 2014 08:01:04 -0700 (PDT)
Received: by 10.96.200.136 with HTTP; Tue, 8 Apr 2014 08:01:04 -0700 (PDT)
In-Reply-To: <5343D6B6.9010802@selasky.org>
References: <CAOTTJKGJFEwzhtL+r4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com>
 <53429E5F.1030407@selasky.org>
 <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com>
 <5343D6B6.9010802@selasky.org>
Date: Tue, 8 Apr 2014 19:01:04 +0400
Message-ID: <CAOTTJKG-dzNwqd-zTpFgkOamkdOSUGGeCV+fdJYiO0QTgQV7ZA@mail.gmail.com>
Subject: Re: Realtek SD Card Reader 0x0bda / 0x0129 detection?
From: Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: multipart/mixed; boundary=001a11c29058c7023704f68940f3
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Apr 2014 15:01:06 -0000

--001a11c29058c7023704f68940f3
Content-Type: text/plain; charset=ISO-8859-1

2014-04-08 15:00 GMT+04:00 Hans Petter Selasky <hps@selasky.org>:
> Can you check using:
>
> usbdump -i usbusX -f Y -s 65536 -vvv
>
> what is going on with regards to USB communication towards your adapter?
>
> X and Y are the numbers after ugenX.Y for your device.

Sure. I attached the output (to avoid line breaking) of what happens
when a card is inserted and what then happens when I turn off the USB
port and then turn it on. This is happening with the quirk
'UQ_MSC_NO_SYNC_CACHE" enabled as I described above. If the port
should be tested without that quirk or with any other configuration,
please let me know.

Ivan

--001a11c29058c7023704f68940f3
Content-Type: text/plain; charset=US-ASCII; name="usbdump.txt"
Content-Disposition: attachment; filename="usbdump.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_htrbdnh60

IyB1c2JkdW1wIC1pIHVzYnVzMSAtZiAzIC1zIDY1NTM2IC12dnYKCiMgaW5zZXJ0aW5nIGNhcmQ6
IG5vdGhpbmcgaGFwcGVucy4KIyB1c2Jjb25maWcgLWQgMS4zIHBvd2VyX29mZgoKMTg6NDg6MjUu
MTUwNTkxIHVzYnVzMS4zIFNVQk0tQ1RSTC1FUD0wMDAwMDAwMCxTUEQ9SElHSCxORlI9MSxTTEVO
PTgsSVZBTD0wCiBmcmFtZVswXSBXUklURSA4IGJ5dGVzCiAwMDAwICAwMCAwOSAwMCAwMCAwMCAw
MCAwMCAwMCAgLS0gLS0gLS0gLS0gLS0gLS0gLS0gLS0gIHwuLi4uLi4uLiAgICAgICAgfAogZmxh
Z3MgMHgxMCA8UFJPWFlfQlVGRkVSfDA+CiBzdGF0dXMgMHhjYTFhMyA8T1BFTnxUUkFOU0ZFUlJJ
Tkd8U1RBUlRFRHxDT05UUk9MX1hGUnxDT05UUk9MX0hEUnxCRE1BX0VOQUJMRXxCRE1BX1NFVFVQ
fENBTl9DQU5DRUxfSU1NRUR8RE9JTkdfQ0FMTEJBQ0t8MD4KMTg6NDg6MjUuMTUwNjY4IHVzYnVz
MS4zIERPTkUtQ1RSTC1FUD0wMDAwMDAwMCxTUEQ9SElHSCxORlI9MSxTTEVOPTAsSVZBTD0wLEVS
Uj0wCiBmcmFtZVswXSBXUklURSA4IGJ5dGVzCiBmbGFncyAweDEwIDxQUk9YWV9CVUZGRVJ8MD4K
IHN0YXR1cyAweGVhMWExIDxPUEVOfFNUQVJURUR8Q09OVFJPTF9YRlJ8Q09OVFJPTF9IRFJ8QkRN
QV9FTkFCTEV8QkRNQV9TRVRVUHxDVVJSX0RNQV9TRVR8Q0FOX0NBTkNFTF9JTU1FRHxET0lOR19D
QUxMQkFDS3wwPgoKIyB1c2Jjb25maWcgLWQgMS4zIHBvd2VyX29uCiMgL3Zhci9sb2cvbWVzc2Fn
ZXMgbG9nOgojIEFwciAgOCAxODo0ODozOCB0b3IgZGV2ZDogRXhlY3V0aW5nICdsb2dnZXIgVW5r
bm93biBVU0IgZGV2aWNlOiB2ZW5kb3IgMHgwYmRhIHByb2R1Y3QgMHgwMTI5IGJ1cyB1aHViNCcK
IyBBcHIgIDggMTg6NDg6MzggdG9yIHJvb3Q6IFVua25vd24gVVNCIGRldmljZTogdmVuZG9yIDB4
MGJkYSBwcm9kdWN0IDB4MDEyOSBidXMgdWh1YjQKCjE4OjQ4OjM3LjkwNDM1NSB1c2J1czEuMyBT
VUJNLUNUUkwtRVA9MDAwMDAwMDAsU1BEPUhJR0gsTkZSPTEsU0xFTj04LElWQUw9MAogZnJhbWVb
MF0gV1JJVEUgOCBieXRlcwogMDAwMCAgMDAgMDkgMDAgMDAgMDAgMDAgMDAgMDAgIC0tIC0tIC0t
IC0tIC0tIC0tIC0tIC0tICB8Li4uLi4uLi4gICAgICAgIHwKIGZsYWdzIDB4MTAgPFBST1hZX0JV
RkZFUnwwPgogc3RhdHVzIDB4ZWExYTMgPE9QRU58VFJBTlNGRVJSSU5HfFNUQVJURUR8Q09OVFJP
TF9YRlJ8Q09OVFJPTF9IRFJ8QkRNQV9FTkFCTEV8QkRNQV9TRVRVUHxDVVJSX0RNQV9TRVR8Q0FO
X0NBTkNFTF9JTU1FRHxET0lOR19DQUxMQkFDS3wwPgoxODo0ODozNy45MDQ0NTYgdXNidXMxLjMg
RE9ORS1DVFJMLUVQPTAwMDAwMDAwLFNQRD1ISUdILE5GUj0xLFNMRU49MCxJVkFMPTAsRVJSPVNU
QUxMRUQKIGZyYW1lWzBdIFdSSVRFIDAgYnl0ZXMKIGZsYWdzIDB4MTAgPFBST1hZX0JVRkZFUnww
Pgogc3RhdHVzIDB4Y2ExYTEgPE9QRU58U1RBUlRFRHxDT05UUk9MX1hGUnxDT05UUk9MX0hEUnxC
RE1BX0VOQUJMRXxCRE1BX1NFVFVQfENBTl9DQU5DRUxfSU1NRUR8RE9JTkdfQ0FMTEJBQ0t8MD4K
MTg6NDg6MzguMjA5NDAzIHVzYnVzMS4zIFNVQk0tQ1RSTC1FUD0wMDAwMDAwMCxTUEQ9SElHSCxO
RlI9MSxTTEVOPTgsSVZBTD0wCiBmcmFtZVswXSBXUklURSA4IGJ5dGVzCiAwMDAwICAwMCAwNSAw
MyAwMCAwMCAwMCAwMCAwMCAgLS0gLS0gLS0gLS0gLS0gLS0gLS0gLS0gIHwuLi4uLi4uLiAgICAg
ICAgfAogZmxhZ3MgMHg1MCA8UFJPWFlfQlVGRkVSfE1BTlVBTF9TVEFUVVN8MD4KIHN0YXR1cyAw
eGVhM2EzIDxPUEVOfFRSQU5TRkVSUklOR3xTVEFSVEVEfENPTlRST0xfWEZSfENPTlRST0xfSERS
fENPTlRST0xfQUNUfEJETUFfRU5BQkxFfEJETUFfU0VUVVB8Q1VSUl9ETUFfU0VUfENBTl9DQU5D
RUxfSU1NRUR8RE9JTkdfQ0FMTEJBQ0t8MD4KMTg6NDg6MzguMjA5NDY1IHVzYnVzMS4zIERPTkUt
Q1RSTC1FUD0wMDAwMDAwMCxTUEQ9SElHSCxORlI9MSxTTEVOPTAsSVZBTD0wLEVSUj0wCiBmcmFt
ZVswXSBXUklURSA4IGJ5dGVzCiBmbGFncyAweDUwIDxQUk9YWV9CVUZGRVJ8TUFOVUFMX1NUQVRV
U3wwPgogc3RhdHVzIDB4Y2EzYTEgPE9QRU58U1RBUlRFRHxDT05UUk9MX1hGUnxDT05UUk9MX0hE
UnxDT05UUk9MX0FDVHxCRE1BX0VOQUJMRXxCRE1BX1NFVFVQfENBTl9DQU5DRUxfSU1NRUR8RE9J
TkdfQ0FMTEJBQ0t8MD4KMTg6NDg6MzguMjA5NDg5IHVzYnVzMS4zIFNVQk0tQ1RSTC1FUD0wMDAw
MDAwMCxTUEQ9SElHSCxORlI9MSxTTEVOPTAsSVZBTD0wCiBmcmFtZVswXSBXUklURSAwIGJ5dGVz
CiBmbGFncyAweDEwIDxQUk9YWV9CVUZGRVJ8MD4KIHN0YXR1cyAweGNhMGEzIDxPUEVOfFRSQU5T
RkVSUklOR3xTVEFSVEVEfENPTlRST0xfWEZSfEJETUFfRU5BQkxFfEJETUFfU0VUVVB8Q0FOX0NB
TkNFTF9JTU1FRHxET0lOR19DQUxMQkFDS3wwPgoxODo0ODozOC4yMDk1ODAgdXNidXMxLjMgRE9O
RS1DVFJMLUVQPTAwMDAwMDAwLFNQRD1ISUdILE5GUj0xLFNMRU49MCxJVkFMPTAsRVJSPTAKIGZy
YW1lWzBdIFdSSVRFIDAgYnl0ZXMKIGZsYWdzIDB4MTAgPFBST1hZX0JVRkZFUnwwPgogc3RhdHVz
IDB4ZWEwYTEgPE9QRU58U1RBUlRFRHxDT05UUk9MX1hGUnxCRE1BX0VOQUJMRXxCRE1BX1NFVFVQ
fENVUlJfRE1BX1NFVHxDQU5fQ0FOQ0VMX0lNTUVEfERPSU5HX0NBTExCQUNLfDA+CjE4OjQ4OjM4
LjIyMjM5OSB1c2J1czEuMyBTVUJNLUNUUkwtRVA9MDAwMDAwODAsU1BEPUhJR0gsTkZSPTIsU0xF
Tj04LElWQUw9MAogZnJhbWVbMF0gV1JJVEUgOCBieXRlcwogMDAwMCAgODAgMDYgMDAgMDEgMDAg
MDAgMTIgMDAgIC0tIC0tIC0tIC0tIC0tIC0tIC0tIC0tICB8Li4uLi4uLi4gICAgICAgIHwKIGZy
YW1lWzFdIFJFQUQgMTggYnl0ZXMKIGZsYWdzIDB4MTAgPFBST1hZX0JVRkZFUnwwPgogc3RhdHVz
IDB4ZWExYTMgPE9QRU58VFJBTlNGRVJSSU5HfFNUQVJURUR8Q09OVFJPTF9YRlJ8Q09OVFJPTF9I
RFJ8QkRNQV9FTkFCTEV8QkRNQV9TRVRVUHxDVVJSX0RNQV9TRVR8Q0FOX0NBTkNFTF9JTU1FRHxE
T0lOR19DQUxMQkFDS3wwPgoxODo0ODozOC4yMjI0NTggdXNidXMxLjMgRE9ORS1DVFJMLUVQPTAw
MDAwMDgwLFNQRD1ISUdILE5GUj0yLFNMRU49MjAsSVZBTD0wLEVSUj0wCiBmcmFtZVswXSBXUklU
RSA4IGJ5dGVzCiBmcmFtZVsxXSBSRUFEIDE4IGJ5dGVzCiAwMDAwICAxMiAwMSAwMCAwMiBGRiBG
RiBGRiA0MCAgREEgMEIgMjkgMDEgNjAgMzkgMDEgMDIgIHwuLi4uLi4uQC4uKS5gOS4ufAogMDAx
MCAgMDMgMDEgLS0gLS0gLS0gLS0gLS0gLS0gIC0tIC0tIC0tIC0tIC0tIC0tIC0tIC0tICB8Li4g
ICAgICAgICAgICAgIHwKIGZsYWdzIDB4MTAgPFBST1hZX0JVRkZFUnwwPgogc3RhdHVzIDB4Y2Ex
YTEgPE9QRU58U1RBUlRFRHxDT05UUk9MX1hGUnxDT05UUk9MX0hEUnxCRE1BX0VOQUJMRXxCRE1B
X1NFVFVQfENBTl9DQU5DRUxfSU1NRUR8RE9JTkdfQ0FMTEJBQ0t8MD4KMTg6NDg6MzguMjI0Mzcx
IHVzYnVzMS4zIFNVQk0tQ1RSTC1FUD0wMDAwMDA4MCxTUEQ9SElHSCxORlI9MixTTEVOPTgsSVZB
TD0wCiBmcmFtZVswXSBXUklURSA4IGJ5dGVzCiAwMDAwICA4MCAwNiAwMCAwMiAwMCAwMCAwOSAw
MCAgLS0gLS0gLS0gLS0gLS0gLS0gLS0gLS0gIHwuLi4uLi4uLiAgICAgICAgfAogZnJhbWVbMV0g
UkVBRCA5IGJ5dGVzCiBmbGFncyAweDEwIDxQUk9YWV9CVUZGRVJ8MD4KIHN0YXR1cyAweGVhMWEz
IDxPUEVOfFRSQU5TRkVSUklOR3xTVEFSVEVEfENPTlRST0xfWEZSfENPTlRST0xfSERSfEJETUFf
RU5BQkxFfEJETUFfU0VUVVB8Q1VSUl9ETUFfU0VUfENBTl9DQU5DRUxfSU1NRUR8RE9JTkdfQ0FM
TEJBQ0t8MD4KMTg6NDg6MzguMjI0NDU0IHVzYnVzMS4zIERPTkUtQ1RSTC1FUD0wMDAwMDA4MCxT
UEQ9SElHSCxORlI9MixTTEVOPTEyLElWQUw9MCxFUlI9MAogZnJhbWVbMF0gV1JJVEUgOCBieXRl
cwogZnJhbWVbMV0gUkVBRCA5IGJ5dGVzCiAwMDAwICAwOSAwMiAyNyAwMCAwMSAwMSAwNCBBMCAg
RkEgLS0gLS0gLS0gLS0gLS0gLS0gLS0gIHwuLicuLi4uLi4gICAgICAgfAogZmxhZ3MgMHgxMCA8
UFJPWFlfQlVGRkVSfDA+CiBzdGF0dXMgMHhjYTFhMSA8T1BFTnxTVEFSVEVEfENPTlRST0xfWEZS
fENPTlRST0xfSERSfEJETUFfRU5BQkxFfEJETUFfU0VUVVB8Q0FOX0NBTkNFTF9JTU1FRHxET0lO
R19DQUxMQkFDS3wwPgoxODo0ODozOC4yMjQ0NzMgdXNidXMxLjMgU1VCTS1DVFJMLUVQPTAwMDAw
MDgwLFNQRD1ISUdILE5GUj0yLFNMRU49OCxJVkFMPTAKIGZyYW1lWzBdIFdSSVRFIDggYnl0ZXMK
IDAwMDAgIDgwIDA2IDAwIDAyIDAwIDAwIDI3IDAwICAtLSAtLSAtLSAtLSAtLSAtLSAtLSAtLSAg
fC4uLi4uLicuICAgICAgICB8CiBmcmFtZVsxXSBSRUFEIDM5IGJ5dGVzCiBmbGFncyAweDEwIDxQ
Uk9YWV9CVUZGRVJ8MD4KIHN0YXR1cyAweGNhMWEzIDxPUEVOfFRSQU5TRkVSUklOR3xTVEFSVEVE
fENPTlRST0xfWEZSfENPTlRST0xfSERSfEJETUFfRU5BQkxFfEJETUFfU0VUVVB8Q0FOX0NBTkNF
TF9JTU1FRHxET0lOR19DQUxMQkFDS3wwPgoxODo0ODozOC4yMjQ1NzcgdXNidXMxLjMgRE9ORS1D
VFJMLUVQPTAwMDAwMDgwLFNQRD1ISUdILE5GUj0yLFNMRU49NDAsSVZBTD0wLEVSUj0wCiBmcmFt
ZVswXSBXUklURSA4IGJ5dGVzCiBmcmFtZVsxXSBSRUFEIDM5IGJ5dGVzCiAwMDAwICAwOSAwMiAy
NyAwMCAwMSAwMSAwNCBBMCAgRkEgMDkgMDQgMDAgMDAgMDMgRkYgMDYgIHwuLicuLi4uLi4uLi4u
Li4ufAogMDAxMCAgNTAgMDUgMDcgMDUgMDEgMDIgMDAgMDIgIDAwIDA3IDA1IDgyIDAyIDAwIDAy
IDAwICB8UC4uLi4uLi4uLi4uLi4uLnwKIDAwMjAgIDA3IDA1IDgzIDAzIDAzIDAwIDBBIC0tICAt
LSAtLSAtLSAtLSAtLSAtLSAtLSAtLSAgfC4uLi4uLi4gICAgICAgICB8CiBmbGFncyAweDEwIDxQ
Uk9YWV9CVUZGRVJ8MD4KIHN0YXR1cyAweGVhMWExIDxPUEVOfFNUQVJURUR8Q09OVFJPTF9YRlJ8
Q09OVFJPTF9IRFJ8QkRNQV9FTkFCTEV8QkRNQV9TRVRVUHxDVVJSX0RNQV9TRVR8Q0FOX0NBTkNF
TF9JTU1FRHxET0lOR19DQUxMQkFDS3wwPgoxODo0ODozOC4yMjQ1OTUgdXNidXMxLjMgU1VCTS1D
VFJMLUVQPTAwMDAwMDAwLFNQRD1ISUdILE5GUj0xLFNMRU49OCxJVkFMPTAKIGZyYW1lWzBdIFdS
SVRFIDggYnl0ZXMKIDAwMDAgIDAwIDA5IDAxIDAwIDAwIDAwIDAwIDAwICAtLSAtLSAtLSAtLSAt
LSAtLSAtLSAtLSAgfC4uLi4uLi4uICAgICAgICB8CiBmbGFncyAweDEwIDxQUk9YWV9CVUZGRVJ8
MD4KIHN0YXR1cyAweGVhMWEzIDxPUEVOfFRSQU5TRkVSUklOR3xTVEFSVEVEfENPTlRST0xfWEZS
fENPTlRST0xfSERSfEJETUFfRU5BQkxFfEJETUFfU0VUVVB8Q1VSUl9ETUFfU0VUfENBTl9DQU5D
RUxfSU1NRUR8RE9JTkdfQ0FMTEJBQ0t8MD4KMTg6NDg6MzguMjI0NzAyIHVzYnVzMS4zIERPTkUt
Q1RSTC1FUD0wMDAwMDAwMCxTUEQ9SElHSCxORlI9MSxTTEVOPTAsSVZBTD0wLEVSUj0wCiBmcmFt
ZVswXSBXUklURSA4IGJ5dGVzCiBmbGFncyAweDEwIDxQUk9YWV9CVUZGRVJ8MD4KIHN0YXR1cyAw
eGNhMWExIDxPUEVOfFNUQVJURUR8Q09OVFJPTF9YRlJ8Q09OVFJPTF9IRFJ8QkRNQV9FTkFCTEV8
QkRNQV9TRVRVUHxDQU5fQ0FOQ0VMX0lNTUVEfERPSU5HX0NBTExCQUNLfDA+Cl5DCjE2IHBhY2tl
dHMgY2FwdHVyZWQKNDg0IHBhY2tldHMgcmVjZWl2ZWQgYnkgZmlsdGVyCjAgcGFja2V0cyBkcm9w
cGVkIGJ5IGtlcm5lbAoj
--001a11c29058c7023704f68940f3--

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  9 15:40:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E2B94BD6
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 15:40:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BEDC61819
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 15:40:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39Fe0uf039217
 for <freebsd-usb@freefall.freebsd.org>; Wed, 9 Apr 2014 15:40:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39Fe0ki039204;
 Wed, 9 Apr 2014 15:40:00 GMT (envelope-from gnats)
Resent-Date: Wed, 9 Apr 2014 15:40:00 GMT
Resent-Message-Id: <201404091540.s39Fe0ki039204@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,
 Jason Seidel <jseidel@unixsystem.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5235FB85
 for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Apr 2014 15:39:08 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 323F817F7
 for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Apr 2014 15:39:08 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s39Fd7Jb011724
 for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Apr 2014 15:39:07 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s39Fd7jI011712;
 Wed, 9 Apr 2014 15:39:07 GMT (envelope-from nobody)
Message-Id: <201404091539.s39Fd7jI011712@cgiserv.freebsd.org>
Date: Wed, 9 Apr 2014 15:39:07 GMT
From: Jason Seidel <jseidel@unixsystem.org>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Apr 2014 15:40:00 -0000


>Number:         188403
>Category:       usb
>Synopsis:       USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 09 15:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jason Seidel
>Release:        Freebsd 10 release/stable and 11.0-current
>Organization:
>Environment:
I have tried this with all current FreeBSD 10 versions.

FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr  9 10:14:56 EDT 2014     jseidel@nuc:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have an intel NUC D34010WYKH, and there is an issue with the USB3 in release 10 and 11. I was running freebsd 10 release and saw this issuebut i needed to upgrade to stable because release didnt contain the axge driver for a usb network adapter. after updating to stable, the driver was available but the usb errors were still there. I saw some messages about issues like this and that a fix was uploaded, so I went to current to see if it fixed the problem, but the issue was still there.

usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED


$ pciconf -lv
hostb0@pci0:0:0:0:      class=0x060000 card=0x20548086 chip=0x0a048086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 card=0x20548086 chip=0x0a268086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT Integrated Graphics Controller'
    class      = display
    subclass   = VGA
hdac0@pci0:0:3:0:       class=0x040300 card=0x20548086 chip=0x0a0c8086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = multimedia
    subclass   = HDA
xhci0@pci0:0:20:0:      class=0x0c0330 card=0x20548086 chip=0x9c318086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP USB xHCI HC'
    class      = serial bus
    subclass   = USB
none0@pci0:0:22:0:      class=0x078000 card=0x20548086 chip=0x9c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP HECI'
    class      = simple comms
em0@pci0:0:25:0:        class=0x020000 card=0x20548086 chip=0x15598086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = network
    subclass   = ethernet
hdac1@pci0:0:27:0:      class=0x040300 card=0x20548086 chip=0x9c208086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP HD Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:      class=0x060400 card=0x20548086 chip=0x9c108086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:3:      class=0x060400 card=0x20548086 chip=0x9c168086 rev=0xe4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP PCI Express Root Port 4'
    class      = bridge
    subclass   = PCI-PCI
ehci0@pci0:0:29:0:      class=0x0c0320 card=0x20548086 chip=0x9c268086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP USB EHCI'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:      class=0x060100 card=0x20548086 chip=0x9c438086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:      class=0x010601 card=0x20548086 chip=0x9c038086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP SATA Controller 1 [AHCI mode]'
    class      = mass storage
    subclass   = SATA
none1@pci0:0:31:3:      class=0x0c0500 card=0x20548086 chip=0x9c228086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point-LP SMBus Controller'
    class      = serial bus
    subclass   = SMBus
none2@pci0:2:0:0:       class=0x028000 card=0x40708086 chip=0x08b18086 rev=0x73 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = network

# usbconfig
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen1.2: <product 0x8000 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <AX88179 ASIX Elec. Corp.> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (248mA)
ugen1.4: <USB Receiver Logitech> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA)


>How-To-Repeat:
fresh install of freebsd exibits this issue.
>Fix:
I have gotten it to "somewhat" stabilize by adding hw.usb.xhci.xhci_port_route=-1 into /boot/loader.conf

>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  9 17:40:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A27721A2
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 17:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 75EB216DF
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 17:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39He1IB076232
 for <freebsd-usb@freefall.freebsd.org>; Wed, 9 Apr 2014 17:40:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39He0K5076231;
 Wed, 9 Apr 2014 17:40:00 GMT (envelope-from gnats)
Date: Wed, 9 Apr 2014 17:40:00 GMT
Message-Id: <201404091740.s39He0K5076231@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: "Jason Seidel" <jseidel@unixsystem.org>
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Jason Seidel <jseidel@unixsystem.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Apr 2014 17:40:01 -0000

The following reply was made to PR usb/188403; it has been noted by GNATS.

From: "Jason Seidel" <jseidel@unixsystem.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Wed, 9 Apr 2014 11:06:06 -0600

 One typo, my NUC is D54250WYKH.

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  9 20:30:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09512BA
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 20:30:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EAD521B1C
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 20:30:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39KU1R6030900
 for <freebsd-usb@freefall.freebsd.org>; Wed, 9 Apr 2014 20:30:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39KU1bT030899;
 Wed, 9 Apr 2014 20:30:01 GMT (envelope-from gnats)
Date: Wed, 9 Apr 2014 20:30:01 GMT
Message-Id: <201404092030.s39KU1bT030899@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@selasky.org>
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@selasky.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Apr 2014 20:30:02 -0000

The following reply was made to PR usb/188403; it has been noted by GNATS.

From: Hans Petter Selasky <hps@selasky.org>
To: Jason Seidel <jseidel@unixsystem.org>, 
 freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Wed, 09 Apr 2014 22:30:15 +0200

 On 04/09/14 17:39, Jason Seidel wrote:
 >
 >> Number:         188403
 >> Category:       usb
 >> Synopsis:       USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-usb
 >> State:          open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:          sw-bug
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Wed Apr 09 15:40:00 UTC 2014
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Jason Seidel
 >> Release:        Freebsd 10 release/stable and 11.0-current
 >> Organization:
 >> Environment:
 > I have tried this with all current FreeBSD 10 versions.
 >
 > FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr  9 10:14:56 EDT 2014     jseidel@nuc:/usr/obj/usr/src/sys/GENERIC  i386
 >
 >> Description:
 > I have an intel NUC D34010WYKH, and there is an issue with the USB3 in release 10 and 11. I was running freebsd 10 release and saw this issuebut i needed to upgrade to stable because release didnt contain the axge driver for a usb network adapter. after updating to stable, the driver was available but the usb errors were still there. I saw some messages about issues like this and that a fix was uploaded, so I went to current to see if it fixed the problem, but the issue was still there.
 >
 > usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
 > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
 > Root mount waiting for: usbus1
 > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
 > Root mount waiting for: usbus1
 > Root mount waiting for: usbus1
 > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
 > Root mount waiting for: usbus1
 > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
 > Root mount waiting for: usbus1
 > Root mount waiting for: usbus1
 > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_STALLED
 >
 >
 > $ pciconf -lv
 > hostb0@pci0:0:0:0:      class=0x060000 card=0x20548086 chip=0x0a048086 rev=0x09 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Haswell-ULT DRAM Controller'
 >      class      = bridge
 >      subclass   = HOST-PCI
 > vgapci0@pci0:0:2:0:     class=0x030000 card=0x20548086 chip=0x0a268086 rev=0x09 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Haswell-ULT Integrated Graphics Controller'
 >      class      = display
 >      subclass   = VGA
 > hdac0@pci0:0:3:0:       class=0x040300 card=0x20548086 chip=0x0a0c8086 rev=0x09 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      class      = multimedia
 >      subclass   = HDA
 > xhci0@pci0:0:20:0:      class=0x0c0330 card=0x20548086 chip=0x9c318086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP USB xHCI HC'
 >      class      = serial bus
 >      subclass   = USB
 > none0@pci0:0:22:0:      class=0x078000 card=0x20548086 chip=0x9c3a8086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP HECI'
 >      class      = simple comms
 > em0@pci0:0:25:0:        class=0x020000 card=0x20548086 chip=0x15598086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      class      = network
 >      subclass   = ethernet
 > hdac1@pci0:0:27:0:      class=0x040300 card=0x20548086 chip=0x9c208086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP HD Audio Controller'
 >      class      = multimedia
 >      subclass   = HDA
 > pcib1@pci0:0:28:0:      class=0x060400 card=0x20548086 chip=0x9c108086 rev=0xe4 hdr=0x01
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP PCI Express Root Port 1'
 >      class      = bridge
 >      subclass   = PCI-PCI
 > pcib2@pci0:0:28:3:      class=0x060400 card=0x20548086 chip=0x9c168086 rev=0xe4 hdr=0x01
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP PCI Express Root Port 4'
 >      class      = bridge
 >      subclass   = PCI-PCI
 > ehci0@pci0:0:29:0:      class=0x0c0320 card=0x20548086 chip=0x9c268086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP USB EHCI'
 >      class      = serial bus
 >      subclass   = USB
 > isab0@pci0:0:31:0:      class=0x060100 card=0x20548086 chip=0x9c438086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP LPC Controller'
 >      class      = bridge
 >      subclass   = PCI-ISA
 > ahci0@pci0:0:31:2:      class=0x010601 card=0x20548086 chip=0x9c038086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP SATA Controller 1 [AHCI mode]'
 >      class      = mass storage
 >      subclass   = SATA
 > none1@pci0:0:31:3:      class=0x0c0500 card=0x20548086 chip=0x9c228086 rev=0x04 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      device     = 'Lynx Point-LP SMBus Controller'
 >      class      = serial bus
 >      subclass   = SMBus
 > none2@pci0:2:0:0:       class=0x028000 card=0x40708086 chip=0x08b18086 rev=0x73 hdr=0x00
 >      vendor     = 'Intel Corporation'
 >      class      = network
 >
 > # usbconfig
 > ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 > ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
 > ugen1.2: <product 0x8000 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
 > ugen1.3: <AX88179 ASIX Elec. Corp.> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (248mA)
 > ugen1.4: <USB Receiver Logitech> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA)
 >
 >
 >> How-To-Repeat:
 > fresh install of freebsd exibits this issue.
 >> Fix:
 > I have gotten it to "somewhat" stabilize by adding hw.usb.xhci.xhci_port_route=-1 into /boot/loader.conf
 >
 >> Release-Note:
 >> Audit-Trail:
 
 Hi,
 
 Can you try this patch:
 
 http://svnweb.freebsd.org/changeset/base/264294
 
 --HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  9 22:10:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A516AA77
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 22:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 920CE1959
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed,  9 Apr 2014 22:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s39MA1ir062050
 for <freebsd-usb@freefall.freebsd.org>; Wed, 9 Apr 2014 22:10:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s39MA1oa062049;
 Wed, 9 Apr 2014 22:10:01 GMT (envelope-from gnats)
Date: Wed, 9 Apr 2014 22:10:01 GMT
Message-Id: <201404092210.s39MA1oa062049@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: "Jason Seidel" <jseidel@unixsystem.org>
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Jason Seidel <jseidel@unixsystem.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Apr 2014 22:10:01 -0000

The following reply was made to PR usb/188403; it has been noted by GNATS.

From: "Jason Seidel" <jseidel@unixsystem.org>
To: Hans Petter Selasky <hps@selasky.org>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Wed, 9 Apr 2014 16:08:34 -0600

 Just as an FYI, I'm running freebsd 10 stable again the amd64 version.
 
 I tried the patch and removed the entry from the loader.conf; but I still get
 errors with the patch.
 
 Repeats over and over again.
 
 xhci0: Resetting controller
 usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 ugen0.3: <Unknown> at usbus0 (disconnected)
 uhub_reattach_port: could not allocate new device
 uhub1: at usbus0, port 1, addr 1 (disconnected)
 ugen0.2: <Logitech> at usbus0 (disconnected)
 ukbd0: at uhub1, port 4, addr 1 (disconnected)
 ums0: at uhub1, port 4, addr 1 (disconnected)
 uhid0: at uhub1, port 4, addr 1 (disconnected)
 xhci0: 32 byte context size.
 xhci0: Port routing mask set to 0xffffffff
 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
 uhub1: 13 ports with 13 removable, self powered
 ugen0.2: <Logitech> at usbus0
 ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1> on usbus0
 kbd0 at ukbd0
 ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1> on usbus0
 ums0: 16 buttons and [XYZT] coordinates ID=2
 uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1> on usbus0
 xhci0: Resetting controller
 usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_TIMEOUT
 
 
 
 ---------- Original Message -----------
 From:Hans Petter Selasky <hps@selasky.org>
 To:Jason Seidel <jseidel@unixsystem.org>, freebsd-gnats-submit@FreeBSD.org
 Sent:Wed, 09 Apr 2014 22:30:15 +0200
 Subject:Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
 
 > On 04/09/14 17:39, Jason Seidel wrote:
 > >
 > >> Number:         188403
 > >> Category:       usb
 > >> Synopsis:       USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
 > >> Confidential:   no
 > >> Severity:       non-critical
 > >> Priority:       low
 > >> Responsible:    freebsd-usb
 > >> State:          open
 > >> Quarter:
 > >> Keywords:
 > >> Date-Required:
 > >> Class:          sw-bug
 > >> Submitter-Id:   current-users
 > >> Arrival-Date:   Wed Apr 09 15:40:00 UTC 2014
 > >> Closed-Date:
 > >> Last-Modified:
 > >> Originator:     Jason Seidel
 > >> Release:        Freebsd 10 release/stable and 11.0-current
 > >> Organization:
 > >> Environment:
 > > I have tried this with all current FreeBSD 10 versions.
 > >
 > > FreeBSD nuc 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264292: Wed Apr  9
 10:14:56 EDT 2014     jseidel@nuc:/usr/obj/usr/src/sys/GENERIC  i386
 > >
 > >> Description:
 > > I have an intel NUC D34010WYKH, and there is an issue with the USB3 in
 release 10 and 11. I was running freebsd 10 release and saw this issuebut i
 needed to upgrade to stable because release didnt contain the axge driver for
 a usb network adapter. after updating to stable, the driver was available but
 the usb errors were still there. I saw some messages about issues like this
 and that a fix was uploaded, so I went to current to see if it fixed the
 problem, but the issue was still there.
 > >
 > > usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
 > > usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
 > > Root mount waiting for: usbus1
 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > > usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
 > > Root mount waiting for: usbus1
 > > Root mount waiting for: usbus1
 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > > usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
 > > Root mount waiting for: usbus1
 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > > usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
 > > Root mount waiting for: usbus1
 > > Root mount waiting for: usbus1
 > > usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored)
 > > usbd_setup_device_desc: getting device descriptor at addr 5 failed,
 USB_ERR_STALLED
 > >
 > >
 > > $ pciconf -lv
 > > hostb0@pci0:0:0:0:      class=0x060000 card=0x20548086 chip=0x0a048086
 rev=0x09 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Haswell-ULT DRAM Controller'
 > >      class      = bridge
 > >      subclass   = HOST-PCI
 > > vgapci0@pci0:0:2:0:     class=0x030000 card=0x20548086 chip=0x0a268086
 rev=0x09 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Haswell-ULT Integrated Graphics Controller'
 > >      class      = display
 > >      subclass   = VGA
 > > hdac0@pci0:0:3:0:       class=0x040300 card=0x20548086 chip=0x0a0c8086
 rev=0x09 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      class      = multimedia
 > >      subclass   = HDA
 > > xhci0@pci0:0:20:0:      class=0x0c0330 card=0x20548086 chip=0x9c318086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP USB xHCI HC'
 > >      class      = serial bus
 > >      subclass   = USB
 > > none0@pci0:0:22:0:      class=0x078000 card=0x20548086 chip=0x9c3a8086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP HECI'
 > >      class      = simple comms
 > > em0@pci0:0:25:0:        class=0x020000 card=0x20548086 chip=0x15598086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      class      = network
 > >      subclass   = ethernet
 > > hdac1@pci0:0:27:0:      class=0x040300 card=0x20548086 chip=0x9c208086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP HD Audio Controller'
 > >      class      = multimedia
 > >      subclass   = HDA
 > > pcib1@pci0:0:28:0:      class=0x060400 card=0x20548086 chip=0x9c108086
 rev=0xe4 hdr=0x01
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP PCI Express Root Port 1'
 > >      class      = bridge
 > >      subclass   = PCI-PCI
 > > pcib2@pci0:0:28:3:      class=0x060400 card=0x20548086 chip=0x9c168086
 rev=0xe4 hdr=0x01
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP PCI Express Root Port 4'
 > >      class      = bridge
 > >      subclass   = PCI-PCI
 > > ehci0@pci0:0:29:0:      class=0x0c0320 card=0x20548086 chip=0x9c268086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP USB EHCI'
 > >      class      = serial bus
 > >      subclass   = USB
 > > isab0@pci0:0:31:0:      class=0x060100 card=0x20548086 chip=0x9c438086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP LPC Controller'
 > >      class      = bridge
 > >      subclass   = PCI-ISA
 > > ahci0@pci0:0:31:2:      class=0x010601 card=0x20548086 chip=0x9c038086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP SATA Controller 1 [AHCI mode]'
 > >      class      = mass storage
 > >      subclass   = SATA
 > > none1@pci0:0:31:3:      class=0x0c0500 card=0x20548086 chip=0x9c228086
 rev=0x04 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      device     = 'Lynx Point-LP SMBus Controller'
 > >      class      = serial bus
 > >      subclass   = SMBus
 > > none2@pci0:2:0:0:       class=0x028000 card=0x40708086 chip=0x08b18086
 rev=0x73 hdr=0x00
 > >      vendor     = 'Intel Corporation'
 > >      class      = network
 > >
 > > # usbconfig
 > > ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
 pwr=SAVE (0mA)
 > > ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER
 (5.0Gbps) pwr=SAVE (0mA)
 > > ugen1.2: <product 0x8000 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=SAVE (0mA)
 > > ugen1.3: <AX88179 ASIX Elec. Corp.> at usbus1, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=ON (248mA)
 > > ugen1.4: <USB Receiver Logitech> at usbus1, cfg=0 md=HOST spd=FULL
 (12Mbps) pwr=ON (98mA)
 > >
 > >
 > >> How-To-Repeat:
 > > fresh install of freebsd exibits this issue.
 > >> Fix:
 > > I have gotten it to "somewhat" stabilize by adding
 hw.usb.xhci.xhci_port_route=-1 into /boot/loader.conf
 > >
 > >> Release-Note:
 > >> Audit-Trail:
 > 
 > Hi,
 > 
 > Can you try this patch:
 > 
 > http://svnweb.freebsd.org/changeset/base/264294
 > 
 > --HPS
 ------- End of Original Message -------
 

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr 10 06:50:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 329295E6
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Thu, 10 Apr 2014 06:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2063D19BE
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Thu, 10 Apr 2014 06:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3A6o01N036588
 for <freebsd-usb@freefall.freebsd.org>; Thu, 10 Apr 2014 06:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3A6o0aG036576;
 Thu, 10 Apr 2014 06:50:00 GMT (envelope-from gnats)
Date: Thu, 10 Apr 2014 06:50:00 GMT
Message-Id: <201404100650.s3A6o0aG036576@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@selasky.org>
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@selasky.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Apr 2014 06:50:01 -0000

The following reply was made to PR usb/188403; it has been noted by GNATS.

From: Hans Petter Selasky <hps@selasky.org>
To: Jason Seidel <jseidel@unixsystem.org>, 
 freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188403: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
Date: Thu, 10 Apr 2014 08:41:07 +0200

 On 04/10/14 00:08, Jason Seidel wrote:
 > Just as an FYI, I'm running freebsd 10 stable again the amd64 version.
 >
 > I tried the patch and removed the entry from the loader.conf; but I still get
 > errors with the patch.
 >
 > Repeats over and over again.
 >
 > xhci0: Resetting controller
 
 How did you apply the patch? You should not see the "Resetting 
 controller" any more after the patch.
 
 --HPS
 

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 04:33:50 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3D79D213
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 04:33:50 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8BF28103B
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 04:33:48 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3B4XKIW011936
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 14:03:25 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Content-Type: multipart/signed;
 boundary="Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852";
 protocol="application/pgp-signature"; micalg=pgp-sha1
Date: Fri, 11 Apr 2014 14:03:19 +0930
Subject: USB 3 devices not reliably connecting at 5Gbps
To: freebsd-usb@freebsd.org
Message-Id: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -3.551 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 04:33:50 -0000


--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,
I have a FreeBSD 9.2 system on which I am developing a USB3 data =
acquisition card (based on the Cypress FX3) and I have found that it =
doesn't reliably connect at 5GBps - quite often it seems to only connect =
at 480MBps.

If I connect it to my macbook pro (running OSX) it reliably connects at =
5Gbps.

Since the FreeBSD system doesn't have onboard USB3 I purchased 2 PCIe =
USB3 cards. I wanted to see if there was a difference in behaviour =
between the 2 cards but that doesn't seem to be the case.

xhci0@pci0:3:0:0:       class=3D0x0c0330 card=3D0x34321106 =
chip=3D0x34321106 rev=3D0x03 hdr=3D0x00
xhci1@pci0:5:0:0:	class=3D0x0c0330 card=3D0x70521b6f =
chip=3D0x70521b6f rev=3D0x00 hdr=3D0x00


xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfbeff000-0xfbefffff irq =
17 at device 0.0 on pci3
xhci0: 32 byte context size.
usbus1 on xhci0

xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfbcf8000-0xfbcfffff irq =
17 at device 0.0 on pci5
xhci1: 64 byte context size.
usbus2 on xhci1

Also, when it does connect at 5Gbps the speed seems quite slow - on my =
laptop (with USB controller VID 0x8086 PID 0x9c31 - Lynx point I think) =
I get 225MB/sec using libusb. On FreeBSD I get around 92MB/sec although =
only after lowering(!!) the amount read per transfer.

I booted a 10.0 DVD and it seems to behave the same way.

I also tried a USB 3 HD enclosure and it frequently connects at 480MBit =
as well so I don't think it's an issue with the firmware I wrote.

Does anyone have a recommendation, or a path to debugging it?

Thanks.

--
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







--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR3CP5ZPcIHs/zowRAv32AJ4zm7gxTVIRRi2pJ7mZq4gwwdt8ugCgobdB
dGberYwIXgzltDc8adNlHKM=
=/XXs
-----END PGP SIGNATURE-----

--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 05:07:40 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2EE98667
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 05:07:40 +0000 (UTC)
Received: from alogt.com (alogt.com [69.36.191.58])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 91B72125F
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 05:07:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com;
 s=default; 
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date;
 bh=gNTdnIBhWTaCYx1tHg0ncBdsAGY+3hkfnWq58hV0vUo=; 
 b=RTIky9liEjWuUPensGepLnErM6eSR4LXh2u8PX7D6V4eJBZBf6PuQzY7nsErBNSWmgS/6HtFDBp1E1tnhw60LUMlrbkJvAFmcBMDSg+jbURqLwhZBhWC+c7zZXamnKdnMLL6yzT58XI23HSZCzoyCxA3rEfN8glnyl1Oyu6+IGA=;
Received: from [182.55.101.96] (port=34002 helo=X220.alogt.com)
 by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128)
 (Exim 4.82) (envelope-from <erichsfreebsdlist@alogt.com>)
 id 1WYTga-003slP-DW; Thu, 10 Apr 2014 23:07:32 -0600
Date: Fri, 11 Apr 2014 13:07:29 +0800
From: Erich Dollansky <erichsfreebsdlist@alogt.com>
To: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Message-ID: <20140411130729.489d3513@X220.alogt.com>
In-Reply-To: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net
X-AntiAbuse: Original Domain - freebsd.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - alogt.com
X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id:
 erichsfreebsdlist@alogt.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 05:07:40 -0000

Hi,

On Fri, 11 Apr 2014 14:03:19 +0930
"Daniel O'Connor" <doconnor@gsoft.com.au> wrote:

> I have a FreeBSD 9.2 system on which I am developing a USB3 data
> acquisition card (based on the Cypress FX3) and I have found that it
> doesn't reliably connect at 5GBps - quite often it seems to only
> connect at 480MBps.
> 
> If I connect it to my macbook pro (running OSX) it reliably connects
> at 5Gbps.

allow me to share my own experience with USB3. My X220 has a single
USB3 port. I have two USB cases in which are 500GB built-in. The cases
are identical except of the serial number. But the cases came with two
different cables. FreeBSD only connects randomly at full speed when I
use the cable which came first on both cases. But it connects always
with full speed using the new cable.

It is either the error handling of FreeBSD or the quality of the
electrical signal. 

Keep this as a hint in mind when debugging your problem.

Erich

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 06:06:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 84C11199
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 06:06:04 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 487C1184D
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 06:06:04 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 2AA111FE027;
 Fri, 11 Apr 2014 08:06:01 +0200 (CEST)
Message-ID: <5347867B.2040001@selasky.org>
Date: Fri, 11 Apr 2014 08:06:51 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Erich Dollansky <erichsfreebsdlist@alogt.com>, 
 Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <20140411130729.489d3513@X220.alogt.com>
In-Reply-To: <20140411130729.489d3513@X220.alogt.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 06:06:04 -0000

On 04/11/14 07:07, Erich Dollansky wrote:
> It is either the error handling of FreeBSD or the quality of the
> electrical signal.

Hi,

The port speed is decided by the hardware after port reset.

Setting "sysctl hw.usb.uhub.debug=15" should reveal some more 
information about the port reset sequence.

Please also ensure you are running 9/10-stable when testing, hence there 
are some minor fixes for XHCI every now and then.

Try to collect some more logs from UHUB driver first. Compare bad and 
good case.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 06:35:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F3722B1
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 06:35:32 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B7C121AAE
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 06:35:32 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 1D87C1FE027;
 Fri, 11 Apr 2014 08:35:21 +0200 (CEST)
Message-ID: <53478D5B.3090205@selasky.org>
Date: Fri, 11 Apr 2014 08:36:11 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>, freebsd-usb@freebsd.org
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
In-Reply-To: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 06:35:33 -0000

On 04/11/14 06:33, Daniel O'Connor wrote:
> Also, when it does connect at 5Gbps the speed seems quite slow - on my laptop (with USB controller VID 0x8086 PID 0x9c31 - Lynx point I think) I get 225MB/sec using libusb. On FreeBSD I get around 92MB/sec although only after lowering(!!) the amount read per transfer.

Hi,

FreeBSD sets an IRQ latency of 125us, while the others use the default 
of 62.5us. Are you double buffering the USB transfers? The IRQ latency 
can be changed by editing a macro in the XHCI driver:

#define XHCI_IMOD_DEFAULT       0x000003E8U     /* 8000 IRQ/second */

At a rate of 225MB/s you need around 2x32Kbyte of buffer and you need to 
avoid short transfers.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 07:29:59 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DF204A05
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 07:29:58 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5D13610DA
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 07:29:57 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3B7TWFk024876
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 16:59:37 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_A05482E1-A348-4B13-8583-CDAAB0EC7481";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <53478D5B.3090205@selasky.org>
Date: Fri, 11 Apr 2014 16:59:31 +0930
Message-Id: <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -3.551 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 07:29:59 -0000


--Apple-Mail=_A05482E1-A348-4B13-8583-CDAAB0EC7481
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 16:06, Hans Petter Selasky <hps@selasky.org> wrote:
> On 04/11/14 06:33, Daniel O'Connor wrote:
>> Also, when it does connect at 5Gbps the speed seems quite slow - on =
my laptop (with USB controller VID 0x8086 PID 0x9c31 - Lynx point I =
think) I get 225MB/sec using libusb. On FreeBSD I get around 92MB/sec =
although only after lowering(!!) the amount read per transfer.
>=20
> FreeBSD sets an IRQ latency of 125us, while the others use the default =
of 62.5us. Are you double buffering the USB transfers? The IRQ latency =
can be changed by editing a macro in the XHCI driver:
>=20
> #define XHCI_IMOD_DEFAULT       0x000003E8U     /* 8000 IRQ/second */
>=20
> At a rate of 225MB/s you need around 2x32Kbyte of buffer and you need =
to avoid short transfers.

Interesting..

My test program looks like..
	for (i =3D 0; i < EP_FDNREQ; i++) {
	    usb_xf[i].xf =3D libusb_alloc_transfer(0);
	    usb_xf[i].idx =3D i;
	    usb_xf[i].done =3D 0;
	    usb_xf[i].submitted =3D 0;
	    p =3D malloc(EP_FDXFAMT);
	=09
	    libusb_fill_bulk_transfer(usb_xf[i].xf, h, EP_UDBUS, p, =
EP_FDXFAMT, usbcb, &usb_xf[i], 10000);
	}

I then submit all these and then have the call back log the speed (after =
N transfers) and reissue the request.
(I can send you the full code if you like)

I find that on OSX if I have..
#define EP_FDXFAMT	32768			/* Number of bytes per =
tranfer */
#define EP_FDNREQ	4			/* Number of request to =
keep in flight */

I get 225MB/sec pretty much constantly, if I lower those values then the =
transfer rate is much lumpier.

With the same code I get 125MB/sec on FreeBSD.

I tried fiddling the numbers to get more but that seems to be the =
maximum.

Curiously if I increase the number of bytes per transfer to 64k the =
throughput drops to 86MB/sec.

Lowering it to 16k gives 125MB/sec, 8k gives 62MB/sec.

Finally, I ran systat -vmstat 1 while running the test and I see 4000 =
IRQ/sec on the xhci device, not 8000 as your comment above would =
suggest.

--
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







--Apple-Mail=_A05482E1-A348-4B13-8583-CDAAB0EC7481
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR5nb5ZPcIHs/zowRAg6EAKCf7Bya6rX4I1VfbXvozsMe8h/AegCgpwON
sN9Y9BO/KidRxoOMUFjSX64=
=6Lrl
-----END PGP SIGNATURE-----

--Apple-Mail=_A05482E1-A348-4B13-8583-CDAAB0EC7481--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 08:28:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 53BE65DB
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 08:28:04 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 115DA1770
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 08:28:03 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 1B6741FE027;
 Fri, 11 Apr 2014 10:28:00 +0200 (CEST)
Message-ID: <5347A7C2.9000704@selasky.org>
Date: Fri, 11 Apr 2014 10:28:50 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
In-Reply-To: <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 08:28:04 -0000

On 04/11/14 09:29, Daniel O'Connor wrote:
>
> On 11 Apr 2014, at 16:06, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 04/11/14 06:33, Daniel O'Connor wrote:
>>> Also, when it does connect at 5Gbps the speed seems quite slow - on my laptop (with USB controller VID 0x8086 PID 0x9c31 - Lynx point I think) I get 225MB/sec using libusb. On FreeBSD I get around 92MB/sec although only after lowering(!!) the amount read per transfer.
>>
>> FreeBSD sets an IRQ latency of 125us, while the others use the default of 62.5us. Are you double buffering the USB transfers? The IRQ latency can be changed by editing a macro in the XHCI driver:
>>
>> #define XHCI_IMOD_DEFAULT       0x000003E8U     /* 8000 IRQ/second */
>>
>> At a rate of 225MB/s you need around 2x32Kbyte of buffer and you need to avoid short transfers.
>
> Interesting..
>
> My test program looks like..
> 	for (i = 0; i < EP_FDNREQ; i++) {
> 	    usb_xf[i].xf = libusb_alloc_transfer(0);
> 	    usb_xf[i].idx = i;
> 	    usb_xf[i].done = 0;
> 	    usb_xf[i].submitted = 0;
> 	    p = malloc(EP_FDXFAMT);
> 		
> 	    libusb_fill_bulk_transfer(usb_xf[i].xf, h, EP_UDBUS, p, EP_FDXFAMT, usbcb, &usb_xf[i], 10000);
> 	}
>
> I then submit all these and then have the call back log the speed (after N transfers) and reissue the request.
> (I can send you the full code if you like)
>
> I find that on OSX if I have..
> #define EP_FDXFAMT	32768			/* Number of bytes per tranfer */
> #define EP_FDNREQ	4			/* Number of request to keep in flight */
>
> I get 225MB/sec pretty much constantly, if I lower those values then the transfer rate is much lumpier.
>
> With the same code I get 125MB/sec on FreeBSD.
>
> I tried fiddling the numbers to get more but that seems to be the maximum.
>
> Curiously if I increase the number of bytes per transfer to 64k the throughput drops to 86MB/sec.
>
> Lowering it to 16k gives 125MB/sec, 8k gives 62MB/sec.
>
> Finally, I ran systat -vmstat 1 while running the test and I see 4000 IRQ/sec on the xhci device, not 8000 as your comment above would suggest.

Hi,

Looks like a bug there. Can you try this patch:

http://svnweb.freebsd.org/changeset/base/264340

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 09:57:52 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E0A3D5EA
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 09:57:52 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 64804117D
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 09:57:51 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3B9vV2K039840
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 19:27:39 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_E61A1D79-7AD8-4CD6-AC0C-6C31671DB9BC";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <5347A7C2.9000704@selasky.org>
Date: Fri, 11 Apr 2014 19:27:30 +0930
Message-Id: <10D8152C-0013-46CD-B1CF-6A5BA41D1B3A@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347A7C2.9000704@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 09:57:52 -0000


--Apple-Mail=_E61A1D79-7AD8-4CD6-AC0C-6C31671DB9BC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 17:58, Hans Petter Selasky <hps@selasky.org> wrote:
> On 04/11/14 09:29, Daniel O'Connor wrote:
>>=20
>> On 11 Apr 2014, at 16:06, Hans Petter Selasky <hps@selasky.org> =
wrote:
>> Finally, I ran systat -vmstat 1 while running the test and I see 4000 =
IRQ/sec on the xhci device, not 8000 as your comment above would =
suggest.
>=20
> Looks like a bug there. Can you try this patch:
>=20
> http://svnweb.freebsd.org/changeset/base/264340

That gives a definite improvement to 187MB/sec, thanks!

--
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







--Apple-Mail=_E61A1D79-7AD8-4CD6-AC0C-6C31671DB9BC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR7yK5ZPcIHs/zowRAt88AJ9UyDJ0m+82/H9CBn+HGohcBE2reQCbB2wG
hdA/mS0JbNyqlk6zp58V+AU=
=byT1
-----END PGP SIGNATURE-----

--Apple-Mail=_E61A1D79-7AD8-4CD6-AC0C-6C31671DB9BC--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 10:01:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 371FC678
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:01:42 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9382B1219
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:01:41 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BA1SLD040068
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 19:31:36 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_1F94C61F-B0B2-49DA-9FB3-EB90CC48C0DD";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <10D8152C-0013-46CD-B1CF-6A5BA41D1B3A@gsoft.com.au>
Date: Fri, 11 Apr 2014 19:31:27 +0930
Message-Id: <B7F47BDB-FA99-4A03-9430-532F3DBA2F5B@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347A7C2.9000704@selasky.org>
 <10D8152C-0013-46CD-B1CF-6A5BA41D1B3A@gsoft.com.au>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 10:01:42 -0000


--Apple-Mail=_1F94C61F-B0B2-49DA-9FB3-EB90CC48C0DD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 19:27, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> On 11 Apr 2014, at 17:58, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 04/11/14 09:29, Daniel O'Connor wrote:
>>>=20
>>> On 11 Apr 2014, at 16:06, Hans Petter Selasky <hps@selasky.org> =
wrote:
>>> Finally, I ran systat -vmstat 1 while running the test and I see =
4000 IRQ/sec on the xhci device, not 8000 as your comment above would =
suggest.
>>=20
>> Looks like a bug there. Can you try this patch:
>>=20
>> http://svnweb.freebsd.org/changeset/base/264340
>=20
> That gives a definite improvement to 187MB/sec, thanks!

Using a usb_fifo_* based driver I get over 220MB/sec.

That should tide me over for a while :)

If you're in Adelaide some time I owe you some beers.

--
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







--Apple-Mail=_1F94C61F-B0B2-49DA-9FB3-EB90CC48C0DD
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR7135ZPcIHs/zowRArQOAJ9beR9hXDYgf9JXku5ENGLHvU5OVgCeLeff
VskHjG+/eBt9+FYb9eyk7DA=
=jr01
-----END PGP SIGNATURE-----

--Apple-Mail=_1F94C61F-B0B2-49DA-9FB3-EB90CC48C0DD--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 10:08:09 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8C9629C3
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:08:09 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4AD631275
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:08:09 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id B3F6F1FE027;
 Fri, 11 Apr 2014 12:08:07 +0200 (CEST)
Message-ID: <5347BF39.2000704@selasky.org>
Date: Fri, 11 Apr 2014 12:08:57 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
In-Reply-To: <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 10:08:09 -0000

On 04/11/14 09:29, Daniel O'Connor wrote:
> 	    usb_xf[i].xf = libusb_alloc_transfer(0);
> 	    usb_xf[i].idx = i;
> 	    usb_xf[i].done = 0;
> 	    usb_xf[i].submitted = 0;

I think you can get more speed in libusb:

                 x |= 1;
         }
         speed = libusb20_dev_get_speed(pdev);

         /* select a sensible buffer size */
         if (speed == LIBUSB20_SPEED_LOW) {
                 bufsize = 256;
         } else if (speed == LIBUSB20_SPEED_FULL) {
                 bufsize = 4096;
         } else {
                 bufsize = 16384;

^^^ add a clause for super-speed to use 32K/64K here:
         }

         xfer = libusb20_tr_get_pointer(pdev, x);

         if (xfer == NULL)
                 return (xfer);


See: src/lib/libusb

You can simply type "make all install" there.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 10:19:29 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3D5E6FB7
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:19:29 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B2E581374
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:19:28 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BAJFje041009
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 19:49:24 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <5347BF39.2000704@selasky.org>
Date: Fri, 11 Apr 2014 19:49:13 +0930
Message-Id: <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 10:19:29 -0000


--Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 19:38, Hans Petter Selasky <hps@selasky.org> wrote:
> On 04/11/14 09:29, Daniel O'Connor wrote:
>> 	    usb_xf[i].xf = libusb_alloc_transfer(0);
>> 	    usb_xf[i].idx = i;
>> 	    usb_xf[i].done = 0;
>> 	    usb_xf[i].submitted = 0;
> 
> I think you can get more speed in libusb:

>                bufsize = 16384;
> 
> ^^^ add a clause for super-speed to use 32K/64K here:

I think that only applies to libusb 0.1 - I am using the 1.0 API.

--
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







--Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR8Gi5ZPcIHs/zowRAmkIAJ4gb1x0IQmue5d5p15PMSiqNvcSdwCeIQtC
MG6oLlTzJkkKe35EC797BoU=
=K3hN
-----END PGP SIGNATURE-----

--Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 10:20:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E14F71A7
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:20:44 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5F7BF1390
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 10:20:43 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BAKUYj041075
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 19:50:39 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_0C879DC7-96B6-45FB-AF82-679145B91AD0";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
Date: Fri, 11 Apr 2014 19:50:29 +0930
Message-Id: <87E94277-CF81-4242-8C5A-2BAB5EEC9DE3@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
 <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 10:20:44 -0000


--Apple-Mail=_0C879DC7-96B6-45FB-AF82-679145B91AD0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 19:49, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
>> ^^^ add a clause for super-speed to use 32K/64K here:
>=20
> I think that only applies to libusb 0.1 - I am using the 1.0 API.

I'm not sure if it's relevant or not but I note that with my driver =
being read by dd I get ~7500 IRQ/sec, with my libusb program I get 8000.

That is somewhat counter to what I expect.

--
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







--Apple-Mail=_0C879DC7-96B6-45FB-AF82-679145B91AD0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR8Ht5ZPcIHs/zowRAkGmAJ9FR4LXV7+dvX9MLatNsTRinQzoTQCfRU3t
B3HCWbKoLm8DRXtHoTJaa0s=
=lUOR
-----END PGP SIGNATURE-----

--Apple-Mail=_0C879DC7-96B6-45FB-AF82-679145B91AD0--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 14:13:13 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A93FAB1
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:13:13 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6610D1FEE
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:13:12 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id B14671FE027;
 Fri, 11 Apr 2014 16:13:10 +0200 (CEST)
Message-ID: <5347F8A7.1020206@selasky.org>
Date: Fri, 11 Apr 2014 16:13:59 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
 <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
In-Reply-To: <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 14:13:13 -0000

On 04/11/14 12:19, Daniel O'Connor wrote:
>
> On 11 Apr 2014, at 19:38, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 04/11/14 09:29, Daniel O'Connor wrote:
>>> 	    usb_xf[i].xf = libusb_alloc_transfer(0);
>>> 	    usb_xf[i].idx = i;
>>> 	    usb_xf[i].done = 0;
>>> 	    usb_xf[i].submitted = 0;
>>
>> I think you can get more speed in libusb:
>
>>                 bufsize = 16384;
>>
>> ^^^ add a clause for super-speed to use 32K/64K here:
>
> I think that only applies to libusb 0.1 - I am using the 1.0 API.
>

Hi,

Try this patch. I'm pretty sure you can get +256
MByte/second using LibUSB too.

http://svnweb.freebsd.org/changeset/base/264344

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 14:29:36 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 66AEAC0A
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:29:36 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DECAA118F
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:29:35 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BETHZf057276
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Fri, 11 Apr 2014 23:59:23 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_45FFC1D6-DA5E-402E-BFE1-4771B202BD0F";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <5347F8A7.1020206@selasky.org>
Date: Fri, 11 Apr 2014 23:59:16 +0930
Message-Id: <E8E3C4AB-DA87-4E0E-8B3C-5461EBCE4FB1@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
 <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
 <5347F8A7.1020206@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 14:29:36 -0000


--Apple-Mail=_45FFC1D6-DA5E-402E-BFE1-4771B202BD0F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 11 Apr 2014, at 23:43, Hans Petter Selasky <hps@selasky.org> wrote:
> Try this patch. I'm pretty sure you can get +256
> MByte/second using LibUSB too.
>=20
> http://svnweb.freebsd.org/changeset/base/264344

Unfortunately it doesn't seem to have a no impact on performance - I =
still get 187MB/sec.

--
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







--Apple-Mail=_45FFC1D6-DA5E-402E-BFE1-4771B202BD0F
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR/w85ZPcIHs/zowRAt07AKCJAluwgMfZW1U8k9N+KWkyW+0KxQCfXapq
Cam51rV1PJBwH7DguEsGwlg=
=moBm
-----END PGP SIGNATURE-----

--Apple-Mail=_45FFC1D6-DA5E-402E-BFE1-4771B202BD0F--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 14:37:25 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id AC695EEE
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:37:25 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6CDC61271
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:37:25 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 4B10B1FE027;
 Fri, 11 Apr 2014 16:37:24 +0200 (CEST)
Message-ID: <5347FE56.7040904@selasky.org>
Date: Fri, 11 Apr 2014 16:38:14 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Daniel O'Connor <doconnor@gsoft.com.au>
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
 <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
 <5347F8A7.1020206@selasky.org>
 <E8E3C4AB-DA87-4E0E-8B3C-5461EBCE4FB1@gsoft.com.au>
In-Reply-To: <E8E3C4AB-DA87-4E0E-8B3C-5461EBCE4FB1@gsoft.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 14:37:25 -0000

On 04/11/14 16:29, Daniel O'Connor wrote:
>
> On 11 Apr 2014, at 23:43, Hans Petter Selasky <hps@selasky.org> wrote:
>> Try this patch. I'm pretty sure you can get +256
>> MByte/second using LibUSB too.
>>
>> http://svnweb.freebsd.org/changeset/base/264344
>
> Unfortunately it doesn't seem to have a no impact on performance - I still get 187MB/sec.
>
> --
> 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
>
>
>

Hi,

Can you check using ldd, that it is using the libusb you installed?

Also check using "usbdump" what size the kernel is submitting when you 
are using libusb.

Thank you!

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 11 14:43:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4BE4295
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:43:57 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BED31132B
 for <freebsd-usb@freebsd.org>; Fri, 11 Apr 2014 14:43:56 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net
 [118.210.194.169]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BEhi2B058067
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Sat, 12 Apr 2014 00:13:51 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: USB 3 devices not reliably connecting at 5Gbps
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_0296D75B-E084-423A-8496-8079A9E03C59";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <5347FE56.7040904@selasky.org>
Date: Sat, 12 Apr 2014 00:13:43 +0930
Message-Id: <A30A4C86-A55C-41D5-96B2-7AD669B2DC8B@gsoft.com.au>
References: <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>
 <53478D5B.3090205@selasky.org>
 <ACC91511-A630-4262-AFE4-441AA154E405@gsoft.com.au>
 <5347BF39.2000704@selasky.org>
 <ACC54FEC-2265-4861-9B2F-EEE6EDFC7857@gsoft.com.au>
 <5347F8A7.1020206@selasky.org>
 <E8E3C4AB-DA87-4E0E-8B3C-5461EBCE4FB1@gsoft.com.au>
 <5347FE56.7040904@selasky.org>
To: Hans Petter Selasky <hps@selasky.org>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2014 14:43:57 -0000


--Apple-Mail=_0296D75B-E084-423A-8496-8079A9E03C59
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


On 12 Apr 2014, at 0:08, Hans Petter Selasky <hps@selasky.org> wrote:
> Can you check using ldd, that it is using the libusb you installed?

> Also check using "usbdump" what size the kernel is submitting when you =
are using libusb.

Oops, I just realised I didn't update my program to increase the request =
size!

I changed it to do 32k requests and now it 225MB/sec - very nice :)

--
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







--Apple-Mail=_0296D75B-E084-423A-8496-8079A9E03C59
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR/+f5ZPcIHs/zowRAkOMAJ0RCtCKX0GWXhQWSx8DbV1B2TnWWwCcDjds
nxGus78Xim5gWjtUEHZ5ZZk=
=wGhJ
-----END PGP SIGNATURE-----

--Apple-Mail=_0296D75B-E084-423A-8496-8079A9E03C59--

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 14 11:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0F12C203
 for <freebsd-usb@FreeBSD.org>; Mon, 14 Apr 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E6F42167B
 for <freebsd-usb@FreeBSD.org>; Mon, 14 Apr 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3EB6r4p026052
 for <freebsd-usb@FreeBSD.org>; Mon, 14 Apr 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3EB6rs0026050
 for freebsd-usb@FreeBSD.org; Mon, 14 Apr 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 14 Apr 2014 11:06:53 GMT
Message-Id: <201404141106.s3EB6rs0026050@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Apr 2014 11:06:54 -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/188403   usb        USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
o usb/188119   usb        multiple keybard
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185968   usb        PocketBook Pro 912 USB connection problem
o usb/185838   usb        Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        Patcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb        (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/182820   usb        usbusX if destroy page fault panic
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usb        XHCI umass support breaks between r248085 and r252560 
o usb/180657   usb        [PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usb        New quirk (another member of Western Digital My Passpo
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        Seagate 2TB USB extern hard disk have errors with Free
o usb/175379   usb        usb card-reader problem
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        uaudio fails to create pcm/dsp device file
o usb/174814   usb        [PATCH] support for MiFi 2200
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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/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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

332 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Wed Apr 16 00:37:50 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 06D1E9D8;
 Wed, 16 Apr 2014 00:37:50 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CFC6E119B;
 Wed, 16 Apr 2014 00:37:49 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G0bn3L089465;
 Wed, 16 Apr 2014 00:37:49 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3G0bnO8089464;
 Wed, 16 Apr 2014 00:37:49 GMT (envelope-from linimon)
Date: Wed, 16 Apr 2014 00:37:49 GMT
Message-Id: <201404160037.s3G0bnO8089464@freefall.freebsd.org>
To: bsd.gaijin@gmail.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/180726: [xhci] XHCI umass support breaks between r248085 and
 r252560 on 9-STABLE [regression]
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 00:37:50 -0000

Old Synopsis: XHCI umass support breaks between r248085 and r252560 on 9-STABLE
New Synopsis: [xhci] XHCI umass support breaks between r248085 and r252560 on 9-STABLE [regression]

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Wed Apr 16 00:33:50 UTC 2014
State-Changed-Why: 
submitter confirms this has been fixed by subsequent commits.

http://www.freebsd.org/cgi/query-pr.cgi?pr=180726

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr 16 00:52:38 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F1850F2F;
 Wed, 16 Apr 2014 00:52:37 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C61AC1309;
 Wed, 16 Apr 2014 00:52:37 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G0qbLu096201;
 Wed, 16 Apr 2014 00:52:37 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3G0qbMG096200;
 Wed, 16 Apr 2014 00:52:37 GMT (envelope-from linimon)
Date: Wed, 16 Apr 2014 00:52:37 GMT
Message-Id: <201404160052.s3G0qbMG096200@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/183032: [uep] [patch] uep driver not working with eGalax
 touchcontroller
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 00:52:38 -0000

Old Synopsis: uep driver not working with eGalax touchcontroller
New Synopsis: [uep] [patch] uep driver not working with eGalax touchcontroller

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Wed Apr 16 00:51:42 UTC 2014
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=183032

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr 16 07:20:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A34F99D0
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 16 Apr 2014 07:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 803451774
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 16 Apr 2014 07:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G7K1g1041135
 for <freebsd-usb@freefall.freebsd.org>; Wed, 16 Apr 2014 07:20:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3G7K1Ds041134;
 Wed, 16 Apr 2014 07:20:01 GMT (envelope-from gnats)
Resent-Date: Wed, 16 Apr 2014 07:20:01 GMT
Resent-Message-Id: <201404160720.s3G7K1Ds041134@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, John Wehle <john@feith.com>
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 419F2988
 for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Apr 2014 07:17:06 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 217B8174E
 for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Apr 2014 07:17:06 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G7H5mu018192
 for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Apr 2014 07:17:05 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3G7H5Sw018185;
 Wed, 16 Apr 2014 07:17:05 GMT (envelope-from nobody)
Message-Id: <201404160717.s3G7H5Sw018185@cgiserv.freebsd.org>
Date: Wed, 16 Apr 2014 07:17:05 GMT
From: John Wehle <john@feith.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/188683: dwc_otg FDT support for specifying usb controller mode
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 07:20:01 -0000


>Number:         188683
>Category:       usb
>Synopsis:       dwc_otg FDT support for specifying usb controller mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 07:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     John Wehle
>Release:        11 r264251
>Organization:
Personal
>Environment:
Not Yet
>Description:
In my spare time I'm working on bringing FreeBSD up on amlogic based
arm processors.  The amlogic SoC contains a dwc USB controller.
If I enable the controller on a Visson ATV-102 box (mine appears
to be based on the aml8726-m6 SoC) which uses a GL850G usb hub chip
the driver fails to detect GOTGCTL_ASESVLD so it doesn't work.

The attached patch allows the mode to be specifed in the FDT ...
if the mode is set to host, then the driver doesn't looks for
GOTGCTL_ASESVLD ... it assumes VBUS is driven.  This suffices for
basic USB functionality on the Visson ATV-102.

>How-To-Repeat:
Build FreeBSD 11 for the Visson ATV-102 (this requires code for the
amlogic platform which I'll be supplying in the future) and attempt
to use USB.
>Fix:
Apply the patch to optionally specify the controller mode and added

  mode = "host";

to the usb block in vsatv102-m6.dts.

Patch attached with submission follows:

Index: sys/dev/usb/controller/dwc_otg_fdt.c
===================================================================
--- sys/dev/usb/controller/dwc_otg_fdt.c	(revision 264251)
+++ sys/dev/usb/controller/dwc_otg_fdt.c	(working copy)
@@ -91,9 +91,27 @@
 dwc_otg_attach(device_t dev)
 {
 	struct dwc_otg_super_softc *sc = device_get_softc(dev);
+	pcell_t *prop;
+	phandle_t node;
+	ssize_t len;
 	int err;
 	int rid;
 
+	node = ofw_bus_get_node(dev);
+	len = OF_getprop_alloc(node, "mode", sizeof(char), (void **)&prop);
+	if (len >= 0) {
+		if (strcmp((char *)prop, "host") == 0)
+			sc->sc_otg.sc_mode = DWC_MODE_HOST;
+		else if (strcmp((char *)prop, "device") == 0)
+			sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
+		else if (strcmp((char *)prop, "otg") == 0)
+			;
+		else
+			device_printf(dev,
+			  "ignoring unknown value for mode attribute in FDT\n");
+	}
+	free(prop, M_OFWPROP);
+
 	/* initialise some bus fields */
 	sc->sc_otg.sc_bus.parent = dev;
 	sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
Index: sys/dev/usb/controller/dwc_otg.c
===================================================================
--- sys/dev/usb/controller/dwc_otg.c	(revision 264251)
+++ sys/dev/usb/controller/dwc_otg.c	(working copy)
@@ -2332,7 +2332,7 @@
 
 		DPRINTFN(5, "GOTGCTL=0x%08x\n", temp);
 
-		dwc_otg_vbus_interrupt(sc,
+		dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
 		    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
 	}
 
@@ -3182,7 +3182,7 @@
 	    sc->sc_host_ch_max);
 
 	/* setup FIFO */
-	if (dwc_otg_init_fifo(sc, DWC_MODE_OTG))
+	if (dwc_otg_init_fifo(sc, sc->sc_mode))
 		return (EINVAL);
 
 	/* enable interrupts */
@@ -3233,7 +3233,7 @@
 
 	DPRINTFN(5, "GOTCTL=0x%08x\n", temp);
 
-	dwc_otg_vbus_interrupt(sc,
+	dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
 	    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
 
 	USB_BUS_UNLOCK(&sc->sc_bus);


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr 16 13:10:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 53EEF923
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 16 Apr 2014 13:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 411521CB3
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Wed, 16 Apr 2014 13:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3GDA150057387
 for <freebsd-usb@freefall.freebsd.org>; Wed, 16 Apr 2014 13:10:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3GDA164057386;
 Wed, 16 Apr 2014 13:10:01 GMT (envelope-from gnats)
Date: Wed, 16 Apr 2014 13:10:01 GMT
Message-Id: <201404161310.s3GDA164057386@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Ian Lepore <ian@FreeBSD.org>
Subject: Re: usb/188683: dwc_otg FDT support for specifying usb controller mode
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Ian Lepore <ian@FreeBSD.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 13:10:01 -0000

The following reply was made to PR usb/188683; it has been noted by GNATS.

From: Ian Lepore <ian@FreeBSD.org>
To: John Wehle <john@feith.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: usb/188683: dwc_otg FDT support for specifying usb controller
 mode
Date: Wed, 16 Apr 2014 07:09:26 -0600

 On Wed, 2014-04-16 at 07:17 +0000, John Wehle wrote:
 > >Number:         188683
 > >Category:       usb
 > >Synopsis:       dwc_otg FDT support for specifying usb controller mode
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-usb
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Wed Apr 16 07:20:01 UTC 2014
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     John Wehle
 > >Release:        11 r264251
 > >Organization:
 > Personal
 > >Environment:
 > Not Yet
 > >Description:
 > In my spare time I'm working on bringing FreeBSD up on amlogic based
 > arm processors.  The amlogic SoC contains a dwc USB controller.
 > If I enable the controller on a Visson ATV-102 box (mine appears
 > to be based on the aml8726-m6 SoC) which uses a GL850G usb hub chip
 > the driver fails to detect GOTGCTL_ASESVLD so it doesn't work.
 > 
 > The attached patch allows the mode to be specifed in the FDT ...
 > if the mode is set to host, then the driver doesn't looks for
 > GOTGCTL_ASESVLD ... it assumes VBUS is driven.  This suffices for
 > basic USB functionality on the Visson ATV-102.
 > 
 > >How-To-Repeat:
 > Build FreeBSD 11 for the Visson ATV-102 (this requires code for the
 > amlogic platform which I'll be supplying in the future) and attempt
 > to use USB.
 > >Fix:
 > Apply the patch to optionally specify the controller mode and added
 > 
 >   mode = "host";
 > 
 > to the usb block in vsatv102-m6.dts.
 > 
 > Patch attached with submission follows:
 > 
 > Index: sys/dev/usb/controller/dwc_otg_fdt.c
 > ===================================================================
 > --- sys/dev/usb/controller/dwc_otg_fdt.c	(revision 264251)
 > +++ sys/dev/usb/controller/dwc_otg_fdt.c	(working copy)
 > @@ -91,9 +91,27 @@
 >  dwc_otg_attach(device_t dev)
 >  {
 >  	struct dwc_otg_super_softc *sc = device_get_softc(dev);
 > +	pcell_t *prop;
 > +	phandle_t node;
 > +	ssize_t len;
 >  	int err;
 >  	int rid;
 >  
 > +	node = ofw_bus_get_node(dev);
 > +	len = OF_getprop_alloc(node, "mode", sizeof(char), (void **)&prop);
 > +	if (len >= 0) {
 > +		if (strcmp((char *)prop, "host") == 0)
 > +			sc->sc_otg.sc_mode = DWC_MODE_HOST;
 > +		else if (strcmp((char *)prop, "device") == 0)
 > +			sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
 > +		else if (strcmp((char *)prop, "otg") == 0)
 > +			;
 > +		else
 > +			device_printf(dev,
 > +			  "ignoring unknown value for mode attribute in FDT\n");
 > +	}
 > +	free(prop, M_OFWPROP);
 > +
 >  	/* initialise some bus fields */
 >  	sc->sc_otg.sc_bus.parent = dev;
 >  	sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
 > Index: sys/dev/usb/controller/dwc_otg.c
 > ===================================================================
 > --- sys/dev/usb/controller/dwc_otg.c	(revision 264251)
 > +++ sys/dev/usb/controller/dwc_otg.c	(working copy)
 > @@ -2332,7 +2332,7 @@
 >  
 >  		DPRINTFN(5, "GOTGCTL=0x%08x\n", temp);
 >  
 > -		dwc_otg_vbus_interrupt(sc,
 > +		dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
 >  		    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
 >  	}
 >  
 > @@ -3182,7 +3182,7 @@
 >  	    sc->sc_host_ch_max);
 >  
 >  	/* setup FIFO */
 > -	if (dwc_otg_init_fifo(sc, DWC_MODE_OTG))
 > +	if (dwc_otg_init_fifo(sc, sc->sc_mode))
 >  		return (EINVAL);
 >  
 >  	/* enable interrupts */
 > @@ -3233,7 +3233,7 @@
 >  
 >  	DPRINTFN(5, "GOTCTL=0x%08x\n", temp);
 >  
 > -	dwc_otg_vbus_interrupt(sc,
 > +	dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
 >  	    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
 >  
 >  	USB_BUS_UNLOCK(&sc->sc_bus);
 > 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 
 The DeviceTree docs indicate there's a standard property name and values
 for this:
 
  - dr_mode: tells Dual-Role USB controllers that we want to work on a
 particular mode. Valid arguments are "host", "peripheral" and "otg". In
 case this attribute isn't passed via DT, USB DRD controllers should
 default to OTG.
 
 -- Ian
 
 

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr 17 04:15:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DE9B2FF8;
 Thu, 17 Apr 2014 04:15:21 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id AD79D1E6C;
 Thu, 17 Apr 2014 04:15:21 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3H4FLcd057319;
 Thu, 17 Apr 2014 04:15:21 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3H4FL8C057318;
 Thu, 17 Apr 2014 04:15:21 GMT (envelope-from linimon)
Date: Thu, 17 Apr 2014 04:15:21 GMT
Message-Id: <201404170415.s3H4FL8C057318@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/175893: [uftdi] [patch] kernel/usb/uftdi patch to recognise a
 KT-LINK ft2232 based device
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 04:15:21 -0000

Old Synopsis: kernel/usb/uftdi patch to recognise a KT-LINK ft2232 based device
New Synopsis: [uftdi] [patch] kernel/usb/uftdi patch to recognise a KT-LINK ft2232 based device

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Apr 17 04:14:48 UTC 2014
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=175893

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr 17 04:23:52 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DF816223;
 Thu, 17 Apr 2014 04:23:52 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B30E81064;
 Thu, 17 Apr 2014 04:23:52 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3H4Nq80060372;
 Thu, 17 Apr 2014 04:23:52 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3H4NpZb060371;
 Thu, 17 Apr 2014 04:23:51 GMT (envelope-from linimon)
Date: Thu, 17 Apr 2014 04:23:51 GMT
Message-Id: <201404170423.s3H4NpZb060371@freefall.freebsd.org>
To: andy@balholm.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org,
 hselasky@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/174814: [PATCH] support for MiFi 2200
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 04:23:52 -0000

Synopsis: [PATCH] support for MiFi 2200

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Thu Apr 17 04:23:03 UTC 2014
State-Changed-Why: 
committer over a year ago.


Responsible-Changed-From-To: freebsd-usb->hselasky
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Apr 17 04:23:03 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174814

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr 17 04:30:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6ADA6425;
 Thu, 17 Apr 2014 04:30:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3DF2B10A5;
 Thu, 17 Apr 2014 04:30:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3H4U0FR061205;
 Thu, 17 Apr 2014 04:30:00 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3H4U05c061180;
 Thu, 17 Apr 2014 04:30:00 GMT (envelope-from linimon)
Date: Thu, 17 Apr 2014 04:30:00 GMT
Message-Id: <201404170430.s3H4U05c061180@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/172931: [ums] Suspend/resume blocks USB mouse
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 04:30:00 -0000

Old Synopsis: Suspen/resume blocks USB mouse
New Synopsis: [ums] Suspend/resume blocks USB mouse

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Apr 17 04:29:10 UTC 2014
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=172931

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr 17 04:50:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 443FF8E9
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Thu, 17 Apr 2014 04:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 163451234
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Thu, 17 Apr 2014 04:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3H4o0nj068796
 for <freebsd-usb@freefall.freebsd.org>; Thu, 17 Apr 2014 04:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3H4o0L0068795;
 Thu, 17 Apr 2014 04:50:00 GMT (envelope-from gnats)
Date: Thu, 17 Apr 2014 04:50:00 GMT
Message-Id: <201404170450.s3H4o0L0068795@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: John Wehle <john@feith.com>
Subject: Re: usb/188683: dwc_otg FDT support for specifying usb controller mode
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: John Wehle <john@feith.com>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 04:50:01 -0000

The following reply was made to PR usb/188683; it has been noted by GNATS.

From: John Wehle <john@feith.com>
To: ian@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: usb/188683: dwc_otg FDT support for specifying usb controller mode
Date: Thu, 17 Apr 2014 00:27:49 -0400 (EDT)

 > - dr_mode: tells Dual-Role USB controllers that we want to work on a
 > particular mode. Valid arguments are "host", "peripheral" and "otg". In
 > case this attribute isn't passed via DT, USB DRD controllers should
 > default to OTG.
 
 Patch revised per your comments attached below.
 
 -- John
 --------------------8<------------------------8<-------------------------
 Index: sys/dev/usb/controller/dwc_otg_fdt.c
 ===================================================================
 --- sys/dev/usb/controller/dwc_otg_fdt.c	(revision 264251)
 +++ sys/dev/usb/controller/dwc_otg_fdt.c	(working copy)
 @@ -91,9 +91,27 @@
  dwc_otg_attach(device_t dev)
  {
  	struct dwc_otg_super_softc *sc = device_get_softc(dev);
 +	pcell_t *prop;
 +	phandle_t node;
 +	ssize_t len;
  	int err;
  	int rid;
  
 +	node = ofw_bus_get_node(dev);
 +	len = OF_getprop_alloc(node, "dr_mode", sizeof(char), (void **)&prop);
 +	if (len >= 0) {
 +		if (strcmp((char *)prop, "host") == 0)
 +			sc->sc_otg.sc_mode = DWC_MODE_HOST;
 +		else if (strcmp((char *)prop, "peripheral") == 0)
 +			sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
 +		else if (strcmp((char *)prop, "otg") == 0)
 +			;
 +		else
 +			device_printf(dev,
 +			  "ignoring unknown value for dr_mode attribute in FDT\n");
 +	}
 +	free(prop, M_OFWPROP);
 +
  	/* initialise some bus fields */
  	sc->sc_otg.sc_bus.parent = dev;
  	sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
 Index: sys/dev/usb/controller/dwc_otg.c
 ===================================================================
 --- sys/dev/usb/controller/dwc_otg.c	(revision 264251)
 +++ sys/dev/usb/controller/dwc_otg.c	(working copy)
 @@ -2332,7 +2332,7 @@
  
  		DPRINTFN(5, "GOTGCTL=0x%08x\n", temp);
  
 -		dwc_otg_vbus_interrupt(sc,
 +		dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
  		    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
  	}
  
 @@ -3182,7 +3182,7 @@
  	    sc->sc_host_ch_max);
  
  	/* setup FIFO */
 -	if (dwc_otg_init_fifo(sc, DWC_MODE_OTG))
 +	if (dwc_otg_init_fifo(sc, sc->sc_mode))
  		return (EINVAL);
  
  	/* enable interrupts */
 @@ -3233,7 +3233,7 @@
  
  	DPRINTFN(5, "GOTCTL=0x%08x\n", temp);
  
 -	dwc_otg_vbus_interrupt(sc,
 +	dwc_otg_vbus_interrupt(sc, (sc->sc_mode == DWC_MODE_HOST) ? 1 :
  	    (temp & (GOTGCTL_ASESVLD | GOTGCTL_BSESVLD)) ? 1 : 0);
  
  	USB_BUS_UNLOCK(&sc->sc_bus);
 -------------------------------------------------------------------------
 |   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
 |    John Wehle    |     Fax: 1-215-540-5495  |                         |
 -------------------------------------------------------------------------
 

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 18 08:40:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3EADDD4D
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Fri, 18 Apr 2014 08:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2C70D14FA
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Fri, 18 Apr 2014 08:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3I8e1ih059662
 for <freebsd-usb@freefall.freebsd.org>; Fri, 18 Apr 2014 08:40:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3I8e13X059661;
 Fri, 18 Apr 2014 08:40:01 GMT (envelope-from gnats)
Date: Fri, 18 Apr 2014 08:40:01 GMT
Message-Id: <201404180840.s3I8e13X059661@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/188683: commit references a PR
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dfilter service <dfilter@FreeBSD.ORG>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Apr 2014 08:40:01 -0000

The following reply was made to PR usb/188683; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/188683: commit references a PR
Date: Fri, 18 Apr 2014 08:32:00 +0000 (UTC)

 Author: hselasky
 Date: Fri Apr 18 08:31:55 2014
 New Revision: 264642
 URL: http://svnweb.freebsd.org/changeset/base/264642
 
 Log:
   Add support for specifying USB controller mode via FDT.
   Add FDT support to the DWC OTG kernel module.
   
   Submitted by:	John Wehle <john@feith.com>
   PR:		usb/188683
   MFC after:	1 week
 
 Modified:
   head/sys/dev/usb/controller/dwc_otg.c
   head/sys/dev/usb/controller/dwc_otg_fdt.c
   head/sys/modules/usb/dwc_otg/Makefile
 
 Modified: head/sys/dev/usb/controller/dwc_otg.c
 ==============================================================================
 --- head/sys/dev/usb/controller/dwc_otg.c	Fri Apr 18 07:50:25 2014	(r264641)
 +++ head/sys/dev/usb/controller/dwc_otg.c	Fri Apr 18 08:31:55 2014	(r264642)
 @@ -2149,7 +2149,12 @@ dwc_otg_vbus_interrupt(struct dwc_otg_so
  {
  	DPRINTFN(5, "vbus = %u\n", is_on);
  
 -	if (is_on) {
 +	/*
 +	 * If the USB host mode is forced, then assume VBUS is always
 +	 * present else rely on the input to this function:
 +	 */
 +	if ((is_on != 0) || (sc->sc_mode == DWC_MODE_HOST)) {
 +
  		if (!sc->sc_flags.status_vbus) {
  			sc->sc_flags.status_vbus = 1;
  
 @@ -3182,7 +3187,7 @@ dwc_otg_init(struct dwc_otg_softc *sc)
  	    sc->sc_host_ch_max);
  
  	/* setup FIFO */
 -	if (dwc_otg_init_fifo(sc, DWC_MODE_OTG))
 +	if (dwc_otg_init_fifo(sc, sc->sc_mode))
  		return (EINVAL);
  
  	/* enable interrupts */
 
 Modified: head/sys/dev/usb/controller/dwc_otg_fdt.c
 ==============================================================================
 --- head/sys/dev/usb/controller/dwc_otg_fdt.c	Fri Apr 18 07:50:25 2014	(r264641)
 +++ head/sys/dev/usb/controller/dwc_otg_fdt.c	Fri Apr 18 08:31:55 2014	(r264642)
 @@ -91,6 +91,7 @@ static int
  dwc_otg_attach(device_t dev)
  {
  	struct dwc_otg_super_softc *sc = device_get_softc(dev);
 +	char usb_mode[24];
  	int err;
  	int rid;
  
 @@ -99,6 +100,23 @@ dwc_otg_attach(device_t dev)
  	sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices;
  	sc->sc_otg.sc_bus.devices_max = DWC_OTG_MAX_DEVICES;
  
 +	/* get USB mode, if any */
 +	if (OF_getprop(ofw_bus_get_node(dev), "dr_mode",
 +	    &usb_mode, sizeof(usb_mode)) > 0) {
 +
 +		/* ensure proper zero termination */
 +		usb_mode[sizeof(usb_mode) - 1] = 0;
 +
 +		if (strcasecmp(usb_mode, "host") == 0)
 +			sc->sc_otg.sc_mode = DWC_MODE_HOST;
 +		else if (strcasecmp(usb_mode, "peripheral") == 0)
 +			sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
 +		else if (strcasecmp(usb_mode, "otg") != 0) {
 +			device_printf(dev, "Invalid FDT dr_mode: %s\n",
 +			    usb_mode);
 +		}
 +	}
 +
  	/* get all DMA memory */
  	if (usb_bus_mem_alloc_all(&sc->sc_otg.sc_bus,
  	    USB_GET_DMA_TAG(dev), NULL)) {
 
 Modified: head/sys/modules/usb/dwc_otg/Makefile
 ==============================================================================
 --- head/sys/modules/usb/dwc_otg/Makefile	Fri Apr 18 07:50:25 2014	(r264641)
 +++ head/sys/modules/usb/dwc_otg/Makefile	Fri Apr 18 08:31:55 2014	(r264642)
 @@ -31,8 +31,8 @@ S=	${.CURDIR}/../../..
  
  KMOD=	dwc_otg
  SRCS=	bus_if.h device_if.h usb_if.h \
 -	opt_bus.h opt_usb.h \
 -	dwc_otg.c \
 +	opt_bus.h opt_usb.h ofw_bus_if.h \
 +	dwc_otg.c dwc_otg_fdt.c \
  	pci_if.h
  
  .if defined(HAS_ATMELARM)
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 18 20:50:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3C33C6C3
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Fri, 18 Apr 2014 20:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2A1251D17
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Fri, 18 Apr 2014 20:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3IKo0RE088688
 for <freebsd-usb@freefall.freebsd.org>; Fri, 18 Apr 2014 20:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3IKo07d088687;
 Fri, 18 Apr 2014 20:50:00 GMT (envelope-from gnats)
Date: Fri, 18 Apr 2014 20:50:00 GMT
Message-Id: <201404182050.s3IKo07d088687@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Mark Linimon <linimon@lonesome.com>
Subject: Re: usb/172931: [ums] Suspend/resume blocks USB mouse
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Mark Linimon <linimon@lonesome.com>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Apr 2014 20:50:01 -0000

The following reply was made to PR usb/172931; it has been noted by GNATS.

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/172931: [ums] Suspend/resume blocks USB mouse
Date: Fri, 18 Apr 2014 15:45:09 -0500

 ----- Forwarded message from Hans Petter Selasky <hps@selasky.org> -----
 
 Date: Fri, 18 Apr 2014 13:22:23 +0200
 From: Hans Petter Selasky <hps@selasky.org>
 To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org
 Subject: Re: usb/172931: [ums] Suspend/resume blocks USB mouse
 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
 
 Hi,
 
 Can you try upgrading to 9-stable and see if there is any difference?
 
 --HPS
 
 ----- End forwarded message -----

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 00:31:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 27A1714C;
 Sun, 20 Apr 2014 00:31:31 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id F0E41127E;
 Sun, 20 Apr 2014 00:31:30 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K0VUV6062971;
 Sun, 20 Apr 2014 00:31:30 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K0VUrt062970;
 Sun, 20 Apr 2014 00:31:30 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 00:31:30 GMT
Message-Id: <201404200031.s3K0VUrt062970@freefall.freebsd.org>
To: john@feith.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org,
 hselasky@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/188683: [usb] [patch] dwc_otg FDT support for specifying usb
 controller mode
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 00:31:31 -0000

Old Synopsis: dwc_otg FDT support for specifying usb controller mode
New Synopsis: [usb] [patch] dwc_otg FDT support for specifying usb controller mode

State-Changed-From-To: open->patched
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 00:30:15 UTC 2014
State-Changed-Why: 
over to committer as MFC reminder.


Responsible-Changed-From-To: freebsd-usb->hselasky
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Apr 20 00:30:15 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188683

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 00:55:10 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 82A5C3DC;
 Sun, 20 Apr 2014 00:55:10 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 56BA413DB;
 Sun, 20 Apr 2014 00:55:10 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K0tApt069234;
 Sun, 20 Apr 2014 00:55:10 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K0tA0J069231;
 Sun, 20 Apr 2014 00:55:10 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 00:55:10 GMT
Message-Id: <201404200055.s3K0tA0J069231@freefall.freebsd.org>
To: windyboy@gmail.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/188119: [ukbd] problems with multiple keyboards
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 00:55:10 -0000

Old Synopsis: multiple keybard
New Synopsis: [ukbd] problems with multiple keyboards

State-Changed-From-To: open->feedback
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 00:54:16 UTC 2014
State-Changed-Why: 
note that feedback has been requested.

http://www.freebsd.org/cgi/query-pr.cgi?pr=188119

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 01:59:58 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BC0FAE4;
 Sun, 20 Apr 2014 01:59:58 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8DCEB188C;
 Sun, 20 Apr 2014 01:59:58 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K1xwgW090670;
 Sun, 20 Apr 2014 01:59:58 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K1xvbn090669;
 Sun, 20 Apr 2014 01:59:57 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 01:59:57 GMT
Message-Id: <201404200159.s3K1xvbn090669@freefall.freebsd.org>
To: av@ural.org, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, hrs@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/182820: [usbus] [panic] usbusX if destroy page fault panic
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 01:59:58 -0000

Old Synopsis: usbusX if destroy page fault panic
New Synopsis: [usbus] [panic] usbusX if destroy page fault panic

State-Changed-From-To: open->patched
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 01:58:55 UTC 2014
State-Changed-Why: 
over to committer for possible MFC.


Responsible-Changed-From-To: freebsd-usb->hrs
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Apr 20 01:58:55 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182820

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 02:26:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0886F8A3;
 Sun, 20 Apr 2014 02:26:31 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D03FD1AB9;
 Sun, 20 Apr 2014 02:26:30 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K2QU1A001532;
 Sun, 20 Apr 2014 02:26:30 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K2QTn6001531;
 Sun, 20 Apr 2014 02:26:29 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 02:26:29 GMT
Message-Id: <201404200226.s3K2QTn6001531@freefall.freebsd.org>
To: cederom@tlen.pl, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org,
 freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/186622: [panic] FreeBSD 10.0 AMD64 kernel panic in
 ifmedia_set() / usb / ethernet / vulnerability / remote
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 02:26:31 -0000

Old Synopsis: FreeBSD 10.0 AMD64 kernel panic in ifmedia_set() / usb / ethernet / vulnerability / remote
New Synopsis: [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set() / usb / ethernet / vulnerability / remote

State-Changed-From-To: open->open
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 01:48:45 UTC 2014
State-Changed-Why: 
reclassify.


Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Apr 20 01:48:45 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186622

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 02:56:08 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 16A2FFB1;
 Sun, 20 Apr 2014 02:56:08 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DCCE01CF5;
 Sun, 20 Apr 2014 02:56:07 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K2u7df012510;
 Sun, 20 Apr 2014 02:56:07 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K2u7kI012509;
 Sun, 20 Apr 2014 02:56:07 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 02:56:07 GMT
Message-Id: <201404200256.s3K2u7kI012509@freefall.freebsd.org>
To: freebsd-prs@brettglass.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, 
 hselasky@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/160299: MicroSDHC-to-USB adapters do not work in FreeBSD 8.x
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 02:56:08 -0000

Synopsis: MicroSDHC-to-USB adapters do not work in FreeBSD 8.x

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 02:55:21 UTC 2014
State-Changed-Why: 
committed and MFCed.


Responsible-Changed-From-To: freebsd-usb->hselasky
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Apr 20 02:55:21 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160299

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 03:21:46 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 25E8B6B2;
 Sun, 20 Apr 2014 03:21:46 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EF2A4115F;
 Sun, 20 Apr 2014 03:21:45 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3K3Lj19023298;
 Sun, 20 Apr 2014 03:21:45 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3K3LjwQ023297;
 Sun, 20 Apr 2014 03:21:45 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 03:21:45 GMT
Message-Id: <201404200321.s3K3LjwQ023297@freefall.freebsd.org>
To: derbandn@yahoo.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/185968: PocketBook Pro 912 USB connection problem
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 03:21:46 -0000

Synopsis: PocketBook Pro 912 USB connection problem

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Sun Apr 20 03:21:22 UTC 2014
State-Changed-Why: 
already committed and MFCed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=185968

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 10:54:46 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 674DAF5F
 for <freebsd-usb@freebsd.org>; Sun, 20 Apr 2014 10:54:46 +0000 (UTC)
Received: from mail-yk0-f176.google.com (mail-yk0-f176.google.com
 [209.85.160.176])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 29DD21322
 for <freebsd-usb@freebsd.org>; Sun, 20 Apr 2014 10:54:45 +0000 (UTC)
Received: by mail-yk0-f176.google.com with SMTP id 19so2632499ykq.35
 for <freebsd-usb@freebsd.org>; Sun, 20 Apr 2014 03:54:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=3lvgD/1iERwEa+MpofZdC3E8/AwArEpEaBPQUI8gJcE=;
 b=Hw5o1ijNR6xGnxVk2Wbkf0r4JRKDkQj9M+jXA4/BPfJLFqVbhCM7AfWXAYq9u53F69
 IKGP/+wK36C0Te+nk/bEtAxMF8A60it//yRBlWhW18zVsdYeU/M45UY462hrQqz11g/7
 KrnJlmPce922qNTy+xYIWxWzBOOotWnOKSq6TLs2r+AhmoDotlMBmz0Wa06Nnsz1pOTn
 3Izvx3GDOxLYUKpyowye3+yYty611aFuCOJ4WLrfc7ViaTcnkw9cEZqK0lnZ7LqQGIcK
 7twrxEQWGkimud3OqtNMQKcpqukPc1bziHzbT4mUGbHVdANBEsijQGYaL1VsNS2mXPD8
 6Fqg==
X-Gm-Message-State: ALoCoQn0zrKTSpc3+Xg3CV3unKKunoRbZBxLvrX7eBN8kspTqD9a635EYbH50Y107R/HzVHtpp43
MIME-Version: 1.0
X-Received: by 10.236.142.204 with SMTP id i52mr43579978yhj.6.1397991278868;
 Sun, 20 Apr 2014 03:54:38 -0700 (PDT)
Received: by 10.170.159.212 with HTTP; Sun, 20 Apr 2014 03:54:38 -0700 (PDT)
X-Originating-IP: [67.10.123.128]
Date: Sun, 20 Apr 2014 05:54:38 -0500
Message-ID: <CALCz5MHdpxmkBE23-Vj+ZLfzTaZZT6FpKW7jJT_NZbiqDQ+Bzg@mail.gmail.com>
Subject: LBA Error on 128GB Flash Drive
From: Wes Morgan <morganw@chemikals.org>
To: freebsd-usb@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 10:54:46 -0000

I've got an ADATA 128gb USB3 flash drive (
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211819) that is
giving me LBA errors. It appears that the drive is being mis-identified and
reporting the wrong number of sectors. Camcontrol says the last block
is 246960127, which I believe to be correct because any attempt to write to
a block after that fails. However, the kernel thinks that the device
has 247484416 sectors and pretty much everything fails to use the device
properly because partition tables and filesystems like to store things at
the end of devices. This is the second one of these I've had and both have
the same error. My laptop is fairly old and USB2 only, but I've got some
newer machines with USB3 ports and they have the same problem. Attaching
the drive to a Linux machine reports the correct number of blocks.

All my FreeBSD machines are running 10-stable.

Camcontrol output:
[morganw@mercury:~$]: camcontrol readcap da0
Last Block: 246960127, Block Length: 512 bytes

dmesg output:
ugen0.5: <ADATA> at usbus0
umass0: <ADATA ADATA USB Flash Drive, class 0/0, rev 2.10/10.75, addr 5> on
usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:4:0:-1: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
da0: <ADATA USB Flash Drive 1.00> Removable Direct Access SCSI-6 device
da0: Serial Number 1411216542340002
da0: 40.000MB/s transfers
da0: 120842MB (247484416 512 byte sectors: 255H 63S/T 15405C)
da0: quirks=0x2<NO_6_BYTE>
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block
address out of range)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block
address out of range)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 0e c0 4f ff 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block
address out of range)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error


Linux output:

[662425.835482] usb 4-4: new SuperSpeed USB device number 2 using xhci_hcd
[662425.851796] usb 4-4: New USB device found, idVendor=125f, idProduct=de7a
[662425.851802] usb 4-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[662425.851814] usb 4-4: Product: ADATA USB Flash Drive
[662425.851815] usb 4-4: Manufacturer: ADATA
[662425.851816] usb 4-4: SerialNumber: 1411216542340002
[662425.857974] usb-storage 4-4:1.0: USB Mass Storage device detected
[662425.858093] scsi6 : usb-storage 4-4:1.0
[662425.858723] usbcore: registered new interface driver usb-storage
[662426.856074] scsi 6:0:0:0: Direct-Access     ADATA    USB Flash Drive
 1.00 PQ: 0 ANSI: 6
[662426.856267] sd 6:0:0:0: Attached scsi generic sg1 type 0
[662426.856513] sd 6:0:0:0: [sdb] 246960128 512-byte logical blocks: (126
GB/117 GiB)
[662426.857069] sd 6:0:0:0: [sdb] Write Protect is off
[662426.857073] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[662426.857543] sd 6:0:0:0: [sdb] Write cache: disabled, read cache:
disabled, doesn't support DPO or FUA
[662426.860162]  sdb: sdb1
[662426.860889] sd 6:0:0:0: [sdb] Attached SCSI removable disk

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 13:44:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CC11397B
 for <freebsd-usb@freebsd.org>; Sun, 20 Apr 2014 13:44:33 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8F79D110A
 for <freebsd-usb@freebsd.org>; Sun, 20 Apr 2014 13:44:33 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 6584B1FE029;
 Sun, 20 Apr 2014 15:44:32 +0200 (CEST)
Message-ID: <5353CF78.1080406@selasky.org>
Date: Sun, 20 Apr 2014 15:45:28 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Wes Morgan <morganw@chemikals.org>, freebsd-usb@freebsd.org
Subject: Re: LBA Error on 128GB Flash Drive
References: <CALCz5MHdpxmkBE23-Vj+ZLfzTaZZT6FpKW7jJT_NZbiqDQ+Bzg@mail.gmail.com>
In-Reply-To: <CALCz5MHdpxmkBE23-Vj+ZLfzTaZZT6FpKW7jJT_NZbiqDQ+Bzg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 13:44:33 -0000

On 04/20/14 12:54, Wes Morgan wrote:
> I've got an ADATA 128gb USB3 flash drive (
> http://www.newegg.com/Product/Product.aspx?Item=N82E16820211819) that is
> giving me LBA errors. It appears that the drive is being mis-identified and
> reporting the wrong number of sectors. Camcontrol says the last block
> is 246960127, which I believe to be correct because any attempt to write to
> a block after that fails. However, the kernel thinks that the device
> has 247484416 sectors and pretty much everything fails to use the device
> properly because partition tables and filesystems like to store things at
> the end of devices. This is the second one of these I've had and both have
> the same error. My laptop is fairly old and USB2 only, but I've got some
> newer machines with USB3 ports and they have the same problem. Attaching
> the drive to a Linux machine reports the correct number of blocks.
>
> All my FreeBSD machines are running 10-stable.
>
> Camcontrol output:
> [morganw@mercury:~$]: camcontrol readcap da0
> Last Block: 246960127, Block Length: 512 bytes

Does the device have a bad disk label ?

gpart show da0

vs

diskinfo da0


--HPS


From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 16:10:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1899C3D2
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 20 Apr 2014 16:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CEF8F1B6D
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 20 Apr 2014 16:10:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KGA0j6091333
 for <freebsd-usb@freefall.freebsd.org>; Sun, 20 Apr 2014 16:10:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3KGA0g7091332;
 Sun, 20 Apr 2014 16:10:00 GMT (envelope-from gnats)
Resent-Date: Sun, 20 Apr 2014 16:10:00 GMT
Resent-Message-Id: <201404201610.s3KGA0g7091332@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,
 Roberto de Iriarte <rdeiriar@spock.cl>
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 04D13132
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2014 16:01:16 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E5B451B18
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2014 16:01:15 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KG1FWK015100
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Apr 2014 16:01:15 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3KG1F5l015095;
 Sun, 20 Apr 2014 16:01:15 GMT (envelope-from nobody)
Message-Id: <201404201601.s3KG1F5l015095@cgiserv.freebsd.org>
Date: Sun, 20 Apr 2014 16:01:15 GMT
From: Roberto de Iriarte <rdeiriar@spock.cl>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/188829: atp fails on Macbook Pro 4.1
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 16:10:01 -0000


>Number:         188829
>Category:       usb
>Synopsis:       atp fails on Macbook Pro 4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 16:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Roberto de Iriarte
>Release:        10.0-STABLE
>Organization:
De Iriarte
>Environment:
FreeBSD mbp 10.0-STABLE FreeBSD 10.0-STABLE #13 r264692M: Sun Apr 20 12:14:28 CLST 2014     root@mbp:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
On my Macbook Pro 4.1, after upgrading from 10.0-RELEASE to 10.0-STABLE, the atp touchpad driver becomes unresponsive after a few minutes under high I/O load, until it stalls completely. The device never unstalls, regardless of system load. 

Closing and opening /dev/atp0 (i.e. restarting moused) restores responsiveness for a couple of minutes, then it fails in the same manner.

Reverting back /usr/src/sys/dev/usb/input/atp.c from rev. 263063 to rev. 233774 (as shipped with FreeBSD 10.0-RELEASE) solves the problem completely on my machine.

Unfortunately, i am not versed in the workings of the atp driver in order to debug the new driver any further.
>How-To-Repeat:
Use the trackpad under high I/O load
>Fix:
Hack: Revert back to /usr/src/sys/dev/usb/input/atp.c as shipped with 10.0-RELEASE (r. 233774)

>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 16:40:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 02C848B7
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 20 Apr 2014 16:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CBAC81D7F
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 20 Apr 2014 16:40:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KGe1Rv001286
 for <freebsd-usb@freefall.freebsd.org>; Sun, 20 Apr 2014 16:40:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3KGe16g001284;
 Sun, 20 Apr 2014 16:40:01 GMT (envelope-from gnats)
Date: Sun, 20 Apr 2014 16:40:01 GMT
Message-Id: <201404201640.s3KGe16g001284@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Hans Petter Selasky <hps@selasky.org>
Subject: Re: usb/188829: atp fails on Macbook Pro 4.1
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hans Petter Selasky <hps@selasky.org>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 16:40:02 -0000

The following reply was made to PR usb/188829; it has been noted by GNATS.

From: Hans Petter Selasky <hps@selasky.org>
To: Roberto de Iriarte <rdeiriar@spock.cl>, 
 freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188829: atp fails on Macbook Pro 4.1
Date: Sun, 20 Apr 2014 18:35:27 +0200

 On 04/20/14 18:01, Roberto de Iriarte wrote:
 >
 >> Number:         188829
 >> Category:       usb
 >> Synopsis:       atp fails on Macbook Pro 4.1
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-usb
 >> State:          open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:          sw-bug
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Sun Apr 20 16:10:00 UTC 2014
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Roberto de Iriarte
 >> Release:        10.0-STABLE
 >> Organization:
 > De Iriarte
 >> Environment:
 > FreeBSD mbp 10.0-STABLE FreeBSD 10.0-STABLE #13 r264692M: Sun Apr 20 12:14:28 CLST 2014     root@mbp:/usr/obj/usr/src/sys/GENERIC  amd64
 >> Description:
 > On my Macbook Pro 4.1, after upgrading from 10.0-RELEASE to 10.0-STABLE, the atp touchpad driver becomes unresponsive after a few minutes under high I/O load, until it stalls completely. The device never unstalls, regardless of system load.
 >
 > Closing and opening /dev/atp0 (i.e. restarting moused) restores responsiveness for a couple of minutes, then it fails in the same manner.
 >
 > Reverting back /usr/src/sys/dev/usb/input/atp.c from rev. 263063 to rev. 233774 (as shipped with FreeBSD 10.0-RELEASE) solves the problem completely on my machine.
 >
 > Unfortunately, i am not versed in the workings of the atp driver in order to debug the new driver any further.
 >> How-To-Repeat:
 > Use the trackpad under high I/O load
 >> Fix:
 > Hack: Revert back to /usr/src/sys/dev/usb/input/atp.c as shipped with 10.0-RELEASE (r. 233774)
 >
 >> Release-Note:
 >> Audit-Trail:
 >> Unformatted:
 > _______________________________________________
 
 Hi,
 
 Can you send output from:
 
 usbconfig dump_device_desc
 
 which is relevant for your device.
 
 What happens if you add to /boot/loader.conf
 
 wsp_load=YES
 
 And re-boot?
 
 --HPS
 

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 20 21:53:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8DE4F7E6;
 Sun, 20 Apr 2014 21:53:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 60DFB1851;
 Sun, 20 Apr 2014 21:53:54 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KLrs0J000304;
 Sun, 20 Apr 2014 21:53:54 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3KLrsfY000303;
 Sun, 20 Apr 2014 21:53:54 GMT (envelope-from linimon)
Date: Sun, 20 Apr 2014 21:53:54 GMT
Message-Id: <201404202153.s3KLrsfY000303@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/184918: [ural] regression on WEP
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Apr 2014 21:53:54 -0000

Old Synopsis: regression on WEP
New Synopsis: [ural] regression on WEP

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Apr 20 21:52:57 UTC 2014
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=184918

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 21 11:06:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A562B191
 for <freebsd-usb@FreeBSD.org>; Mon, 21 Apr 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 880C3197B
 for <freebsd-usb@FreeBSD.org>; Mon, 21 Apr 2014 11:06:55 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LB6tEw085883
 for <freebsd-usb@FreeBSD.org>; Mon, 21 Apr 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3LB6tB5085881
 for freebsd-usb@FreeBSD.org; Mon, 21 Apr 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 21 Apr 2014 11:06:55 GMT
Message-Id: <201404211106.s3LB6tB5085881@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Apr 2014 11:06:55 -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/188829   usb        atp fails on Macbook Pro 4.1
o usb/188403   usb        USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184918   usb        [ural] regression on WEP
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [panic] Suspend when using USB disc as root causes ker
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

333 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 21 12:50:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 63FA9C3
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 21 Apr 2014 12:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4FD86143B
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 21 Apr 2014 12:50:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LCo0pT020908
 for <freebsd-usb@freefall.freebsd.org>; Mon, 21 Apr 2014 12:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3LCo06m020893;
 Mon, 21 Apr 2014 12:50:00 GMT (envelope-from gnats)
Date: Mon, 21 Apr 2014 12:50:00 GMT
Message-Id: <201404211250.s3LCo06m020893@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Sean Bruno <sbruno@ignoranthack.me>
Subject: Re: usb/184918: [ural] regression on WEP
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Sean Bruno <sbruno@ignoranthack.me>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Apr 2014 12:50:01 -0000

The following reply was made to PR usb/184918; it has been noted by GNATS.

From: Sean Bruno <sbruno@ignoranthack.me>
To: bug-followup@FreeBSD.org, takawata@init-main.com
Cc:  
Subject: Re: usb/184918: [ural] regression on WEP
Date: Mon, 21 Apr 2014 05:45:24 -0700

 --=-7AgUgKdCaOk69Nh0uQGa
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D264390
 
 This was found and fixed a few days ago in stable/10 ... try updating to
 stable/10.
 
 sean
 
 --=-7AgUgKdCaOk69Nh0uQGa
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJTVRLkAAoJEBkJRdwI6BaH2LIH/ihUvTkHcpw4OZcj9ejA+OB+
 f4E61ahhKxG524RdPHB4qZ1b9ZCFIWuMhCfNGHI1Eq9VneyJ6BrBz+gSwYlZVn7n
 DoQ2ZjO05/xRGYRfBlob6eW2OoZKbJMgW1yFsAMODKAoqPXTV8xv+REnOrVBbdmb
 wmz9pkC75DAtl0BQi3fH04RrqZL0R9HwpWVzpBAPPiny9MXjA15rg3Zfy1bXvKdV
 6jA2NOmU7fTZ6I4WIW1/Mp0qlLcQQy5hYmSXNzKYZ8qdeRPx8x4JwMAfdno3Bq3/
 rrpLeoXJHBia01ZO/I7HLxemdWuJyozQGL1q2n884E70lxB29AahJgOcSHUlmB8=
 =b7Jq
 -----END PGP SIGNATURE-----
 
 --=-7AgUgKdCaOk69Nh0uQGa--
 

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 21 13:12:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F1687429;
 Mon, 21 Apr 2014 13:12:19 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C688F166B;
 Mon, 21 Apr 2014 13:12:19 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LDCJjQ029547;
 Mon, 21 Apr 2014 13:12:19 GMT
 (envelope-from sbruno@freefall.freebsd.org)
Received: (from sbruno@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3LDCIDb029546;
 Mon, 21 Apr 2014 13:12:18 GMT (envelope-from sbruno)
Date: Mon, 21 Apr 2014 13:12:18 GMT
Message-Id: <201404211312.s3LDCIDb029546@freefall.freebsd.org>
To: takawata@init-main.com, sbruno@FreeBSD.org, freebsd-usb@FreeBSD.org,
 freebsd-wireless@FreeBSD.org
From: sbruno@FreeBSD.org
Subject: Re: usb/184918: [ural] regression on WEP
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Apr 2014 13:12:20 -0000

Synopsis: [ural] regression on WEP

State-Changed-From-To: open->feedback
State-Changed-By: sbruno
State-Changed-When: Mon Apr 21 13:11:36 UTC 2014
State-Changed-Why: 



Responsible-Changed-From-To: freebsd-usb->freebsd-wireless
Responsible-Changed-By: sbruno
Responsible-Changed-When: Mon Apr 21 13:11:36 UTC 2014
Responsible-Changed-Why: 
Update and moved to wireless as that's who fixed this

http://www.freebsd.org/cgi/query-pr.cgi?pr=184918

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 21 15:30:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B04D823A
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 21 Apr 2014 15:30:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 916981341
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 21 Apr 2014 15:30:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LFU1YB071670
 for <freebsd-usb@freefall.freebsd.org>; Mon, 21 Apr 2014 15:30:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3LFU1B0071669;
 Mon, 21 Apr 2014 15:30:01 GMT (envelope-from gnats)
Date: Mon, 21 Apr 2014 15:30:01 GMT
Message-Id: <201404211530.s3LFU1B0071669@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: Roberto de Iriarte <rdeiriar@spock.cl>
Subject: Re: usb/188829: atp fails on Macbook Pro 4.1
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Roberto de Iriarte <rdeiriar@spock.cl>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Apr 2014 15:30:01 -0000

The following reply was made to PR usb/188829; it has been noted by GNATS.

From: Roberto de Iriarte <rdeiriar@spock.cl>
To: Hans Petter Selasky <hps@selasky.org>,
  freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: usb/188829: atp fails on Macbook Pro 4.1
Date: Mon, 21 Apr 2014 12:15:10 -0300

 On 04/20/14 13:35, Hans Petter Selasky wrote:
 > On 04/20/14 18:01, Roberto de Iriarte wrote:
 >>
 >>> Number:         188829
 >>> Category:       usb
 >>> Synopsis:       atp fails on Macbook Pro 4.1
 >>> Confidential:   no
 >>> Severity:       non-critical
 >>> Priority:       low
 >>> Responsible:    freebsd-usb
 >>> State:          open
 >>> Quarter:
 >>> Keywords:
 >>> Date-Required:
 >>> Class:          sw-bug
 >>> Submitter-Id:   current-users
 >>> Arrival-Date:   Sun Apr 20 16:10:00 UTC 2014
 >>> Closed-Date:
 >>> Last-Modified:
 >>> Originator:     Roberto de Iriarte
 >>> Release:        10.0-STABLE
 >>> Organization:
 >> De Iriarte
 >>> Environment:
 >> FreeBSD mbp 10.0-STABLE FreeBSD 10.0-STABLE #13 r264692M: Sun Apr 20
 >> 12:14:28 CLST 2014     root@mbp:/usr/obj/usr/src/sys/GENERIC  amd64
 >>> Description:
 >> On my Macbook Pro 4.1, after upgrading from 10.0-RELEASE to
 >> 10.0-STABLE, the atp touchpad driver becomes unresponsive after a few
 >> minutes under high I/O load, until it stalls completely. The device
 >> never unstalls, regardless of system load.
 >>
 >> Closing and opening /dev/atp0 (i.e. restarting moused) restores
 >> responsiveness for a couple of minutes, then it fails in the same
 >> manner.
 >>
 >> Reverting back /usr/src/sys/dev/usb/input/atp.c from rev. 263063 to
 >> rev. 233774 (as shipped with FreeBSD 10.0-RELEASE) solves the problem
 >> completely on my machine.
 >>
 >> Unfortunately, i am not versed in the workings of the atp driver in
 >> order to debug the new driver any further.
 >>> How-To-Repeat:
 >> Use the trackpad under high I/O load
 >>> Fix:
 >> Hack: Revert back to /usr/src/sys/dev/usb/input/atp.c as shipped with
 >> 10.0-RELEASE (r. 233774)
 >>
 >>> Release-Note:
 >>> Audit-Trail:
 >>> Unformatted:
 >> _______________________________________________
 >
 > Hi,
 >
 > Can you send output from:
 >
 > usbconfig dump_device_desc
 >
 > which is relevant for your device.
 >
 The relevant device is
 
 ugen5.3: <Apple Internal Keyboard  Trackpad Apple Computer> at usbus5,
 cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (40mA)
 
   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x0000
   bDeviceSubClass = 0x0000
   bDeviceProtocol = 0x0000
   bMaxPacketSize0 = 0x0008
   idVendor = 0x05ac
   idProduct = 0x021a
   bcdDevice = 0x0018
   iManufacturer = 0x0001  <Apple Computer>
   iProduct = 0x0002  <Apple Internal Keyboard / Trackpad>
   iSerialNumber = 0x0000  <no string>
   bNumConfigurations = 0x0001
 
 
 > What happens if you add to /boot/loader.conf
 >
 > wsp_load=YES
 >
 > And re-boot?
 >
 > --HPS
 >
 I tried the following configurations on /boot/loader.conf
 
 atp_load=YES
 wsp_load=YES
 
 Same effect as with atp_load only, device gets dected as atp0, fails as
 described
 
 wsp_load=YES only
 
 Device gets detected as usm0, using the ums driver, it works but no
 touchpad features are recognized)
 
 Thanks a lot!
 Roberto
 
 

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr 22 05:50:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CC221234
 for <freebsd-usb@FreeBSD.org>; Tue, 22 Apr 2014 05:50:00 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8F6E6161C
 for <freebsd-usb@FreeBSD.org>; Tue, 22 Apr 2014 05:50:00 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 4CA061FE029;
 Tue, 22 Apr 2014 07:49:57 +0200 (CEST)
Message-ID: <5356033D.9050702@selasky.org>
Date: Tue, 22 Apr 2014 07:50:53 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Roberto de Iriarte <rdeiriar@spock.cl>, freebsd-usb@FreeBSD.org
Subject: Re: usb/188829: atp fails on Macbook Pro 4.1
References: <201404211530.s3LFU1B0071669@freefall.freebsd.org>
In-Reply-To: <201404211530.s3LFU1B0071669@freefall.freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Apr 2014 05:50:00 -0000

On 04/21/14 17:30, Roberto de Iriarte wrote:
> The following reply was made to PR usb/188829; it has been noted by GNATS.
>
> From: Roberto de Iriarte <rdeiriar@spock.cl>
> To: Hans Petter Selasky <hps@selasky.org>,
>    freebsd-gnats-submit@FreeBSD.org
> Cc:


Can you run:

usbdump -i usbus5 -f 3 -s 65536 -vvv

Until the touchpad stops responding, and send the resulting output to me 
off-list.

Look for ERR not equal to "0".

--HPS



From owner-freebsd-usb@FreeBSD.ORG  Tue Apr 22 22:06:25 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7913B1F8
 for <freebsd-usb@freebsd.org>; Tue, 22 Apr 2014 22:06:25 +0000 (UTC)
Received: from oms-dd03.mx.aol.com (oms-dd03.mx.aol.com [205.188.169.23])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 37FBD1368
 for <freebsd-usb@freebsd.org>; Tue, 22 Apr 2014 22:06:25 +0000 (UTC)
Received: from mtaout-mac01.mx.aol.com (mtaout-mac01.mx.aol.com
 [172.26.222.205])
 by oms-dd03.mx.aol.com (AOL Outbound OMS Interface) with ESMTP id
 9324538001C8C
 for <freebsd-usb@freebsd.org>; Tue, 22 Apr 2014 18:06:16 -0400 (EDT)
Received: from IFECH (unknown [41.71.184.212])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mtaout-mac01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 20B69380000A4
 for <freebsd-usb@freebsd.org>; Tue, 22 Apr 2014 18:06:14 -0400 (EDT)
From: "Zbynek Koala" <zbynek.koala@aol.com>
Subject: New Purchase Inquiry....
To: freebsd-usb@freebsd.org
MIME-Version: 1.0
Date: Tue, 22 Apr 2014 23:06:18 +0100
Message-ID: <21908301531091841@smtp.aol.com>
x-aol-global-disposition: S
X-SPAM-FLAG: YES
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20121107; t=1398204376;
 bh=QKDJsdYaw97FQjeByDJEoD2NFcnUFzJtBeteMAsvvJY=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=n79o94EH0+u36T6mt5II3FiNpwDTNQ6dr876uo+yCvELj9cetkx3i7H3YPjUuZlSe
 gEWj7bHofllOONFsNt+UFXiGmHxpYkQhQkHFX37jSMoMtIJqNOj/h/OtcE/sV2DAHr
 vSYwiepTwc9Ne0vljPgoXjCOwvWEWtv/Ag48b9jc=
X-AOL-REROUTE: YES
x-aol-sid: 3039ac1adecd5356e7d64060
X-AOL-IP: 41.71.184.212
Content-Type: text/plain ; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: zbynek.koala@outlook.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Apr 2014 22:06:25 -0000

Hi

I am interested in your product, i would like you to send quotation, m=
inimum order, payment terms=20
and the time of delivery.=20
=20
Write back soon.

Regards,
Zbynek Koala.=20

KOALA INC. s.r.o.
Mala Stana, Praque.
Tel.: (+420) 539 051 630
Fax: (+420) 543 252 025=20

=20
=20
=20
=20
DISCLAIMER: This electronic message and any accompanying attachments a=
re intended only for the use of the individual or entity named above a=
s the recipient and may contain privileged, confidential, proprietary =
or personal information protected by obligations of confidentiality or=
 applicable law. Any use, disclosure, distribution, retransmission and=
 reproduction of, or taking any action in reliance upon, this message =
or its contents (including any attachments) (a) by any person other th=
an the named recipient, (b) for any purpose other than its intended pu=
rpose, or (c) without the consent of the sender, is unauthorized and s=
trictly prohibited. If you have received this message in error, please=
 (i) notify the sender immediately by return e-mail, (ii) do not discl=
ose, distribute or reproduce this message or its contents in any form,=
 and (iii) permanently delete this message (including any attachments)=
 and destroy all copies thereof in any form.

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr 25 19:09:24 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 595A28D9
 for <freebsd-usb@freebsd.org>; Fri, 25 Apr 2014 19:09:24 +0000 (UTC)
Received: from mail-yk0-f176.google.com (mail-yk0-f176.google.com
 [209.85.160.176])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1AD341A9A
 for <freebsd-usb@freebsd.org>; Fri, 25 Apr 2014 19:09:23 +0000 (UTC)
Received: by mail-yk0-f176.google.com with SMTP id 19so3662377ykq.21
 for <freebsd-usb@freebsd.org>; Fri, 25 Apr 2014 12:09:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=BuVqHfbBZ4Lj9x0wKwie4kPhRV/mhDv1ifQA0KMkgAY=;
 b=Vk+UBKZpPJ3sQiEfHmbtvTr7prbeLzT/B3A9q5rR5goAHU8fZIULWe0xQl4Dv60pdR
 u6pa/8cLTi1TKgsz6nxHtzEnSKzZN7BfvFLtWMBi60r/Nmb9ce20OUxEqOmi4ABObrfI
 MWz9hmRjJb8TWDNpXQuBkwTLdJnXmnFkx0uL9Zd7odZ/Klp9CFriwN2II4fRJDbeS8kJ
 GxwtEKndPhIfwHJlTv8skyyJ2urSZdMdqp/EmS8AU3eQhueSwFzPZY//1YcB+BcKNVix
 SocOM6OyB7NGodEymr74DQ+l8KnINcU0htju5uvIf0W6EA6bdDeddjdnoWcxsbILLzhC
 zp+A==
X-Gm-Message-State: ALoCoQlMVk70SvLYi9nZ6KgA1g94doAsZ28RVh68vyyJPxwMAmJG1jodV631NjNOJBXNWvsOpF5h
MIME-Version: 1.0
X-Received: by 10.236.130.37 with SMTP id j25mr5628343yhi.106.1398452957555;
 Fri, 25 Apr 2014 12:09:17 -0700 (PDT)
Received: by 10.170.159.212 with HTTP; Fri, 25 Apr 2014 12:09:17 -0700 (PDT)
X-Originating-IP: [67.10.123.128]
In-Reply-To: <5353CF78.1080406@selasky.org>
References: <CALCz5MHdpxmkBE23-Vj+ZLfzTaZZT6FpKW7jJT_NZbiqDQ+Bzg@mail.gmail.com>
 <5353CF78.1080406@selasky.org>
Date: Fri, 25 Apr 2014 14:09:17 -0500
Message-ID: <CALCz5ME7hJd4HZgz4wV5OD4XudP6sCPRBoz5oA6_QSSXu27L6w@mail.gmail.com>
Subject: Re: LBA Error on 128GB Flash Drive
From: Wes Morgan <morganw@chemikals.org>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Apr 2014 19:09:24 -0000

On Sun, Apr 20, 2014 at 8:45 AM, Hans Petter Selasky <hps@selasky.org>wrote:

> On 04/20/14 12:54, Wes Morgan wrote:
>
>> I've got an ADATA 128gb USB3 flash drive (
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16820211819) that is
>> giving me LBA errors. It appears that the drive is being mis-identified
>> and
>> reporting the wrong number of sectors. Camcontrol says the last block
>> is 246960127, which I believe to be correct because any attempt to write
>> to
>> a block after that fails. However, the kernel thinks that the device
>> has 247484416 sectors and pretty much everything fails to use the device
>> properly because partition tables and filesystems like to store things at
>> the end of devices. This is the second one of these I've had and both have
>> the same error. My laptop is fairly old and USB2 only, but I've got some
>> newer machines with USB3 ports and they have the same problem. Attaching
>> the drive to a Linux machine reports the correct number of blocks.
>>
>> All my FreeBSD machines are running 10-stable.
>>
>> Camcontrol output:
>> [morganw@mercury:~$]: camcontrol readcap da0
>> Last Block: 246960127, Block Length: 512 bytes
>>
>
> Does the device have a bad disk label ?
>
> gpart show da0
>
> vs
>
> diskinfo da0
>
>
> --HPS
>
>

Turns out this device reports the wrong capacity with RC16 and needs a cam
quirk to disable it. I'll submit a PR.

From owner-freebsd-usb@FreeBSD.ORG  Sat Apr 26 15:00:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D0DE26CC
 for <freebsd-usb@freebsd.org>; Sat, 26 Apr 2014 15:00:44 +0000 (UTC)
Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com
 [IPv6:2607:f8b0:4002:c07::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9623113DF
 for <freebsd-usb@freebsd.org>; Sat, 26 Apr 2014 15:00:44 +0000 (UTC)
Received: by mail-yk0-f171.google.com with SMTP id q9so4352216ykb.30
 for <freebsd-usb@freebsd.org>; Sat, 26 Apr 2014 08:00:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:date:message-id:subject:from:to:content-type;
 bh=b/rcbo56TBN5WCFQ6BWtlz5flDDG1kdhGwFi/o+xFlA=;
 b=A+Nq5STy0TYRCwQFukYdVTTRZIvov2bj+/JoJ76JxmZk1qXS6Kw+pMN1RC4ijmSPMv
 AZ6wK38EpzfIbILwrsWIbVe19m2H4vLBOkoaiMlmYzWrydkpmbqBcTiphe/7VG67GZ0z
 rvQ0ojoLD1nIZnUuOwM2bYlx0oHzFevpUiT+V2RyenT7mfVronsXORmDllcIv29nvHmY
 99ea8IvU7UN/EFHiRiEBpOcIwHbRHFTiZNRUzeVYlde2Gn5bnEU8OAjbe34jQGY2S1BH
 /ao9FYj6Xuidcfl5KJcp4bhczQApV8vbhaeEQnUZoSLQowmsBhgCSBEqRHc3brTzG9PB
 zEAA==
MIME-Version: 1.0
X-Received: by 10.236.19.99 with SMTP id m63mr799971yhm.134.1398524443716;
 Sat, 26 Apr 2014 08:00:43 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sat, 26 Apr 2014 08:00:43 -0700 (PDT)
Date: Sat, 26 Apr 2014 23:00:43 +0800
Message-ID: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
Subject: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Apr 2014 15:00:44 -0000

Hi Hans,

My MBPr could not boot on recent STABLE-10, it stop after xchi message, the
last two lines are:

xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
device 20.0 on pci0
xhci0: 32 byte context size.

I revert back r264640(http://svnweb.freebsd.org/changeset/base/264640), the
system become normal again.

Any ideas or anything I need to provide?

Cheers,

Huang Wenhui

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 01:57:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 925AC1F2
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 01:57:23 +0000 (UTC)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com
 [IPv6:2607:f8b0:4002:c01::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 557861BA6
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 01:57:23 +0000 (UTC)
Received: by mail-yh0-f43.google.com with SMTP id a41so3700920yho.2
 for <freebsd-usb@freebsd.org>; Sat, 26 Apr 2014 18:57:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:content-type;
 bh=rGJKHp/Gpw5q9P4MdmOcO0Jq6zQEDlR5w7Zqlg9+Vng=;
 b=cFxfOSxfJzCxoEq/3qM1ltRLNHz6GSxwcq5xnIBysvV5BLhWdSXESv8gXQyJOFcVap
 odxW62K7w07Sse/nLBUq2cW4iYZS7oVxyoECCCbHUDKSC/6szZfax8nYVby0R+C+VLNY
 PBPYel3VYQqfnlnvDaUHZa68DZCq6q5AVwwKGiCa5svrYs/TaiQ8xbRVi8AABZw8k/0X
 CURMBcOJIncl+TvAn6kF4aU600fAzEH3LNZHktX69c0ZVhJaXEqknT6TXeVgZhwSLqHn
 vlioY2bxFMEOrKwrWcAxUcKg5WpbzrjDDOiG/VnsU4Dh/fvC3rh6Gw32aSmmNo7dQhKb
 Gi6Q==
MIME-Version: 1.0
X-Received: by 10.236.39.242 with SMTP id d78mr24581360yhb.36.1398563842493;
 Sat, 26 Apr 2014 18:57:22 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sat, 26 Apr 2014 18:57:22 -0700 (PDT)
In-Reply-To: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
Date: Sun, 27 Apr 2014 09:57:22 +0800
Message-ID: <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
Subject: Re: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>, hps@selasky.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 01:57:23 -0000

More test:
system could not boot with "safe mode" in both case  XHCI_IMOD_DEFAULT=1F4
or 3E8.

Huang Wenhui


2014-04-26 23:00 GMT+08:00 Huang Wen Hui <huanghwh@gmail.com>:

> Hi Hans,
>
> My MBPr could not boot on recent STABLE-10, it stop after xchi message,
> the last two lines are:
>
> xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
> device 20.0 on pci0
> xhci0: 32 byte context size.
>
> I revert back r264640(http://svnweb.freebsd.org/changeset/base/264640),
> the system become normal again.
>
> Any ideas or anything I need to provide?
>
> Cheers,
>
> Huang Wenhui
>
>
>

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 06:55:12 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 794E24BF
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 06:55:12 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 31EE213F0
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 06:55:11 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id C89EE1FE029;
 Sun, 27 Apr 2014 08:55:01 +0200 (CEST)
Message-ID: <535CA9FF.4090601@selasky.org>
Date: Sun, 27 Apr 2014 08:55:59 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com, 
 "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject: Re: xhci controller problem on MBPr2013
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
 <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
In-Reply-To: <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 06:55:12 -0000

On 04/27/14 03:57, Huang Wen Hui wrote:
> More test:
> system could not boot with "safe mode" in both case  XHCI_IMOD_DEFAULT=1F4
> or 3E8.
>
> Huang Wenhui

Hi,

Looks like a hardware issue.

Does the attached patch for sys/dev/usb/controller/xhci.c make any 
difference?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 08:57:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 96FA445E
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 08:57:42 +0000 (UTC)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com
 [IPv6:2607:f8b0:4002:c01::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 594291C62
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 08:57:42 +0000 (UTC)
Received: by mail-yh0-f43.google.com with SMTP id a41so3842402yho.2
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 01:57:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=9juoCfzf1fHJEBQ/l88fHftECkiS+YgghZJlL6Q7z+g=;
 b=KPCm1G+LI2pe3PkXUrBKHU4zmqm+YD5fqP4VY3vK/oE+5C9T+r6U4cJpGVQXmKn5J7
 vOWHFbltGRK025wkJ4bBmgJ2ineUe6gNAhjzgzhgBes6YqecWNP36EXL+xvSobLvRaoN
 ey6leSpQ9bpJNE8ugieoDIM1rJdTil2Ts0bM4F5MG4C1OXd/2heMB5BId1hqhZPeM+fF
 7gio4eoDBIsE6Ok9Hdfyb0DIJxv7FZAsqX/hAmXbb0m40gLPA/SHm0FenjVDLoWOUS0u
 OvhfOlsWGOcOhF/RG9mUQRZNaxTGDOE8mgQT0HAiXkq2KamcRuz2iAbfmqeoa1Ko0pJ1
 TI9g==
MIME-Version: 1.0
X-Received: by 10.236.89.3 with SMTP id b3mr27932053yhf.54.1398589061542; Sun,
 27 Apr 2014 01:57:41 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sun, 27 Apr 2014 01:57:41 -0700 (PDT)
In-Reply-To: <535CA9FF.4090601@selasky.org>
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
 <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
 <535CA9FF.4090601@selasky.org>
Date: Sun, 27 Apr 2014 16:57:41 +0800
Message-ID: <CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>
Subject: Re: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 08:57:42 -0000

Hi,
The system hang  at random place after  pass xhci message. Before hangs, no
usb device
can attach in most time.

Cheers,
Huang Wenhui

2014-04-27 14:55 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:

> On 04/27/14 03:57, Huang Wen Hui wrote:
>
>> More test:
>> system could not boot with "safe mode" in both case  XHCI_IMOD_DEFAULT=1F4
>> or 3E8.
>>
>> Huang Wenhui
>>
>
> Hi,
>
> Looks like a hardware issue.
>
> Does the attached patch for sys/dev/usb/controller/xhci.c make any
> difference?
>


>
> --HPS
>
>

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 11:37:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3062CD13
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 11:37:20 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E0EAFB20
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 11:37:19 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id F19B01FE029;
 Sun, 27 Apr 2014 13:37:17 +0200 (CEST)
Message-ID: <535CEC27.2030702@selasky.org>
Date: Sun, 27 Apr 2014 13:38:15 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com
Subject: Re: xhci controller problem on MBPr2013
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>	<CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>	<535CA9FF.4090601@selasky.org>
 <CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>
In-Reply-To: <CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 11:37:20 -0000

On 04/27/14 10:57, Huang Wen Hui wrote:
> Hi,
> The system hang  at random place after  pass xhci message. Before hangs, no
> usb device
> can attach in most time.
>

Hi,

If you change IMOD_DEFAULT like shown below, does it make any difference?

> === ./xhcireg.h
> ==================================================================
> --- ./xhcireg.h	(revision 264804)
> +++ ./xhcireg.h	(local)
> @@ -166,7 +166,7 @@
>  #define	XHCI_IMOD_IVAL_SET(x)	(((x) & 0xFFFF) << 0)	/* 250ns unit */
>  #define	XHCI_IMOD_ICNT_GET(x)	(((x) >> 16) & 0xFFFF)	/* 250ns unit */
>  #define	XHCI_IMOD_ICNT_SET(x)	(((x) & 0xFFFF) << 16)	/* 250ns unit */
> -#define	XHCI_IMOD_DEFAULT	0x000001F4U	/* 8000 IRQ/second */
> +#define	XHCI_IMOD_DEFAULT	0x01F401F4U	/* 8000 IRQ/second */
>  #define	XHCI_ERSTSZ(n)		(0x0028 + (0x20 * (n)))	/* XHCI event ring segment table size */
>  #define	XHCI_ERSTS_GET(x)	((x) & 0xFFFF)
>  #define	XHCI_ERSTS_SET(x)	((x) & 0xFFFF)


Second, if you comment out in xhci.c:

	/* catch any lost interrupts */
	xhci_do_poll(&sc->sc_bus);

Does that change anything?

Try one change at a time.

Thank you!

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 13:38:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0C184539
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 13:38:33 +0000 (UTC)
Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com
 [IPv6:2607:f8b0:4002:c07::235])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id BFE93150E
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 13:38:32 +0000 (UTC)
Received: by mail-yk0-f181.google.com with SMTP id q200so562589ykb.26
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 06:38:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=QGV6UYXo3VUPcQOZ9tw8Adwh44NMXkfk56TAmxwNysk=;
 b=CowgwxgbMLgpPicTVLY5n1rQNWpGVDIkFq+4kw1UqeAYX5Kk0QEcw/vROYNwjfzHU5
 YEiREXD4TGSe5uTMKNJOKD7WTHaHuLApvH1AeCrdfCd4lDKL8WfmPB3bnWQibb0Ton6z
 ojz0zHkTYlyUK66T9wRqtWZ+I98zlDBeslVvgqIAWEY5TmLiy8H7u2b21tRci1IRzjbv
 JvGXeRTNPhyl16DqlecINayOqQ5FBtofHNrT9E2hVd9/qUdcUSi9/Z91CI3SV4b/CxX4
 GGA+hVL4TLOp8MNc6HT4sAXbDp/A9eQcsa6LroaIkeyahEKvqrZLRbJVL2hp8A/4rLNM
 ozeg==
MIME-Version: 1.0
X-Received: by 10.236.92.210 with SMTP id j58mr29815861yhf.5.1398605911757;
 Sun, 27 Apr 2014 06:38:31 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sun, 27 Apr 2014 06:38:31 -0700 (PDT)
In-Reply-To: <535CEC27.2030702@selasky.org>
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
 <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
 <535CA9FF.4090601@selasky.org>
 <CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>
 <535CEC27.2030702@selasky.org>
Date: Sun, 27 Apr 2014 21:38:31 +0800
Message-ID: <CAB8uncbKu-hhsgYEdqc7jBzUwzt63aUQ_j26m-e6ejsstQMYbg@mail.gmail.com>
Subject: Re: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 13:38:33 -0000

Hi,
In both case, same result:
1. without  any external usb device, it stop after xchi message, the last
two lines are:

xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
device 20.0 on pci0
xhci0: 32 byte context size.

2. If I plug my iphone,  it pass xchi message, stop after:

Timecounter "TSC-low" frequency 1297022873 Hz quality 1000
Root mount waiting for: usbus0
uhub0: 21 ports with 21 removable, self powered
Root mount waiting for: usbus0
ugen0.2: <Apple Inc.> at usbus0
uhub1: <Apple Inc. BRCM20702 Hub, class 9/0, rev 2.00/1.00, addr 1> on
usbus0

MBr2013 also have SD card in USB hub:

ugen0.7: <Apple> at usbus0
umass0: <Apple Card Reader, class 0/0, rev 3.00/8.20, addr 6> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:1:0:-1: Attached to scbus1
(probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10
00 00
(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: NOT READY asc:3a,0 (Medium not
present)
(probe0:umass-sim0:0:0:0): Error 6, Unretryable error
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
da0: <APPLE SD Card Reader 3.00> Removable Direct Access SCSI-6 device
da0: Serial Number 000000000820
da0: 400.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>

Both SD card and keyboard not attach in all cases.


# usbconfig
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <BRCM20702 Hub Apple Inc.> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (94mA)
ugen0.3: <product 0x820a vendor 0x05ac> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (0mA)
ugen0.4: <product 0x820b vendor 0x05ac> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (0mA)
ugen0.5: <Bluetooth USB Host Controller Apple Inc.> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (0mA)
ugen0.6: <Apple Internal Keyboard  Trackpad Apple Inc.> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (40mA)
ugen0.7: <Card Reader Apple> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps)
pwr=ON (224mA)
ugen0.8: <iPhone Apple Inc.> at usbus0, cfg=3 md=HOST spd=HIGH (480Mbps)
pwr=ON (500mA)

Thanks for you help!

Huang Wenhui



2014-04-27 19:38 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:

> On 04/27/14 10:57, Huang Wen Hui wrote:
>
>> Hi,
>> The system hang  at random place after  pass xhci message. Before hangs,
>> no
>> usb device
>> can attach in most time.
>>
>>
> Hi,
>
> If you change IMOD_DEFAULT like shown below, does it make any difference?
>
>  === ./xhcireg.h
>> ==================================================================
>> --- ./xhcireg.h (revision 264804)
>> +++ ./xhcireg.h (local)
>> @@ -166,7 +166,7 @@
>>  #define        XHCI_IMOD_IVAL_SET(x)   (((x) & 0xFFFF) << 0)   /* 250ns
>> unit */
>>  #define        XHCI_IMOD_ICNT_GET(x)   (((x) >> 16) & 0xFFFF)  /* 250ns
>> unit */
>>  #define        XHCI_IMOD_ICNT_SET(x)   (((x) & 0xFFFF) << 16)  /* 250ns
>> unit */
>> -#define        XHCI_IMOD_DEFAULT       0x000001F4U     /* 8000
>> IRQ/second */
>> +#define        XHCI_IMOD_DEFAULT       0x01F401F4U     /* 8000
>> IRQ/second */
>>  #define        XHCI_ERSTSZ(n)          (0x0028 + (0x20 * (n))) /* XHCI
>> event ring segment table size */
>>  #define        XHCI_ERSTS_GET(x)       ((x) & 0xFFFF)
>>  #define        XHCI_ERSTS_SET(x)       ((x) & 0xFFFF)
>>
>
>
> Second, if you comment out in xhci.c:
>
>         /* catch any lost interrupts */
>         xhci_do_poll(&sc->sc_bus);
>
> Does that change anything?
>
> Try one change at a time.
>
> Thank you!
>
> --HPS
>

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 14:25:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 50DE7C4A
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:25:30 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0EA0E1941
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:25:30 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 456281FE029;
 Sun, 27 Apr 2014 16:25:29 +0200 (CEST)
Message-ID: <535D1393.1020204@selasky.org>
Date: Sun, 27 Apr 2014 16:26:27 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com
Subject: Re: xhci controller problem on MBPr2013
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>	<CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>	<535CA9FF.4090601@selasky.org>	<CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>	<535CEC27.2030702@selasky.org>
 <CAB8uncbKu-hhsgYEdqc7jBzUwzt63aUQ_j26m-e6ejsstQMYbg@mail.gmail.com>
In-Reply-To: <CAB8uncbKu-hhsgYEdqc7jBzUwzt63aUQ_j26m-e6ejsstQMYbg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 14:25:30 -0000

Hi,

I need to get some more debug information:

Revert all patches. And apply the attached one.

Send output from "dmesg | grep xhci".

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 14:29:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09F9CDA8
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:29:00 +0000 (UTC)
Received: from mail-yh0-f52.google.com (mail-yh0-f52.google.com
 [209.85.213.52])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id C241A1967
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:28:59 +0000 (UTC)
Received: by mail-yh0-f52.google.com with SMTP id 29so5230252yhl.11
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 07:28:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:content-type;
 bh=lJU1q1jlCWqJeiXLBulm1vWJYyTkwG8QnbmBPMVfrTw=;
 b=Mzl/SHkGkV2n2Kma7TFmF9+zzOnWXAP0Nr2TIWRn7vmUAV1+dvPw+zqmuCGnin775T
 rr3EguXgN84NaQdXn+DUPpeFsJehGN2eudXgEp+30gNsvnWEzEBgV3uuOxiHC2sIzlmg
 tSSeKvJk9fvnfecUYVFInHyVaBWjpvqPGoJ8Cigk7FjKST8x6HKuZwKAtNqslvPhvVvu
 BtK5rHLXt4OMVkldWwdIRe/ec7qiG3dnBvBKL6V0MOLjP3qh5T/ifdX+F9FtuRVOtRaz
 HDZ/mWIAdl5Lmk2Ux633SC+/Rt0U0PGn13tLTUmJMcJcy96RubnchZ9kKGhxN+1cr5G0
 RCPQ==
MIME-Version: 1.0
X-Received: by 10.236.125.12 with SMTP id y12mr30516845yhh.42.1398608929275;
 Sun, 27 Apr 2014 07:28:49 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sun, 27 Apr 2014 07:28:49 -0700 (PDT)
In-Reply-To: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
Date: Sun, 27 Apr 2014 22:28:49 +0800
Message-ID: <CAB8unca7vzy+hJpxPis7FtVFpYsZYgvkEBRmJR8GHskOTXN=9A@mail.gmail.com>
Subject: Re: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 14:29:00 -0000

Another possible bug is: I have to remove ng_ubt as ubt0 can make xhci0
generate very high Interrupts, about 1200~1300 after booting.
This may be not relate to xhci controller.

Cheers,
Huang Wenhui


2014-04-26 23:00 GMT+08:00 Huang Wen Hui <huanghwh@gmail.com>:

> Hi Hans,
>
> My MBPr could not boot on recent STABLE-10, it stop after xchi message,
> the last two lines are:
>
> xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
> device 20.0 on pci0
> xhci0: 32 byte context size.
>
> I revert back r264640(http://svnweb.freebsd.org/changeset/base/264640),
> the system become normal again.
>
> Any ideas or anything I need to provide?
>
> Cheers,
>
> Huang Wenhui
>
>
>

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 14:32:56 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E10E5E1A
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:32:56 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A2C121A01
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:32:56 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 0E2161FE029;
 Sun, 27 Apr 2014 16:32:55 +0200 (CEST)
Message-ID: <535D1552.3080500@selasky.org>
Date: Sun, 27 Apr 2014 16:33:54 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com, 
 "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject: Re: xhci controller problem on MBPr2013
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
 <CAB8unca7vzy+hJpxPis7FtVFpYsZYgvkEBRmJR8GHskOTXN=9A@mail.gmail.com>
In-Reply-To: <CAB8unca7vzy+hJpxPis7FtVFpYsZYgvkEBRmJR8GHskOTXN=9A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 14:32:56 -0000

On 04/27/14 16:28, Huang Wen Hui wrote:
> Another possible bug is: I have to remove ng_ubt as ubt0 can make xhci0
> generate very high Interrupts, about 1200~1300 after booting.
> This may be not relate to xhci controller.
>

Hi,

Maybe you can check that using "usbdump -i usbusX -f Y -s 65536 -vvv" to 
see what is generating that traffic, if it is USB related.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 14:50:13 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D192E237
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:50:13 +0000 (UTC)
Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com
 [IPv6:2607:f8b0:4002:c01::234])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 930031B29
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 14:50:13 +0000 (UTC)
Received: by mail-yh0-f52.google.com with SMTP id 29so5239819yhl.11
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 07:50:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=VMMcym1KBBW0gYKzQKDrT1pfl+XEfBEFWUgfabJHnHE=;
 b=t7V2ZB0paGQjvkKEICxOcubv2g1WetD1EIwZ4kaCzVn5dcdfhm53CGGsx+QkkxYl9o
 gUMcNaRBTrakAMrMUiv15jWaB+TsG+ZewXj7cYHum4fAnLxBFhVByiE9d/Q0P5VVa1jb
 nEyT2Gwvo4xxCWngQ7++UlhFmDN3ZCOV2x63+OIcqlRWkSUWhX0JCAftroxQ8wPMh6AF
 SUfKchyku9sJjtPYimnwD0KaRlthPpBqy/njMi2lhd3Bj1OJT/CzYDk20pv9gJ1F9FKq
 lKS6ODw+Z7961cYpYV313VxCpSqf9K7IS6FSq4cK3oW3frjpaP+VJqL01ERBxwrZan4F
 T8Rg==
MIME-Version: 1.0
X-Received: by 10.236.87.139 with SMTP id y11mr30271907yhe.27.1398610211852;
 Sun, 27 Apr 2014 07:50:11 -0700 (PDT)
Received: by 10.170.47.148 with HTTP; Sun, 27 Apr 2014 07:50:11 -0700 (PDT)
In-Reply-To: <535D1393.1020204@selasky.org>
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>
 <CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>
 <535CA9FF.4090601@selasky.org>
 <CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>
 <535CEC27.2030702@selasky.org>
 <CAB8uncbKu-hhsgYEdqc7jBzUwzt63aUQ_j26m-e6ejsstQMYbg@mail.gmail.com>
 <535D1393.1020204@selasky.org>
Date: Sun, 27 Apr 2014 22:50:11 +0800
Message-ID: <CAB8uncZNnBm9L_9iePbvhnDiKz9oA60WCb3M9Y29RiL01n6CgA@mail.gmail.com>
Subject: Re: xhci controller problem on MBPr2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: huanghwh@gmail.com
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 14:50:13 -0000

xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
device 20.0 on pci0
xhci0: 32 byte context size.
xhci: IMOD = 0x00000fa0
xhci: IMOD = 0x000001f4
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0



2014-04-27 22:26 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:

> Hi,
>
> I need to get some more debug information:
>
> Revert all patches. And apply the attached one.
>
> Send output from "dmesg | grep xhci".
>
> --HPS
>

From owner-freebsd-usb@FreeBSD.ORG  Sun Apr 27 15:42:46 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 409FE582
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 15:42:46 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EEC341B4
 for <freebsd-usb@freebsd.org>; Sun, 27 Apr 2014 15:42:45 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id C70D11FE029;
 Sun, 27 Apr 2014 17:42:44 +0200 (CEST)
Message-ID: <535D25AF.2080105@selasky.org>
Date: Sun, 27 Apr 2014 17:43:43 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com
Subject: Re: xhci controller problem on MBPr2013
References: <CAB8uncZxftBZ8O6vhpyBBkMJABummPqBUieN3P3xruYL-tcukQ@mail.gmail.com>	<CAB8uncZCTNk5XzFQ38KXJ1-DAvrpCF0ZR023UUn0Cu+CDhyFgA@mail.gmail.com>	<535CA9FF.4090601@selasky.org>	<CAB8uncbE_scWdMF2srL06Q5ty_mCxfBuX99fNKDEud6B7Ca6iw@mail.gmail.com>	<535CEC27.2030702@selasky.org>	<CAB8uncbKu-hhsgYEdqc7jBzUwzt63aUQ_j26m-e6ejsstQMYbg@mail.gmail.com>	<535D1393.1020204@selasky.org>
 <CAB8uncZNnBm9L_9iePbvhnDiKz9oA60WCb3M9Y29RiL01n6CgA@mail.gmail.com>
In-Reply-To: <CAB8uncZNnBm9L_9iePbvhnDiKz9oA60WCb3M9Y29RiL01n6CgA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Apr 2014 15:42:46 -0000

Hi,

FYI: Here is the final patch:

http://svnweb.freebsd.org/changeset/base/265015

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr 28 11:06:56 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 26FF45CB
 for <freebsd-usb@FreeBSD.org>; Mon, 28 Apr 2014 11:06:56 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 094B71AB6
 for <freebsd-usb@FreeBSD.org>; Mon, 28 Apr 2014 11:06:56 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3SB6tt7086307
 for <freebsd-usb@FreeBSD.org>; Mon, 28 Apr 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3SB6tqV086305
 for freebsd-usb@FreeBSD.org; Mon, 28 Apr 2014 11:06:55 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 28 Apr 2014 11:06:55 GMT
Message-Id: <201404281106.s3SB6tqV086305@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Apr 2014 11:06:56 -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/188829   usb        atp fails on Macbook Pro 4.1
o usb/188403   usb        USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        ums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185628   usb        usbd_req_re_enumerate set address failed USB_ERR_STALL
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [suspend/resume] [panic] Suspend when using USB disc a
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        FreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] [suspend/resume] xhci driver bug after suspend 
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] [suspend/resume] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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] [suspend/resume] USB ports are no longer
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

332 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Sun May  4 03:00:13 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6D375A31;
 Sun,  4 May 2014 03:00:13 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4263A1295;
 Sun,  4 May 2014 03:00:13 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4430Dck038685;
 Sun, 4 May 2014 03:00:13 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4430DM6038684;
 Sun, 4 May 2014 03:00:13 GMT (envelope-from linimon)
Date: Sun, 4 May 2014 03:00:13 GMT
Message-Id: <201405040300.s4430DM6038684@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/188999: [scsi_da] [patch] QUIRK: ADATA USB Flash Drive
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 04 May 2014 03:00:13 -0000

Old Synopsis: QUIRK: ADATA USB Flash Drive
New Synopsis: [scsi_da] [patch] QUIRK: ADATA USB Flash Drive

Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun May 4 02:59:40 UTC 2014
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=188999

From owner-freebsd-usb@FreeBSD.ORG  Sun May  4 04:45:26 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3E39B111;
 Sun,  4 May 2014 04:45:26 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0850C1B6A;
 Sun,  4 May 2014 04:45:26 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s444jPw7080557;
 Sun, 4 May 2014 04:45:25 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s444jP2n080556;
 Sun, 4 May 2014 04:45:25 GMT (envelope-from linimon)
Date: Sun, 4 May 2014 04:45:25 GMT
Message-Id: <201405040445.s444jP2n080556@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/188403: [patch] USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED
 issues
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 04 May 2014 04:45:26 -0000

Old Synopsis: USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues
New Synopsis: [patch] USB3 USB_ERR_TIMEOUT and USB_ERR_STALLED issues

Responsible-Changed-From-To: freebsd-usb->hselasky
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun May 4 04:43:19 UTC 2014
Responsible-Changed-Why: 
hps has a patch.

http://www.freebsd.org/cgi/query-pr.cgi?pr=188403

From owner-freebsd-usb@FreeBSD.ORG  Sun May  4 05:03:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 56D19806;
 Sun,  4 May 2014 05:03:41 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2B99C1D04;
 Sun,  4 May 2014 05:03:41 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4453e1c087435;
 Sun, 4 May 2014 05:03:40 GMT
 (envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4453eGs087434;
 Sun, 4 May 2014 05:03:40 GMT (envelope-from linimon)
Date: Sun, 4 May 2014 05:03:40 GMT
Message-Id: <201405040503.s4453eGs087434@freefall.freebsd.org>
To: alex_goncharov_usa@yahoo.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org,
 hselasky@FreeBSD.org
From: linimon@FreeBSD.org
Subject: Re: usb/185628: usbd_req_re_enumerate set address failed
 USB_ERR_STALLED for Seagate USB drives between r259425 and r260321
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 04 May 2014 05:03:41 -0000

Synopsis: usbd_req_re_enumerate set address failed USB_ERR_STALLED for Seagate USB drives between r259425 and r260321

State-Changed-From-To: open->patched
State-Changed-By: linimon
State-Changed-When: Sun May 4 05:00:30 UTC 2014
State-Changed-Why: 
patch committed, and maintainer confirms this fixes the problem.


Responsible-Changed-From-To: freebsd-usb->hselasky
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun May 4 05:00:30 UTC 2014
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185628

From owner-freebsd-usb@FreeBSD.ORG  Mon May  5 11:06:52 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C6CF3F2B
 for <freebsd-usb@FreeBSD.org>; Mon,  5 May 2014 11:06:52 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A20581D06
 for <freebsd-usb@FreeBSD.org>; Mon,  5 May 2014 11:06:52 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s45B6qPB083288
 for <freebsd-usb@FreeBSD.org>; Mon, 5 May 2014 11:06:52 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s45B6q11083286
 for freebsd-usb@FreeBSD.org; Mon, 5 May 2014 11:06:52 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 5 May 2014 11:06:52 GMT
Message-Id: <201405051106.s45B6q11083286@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 05 May 2014 11:06:52 -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/188999   usb        [scsi_da] [patch] QUIRK: ADATA USB Flash Drive
o usb/188829   usb        [atp] atp fails on Macbook Pro 4.1 [regression]
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        [ums] ums module not loaded by devd for Razer Lachesis
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        [mic] Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [suspend/resume] [panic] Suspend when using USB disc a
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        [umass] FreeBSD 9.1 umass driver does not correctly ha
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] [suspend/resume] xhci driver bug after suspend 
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] [suspend/resume] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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] [suspend/resume] USB ports are no longer
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [build] [patch] add WITHOUT_USB to allow to compile ou
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

331 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Thu May  8 11:45:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A3CE62F3
 for <freebsd-usb@freebsd.org>; Thu,  8 May 2014 11:45:17 +0000 (UTC)
Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com
 [IPv6:2607:f8b0:4003:c02::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 6A0CD25C
 for <freebsd-usb@freebsd.org>; Thu,  8 May 2014 11:45:17 +0000 (UTC)
Received: by mail-oa0-f47.google.com with SMTP id i7so2891826oag.34
 for <freebsd-usb@freebsd.org>; Thu, 08 May 2014 04:45:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google;
 h=mime-version:sender:date:message-id:subject:from:to:content-type;
 bh=TrdFuz3EqSkPVwaJsbumh886aHYHZ0a0M706BofDQrU=;
 b=OXzWLW00mj/hVpDYU9ArWxut1/52pkixU/D9soE51IO/8EbIvtfN+v4Z5C89K1Lr4o
 xP+xGDEhlt7wKK7SJTFz2AGka5VqSEpt2V3HfWe9B8wMZBb20hTe8+0LyqSVhWsZIOeO
 E3C7X5MAnCBBfOBjM30ODup0/efj7EgtbnWEY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:date:message-id:subject:from
 :to:content-type;
 bh=TrdFuz3EqSkPVwaJsbumh886aHYHZ0a0M706BofDQrU=;
 b=k9Y2+/3ho7ZvqllqpisQVHEmvMWpYD1EJdl0XxoyIByXarwKiBGMzXjs0collGS/De
 BjDuGxzqej/I/S0saT7/n5oSxTG5UvkUaJl+2OK+rTLyNPdl9imuZZ+WMC7NvbzWCIgA
 tipT86Kh8dEI+RmDe+8jAKxWwJMFYSOyJXgJJrCNKDoy7wxzZSM3GOjbQvgzc5ck8zCW
 gKA8lcEja8tL+Td0mqZg7iNJbXONLfeVEfMKxvBT6/XKQOs8G1SeTI0R6Oz/7hCwSh7E
 bQA+PHSGgN3IjSjKf33OWauhZJgWX+/mulL/pIohPh7U4EjrKF9R18PRRcC03XXPBWPH
 gqQQ==
X-Gm-Message-State: ALoCoQmm3D0WvHUJu2JFW1Flnl3du8fGGJx5rBGJc8VrUNzW3QIfre24QNFHL52gdOlUGtfKBTC+
MIME-Version: 1.0
X-Received: by 10.60.176.9 with SMTP id ce9mr3523141oec.55.1399549516573; Thu,
 08 May 2014 04:45:16 -0700 (PDT)
Sender: decke@bluelife.at
Received: by 10.76.154.136 with HTTP; Thu, 8 May 2014 04:45:16 -0700 (PDT)
X-Originating-IP: [2001:470:1f15:673::1000]
Date: Thu, 8 May 2014 13:45:16 +0200
X-Google-Sender-Auth: ik89wlUCYwGdInUPU9WkUh6C8P0
Message-ID: <CAE-m3X0KveSMod=tkXQ5Loeoi-NMP8y6YXzOo8xT66fG_yeJYg@mail.gmail.com>
Subject: xHCI driver in FreeBSD 10.0 causing interrupt storm in VirtualBox
From: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@FreeBSD.org>
To: "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 08 May 2014 11:45:17 -0000

Hi guys,

I just got a bugreport from a virtualbox developer who has noticed a
problem with the xHCI driver in FreeBSD 10.0. The irc transcript
follows to not loose any information from the analysis and how this
could be addressed.

(01:22:20 PM) MichalN: decke: I ran into a funny problem with the xHCI
driver in FreeBSD 10.0. It only works if the host uses MSIs, but
doesn't make sure. No such problem in 9.2.
(01:23:28 PM) MichalN: It probably doesn't come up on physical
hardware, or at least it'd require something fairly unusual (an old
system with add-on xHCI adapter).
michael-vb MichalN
(01:23:39 PM) MichalN: But it's a problem in a virtualized environment :)
(01:24:13 PM) MichalN: The default VirtualBox config doesn't do MSIs.
(01:25:10 PM) klaus-vb: it emulates an old system ;)
(01:25:26 PM) MichalN: The driver should either work (just like the
9.2 one does), or at least fail to load if it can't enable MSIs. As it
is, it gets an interrupt storm.
(01:25:38 PM) MichalN: (which FreeBSD duly detects and reports)
(01:26:39 PM) MichalN: Actually if I can find it, I can point you at
the code that was removed...
(01:27:07 PM) klaus-vb: the standard vbox chipset can't do MSI. only
the experimental ICH9 chipset code does MSI, and we generally don't
test it much
(01:27:52 PM) MichalN: Because there's not a huge advantage to MSIs in
a virtualized environment, unlike physical systems.
(01:29:47 PM) MichalN: OK, here's some older version of the code:
http://www.leidinger.net/FreeBSD/dox/dev_usb/html/d0/d15/xhci_8c_source.html
 In function xhci_interrupt() the code writing the XHCI_IMAN_INTR_PEND
bit was removed in 10.0.
(01:30:51 PM) MichalN: For your background - the xHCI controller
behaves slightly differently depending on whether MSIs are used or
not. If not, that bit (called XHCI_IMAN_INTR_PEND in the FreeBSD
driver) must be written to clear an interrupt.
(01:31:22 PM) MichalN: If MSIs are used then it doesn't need to be
done. It seems someone removed the code which was unconditional and
unnecessary on systems with MSI.
(01:31:31 PM) MichalN: But that breaks on systems with no MSI.
(01:33:07 PM) MichalN: Basically it should still be done, but only
conditionally if MSIs aren't used. Otherwise if the driver loads on a
system which for whatever reason doesn't use MSIs for xHCI, it'll
cause an interrupt storm.

-- 
Bernhard Froehlich
http://www.bluelife.at/

From owner-freebsd-usb@FreeBSD.ORG  Sat May 10 00:28:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1D6D3A2
 for <freebsd-usb@freebsd.org>; Sat, 10 May 2014 00:28:16 +0000 (UTC)
Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com
 [IPv6:2a00:1450:4013:c00::22a])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id A90D5B13
 for <freebsd-usb@freebsd.org>; Sat, 10 May 2014 00:28:15 +0000 (UTC)
Received: by mail-ee0-f42.google.com with SMTP id d49so3012645eek.15
 for <freebsd-usb@freebsd.org>; Fri, 09 May 2014 17:28:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:content-type:content-transfer-encoding:mime-version:subject
 :message-id:date:to;
 bh=FO3nqS37nEPEpw/Is52wb1xpETppV8ZWNbLpEj+8KfM=;
 b=I5SrGj+DEH9qKBoo2Ma/eDvnOYpnCVuo+vwIn3k+TMqSO2BpQTDNe+xnz/eR7pw6r7
 oGtyo5eRXyFAl/aCNgiJ84w8nxNjNrrEQucm4BdXaMXZK/X5uW9Xgf5QYqLYGWMYUXHs
 /N9QIlvqjAAroNBJ60S+gm0e3lKApxXj8ywKRd1i4dFHey/1NjX8abGoOwVgQbkpXq7k
 c1MyzKtyiUBfFM3RfpC2x1bS28aZbciZAX6VQNTgu9ViX60mQ360Jd/g2wzgmMxpj3OA
 S9q2qctQ3R0/LNW+fLUqx2mzEiGzK2sr3pzxM/qideSYIBQr0AUbcSuMnaVuqqiIO207
 XUIw==
X-Received: by 10.14.209.3 with SMTP id r3mr16458599eeo.27.1399681693995;
 Fri, 09 May 2014 17:28:13 -0700 (PDT)
Received: from [192.168.2.148] (p5B33ABA8.dip0.t-ipconnect.de. [91.51.171.168])
 by mx.google.com with ESMTPSA id w48sm14708708eel.9.2014.05.09.17.28.12
 for <freebsd-usb@freebsd.org>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Fri, 09 May 2014 17:28:13 -0700 (PDT)
X-Google-Original-From: =?utf-8?Q?Nikolai_Fa=C3=9Fbender?=
 <niki.fassbender@googlemail.com>
From: "=?utf-8?Q?Nikolai_Fa=C3=9Fbender?=" <niki.fassbender@gmail.com>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
Subject: USB Speaker
Message-Id: <A9CD7502-0856-401B-A8B8-3495142CCE6C@googlemail.com>
Date: Sat, 10 May 2014 02:28:12 +0200
To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-Mailer: iPhone Mail (11D201)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 10 May 2014 00:28:16 -0000

Hi=20
Yesterday i installed freebsd10 on my Lenovo G550 Laptop. My  USB speakers w=
on't work! They are not detected. How can freebsd recognize them?=20

Thx for your answer=20=

From owner-freebsd-usb@FreeBSD.ORG  Sat May 10 06:35:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BE181C26
 for <freebsd-usb@freebsd.org>; Sat, 10 May 2014 06:35:01 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7D6C1AF8
 for <freebsd-usb@freebsd.org>; Sat, 10 May 2014 06:35:00 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 82A201FE02B;
 Sat, 10 May 2014 08:34:58 +0200 (CEST)
Message-ID: <536DC8C7.2010302@selasky.org>
Date: Sat, 10 May 2014 08:35:51 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Nikolai_Fa=DFbender?= <niki.fassbender@gmail.com>, 
 "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject: Re: USB Speaker
References: <A9CD7502-0856-401B-A8B8-3495142CCE6C@googlemail.com>
In-Reply-To: <A9CD7502-0856-401B-A8B8-3495142CCE6C@googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 10 May 2014 06:35:01 -0000

On 05/10/14 02:28, Nikolai Faßbender wrote:
> Hi
> Yesterday i installed freebsd10 on my Lenovo G550 Laptop. My  USB speakers won't work! They are not detected. How can freebsd recognize them?
>
> Thx for your answer

Hi,

Can you get some more information about your USB speakers:

usbconfig -d X.Y dump_curr_config_desc dump_device_desc

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon May 12 09:54:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0FB31653;
 Mon, 12 May 2014 09:54:21 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D811F2088;
 Mon, 12 May 2014 09:54:20 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4C9sKA4041152;
 Mon, 12 May 2014 09:54:20 GMT (envelope-from pi@freefall.freebsd.org)
Received: (from pi@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4C9sKOZ041151;
 Mon, 12 May 2014 09:54:20 GMT (envelope-from pi)
Date: Mon, 12 May 2014 09:54:20 GMT
Message-Id: <201405120954.s4C9sKOZ041151@freefall.freebsd.org>
To: kamikaze@bsdforen.de, pi@FreeBSD.org, freebsd-usb@FreeBSD.org
From: pi@FreeBSD.org
Subject: Re: usb/122936: [ucom] [ubsa] Device does not receive interrupt
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 12 May 2014 09:54:21 -0000

Synopsis: [ucom] [ubsa] Device does not receive interrupt

State-Changed-From-To: open->closed
State-Changed-By: pi
State-Changed-When: Mon May 12 09:54:20 UTC 2014
State-Changed-Why: 
Closed on submitter request.

http://www.freebsd.org/cgi/query-pr.cgi?pr=122936

From owner-freebsd-usb@FreeBSD.ORG  Mon May 12 11:06:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7CF78C54
 for <freebsd-usb@FreeBSD.org>; Mon, 12 May 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5F86426E3
 for <freebsd-usb@FreeBSD.org>; Mon, 12 May 2014 11:06:53 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CB6raR068008
 for <freebsd-usb@FreeBSD.org>; Mon, 12 May 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4CB6rnJ068006
 for freebsd-usb@FreeBSD.org; Mon, 12 May 2014 11:06:53 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 12 May 2014 11:06:53 GMT
Message-Id: <201405121106.s4CB6rnJ068006@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 12 May 2014 11:06:53 -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/188999   usb        [scsi_da] [patch] QUIRK: ADATA USB Flash Drive
o usb/188829   usb        [atp] atp fails on Macbook Pro 4.1 [regression]
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        [ums] ums module not loaded by devd for Razer Lachesis
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        [mic] Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [suspend/resume] [panic] Suspend when using USB disc a
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        [umass] FreeBSD 9.1 umass driver does not correctly ha
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] [suspend/resume] xhci driver bug after suspend 
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] [suspend/resume] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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] [suspend/resume] USB ports are no longer
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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/122905   usb        [ubsa] [patch] add Huawei E220 to ubsa
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [build] [patch] add WITHOUT_USB to allow to compile ou
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

330 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Thu May 15 16:52:36 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 65447D65
 for <freebsd-usb@freebsd.org>; Thu, 15 May 2014 16:52:36 +0000 (UTC)
Received: from smtp14.ymlpsrv.net (smtp14.ymlpsrv.net [87.237.8.208])
 by mx1.freebsd.org (Postfix) with SMTP id BE3742B81
 for <freebsd-usb@freebsd.org>; Thu, 15 May 2014 16:52:35 +0000 (UTC)
Received: (qmail 4756 invoked by uid 0); 15 May 2014 16:45:50 -0000
Date: Thu, 15 May 2014 18:45:50 +0200
To: freebsd-usb@freebsd.org
From: Hosiery Street <sales@hosierystreet.com>
Subject: Memorial Day Weekend Sale - Starts Right Now.
Message-ID: <b2c8873ff8c53a803b629d29e1178a08@smtp14.ymlpsrv.net>
Reply-To: sales@hosierystreet.com
X-YMLPcode: 8ryt+498+93824
MIME-Version: 1.0
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 15 May 2014 16:52:36 -0000

--------------------------------------------------------------------------=
------
This email newsletter was sent to you in graphical HTML format.
If you're seeing this version, your email program prefers plain text =
emails.
You can read the original version online:
http://ymlp218.net/zV94xQ
--------------------------------------------------------------------------=
------


MEMORIAL WEEKEND FREE SHIPPING SALE!!! (
http://hosierystreet.com/&refer=3Dem_md14 )

Dear Customer

Thank you so much for shopping at HosieryStreet.com

As in every email (just a few times a year) we would like to remind
you first and foremost that if you don't want to be on our sale list
please click on the unsubscribe link below and you will be removed
from this email list immediately. We do not want to SPAM anyone.
PLEASE DO NOT REPORT THIS AS SPAM.

ORDER TODAY!!! ( http://hosierystreet.com/&refer=3Dem_md14 )

The following is a few of our HOTTEST items you may be interested in:

5  HOTTEST DEALS FROM BESTFORM (
http://www.hosierystreet.com/system/scripts/search.cgi?&p=3D1&&Company=3DB=
estform&Submit2=3DSearch&action=3Dsearch&per_page=3D90&sort_by=3DBrand#Sea=
rch&refer=3Dem_md14
).

=C2=A0

NOW ONLY: $6.89

Bestform
Soft Cup Wide, camisole top band bottom . #6815 (6825)

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3Dbf68=
25&refer=3Dem_md14
)NOW ONLY: $6.99

Bestform
INVISABRA Undewire #6502
=C2=A0

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3Dbf65=
02&refer=3Dem_md14
)

NOW ONLY: $8.49

Bestform
Relax Wear # 6088
=C2=A0

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3Dbf60=
88&refer=3Dem_md14
)NOW ONLY: $9.99

Bestform
Shirred Front Sport Bra. #6040
=C2=A0

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3Dbef6=
040&refer=3Dem_md14
)NOW ONLY: $10.99

Bestform
Posture back sport bra with double lined front Cris-Cross

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3Dbef6=
092x&refer=3Dem_md14
)

or click here for more BestForm Bras at Greatly Discounted Prices...
(
http://www.hosierystreet.com/system/scripts/search.cgi?&p=3D1&&Company=3DB=
estform&Submit2=3DSearch&action=3Dsearch&per_page=3D90&sort_by=3DBrand#Sea=
rch&refer=3Dem_md14
)

=C2=A0

6 MORE  GREAT DEALS FROM VASSARETTE (
http://www.hosierystreet.com/system/scripts/search.cgi?&p=3D1&&txtSearch=
=3D&search_type=3Din_all&category=3D21&Company=3DVassarette&price_from=3D&=
price_to=3D&command=3Dadvance_search&action=3Dsearch&cmdGetCustomers=3DGet=
+Result&per_page=3D90&sort_by=3DBrand#Search&refer=3Dem_md14
).

=C2=A0

NOW ONLY: $3.99

Vassarette
Light Control Hi-Cut Brief

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3D48-0=
01&refer=3Dem_md14
)
NOW ONLY: $3.99

Vassarette
Light Control Brief

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3D40-0=
01&refer=3Dem_md14
)

NOW ONLY: $9.89

Vassarette
BodyCurves Microfiber Wireless Contour

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3D72-2=
39&refer=3Dem_md14
)NOW ONLY: $11.49

Vassarette
RealSexy Her Secret Push Up UW

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3D75-3=
20&refer=3Dem_md14
)

NOW ONLY: $5.99

Vassarette
RealSexy Skin Lace Contour UW. #75-400

Click here for more info >>> (
http://www.hosierystreet.com/system/scripts/results_big.cgi?product=3D75-4=
00&refer=3Dem_md14
)

or click here for more ON SALE Vassarette Bras...  (
http://www.hosierystreet.com/system/scripts/search.cgi?&p=3D1&&txtSearch=
=3D&search_type=3Din_all&category=3D21&Company=3DVassarette&price_from=3D&=
price_to=3D&command=3Dadvance_search&action=3Dsearch&cmdGetCustomers=3DGet=
+Result&per_page=3D90&sort_by=3DBrand#Search&refer=3Dem_md14
)

=C2=A0
-------------------------

PLEASE CHECK OUT OUR VANITY FAIR BRA LINE!!! (
http://www.hosierystreet.com/system/scripts/search.cgi?txtSearch=3D&search=
_type=3Din_all&category=3D21&Company=3DVanity+Fair&price_from=3D&price_to=
=3D&command=3Dadvance_search&action=3Dsearch&cmdGetCustomers=3DGet+Result&=
refer=3Dem_md14
)

=C2=A0MORE INFO >>> CLICK HERE >>> (
http://www.hosierystreet.com/system/scripts/search.cgi?txtSearch=3D&search=
_type=3Din_all&category=3D21&Company=3DVanity+Fair&price_from=3D&price_to=
=3D&command=3Dadvance_search&action=3Dsearch&cmdGetCustomers=3DGet+Result&=
refer=3Dem_md14
)

_____________________________
Unsubscribe / Change Profile: =
http://ymlp218.net/ugmjwyjqgsgymqejgjyqggeheeqy
Powered by YourMailingListProvider


From owner-freebsd-usb@FreeBSD.ORG  Mon May 19 11:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D146C5A2
 for <freebsd-usb@FreeBSD.org>; Mon, 19 May 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B44A72DD3
 for <freebsd-usb@FreeBSD.org>; Mon, 19 May 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4JB6sN3080204
 for <freebsd-usb@FreeBSD.org>; Mon, 19 May 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4JB6sMJ080202
 for freebsd-usb@FreeBSD.org; Mon, 19 May 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 19 May 2014 11:06:54 GMT
Message-Id: <201405191106.s4JB6sMJ080202@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 May 2014 11:06:54 -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/188999   usb        [scsi_da] [patch] QUIRK: ADATA USB Flash Drive
o usb/188829   usb        [atp] atp fails on Macbook Pro 4.1 [regression]
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/188046   usb        [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle s
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        [ums] ums module not loaded by devd for Razer Lachesis
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        [mic] Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [suspend/resume] [panic] Suspend when using USB disc a
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        [umass] FreeBSD 9.1 umass driver does not correctly ha
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] [suspend/resume] xhci driver bug after suspend 
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] [suspend/resume] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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] [suspend/resume] USB ports are no longer
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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/122905   usb        [ubsa] [patch] add Huawei E220 to ubsa
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [build] [patch] add WITHOUT_USB to allow to compile ou
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

330 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon May 19 21:21:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2D6DE92B;
 Mon, 19 May 2014 21:21:42 +0000 (UTC)
Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com
 [IPv6:2607:f8b0:4002:c07::231])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id DBAE9299E;
 Mon, 19 May 2014 21:21:41 +0000 (UTC)
Received: by mail-yk0-f177.google.com with SMTP id 19so4995431ykq.36
 for <multiple recipients>; Mon, 19 May 2014 14:21:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:cc:content-type;
 bh=SJBP7n+xLb6PGSFqedUjTD/zYOAlWIiyYJfxtzPqy5Y=;
 b=Di97SdPyhPLcnd9V6dtxrL/CygZlGw3S4Sq9Oi4wrjHjRHp3XfmwZHJUkOMxzUGS06
 UFHDfWXHIkkYNC0EFrmtmiE/eGICUWS51oMuH8ceBe6qS7IhoF6glyyOzmgFj9+zVjNL
 vCYQpvcIJFrIC7cc5xj6qdjffCgp+SFKobgDqG/npQGJsZRVwqFsuBe/Fc1d8gDmSZj8
 Il/1iHdoV+ugf6Lofeqpt8DA/iOQ7NarAdxVjexwnglVNcC+v8m7/C0GWDgikeHxdz5a
 bqebERv8XtIt5ZVvjPhDAkSmV/5iHwDQJwxjU2GKnaDmPSx94MOaOpUF4tjQQm5YvRjs
 qiMg==
MIME-Version: 1.0
X-Received: by 10.236.112.37 with SMTP id x25mr57851850yhg.26.1400534501097;
 Mon, 19 May 2014 14:21:41 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Mon, 19 May 2014 14:21:41 -0700 (PDT)
Date: Mon, 19 May 2014 23:21:41 +0200
Message-ID: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
Subject: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: freebsd-usb@freebsd.org, freebsd-wireless@freebsd.org
Content-Type: text/plain; charset=UTF-8
Cc: hps@bitfrost.no
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 May 2014 21:21:42 -0000

..while running a kernel that has rsu_debug set to >0.

Line 1712: "fault virtual address   = 0xffff804000000000"
core0.txt -> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt

HTH,

Idwer

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 01:22:14 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A7696D02;
 Tue, 20 May 2014 01:22:14 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7E74E2C1A;
 Tue, 20 May 2014 01:22:14 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4K1MEvl042795;
 Tue, 20 May 2014 01:22:14 GMT
 (envelope-from kevlo@freefall.freebsd.org)
Received: (from kevlo@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4K1MEYq042794;
 Tue, 20 May 2014 01:22:14 GMT (envelope-from kevlo)
Date: Tue, 20 May 2014 01:22:14 GMT
Message-Id: <201405200122.s4K1MEYq042794@freefall.freebsd.org>
To: djv+fbpr@iki.fi, kevlo@FreeBSD.org, freebsd-usb@FreeBSD.org
From: kevlo@FreeBSD.org
Subject: Re: usb/188046: [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle
 support
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 01:22:14 -0000

Synopsis: [usbdevs] [patch] ZyXEL NWD2105 wlan/wifi USB dongle support

State-Changed-From-To: open->closed
State-Changed-By: kevlo
State-Changed-When: Tue May 20 01:21:39 UTC 2014
State-Changed-Why: 
hselasky@ committed it in r263985.

http://www.freebsd.org/cgi/query-pr.cgi?pr=188046

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 05:46:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 67FD8D34;
 Tue, 20 May 2014 05:46:54 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 26E482E94;
 Tue, 20 May 2014 05:46:53 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 986B11FE029;
 Tue, 20 May 2014 07:46:48 +0200 (CEST)
Message-ID: <537AEC79.6080406@selasky.org>
Date: Tue, 20 May 2014 07:47:37 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>, freebsd-usb@freebsd.org, 
 freebsd-wireless@freebsd.org
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
In-Reply-To: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: hps@bitfrost.no
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 05:46:54 -0000

On 05/19/14 23:21, Idwer Vollering wrote:
> ..while running a kernel that has rsu_debug set to >0.
>
> Line 1712: "fault virtual address   = 0xffff804000000000"
> core0.txt -> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>
> HTH,

Hi,

Does this patch make any difference?

--HPS

=== ./if_rsu.c
==================================================================
--- ./if_rsu.c	(revision 266400)
+++ ./if_rsu.c	(local)
@@ -423,8 +423,6 @@
  	struct ifnet *ifp = sc->sc_ifp;
  	struct ieee80211com *ic = ifp->if_l2com;

-	if (!device_is_attached(self))
-		return (0);
  	rsu_stop(ifp, 1);
  	usbd_transfer_unsetup(sc->sc_xfer, RSU_N_TRANSFER);
  	ieee80211_ifdetach(ic);


From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 12:13:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6652E892;
 Tue, 20 May 2014 12:13:02 +0000 (UTC)
Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com
 [IPv6:2607:f8b0:4002:c01::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1E1B12ECC;
 Tue, 20 May 2014 12:13:02 +0000 (UTC)
Received: by mail-yh0-f47.google.com with SMTP id z6so251178yhz.6
 for <multiple recipients>; Tue, 20 May 2014 05:13:01 -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=5Ww9n81ADjuM1GSBC+jODb9T9cXCG9aOk5b1/qjQx9g=;
 b=vbHcaP5LpZCFawO2FyhzHJOJsYk526OT2ApuU0WxX7cV7rAWXp8xJS4lmJCn0nARrg
 2F2BZSGhwCAk+NGMvaEz/6i6m2hhgj2JN5dwm10r0lSLtOmF6V7QhfVEVgm/3JiPqj2A
 e4MK+ZlbIz1oKf8tei/W+Ilu7Ttgy2F4O6Trzz/IcFRxjbXsy7vihQ5AuglU/mq6mhdY
 FoWN6AFPoGhia/a94myiZ7bSanIEYdp5mz8I0T5MLcYOWnO5Xywxil7DjGgzRPaWsn7j
 Xsl04eECXfM4NWnF52qxWz/edyGS80N6ezj1viHfPXkxftz7uBlqp7n8SM148AQ0HDAZ
 oTzg==
MIME-Version: 1.0
X-Received: by 10.236.25.10 with SMTP id y10mr26130204yhy.63.1400587981329;
 Tue, 20 May 2014 05:13:01 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Tue, 20 May 2014 05:13:01 -0700 (PDT)
In-Reply-To: <537AEC79.6080406@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
Date: Tue, 20 May 2014 14:13:01 +0200
Message-ID: <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: hps@bitfrost.no, freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 12:13:02 -0000

2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> On 05/19/14 23:21, Idwer Vollering wrote:
>>
>> ..while running a kernel that has rsu_debug set to >0.
>>
>> Line 1712: "fault virtual address   = 0xffff804000000000"
>> core0.txt ->
>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>
>> HTH,
>
>
> Hi,
>
> Does this patch make any difference?

Yes, this solves the panic.

>
> --HPS
>
> === ./if_rsu.c
> ==================================================================
> --- ./if_rsu.c  (revision 266400)
> +++ ./if_rsu.c  (local)
> @@ -423,8 +423,6 @@
>         struct ifnet *ifp = sc->sc_ifp;
>         struct ieee80211com *ic = ifp->if_l2com;
>
> -       if (!device_is_attached(self))
> -               return (0);
>         rsu_stop(ifp, 1);
>         usbd_transfer_unsetup(sc->sc_xfer, RSU_N_TRANSFER);
>         ieee80211_ifdetach(ic);
>

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 12:23:43 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 32124C71;
 Tue, 20 May 2014 12:23:43 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E81EC2FAF;
 Tue, 20 May 2014 12:23:42 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 0F59F1FE029;
 Tue, 20 May 2014 14:23:42 +0200 (CEST)
Message-ID: <537B497E.8070701@selasky.org>
Date: Tue, 20 May 2014 14:24:30 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
In-Reply-To: <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 12:23:43 -0000

On 05/20/14 14:13, Idwer Vollering wrote:
> 2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>> On 05/19/14 23:21, Idwer Vollering wrote:
>>>
>>> ..while running a kernel that has rsu_debug set to >0.
>>>
>>> Line 1712: "fault virtual address   = 0xffff804000000000"
>>> core0.txt ->
>>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>>
>>> HTH,
>>
>>
>> Hi,
>>
>> Does this patch make any difference?
>
> Yes, this solves the panic.
>

Hi,

Please verify:

http://svnweb.freebsd.org/changeset/base/266466

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 15:00:24 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 97F4650C;
 Tue, 20 May 2014 15:00:24 +0000 (UTC)
Received: from mail-yh0-x236.google.com (mail-yh0-x236.google.com
 [IPv6:2607:f8b0:4002:c01::236])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4EE042E42;
 Tue, 20 May 2014 15:00:24 +0000 (UTC)
Received: by mail-yh0-f54.google.com with SMTP id i57so453157yha.13
 for <multiple recipients>; Tue, 20 May 2014 08:00:23 -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=LKR+2oz80BZlx3xJL5gdbeDJUwW4UwqaUTMetUnnMpA=;
 b=vSsnx2WOKpeW+G5xmVgNkmGtF45OG7cC/ItKLc/BLPVD6aYNygWtD25h2OpGnLeAUm
 BpMOZi9JZcLuwgXUMnkaALMmXNyuwFrJ0JIuZCocsxnfgmT3JxsL2y+L8E1rJ6NkTRGE
 ODxyB4PyzrduXhqhicokn87Ya6pBYY/UMasdBWsGnwSN2hzVG5iBtoPQ5OweLw4FNP7Y
 opq4B+JjX17z5wjKNRvrg0aNlbnZm7npZGwne9MS4xWo8IxI6gtd4GBzCkX0A+vkOlms
 XaHi36jX09mWQwK4nuTB+u7c+0o1vFd0eR5TgRd/oQbE4efLkiH5phRP4z1AQRz1pmGY
 vcRA==
MIME-Version: 1.0
X-Received: by 10.236.46.225 with SMTP id r61mr63001722yhb.107.1400598023460; 
 Tue, 20 May 2014 08:00:23 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Tue, 20 May 2014 08:00:23 -0700 (PDT)
In-Reply-To: <537B497E.8070701@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
Date: Tue, 20 May 2014 17:00:23 +0200
Message-ID: <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 15:00:24 -0000

2014-05-20 14:24 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> On 05/20/14 14:13, Idwer Vollering wrote:
>>
>> 2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>>>
>>> On 05/19/14 23:21, Idwer Vollering wrote:
>>>>
>>>>
>>>> ..while running a kernel that has rsu_debug set to >0.
>>>>
>>>> Line 1712: "fault virtual address   = 0xffff804000000000"
>>>> core0.txt ->
>>>>
>>>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>>>
>>>> HTH,
>>>
>>>
>>>
>>> Hi,
>>>
>>> Does this patch make any difference?
>>
>>
>> Yes, this solves the panic.
>>
>
> Hi,
>
> Please verify:
>
> http://svnweb.freebsd.org/changeset/base/266466
>
> --HPS

Looks good to me.. if only it wasn't panicking on insertion, again
with rsu_debug set to anything greater than 0 (5, in this case). The
panic on insertion is reproducable with otherwise unmodified r266465.
Any thoughts?

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 15:04:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 723EE79B;
 Tue, 20 May 2014 15:04:53 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 32A5C2ED1;
 Tue, 20 May 2014 15:04:53 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 13FE01FE026;
 Tue, 20 May 2014 17:04:52 +0200 (CEST)
Message-ID: <537B6F44.6070905@selasky.org>
Date: Tue, 20 May 2014 17:05:40 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
In-Reply-To: <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 15:04:53 -0000

On 05/20/14 17:00, Idwer Vollering wrote:
> 2014-05-20 14:24 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>> On 05/20/14 14:13, Idwer Vollering wrote:
>>>
>>> 2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>>>>
>>>> On 05/19/14 23:21, Idwer Vollering wrote:
>>>>>
>>>>>
>>>>> ..while running a kernel that has rsu_debug set to >0.
>>>>>
>>>>> Line 1712: "fault virtual address   = 0xffff804000000000"
>>>>> core0.txt ->
>>>>>
>>>>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>>>>
>>>>> HTH,
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> Does this patch make any difference?
>>>
>>>
>>> Yes, this solves the panic.
>>>
>>
>> Hi,
>>
>> Please verify:
>>
>> http://svnweb.freebsd.org/changeset/base/266466
>>
>> --HPS
>
> Looks good to me.. if only it wasn't panicking on insertion, again
> with rsu_debug set to anything greater than 0 (5, in this case). The
> panic on insertion is reproducable with otherwise unmodified r266465.
> Any thoughts?
>

Hi,

Can you get the backtrace of this panic?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 15:12:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DEC579CA;
 Tue, 20 May 2014 15:12:33 +0000 (UTC)
Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com
 [IPv6:2607:f8b0:4002:c07::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 945352FCF;
 Tue, 20 May 2014 15:12:33 +0000 (UTC)
Received: by mail-yk0-f179.google.com with SMTP id 19so447526ykq.38
 for <multiple recipients>; Tue, 20 May 2014 08:12:32 -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=LC4q8EEBWadKYdtbDr1P2BbXJtujiW4aAuSkUvZSqBg=;
 b=GwdX86+wujIHlN2tqSIP768jB4swPi3bfnoXIOH8IuU66aR0kqRPUPhJHMlV4/PLu9
 B+HFoJ+la3XTv53QR7O+O4aY3uPjL2BSWe3cvUAKDiY6he+cMYR1/JBDZoe8kANCpwO0
 dcU+YZ1vVoOOoqCSJvxoWVrdcC9omkvcLKK8z7GcYfGP74fPxMGueM+xJ6LJDHCQmuiy
 wKym+IctYdt+PfoZKscmktH9Kv+Ep6geRAQyzjAWYPfk8Ww4MAf1MnCx+7kvmehqu5tI
 KSYDKuIHaUtF3GZSNl7hOL91hWp/uiYj9fYlrz5ZS+tok6xEX9aLlzzjYAh6A8jLffya
 FzoA==
MIME-Version: 1.0
X-Received: by 10.236.112.37 with SMTP id x25mr65556397yhg.26.1400598752826;
 Tue, 20 May 2014 08:12:32 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Tue, 20 May 2014 08:12:32 -0700 (PDT)
In-Reply-To: <537B6F44.6070905@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
Date: Tue, 20 May 2014 17:12:32 +0200
Message-ID: <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 15:12:34 -0000

2014-05-20 17:05 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> On 05/20/14 17:00, Idwer Vollering wrote:
>>
>> 2014-05-20 14:24 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>>>
>>> On 05/20/14 14:13, Idwer Vollering wrote:
>>>>
>>>>
>>>> 2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>>>>>
>>>>>
>>>>> On 05/19/14 23:21, Idwer Vollering wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> ..while running a kernel that has rsu_debug set to >0.
>>>>>>
>>>>>> Line 1712: "fault virtual address   = 0xffff804000000000"
>>>>>> core0.txt ->
>>>>>>
>>>>>>
>>>>>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>>>>>
>>>>>> HTH,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Does this patch make any difference?
>>>>
>>>>
>>>>
>>>> Yes, this solves the panic.
>>>>
>>>
>>> Hi,
>>>
>>> Please verify:
>>>
>>> http://svnweb.freebsd.org/changeset/base/266466
>>>
>>> --HPS
>>
>>
>> Looks good to me.. if only it wasn't panicking on insertion, again
>> with rsu_debug set to anything greater than 0 (5, in this case). The
>> panic on insertion is reproducable with otherwise unmodified r266465.
>> Any thoughts?
>>
>
> Hi,
>
> Can you get the backtrace of this panic?
>
> --HPS

Hi,

Certainly, here it is:
http://ra.openbios.org/~idwer/freebsd/core.txt.9_fbsd_10-stable_rsu-panic-on-insertion

Idwer

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 18:22:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B7027FCB;
 Tue, 20 May 2014 18:22:04 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48B4B223A;
 Tue, 20 May 2014 18:22:04 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id D30431FE026;
 Tue, 20 May 2014 20:22:00 +0200 (CEST)
Message-ID: <537B9D78.3030103@selasky.org>
Date: Tue, 20 May 2014 20:22:48 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
In-Reply-To: <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 18:22:04 -0000

> Hi,
>
> Certainly, here it is:
> http://ra.openbios.org/~idwer/freebsd/core.txt.9_fbsd_10-stable_rsu-panic-on-insertion
>
> Idwer
>

Does the attached patch make any difference?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue May 20 22:16:03 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4FCDBC87;
 Tue, 20 May 2014 22:16:03 +0000 (UTC)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com
 [IPv6:2607:f8b0:4002:c07::230])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 0387B298F;
 Tue, 20 May 2014 22:16:02 +0000 (UTC)
Received: by mail-yk0-f176.google.com with SMTP id q9so921809ykb.35
 for <multiple recipients>; Tue, 20 May 2014 15:16:02 -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=mbNOHnCMO8R+23tuBi3p0dZAwuOQkHlPuNgUAio/hDI=;
 b=LAK/CZpXMCSB3DfvbA+3RhxD8K41/Ln5t+nywreHZ7EoG63j6oZIyINLq8IvAiGm3t
 vTjty/CeeaG/rGLnnBA2RWacQkqCcVEhJyptHk1Xn8ZkGwXbC9SlIWyoEwE8oMLxZlbB
 ZbKrH/a+sueekmefIpJm5crwnkAK9vWHw+JWCQd3ZzON8bLU+VLzEp40PNdlWyB7Yp9c
 PgaMxcH64NI1CUdJ3P9HjZS8f0ER/SUlQVxTsMCbUyY2XHtD8TsKzHwLZpTxO3vcnEhb
 IEE3C29W1FLtaC6Sg4P40x6x+7hL1Vdw5J3LdCns8zh6Wd/Mo1/dFne13E6Wd/e5m2vR
 1F9A==
MIME-Version: 1.0
X-Received: by 10.236.172.170 with SMTP id t30mr19158918yhl.136.1400624162152; 
 Tue, 20 May 2014 15:16:02 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Tue, 20 May 2014 15:16:02 -0700 (PDT)
In-Reply-To: <537B9D78.3030103@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
 <537B9D78.3030103@selasky.org>
Date: Wed, 21 May 2014 00:16:02 +0200
Message-ID: <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 22:16:03 -0000

2014-05-20 20:22 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>> Hi,
>>
>> Certainly, here it is:
>>
>> http://ra.openbios.org/~idwer/freebsd/core.txt.9_fbsd_10-stable_rsu-panic-on-insertion
>>
>> Idwer
>>
>
> Does the attached patch make any difference?
>
> --HPS

Yes, it seems to improve the situation.
Apparently putting "wlandebug_wlan2=0x40000000" in /etc/rc.conf and
compiling+booting with rsu_debug=5 triggers the panic.

A verbose boot, so that debug.boothowto=2048 and debug.bootverbose=1,
doesn't seem to influence behaviour.

From owner-freebsd-usb@FreeBSD.ORG  Wed May 21 06:25:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9B8E7E87;
 Wed, 21 May 2014 06:25:41 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 59FE22F4F;
 Wed, 21 May 2014 06:25:41 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 293621FE026;
 Wed, 21 May 2014 08:25:39 +0200 (CEST)
Message-ID: <537C4712.908@selasky.org>
Date: Wed, 21 May 2014 08:26:26 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>
 <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
In-Reply-To: <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2014 06:25:41 -0000

On 05/21/14 00:16, Idwer Vollering wrote:
> 2014-05-20 20:22 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>>> Hi,
>>>
>>> Certainly, here it is:
>>>
>>> http://ra.openbios.org/~idwer/freebsd/core.txt.9_fbsd_10-stable_rsu-panic-on-insertion
>>>
>>> Idwer
>>>
>>
>> Does the attached patch make any difference?
>>
>> --HPS
>
> Yes, it seems to improve the situation.
> Apparently putting "wlandebug_wlan2=0x40000000" in /etc/rc.conf and
> compiling+booting with rsu_debug=5 triggers the panic.
>
> A verbose boot, so that debug.boothowto=2048 and debug.bootverbose=1,
> doesn't seem to influence behaviour.
>

Hi,

Can you SVN up to:

http://svnweb.freebsd.org/changeset/base/266484

at least, and compile a new kernel and modules without any additional 
patches.

Then send backtrace of any new panics.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed May 21 14:23:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id EC0DE646;
 Wed, 21 May 2014 14:23:31 +0000 (UTC)
Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com
 [IPv6:2607:f8b0:4002:c01::22c])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9ECCC2C22;
 Wed, 21 May 2014 14:23:31 +0000 (UTC)
Received: by mail-yh0-f44.google.com with SMTP id b6so1706514yha.31
 for <multiple recipients>; Wed, 21 May 2014 07:23:30 -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=XP03jHIrrBBsUdc6iDTsRK7qmrUJbucpVBC+67Ytxik=;
 b=dYT2Ei9LGCzU0NBFOBf0ePSS8ES/BCo5tocVrFmFWzkI40j5Mg/8PyVyLFivTocz22
 lbteEkqjaOsSS+1pJlm7j4C1t8O4MJ/qhsFvT2fOIW8yWwvmyfrbwQ65wIbO3q8ymune
 CbO7nPYnu6wd48/f1j7pfD1Cy/1emJIDZsVSWf8DO660ShqoBS0IEACqeodZhMSthtrV
 RQQPg40FAQ8BSwyxxYr9U6J7LUYb1QtJ4REHjnffxrLZE6JGFfQAh+rAgfvvUmz+8Se8
 UNabj0/UGz3nIH8KfuBDSOAH1kRHlfGV84oDYhoQtQlG3eSqyMUtB6xieTyZrkLi07d+
 ZUOw==
MIME-Version: 1.0
X-Received: by 10.236.25.10 with SMTP id y10mr38868505yhy.63.1400682210839;
 Wed, 21 May 2014 07:23:30 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Wed, 21 May 2014 07:23:30 -0700 (PDT)
In-Reply-To: <537C4712.908@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
 <537B9D78.3030103@selasky.org>
 <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
 <537C4712.908@selasky.org>
Date: Wed, 21 May 2014 16:23:30 +0200
Message-ID: <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2014 14:23:32 -0000

2014-05-21 8:26 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> Hi,
>
> Can you SVN up to:
>
> http://svnweb.freebsd.org/changeset/base/266484
>
> at least, and compile a new kernel and modules without any additional
> patches.

As said earlier, the only local change is 'int rsu_debug=5'.

> Then send backtrace of any new panics.

http://ra.openbios.org/~idwer/freebsd/core.txt.0_fbsd-current-r266496-rsu-panic-insertion

>
> --HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed May 21 15:22:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DD8D93B8;
 Wed, 21 May 2014 15:22:16 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7EFB3210B;
 Wed, 21 May 2014 15:22:15 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 558331FE026;
 Wed, 21 May 2014 17:22:08 +0200 (CEST)
Message-ID: <537CC4CF.9030509@selasky.org>
Date: Wed, 21 May 2014 17:22:55 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>	<CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>	<537C4712.908@selasky.org>
 <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
In-Reply-To: <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2014 15:22:17 -0000

On 05/21/14 16:23, Idwer Vollering wrote:
> 2014-05-21 8:26 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>> Hi,
>>
>> Can you SVN up to:
>>
>> http://svnweb.freebsd.org/changeset/base/266484
>>
>> at least, and compile a new kernel and modules without any additional
>> patches.
>
> As said earlier, the only local change is 'int rsu_debug=5'.
>
>> Then send backtrace of any new panics.
>
> http://ra.openbios.org/~idwer/freebsd/core.txt.0_fbsd-current-r266496-rsu-panic-insertion
>
>>
>> --HPS
>

Hi,

Can you try the attached patch and report back?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed May 21 17:34:19 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 390949E1;
 Wed, 21 May 2014 17:34:19 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EAA852CF0;
 Wed, 21 May 2014 17:34:18 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 434E01FE026;
 Wed, 21 May 2014 19:34:18 +0200 (CEST)
Message-ID: <537CE3C9.7090807@selasky.org>
Date: Wed, 21 May 2014 19:35:05 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>	<CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>	<537C4712.908@selasky.org>
 <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
 <537CC4CF.9030509@selasky.org>
In-Reply-To: <537CC4CF.9030509@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2014 17:34:19 -0000

FYI:

http://svnweb.freebsd.org/changeset/base/266505

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed May 21 21:23:14 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6ED97671;
 Wed, 21 May 2014 21:23:14 +0000 (UTC)
Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com
 [IPv6:2607:f8b0:4002:c01::234])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2022F21FC;
 Wed, 21 May 2014 21:23:14 +0000 (UTC)
Received: by mail-yh0-f52.google.com with SMTP id z6so2209188yhz.39
 for <multiple recipients>; Wed, 21 May 2014 14:23:13 -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=PvBeKrPOUeqI1pjhrHW55cVx81uf5Rrq3PHAsOs7qZc=;
 b=ZxWf199owPd/V+rTk/HfEcuMYjZGa+3rBARkfUVNB7M/k8DawKJDa+5OhfH8+fcC7a
 19cqZmDHauRZ4WnfD8hOWdJiJuI4Q3ZMXLNVV5f9S1znLnCYzuY1vzvmBXzJ9b0qtB8K
 EoQBFXkk9YOjs8mDemgkaRfx1lD9kvsLZV7/euuIrSfzacC7nHzZPFgNDHeW7sfVmWr3
 dXIHUB6anNtMYGMFyXgjb+tR8iWTXA2RFsNCxpy/s9UVC89Jbi57o+oitsZJxyQPHFsN
 PCE60yIYHhfJn/z+l18lWTebBiGDCQBCrB1secS6+GKuKsjZG7umim/VGEGoMfntmHNE
 y7Yw==
MIME-Version: 1.0
X-Received: by 10.236.172.170 with SMTP id t30mr29987380yhl.136.1400707393354; 
 Wed, 21 May 2014 14:23:13 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Wed, 21 May 2014 14:23:13 -0700 (PDT)
In-Reply-To: <537CE3C9.7090807@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
 <537B9D78.3030103@selasky.org>
 <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
 <537C4712.908@selasky.org>
 <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
 <537CC4CF.9030509@selasky.org> <537CE3C9.7090807@selasky.org>
Date: Wed, 21 May 2014 23:23:13 +0200
Message-ID: <CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 21 May 2014 21:23:14 -0000

2014-05-21 19:35 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> FYI:
>
> http://svnweb.freebsd.org/changeset/base/266505
>
> --HPS

Newer backtrace:
http://ra.openbios.org/~idwer/freebsd/core.txt.0_fbsd-current-r266514-rsu-panic-insertion

From owner-freebsd-usb@FreeBSD.ORG  Thu May 22 06:28:59 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E743CB9D;
 Thu, 22 May 2014 06:28:59 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9C9972CA6;
 Thu, 22 May 2014 06:28:58 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id B37121FE026;
 Thu, 22 May 2014 08:28:56 +0200 (CEST)
Message-ID: <537D9955.3070001@selasky.org>
Date: Thu, 22 May 2014 08:29:41 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>	<CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>	<537C4712.908@selasky.org>	<CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>	<537CC4CF.9030509@selasky.org>	<537CE3C9.7090807@selasky.org>
 <CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>
In-Reply-To: <CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 06:29:00 -0000

On 05/21/14 23:23, Idwer Vollering wrote:
> 2014-05-21 19:35 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>> FYI:
>>
>> http://svnweb.freebsd.org/changeset/base/266505
>>
>> --HPS
>
> Newer backtrace:
> http://ra.openbios.org/~idwer/freebsd/core.txt.0_fbsd-current-r266514-rsu-panic-insertion
>

Hi,

Try this:

http://svnweb.freebsd.org/changeset/base/266535

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Thu May 22 11:22:46 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DC814DC4;
 Thu, 22 May 2014 11:22:46 +0000 (UTC)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com
 [IPv6:2607:f8b0:4002:c01::22d])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 8B9FD26EF;
 Thu, 22 May 2014 11:22:46 +0000 (UTC)
Received: by mail-yh0-f45.google.com with SMTP id b6so2795203yha.32
 for <multiple recipients>; Thu, 22 May 2014 04:22:45 -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:content-transfer-encoding;
 bh=RvZ34x+tXvsXPCxoT4+Ek3Ch2WPXllyHTHR1xixJeqc=;
 b=bV/FRUp2FgZNldwwgqSuhvwkjYmRFYaqs5FRitYFpsF1FzTRh8Bm45EWm/wi9o5EFw
 ty0jt6s5ZIemDzXak3NvAKPoDTYK0B6NA8oPo0n/6+W5V/75aydCTFCtEdjuBGYKOS7q
 jQ+mAHcGvg/jkmJLdLRcIxKih5ahWfk726JLmFnNQ2vdPZNtRdW3U0zWIqZXnqJabLJq
 4k26OcmlbHwtr9hNChqBfUZaMmb7aUjO6N1iWkUKT0qQRGsFOOWh72TUpLp/Bc6eUmLU
 l3LavAzrRoHjyyzCou4nPzj8WanU+hdatr7Q0qwxzEYFWkQmB+Yu7hNRrZB1B2XvRrqu
 Ym5w==
MIME-Version: 1.0
X-Received: by 10.236.127.109 with SMTP id c73mr40449043yhi.1.1400757765779;
 Thu, 22 May 2014 04:22:45 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Thu, 22 May 2014 04:22:45 -0700 (PDT)
In-Reply-To: <537D9955.3070001@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
 <537B9D78.3030103@selasky.org>
 <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
 <537C4712.908@selasky.org>
 <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
 <537CC4CF.9030509@selasky.org> <537CE3C9.7090807@selasky.org>
 <CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>
 <537D9955.3070001@selasky.org>
Date: Thu, 22 May 2014 13:22:45 +0200
Message-ID: <CAPp9Orn4AttGuR93V8h-ErWALHpbGN0JzshK24mKYtUdYgYevw@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 11:22:46 -0000

2014-05-22 8:29 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
>
> Hi,
>
> Try this:
>
> http://svnweb.freebsd.org/changeset/base/266535
>
> --HPS

That is much better, thanks.
As in: the panics are gone, although wpa_supplicant won't bring IP up:

ugen3.3: <vendor 0x0bda> at usbus3
rsu0: <vendor 0x0bda product 0x8171, class 0/0, rev 2.00/2.00, addr 3> on u=
sbus3
rsu_do_request: Control request failed, USB_ERR_TIMEOUT (retrying)

29:81:00:00:a9:16:00:00:da:0b:71:81:90:85:62:9c:06:00:00:e0:4c:04:52:a3:17:=
03:4d:61:6e:75:66:61:63:74:75:72:65:72:20:52:65:61:6c:74:65:6b:20:18:03:52:=
54:4c:38:31:38:38:53:20:57:4c:41:4e:20:41:64:61:70:74:65:72:20:00:00:00:00:=
00:00:00:00:00:02:05:00:00:00:27:27:27:1b:1b:1b:28:29:29:2d:2d:2d:2d:2d:2d:=
2d:2d:2d:44:12:00:00:09:0d:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:=
00:00:00:
rsu0: MAC/BB RTL8712 cut 3
rsu0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
rsu0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wlan2: bpf attached
wlan2: bpf attached
wlan2: Ethernet address: <snip>
wlan2: start running, 0 vaps running
wlan2: ieee80211_start_locked: up parent rsu0
rsu_do_request: Control request failed, USB_ERR_TIMEOUT (retrying)
firmware: 'rsu-rtl8712fw' version 120: 122328 bytes loaded at 0xffffffff820=
551e0
rsu_load_firmware: FW V4588 05-30 16:53
rsu_fw_loadsection: starting transfer 0xfffffe0005ff47d8
(output abbreviated)
rsu_bulk_tx_callback_sub: submitting transfer 0xfffffe0005ff47d8
rsu_bulk_tx_callback_sub: transfer done 0xfffffe0005ff47d8
(output abbreviated)
rsu_bulk_tx_callback_sub: empty pending queue sc 0xfffffe0005ff2000
rsu_fw_loadsection: starting transfer 0xfffffe0005ff42f8
(output abbreviated)
rsu_bulk_tx_callback_sub: submitting transfer 0xfffffe0005ff42f8
rsu_bulk_tx_callback_sub: transfer done 0xfffffe0005ff42f8
(output abbreviated)
rsu0: timeout waiting for EMEM transfer
wlan2: start running, 1 vaps running
May 22 13:14:07 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D103,
val=3D0, arg_len=3D128]: Device not configured
ugen3.3: <vendor 0x0bda> at usbus3 (disconnected)
rsu0: at uhub1, port 2, addr 3 (disconnected)
wlan2: stop running, 1 vaps running
rsu_newstate: INIT -> INIT
May 22 13:14:19 machete last message repeated 12 times
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D25,
val=3D0, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D95,
val=3D208, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D17,
val=3D0, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D26,
val=3D0, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D95,
val=3D208, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D17,
val=3D0, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D26,
val=3D0, arg_len=3D0]: Device not configured
May 22 13:14:19 machete wpa_supplicant[822]: ioctl[SIOCS80211, op=3D16,
val=3D1, arg_len=3D0]: Device not configured

From owner-freebsd-usb@FreeBSD.ORG  Thu May 22 11:51:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8DC0155C;
 Thu, 22 May 2014 11:51:17 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4398E2993;
 Thu, 22 May 2014 11:51:16 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 307D51FE026;
 Thu, 22 May 2014 13:51:16 +0200 (CEST)
Message-ID: <537DE4DF.1060703@selasky.org>
Date: Thu, 22 May 2014 13:51:59 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>	<CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>	<537C4712.908@selasky.org>	<CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>	<537CC4CF.9030509@selasky.org>	<537CE3C9.7090807@selasky.org>	<CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>	<537D9955.3070001@selasky.org>
 <CAPp9Orn4AttGuR93V8h-ErWALHpbGN0JzshK24mKYtUdYgYevw@mail.gmail.com>
In-Reply-To: <CAPp9Orn4AttGuR93V8h-ErWALHpbGN0JzshK24mKYtUdYgYevw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 11:51:17 -0000

On 05/22/14 13:22, Idwer Vollering wrote:
> rsu0: timeout waiting for EMEM transfer

Does this patch make any difference:

=== ./if_rsu.c
==================================================================
--- ./if_rsu.c	(revision 266539)
+++ ./if_rsu.c	(local)
@@ -2220,13 +2220,13 @@
  		goto fail;
  	}
  	/* Wait for load to complete. */
-	for (ntries = 0; ntries != 10; ntries++) {
+	for (ntries = 0; ntries != 50; ntries++) {
  		usb_pause_mtx(&sc->sc_mtx, hz / 100);
  		reg = rsu_read_2(sc, R92S_TCR);
  		if (reg & R92S_TCR_EMEM_CODE_DONE)
  			break;
  	}
-	if (ntries == 10) {
+	if (ntries == 50) {
  		device_printf(sc->sc_dev, "timeout waiting for EMEM transfer\n");
  		error = ETIMEDOUT;
  		goto fail;


From owner-freebsd-usb@FreeBSD.ORG  Thu May 22 18:35:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E53C49A6;
 Thu, 22 May 2014 18:34:59 +0000 (UTC)
Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com
 [IPv6:2607:f8b0:4002:c07::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 91D702E56;
 Thu, 22 May 2014 18:34:59 +0000 (UTC)
Received: by mail-yk0-f171.google.com with SMTP id 142so3133874ykq.2
 for <multiple recipients>; Thu, 22 May 2014 11:34:58 -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=3Ib7nuTrZlVZSjptX53cLyqBmAM/vw/cm17DKD9BIiw=;
 b=dQ9U6isZE3rpT3sjz5Pmvz2kQ51Q6BT0YoIm/sm63N++IAyZo2PZU+CD9Yy6Q7/9Gd
 O7UeInss19SLMnp9+fr8owY9HHBHIyDDCHgfMOAmxuh5xpn+0WpMMhlR38Bm3Wwzoiet
 vyjNjimBJm+EpP0I0/XBiSyiQRNLVWhbv6j5mFmz/pfC1Z/eMGq0vVD9U0lle/7QN3Wv
 K3UiuX21H7IIBpdgxNTvY5SmeX2aDLBjJ8ElskUqvYAY9r1YW5hTQ0cZJE6MemcgXNcv
 gCodl5A9Y+kZ9iOqaO6FptokWpLrLbWecD/0GZVW//x10RLc5pM4XSNvJYLMXxPZdnm+
 w1Aw==
MIME-Version: 1.0
X-Received: by 10.236.172.170 with SMTP id t30mr39281569yhl.136.1400783698721; 
 Thu, 22 May 2014 11:34:58 -0700 (PDT)
Received: by 10.170.89.65 with HTTP; Thu, 22 May 2014 11:34:58 -0700 (PDT)
In-Reply-To: <537DE4DF.1060703@selasky.org>
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
 <537AEC79.6080406@selasky.org>
 <CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>
 <537B497E.8070701@selasky.org>
 <CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>
 <537B6F44.6070905@selasky.org>
 <CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>
 <537B9D78.3030103@selasky.org>
 <CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>
 <537C4712.908@selasky.org>
 <CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>
 <537CC4CF.9030509@selasky.org> <537CE3C9.7090807@selasky.org>
 <CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>
 <537D9955.3070001@selasky.org>
 <CAPp9Orn4AttGuR93V8h-ErWALHpbGN0JzshK24mKYtUdYgYevw@mail.gmail.com>
 <537DE4DF.1060703@selasky.org>
Date: Thu, 22 May 2014 20:34:58 +0200
Message-ID: <CAPp9OrkSHzwmMOhPXDo2Hab0_XgMpa1kQwMzOCimHMSzf8hbdw@mail.gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
From: Idwer Vollering <vidwer@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 18:35:00 -0000

2014-05-22 13:51 GMT+02:00 Hans Petter Selasky <hps@selasky.org>:
> On 05/22/14 13:22, Idwer Vollering wrote:
>>
>> rsu0: timeout waiting for EMEM transfer
>
>
> Does this patch make any difference:
>
> === ./if_rsu.c
> ==================================================================
> --- ./if_rsu.c  (revision 266539)
> +++ ./if_rsu.c  (local)
> @@ -2220,13 +2220,13 @@
>                 goto fail;
>         }
>         /* Wait for load to complete. */
> -       for (ntries = 0; ntries != 10; ntries++) {
> +       for (ntries = 0; ntries != 50; ntries++) {
>                 usb_pause_mtx(&sc->sc_mtx, hz / 100);
>                 reg = rsu_read_2(sc, R92S_TCR);
>                 if (reg & R92S_TCR_EMEM_CODE_DONE)
>                         break;
>         }
> -       if (ntries == 10) {
> +       if (ntries == 50) {
>                 device_printf(sc->sc_dev, "timeout waiting for EMEM
> transfer\n");
>                 error = ETIMEDOUT;
>                 goto fail;
>

Hi,

This patch again improves its stability, but the interface keeps flapping:

May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=20,
val=0, arg_len=7]: Device not configured
May 22 20:29:03 machete last message repeated 3 times
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=25,
val=0, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=95,
val=208, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=17,
val=0, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=26,
val=0, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=95,
val=208, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=17,
val=0, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=26,
val=0, arg_len=0]: Device not configured
May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=16,
val=1, arg_len=0]: Device not configured

May 22 20:30:27 machete dhclient[2734]: send_packet: Invalid argument
wlan2: link state changed to UP
wlan2: link state changed to DOWN
wlan2: link state changed to UP
wlan2: link state changed to DOWN
May 22 20:30:27 machete dhclient[2734]: send_packet: Invalid argument
wlan2: link state changed to UP
May 22 20:30:36 machete dhclient[2734]: send_packet: No buffer space available
wlan2: link state changed to DOWN
wlan2: link state changed to UP
May 22 20:31:03 machete dhclient[2734]: send_packet: No buffer space available

From owner-freebsd-usb@FreeBSD.ORG  Thu May 22 18:37:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BFE56A40;
 Thu, 22 May 2014 18:37:30 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 742992E88;
 Thu, 22 May 2014 18:37:30 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id C28B41FE026;
 Thu, 22 May 2014 20:37:22 +0200 (CEST)
Message-ID: <537E440E.5010208@selasky.org>
Date: Thu, 22 May 2014 20:38:06 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Idwer Vollering <vidwer@gmail.com>
Subject: Re: if_rsu hardware causes a kernel panic on removal..
References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>	<537AEC79.6080406@selasky.org>	<CAPp9Ork4H=v+udbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4+J=w@mail.gmail.com>	<537B497E.8070701@selasky.org>	<CAPp9Or=yUXU2adQP5qppjwWJDJA3q-Ns+abRi=bRmwKtg9qaHw@mail.gmail.com>	<537B6F44.6070905@selasky.org>	<CAPp9Or=xuKzsa3zydfvfbjNxJh0m48q9RnHdg2YEnXAExQUhTQ@mail.gmail.com>	<537B9D78.3030103@selasky.org>	<CAPp9Ork1NUxMwZJyPGsN__X9p+MiwM4qxB7YMAZK1WzrTqJ07w@mail.gmail.com>	<537C4712.908@selasky.org>	<CAPp9Orks1MCdDW2J+5CWe6GX9qBujvEFzazffstmHZtO9_FA0g@mail.gmail.com>	<537CC4CF.9030509@selasky.org>	<537CE3C9.7090807@selasky.org>	<CAPp9OrnAUU+nm0e_0Uq9V=mPiC8y8zavQCCFsA5AYRCcEed+bA@mail.gmail.com>	<537D9955.3070001@selasky.org>	<CAPp9Orn4AttGuR93V8h-ErWALHpbGN0JzshK24mKYtUdYgYevw@mail.gmail.com>	<537DE4DF.1060703@selasky.org>
 <CAPp9OrkSHzwmMOhPXDo2Hab0_XgMpa1kQwMzOCimHMSzf8hbdw@mail.gmail.com>
In-Reply-To: <CAPp9OrkSHzwmMOhPXDo2Hab0_XgMpa1kQwMzOCimHMSzf8hbdw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 18:37:30 -0000

On 05/22/14 20:34, Idwer Vollering wrote:
> Hi,
>
> This patch again improves its stability, but the interface keeps flapping:
>
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=20,
> val=0, arg_len=7]: Device not configured
> May 22 20:29:03 machete last message repeated 3 times
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=25,
> val=0, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=95,
> val=208, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=17,
> val=0, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=26,
> val=0, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=95,
> val=208, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=17,
> val=0, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=26,
> val=0, arg_len=0]: Device not configured
> May 22 20:29:03 machete wpa_supplicant[2211]: ioctl[SIOCS80211, op=16,
> val=1, arg_len=0]: Device not configured
>
> May 22 20:30:27 machete dhclient[2734]: send_packet: Invalid argument
> wlan2: link state changed to UP
> wlan2: link state changed to DOWN
> wlan2: link state changed to UP
> wlan2: link state changed to DOWN
> May 22 20:30:27 machete dhclient[2734]: send_packet: Invalid argument
> wlan2: link state changed to UP
> May 22 20:30:36 machete dhclient[2734]: send_packet: No buffer space available
> wlan2: link state changed to DOWN
> wlan2: link state changed to UP
> May 22 20:31:03 machete dhclient[2734]: send_packet: No buffer space available
>

Hi,

I guess you need to enable rsu debugging to figure out why the hardware 
reports link loss.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sat May 24 18:43:29 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id EADE1B45
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 18:43:29 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id CF698230F
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 18:43:29 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 9EFBF3ADFA
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 11:43:28 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: freebsd-usb@freebsd.org
Subject: Do _any_ USB 3.0 cards actually work?
Date: Sat, 24 May 2014 11:43:28 -0700
Message-ID: <8212.1400957008@server1.tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 24 May 2014 18:43:30 -0000



I onw a 1TB HGST laptop drive.  This has been installed into a
Patroit[tm] brand "Gauntlet II" external USB 3.0 enclosure.

This drive has had all built-in diagnostics run on it, and it
is perfectly A-OK.  It works compltely fine with no problems
on multiple Linux systems I have here.

The motherboard on my main FreeBSD system is an ASRock N68C-GC FX,
and to that I have added one of these add-on USB 3.0 cards:

  http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-00002

Unfortunately, the drive is not working at all with this system
or this card.  When the device is plugged into one of the USB 3.0
ports I get these messages in /var/log/messages:

May 23 22:45:04 segfault kernel: xhci_do_command: Command timeout!
May 23 22:45:04 segfault kernel: usb_alloc_device: device init 3 failed (USB_ERR_TIMEOUT, ignored)
May 23 22:45:04 segfault kernel: ugen2.3: <Unknown> at usbus2 (disconnected)
May 23 22:45:04 segfault kernel: uhub_reattach_port: could not allocate new device

No other messages appear in the log, and quite obviously, the drive
is utterly inaccessible to FreeBSD.

This is extraoordinarily annoying, as I spend good money to buy this
add-in USB 3.0 card in the hopes that it would solve the problems
that I previously had with FreeBSD and a different USB 3.0 card,
and now it is all useless.

Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
is alleged to contain?

Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
just a far off dream?


P.S.  I know that FreeBSD doesn't have nearly as many people
working on it as Linux does, but I didn't really expect it to
be quite this far behind in terms of driver support for USB 3.0.
I mean how long has USB 3.0 been out now?  Five+ years??

From owner-freebsd-usb@FreeBSD.ORG  Sat May 24 18:54:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 08A74CFE
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 18:54:33 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BFC9A23D5
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 18:54:32 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 7BF471FE026;
 Sat, 24 May 2014 20:54:31 +0200 (CEST)
Message-ID: <5380EB10.9030109@selasky.org>
Date: Sat, 24 May 2014 20:55:12 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>, 
 freebsd-usb@freebsd.org
Subject: Re: Do _any_ USB 3.0 cards actually work?
References: <8212.1400957008@server1.tristatelogic.com>
In-Reply-To: <8212.1400957008@server1.tristatelogic.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 24 May 2014 18:54:33 -0000

On 05/24/14 20:43, Ronald F. Guilmette wrote:
>
>
> I onw a 1TB HGST laptop drive.  This has been installed into a
> Patroit[tm] brand "Gauntlet II" external USB 3.0 enclosure.
>
> This drive has had all built-in diagnostics run on it, and it
> is perfectly A-OK.  It works compltely fine with no problems
> on multiple Linux systems I have here.
>
> The motherboard on my main FreeBSD system is an ASRock N68C-GC FX,
> and to that I have added one of these add-on USB 3.0 cards:
>
>    http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-00002
>
> Unfortunately, the drive is not working at all with this system
> or this card.  When the device is plugged into one of the USB 3.0
> ports I get these messages in /var/log/messages:
>
> May 23 22:45:04 segfault kernel: xhci_do_command: Command timeout!
> May 23 22:45:04 segfault kernel: usb_alloc_device: device init 3 failed (USB_ERR_TIMEOUT, ignored)
> May 23 22:45:04 segfault kernel: ugen2.3: <Unknown> at usbus2 (disconnected)
> May 23 22:45:04 segfault kernel: uhub_reattach_port: could not allocate new device
>
> No other messages appear in the log, and quite obviously, the drive
> is utterly inaccessible to FreeBSD.
>
> This is extraoordinarily annoying, as I spend good money to buy this
> add-in USB 3.0 card in the hopes that it would solve the problems
> that I previously had with FreeBSD and a different USB 3.0 card,
> and now it is all useless.
>
> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
> is alleged to contain?
>
> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
> just a far off dream?
>
>
> P.S.  I know that FreeBSD doesn't have nearly as many people
> working on it as Linux does, but I didn't really expect it to
> be quite this far behind in terms of driver support for USB 3.0.
> I mean how long has USB 3.0 been out now?  Five+ years??

Hi,

What version of FreeBSD are you running. Have you tried -stable?

Yes, USB 3.0 _works_ with FreeBSD.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Sat May 24 21:51:24 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6E0F911C
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 21:51:24 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CB751215E
 for <freebsd-usb@freebsd.org>; Sat, 24 May 2014 21:51:23 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-122-100.lns20.adl2.internode.on.net
 [118.210.122.100]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4OLlmtb030573
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Sun, 25 May 2014 07:17:58 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: Do _any_ USB 3.0 cards actually work?
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_530BB20D-5DE1-4576-9E06-69F8FEADE141";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <8212.1400957008@server1.tristatelogic.com>
Date: Sun, 25 May 2014 07:17:48 +0930
Message-Id: <8021B607-B94B-4A2D-8B0A-A63A88094C9D@gsoft.com.au>
References: <8212.1400957008@server1.tristatelogic.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 24 May 2014 21:51:24 -0000


--Apple-Mail=_530BB20D-5DE1-4576-9E06-69F8FEADE141
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 25 May 2014, at 4:13, Ronald F. Guilmette <rfg@tristatelogic.com> =
wrote:
> This is extraoordinarily annoying, as I spend good money to buy this
> add-in USB 3.0 card in the hopes that it would solve the problems
> that I previously had with FreeBSD and a different USB 3.0 card,
> and now it is all useless.
>=20
> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
> is alleged to contain?
>=20
> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
> just a far off dream?

I have 2 USB3 cards, one works and one doesn't, unfortunately I haven't =
been able to determine why as yet.

> P.S.  I know that FreeBSD doesn't have nearly as many people
> working on it as Linux does, but I didn't really expect it to
> be quite this far behind in terms of driver support for USB 3.0.
> I mean how long has USB 3.0 been out now?  Five+ years??

This isn't a helpful thing to say when you're using a volunteer project.

--
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







--Apple-Mail=_530BB20D-5DE1-4576-9E06-69F8FEADE141
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgROE5ZPcIHs/zowRAuo3AJ42Kqf+5KyCgINz25QlgqIpJ0ebQQCeM45Y
9nIZ5IUzezzPl8lzskTNhOM=
=eBGE
-----END PGP SIGNATURE-----

--Apple-Mail=_530BB20D-5DE1-4576-9E06-69F8FEADE141--

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 00:18:56 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CA2312CE
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 00:18:56 +0000 (UTC)
Received: from BAY004-OMC4S5.hotmail.com (bay004-omc4s5.hotmail.com
 [65.54.190.207]) by mx1.freebsd.org (Postfix) with ESMTP id AE1BD2A5F
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 00:18:56 +0000 (UTC)
Received: from BAY174-DS6 ([65.54.190.201]) by BAY004-OMC4S5.hotmail.com with
 Microsoft SMTPSVC(7.5.7601.22678); Sat, 24 May 2014 17:17:50 -0700
X-TMN: [OeVwJ055G3cUloA8iWCc1EPqSasqQfSp]
X-Originating-Email: [jwithana@hotmail.com]
Message-ID: <BAY174-DS6DAF9E1D204D457B1B6A0C9380@phx.gbl>
From: "Janaka Withana" <jwithana@hotmail.com>
To: "Hans Petter Selasky" <hans.petter.selasky@bitfrost.no>,
 <freebsd-usb@freebsd.org>
References: <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>
 <zarafa.51f4da97.6a66.4a121951128a3613@mail.lockless.no>
In-Reply-To: <zarafa.51f4da97.6a66.4a121951128a3613@mail.lockless.no>
Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc:20,
 0 (Invalid command operation code)
Date: Sat, 24 May 2014 20:17:47 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
X-OriginalArrivalTime: 25 May 2014 00:17:50.0245 (UTC)
 FILETIME=[C3592D50:01CF77AE]
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 00:18:56 -0000

RE: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation =
code)greetings =E2=80=93 just checking this will work in 9.2? appears =
the issue still exists...

From: Hans Petter Selasky=20
Sent: Sunday, July 28, 2013 4:47 AM
To: Janaka Withana ; freebsd-usb@freebsd.org=20
Subject: RE: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command =
operation code)

Running:usbconfigWill list all devices.You need to re-plug the device =
after applying the quirk.--HPS  -----Original message-----> From:Janaka =
Withana <jwithana@hotmail.com>> Sent: Sunday 28th July 2013 1:56> To: =
Hans Petter Selasky <hans.petter.selasky@bitfrost.no>; =
freebsd-usb@freebsd.org> Subject: Re: USB 3.0 HDD ILLEGAL REQUEST =
asc:20, 0 (Invalid command operation code)> > guessed it was 1.2> > > =
usbconfig -d 1.2 add_quirk UQ_MSC_NO_SYNC_CACHE> > did not fix it> > =
still get errors:> > kernel: (da1:umass-sim1:1:0:0): SYNCHRONIZE =
CACHE(10). CDB: 35 0 0 0 0 0 0 > > 0 0 0> > kernel: =
(da1:umass-sim1:1:0:0): CAM status: SCSI Status Error> > kernel: =
(da1:umass-sim1:1:0:0): SCSI status: Check Condition> > kernel: =
(da1:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 > > =
(Invalid command operation code)> > kernel: (da1:umass-sim1:1:0:0): =
Error 22, Unretryable error> > -----Original Message----- > From: Janaka =
Withana> Sent: Saturday, July 27, 2013 7:18 PM> To: Hans Petter Selasky =
; freebsd-usb@freebsd.org> Subject: Re: USB 3.0 HDD ILLEGAL REQUEST =
asc:20, 0 (Invalid command > operation code)> > RE: USB 3.0 HDD ILLEGAL =
REQUEST asc:20, 0 (Invalid command operation > code)thanks!> > any idea =
the best way to determine the unit & addr of the device?> > sorry for =
the follow-up newbie question, but the usbconfig man page is a bit > =
sparse.> > From: Hans Petter Selasky> Sent: Saturday, July 27, 2013 1:37 =
AM> To: Janaka Withana ; freebsd-usb@freebsd.org> Subject: RE: USB 3.0 =
HDD ILLEGAL REQUEST asc:20, 0 (Invalid command > operation code)> > =
usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE--HPS  -----Original > =
message-----> From:Janaka Withana <jwithana@hotmail.com>> Sent: Friday =
26th > July 2013 23:37> To: freebsd-usb@freebsd.org> Subject: Re: USB =
3.0 HDD > ILLEGAL REQUEST asc:20, 0 (Invalid command operation code)> > =
Sorry,> > > Seems one of the author suggested a fix.> > > Line to add to =
usb_quirk.c:> > > USB_QUIRK_VP(0x13fe, 0x2240, 0x0000, 0xffff, =
UQ_MSC_NO_SYNC_CACHE),> > Any > other workarounds you could suggest that =
would not require me to > > recompile? I am using nas4free embedded.> > =
-----Original Message----- > > From: Janaka Withana> Sent: Friday, July =
26, 2013 5:33 PM> To: > freebsd-usb@freebsd.org> Subject: USB 3.0 HDD =
ILLEGAL REQUEST asc:20,0 > (Invalid command operation > code)> > I am =
using FreeBSD 9.1 to p4 (Nas4Free > 9.1.0.1.804) and get the following> =
repeated errors using a USB 3.0 hard > drive via a USB 3.0 port> > Jul =
26 17:11:26     nas     kernel: > (da1:umass-sim1:1:0:0): SYNCHRONIZE> =
CACHE(10). CDB: 35 0 0 0 0>   0 0 0 0 0> Jul 26 17:11:26     nas     =
kernel: (da1:umass-sim1:1:0:0): CAM > status: SCSI> Status Error> Jul 26 =
17:11:26     nas     kernel: > (da1:umass-sim1:1:0:0): SCSI status:> =
Check Condition> Jul 26 17:11:26 > nas     kernel: =
(da1:umass-sim1:1:0:0): SCSI sense:> ILLEGAL REQUEST > asc:20,0 (Invalid =
command operation code)> Jul 26 17:11:26     nas > kernel: =
(da1:umass-sim1:1:0:0): Error 22,> Unretryable error> > Drive is zfs > =
formatted and seems to work without losing data. This issues> seems to =
keep > popping up:> > =
http://lists.freebsd.org/pipermail/freebsd-usb/2013-January/011850.html>;=
 > =
http://lists.freebsd.org/pipermail/freebsd-usb/2012-April/011179.html>; =
> > Seems the last author proposed a fixL > > > =
_______________________________________________> 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">> =
_______________________________________________> 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" > > =
_______________________________________________> 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 May 25 01:35:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 95E4AC6C
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 01:35:00 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9C52F8F
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 01:34:59 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 7F49C3AEBE;
 Sat, 24 May 2014 18:34:55 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <5380EB10.9030109@selasky.org>
Date: Sat, 24 May 2014 18:34:55 -0700
Message-ID: <21851.1400981695@server1.tristatelogic.com>
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 01:35:00 -0000


In message <5380EB10.9030109@selasky.org>, 
Hans Petter Selasky <hps@selasky.org> wrote:

>On 05/24/14 20:43, Ronald F. Guilmette wrote:
>> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
>> is alleged to contain?
>>
>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>> just a far off dream?

>What version of FreeBSD are you running.

9.1-RELEASE

>Have you tried -stable?

No, I have not.  I did also try 10.0-RELEASE (LiveCD) and also again
got a bunch of errors and the system refused to see the drive.... again.

I tried that (10.0-RELEASE) with multiple different motherboard and
multiple different USB 3.0 add-in PCIe controller cards.

All tests failed, all of the time, with both systems.

>Yes, USB 3.0 _works_ with FreeBSD.

Please can you be more specific?

What host controller chipsets are supported, exactly?

Please post the list.

And specifically, is the VIA VL800 chipset supported?

What controllers and what external USB 3.0 devices have you yourself
actually _successfully_ tested, and which version of FreeBSD exactly
did you use for those tests?

I'm sorry if I seem to be aseking too many detailed questions about
this, but I've previously also tried using external USB 3.0 hard drives
attached to a totally different system, also running FreeBSD, with
a different motherboard *and* a totally different USB 3.0 card in
it and that experiment also ended in tears and utter failure.

I really would like to know what specific USB 3.0 hardware was properly
tested and qualified as working and fully supported *before* 10.0-RELEASE
went out the door.

Was there any?  Or did USB 3.0 support only begin working properly post
10.0-RELEASE?


P.S.  To be clear, I am interested in finding out if FreeBSD actually has
any support for any kind of *rotating* USB 3.0-attached external storage.
Right at the moment, I don't really care if USB 3.0 flash sticks work.
(Those are quite obviously going to be easier to make work.)


P.P.S.  Not all of use have the luxury of being able to run -STABLE.

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 02:04:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 97BA5DA6
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:04:23 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 77382213E
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:04:22 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 9754A3AEEF;
 Sat, 24 May 2014 19:04:22 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <8021B607-B94B-4A2D-8B0A-A63A88094C9D@gsoft.com.au>
Date: Sat, 24 May 2014 19:04:22 -0700
Message-ID: <21959.1400983462@server1.tristatelogic.com>
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 02:04:23 -0000


In message <8021B607-B94B-4A2D-8B0A-A63A88094C9D@gsoft.com.au>, you wrote:

>On 25 May 2014, at 4:13, Ronald F. Guilmette <rfg@tristatelogic.com> =
>wrote:
>> This is extraoordinarily annoying, as I spend good money to buy this
>> add-in USB 3.0 card in the hopes that it would solve the problems
>> that I previously had with FreeBSD and a different USB 3.0 card,
>> and now it is all useless.
>>=20
>> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
>> is alleged to contain?
>>=20
>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>> just a far off dream?
>
>I have 2 USB3 cards, one works and one doesn't, unfortunately I haven't
>been able to determine why as yet.

What is the brand and model number of the one that works?

What is the brand and model number of the one that doesn't?

It would be helpful to know in both cases.

Also, for the one that "works", are you able to connect a device to that,
disconnect it and then reconnect it again and have it work after that?
(I had trouble with this in the past with my other 3.0 card, even when
only using external 2.0 devices, if I am recalling correctly.)

>> P.S.  I know that FreeBSD doesn't have nearly as many people
>> working on it as Linux does, but I didn't really expect it to
>> be quite this far behind in terms of driver support for USB 3.0.
>> I mean how long has USB 3.0 been out now?  Five+ years??
>
>This isn't a helpful thing to say when you're using a volunteer project.

Sorry.  Having invested in two different USB 3.0 PCIe cards and a couple
of external 3.0 enclosures... all of which I had some hope would work,
by now, on FreeBSD... and all of which *do* in fact work entirely well
on Linux, I do hope that perhaps my level of frustration is understandable.

There are about a thousand or so different ethernet chipsets, so I can
well and truly understand why this or that ethernet controller isn't
supported yet.  But how many different USB chipsets are there?  Maybe
like ten, total, including both 3.0 and 2.0?  And aren't all of these
different USB chipsets *supposed* to present one "standard" programatic
interface (to the driver) anyway?

Anyway, ignoring the investment in MONEY I've already made... for naught,
apparently... I've also invested at least a little time in trying to make
this stuff work, and in keeping with the "volunteer" nature of FreeBSD
I *am* willing to try to assist in further testing and debugging, e.g.
of the USB drivers in, e.g. 10.0-STABLE if only someone will instruct
me how how to install that, from scratch, on a fresh empty drive.  I
seriously do not know how to do this.  I've been using FreeBSD for well
over ten+ years and I've always and only used -RELEASE.  The -RELEASE
CDs are obviously quite helpful and make installation so simple that a
cave man could do it.  But at this moment I am sitting here looking at
this directory:

  /pub/FreeBSD/snapshots/amd64/amd64/10.0-STABLE

on one of the FreeBSD mirrors, and I haven't the vaguest idea what to do
with that stuff in order to get it all installed onto an empty drive.

If you or someone else tells me how to do that, then I will be happy to
do so and then see if either of these 3.0 cards I have will work with
that, and if not I'll try to help debug the problem(s).

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 02:17:25 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0AE14F9F
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:17:25 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id B25D62201
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:17:24 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4P2HL2N097704
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Sat, 24 May 2014 20:17:21 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4P2HLE0097701;
 Sat, 24 May 2014 20:17:21 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Sat, 24 May 2014 20:17:21 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <8212.1400957008@server1.tristatelogic.com>
Message-ID: <alpine.BSF.2.00.1405242010430.97320@wonkity.com>
References: <8212.1400957008@server1.tristatelogic.com>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Sat, 24 May 2014 20:17:22 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 02:17:25 -0000

On Sat, 24 May 2014, Ronald F. Guilmette wrote:

> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
> is alleged to contain?

Sorry, no idea.

> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
> just a far off dream?

I used this card along with a USB 3 drive dock to copy a fair amount of 
data:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815287015

Admittedly, I'm a bit skeptical about USB 3 given how long USB 2 took to 
mature in the industry as a whole.

If possible, I'd prefer SATA/eSATA or Ethernet for transferring large 
amounts of data.

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 02:32:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A4D941A9
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:32:16 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8ACE72325
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 02:32:16 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 36A163ADD6;
 Sat, 24 May 2014 19:32:16 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: Warren Block <wblock@wonkity.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <alpine.BSF.2.00.1405242010430.97320@wonkity.com>
Date: Sat, 24 May 2014 19:32:16 -0700
Message-ID: <22130.1400985136@server1.tristatelogic.com>
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 02:32:16 -0000


In message <alpine.BSF.2.00.1405242010430.97320@wonkity.com>, you wrote:

>On Sat, 24 May 2014, Ronald F. Guilmette wrote:
>
>> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
>> is alleged to contain?
>
>Sorry, no idea.
>
>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>> just a far off dream?
>
>I used this card along with a USB 3 drive dock to copy a fair amount of 
>data:
>
>http://www.newegg.com/Product/Product.aspx?Item=N82E16815287015

Thanks Warren!

(I wish I had consulted with you two weeks ago before purchasing the
2+2 port HooToo card.)

>Admittedly, I'm a bit skeptical about USB 3 given how long USB 2 took to 
>mature in the industry as a whole.

As I've been saying, it all seems to work just fine on Linux.

>If possible, I'd prefer SATA/eSATA or Ethernet for transferring large 
>amounts of data.

Unfortunately, the HTPC I have in the livingroom doesn't have an eSATA
port.  (And there are no slots for any add-in cards or even space to
put an eSATA socket/connector.)

It does however have two (2) USB 3.0 built-in ports.


P.S.  Somebody on www.newegg.com said that that Vantec card contains a
Renesas D720200A chipset.  So I guess we can check that one off as
"supported".

Wish I had known that the VIA VL800 isn't.

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 03:06:38 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 59853708
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 03:06:38 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 833FE25C1
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 03:06:36 +0000 (UTC)
Received: from ur.dons.net.au (ppp118-210-122-100.lns20.adl2.internode.on.net
 [118.210.122.100]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4P36DQF057996
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Sun, 25 May 2014 12:36:21 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: Do _any_ USB 3.0 cards actually work?
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_694247E5-066C-4047-8BCA-BC3D6D2245C8";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <21959.1400983462@server1.tristatelogic.com>
Date: Sun, 25 May 2014 12:36:12 +0930
Message-Id: <9D8FB6AA-1ABC-4A76-9C0D-AA0A8DACCFF1@gsoft.com.au>
References: <21959.1400983462@server1.tristatelogic.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 03:06:38 -0000


--Apple-Mail=_694247E5-066C-4047-8BCA-BC3D6D2245C8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 25 May 2014, at 11:34, Ronald F. Guilmette <rfg@tristatelogic.com> =
wrote:
>> I have 2 USB3 cards, one works and one doesn't, unfortunately I =
haven't
>> been able to determine why as yet.
>=20
> What is the brand and model number of the one that works?
>=20
> What is the brand and model number of the one that doesn't?
>=20
> It would be helpful to know in both cases.

They're both generic OEM ones unfortunately so the amount of useful =
information on them is pretty small.

They show up as..

xhci0@pci0:3:0:0:       class=3D0x0c0330 card=3D0x34321106 =
chip=3D0x34321106 rev=3D0x03 hdr=3D0x00
xhci1@pci0:5:0:0:	class=3D0x0c0330 card=3D0x70521b6f =
chip=3D0x70521b6f rev=3D0x00 hdr=3D0x00


xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfbeff000-0xfbefffff irq =
17 at device 0.0 on pci3
xhci0: 32 byte context size.
usbus1 on xhci0

xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfbcf8000-0xfbcfffff irq =
17 at device 0.0 on pci5
xhci1: 64 byte context size.
usbus2 on xhci1

xhci0 works, xhci1 doesn't.

I'll take pictures of them on Monday.

> Also, for the one that "works", are you able to connect a device to =
that,
> disconnect it and then reconnect it again and have it work after that?
> (I had trouble with this in the past with my other 3.0 card, even when
> only using external 2.0 devices, if I am recalling correctly.)

Yes, that works for me.

>> This isn't a helpful thing to say when you're using a volunteer =
project.
>=20
> Sorry.  Having invested in two different USB 3.0 PCIe cards and a =
couple
> of external 3.0 enclosures... all of which I had some hope would work,
> by now, on FreeBSD... and all of which *do* in fact work entirely well
> on Linux, I do hope that perhaps my level of frustration is =
understandable.
>=20
> There are about a thousand or so different ethernet chipsets, so I can
> well and truly understand why this or that ethernet controller isn't
> supported yet.  But how many different USB chipsets are there?  Maybe
> like ten, total, including both 3.0 and 2.0?  And aren't all of these
> different USB chipsets *supposed* to present one "standard" =
programatic
> interface (to the driver) anyway?

Sure they are, but lots of corners are cut - none of the manufacturers =
test on FreeBSD, you'd be lucky if they tested on Linux. The upshot is =
that if it works on Windows then it is considered fine.

That pushes the burden onto FreeBSD developers to work out what the =
differences are and work around them. You can also bet most hardware =
manufacturers aren't going to help either.

You'll note that on the page you posted it says you must install the =
special VIA driver for the card to work - that seems to be a tacit =
admission that the hardware doesn't behave as it should hence the =
standard driver doesn't work.

> Anyway, ignoring the investment in MONEY I've already made... for =
naught,

Luckily USB3 PCI cards are pretty cheap.

FWIW this is almost exactly the situation USB2 was in - there were many =
chipsets which did not work very well at the start so for high =
performance applications like SDR (eg using Ettus USRPs) you had to be =
very choosy about which ones to use otherwise it wouldn't work.

>  /pub/FreeBSD/snapshots/amd64/amd64/10.0-STABLE
>=20
> on one of the FreeBSD mirrors, and I haven't the vaguest idea what to =
do
> with that stuff in order to get it all installed onto an empty drive.
>=20
> If you or someone else tells me how to do that, then I will be happy =
to
> do so and then see if either of these 3.0 cards I have will work with
> that, and if not I'll try to help debug the problem(s).

You want an ISO from
http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/
or
http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/10.0/

although to be honest I don't believe the USB stack is substantially =
different between stable and head so there's probably not much point.

You could try gathering some debugging using usbdump and sysctl =
hw.usb.uhub.debug=3D15
(although deciphering it requires knowledge of how USB works and how the =
stack is written..)

--
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







--Apple-Mail=_694247E5-066C-4047-8BCA-BC3D6D2245C8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgV4k5ZPcIHs/zowRAqb2AJ4nhH5mqwIOcRq95+x64mS5aVO83QCfcyuK
w58fUMP+7zWY5qe7YdS71C8=
=40AU
-----END PGP SIGNATURE-----

--Apple-Mail=_694247E5-066C-4047-8BCA-BC3D6D2245C8--

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 03:32:58 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 01F7BCE3
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 03:32:58 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id A473927BC
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 03:32:57 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4P3Wth8098075
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Sat, 24 May 2014 21:32:56 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4P3WtbL098072;
 Sat, 24 May 2014 21:32:55 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Sat, 24 May 2014 21:32:55 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <22130.1400985136@server1.tristatelogic.com>
Message-ID: <alpine.BSF.2.00.1405242123150.97320@wonkity.com>
References: <22130.1400985136@server1.tristatelogic.com>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Sat, 24 May 2014 21:32:56 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 03:32:58 -0000

On Sat, 24 May 2014, Ronald F. Guilmette wrote:

> Unfortunately, the HTPC I have in the livingroom doesn't have an eSATA
> port.  (And there are no slots for any add-in cards or even space to
> put an eSATA socket/connector.)
>
> It does however have two (2) USB 3.0 built-in ports.

Do those ports work with FreeBSD?

> P.S.  Somebody on www.newegg.com said that that Vantec card contains a
> Renesas D720200A chipset.  So I guess we can check that one off as
> "supported".

Yes, Renesas, which is actually NEC.

> Wish I had known that the VIA VL800 isn't.

It might be supported, but there's a problem with that particular card.

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 04:11:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 575F21B4
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 04:11:31 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0BF512A2C
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 04:11:30 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 24C481FE027;
 Sun, 25 May 2014 06:11:23 +0200 (CEST)
Message-ID: <53816D95.4060508@selasky.org>
Date: Sun, 25 May 2014 06:12:05 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Janaka Withana <jwithana@hotmail.com>, freebsd-usb@freebsd.org
Subject: Re: USB 3.0 HDD ILLEGAL REQUEST asc:20, 0 (Invalid command operation
 code)
References: <BAY174-DS1821CEE31BEA970C616534C96A0@phx.gbl>
 <zarafa.51f4da97.6a66.4a121951128a3613@mail.lockless.no>
 <BAY174-DS6DAF9E1D204D457B1B6A0C9380@phx.gbl>
In-Reply-To: <BAY174-DS6DAF9E1D204D457B1B6A0C9380@phx.gbl>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 04:11:31 -0000

Hi,

You need to check -stable.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 04:32:27 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 22DB631A
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 04:32:27 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DABB22B5E
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 04:32:26 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 95C571FE027;
 Sun, 25 May 2014 06:32:24 +0200 (CEST)
Message-ID: <53817283.9010003@selasky.org>
Date: Sun, 25 May 2014 06:33:07 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
References: <21851.1400981695@server1.tristatelogic.com>
In-Reply-To: <21851.1400981695@server1.tristatelogic.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 04:32:27 -0000

On 05/25/14 03:34, Ronald F. Guilmette wrote:
> In message <5380EB10.9030109@selasky.org>,
> Hans Petter Selasky <hps@selasky.org> wrote:
>
>> On 05/24/14 20:43, Ronald F. Guilmette wrote:
>>> Does FreeBSD support the "VIA VL800 Chipset" that this add-on card
>>> is alleged to contain?
>>>
>>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>>> just a far off dream?
>
>> What version of FreeBSD are you running.
>
> 9.1-RELEASE

Hi Ronald,

You should checkout the kernel sources and build and install a 9-stable 
kernel and try first. The TIMEOUT issue during device enumeration is one 
of those issues which has had patches:

> http://svnweb.freebsd.org/base/head/sys/dev/usb/controller/xhci.c?view=log

>
>> Have you tried -stable?
>
> No, I have not.  I did also try 10.0-RELEASE (LiveCD) and also again
> got a bunch of errors and the system refused to see the drive.... again.
>
> I tried that (10.0-RELEASE) with multiple different motherboard and
> multiple different USB 3.0 add-in PCIe controller cards.
>
> All tests failed, all of the time, with both systems.

Can you read out the CHIP numbers for these devices?

>
>> Yes, USB 3.0 _works_ with FreeBSD.
>
> Please can you be more specific?
>
> What host controller chipsets are supported, exactly?
>
> Please post the list.

Various chipsets from Intel, Nec, Renesas, TI, Asmedia are tested and 
supported.

>
> And specifically, is the VIA VL800 chipset supported?

You need to read-out the exact chip number on the board. Possibly yes, 
after you upgrade to -stable.

>
> I really would like to know what specific USB 3.0 hardware was properly
> tested and qualified as working and fully supported *before* 10.0-RELEASE
> went out the door.

See list above.

>
> Was there any?  Or did USB 3.0 support only begin working properly post
> 10.0-RELEASE?

USB 3.0 support started in 9.x. What you refer to as begin working 
properly, are enumeration problems. The big difference between EHCI and 
XHCI, is that certain commands like the initial SET address is now a 
high-level command, and some controllers don't provide an ACK on that 
message, leaving you with a TIMEOUT stalling the command queue on the 
host controller:

http://svnweb.freebsd.org/base?view=revision&revision=264294

>
> P.P.S.  Not all of use have the luxury of being able to run -STABLE.
>

There are some live images of more recent version of FreeBSD which you 
can try out there, from xxx.freebsd.org

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 17:00:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D5FCCE4A
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 25 May 2014 17:00:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9993E2F22
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 25 May 2014 17:00:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PH00W6013912
 for <freebsd-usb@freefall.freebsd.org>; Sun, 25 May 2014 17:00:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4PH00al013911;
 Sun, 25 May 2014 17:00:00 GMT (envelope-from gnats)
Resent-Date: Sun, 25 May 2014 17:00:00 GMT
Resent-Message-Id: <201405251700.s4PH00al013911@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,
 Scott Howard <showard314@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E77EFDEC
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 May 2014 16:52:06 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D4FC12EF0
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 May 2014 16:52:06 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PGq62U015272
 for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 May 2014 16:52:06 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4PGq6Hh015269;
 Sun, 25 May 2014 16:52:06 GMT (envelope-from nobody)
Message-Id: <201405251652.s4PGq6Hh015269@cgiserv.freebsd.org>
Date: Sun, 25 May 2014 16:52:06 GMT
From: Scott Howard <showard314@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/190204: Please add an empty #define LIBUSB_CALL in libusb.h (1.0+
 API)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 17:00:00 -0000


>Number:         190204
>Category:       usb
>Synopsis:       Please add an empty #define LIBUSB_CALL in libusb.h (1.0+ API)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 17:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Scott Howard
>Release:        
>Organization:
Debian
>Environment:
>Description:
libusb 1.0 API has an empty
#define LIBUSB_CALL

Described here:
http://git.libusb.org/?p=libusb.git;a=blob;f=libusb/libusb.h;hb=7634714aa696175b08016b6f2185a75a2f55a113;js=1#l100

Implemented here:
http://libusb.sourceforge.net/api-1.0/group__misc.html#gaa7d6035eb2692d455d27144560a0f68d

Cross platform applications need LIBUSB_CALL, even if it is empty. 
>How-To-Repeat:

>Fix:
Add
#define LIBUSB_CALL
to one of the libusb headers (maybe libusb10.h?)

>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Sun May 25 18:10:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 53DE99C6
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 25 May 2014 18:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3F8332456
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Sun, 25 May 2014 18:10:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PIA17G037338
 for <freebsd-usb@freefall.freebsd.org>; Sun, 25 May 2014 18:10:01 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4PIA1MT037337;
 Sun, 25 May 2014 18:10:01 GMT (envelope-from gnats)
Date: Sun, 25 May 2014 18:10:01 GMT
Message-Id: <201405251810.s4PIA1MT037337@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
Cc: 
From: dfilter@FreeBSD.ORG (dfilter service)
Subject: Re: usb/190204: commit references a PR
Reply-To: dfilter@FreeBSD.ORG (dfilter service)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 25 May 2014 18:10:01 -0000

The following reply was made to PR usb/190204; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: usb/190204: commit references a PR
Date: Sun, 25 May 2014 18:06:35 +0000 (UTC)

 Author: hselasky
 Date: Sun May 25 18:06:32 2014
 New Revision: 266664
 URL: http://svnweb.freebsd.org/changeset/base/266664
 
 Log:
   Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API
   from sourceforge.
   
   PR:		usb/190204
   MFC after:	1 week
 
 Modified:
   head/lib/libusb/libusb.h
 
 Modified: head/lib/libusb/libusb.h
 ==============================================================================
 --- head/lib/libusb/libusb.h	Sun May 25 18:06:28 2014	(r266663)
 +++ head/lib/libusb/libusb.h	Sun May 25 18:06:32 2014	(r266664)
 @@ -33,6 +33,8 @@
  #include <sys/types.h>
  #endif
  
 +#define	LIBUSB_CALL
 +
  #ifdef __cplusplus
  extern	"C" {
  #endif
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 02:29:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 23D8D7FC
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 02:29:30 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9CE5A297F
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 02:29:29 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4Q2T7TR052355
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Mon, 26 May 2014 11:59:16 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: Do _any_ USB 3.0 cards actually work?
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_31F5BE96-2A96-4283-B548-B824B9D6B8CC";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <9D8FB6AA-1ABC-4A76-9C0D-AA0A8DACCFF1@gsoft.com.au>
Date: Mon, 26 May 2014 11:59:08 +0930
Message-Id: <86F17BEC-28B1-42F8-BAD7-EFFACB3D0AEA@gsoft.com.au>
References: <21959.1400983462@server1.tristatelogic.com>
 <9D8FB6AA-1ABC-4A76-9C0D-AA0A8DACCFF1@gsoft.com.au>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -3.551 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 02:29:30 -0000


--Apple-Mail=_31F5BE96-2A96-4283-B548-B824B9D6B8CC
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii


On 25 May 2014, at 12:36, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> I'll take pictures of them on Monday.

http://imgur.com/a/N8Dto

The non-working one uses an EtronTech EJ188H
The working one uses a VLI VL800 (I think, my photo was pretty hard to read)

--
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







--Apple-Mail=_31F5BE96-2A96-4283-B548-B824B9D6B8CC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgqb05ZPcIHs/zowRAtTuAJ4tetMXClUpmn72VSE0MgRS7RMTNQCgnmsl
+2iEP4pN0ZI4oOHrw9d1wgE=
=Z6Rr
-----END PGP SIGNATURE-----

--Apple-Mail=_31F5BE96-2A96-4283-B548-B824B9D6B8CC--

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 02:47:47 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0037BBBE
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 02:47:46 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5B3D72ADC
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 02:47:45 +0000 (UTC)
Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.34])
 (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4Q2lLow053122
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Mon, 26 May 2014 12:17:26 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: Do _any_ USB 3.0 cards actually work?
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_C00F7537-F635-4268-9A8F-72E4E7393835";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <86F17BEC-28B1-42F8-BAD7-EFFACB3D0AEA@gsoft.com.au>
Date: Mon, 26 May 2014 12:17:23 +0930
Message-Id: <0344B372-E7C1-4337-8F7B-D951ECAED266@gsoft.com.au>
References: <21959.1400983462@server1.tristatelogic.com>
 <9D8FB6AA-1ABC-4A76-9C0D-AA0A8DACCFF1@gsoft.com.au>
 <86F17BEC-28B1-42F8-BAD7-EFFACB3D0AEA@gsoft.com.au>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -3.551 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 02:47:47 -0000


--Apple-Mail=_C00F7537-F635-4268-9A8F-72E4E7393835
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 26 May 2014, at 11:59, Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> On 25 May 2014, at 12:36, Daniel O'Connor <doconnor@gsoft.com.au> =
wrote:
>> I'll take pictures of them on Monday.
>=20
> http://imgur.com/a/N8Dto
>=20
> The non-working one uses an EtronTech EJ188H
> The working one uses a VLI VL800 (I think, my photo was pretty hard to =
read)

FWIW the Etron is pretty poorly regarded (many threads about crashes and =
so on).

Searching Linux shows..
=
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/dri=
vers/usb?id=3Dded737fe6a2fe5d18005e6e97e40e0d728a6619b
=
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/dri=
vers/usb/host?id=3D001fd3826f4c736ce292315782d015f768399080
=
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/dri=
vers/usb/host?id=3D5cb7df2b2d3afee7638b3ef23a5bcb89c6f07bd9

Although I am not sure either are relevant to the symptoms I see.

--
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







--Apple-Mail=_C00F7537-F635-4268-9A8F-72E4E7393835
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgqs75ZPcIHs/zowRAmWVAKCUuuhe/OEhunQYvT3RX0PyD9v+qQCcCi7m
23wiPLweFt/p6BOXl6aiuRM=
=49ab
-----END PGP SIGNATURE-----

--Apple-Mail=_C00F7537-F635-4268-9A8F-72E4E7393835--

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 03:16:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3D6811F1
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 03:16:53 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id E43702DBC
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 03:16:52 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id B85203AD92
 for <freebsd-usb@freebsd.org>; Sun, 25 May 2014 20:16:43 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: freebsd-usb@freebsd.org
Subject: Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)
In-Reply-To: <alpine.BSF.2.00.1405242123150.97320@wonkity.com>
Date: Sun, 25 May 2014 20:16:43 -0700
Message-ID: <1986.1401074203@server1.tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 03:16:53 -0000


As a result of Warren Block's suggestion, I decided to try a number of
new and additional tests in order to try to further pin down and/or at
least document the current set of USB 3.0 problems I've been grappling
with.

I have also gathered further information about which chips, specifically
are contained within my various devices and controllers.

I do hope that all of the following information will prove useful.

I am fortunate to have here three (3) different (amd) x86-based systems
which each contain a dual USB 3.0 interface card of one kind or
another.  I am also fortunate to also have several different kinds
of USB 2.0 and USB 3.0 external devices that I can run tests with.

First, in order to make sure that I am reporting _current_ issues
relating tro USB support, today I downloaded the following image
file and installed this onto a USB 2.0 stick I had lying around
(i.e. a "SanDisk Switch" 8GB):

   FreeBSD-10.0-STABLE-amd64-20140506-r265408-memstick.img

All test results reported below are from systems that were booted to
the above FreeBSD image.

The results I gathered are all in the form of copies of /var/log/messages
files.  (At first I was going to provide just output from dmesg(8), but
then I noticed that those don't have date/time stamps, so I went back and
re-did all of my tests and collected the /var/log/messags files instead.)

The following files show the results of the numerous tests I did on the
three different system I own that contain USB 3.0 interfaces:

    ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1-varlogmessages.txt
    ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2-varlogmessages.txt
    ftp://ftp.tristatelogic.com/pub/fbsd-usb3/htcp-varlogmessages.txt

Please note that during my tests every time I performed some manual action,
in particular plugging or unplugging a USD device, I used the logger(1)
program to write a line starting with "====================" to the
system log (/var/log/messages).  This helps a lot to see what was really
(physically) going on at each step during the tests.

My desktop#1 system contains this dual port USB 3.0 PCIe interface card
that I've already mentioned (VIA LV800 chipset):

   http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-00002

My desktop#2 system contains this Anker 2-port USB 3.0 PCIe card:

     http://www.amazon.com/Anker%C2%AE-Uspeed-Express-20-pin-Connector/dp/B007SJGGAE/ref=pd_cp_pc_2/181-8193670-6916000

I have just now checked that, and the big chip on that has written on
the top of the chip "VL800-Q8", so apparentlty this also contained the
VIA[tm] VL 800 "chipset".

My HTPC system contains whatever the heck kind of USB 3.0 controller
Foxconn elected in include on the board for this system:

   http://www.newegg.com/Product/Product.aspx?Item=N82E16856119070

For my tests, I used the following 4 external devices, which I list here
(and which I tested) in what I believed might be incresing levels of
probable non-working-ness:

    <SanDisk Cruzer Blade 1.20>	# USB 2.0 device
	http://www.amazon.com/SanDisk-Cruzer-Frustration-Free-Packaging-SDCZ50-004G-AFFP/dp/B007KFAG8O

    <ADATA USB Flash Drive 1.00>  # USB 3.0 device
	http://www.newegg.com/Product/Product.aspx?Item=N82E16820211572
	http://www.amazon.com/ADATA-Superior-Series-Flash-AS102P-16G-RGY/dp/B005Y8C0H4

    <HitachiG ST 0000>     # USB 3.0 device
	http://www.newegg.com/Product/Product.aspx?Item=N82E16822145582
	http://www.amazon.com/HGST-Touro-Mobile-External-HTOLMX3NA5001ABB/dp/B0062FZ3PY

    <Hitachi HTS541010A9E680 JA0O> # USB 3.0 device
	http://www.newegg.com/Product/Product.aspx?Item=N82E16817826002
	http://www.amazon.com/Patriot-PCGTII25S-Gauntlet-2/dp/B006ICNRUO

Please note that the <HitachiG ST 0000> device is a PERMANENTLY SEALED
unit, so there is no way for me to find out what sort of interface chip
is inside that.

What I am listing here as <Hitachi HTS541010A9E680 JA0O> is actually
a rather ordinary 2.5" 1TB laptop drive which I have installed inside of
a Patroit[tm] brand "Gauntlet 2" external 2.5" USB 3.0 enclosure.  (See
links above for pictures and more technical information.)

In the case of the Patriot[tm] Gauntlet2 2.5" USB 3.0 enclosure (aka
<Hitachi HTS541010A9E680 JA0O>) I took the time to actually disassemble
that so that I could look and see what sort of chip was in it.  Written 
on the chip that is inside the Gauntlet2 is a set of three designators,
the first of which is "GL3310".  Googling that plus up lots of relevant
information.

As a boot device on all 3 test systems I also used a USB 2.0 flash stick
which is identified within the system logs as <SanDisk Cruzer Switch 1.26>.
That was pulgged into a USB 2.0 port on all three test systems during boot
up.

My test procedure for all three systems was as follows:

	1)  Insert the SanDisk Cruzer Blade (USB 2.0) into one of the
	    two USB 3.0 ports.

	2)  Insert the ADATA USB Flash Drive into the second USB 3.0
	    port and then remove it.

	3)  Insert the (sealed) Hitachi Touro Moble 500GB USB 3.0 drive
	    into the second USB 3.0 port and then remove it.

	4)  Insert the Patroit Gauntlet II (containing a Hitachi 2.5" 1TB
	    laptop drive) into the second USB 3.0 port and then remove it.


Several things are apparent from these tests, specifically:


0)  Both USB 2.0 and USB 3.0 flash sticks seem to be accepted and properly
recognized with no apparent problems.


1)  On all three test systems, the current FreeBSD USB driver doesn't
entirely like the Hitachi Touro Moble 500GB USB 3.0 drive.  In each case,
connecting this drive results in a set of error messages like the following:

    (probe0:umass-sim2:2:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 
    (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error
    (probe0:umass-sim2:2:0:0): SCSI status: Check Condition
    (probe0:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
    (probe0:umass-sim2:2:0:0): Error 22, Unretryable error

That last line is clearly incorrect, and at the very least needs to be
rephrased.  Speaking from personal experience, I can attest to the fact
that there are no such things, in life or anywhere else, as an error that
cannot be retried, ad infinitum.  (And I have the scars to priove it!)

Anyway, after all this noise in the system log, the Hitachi Touro Moble
external USB 3.0 drive does seem to be recognized sufficiently well (by
the driver) so that it at least gets assigned a proper /dev/ node and so
that its serial number, speed, and capacity all appear in the logs.
(Sorry, no, I did not have time to test actual functioning of all of
the 3x4 combinations I tried during these tests.)

But it is still quite entirely disconcerting to be getting all of these
error messages relating to what I firmly believe to be a perfectly good
and perfectly working external drive.  (So I do wish that these "error"
messages could be eliminated.  They do not seem to be useful for anything
except inducing fear and/or panic into the hearts and minds of us end-
lusers.)


2)  As can be seen in the "desktop2-varlogmessages.txt' log file, on that
one system there were also a number of additional errors logged after the
Hitachi Touro Mobile drive was plugged in:

    (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 
    (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
    (probe0:umass-sim2:2:0:0): Retrying command
    (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 
    (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
    (probe0:umass-sim2:2:0:0): Retrying command
    (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 
    (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
    (probe0:umass-sim2:2:0:0): Retrying command

These are also very very worrying.


3)  The Patroit Gauntlet2 (containing a Hitachi 1TB drive) was apparently
recognized with no problems whatsoever, after being plugged in, on my HTPC
system.  However there are VERY evident problems with this device on both
of my two desktop systems.

In the case of desktop#1 system, I get an error immediately after the
Gauntlet2 is plugged in:

    usb_alloc_device: set address 4 failed (USB_ERR_TIMEOUT, ignored)

but after that it seems to be OK.

In the case of my desktop#2 system, plugging in the Gauntlet2 caused a
BIG mess of errors, as can be seen in the relevant log file... *and*,
as can be seen from the date/time stamps it takes approximately 2 full
minuts to recover from its confusion in this case.

Also, the problems here are not, apparently, confined to just the Gauntlet2
device itself.  Rather, after plugging that in, the driver+controller appear
to have briefly lost contact with the SanDisk Cruzer Blade also!!

Eventually, as can be seen in the log, the driver does seem to manage to
figure out that everything is OK after all, and eventually it reconnects
to the SanDisk Cruzer Blade and it also finally correctly detects the
Gauntlet2 (aka <Hitachi HTS541010A9E680 JA0O>).

Please note that my desktop#2 system contains a Gigabyte GA-M55Plus-S3G
motherboard.  I don't know if that is even relevant, but this specific
botherboard is already known to me to have at least two specific BIOS
bugs.  (But as FreeBSD probably isn't using any part of the BIOS, those
issues are, I think, irrelevant.)

I can spare instances of any and all of the equipment described above
that seems to be causing problems.  Specifically, if it will help any,
I will be happy to snail-mail any or all of the following to whoever
is developing or maintaining the FreeBSD USB driver(s), provided that
this equipment is returned to me afterwards.  (I will pay the postage or
shipping charges both ways.)

	*)  Patriot Gaultlet2 external USB 3.0 enclosure  [**]
	*)  Hitachi Touro Mobile 500GB USB 3.0 portable external drive
	*)  Aanker 2-port USB 3.0 PCIe card [**]
	*)  HooToo 2-port USB 3.0 PCIe card [**]

** It might be cheaper for me to just purchase spares of these and have
them shipped directly to whoever might work on them.

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 06:15:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id DC10B259
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 06:15:33 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A13FC2B4B
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 06:15:33 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 618441FE026;
 Mon, 26 May 2014 08:15:28 +0200 (CEST)
Message-ID: <5382DC2B.4040504@selasky.org>
Date: Mon, 26 May 2014 08:16:11 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>, 
 freebsd-usb@freebsd.org
Subject: Re: Test Results
References: <1986.1401074203@server1.tristatelogic.com>
In-Reply-To: <1986.1401074203@server1.tristatelogic.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 06:15:33 -0000

On 05/26/14 05:16, Ronald F. Guilmette wrote:
> 2)  As can be seen in the "desktop2-varlogmessages.txt' log file, on that
> one system there were also a number of additional errors logged after the
> Hitachi Touro Mobile drive was plugged in:
>
>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
>      (probe0:umass-sim2:2:0:0): Retrying command
>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
>      (probe0:umass-sim2:2:0:0): Retrying command
>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
>      (probe0:umass-sim2:2:0:0): Retrying command

Hi,

This error is typical for no-synchronize-cache.

1)
Lookup the device above using "usbconfig".

2)
Add the quirk, where X.Y are the numbers after "ugen".
usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE

3)
Replug this device.

--HPS



From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 06:22:22 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5FE2D306
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 06:22:22 +0000 (UTC)
Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "vps1.elischer.org",
 Issuer "CA Cert Signing Authority" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1AB192BE4
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 06:22:21 +0000 (UTC)
Received: from jre-mbp.elischer.org
 (ppp121-45-232-70.lns20.per1.internode.on.net [121.45.232.70])
 (authenticated bits=0)
 by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s4Q6MEQJ082065
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);
 Sun, 25 May 2014 23:22:17 -0700 (PDT)
 (envelope-from julian@freebsd.org)
Message-ID: <5382DD90.3000903@freebsd.org>
Date: Mon, 26 May 2014 14:22:08 +0800
From: Julian Elischer <julian@freebsd.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
 rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: Hans Petter Selasky <hps@selasky.org>,
 "Ronald F. Guilmette" <rfg@tristatelogic.com>, freebsd-usb@freebsd.org
Subject: Re: Test Results
References: <1986.1401074203@server1.tristatelogic.com>
 <5382DC2B.4040504@selasky.org>
In-Reply-To: <5382DC2B.4040504@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 06:22:22 -0000

On 5/26/14, 2:16 PM, Hans Petter Selasky wrote:
> On 05/26/14 05:16, Ronald F. Guilmette wrote:
>> 2)  As can be seen in the "desktop2-varlogmessages.txt' log file, 
>> on that
>> one system there were also a number of additional errors logged 
>> after the
>> Hitachi Touro Mobile drive was plugged in:
>>
>>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed 
>> with an error
>>      (probe0:umass-sim2:2:0:0): Retrying command
>>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed 
>> with an error
>>      (probe0:umass-sim2:2:0:0): Retrying command
>>      (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
>>      (probe0:umass-sim2:2:0:0): CAM status: CCB request completed 
>> with an error
>>      (probe0:umass-sim2:2:0:0): Retrying command
>
> Hi,
>
> This error is typical for no-synchronize-cache.
>
> 1)
> Lookup the device above using "usbconfig".
>
> 2)
> Add the quirk, where X.Y are the numbers after "ugen".
> usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE
>
> 3)
> Replug this device.

I've seen this pattern a bit too much.

  user: I see error X
  dev:   turn on quirk Y, disabling {lock device, queuing, syncing, 
block erase, etc.}


Would it be possible for part of the attach code for drives, to silently
run through a bunch of these commands and just turn off those that
return errors? In the Old (old) SCSI code we did this in some devices,
and in some cases there were capability descriptions in some of the 
sense pages.

(though I think that was on some proprietary subdrivers).

>
> --HPS
>
>
> _______________________________________________
> 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  Mon May 26 06:26:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 329AF353;
 Mon, 26 May 2014 06:26:30 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E63C92C03;
 Mon, 26 May 2014 06:26:29 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 388AB1FE026;
 Mon, 26 May 2014 08:26:22 +0200 (CEST)
Message-ID: <5382DEB8.5020600@selasky.org>
Date: Mon, 26 May 2014 08:27:04 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Julian Elischer <julian@freebsd.org>, 
 "Ronald F. Guilmette" <rfg@tristatelogic.com>, freebsd-usb@freebsd.org
Subject: Re: Test Results
References: <1986.1401074203@server1.tristatelogic.com>
 <5382DC2B.4040504@selasky.org> <5382DD90.3000903@freebsd.org>
In-Reply-To: <5382DD90.3000903@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 06:26:30 -0000

On 05/26/14 08:22, Julian Elischer wrote:
> I've seen this pattern a bit too much.
>
>   user: I see error X
>   dev:   turn on quirk Y, disabling {lock device, queuing, syncing,
> block erase, etc.}
>
>
> Would it be possible for part of the attach code for drives, to silently
> run through a bunch of these commands and just turn off those that
> return errors? In the Old (old) SCSI code we did this in some devices,
> and in some cases there were capability descriptions in some of the
> sense pages.
>
> (though I think that was on some proprietary subdrivers).

Yes we already do that. Please send me patches/improvements for:

sys/dev/usb/usb_msctest.c

and

usb_error_t
usb_msc_auto_quirk(struct usb_device *udev, uint8_t iface_index)

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 09:01:11 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A6FEDE89
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 09:01:11 +0000 (UTC)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 348AA2984
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 09:01:10 +0000 (UTC)
Received: from [172.20.10.3] ([101.119.25.35]) (authenticated bits=0)
 by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s4Q90i5d084272
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Mon, 26 May 2014 18:30:51 +0930 (CST)
 (envelope-from doconnor@gsoft.com.au)
Subject: Re: Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/signed;
 boundary="Apple-Mail=_B0F3C454-6E16-48BC-B18C-39C89606B23B";
 protocol="application/pgp-signature"; micalg=pgp-sha1
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
In-Reply-To: <1986.1401074203@server1.tristatelogic.com>
Date: Mon, 26 May 2014 18:30:43 +0930
Message-Id: <104A4A54-FAA6-4631-ACB5-7753125F05C1@gsoft.com.au>
References: <1986.1401074203@server1.tristatelogic.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-Mailer: Apple Mail (2.1874)
X-Spam-Score: -0.022 () BAYES_00,HELO_MISC_IP,RDNS_NONE
X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 09:01:11 -0000


--Apple-Mail=_B0F3C454-6E16-48BC-B18C-39C89606B23B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 26 May 2014, at 12:46, Ronald F. Guilmette <rfg@tristatelogic.com> =
wrote:
> My desktop#1 system contains this dual port USB 3.0 PCIe interface =
card
> that I've already mentioned (VIA LV800 chipset):
>=20
>   http://www.newegg.com/Product/Product.aspx?Item=3D17Z-0002-00002
>=20
> My desktop#2 system contains this Anker 2-port USB 3.0 PCIe card:
>=20
>     =
http://www.amazon.com/Anker%C2%AE-Uspeed-Express-20-pin-Connector/dp/B007S=
JGGAE/ref=3Dpd_cp_pc_2/181-8193670-6916000
>=20
> I have just now checked that, and the big chip on that has written on
> the top of the chip "VL800-Q8", so apparentlty this also contained the
> VIA[tm] VL 800 "chipset".

So, this is the same USB3 controller I am using with success, the plot =
thickens :)

> My HTPC system contains whatever the heck kind of USB 3.0 controller
> Foxconn elected in include on the board for this system:
>=20
>   http://www.newegg.com/Product/Product.aspx?Item=3DN82E16856119070

Your dmesg says it is a "ASMedia ASM1042 USB 3.0 controller"

> 1)  On all three test systems, the current FreeBSD USB driver doesn't
> entirely like the Hitachi Touro Moble 500GB USB 3.0 drive.  In each =
case,
> connecting this drive results in a set of error messages like the =
following:
>=20
>    (probe0:umass-sim2:2:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 =
00 00 10 00 00=20
>    (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error
>    (probe0:umass-sim2:2:0:0): SCSI status: Check Condition
>    (probe0:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 =
(Invalid command operation code)
>    (probe0:umass-sim2:2:0:0): Error 22, Unretryable error
>=20
> That last line is clearly incorrect, and at the very least needs to be
> rephrased.  Speaking from personal experience, I can attest to the =
fact
> that there are no such things, in life or anywhere else, as an error =
that
> cannot be retried, ad infinitum.  (And I have the scars to priove it!)

You're reading too much into what the SCSI standard says, it wasn't =
written with human beings in mind ;)

It just means there is no point retrying because it isn't a transient =
error (I believe). This is typically caused by devices which reject =
legal SCSI commands hence HPS's suggestion to add a quirk so the SCSI =
stack doesn't try sending that command to the device.

Not sure on the rest of your stuff though, sorry.

--
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







--Apple-Mail=_B0F3C454-6E16-48BC-B18C-39C89606B23B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgwK75ZPcIHs/zowRAlENAJ9npom4f5MgpyB/cobdmMLBhf7n6gCgiMON
qucABdsmvXcxDPjG0pV/7BQ=
=kb55
-----END PGP SIGNATURE-----

--Apple-Mail=_B0F3C454-6E16-48BC-B18C-39C89606B23B--

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 09:10:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 930F8FD2
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 26 May 2014 09:10:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 700C12A08
 for <freebsd-usb@smarthost.ysv.freebsd.org>;
 Mon, 26 May 2014 09:10:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4Q9A0LC087226
 for <freebsd-usb@freefall.freebsd.org>; Mon, 26 May 2014 09:10:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4Q9A04Z087225;
 Mon, 26 May 2014 09:10:00 GMT (envelope-from gnats)
Resent-Date: Mon, 26 May 2014 09:10:00 GMT
Resent-Message-Id: <201405260910.s4Q9A04Z087225@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,
 neoedmund <neoedmund@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 23D4EE81
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 May 2014 09:00:56 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 11093297F
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 May 2014 09:00:56 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4Q90tYP036274
 for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 May 2014 09:00:55 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4Q90tjr036269;
 Mon, 26 May 2014 09:00:55 GMT (envelope-from nobody)
Message-Id: <201405260900.s4Q90tjr036269@cgiserv.freebsd.org>
Date: Mon, 26 May 2014 09:00:55 GMT
From: neoedmund <neoedmund@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: usb/190253: Zyd: device timeout after a while.
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 09:10:00 -0000


>Number:         190253
>Category:       usb
>Synopsis:       Zyd: device timeout after a while.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 26 09:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     neoedmund
>Release:        10.0
>Organization:
>Environment:
FreeBSD pcbsd-6004 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Wed May  7 02:05:55 HKT 2014     neoedmund@pcbsd-6004:/usr/obj/usr/src/sys/NEOE2  amd64
>Description:
Just like written in
http://lists.freebsd.org/pipermail/freebsd-bugs/2012-March/047943.html
I found it has no response and I have the almost same problem.

My device info using "usbconfig dump_device_desc":

ugen3.3: <USB2.0 WLAN ZyDAS> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff 
  bDeviceSubClass = 0x00ff 
  bDeviceProtocol = 0x00ff 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0ace 
  idProduct = 0x1215 
  bcdDevice = 0x4810 
  iManufacturer = 0x0010  <ZyDAS>
  iProduct = 0x0020  <USB2.0 WLAN>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


In my case, I have to replug the wifi usb stick times and times again.
But I found only if I use openvpn, it works stable. 

>How-To-Repeat:
1.) Plug in the USB WLAN stick and make sure your internet is working
properly.
2.) Load a few pages or download a file at an average speed.

After all that, if you want to make it work again, you have to re-plug the
USB WLAN stick.

in /var/log/messages there is "zyd0: device timeout" 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 11:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CEAC7F8F
 for <freebsd-usb@FreeBSD.org>; Mon, 26 May 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B1AB724F7
 for <freebsd-usb@FreeBSD.org>; Mon, 26 May 2014 11:06:54 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QB6sxa032200
 for <freebsd-usb@FreeBSD.org>; Mon, 26 May 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4QB6s26032197
 for freebsd-usb@FreeBSD.org; Mon, 26 May 2014 11:06:54 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 26 May 2014 11:06:54 GMT
Message-Id: <201405261106.s4QB6s26032197@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-usb@FreeBSD.org
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 11:06:54 -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/190253   usb        Zyd: device timeout after a while.
o usb/190204   usb        Please add an empty #define LIBUSB_CALL in libusb.h (1
o usb/188999   usb        [scsi_da] [patch] QUIRK: ADATA USB Flash Drive
o usb/188829   usb        [atp] atp fails on Macbook Pro 4.1 [regression]
f usb/188119   usb        [ukbd] problems with multiple keyboards
o usb/187188   usb        [USB][patch] ELECOM WRH-150 needs a quirk
o usb/186622   usb        [panic] FreeBSD 10.0 AMD64 kernel panic in ifmedia_set
o usb/186317   usb        [ums] ums module not loaded by devd for Razer Lachesis
o usb/186110   usb        connected over USB, only first document is printed
o usb/185838   usb        [umass] Sony DSC-H5 not connecting on USB
o usb/185837   usb        [umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usb        [cam] [patch] fix support for USB key "Kingston DT 101
o usb/185208   usb        [umass] (da0:umass-sim0:0:0:0): CAM status: SCSI Statu
o usb/184014   usb        USB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usb        libusb20 examples filenames cause problems on windows.
o usb/183505   usb        [usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usb        USB Class 2 audio device playback issue
o usb/183302   usb        USB no proper work
o usb/183090   usb        [mic] Logitech USB microphone failure
o usb/183032   usb        [uep] [patch] uep driver not working with eGalax touch
o usb/182361   usb        [suspend/resume] [panic] Suspend when using USB disc a
o usb/181987   usb        USB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usb        USB keyboard with full N-key rollover not working
o usb/181159   usb        [ugen] Problem attaching USB device
o usb/180837   usb        [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180657   usb        [usbdevs] [patch] Filco Majestouch 2 keyboard recogniz
o usb/180617   usb        [usbdevs] [patch] New quirk (another member of Western
o usb/180254   usb        FreeBSD 9.1 on 384GB memory server
o usb/180119   usb        [umass] FreeBSD 9.1 umass driver does not correctly ha
o usb/179505   usb        Kernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usb        Freebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usb        After detach USB Flash a keyboard does not work.
o usb/179107   usb        [usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb        [usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usb        FreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb        [usb] USB causing interrupt storm on irq16
o usb/177897   usb        [u3g][patch] add support for the Huawei E352 modem
o usb/177896   usb        man page for usb_quirk suggests adding device to kerne
o usb/177895   usb        similar 1TB Western Digital "My Passports" - some load
o usb/177666   usb        [usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb        [ehci] High interrupt load with ehci
o usb/176841   usb        [umass] Sony DSC-H2 USB connection fails
o usb/176417   usb        [xhci][cam][umass] kernelpanic while removing plugged 
o usb/175893   usb        [uftdi] [patch] kernel/usb/uftdi patch to recognise a 
o usb/175731   usb        detaching USB keyboard freezes other USB keyboards
o usb/175639   usb        not detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb        [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usb        [2tb] Seagate 2TB USB extern hard disk have errors wit
o usb/175379   usb        [umass] usb card-reader problem with writing
o usb/175302   usb        don't mount virtual driver CD for my phone
o usb/174963   usb        buffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usb        [uaudio] uaudio fails to create pcm/dsp device file
o usb/174695   usb        usb keeps disconnecting mouse or keyboard
o usb/174575   usb        Interrupt storm error on startup
o usb/174464   usb        clone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usb        MIDI keyboard not recognised
o usb/173722   usb        [xhci] [suspend/resume] xhci driver bug after suspend 
o usb/173616   usb        LG USB DVD-RW USB STALL
o usb/173182   usb        usbus appears as a network device
o usb/172937   usb        FreeBSD 9.1-RC2 usb3 port disconnects
o usb/172931   usb        [ums] [suspend/resume] Suspend/resume blocks USB mouse
o usb/172633   usb        Sony Cybershot not recognized as USB mem stick
o usb/172199   usb        [xhci] high interrupts load xhci
o usb/171354   usb        [umass] Medium not present error on flash drive [regre
o usb/171262   usb        plug in sdhc via usb reader reboots machine
o usb/171197   usb        ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usb        FreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usb        patch][usbdevs][wlan] Patch for ASUS Black Diamond USB
o usb/170606   usb        r239222 kernel panic at boot - usb locking issue
o usb/170358   usb        [ums] Wrong (duplicate) button numbers
o usb/170123   usb        [umass] HP v210w USB stick not supported
o usb/169935   usb        [keyboard] Unable use USB keyboard while panic
o usb/169789   usb        [u3g] [patch] add support for huawei e3131
o usb/169461   usb        [ugen] USB2 high-speed device detected as full speed
o usb/169428   usb        [ugen] ugen not detecting all endpoints on device [reg
o usb/168551   usb        [umass] Issues with embedded card reader (Laptop ASUS 
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/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] ucom wedges machine on parity error ?
o usb/160192   usb        [install] Installation from USB-Stick doesn't find the
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/156726   usb        [snd_uaudio]: snd_uaudio(4) fails to detach when mixer
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/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 
f kern/153514  usb        [cam] [panic] CAM related panic
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 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
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
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/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] [suspend/resume] USB ports are no longer
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 kern/138292  usb        [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
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/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] [patch] Adding usb quirk for Sony USB flash dr
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/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
f usb/128745   usb        [zyd] zyd theoretically supported usb device makes ker
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
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/122905   usb        [ubsa] [patch] add Huawei E220 to ubsa
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/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 conf/120406  usb        [devd] [patch] Handle newly attached pcm devices (eg. 
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/117183   usb        [panic] USB/fusefs -- panic while transferring large a
f usb/117150   usb        [zyd] usb zyd device under moderate load panics system
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/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 conf/114013  usb        [build] [patch] add WITHOUT_USB to allow to compile ou
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
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/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/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
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
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 
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
f usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
f 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
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
s usb/52026    usb        [new driver] [request] umass driver support for InSyst
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

331 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 14:45:39 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 34C3859A
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 14:45:39 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id D5ABC2A3E
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 14:45:38 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4QEjYcg083372
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Mon, 26 May 2014 08:45:34 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4QEjYRm083369;
 Mon, 26 May 2014 08:45:34 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Mon, 26 May 2014 08:45:34 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)
In-Reply-To: <1986.1401074203@server1.tristatelogic.com>
Message-ID: <alpine.BSF.2.00.1405260840170.82351@wonkity.com>
References: <1986.1401074203@server1.tristatelogic.com>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Mon, 26 May 2014 08:45:35 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 14:45:39 -0000

On Sun, 25 May 2014, Ronald F. Guilmette wrote:

> My HTPC system contains whatever the heck kind of USB 3.0 controller
> Foxconn elected in include on the board for this system:
>
>   http://www.newegg.com/Product/Product.aspx?Item=N82E16856119070

This article about USB 3.0 controllers from 2011 is interesting in 
general, but specifically because it talks about the USB controller 
integrated in some AMD chipsets:

http://vr-zone.com/articles/usb-3-0-speed-tests-7-way-host-controllers-roundup/13358.html

Hopefully the situation has improved since then.

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 20:47:53 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 17E23A9D
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 20:47:53 +0000 (UTC)
Received: from land.berklix.org (land.berklix.org [144.76.10.75])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9AB2329E3
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 20:47:52 +0000 (UTC)
Received: from mart.js.berklix.net (p5DCBE310.dip0.t-ipconnect.de
 [93.203.227.16]) (authenticated bits=128)
 by land.berklix.org (8.14.5/8.14.5) with ESMTP id s4QK18GD029949;
 Mon, 26 May 2014 20:01:10 GMT (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s4QK20MJ007997;
 Mon, 26 May 2014 22:02:00 +0200 (CEST)
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s4QK1Z89073132;
 Mon, 26 May 2014 22:01:54 +0200 (CEST)
 (envelope-from jhs@berklix.com)
Message-Id: <201405262001.s4QK1Z89073132@fire.js.berklix.net>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
From: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany
User-agent: EXMH on FreeBSD http://berklix.com/free/
X-URL: http://www.berklix.com
In-reply-to: Your message "Sat, 24 May 2014 11:43:28 -0700."
 <8212.1400957008@server1.tristatelogic.com>
Date: Mon, 26 May 2014 22:01:35 +0200
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 20:47:53 -0000

> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this

Yes it works. Tue, 12 Jun 2012 I filed a success report:
http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html

Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
		Interleave reply paragraphs like a play script.

From owner-freebsd-usb@FreeBSD.ORG  Mon May 26 22:41:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4FBC79F7
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 22:41:44 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 024E522AE
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 22:41:43 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4QMfXiP087137
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Mon, 26 May 2014 16:41:33 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4QMfXsa087134;
 Mon, 26 May 2014 16:41:33 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Mon, 26 May 2014 16:41:33 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Julian H. Stacey" <jhs@berklix.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <201405262001.s4QK1Z89073132@fire.js.berklix.net>
Message-ID: <alpine.BSF.2.00.1405261636170.85609@wonkity.com>
References: <201405262001.s4QK1Z89073132@fire.js.berklix.net>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Mon, 26 May 2014 16:41:33 -0600 (MDT)
Cc: freebsd-usb@freebsd.org, "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 May 2014 22:41:44 -0000

On Mon, 26 May 2014, Julian H. Stacey wrote:

>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>
> Yes it works. Tue, 12 Jun 2012 I filed a success report:
> http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html

Jeesh, two years ago.  I remember looking it up at the time, and this 
appears to be the same card from Newegg:

www.newegg.com/Product/Product.aspx?Item=N82E16815158297

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 02:50:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id AD38D43E
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 02:50:30 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 95183242C
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 02:50:30 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 0D9F43ACAE
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 19:50:30 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: freebsd-usb@freebsd.org
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <alpine.BSF.2.00.1405261636170.85609@wonkity.com>
Date: Mon, 26 May 2014 19:50:30 -0700
Message-ID: <9246.1401159030@server1.tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 02:50:30 -0000


In message <alpine.BSF.2.00.1405261636170.85609@wonkity.com>, 
Warren Block <wblock@wonkity.com> wrote:

>On Mon, 26 May 2014, Julian H. Stacey wrote:
>
>>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>>
>> Yes it works. Tue, 12 Jun 2012 I filed a success report:
>> http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
>
>Jeesh, two years ago.  I remember looking it up at the time, and this 
>appears to be the same card from Newegg:
>
>www.newegg.com/Product/Product.aspx?Item=N82E16815158297

So are you guys telling me that I just shoulda bought that one?

I can see right off the bat why I didn't.

It looks like even now it still costs about twice as much as the ones
that I did actually buy.

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 03:23:37 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B0A5799C
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 03:23:37 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4C2672704
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 03:23:07 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4R3N5s6089154
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 21:23:05 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4R3MZ1V089149;
 Mon, 26 May 2014 21:23:05 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Mon, 26 May 2014 21:22:35 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Ronald F. Guilmette" <rfg@tristatelogic.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <9246.1401159030@server1.tristatelogic.com>
Message-ID: <alpine.BSF.2.00.1405262105490.88783@wonkity.com>
References: <9246.1401159030@server1.tristatelogic.com>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Mon, 26 May 2014 21:23:05 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 03:23:37 -0000

On Mon, 26 May 2014, Ronald F. Guilmette wrote:

>
> In message <alpine.BSF.2.00.1405261636170.85609@wonkity.com>,
> Warren Block <wblock@wonkity.com> wrote:
>
>> On Mon, 26 May 2014, Julian H. Stacey wrote:
>>
>>>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>>>
>>> Yes it works. Tue, 12 Jun 2012 I filed a success report:
>>> http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
>>
>> Jeesh, two years ago.  I remember looking it up at the time, and this
>> appears to be the same card from Newegg:
>>
>> www.newegg.com/Product/Product.aspx?Item=N82E16815158297
>
> So are you guys telling me that I just shoulda bought that one?
>
> I can see right off the bat why I didn't.
>
> It looks like even now it still costs about twice as much as the ones
> that I did actually buy.

The Startech stuff is usually overpriced.  That card and others with the 
same chipset are all probably based on the same reference design. 
Vantec is more reasonable, and if you watch for sales, can be much less. 
Mine included a SATA power female to Molex adapter, a rare adapter that 
is handy for newer machines with only SATA cables and worth a bit on its 
own.

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 04:58:09 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09664A95
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 04:58:09 +0000 (UTC)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com
 [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id E1C512D58
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 04:58:08 +0000 (UTC)
Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1])
 by segfault.tristatelogic.com (Postfix) with ESMTP id 0F02C3ACAE
 for <freebsd-usb@freebsd.org>; Mon, 26 May 2014 21:57:56 -0700 (PDT)
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: freebsd-usb@freebsd.org
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <alpine.BSF.2.00.1405262105490.88783@wonkity.com>
Date: Mon, 26 May 2014 21:57:56 -0700
Message-ID: <1913.1401166676@server1.tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 04:58:09 -0000


I have more than a little reason to be suspicious of the motheboard
in my #2 desktop system, so I swapped the USB 3.0 PCIe add-in cards
that I had here between my two system and then re-ran all of my tests.

So now you can find all my test results in these five files:

  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1+anker-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1+hootoo-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2+anker-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2+hootoo-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/htpc-varlogmessages.txt

Predictably, perhaps, the problems did in fact follow the (older, and
apparently not so great) Anker[tm] brand controller card, and _did not_
seem at all to depend on the motherboard.

I learned one other thing also.  As I mentioned earlier, the Anker card
(which I purchased over a year ago) apparently contains a VL800-Q8.  On
the other hand I've now looked closely at the HooToo USB 3.0 PCIe card
that I just purchased recently, and it sports a VL805-Q6.

Based on the dates of the following press reports, the VL800 is indeed a
much earlier (and, I am guessing, buggier) incarnation of the VL805:

(VL800 - May 26, 2010)
http://www.legitreviews.com/via-labs-vl800-usb-3-0-4-port-host-controller-announced_8134

(VL805 - November 22nd 2012)
http://www.techpowerup.com/175936/via-labs-announces-two-new-usb-3-0-host-controllers-via-vl805-and-via-vl806.html

So I guess it serves me right for trying to use an old card with an old
version of FreeBSD.

But then again, even a really very fresh version of FreeBSD doesn't seem to
like the old card.

But then again, perhaps that silicon was just plain BUGGY.  Certainly the
fact that it seems to disconnect and then reconnect an unrelated device
when I plug in my Patriot Gaultlet2 would tend to support that view.

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 13:40:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D0F7A876
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 13:40:31 +0000 (UTC)
Received: from land.berklix.org (land.berklix.org [144.76.10.75])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 44C712AE2
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 13:40:30 +0000 (UTC)
Received: from mart.js.berklix.net (p5DCBC195.dip0.t-ipconnect.de
 [93.203.193.149]) (authenticated bits=128)
 by land.berklix.org (8.14.5/8.14.5) with ESMTP id s4RDdRAW075158;
 Tue, 27 May 2014 13:39:27 GMT (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s4RDeLU8012892;
 Tue, 27 May 2014 15:40:22 +0200 (CEST)
 (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s4RDdheR023651;
 Tue, 27 May 2014 15:40:21 +0200 (CEST)
 (envelope-from jhs@berklix.com)
Message-Id: <201405271340.s4RDdheR023651@fire.js.berklix.net>
To: Warren Block <wblock@wonkity.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
From: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany
User-agent: EXMH on FreeBSD http://berklix.com/free/
X-URL: http://www.berklix.com
In-reply-to: Your message "Mon, 26 May 2014 16:41:33 -0600."
 <alpine.BSF.2.00.1405261636170.85609@wonkity.com>
Date: Tue, 27 May 2014 15:39:42 +0200
Cc: freebsd-usb@freebsd.org, "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 13:40:31 -0000

Warren Block wrote:
> On Mon, 26 May 2014, Julian H. Stacey wrote:
> 
> >> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
> >
> > Yes it works. Tue, 12 Jun 2012 I filed a success report:
> > http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
> 
> Jeesh, two years ago.

Scarey how time flies !


> I remember looking it up at the time, and this 
> appears to be the same card from Newegg:
> 
> www.newegg.com/Product/Product.aspx?Item=N82E16815158297

Newegg looks similar to Conrad

http://conrad.de/ce/de/product/973583/2-PORT-USB-30-PCI-EXPRESS-CONTROLLER

To compare more I moved mouse over picture in each, 
  when a magnified version spring up & pans with mouse, but a problem
  then: one can only hover the mouse over ne pictures at the time,
  not both.  (unless anyone knows some trick with X or firefox to
  freeze one ? )
  
  One couldnt even use 2 different browsers & ^Z as one still have
  to pan mouse to controlling Xterm before hitting Control Z.
  
  So one would have to look at source of bpth pages & try to download
  both larger pictures (if that's possible & it's not some live java thing,
  I dont know, haven't looked).

It's not identical. 
  The white paint of the silk screen on PCB ends with:
	Conrad.de  :  8-00B MADE IN TAIWAN	(no preceeding 1122 )
	Newegg.com : 08-00D MADE IN TAIWAN	(+ preceeding 1122 )
Electricaly I don't know.

My posting 
  http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
Lists all numbers off top of chips, (it was very hard to read one
chip, even with magnifying glass & good light, I wouldnt want to
try to read pcture on newegg web page, but people have my IC numbers
for Conrad).

Newegg.com page has:
  "With a built-in SATA power connector, each USB port can deliver
  up to 900mA of power"
That's too low, should be 1.0 Amp I believe for USB3 spec.

http://www.conrad.com/ce/en/product/973583/ (english page BTW) clicks to
http://www.produktinfo.conrad.com/datenblaetter/950000-974999/973583-an-01-ml-2_PORT_USB_3_0_PCI_EXPRESS_C_de_en_fr_nl.pdf
Page 2 says:
 "each USB port of the plug-in card can deliver a current of up to
 1.5A (SATA power unit must be connected to the plug-in card!),"

Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
		Interleave reply paragraphs like a play script.

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 15:29:27 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5381E873
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 15:29:27 +0000 (UTC)
Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com
 [IPv6:2a00:1450:400c:c00::22d])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id DE62F25B8
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 15:29:26 +0000 (UTC)
Received: by mail-wg0-f45.google.com with SMTP id m15so9491887wgh.4
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 08:29:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to
 :mime-version:content-type:content-transfer-encoding;
 bh=XKYRISj7ZuX8vz/70vNVf7Ij97pjW8rlGY5u1joroMM=;
 b=pw0cwO9C5Gc17cFFpaq1eQ/JUcAksC2X/KqJRlkcHCTDjYdLqfZepGIcYiwdDhbbQ0
 RHl95n1gLs/681IscPMNpJ/fRorL3YRZTfV4pTA/yVSKYaJxsSIAWSd5zpv0zSAjRi8A
 g6oULQziK0GOgZVQC+FNpB9NM41UnY3VC12MC+1dRCw/uzSr1NXwPOliCjsgZMEWRRvt
 ArwFo1GCUUCvZWwCJsPGLfQS8wIFt8QGHm2D9H0HzQV9VL/fXQj9lUPSiX8NQC5cnE6t
 cH2UhZ1zelrM613AVDzq65kK57morNG5i9jPc0xCQqfyl/kLFjm8uzcITYb87bM9tXb+
 OpSw==
X-Received: by 10.180.84.226 with SMTP id c2mr39402846wiz.50.1401204565120;
 Tue, 27 May 2014 08:29:25 -0700 (PDT)
Received: from ernst.home (p578E0F49.dip0.t-ipconnect.de. [87.142.15.73])
 by mx.google.com with ESMTPSA id fq2sm9208717wib.2.2014.05.27.08.29.22
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 27 May 2014 08:29:23 -0700 (PDT)
Date: Tue, 27 May 2014 17:29:20 +0200
From: Gary Jennejohn <gljennjohn@gmail.com>
To: Warren Block <wblock@wonkity.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
Message-ID: <20140527172920.1b8797d2@ernst.home>
In-Reply-To: <alpine.BSF.2.00.1405261636170.85609@wonkity.com>
References: <201405262001.s4QK1Z89073132@fire.js.berklix.net>
 <alpine.BSF.2.00.1405261636170.85609@wonkity.com>
Reply-To: gljennjohn@gmail.com
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.17; amd64-portbld-freebsd11.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: "Julian H. Stacey" <jhs@berklix.com>, freebsd-usb@freebsd.org, "Ronald
 F. Guilmette" <rfg@tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 15:29:27 -0000

On Mon, 26 May 2014 16:41:33 -0600 (MDT)
Warren Block <wblock@wonkity.com> wrote:

> On Mon, 26 May 2014, Julian H. Stacey wrote:
> 
> >> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
> >
> > Yes it works. Tue, 12 Jun 2012 I filed a success report:
> > http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
> 
> Jeesh, two years ago.  I remember looking it up at the time, and this 
> appears to be the same card from Newegg:
> 
> www.newegg.com/Product/Product.aspx?Item=N82E16815158297
>

I actually have two of these (one under FBSD-11) since Julian
pointed me at it and Conrad is fairly convenient for me (we both
live in or close to Munich).

Beware however.  I had numerous cheap USB3 enclosures-with-disk
fail to work with this card/the USB stack in FBSD.  I ended up
taking the drives out of the enclosures and using them in a
docking station.

I also have two Toshiba v63700-C 1TB 2.5" sealed external drives
which just work with no fuss or muss.

The problem seems to be more with the electronics in the enclosures
than with the card itself.

-- 
Gary Jennejohn

From owner-freebsd-usb@FreeBSD.ORG  Tue May 27 15:38:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8FA84C7A
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 15:38:30 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 269DA26BB
 for <freebsd-usb@freebsd.org>; Tue, 27 May 2014 15:38:29 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.8/8.14.8) with ESMTP id s4RFcLKH093531
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Tue, 27 May 2014 09:38:21 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4RFcL70093528;
 Tue, 27 May 2014 09:38:21 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Tue, 27 May 2014 09:38:21 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: "Julian H. Stacey" <jhs@berklix.com>
Subject: Re: Do _any_ USB 3.0 cards actually work?
In-Reply-To: <201405271340.s4RDdheR023651@fire.js.berklix.net>
Message-ID: <alpine.BSF.2.00.1405270907590.92553@wonkity.com>
References: <201405271340.s4RDdheR023651@fire.js.berklix.net>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Tue, 27 May 2014 09:38:21 -0600 (MDT)
Cc: freebsd-usb@freebsd.org, "Ronald F. Guilmette" <rfg@tristatelogic.com>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 May 2014 15:38:30 -0000

On Tue, 27 May 2014, Julian H. Stacey wrote:

> Warren Block wrote:
>> On Mon, 26 May 2014, Julian H. Stacey wrote:
>>
>>>> Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
>>>
>>> Yes it works. Tue, 12 Jun 2012 I filed a success report:
>>> http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
>
>> I remember looking it up at the time, and this
>> appears to be the same card from Newegg:
>>
>> www.newegg.com/Product/Product.aspx?Item=N82E16815158297
>
> Newegg looks similar to Conrad
>
> http://conrad.de/ce/de/product/973583/2-PORT-USB-30-PCI-EXPRESS-CONTROLLER
...
> It's not identical.
>  The white paint of the silk screen on PCB ends with:
> 	Conrad.de  :  8-00B MADE IN TAIWAN	(no preceeding 1122 )
> 	Newegg.com : 08-00D MADE IN TAIWAN	(+ preceeding 1122 )
> Electricaly I don't know.

Those are likely date codes: 2011, week 22.  And possibly 8-00B or 
-00D are board revisions.  They may not be identical, but all the 
components are in the same place and I'd bet software will consider them 
the same thing.

> My posting
>  http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
> Lists all numbers off top of chips, (it was very hard to read one
> chip, even with magnifying glass & good light, I wouldnt want to
> try to read pcture on newegg web page, but people have my IC numbers
> for Conrad).

The Startech USB chip is the same, a D720200F1.  A much better 
picture of the Vantec version:
http://www.expreview.com/9741-7.html

Newegg does not have the Vantec any more, but they did:
http://www.newegg.com/Product/Product.aspx?Item=N82E16815287007&cm_re=ugt-pc302-_-15-287-007-_-Product

Anyway, the eight-pin IC is an Atmel 25F512B, a 512K-bit flash ROM for 
firmware.  It's possible there are firmware updates for these cards, but 
unlikely the vendors have them for end users.

> Newegg.com page has:
>  "With a built-in SATA power connector, each USB port can deliver
>  up to 900mA of power"
> That's too low, should be 1.0 Amp I believe for USB3 spec.

> http://www.conrad.com/ce/en/product/973583/ (english page BTW) clicks to
> http://www.produktinfo.conrad.com/datenblaetter/950000-974999/973583-an-01-ml-2_PORT_USB_3_0_PCI_EXPRESS_C_de_en_fr_nl.pdf
> Page 2 says:
> "each USB port of the plug-in card can deliver a current of up to
> 1.5A (SATA power unit must be connected to the plug-in card!),"

One engineer is honest, the other is optimistic. :)

From owner-freebsd-usb@FreeBSD.ORG  Fri May 30 01:27:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 35EFE852
 for <freebsd-usb@freebsd.org>; Fri, 30 May 2014 01:27:49 +0000 (UTC)
Received: from oms-da04.r1000.mx.aol.com (oms-da04.r1000.mx.aol.com
 [205.188.92.208])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E85AA2D39
 for <freebsd-usb@freebsd.org>; Fri, 30 May 2014 01:27:48 +0000 (UTC)
Received: from mtaout-mba02.mx.aol.com (mtaout-mba02.mx.aol.com
 [172.26.133.110])
 by oms-da04.r1000.mx.aol.com (AOL Outbound OMS Interface) with ESMTP id
 2B9E338000616
 for <freebsd-usb@freebsd.org>; Thu, 29 May 2014 21:27:47 -0400 (EDT)
Received: from IFECH (ACA310B8.ipt.aol.com [172.163.16.184])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mtaout-mba02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 2E52138000083
 for <freebsd-usb@freebsd.org>; Thu, 29 May 2014 21:27:44 -0400 (EDT)
From: "Zbynek Koala" <parn.kinmb@aol.com>
Subject: Re: New Purchase Order.
To: freebsd-usb@freebsd.org
MIME-Version: 1.0
Reply-To: zbynek.koala@outlook.com
Date: Fri, 30 May 2014 02:27:56 +0100
Message-ID: <204402022480461322@smtp.aol.com>
x-aol-global-disposition: S
X-SPAM-FLAG: YES
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20121107; t=1401413267;
 bh=kGd2u97rdk+VaogvVznG34hAcI1XIMZVEHf7VpqZrWQ=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=ZxaM8hgqKGdgB4/Xwsjl11xV7aMkdHuyTa0y6HFsgy+85xDxaU9iEfcessfBLFIFH
 ZYgPhoK8Q6oq4rHG5/hYBTT+70Kc5fTkZMUPQ10wul6I4lrsKQqtCTbyjvRWCIlPy0
 V0VXZc161fLPGeaMgWO/6+lehDwvHTzwCzXwLM9E=
X-AOL-REROUTE: YES
x-aol-sid: 3039ac1a856e5387de90078a
X-AOL-IP: 172.163.16.184
Content-Type: text/plain ; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 30 May 2014 01:27:49 -0000

Hello,
=20
We have sent you our purchase order which we discussed,unfortunately w=
e did not hear anything from your side till today.


Enlcosed, please find attached our order. We are contacting you again =
just to know your last price and if we reach agreement with you on qua=
ntity and your last prices, then you will send your proforma Invoice t=
o us so that we will sign the PI and return it to you to start product=
ion.


To get full details  of our order including required quantity please C=
lick below link to download our order files and specifications in .pdf=
 from Google Secure Documents Online.


Click Here: http://orm.purchasrfile.biz/orderfile330 <http://orm.purch=
asrfile.biz/orderfile330>

For Authorization: Please login your email address and password to vie=
w the order file.
=20
Note that for reasons of copyright and trademark, we have personally  =
configured the attached file to be only accesible by you. Do not share=
  information with 3rd parties or use our sample products on your  com=
pany personal website.
=20
We shall wait for your email after you must have reviewed the order.


Regards,
Zbynek Koala.=20


KOALA INC. s.r.o.
Mala Stana, Praque.
Tel.: (+420) 539 051 630
Fax: (+420) 543 252 025=20
=20
=20
=20
DISCLAIMER: This electronic message and any accompanying attachments a=
re intended only for the use of the individual or entity named above a=
s the recipient and may contain privileged, confidential, proprietary =
or personal information protected by obligations of confidentiality or=
 applicable law. Any use, disclosure, distribution, retransmission and=
 reproduction of, or taking any action in reliance upon, this message =
or its contents (including any attachments) (a) by any person other th=
an the named recipient, (b) for any purpose other than its intended pu=
rpose, or (c) without the consent of the sender, is unauthorized and s=
trictly prohibited. If you have received this message in error, please=
 (i) notify the sender immediately by return e-mail, (ii) do not discl=
ose, distribute or reproduce this message or its contents in any form,=
 and (iii) permanently delete this message (including any attachments)=
 and destroy all copies thereof in any form.

From owner-freebsd-usb@FreeBSD.ORG  Sat May 31 15:17:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B90A6B7D
 for <freebsd-usb@freebsd.org>; Sat, 31 May 2014 15:17:17 +0000 (UTC)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com
 [IPv6:2607:f8b0:4002:c07::230])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 7A76C213D
 for <freebsd-usb@freebsd.org>; Sat, 31 May 2014 15:17:17 +0000 (UTC)
Received: by mail-yk0-f176.google.com with SMTP id q9so2458492ykb.7
 for <freebsd-usb@freebsd.org>; Sat, 31 May 2014 08:17:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=PQ7VYIaSkmm10lN47bHvqVfWUhy2LO9mdXZjElDhO6E=;
 b=oZzfggA30WC8YhWXKU3Cw58ObFQ0AhyaHPzyg6n6EJDv65f+Gtx/xD+5zrwHjehsS/
 aIvBYktESPf/+N7W8Ry7jCHeuOZ/pul4wq+dczagMol2lzma2rbZomTAkrl9lny/YZRC
 VwELQq4vc6T/fdlFO0c0uhisHEzC1CFFJ80z7elF4dQJ3y+6XBOKNSuR8uauK7zQzmZM
 XXlqSSqs9jbfTtVgtwwlnR+WJWC+8C5OUrxGo7N68oA5YvMRcnZfo95EYw91E9Ro4ZpA
 aKkZmursnVWkCs77sc6cFvi6kw1nNZ57UXc/avjVgSA2JrzNcUdK76RDl3E5Sm5r+plu
 2Yww==
MIME-Version: 1.0
X-Received: by 10.236.228.40 with SMTP id e38mr33203381yhq.76.1401549436442;
 Sat, 31 May 2014 08:17:16 -0700 (PDT)
Received: by 10.170.206.130 with HTTP; Sat, 31 May 2014 08:17:16 -0700 (PDT)
Date: Sat, 31 May 2014 21:17:16 +0600
Message-ID: <CALkno6eb-YFHK4aSOyPhCmjQ4B7zfcmi90Mx8f6N5ZnLgLd83g@mail.gmail.com>
Subject: mirror (ZFS, gmirror) on USB sticks
From: Dmitry Sukhodoyev <raven428@gmail.com>
To: freebsd-usb@freebsd.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 31 May 2014 15:17:17 -0000

Hello. wblock@ has suggest ask here (
https://forums.freebsd.org/viewtopic.php?f=48&t=46673&p=260858#p260870) . I
am trying to build a bootable ZFS mirror on two USB-sticks. The sticks are
nothing special:
May 31 07:47:28 vmstor kernel: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
May 31 07:47:28 vmstor kernel: da0: < UFD 3.0 Silicon-Power16G PMAP>
Removable Direct Access SCSI-6 device
May 31 07:47:28 vmstor kernel: da0: Serial Number P1312160070B3C53D05D7171
May 31 07:47:28 vmstor kernel: da0: 40.000MB/s transfers
May 31 07:47:28 vmstor kernel: da0: 15120MB (30965760 512 byte sectors:
255H 63S/T 1927C)
May 31 07:47:28 vmstor kernel: da0: quirks=0x2<NO_6_BYTE>

Scrub single stick is fine:
  scan: scrub in progress since Sat May 31 08:36:45 2014
        461M scanned out of 2,87G at 25,6M/s, 0h1m to go
        0 repaired, 15,71% done

But I got the drama, when I attach second stick:
  scan: resilver in progress since Sat May 31 07:49:55 2014
        242M scanned out of 2,87G at 122K/s, 6h17m to go
        242M resilvered, 8,25% done

Both sticks are new. I tested it both with dd: single speed is about 33
Mbytes/s read and 25 Mbytes/s write. Simultaneously to both sticks
read/write, read/read, write/write by dd is lower, but still acceptable:
about 17-20 Mbytes/s. My system is FreeBSD 10.0-STABLE #0 r266463: Tue May
20 18:24:03 UTC 2014. Kernel configuration is pretty simple:
include GENERIC
ident vmstor
nooptions INET6
nooptions AHC_REG_PRETTY_PRINT
nooptions AHD_REG_PRETTY_PRINT
options CONSPEED=19200
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=512
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
options SHMMAXPGS=65536
options SEMMNI=128
options SEMMNS=32000
options SEMUME=40
options SEMMNU=120
options SEMOPM=250
options SEMMSL=250
options SHMMNI=4096
options SHMSEG=4096
options MAXDSIZ="(1024*1027*1024)"
options MAXSSIZ="(1024*1024*1024)"
options DFLDSIZ="(1024*1024*1024)"
options SHMMAX=2147483647
options SHMALL=2097152

Physcal hardware is desktop mainboards with Intel 82801G (ICH7) USB
controller on first, and Intel PCH USB 2.0 controller on second computer.
Also I bought VIA VT6202 USB 2.0 PCI controller to split sticks to
different controllers on mainboard, but results are the same.

I also tried gmirror with these sticks. It's rebuilding with high speed
like 20-30 Mbytes/s, but dump/restore speed of my root filesystem to mirror
of sticks (sure, after rebuild is finished) is same 100-200 KBytes per
second.

Is task to mirror data on USB sticks with FreeBSD possible? What did I do
wrong?

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun  1 13:00:32 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7D743253
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 13:00:32 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3CA7E2AFB
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 13:00:31 +0000 (UTC)
Received: from [93.104.24.32] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>) id 1Wr5NE-0004IT-Ne
 for freebsd-usb@freebsd.org; Sun, 01 Jun 2014 15:00:28 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s51D0QhS002327
 for <freebsd-usb@freebsd.org>; Sun, 1 Jun 2014 15:00:26 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s51D0PJ0002326
 for freebsd-usb@freebsd.org; Sun, 1 Jun 2014 15:00:25 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Sun, 1 Jun 2014 15:00:25 +0200
From: Matthias Apitz <guru@unixarea.de>
To: freebsd-usb@freebsd.org
Subject: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140601130025.GA2255@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 93.104.24.32
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jun 2014 13:00:32 -0000

El día Monday, May 19, 2014 a las 08:45:01PM +0200, Datasmurf escribió:

> Hello,
> 
> i bought a few years ago, a parallel to usb cable from LogiLink [1].
> It used to work fine with freebsd. 
> 
> [1] http://www.logilink.eu/showproduct/AU0003C.htm

Hello,

I bought this device now and it attaches as:

Jun  1 11:02:12 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun  1 11:02:12 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun  1 11:02:12 La-Habana kernel: ulpt0: using bi-directional mode

# usbconfig -u 1 -a 2 dump_device_desc
ugen1.2: <IEEE-1284 Controller Prlific Technology Inc.> at usbus1, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (100mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x067b 
  idProduct = 0x2305 
  bcdDevice = 0x0200 
  iManufacturer = 0x0001  <Prlific Technology Inc.>
  iProduct = 0x0002  <IEEE-1284 Controller>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

# uname -a
FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun
22 14:15:48 CEST 2013...


but I can not send data to the device:

# cat Pango/my1st.ps > /dev/ulpt0
cat: stdout: Input/output error
# cat Pango/my1st.ps > /dev/unlpt0
cat: stdout: Input/output error

Any ideas?

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun  1 17:44:14 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9E133596
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 17:44:14 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6052D20C5
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 17:44:13 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id D48351FE026;
 Sun,  1 Jun 2014 19:44:11 +0200 (CEST)
Message-ID: <538B6693.5010108@selasky.org>
Date: Sun, 01 Jun 2014 19:44:51 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>, freebsd-usb@freebsd.org
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana>
In-Reply-To: <20140601130025.GA2255@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jun 2014 17:44:14 -0000

On 06/01/14 15:00, Matthias Apitz wrote:
> El día Monday, May 19, 2014 a las 08:45:01PM +0200, Datasmurf escribió:
>
>> Hello,
>>
>> i bought a few years ago, a parallel to usb cable from LogiLink [1].
>> It used to work fine with freebsd.
>>
>> [1] http://www.logilink.eu/showproduct/AU0003C.htm
>
> Hello,
>
> I bought this device now and it attaches as:
>
> Jun  1 11:02:12 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
> Jun  1 11:02:12 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun  1 11:02:12 La-Habana kernel: ulpt0: using bi-directional mode
>
> # usbconfig -u 1 -a 2 dump_device_desc
> ugen1.2: <IEEE-1284 Controller Prlific Technology Inc.> at usbus1, cfg=0
> md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
>
>    bLength = 0x0012
>    bDescriptorType = 0x0001
>    bcdUSB = 0x0100
>    bDeviceClass = 0x0000
>    bDeviceSubClass = 0x0000
>    bDeviceProtocol = 0x0000
>    bMaxPacketSize0 = 0x0008
>    idVendor = 0x067b
>    idProduct = 0x2305
>    bcdDevice = 0x0200
>    iManufacturer = 0x0001  <Prlific Technology Inc.>
>    iProduct = 0x0002  <IEEE-1284 Controller>
>    iSerialNumber = 0x0000  <no string>
>    bNumConfigurations = 0x0001
>
> # uname -a
> FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun
> 22 14:15:48 CEST 2013...
>
>
> but I can not send data to the device:
>
> # cat Pango/my1st.ps > /dev/ulpt0
> cat: stdout: Input/output error
> # cat Pango/my1st.ps > /dev/unlpt0
> cat: stdout: Input/output error
>
> Any ideas?
>
> 	matthias
>

What does:

usbdump -i usbusX -f Y -s 65536 -vvv

Outpu when you run the cat?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun  1 17:58:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D739D8BB
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 17:58:55 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 831AF21AA
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 17:58:55 +0000 (UTC)
Received: from [93.104.24.32] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WrA1z-0005jz-0p; Sun, 01 Jun 2014 19:58:51 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s51Hwmaj002154;
 Sun, 1 Jun 2014 19:58:48 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s51Hwlkg002153;
 Sun, 1 Jun 2014 19:58:47 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Sun, 1 Jun 2014 19:58:46 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140601175846.GA2104@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana>
 <538B6693.5010108@selasky.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <538B6693.5010108@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 93.104.24.32
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jun 2014 17:58:55 -0000


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

El día Sunday, June 01, 2014 a las 07:44:51PM +0200, Hans Petter Selasky escribió:

> What does:
> 
> usbdump -i usbusX -f Y -s 65536 -vvv
> 
> Outpu when you run the cat?

Attached the output of

# usbdump -i usbus1 -f 2 -s 65536 -vvv > usbdump.txt

while running in another xterm

# date > /dev/unlpt0

Thanks

	matthias

PD: I saw another thread on October 28, 2013 with the same device id's
while googling, in which you tried help out; could not find a final
result; and the situation was not the same, I think.

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="usbdump.txt"

19:51:49.118729 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:51:50.101242 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:51:50.138033 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:51:51.118355 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:51:51.145112 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:51:52.134309 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:51:52.166342 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:51:53.162344 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:51:53.214217 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:51:54.220627 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:51:54.269075 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:51:55.269101 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:51:55.318114 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:51:56.297309 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:51:56.349254 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:51:57.370329 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:51:57.419069 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:51:58.420364 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:51:58.469073 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:51:59.470321 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:51:59.519073 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:00.520315 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:00.569069 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:52:01.554311 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:01.606289 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:02.620332 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:02.669073 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:52:03.670322 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:03.719077 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:04.702308 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:04.754210 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:52:05.770326 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:05.819076 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:06.802304 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:06.854212 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:52:07.870092 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:07.919091 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:08.920349 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:08.970143 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x4e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|0>
19:52:09.970343 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:10.019081 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=50
 frame[0] WRITE 8 bytes
 0000  02 01 00 00 01 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0 <0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:10.520112 usbus1.2 DONE-BULK-EP=00000001,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=CANCELLED
 flags 0x18 <PIPE_BOF|PROXY_BUFFER|0>
 status 0xae01c <DID_DMA_DELAY|DID_CLOSE|DRAINING|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>
19:52:11.019340 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  00 09 00 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0x6e1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|0>
19:52:11.019373 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=0,SLEN=0,IVAL=50,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:11.021113 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.667213 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  00 05 02 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x50 <PROXY_BUFFER|MANUAL_STATUS|0>
 status 0xee3a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CONTROL_ACT|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.669083 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x50 <PROXY_BUFFER|MANUAL_STATUS|0>
 status 0xce3a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CONTROL_ACT|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.669128 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0
 frame[0] WRITE 0 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce0a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.671055 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 0 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee0a1 <OPEN|STARTED|CONTROL_XFR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.686333 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 01 00 00 08 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.688071 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 8 bytes
 0000  12 01 00 01 00 00 00 08  -- -- -- -- -- -- -- --  |........        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.688121 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 01 00 00 12 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 18 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.690057 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 18 bytes
 0000  12 01 00 01 00 00 00 08  7B 06 05 23 00 02 01 02  |........{..#....|
 0010  00 01 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.690110 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 02 00 00 09 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 9 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.692064 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=12,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 9 bytes
 0000  09 02 4E 00 01 01 00 A0  32 -- -- -- -- -- -- --  |..N.....2       |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.692114 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 02 00 00 4E 00  -- -- -- -- -- -- -- --  |......N.        |
 frame[1] READ 78 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.694058 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=80,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 78 bytes
 0000  09 02 4E 00 01 01 00 A0  32 09 04 00 00 01 07 01  |..N.....2.......|
 0010  01 00 07 05 01 02 40 00  00 09 04 00 01 02 07 01  |......@.........|
 0020  02 00 07 05 01 02 40 00  00 07 05 82 02 40 00 00  |......@......@..|
 0030  09 04 00 02 03 FF 00 FF  00 07 05 01 02 40 00 00  |.............@..|
 0040  07 05 82 02 40 00 00 07  05 83 03 04 00 01 -- --  |....@.........  |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.694108 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  00 09 01 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.696069 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.709687 usbus1.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  01 0B 01 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.711078 usbus1.2 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xee1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:11.717057 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xee1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:12.700310 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0x8e1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|DOING_CALLBACK|0>
19:52:12.718499 usbus1.2 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  A1 01 00 00 00 00 01 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 1 bytes
 flags 0 <0>
 status 0xce1a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
19:52:13.721165 usbus1.2 DONE-CTRL-EP=00000080,SPD=FULL,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
 flags 0 <0>
 status 0xae1a5 <OPEN|DID_DMA_DELAY|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_NO_POST_SYNC|BDMA_SETUP|CURR_DMA_SET|DOING_CALLBACK|0>

65 packets captured
65 packets received by filter
0 packets dropped by kernel

--Nq2Wo0NMKNjxTN9z--

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun  1 18:08:40 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 67C20AB4
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 18:08:40 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 27687227B
 for <freebsd-usb@freebsd.org>; Sun,  1 Jun 2014 18:08:39 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 220D41FE026;
 Sun,  1 Jun 2014 20:08:39 +0200 (CEST)
Message-ID: <538B6C4F.9050205@selasky.org>
Date: Sun, 01 Jun 2014 20:09:19 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana>
In-Reply-To: <20140601175846.GA2104@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jun 2014 18:08:40 -0000

On 06/01/14 19:58, Matthias Apitz wrote:
> El día Sunday, June 01, 2014 a las 07:44:51PM +0200, Hans Petter Selasky escribió:
>
>> What does:
>>
>> usbdump -i usbusX -f Y -s 65536 -vvv
>>
>> Outpu when you run the cat?
>
> Attached the output of
>
> # usbdump -i usbus1 -f 2 -s 65536 -vvv > usbdump.txt
>
> while running in another xterm
>
> # date > /dev/unlpt0
>

Hi,

The trace shows that the device is not responding to a control request, 
which is the port status control request. This is a violation of USB.org 
ULPT standards.

Are you sure your device is genuine, hence the wrong spelling of 
"Prolific" ?

Try compiling the ulpt module with USB_DEBUG set:

ee /sys/modules/usb/ulpt/Makefile

ADD:

CFLAGS+= -DUSB_DEBUG

Rebuild and install the module.

Set hw.usb.ulpt.debug=15

Look for errors.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun  2 15:08:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3E803D8B
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 15:08:16 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EEDF8209B
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 15:08:15 +0000 (UTC)
Received: from [93.104.22.155] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WrTqI-0007QA-Rx; Mon, 02 Jun 2014 17:08:07 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s52F84MT002046;
 Mon, 2 Jun 2014 17:08:04 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s52F82Js002045;
 Mon, 2 Jun 2014 17:08:02 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 2 Jun 2014 17:08:02 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140602150802.GA1950@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <538B6C4F.9050205@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 93.104.22.155
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jun 2014 15:08:16 -0000

El día Sunday, June 01, 2014 a las 08:09:19PM +0200, Hans Petter Selasky escribió:

> Try compiling the ulpt module with USB_DEBUG set:
> 
> ee /sys/modules/usb/ulpt/Makefile
> 
> ADD:
> 
> CFLAGS+= -DUSB_DEBUG
> 
> Rebuild and install the module.
> 
> Set hw.usb.ulpt.debug=15

Here it goes:

# sysctl hw.usb.ulpt.debug=15
hw.usb.ulpt.debug: 0 -> 15

(now attaching the USB cable)

# tail -f /var/log/messages
Jun  2 16:57:59 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun  2 16:57:59 La-Habana kernel: ulpt_probe: 
Jun  2 16:57:59 La-Habana kernel: ulpt_probe: 
Jun  2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700
Jun  2 16:57:59 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun  2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun  2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode
Jun  2 16:58:00 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun  2 16:58:29 La-Habana last message repeated 22 times

(now doing in anaother session 'date > /dev/unlpt0')

Jun  2 16:58:30 La-Habana su: guru to root on /dev/pts/1
Jun  2 16:58:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun  2 16:58:41 La-Habana last message repeated 7 times
Jun  2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun  2 16:58:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT

Thanks

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun  2 15:38:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 60286B87
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 15:38:04 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 22C7A2399
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 15:38:03 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 04E841FE027;
 Mon,  2 Jun 2014 17:38:02 +0200 (CEST)
Message-ID: <538C9A83.7050606@selasky.org>
Date: Mon, 02 Jun 2014 17:38:43 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana>
In-Reply-To: <20140602150802.GA1950@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jun 2014 15:38:04 -0000

On 06/02/14 17:08, Matthias Apitz wrote:
> El día Sunday, June 01, 2014 a las 08:09:19PM +0200, Hans Petter Selasky escribió:
>
>> Try compiling the ulpt module with USB_DEBUG set:
>>
>> ee /sys/modules/usb/ulpt/Makefile
>>
>> ADD:
>>
>> CFLAGS+= -DUSB_DEBUG
>>
>> Rebuild and install the module.
>>
>> Set hw.usb.ulpt.debug=15
>
> Here it goes:
>
> # sysctl hw.usb.ulpt.debug=15
> hw.usb.ulpt.debug: 0 -> 15
>
> (now attaching the USB cable)
>
> # tail -f /var/log/messages
> Jun  2 16:57:59 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
> Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> Jun  2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700
> Jun  2 16:57:59 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun  2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> Jun  2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode
> Jun  2 16:58:00 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
> Jun  2 16:58:29 La-Habana last message repeated 22 times
>
> (now doing in anaother session 'date > /dev/unlpt0')
>
> Jun  2 16:58:30 La-Habana su: guru to root on /dev/pts/1
> Jun  2 16:58:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
> Jun  2 16:58:41 La-Habana last message repeated 7 times
> Jun  2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
> Jun  2 16:58:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
>
> Thanks
>
> 	matthias
>

Hi,

TIMEOUT means the device is not receiving any data. Can you confirm that 
the device is still working using other computers?

Did you dump the complete device and configuration descriptor?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun  2 18:28:50 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 87E333E2
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 18:28:50 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 45091255E
 for <freebsd-usb@freebsd.org>; Mon,  2 Jun 2014 18:28:49 +0000 (UTC)
Received: from [89.204.154.213] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WrWyU-000630-Kc; Mon, 02 Jun 2014 20:28:46 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s52ISh72002001;
 Mon, 2 Jun 2014 20:28:43 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s52ISgn4002000;
 Mon, 2 Jun 2014 20:28:42 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 2 Jun 2014 20:28:42 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140602182842.GA1920@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <538C9A83.7050606@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.213
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jun 2014 18:28:50 -0000

El día Monday, June 02, 2014 a las 05:38:43PM +0200, Hans Petter Selasky escribió:

> TIMEOUT means the device is not receiving any data. Can you confirm that 
> the device is still working using other computers?

Hi,

The printer was working when I used it last time, but this is long ago.
It still does print fine its self-test-page and goes ready (green light). I do
not have any FreeBSD laptop with parallel interface anymore, but you are
absolutely rigth: time to check if it does print somewhere else through
the || interface or even on Windows through the USB-to-|| cable. I will
let you know, have to look in my office for both.

> Did you dump the complete device and configuration descriptor?

I did send in this thread yesterday the output of

# usbconfig -u 1 -a 2 dump_device_desc

Anything else?

Thanks for your kind help.

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 14:56:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3C34EE14
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 14:56:44 +0000 (UTC)
Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1ED2523E0
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 14:56:43 +0000 (UTC)
Received: from [192.168.200.106] (c-50-131-4-11.hsd1.ca.comcast.net
 [50.131.4.11])
 (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: sbruno@ignoranthack.me)
 by mail.ignoranthack.me (Postfix) with ESMTPSA id 47BD4193D9B
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 14:56:37 +0000 (UTC)
Subject: Lenovo T61, USB fails to power on after resume
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: freebsd-usb@freebsd.org
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 03 Jun 2014 07:56:38 -0700
Message-ID: <1401807398.96874.3.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 14:56:44 -0000

Noted that on resume, the USB ports on my T61 don't seem to be active.

How should I go about debugging this?

sean


From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 15:54:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1661FA48;
 Tue,  3 Jun 2014 15:54:23 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CE2D22A27;
 Tue,  3 Jun 2014 15:54:22 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 63B2A1FE027;
 Tue,  3 Jun 2014 17:54:20 +0200 (CEST)
Message-ID: <538DEFD3.2010406@selasky.org>
Date: Tue, 03 Jun 2014 17:54:59 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: sbruno@freebsd.org, freebsd-usb@freebsd.org
Subject: Re: Lenovo T61, USB fails to power on after resume
References: <1401807398.96874.3.camel@bruno>
In-Reply-To: <1401807398.96874.3.camel@bruno>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 15:54:23 -0000

On 06/03/14 16:56, Sean Bruno wrote:
> Noted that on resume, the USB ports on my T61 don't seem to be active.
>
> How should I go about debugging this?
>
> sean

Hi,

The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does 
during power on, when it resumes. Ensure the ports are powered.  +5V. 
Might be a BIOS/PCI/ACPI issue.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 16:37:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4363D518
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 16:37:16 +0000 (UTC)
Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 230692DDC
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 16:37:15 +0000 (UTC)
Received: from [192.168.200.106] (c-50-131-4-11.hsd1.ca.comcast.net
 [50.131.4.11])
 (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: sbruno@ignoranthack.me)
 by mail.ignoranthack.me (Postfix) with ESMTPSA id DB8A119294A;
 Tue,  3 Jun 2014 16:37:14 +0000 (UTC)
Subject: Re: Lenovo T61, USB fails to power on after resume
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: Hans Petter Selasky <hps@selasky.org>
In-Reply-To: <538DEFD3.2010406@selasky.org>
References: <1401807398.96874.3.camel@bruno>  <538DEFD3.2010406@selasky.org>
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 03 Jun 2014 09:36:14 -0700
Message-ID: <1401813374.1114.0.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 16:37:16 -0000

On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
> On 06/03/14 16:56, Sean Bruno wrote:
> > Noted that on resume, the USB ports on my T61 don't seem to be active.
> >
> > How should I go about debugging this?
> >
> > sean
> 
> Hi,
> 
> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does 
> during power on, when it resumes. Ensure the ports are powered.  +5V. 
> Might be a BIOS/PCI/ACPI issue.
> 
> --HPS
> 


Is there something in the output of usbconfig that I can poke at to see
if the hardware *thinks* it is powered on?

sean


From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 16:58:03 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5A0C3F1A;
 Tue,  3 Jun 2014 16:58:03 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 131EF2FAD;
 Tue,  3 Jun 2014 16:58:03 +0000 (UTC)
Received: from laptop015.home.selasky.org (unknown [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 82D0A1FE027;
 Tue,  3 Jun 2014 18:58:01 +0200 (CEST)
Message-ID: <538DFEA8.3090607@selasky.org>
Date: Tue, 03 Jun 2014 18:58:16 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: sbruno@freebsd.org
Subject: Re: Lenovo T61, USB fails to power on after resume
References: <1401807398.96874.3.camel@bruno> <538DEFD3.2010406@selasky.org>
 <1401813374.1114.0.camel@bruno>
In-Reply-To: <1401813374.1114.0.camel@bruno>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 16:58:03 -0000

On 06/03/14 18:36, Sean Bruno wrote:
> On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
>> On 06/03/14 16:56, Sean Bruno wrote:
>>> Noted that on resume, the USB ports on my T61 don't seem to be active.
>>>
>>> How should I go about debugging this?
>>>
>>> sean
>>
>> Hi,
>>
>> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
>> during power on, when it resumes. Ensure the ports are powered.  +5V.
>> Might be a BIOS/PCI/ACPI issue.
>>
>> --HPS
>>
>
>
> Is there something in the output of usbconfig that I can poke at to see
> if the hardware *thinks* it is powered on?
>
> sean
>
>

Yes, there is the port status.

struct usb_port_status {
         uWord   wPortStatus;
#define UPS_CURRENT_CONNECT_STATUS      0x0001
#define UPS_PORT_ENABLED                0x0002
#define UPS_SUSPEND                     0x0004
#define UPS_OVERCURRENT_INDICATOR       0x0008
#define UPS_RESET                       0x0010
#define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
/* The link-state bits are valid for Super-Speed USB HUBs */
#define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
#define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
#define UPS_PORT_LS_U0          0x00
#define UPS_PORT_LS_U1          0x01
#define UPS_PORT_LS_U2          0x02
#define UPS_PORT_LS_U3          0x03
#define UPS_PORT_LS_SS_DIS      0x04
#define UPS_PORT_LS_RX_DET      0x05
#define UPS_PORT_LS_SS_INA      0x06
#define UPS_PORT_LS_POLL        0x07
#define UPS_PORT_LS_RECOVER     0x08
#define UPS_PORT_LS_HOT_RST     0x09
#define UPS_PORT_LS_COMP_MODE   0x0A
#define UPS_PORT_LS_LOOPBACK    0x0B
#define UPS_PORT_LS_RESUME      0x0F
#define UPS_PORT_POWER                  0x0100
#define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
#define UPS_LOW_SPEED                   0x0200
#define UPS_HIGH_SPEED                  0x0400
#define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD 
specific */
#define UPS_PORT_TEST                   0x0800
#define UPS_PORT_INDICATOR              0x1000
#define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD 
specific */
         uWord   wPortChange;
#define UPS_C_CONNECT_STATUS            0x0001
#define UPS_C_PORT_ENABLED              0x0002
#define UPS_C_SUSPEND                   0x0004
#define UPS_C_OVERCURRENT_INDICATOR     0x0008
#define UPS_C_PORT_RESET                0x0010
#define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
#define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
#define UPS_C_PORT_LINK_STATE           0x0040
#define UPS_C_PORT_CONFIG_ERROR         0x0080
} __packed;

It is probed regularly by the UHUB driver and the port status is printed 
in dmesg.

Turn on like this:

sysctl hw.usb.uhub.debug=16

By resetting the root HUB, you can write new power on bits:

usbconfig -d X.1 set_config 255
usbconfig -d X.1 set_config 0

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 18:28:12 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 73A0B5B1
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 18:28:12 +0000 (UTC)
Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3D4CE2843
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 18:28:11 +0000 (UTC)
Received: from [192.168.200.106] (c-50-131-4-11.hsd1.ca.comcast.net
 [50.131.4.11])
 (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: sbruno@ignoranthack.me)
 by mail.ignoranthack.me (Postfix) with ESMTPSA id EF4D519294A;
 Tue,  3 Jun 2014 18:28:09 +0000 (UTC)
Subject: Re: Lenovo T61, USB fails to power on after resume
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: Hans Petter Selasky <hps@selasky.org>
In-Reply-To: <538DFEA8.3090607@selasky.org>
References: <1401807398.96874.3.camel@bruno>  <538DEFD3.2010406@selasky.org>
 <1401813374.1114.0.camel@bruno>  <538DFEA8.3090607@selasky.org>
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 03 Jun 2014 11:28:08 -0700
Message-ID: <1401820088.1120.9.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 18:28:12 -0000

On Tue, 2014-06-03 at 18:58 +0200, Hans Petter Selasky wrote:
> On 06/03/14 18:36, Sean Bruno wrote:
> > On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
> >> On 06/03/14 16:56, Sean Bruno wrote:
> >>> Noted that on resume, the USB ports on my T61 don't seem to be active.
> >>>
> >>> How should I go about debugging this?
> >>>
> >>> sean
> >>
> >> Hi,
> >>
> >> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
> >> during power on, when it resumes. Ensure the ports are powered.  +5V.
> >> Might be a BIOS/PCI/ACPI issue.
> >>
> >> --HPS
> >>
> >
> >
> > Is there something in the output of usbconfig that I can poke at to see
> > if the hardware *thinks* it is powered on?
> >
> > sean
> >
> >
> 
> Yes, there is the port status.
> 
> struct usb_port_status {
>          uWord   wPortStatus;
> #define UPS_CURRENT_CONNECT_STATUS      0x0001
> #define UPS_PORT_ENABLED                0x0002
> #define UPS_SUSPEND                     0x0004
> #define UPS_OVERCURRENT_INDICATOR       0x0008
> #define UPS_RESET                       0x0010
> #define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
> /* The link-state bits are valid for Super-Speed USB HUBs */
> #define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
> #define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
> #define UPS_PORT_LS_U0          0x00
> #define UPS_PORT_LS_U1          0x01
> #define UPS_PORT_LS_U2          0x02
> #define UPS_PORT_LS_U3          0x03
> #define UPS_PORT_LS_SS_DIS      0x04
> #define UPS_PORT_LS_RX_DET      0x05
> #define UPS_PORT_LS_SS_INA      0x06
> #define UPS_PORT_LS_POLL        0x07
> #define UPS_PORT_LS_RECOVER     0x08
> #define UPS_PORT_LS_HOT_RST     0x09
> #define UPS_PORT_LS_COMP_MODE   0x0A
> #define UPS_PORT_LS_LOOPBACK    0x0B
> #define UPS_PORT_LS_RESUME      0x0F
> #define UPS_PORT_POWER                  0x0100
> #define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
> #define UPS_LOW_SPEED                   0x0200
> #define UPS_HIGH_SPEED                  0x0400
> #define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD 
> specific */
> #define UPS_PORT_TEST                   0x0800
> #define UPS_PORT_INDICATOR              0x1000
> #define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD 
> specific */
>          uWord   wPortChange;
> #define UPS_C_CONNECT_STATUS            0x0001
> #define UPS_C_PORT_ENABLED              0x0002
> #define UPS_C_SUSPEND                   0x0004
> #define UPS_C_OVERCURRENT_INDICATOR     0x0008
> #define UPS_C_PORT_RESET                0x0010
> #define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
> #define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
> #define UPS_C_PORT_LINK_STATE           0x0040
> #define UPS_C_PORT_CONFIG_ERROR         0x0080
> } __packed;
> 
> It is probed regularly by the UHUB driver and the port status is printed 
> in dmesg.
> 
> Turn on like this:
> 
> sysctl hw.usb.uhub.debug=16
> 
> By resetting the root HUB, you can write new power on bits:
> 
> usbconfig -d X.1 set_config 255
> usbconfig -d X.1 set_config 0
> 
> --HPS

Well, that's problematic.  The USB tree looks like this normally:

ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA)
ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.2: <Biometric Coprocessor STMicroelectronics> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (100mA)


But, on resume ... sometimes ...  ugen0.1 is just flatout gone (along
with the ugen0.2 device, obviously).  This only seems to happen with
various USB device plugged in (tried about 4 different make/model usb
sticks and ext drives).

So, resetting doesn't work as the device is literally gone.  Thoughts?

sean





From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 19:59:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 21F729B;
 Tue,  3 Jun 2014 19:59:05 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A12D723FC;
 Tue,  3 Jun 2014 19:59:04 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id A4D0B1FE028;
 Tue,  3 Jun 2014 21:59:03 +0200 (CEST)
Message-ID: <538E292A.6090804@selasky.org>
Date: Tue, 03 Jun 2014 21:59:38 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: sbruno@freebsd.org
Subject: Re: Lenovo T61, USB fails to power on after resume
References: <1401807398.96874.3.camel@bruno> <538DEFD3.2010406@selasky.org>	
 <1401813374.1114.0.camel@bruno> <538DFEA8.3090607@selasky.org>
 <1401820088.1120.9.camel@bruno>
In-Reply-To: <1401820088.1120.9.camel@bruno>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 19:59:05 -0000

On 06/03/14 20:28, Sean Bruno wrote:
> On Tue, 2014-06-03 at 18:58 +0200, Hans Petter Selasky wrote:
>> On 06/03/14 18:36, Sean Bruno wrote:
>>> On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
>>>> On 06/03/14 16:56, Sean Bruno wrote:
>>>>> Noted that on resume, the USB ports on my T61 don't seem to be active.
>>>>>
>>>>> How should I go about debugging this?
>>>>>
>>>>> sean
>>>>
>>>> Hi,
>>>>
>>>> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
>>>> during power on, when it resumes. Ensure the ports are powered.  +5V.
>>>> Might be a BIOS/PCI/ACPI issue.
>>>>
>>>> --HPS
>>>>
>>>
>>>
>>> Is there something in the output of usbconfig that I can poke at to see
>>> if the hardware *thinks* it is powered on?
>>>
>>> sean
>>>
>>>
>>
>> Yes, there is the port status.
>>
>> struct usb_port_status {
>>           uWord   wPortStatus;
>> #define UPS_CURRENT_CONNECT_STATUS      0x0001
>> #define UPS_PORT_ENABLED                0x0002
>> #define UPS_SUSPEND                     0x0004
>> #define UPS_OVERCURRENT_INDICATOR       0x0008
>> #define UPS_RESET                       0x0010
>> #define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
>> /* The link-state bits are valid for Super-Speed USB HUBs */
>> #define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
>> #define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
>> #define UPS_PORT_LS_U0          0x00
>> #define UPS_PORT_LS_U1          0x01
>> #define UPS_PORT_LS_U2          0x02
>> #define UPS_PORT_LS_U3          0x03
>> #define UPS_PORT_LS_SS_DIS      0x04
>> #define UPS_PORT_LS_RX_DET      0x05
>> #define UPS_PORT_LS_SS_INA      0x06
>> #define UPS_PORT_LS_POLL        0x07
>> #define UPS_PORT_LS_RECOVER     0x08
>> #define UPS_PORT_LS_HOT_RST     0x09
>> #define UPS_PORT_LS_COMP_MODE   0x0A
>> #define UPS_PORT_LS_LOOPBACK    0x0B
>> #define UPS_PORT_LS_RESUME      0x0F
>> #define UPS_PORT_POWER                  0x0100
>> #define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
>> #define UPS_LOW_SPEED                   0x0200
>> #define UPS_HIGH_SPEED                  0x0400
>> #define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD
>> specific */
>> #define UPS_PORT_TEST                   0x0800
>> #define UPS_PORT_INDICATOR              0x1000
>> #define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD
>> specific */
>>           uWord   wPortChange;
>> #define UPS_C_CONNECT_STATUS            0x0001
>> #define UPS_C_PORT_ENABLED              0x0002
>> #define UPS_C_SUSPEND                   0x0004
>> #define UPS_C_OVERCURRENT_INDICATOR     0x0008
>> #define UPS_C_PORT_RESET                0x0010
>> #define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
>> #define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
>> #define UPS_C_PORT_LINK_STATE           0x0040
>> #define UPS_C_PORT_CONFIG_ERROR         0x0080
>> } __packed;
>>
>> It is probed regularly by the UHUB driver and the port status is printed
>> in dmesg.
>>
>> Turn on like this:
>>
>> sysctl hw.usb.uhub.debug=16
>>
>> By resetting the root HUB, you can write new power on bits:
>>
>> usbconfig -d X.1 set_config 255
>> usbconfig -d X.1 set_config 0
>>
>> --HPS
>
> Well, that's problematic.  The USB tree looks like this normally:
>
> ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE (0mA)
> ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE (0mA)
> ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=SAVE (0mA)
> ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE (0mA)
> ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE (0mA)
> ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=SAVE (0mA)
> ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=SAVE (0mA)
> ugen0.2: <Biometric Coprocessor STMicroelectronics> at usbus0, cfg=0
> md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
>
>
> But, on resume ... sometimes ...  ugen0.1 is just flatout gone (along
> with the ugen0.2 device, obviously).  This only seems to happen with
> various USB device plugged in (tried about 4 different make/model usb
> sticks and ext drives).
>
> So, resetting doesn't work as the device is literally gone.  Thoughts?
>
> sean
>

Setting hw.usb.debug=15 should give you some hints. Are you sure the PCI 
device is still there after resume?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 20:11:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 02AB0707
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 20:11:49 +0000 (UTC)
Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D53652586
 for <freebsd-usb@freebsd.org>; Tue,  3 Jun 2014 20:11:48 +0000 (UTC)
Received: from [192.168.200.106] (c-50-131-4-11.hsd1.ca.comcast.net
 [50.131.4.11])
 (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: sbruno@ignoranthack.me)
 by mail.ignoranthack.me (Postfix) with ESMTPSA id 4AE0A19294A;
 Tue,  3 Jun 2014 20:11:47 +0000 (UTC)
Subject: Re: Lenovo T61, USB fails to power on after resume
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: Hans Petter Selasky <hps@selasky.org>
In-Reply-To: <538E292A.6090804@selasky.org>
References: <1401807398.96874.3.camel@bruno>  <538DEFD3.2010406@selasky.org>
 <1401813374.1114.0.camel@bruno>  <538DFEA8.3090607@selasky.org>
 <1401820088.1120.9.camel@bruno>  <538E292A.6090804@selasky.org>
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 03 Jun 2014 13:11:46 -0700
Message-ID: <1401826306.1282.2.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 20:11:49 -0000

On Tue, 2014-06-03 at 21:59 +0200, Hans Petter Selasky wrote:
> On 06/03/14 20:28, Sean Bruno wrote:
> > On Tue, 2014-06-03 at 18:58 +0200, Hans Petter Selasky wrote:
> >> On 06/03/14 18:36, Sean Bruno wrote:
> >>> On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
> >>>> On 06/03/14 16:56, Sean Bruno wrote:
> >>>>> Noted that on resume, the USB ports on my T61 don't seem to be active.
> >>>>>
> >>>>> How should I go about debugging this?
> >>>>>
> >>>>> sean
> >>>>
> >>>> Hi,
> >>>>
> >>>> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
> >>>> during power on, when it resumes. Ensure the ports are powered.  +5V.
> >>>> Might be a BIOS/PCI/ACPI issue.
> >>>>
> >>>> --HPS
> >>>>
> >>>
> >>>
> >>> Is there something in the output of usbconfig that I can poke at to see
> >>> if the hardware *thinks* it is powered on?
> >>>
> >>> sean
> >>>
> >>>
> >>
> >> Yes, there is the port status.
> >>
> >> struct usb_port_status {
> >>           uWord   wPortStatus;
> >> #define UPS_CURRENT_CONNECT_STATUS      0x0001
> >> #define UPS_PORT_ENABLED                0x0002
> >> #define UPS_SUSPEND                     0x0004
> >> #define UPS_OVERCURRENT_INDICATOR       0x0008
> >> #define UPS_RESET                       0x0010
> >> #define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
> >> /* The link-state bits are valid for Super-Speed USB HUBs */
> >> #define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
> >> #define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
> >> #define UPS_PORT_LS_U0          0x00
> >> #define UPS_PORT_LS_U1          0x01
> >> #define UPS_PORT_LS_U2          0x02
> >> #define UPS_PORT_LS_U3          0x03
> >> #define UPS_PORT_LS_SS_DIS      0x04
> >> #define UPS_PORT_LS_RX_DET      0x05
> >> #define UPS_PORT_LS_SS_INA      0x06
> >> #define UPS_PORT_LS_POLL        0x07
> >> #define UPS_PORT_LS_RECOVER     0x08
> >> #define UPS_PORT_LS_HOT_RST     0x09
> >> #define UPS_PORT_LS_COMP_MODE   0x0A
> >> #define UPS_PORT_LS_LOOPBACK    0x0B
> >> #define UPS_PORT_LS_RESUME      0x0F
> >> #define UPS_PORT_POWER                  0x0100
> >> #define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
> >> #define UPS_LOW_SPEED                   0x0200
> >> #define UPS_HIGH_SPEED                  0x0400
> >> #define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD
> >> specific */
> >> #define UPS_PORT_TEST                   0x0800
> >> #define UPS_PORT_INDICATOR              0x1000
> >> #define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD
> >> specific */
> >>           uWord   wPortChange;
> >> #define UPS_C_CONNECT_STATUS            0x0001
> >> #define UPS_C_PORT_ENABLED              0x0002
> >> #define UPS_C_SUSPEND                   0x0004
> >> #define UPS_C_OVERCURRENT_INDICATOR     0x0008
> >> #define UPS_C_PORT_RESET                0x0010
> >> #define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
> >> #define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
> >> #define UPS_C_PORT_LINK_STATE           0x0040
> >> #define UPS_C_PORT_CONFIG_ERROR         0x0080
> >> } __packed;
> >>
> >> It is probed regularly by the UHUB driver and the port status is printed
> >> in dmesg.
> >>
> >> Turn on like this:
> >>
> >> sysctl hw.usb.uhub.debug=16
> >>
> >> By resetting the root HUB, you can write new power on bits:
> >>
> >> usbconfig -d X.1 set_config 255
> >> usbconfig -d X.1 set_config 0
> >>
> >> --HPS
> >
> > Well, that's problematic.  The USB tree looks like this normally:
> >
> > ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=SAVE (0mA)
> > ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=SAVE (0mA)
> > ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
> > (480Mbps) pwr=SAVE (0mA)
> > ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=SAVE (0mA)
> > ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=SAVE (0mA)
> > ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=SAVE (0mA)
> > ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH
> > (480Mbps) pwr=SAVE (0mA)
> > ugen0.2: <Biometric Coprocessor STMicroelectronics> at usbus0, cfg=0
> > md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
> >
> >
> > But, on resume ... sometimes ...  ugen0.1 is just flatout gone (along
> > with the ugen0.2 device, obviously).  This only seems to happen with
> > various USB device plugged in (tried about 4 different make/model usb
> > sticks and ext drives).
> >
> > So, resetting doesn't work as the device is literally gone.  Thoughts?
> >
> > sean
> >
> 
> Setting hw.usb.debug=15 should give you some hints. Are you sure the PCI 
> device is still there after resume?
> 
> --HPS
> 

I did a pre/post resume pciconf -lv and I see no difference between the
two.

On initial resume, ugen0.1 appears to be there in usbconfig output, but
trying to set_config on it, causes it to dissapear and causes usbconfig
to hang:

root@bruno:/home/sbruno # usbconfig -d 0.1 set_config 255
load: 0.36  cmd: usbconfig 1540 [UGONE] 4.19r 0.00u 0.00s 0% 2064k
load: 0.36  cmd: usbconfig 1540 [UGONE] 5.00r 0.00u 0.00s 0% 2064k
load: 0.36  cmd: usbconfig 1540 [UGONE] 5.16r 0.00u 0.00s 0% 2064k
load: 0.36  cmd: usbconfig 1540 [UGONE] 5.35r 0.00u 0.00s 0% 2064k
load: 0.36  cmd: usbconfig 1540 [UGONE] 5.51r 0.00u 0.00s 0% 2064k




From owner-freebsd-usb@FreeBSD.ORG  Tue Jun  3 20:21:06 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BD87916D;
 Tue,  3 Jun 2014 20:21:06 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 68B3226A2;
 Tue,  3 Jun 2014 20:21:06 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id A223E1FE028;
 Tue,  3 Jun 2014 22:21:05 +0200 (CEST)
Message-ID: <538E2E55.6000202@selasky.org>
Date: Tue, 03 Jun 2014 22:21:41 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: sbruno@freebsd.org
Subject: Re: Lenovo T61, USB fails to power on after resume
References: <1401807398.96874.3.camel@bruno> <538DEFD3.2010406@selasky.org>	
 <1401813374.1114.0.camel@bruno> <538DFEA8.3090607@selasky.org>	
 <1401820088.1120.9.camel@bruno> <538E292A.6090804@selasky.org>
 <1401826306.1282.2.camel@bruno>
In-Reply-To: <1401826306.1282.2.camel@bruno>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jun 2014 20:21:06 -0000

On 06/03/14 22:11, Sean Bruno wrote:
> On Tue, 2014-06-03 at 21:59 +0200, Hans Petter Selasky wrote:
>> On 06/03/14 20:28, Sean Bruno wrote:
>>> On Tue, 2014-06-03 at 18:58 +0200, Hans Petter Selasky wrote:
>>>> On 06/03/14 18:36, Sean Bruno wrote:
>>>>> On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
>>>>>> On 06/03/14 16:56, Sean Bruno wrote:
>>>>>>> Noted that on resume, the USB ports on my T61 don't seem to be active.
>>>>>>>
>>>>>>> How should I go about debugging this?
>>>>>>>
>>>>>>> sean
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
>>>>>> during power on, when it resumes. Ensure the ports are powered.  +5V.
>>>>>> Might be a BIOS/PCI/ACPI issue.
>>>>>>
>>>>>> --HPS
>>>>>>
>>>>>
>>>>>
>>>>> Is there something in the output of usbconfig that I can poke at to see
>>>>> if the hardware *thinks* it is powered on?
>>>>>
>>>>> sean
>>>>>
>>>>>
>>>>
>>>> Yes, there is the port status.
>>>>
>>>> struct usb_port_status {
>>>>            uWord   wPortStatus;
>>>> #define UPS_CURRENT_CONNECT_STATUS      0x0001
>>>> #define UPS_PORT_ENABLED                0x0002
>>>> #define UPS_SUSPEND                     0x0004
>>>> #define UPS_OVERCURRENT_INDICATOR       0x0008
>>>> #define UPS_RESET                       0x0010
>>>> #define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
>>>> /* The link-state bits are valid for Super-Speed USB HUBs */
>>>> #define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
>>>> #define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
>>>> #define UPS_PORT_LS_U0          0x00
>>>> #define UPS_PORT_LS_U1          0x01
>>>> #define UPS_PORT_LS_U2          0x02
>>>> #define UPS_PORT_LS_U3          0x03
>>>> #define UPS_PORT_LS_SS_DIS      0x04
>>>> #define UPS_PORT_LS_RX_DET      0x05
>>>> #define UPS_PORT_LS_SS_INA      0x06
>>>> #define UPS_PORT_LS_POLL        0x07
>>>> #define UPS_PORT_LS_RECOVER     0x08
>>>> #define UPS_PORT_LS_HOT_RST     0x09
>>>> #define UPS_PORT_LS_COMP_MODE   0x0A
>>>> #define UPS_PORT_LS_LOOPBACK    0x0B
>>>> #define UPS_PORT_LS_RESUME      0x0F
>>>> #define UPS_PORT_POWER                  0x0100
>>>> #define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
>>>> #define UPS_LOW_SPEED                   0x0200
>>>> #define UPS_HIGH_SPEED                  0x0400
>>>> #define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD
>>>> specific */
>>>> #define UPS_PORT_TEST                   0x0800
>>>> #define UPS_PORT_INDICATOR              0x1000
>>>> #define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD
>>>> specific */
>>>>            uWord   wPortChange;
>>>> #define UPS_C_CONNECT_STATUS            0x0001
>>>> #define UPS_C_PORT_ENABLED              0x0002
>>>> #define UPS_C_SUSPEND                   0x0004
>>>> #define UPS_C_OVERCURRENT_INDICATOR     0x0008
>>>> #define UPS_C_PORT_RESET                0x0010
>>>> #define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
>>>> #define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
>>>> #define UPS_C_PORT_LINK_STATE           0x0040
>>>> #define UPS_C_PORT_CONFIG_ERROR         0x0080
>>>> } __packed;
>>>>
>>>> It is probed regularly by the UHUB driver and the port status is printed
>>>> in dmesg.
>>>>
>>>> Turn on like this:
>>>>
>>>> sysctl hw.usb.uhub.debug=16
>>>>
>>>> By resetting the root HUB, you can write new power on bits:
>>>>
>>>> usbconfig -d X.1 set_config 255
>>>> usbconfig -d X.1 set_config 0
>>>>
>>>> --HPS
>>>
>>> Well, that's problematic.  The USB tree looks like this normally:
>>>
>>> ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (0mA)
>>> ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (0mA)
>>> ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
>>> (480Mbps) pwr=SAVE (0mA)
>>> ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (0mA)
>>> ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (0mA)
>>> ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (0mA)
>>> ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH
>>> (480Mbps) pwr=SAVE (0mA)
>>> ugen0.2: <Biometric Coprocessor STMicroelectronics> at usbus0, cfg=0
>>> md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
>>>
>>>
>>> But, on resume ... sometimes ...  ugen0.1 is just flatout gone (along
>>> with the ugen0.2 device, obviously).  This only seems to happen with
>>> various USB device plugged in (tried about 4 different make/model usb
>>> sticks and ext drives).
>>>
>>> So, resetting doesn't work as the device is literally gone.  Thoughts?
>>>
>>> sean
>>>
>>
>> Setting hw.usb.debug=15 should give you some hints. Are you sure the PCI
>> device is still there after resume?
>>
>> --HPS
>>
>
> I did a pre/post resume pciconf -lv and I see no difference between the
> two.
>
> On initial resume, ugen0.1 appears to be there in usbconfig output, but
> trying to set_config on it, causes it to dissapear and causes usbconfig
> to hang:
>
> root@bruno:/home/sbruno # usbconfig -d 0.1 set_config 255
> load: 0.36  cmd: usbconfig 1540 [UGONE] 4.19r 0.00u 0.00s 0% 2064k
> load: 0.36  cmd: usbconfig 1540 [UGONE] 5.00r 0.00u 0.00s 0% 2064k
> load: 0.36  cmd: usbconfig 1540 [UGONE] 5.16r 0.00u 0.00s 0% 2064k
> load: 0.36  cmd: usbconfig 1540 [UGONE] 5.35r 0.00u 0.00s 0% 2064k
> load: 0.36  cmd: usbconfig 1540 [UGONE] 5.51r 0.00u 0.00s 0% 2064k
>
>

Hi,

What kind of USB devices are attached? Are any of these USB devices 
preventing detach? Could you check the USB threads using kgdb?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Wed Jun  4 08:00:08 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5EBFF1C7
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 08:00:08 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 41520223D
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 08:00:08 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s54808Jq048847
 for <freebsd-usb@FreeBSD.org>; Wed, 4 Jun 2014 09:00:08 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
Message-Id: <201406040800.s54808Jq048847@kenobi.freebsd.org>
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Wed, 04 Jun 2014 08:00:08 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jun 2014 08:00:08 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is an experimental feature.  Please file a bug or mail bugmeister@ with concerns.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Wed Jun  4 10:41:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0BFF574F
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 10:41:31 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E7AE12127
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 10:41:30 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s54AfUAO043180
 for <freebsd-usb@FreeBSD.org>; Wed, 4 Jun 2014 11:41:30 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190204] Please add an empty #define LIBUSB_CALL in libusb.h
 (1.0+ API)
Date: Wed, 04 Jun 2014 10:41:30 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 1.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-190204-17-dCHeaHQAW7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jun 2014 10:41:31 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190204

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jun  4 10:40:43 UTC 2014
New revision: 267047
URL: http://svnweb.freebsd.org/changeset/base/267047

Log:
  MFC r266664:
  Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API
  from sourceforge.

  PR:        usb/190204

Changes:
_U  stable/10/
  stable/10/lib/libusb/libusb.h

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jun  4 10:42:32 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 226A08C3
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 10:42:32 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 09DC521A2
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 10:42:32 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s54AgVHN044695
 for <freebsd-usb@FreeBSD.org>; Wed, 4 Jun 2014 11:42:31 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190204] Please add an empty #define LIBUSB_CALL in libusb.h
 (1.0+ API)
Date: Wed, 04 Jun 2014 10:42:32 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 1.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-190204-17-acSKCHpmMk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jun 2014 10:42:32 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190204

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jun  4 10:42:05 UTC 2014
New revision: 267048
URL: http://svnweb.freebsd.org/changeset/base/267048

Log:
  MFC r266664:
  Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API
  from sourceforge.

  PR:        usb/190204

Changes:
_U  stable/8/lib/
_U  stable/8/lib/libusb/
  stable/8/lib/libusb/libusb.h

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jun  4 13:43:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id ADD44A88
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 13:43:01 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 94A0F2451
 for <freebsd-usb@FreeBSD.org>; Wed,  4 Jun 2014 13:43:01 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s54Dh1jc063506
 for <freebsd-usb@FreeBSD.org>; Wed, 4 Jun 2014 14:43:01 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190204] Please add an empty #define LIBUSB_CALL in libusb.h
 (1.0+ API)
Date: Wed, 04 Jun 2014 13:43:01 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 1.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-190204-17-JogvtbACQA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190204-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jun 2014 13:43:01 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190204

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jun  4 13:42:19 UTC 2014
New revision: 267055
URL: http://svnweb.freebsd.org/changeset/base/267055

Log:
  MFC r266664:
  Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API
  from sourceforge.

  PR:        usb/190204
  Approved by:    re, gjb @

Changes:
_U  stable/9/lib/libusb/
  stable/9/lib/libusb/libusb.h

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jun  5 08:00:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 316F4776
 for <freebsd-usb@FreeBSD.org>; Thu,  5 Jun 2014 08:00:07 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 148082B3D
 for <freebsd-usb@FreeBSD.org>; Thu,  5 Jun 2014 08:00:07 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s55806HV038320
 for <freebsd-usb@FreeBSD.org>; Thu, 5 Jun 2014 09:00:06 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
Message-Id: <201406050800.s55806HV038320@kenobi.freebsd.org>
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Thu, 05 Jun 2014 08:00:06 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jun 2014 08:00:07 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is an experimental feature.  Please file a bug or mail bugmeister@ with concerns.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Fri Jun  6 08:00:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4E6BD3EE
 for <freebsd-usb@FreeBSD.org>; Fri,  6 Jun 2014 08:00:07 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 30B6D21B6
 for <freebsd-usb@FreeBSD.org>; Fri,  6 Jun 2014 08:00:07 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s56807EX090216
 for <freebsd-usb@FreeBSD.org>; Fri, 6 Jun 2014 09:00:07 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
Message-Id: <201406060800.s56807EX090216@kenobi.freebsd.org>
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Fri, 06 Jun 2014 08:00:07 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jun 2014 08:00:07 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is an experimental feature.  Please file a bug or mail bugmeister@ with concerns.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun  9 08:00:06 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BF42962A
 for <freebsd-usb@FreeBSD.org>; Mon,  9 Jun 2014 08:00:06 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A144727D4
 for <freebsd-usb@FreeBSD.org>; Mon,  9 Jun 2014 08:00:06 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s59806wK056063
 for <freebsd-usb@FreeBSD.org>; Mon, 9 Jun 2014 09:00:06 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
Message-Id: <201406090800.s59806wK056063@kenobi.freebsd.org>
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Mon, 09 Jun 2014 08:00:06 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jun 2014 08:00:06 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is only sent on Mondays.  Please file a bug about concerns you may have.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun  9 18:18:51 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 97B3021D
 for <freebsd-usb@freebsd.org>; Mon,  9 Jun 2014 18:18:51 +0000 (UTC)
Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com
 [IPv6:2a00:1450:400c:c05::235])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 265D322C1
 for <freebsd-usb@freebsd.org>; Mon,  9 Jun 2014 18:18:51 +0000 (UTC)
Received: by mail-wi0-f181.google.com with SMTP id n3so2084550wiv.2
 for <freebsd-usb@freebsd.org>; Mon, 09 Jun 2014 11:18:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=ebcaYpEjjzTndOFHd4MQmu6/T5z4L6uYqsabSHfWowI=;
 b=kPnop0p/zemzW4jIA7hg0D6pq7XPMCYK1ra/ddzyeSW+2LqtAms+jMHh/nYni/Vc5T
 Vnv6bEAyhX6D9EL4ZUYVk84A4iaqRgo0XoC+f2EbIT5K5HDaEWT98GYZcqxvClC0SO4T
 RgevzE1RsqhSYDQeARhx8DdAzueKZsacPeBmr9uEsNQyo1tGiKdjGzPCqzr30eGgkxz7
 K2N0tEmXRQlXoQymsuAlj6s+RqwxTyyZwESVcX4hR9SIgimtA7T5eGseUlpGTCGobmlh
 iI0i9ulswWYTB8wvfbtOUSL8kQC+n3wvoAOyv3CwOppMRraG6uwBZ52YS/kZ6ci49Cvv
 5Ugw==
MIME-Version: 1.0
X-Received: by 10.194.175.106 with SMTP id bz10mr6233527wjc.96.1402337929258; 
 Mon, 09 Jun 2014 11:18:49 -0700 (PDT)
Received: by 10.194.166.195 with HTTP; Mon, 9 Jun 2014 11:18:49 -0700 (PDT)
Date: Mon, 9 Jun 2014 19:18:49 +0100
Message-ID: <CADbbYFP41seJEmieSfew-6E+YWYAWr+j07G7G6omr=mG9+z2sQ@mail.gmail.com>
Subject: Quirks required to remove 6 minute CAM status: CCB error with
 ZTE-MF730M
From: Philip Guyton <phil.lxnet@gmail.com>
To: freebsd-usb@freebsd.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jun 2014 18:18:51 -0000

There is a 6 minute delay when booting with ZTE-MF730M inserted or when
inserting in to pfsense 2.1.3 (FreeBSD 8.3) & pfsense 2.2 (FreeBSD 10).
With a clean vanilla FreeBSD install there is no boot hold-up but the delay
in device recognition / usability is the same and the log entries still
occur only spread out over the boot.

no firewire on this machine.

uname -a
FreeBSD pfsensea.lan 10.0-STABLE FreeBSD 10.0-STABLE #0
35d2d8e(HEAD)-dirty: Tue Apr  8 21:02:38 CDT 2014
root@builder-10-0-b3-i386:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.10
 i386

dmesg | head -n 17
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-STABLE #0 35d2d8e(HEAD)-dirty: Tue Apr  8 21:02:38 CDT 2014
    root@builder-10-0-b3-i386:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.10
i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Celeron(R) M processor         1.40GHz (1400.08-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Family = 0x6  Model = 0xd  Stepping
= 8

Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  AMD Features=0x100000<NX>
real memory  = 2147483648 (2048 MB)
avail memory = 2041737216 (1947 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <PTLTD          APIC  >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard

During Bootup or insertion (6 min delay)
usb_alloc_device: Found possible auto-install disk (trying next config)
ugen2.2: <ZTE,Incorporated> at usbus2
umass0: <Mass Storage> on usbus2
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0: Get Max Lun not supported (USB_ERR_STALLED)
umass0:2:0:-1: Attached to scbus2
ugen1.2: <FTDI> at usbus1
uftdi0: <USB HS SERIAL CONVERTER> on usbus1
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
.
..repeating
.
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Error 5, Retries exhausted

then continues booting normally.


I have found that the following Quirks avoid the above errors and render
the ZTE-MF730M DC-HSDPA 42Mbps 3G dongle usable via if_cdce.ko once it has
been mode switched.

usbconfig add_dev_quirk_vplh 0x19d2 0x1420 0xf0f7 0xf0f7 UQ_MSC_NO_GETMAXLUN
usbconfig add_dev_quirk_vplh 0x19d2 0x1420 0xf0f7 0xf0f7 UQ_MSC_NO_INQUIRY

It can be mode switched to cdce mode and used successfully by executing:-

usbconfig dump_all_config_desc
usbconfig dump_all_config_desc
usbconfig dump_all_config_desc

Is there any way I can add these quirks to be effective during boot to
avoid this 6 minute boot delay.
Thank you for your attention and I hope this tiny find helps someone.

Please let me know if there is any other information I can provide or
testing that I can do to get this dongle working properly in FreeBSD.

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 10 05:44:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1B55AEB8
 for <freebsd-usb@freebsd.org>; Tue, 10 Jun 2014 05:44:16 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CC4452ACF
 for <freebsd-usb@freebsd.org>; Tue, 10 Jun 2014 05:44:15 +0000 (UTC)
Received: from [89.204.155.78] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WuEqs-0000LI-Qf; Tue, 10 Jun 2014 07:44:07 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5A5i4NY001700;
 Tue, 10 Jun 2014 07:44:04 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5A5i3hY001699;
 Tue, 10 Jun 2014 07:44:03 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Tue, 10 Jun 2014 07:44:03 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140610054403.GA1589@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <538C9A83.7050606@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.155.78
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jun 2014 05:44:16 -0000

El día Monday, June 02, 2014 a las 05:38:43PM +0200, Hans Petter Selasky escribió:

> >> Try compiling the ulpt module with USB_DEBUG set:
> >>
> >> ee /sys/modules/usb/ulpt/Makefile
> >>
> >> ADD:
> >>
> >> CFLAGS+= -DUSB_DEBUG
> >>
> >> Rebuild and install the module.
> >>
> >> Set hw.usb.ulpt.debug=15
> >
> > Here it goes:
> >
> > # sysctl hw.usb.ulpt.debug=15
> > hw.usb.ulpt.debug: 0 -> 15
> >
> > (now attaching the USB cable)
> >
> > # tail -f /var/log/messages
> > Jun  2 16:57:59 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
> > Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> > Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> > Jun  2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700
> > Jun  2 16:57:59 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> > Jun  2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> > Jun  2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode
> > Jun  2 16:58:00 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
> > Jun  2 16:58:29 La-Habana last message repeated 22 times
> >
> > (now doing in anaother session 'date > /dev/unlpt0')
> >
> > Jun  2 16:58:30 La-Habana su: guru to root on /dev/pts/1
> > Jun  2 16:58:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
> > Jun  2 16:58:41 La-Habana last message repeated 7 times
> > Jun  2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
> > Jun  2 16:58:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
> Hi,
> 
> TIMEOUT means the device is not receiving any data. Can you confirm that 
> the device is still working using other computers?

Hi,

I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win
recogniced the model of the printer at the other end of the cable fine
as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the
toner after so many years in the cellary is still fine :-)

And now?

> 
> Did you dump the complete device and configuration descriptor?

What could I provide as information or debug log?

Thanks

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Thu Jun 12 08:21:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 125BD91A
 for <freebsd-usb@FreeBSD.org>; Thu, 12 Jun 2014 08:21:05 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EDEFA2E89
 for <freebsd-usb@FreeBSD.org>; Thu, 12 Jun 2014 08:21:04 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5C8L4Yw096238
 for <freebsd-usb@FreeBSD.org>; Thu, 12 Jun 2014 09:21:04 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 102066] [ukbd] usb keyboard and multimedia keys don't work
Date: Thu, 12 Jun 2014 08:21:04 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 6.1-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: n_hibma@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-102066-17-kex5rocH94@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-102066-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-102066-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jun 2014 08:21:05 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=102066

Nick Hibma <n_hibma@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|n_hibma@FreeBSD.org         |freebsd-usb@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jun 12 08:28:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1822798E
 for <freebsd-usb@freebsd.org>; Thu, 12 Jun 2014 08:28:07 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C7B902EB6
 for <freebsd-usb@freebsd.org>; Thu, 12 Jun 2014 08:28:05 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 279621FE026;
 Thu, 12 Jun 2014 10:28:04 +0200 (CEST)
Message-ID: <539964AB.1030909@selasky.org>
Date: Thu, 12 Jun 2014 10:28:27 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana>
In-Reply-To: <20140610054403.GA1589@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jun 2014 08:28:07 -0000

On 06/10/14 07:44, Matthias Apitz wrote:
> El día Monday, June 02, 2014 a las 05:38:43PM +0200, Hans Petter Selasky escribió:
>
>>>> Try compiling the ulpt module with USB_DEBUG set:
>>>>
>>>> ee /sys/modules/usb/ulpt/Makefile
>>>>
>>>> ADD:
>>>>
>>>> CFLAGS+= -DUSB_DEBUG
>>>>
>>>> Rebuild and install the module.
>>>>
>>>> Set hw.usb.ulpt.debug=15
>>>
>>> Here it goes:
>>>
>>> # sysctl hw.usb.ulpt.debug=15
>>> hw.usb.ulpt.debug: 0 -> 15
>>>
>>> (now attaching the USB cable)
>>>
>>> # tail -f /var/log/messages
>>> Jun  2 16:57:59 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
>>> Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
>>> Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
>>> Jun  2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700
>>> Jun  2 16:57:59 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
>>> Jun  2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config number: 1
>>> Jun  2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode
>>> Jun  2 16:58:00 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
>>> Jun  2 16:58:29 La-Habana last message repeated 22 times
>>>
>>> (now doing in anaother session 'date > /dev/unlpt0')
>>>
>>> Jun  2 16:58:30 La-Habana su: guru to root on /dev/pts/1
>>> Jun  2 16:58:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
>>> Jun  2 16:58:41 La-Habana last message repeated 7 times
>>> Jun  2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
>>> Jun  2 16:58:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
>> Hi,
>>
>> TIMEOUT means the device is not receiving any data. Can you confirm that
>> the device is still working using other computers?
>
> Hi,
>
> I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win
> recogniced the model of the printer at the other end of the cable fine
> as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the
> toner after so many years in the cellary is still fine :-)
>
> And now?

Maybe you can sniff the USB traffic on the Win7 laptop, so that we can 
compare the order of USB events.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 13 18:16:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E78B829F
 for <freebsd-usb@freebsd.org>; Fri, 13 Jun 2014 18:16:21 +0000 (UTC)
Received: from smtp.ymlp14.net (smtp.ymlp14.net [87.237.8.245])
 by mx1.freebsd.org (Postfix) with SMTP id 4826B2742
 for <freebsd-usb@freebsd.org>; Fri, 13 Jun 2014 18:16:20 +0000 (UTC)
Received: (qmail 1690 invoked by uid 0); 13 Jun 2014 18:09:40 -0000
Date: Fri, 13 Jun 2014 20:09:40 +0200
To: freebsd-usb@freebsd.org
From: Hosiery Street <sales@hosierystreet.com>
Subject: Exquisite Form - Back in stock + Ships Free
Message-ID: <8a880e7eace2741c08db6009291013cb@smtp.ymlp14.net>
Reply-To: sales@hosierystreet.com
X-YMLPcode: 8ryt+500+93824
MIME-Version: 1.0
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jun 2014 18:16:22 -0000

--------------------------------------------------------------------------=
------
This email newsletter was sent to you in graphical HTML format.
If you're seeing this version, your email program prefers plain text =
emails.
You can read the original version online:
http://ymlp227.net/zcRRSc
--------------------------------------------------------------------------=
------


FATHERS DAY FREE SHIPPING WEEKEND!!! (
http://hosierystreet.com/&refer=3Dem_fd14 )

IMPORTANT NOTICE TO ALL OUR CUSTOMERS:

Due to popular demand we are now back in stock with the following
popular items from Exquisite Form at discounted prices. In addition
you can take advantage of our FREE SHIPPING OFFER this weekend ONLY!!!

Thank you so much!

Catalog #: 7565
Exquisite Form
Front Close with Lace Longline
Posture Bra

Reg Price:
$26.00

Price:
$20.99

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D7565&ref=
er=3Dem_fd14
)

Catalog #: 530
Exquisite Form
Front Close Classic support Bra

Reg Price:
$20.00

Price:
$16.49

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D530&refe=
r=3Dem_fd14
)

Catalog #: 531
Exquisite Form
Front Close Cotton Posture Bra
With Lace

Reg Price:
$24.00

Price:
$19.49

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D531&refe=
r=3Dem_fd14
)

-------------------------

Catalog #: 565
Exquisite Form
Front Close with Lace Posture Bra

Reg Price:
$24.00

Price:
$19.49

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D565&refe=
r=3Dem_fd14
)

Catalog #: 7530
Exquisite Form
Front Close Longline Posture Bra

Reg Price:
$26.00

Price:
$21.49

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D7530&ref=
er=3Dem_fd14
)

Catalog #: 7532
Exquisite Form
Longline Posture Bra

Reg Price:
$26.00

Price:
$20.99

More Info >> (
http://hosierystreet.com/system/scripts/results_big.cgi?product=3D7532&ref=
er=3Dem_fd14
)

_____________________________
Unsubscribe / Change Profile: =
http://ymlp227.net/ugmjwyjqgsgymqejgbssggeheeqy
Powered by YourMailingListProvider


From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 13 18:49:33 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CC38249A
 for <freebsd-usb@freebsd.org>; Fri, 13 Jun 2014 18:49:33 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 870242A16
 for <freebsd-usb@freebsd.org>; Fri, 13 Jun 2014 18:49:33 +0000 (UTC)
Received: from [89.204.130.21] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WvWXS-0001MC-PO; Fri, 13 Jun 2014 20:49:23 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5DInML6002054;
 Fri, 13 Jun 2014 20:49:22 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5DInLQW002053;
 Fri, 13 Jun 2014 20:49:21 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Fri, 13 Jun 2014 20:49:21 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140613184921.GA1748@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539964AB.1030909@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.130.21
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jun 2014 18:49:33 -0000

El día Thursday, June 12, 2014 a las 10:28:27AM +0200, Hans Petter Selasky escribió:

> > I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win
> > recogniced the model of the printer at the other end of the cable fine
> > as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the
> > toner after so many years in the cellary is still fine :-)
> >
> > And now?
> 
> Maybe you can sniff the USB traffic on the Win7 laptop, so that we can 
> compare the order of USB events.

I have tried with no luck the tool from

http://sourceforge.net/projects/usbsnoop/

and as well the way described here with M$ tools:

http://blogs.msdn.com/b/usbcoreblog/archive/2009/12/04/etw-in-the-windows-7-usb-core-stack.aspx

I can not get any use full traffic dump from them. Someone could point
me to a working tool for Win7. I know, our list deals with FreeBSD
software, but it is some kind of re-engineering why Win7 works with a
device and FreeBSD does not :-)

Thanks

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 14 06:39:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C211125E
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 06:39:23 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 81E3F2258
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 06:39:23 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id B76BF1FE045;
 Sat, 14 Jun 2014 08:39:22 +0200 (CEST)
Message-ID: <539BEE2E.9050108@selasky.org>
Date: Sat, 14 Jun 2014 08:39:42 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana>
In-Reply-To: <20140613184921.GA1748@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jun 2014 06:39:23 -0000

On 06/13/14 20:49, Matthias Apitz wrote:
> El día Thursday, June 12, 2014 a las 10:28:27AM +0200, Hans Petter Selasky escribió:
>
>>> I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win
>>> recogniced the model of the printer at the other end of the cable fine
>>> as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the
>>> toner after so many years in the cellary is still fine :-)
>>>
>>> And now?
>>
>> Maybe you can sniff the USB traffic on the Win7 laptop, so that we can
>> compare the order of USB events.
>
> I have tried with no luck the tool from
>
> http://sourceforge.net/projects/usbsnoop/
>
> and as well the way described here with M$ tools:
>
> http://blogs.msdn.com/b/usbcoreblog/archive/2009/12/04/etw-in-the-windows-7-usb-core-stack.aspx
>
> I can not get any use full traffic dump from them. Someone could point
> me to a working tool for Win7. I know, our list deals with FreeBSD
> software, but it is some kind of re-engineering why Win7 works with a
> device and FreeBSD does not :-)
>
> Thanks
>
> 	matthias
>

Hi,

You might be able to remove "ulpt" driver from the kernel config and 
also "mv -i /boot/kernel/ulpt.ko /boot/kernel/ulpt.ko.old" and run Win7 
from Virtualbox or a VM and see what happens. Then you can sniff the USB 
traffic in the VM USB host.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 14 18:11:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5F34AC7C
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 18:11:44 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1A46D237C
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 18:11:43 +0000 (UTC)
Received: from [82.113.121.234] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WvsQW-0001or-4f; Sat, 14 Jun 2014 20:11:40 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5EIBdfc001621;
 Sat, 14 Jun 2014 20:11:39 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5EIBcqF001620;
 Sat, 14 Jun 2014 20:11:38 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Sat, 14 Jun 2014 20:11:38 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140614181138.GA1598@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539BEE2E.9050108@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 82.113.121.234
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jun 2014 18:11:44 -0000

El día Saturday, June 14, 2014 a las 08:39:42AM +0200, Hans Petter Selasky escribió:

> > I can not get any use full traffic dump from them. Someone could point
> > me to a working tool for Win7. I know, our list deals with FreeBSD
> > software, but it is some kind of re-engineering why Win7 works with a
> > device and FreeBSD does not :-)
> >
> You might be able to remove "ulpt" driver from the kernel config and 
> also "mv -i /boot/kernel/ulpt.ko /boot/kernel/ulpt.ko.old" and run Win7 
> from Virtualbox or a VM and see what happens. Then you can sniff the USB 
> traffic in the VM USB host.

Hi,
This is for administrative reasons not an option in my office and at
home I do not have Win*.

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 14 18:16:13 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A0ECBCD2
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 18:16:13 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5AF87238F
 for <freebsd-usb@freebsd.org>; Sat, 14 Jun 2014 18:16:13 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 48D5B1FE045;
 Sat, 14 Jun 2014 20:16:12 +0200 (CEST)
Message-ID: <539C9181.10304@selasky.org>
Date: Sat, 14 Jun 2014 20:16:33 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org>
 <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana>
In-Reply-To: <20140614181138.GA1598@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jun 2014 18:16:13 -0000

On 06/14/14 20:11, Matthias Apitz wrote:
> El día Saturday, June 14, 2014 a las 08:39:42AM +0200, Hans Petter Selasky escribió:
>
>>> I can not get any use full traffic dump from them. Someone could point
>>> me to a working tool for Win7. I know, our list deals with FreeBSD
>>> software, but it is some kind of re-engineering why Win7 works with a
>>> device and FreeBSD does not :-)
>>>
>> You might be able to remove "ulpt" driver from the kernel config and
>> also "mv -i /boot/kernel/ulpt.ko /boot/kernel/ulpt.ko.old" and run Win7
>> from Virtualbox or a VM and see what happens. Then you can sniff the USB
>> traffic in the VM USB host.
>
> Hi,
> This is for administrative reasons not an option in my office and at
> home I do not have Win*.
>
> 	matthias
>

Ok, lets try to figure out the:

in sys/dev/usb/serial/ulpt.c try to comment out:

#if 0
         if (sc->sc_fflags == 0)
                 usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]);
#endif

In function:

static void
ulpt_watchdog(void *arg)
{
         struct ulpt_softc *sc = arg;

         mtx_assert(&sc->sc_mtx, MA_OWNED);

         /*
          * Only read status while the device is not opened, due to
          * possible hardware or firmware bug in some printers.
          */
         if (sc->sc_fflags == 0)
                 usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]);

         usb_callout_reset(&sc->sc_watchdog,
             hz, &ulpt_watchdog, sc);
}

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 05:42:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2CD8ECF0
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 05:42:01 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DBEBD27BD
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 05:42:00 +0000 (UTC)
Received: from [89.204.154.191] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwPfy-0005Od-Ul; Mon, 16 Jun 2014 07:41:51 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5G5fiVI001376;
 Mon, 16 Jun 2014 07:41:44 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5G5fg8h001375;
 Mon, 16 Jun 2014 07:41:42 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 07:41:41 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616054141.GA1358@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539C9181.10304@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.191
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 05:42:01 -0000

El día Saturday, June 14, 2014 a las 08:16:33PM +0200, Hans Petter Selasky escribió:

> Ok, lets try to figure out the:
> 
> in sys/dev/usb/serial/ulpt.c try to comment out:
> 
> #if 0
>          if (sc->sc_fflags == 0)
>                  usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]);
> #endif
> 
> ...

The code is now:

static void
ulpt_watchdog(void *arg)
{
        struct ulpt_softc *sc = arg;

        mtx_assert(&sc->sc_mtx, MA_OWNED);

        /*
         * Only read status while the device is not opened, due to
         * possible hardware or firmware bug in some printers.
         */
        DPRINTF("debugging ulpt.c: %s\n", "ulpt_watchdog() skiped read status");
#if 0
        if (sc->sc_fflags == 0)
                usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]);
#endif

        usb_callout_reset(&sc->sc_watchdog,
            hz, &ulpt_watchdog, sc);
}

the added DPRINTF (to make sure that the new code is active) shows up in
messages, but nothing else changed, 'date > /dev/ulpt0' and to unlpt0,
both hang; here are the messages:


Jun 16 07:27:24 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 07:27:46 La-Habana last message repeated 3 times
Jun 16 07:29:53 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 07:29:53 La-Habana kernel: ulpt_probe: 
Jun 16 07:29:53 La-Habana kernel: ulpt_probe: 
Jun 16 07:29:53 La-Habana kernel: ulpt_attach: sc=0xc5839080
Jun 16 07:29:53 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 07:29:53 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 07:29:53 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 07:29:53 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 07:30:24 La-Habana last message repeated 30 times
Jun 16 07:30:30 La-Habana last message repeated 6 times
Jun 16 07:30:30 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 07:30:31 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 07:31:02 La-Habana last message repeated 30 times
Jun 16 07:31:05 La-Habana last message repeated 3 times
Jun 16 07:31:05 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 07:31:05 La-Habana kernel: ulpt_detach: sc=0xc5839080
Jun 16 07:31:05 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 07:31:07 La-Habana kernel: ulpt_probe: 
Jun 16 07:31:07 La-Habana kernel: ulpt_probe: 
Jun 16 07:31:07 La-Habana kernel: ulpt_attach: sc=0xc5529a00
Jun 16 07:31:07 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 07:31:07 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 07:31:07 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 07:31:07 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 07:31:12 La-Habana last message repeated 5 times
Jun 16 07:31:12 La-Habana kernel: ulpt_reset: 
Jun 16 07:31:13 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 07:31:16 La-Habana last message repeated 3 times
Jun 16 07:31:16 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 07:31:17 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 07:31:37 La-Habana last message repeated 20 times
Jun 16 07:31:38 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 07:31:38 La-Habana kernel: ulpt_detach: sc=0xc5529a00
Jun 16 07:31:38 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 07:31:40 La-Habana kernel: ulpt_probe: 
Jun 16 07:31:40 La-Habana kernel: ulpt_probe: 
Jun 16 07:31:40 La-Habana kernel: ulpt_attach: sc=0xc5839380
Jun 16 07:31:40 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 07:31:40 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 07:31:40 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 07:31:40 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 05:59:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E13E9297
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 05:59:55 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9BB5628E0
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 05:59:55 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 408801FE045;
 Mon, 16 Jun 2014 07:59:53 +0200 (CEST)
Message-ID: <539E87EF.9080404@selasky.org>
Date: Mon, 16 Jun 2014 08:00:15 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org>
 <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana>
In-Reply-To: <20140616054141.GA1358@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 05:59:56 -0000

On 06/16/14 07:41, Matthias Apitz wrote:
> llback: state=0x0 actlen=0
> Jun 16 07:31:17 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 07:31:37 La-Habana last message repeated 20 times
> Jun 16 07:31:38 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)

Hi,

Can you also use only the no-reset version: /dev/unlpt0 ?

Make sure device is power cycled first.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 06:10:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9E7E44A1
 for <usb@freebsd.org>; Mon, 16 Jun 2014 06:10:31 +0000 (UTC)
Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com
 [IPv6:2607:f8b0:400d:c01::22d])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 5DFAA29A6
 for <usb@freebsd.org>; Mon, 16 Jun 2014 06:10:28 +0000 (UTC)
Received: by mail-qc0-f173.google.com with SMTP id l6so7112223qcy.18
 for <usb@freebsd.org>; Sun, 15 Jun 2014 23:10:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=eitanadler.com; s=0xdeadbeef;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=InMj22nC5jh4YPeqK8+wWLx5DzKdxFS0GqETh4ge5MU=;
 b=ocMCTd4nP24bQ8QM2U8s7DWe0Qm57mRG9e+zEjqEGTlZ09Kjl1r/+/bxU5YRSoxWZn
 NGnvZGPadaafnbTcUfvmjP8Dhim4vVkz9p+dL3GZylCOI1/iNZc82ZALRMDMOb4zcIdl
 Zey0wPYLp8agKFVcLZWWfAvUzIEMHjaRDyG6I=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-type;
 bh=InMj22nC5jh4YPeqK8+wWLx5DzKdxFS0GqETh4ge5MU=;
 b=MaZjO+eXxKzVYkKKBcQ/o1za9OTsyglZUDGKeMO4yHiNXgYUSZg+PrMA5fRucAwSv2
 kdnJR1HLQGNiXpAorNi94MBZgkpKew5ndmLmqjNzLbmotAXhWLvUJqu/T7DzKu+rOfNQ
 KnPXBrkLT/7cqnU3AALevlpPFtJ4uZHdY/WpawI58boTuMl23joYzXmdF9bVKQtm92W4
 QF1B1HBAASn5Dv9bYxuaSOpe+klYe3/7poUFmzNuaWbCij3jPxkaa9fCefD3jvDrFQzY
 bUeBKMQ7vzjJzLcyUU3jkrA8RysI0XAhjvUvvX0m6Tr+optVUZxIRo2DFJhNoDGToc1S
 hlBg==
X-Gm-Message-State: ALoCoQnHA2LpyqstIY4imG1+HEgrbyS7RTrri89wVRdmzeL5/taPvJ+yP6wT/vjam3itMKU14nW7
X-Received: by 10.140.87.5 with SMTP id q5mr22452908qgd.43.1402899026883; Sun,
 15 Jun 2014 23:10:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.222.131 with HTTP; Sun, 15 Jun 2014 23:09:56 -0700 (PDT)
From: Eitan Adler <lists@eitanadler.com>
Date: Sun, 15 Jun 2014 23:09:56 -0700
Message-ID: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
Subject: weird mouse: acts as keyboard and mouse
To: usb@freebsd.org, Hans Petter Selasky <hps@bitfrost.no>,
 Adrian Chadd <adrian.chadd@gmail.com>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 06:10:31 -0000

Hey Hans,

I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
2.00/84.01, addr 12> which is reporting itself as both a mouse and a
keyboard.  I know that the mouse has the ability to remap itself as it
used to not do this (I was able to configure this on a mac).

The annoying effect is that the "back" and "forward" keys now report
themselves as "[" and "]" keys.

[1645919] ugen0.2: <Logitech> at usbus0
[1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
2.00/84.01, addr 12> on usbus0
[1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
[1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
2.00/84.01, addr 12> on usbus0
[1645919] kbd2 at ukbd0

I think it would be a good idea to write a utility to configure this
stuff on FreeBSD.  What information do I need to obtain / how should I
obtain it?  I'm guessing its possible to talk to the mouse over USB
but I'm not sure how.


-- 
Eitan Adler

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 06:18:35 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E9FBD69F
 for <usb@freebsd.org>; Mon, 16 Jun 2014 06:18:35 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9F9602A8E
 for <usb@freebsd.org>; Mon, 16 Jun 2014 06:18:35 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id B110B1FE045;
 Mon, 16 Jun 2014 08:18:34 +0200 (CEST)
Message-ID: <539E8C51.30903@selasky.org>
Date: Mon, 16 Jun 2014 08:18:57 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Eitan Adler <lists@eitanadler.com>, usb@freebsd.org, 
 Adrian Chadd <adrian.chadd@gmail.com>
Subject: Re: weird mouse: acts as keyboard and mouse
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
In-Reply-To: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 06:18:36 -0000

On 06/16/14 08:09, Eitan Adler wrote:
> Hey Hans,
>
> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> which is reporting itself as both a mouse and a
> keyboard.  I know that the mouse has the ability to remap itself as it
> used to not do this (I was able to configure this on a mac).
>
> The annoying effect is that the "back" and "forward" keys now report
> themselves as "[" and "]" keys.
>
> [1645919] ugen0.2: <Logitech> at usbus0
> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> on usbus0
> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> on usbus0
> [1645919] kbd2 at ukbd0
>
> I think it would be a good idea to write a utility to configure this
> stuff on FreeBSD.  What information do I need to obtain / how should I
> obtain it?  I'm guessing its possible to talk to the mouse over USB
> but I'm not sure how.
>
>

Hi,

Can you check the configuration descriptor first?

usbconfig -d X.Y dump_device_desc dump_curr_config_desc

Possibly you need to issue some HID command (set report descriptor) to 
make the device change behaviour.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 06:51:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C03BFE15
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 06:51:05 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7A4F82D18
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 06:51:05 +0000 (UTC)
Received: from [89.204.154.191] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwQkv-0006vd-1A; Mon, 16 Jun 2014 08:51:02 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5G6orLJ001565;
 Mon, 16 Jun 2014 08:50:54 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5G6opI3001564;
 Mon, 16 Jun 2014 08:50:51 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 08:50:50 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616065050.GA1552@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539E87EF.9080404@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.191
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 06:51:05 -0000

El día Monday, June 16, 2014 a las 08:00:15AM +0200, Hans Petter Selasky escribió:

> Hi,
> 
> Can you also use only the no-reset version: /dev/unlpt0 ?
> 
> Make sure device is power cycled first.

Hi,

I did

- detached USB cable
- power cycled device
- wait until device ready

# kldunload ulpt.ko
# kldload modules/usb/ulpt/ulpt.ko
# sysctl hw.usb.ulpt.debug=15
hw.usb.ulpt.debug: 0 -> 15

- now pluged in the USB cable

# date > /dev/unlpt0
^C
# date
lunes, 16 de junio de 2014, 08:44:49 CEST
#

messages are attached; thx

Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 08:44:27 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 08:44:27 La-Habana kernel: ulpt_probe: 
Jun 16 08:44:27 La-Habana kernel: ulpt_probe: 
Jun 16 08:44:27 La-Habana kernel: ulpt_attach: sc=0xc596c580
Jun 16 08:44:27 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 08:44:27 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 08:44:27 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 08:44:27 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 08:44:33 La-Habana last message repeated 6 times
Jun 16 08:44:34 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 08:44:34 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 08:44:47 La-Habana last message repeated 13 times
Jun 16 08:44:48 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 08:44:48 La-Habana kernel: ulpt_detach: sc=0xc596c580
Jun 16 08:44:48 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 08:44:49 La-Habana kernel: ulpt_probe: 
Jun 16 08:44:49 La-Habana kernel: ulpt_probe: 
Jun 16 08:44:49 La-Habana kernel: ulpt_attach: sc=0xc5839880
Jun 16 08:44:49 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 08:44:49 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 08:44:49 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 08:44:49 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 08:44:53 La-Habana last message repeated 4 times
Jun 16 08:44:54 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 06:54:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09E10FFF
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 06:54:41 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BBF5C2DA9
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 06:54:40 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 0C1051FE045;
 Mon, 16 Jun 2014 08:54:38 +0200 (CEST)
Message-ID: <539E94C5.50405@selasky.org>
Date: Mon, 16 Jun 2014 08:55:01 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140602150802.GA1950@La-Habana> <538C9A83.7050606@selasky.org>
 <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana>
In-Reply-To: <20140616065050.GA1552@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 06:54:41 -0000

On 06/16/14 08:50, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 08:00:15AM +0200, Hans Petter Selasky escribió:
>
>> Hi,
>>
>> Can you also use only the no-reset version: /dev/unlpt0 ?
>>
>> Make sure device is power cycled first.
>
> Hi,
>
> I did
>
> - detached USB cable
> - power cycled device
> - wait until device ready
>
> # kldunload ulpt.ko
> # kldload modules/usb/ulpt/ulpt.ko
> # sysctl hw.usb.ulpt.debug=15
> hw.usb.ulpt.debug: 0 -> 15
>
> - now pluged in the USB cable
>
> # date > /dev/unlpt0
> ^C
> # date
> lunes, 16 de junio de 2014, 08:44:49 CEST
> #
>
> messages are attached; thx
>
> Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
> Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
> Jun 16 08:44:27 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
> Jun 16 08:44:27 La-Habana kernel: ulpt_probe:
> Jun 16 08:44:27 La-Habana kernel: ulpt_probe:
> Jun 16 08:44:27 La-Habana kernel: ulpt_attach: sc=0xc596c580
> Jun 16 08:44:27 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun 16 08:44:27 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> Jun 16 08:44:27 La-Habana kernel: ulpt0: using bi-directional mode
> Jun 16 08:44:27 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 08:44:33 La-Habana last message repeated 6 times
> Jun 16 08:44:34 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
> Jun 16 08:44:34 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 08:44:47 La-Habana last message repeated 13 times
> Jun 16 08:44:48 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
> Jun 16 08:44:48 La-Habana kernel: ulpt_detach: sc=0xc596c580
> Jun 16 08:44:48 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
> Jun 16 08:44:49 La-Habana kernel: ulpt_probe:
> Jun 16 08:44:49 La-Habana kernel: ulpt_probe:
> Jun 16 08:44:49 La-Habana kernel: ulpt_attach: sc=0xc5839880
> Jun 16 08:44:49 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun 16 08:44:49 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> Jun 16 08:44:49 La-Habana kernel: ulpt0: using bi-directional mode
> Jun 16 08:44:49 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 08:44:53 La-Habana last message repeated 4 times
> Jun 16 08:44:54 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
>
> 	matthias
>

Hi,

If you disconnect the LPT port from the printer and repeat?

Is the device sufficiently powered?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 08:00:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2E829166
 for <freebsd-usb@FreeBSD.org>; Mon, 16 Jun 2014 08:00:07 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 101B4230D
 for <freebsd-usb@FreeBSD.org>; Mon, 16 Jun 2014 08:00:07 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5G80671070997
 for <freebsd-usb@FreeBSD.org>; Mon, 16 Jun 2014 09:00:06 +0100 (BST)
 (envelope-from bz-noreply@freebsd.org)
Message-Id: <201406160800.s5G80671070997@kenobi.freebsd.org>
From: bz-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Mon, 16 Jun 2014 08:00:06 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 08:00:07 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is only sent on Mondays.  Please file a bug about concerns you may have.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 08:33:18 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 11C09A76
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 08:33:18 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BFE3B2678
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 08:33:17 +0000 (UTC)
Received: from [89.204.154.191] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwSLq-0001iD-3M; Mon, 16 Jun 2014 10:33:14 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5G8X5mr001813;
 Mon, 16 Jun 2014 10:33:06 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5G8X3lm001812;
 Mon, 16 Jun 2014 10:33:03 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 10:33:02 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616083302.GA1790@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539E94C5.50405@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.191
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 08:33:18 -0000

El día Monday, June 16, 2014 a las 08:55:01AM +0200, Hans Petter Selasky escribió:

> Hi,
> 
> If you disconnect the LPT port from the printer and repeat?
> 
> Is the device sufficiently powered?

Hi,

I did:

# kldunload ulpt.ko
# kldload modules/usb/ulpt/ulpt.ko
# sysctl hw.usb.ulpt.debug=15
hw.usb.ulpt.debug: 0 -> 15

now I power-cycled the printer, let it print the self test page, plug'ed
in the cable into the printers parallel port, plug'ed in the USB end
into the laptop, and:

# date 
lunes, 16 de junio de 2014, 10:27:29 CEST
# date > /dev/unlpt0
^C
# date
lunes, 16 de junio de 2014, 10:27:52 CEST

Jun 16 10:27:18 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 10:27:18 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:18 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:18 La-Habana kernel: ulpt_attach: sc=0xc5839200
Jun 16 10:27:18 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 10:27:18 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 10:27:18 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 10:27:18 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:31 La-Habana last message repeated 13 times
Jun 16 10:27:32 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 10:27:32 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:49 La-Habana last message repeated 17 times
Jun 16 10:27:50 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 10:27:50 La-Habana kernel: ulpt_detach: sc=0xc5839200
Jun 16 10:27:50 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 10:27:51 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:51 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:51 La-Habana kernel: ulpt_attach: sc=0xc5529a80
Jun 16 10:27:51 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 10:27:51 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 10:27:51 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 10:27:51 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:57 La-Habana last message repeated 6 times
Jun 16 10:27:57 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1 (disconnected)
Jun 16 10:27:57 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 10:27:57 La-Habana kernel: ulpt_detach: sc=0xc5529a80

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 09:07:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09D1C2D6
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:07:16 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B97B6296F
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:07:15 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 804511FE045;
 Mon, 16 Jun 2014 11:07:13 +0200 (CEST)
Message-ID: <539EB3D7.7040802@selasky.org>
Date: Mon, 16 Jun 2014 11:07:35 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org>
 <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana>
In-Reply-To: <20140616083302.GA1790@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 09:07:16 -0000

On 06/16/14 10:33, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 08:55:01AM +0200, Hans Petter Selasky escribió:
>
>> Hi,
>>
>> If you disconnect the LPT port from the printer and repeat?
>>
>> Is the device sufficiently powered?
>
> Hi,
>
> I did:
>
> # kldunload ulpt.ko
> # kldload modules/usb/ulpt/ulpt.ko
> # sysctl hw.usb.ulpt.debug=15
> hw.usb.ulpt.debug: 0 -> 15
>
> now I power-cycled the printer, let it print the self test page, plug'ed
> in the cable into the printers parallel port, plug'ed in the USB end
> into the laptop, and:
>

Run the command _before_ plugging the printer cable.

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 09:19:17 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 573253D0
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:19:17 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 118C32A39
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:19:16 +0000 (UTC)
Received: from [89.204.154.191] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwT4M-0005TK-Iv; Mon, 16 Jun 2014 11:19:14 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5G9J1WZ001957;
 Mon, 16 Jun 2014 11:19:01 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5G9IxuL001956;
 Mon, 16 Jun 2014 11:18:59 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 11:18:58 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616091858.GA1945@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539EB3D7.7040802@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.191
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 09:19:17 -0000

El día Monday, June 16, 2014 a las 11:07:35AM +0200, Hans Petter Selasky escribió:

> > Hi,
> >
> > I did:
> >
> > # kldunload ulpt.ko
> > # kldload modules/usb/ulpt/ulpt.ko
> > # sysctl hw.usb.ulpt.debug=15
> > hw.usb.ulpt.debug: 0 -> 15
> >
> > now I power-cycled the printer, let it print the self test page, plug'ed
> > in the cable into the printers parallel port, plug'ed in the USB end
> > into the laptop, and:
> >
> 
> Run the command _before_ plugging the printer cable.

No change, log is:


Jun 16 11:15:03 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 11:15:04 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 11:15:14 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 11:15:14 La-Habana kernel: ulpt_probe: 
Jun 16 11:15:14 La-Habana kernel: ulpt_probe: 
Jun 16 11:15:14 La-Habana kernel: ulpt_attach: sc=0xc5529400
Jun 16 11:15:14 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 11:15:14 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 11:15:15 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 11:15:15 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 11:15:22 La-Habana last message repeated 8 times
Jun 16 11:15:23 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 11:15:45 La-Habana last message repeated 21 times
Jun 16 11:15:45 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 11:15:46 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 11:16:06 La-Habana last message repeated 20 times
Jun 16 11:16:06 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 11:16:06 La-Habana kernel: ulpt_detach: sc=0xc5529400
Jun 16 11:16:06 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 11:16:07 La-Habana kernel: ulpt_probe: 
Jun 16 11:16:07 La-Habana kernel: ulpt_probe: 
Jun 16 11:16:07 La-Habana kernel: ulpt_attach: sc=0xc5839100
Jun 16 11:16:07 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 11:16:07 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 11:16:07 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 11:16:07 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 09:39:02 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 750D17A6
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:39:02 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EEAF72BED
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 09:39:01 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id EFDCA1FE045;
 Mon, 16 Jun 2014 11:39:00 +0200 (CEST)
Message-ID: <539EBB4B.2070401@selasky.org>
Date: Mon, 16 Jun 2014 11:39:23 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org>
 <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana>
In-Reply-To: <20140616091858.GA1945@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 09:39:02 -0000

On 06/16/14 11:18, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 11:07:35AM +0200, Hans Petter Selasky escribió:
>
>>> Hi,
>>>
>>> I did:
>>>
>>> # kldunload ulpt.ko
>>> # kldload modules/usb/ulpt/ulpt.ko
>>> # sysctl hw.usb.ulpt.debug=15
>>> hw.usb.ulpt.debug: 0 -> 15
>>>
>>> now I power-cycled the printer, let it print the self test page, plug'ed
>>> in the cable into the printers parallel port, plug'ed in the USB end
>>> into the laptop, and:
>>>
>>
>> Run the command _before_ plugging the printer cable.
>
> No change, log is:
>
>
> Jun 16 11:15:03 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
> Jun 16 11:15:04 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
> Jun 16 11:15:14 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
> Jun 16 11:15:14 La-Habana kernel: ulpt_probe:
> Jun 16 11:15:14 La-Habana kernel: ulpt_probe:
> Jun 16 11:15:14 La-Habana kernel: ulpt_attach: sc=0xc5529400
> Jun 16 11:15:14 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun 16 11:15:14 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> Jun 16 11:15:15 La-Habana kernel: ulpt0: using bi-directional mode
> Jun 16 11:15:15 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 11:15:22 La-Habana last message repeated 8 times
> Jun 16 11:15:23 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 11:15:45 La-Habana last message repeated 21 times
> Jun 16 11:15:45 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
> Jun 16 11:15:46 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
> Jun 16 11:16:06 La-Habana last message repeated 20 times
> Jun 16 11:16:06 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
> Jun 16 11:16:06 La-Habana kernel: ulpt_detach: sc=0xc5529400
> Jun 16 11:16:06 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
> Jun 16 11:16:07 La-Habana kernel: ulpt_probe:
> Jun 16 11:16:07 La-Habana kernel: ulpt_probe:
> Jun 16 11:16:07 La-Habana kernel: ulpt_attach: sc=0xc5839100
> Jun 16 11:16:07 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> Jun 16 11:16:07 La-Habana kernel: ulpt_attach: setting alternate config number: 1
> Jun 16 11:16:07 La-Habana kernel: ulpt0: using bi-directional mode
> Jun 16 11:16:07 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
>

Hi,

Try to comment out starting of bulk read transfers:

static void
ulpt_start_read(struct usb_fifo *fifo)
{
#if 0
         struct ulpt_softc *sc = usb_fifo_softc(fifo);

         usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
#endif
}

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 10:07:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BD7DEFA5
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 10:07:23 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 775DD2E70
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 10:07:23 +0000 (UTC)
Received: from [89.204.154.191] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwTou-0000zL-3T; Mon, 16 Jun 2014 12:07:20 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5GA7C7F002212;
 Mon, 16 Jun 2014 12:07:13 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5GA7Adl002211;
 Mon, 16 Jun 2014 12:07:10 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 12:07:09 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616100709.GA2201@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539EBB4B.2070401@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 89.204.154.191
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 10:07:23 -0000

El día Monday, June 16, 2014 a las 11:39:23AM +0200, Hans Petter Selasky escribió:

> Try to comment out starting of bulk read transfers:
> 
> static void
> ulpt_start_read(struct usb_fifo *fifo)
> {
> #if 0
>          struct ulpt_softc *sc = usb_fifo_softc(fifo);
> 
>          usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
> #endif
> }

Hi,

The code is now:

static void
ulpt_start_read(struct usb_fifo *fifo)
{
        DPRINTF("debugging ulpt.c: %s\n", "ulpt_start_read() skiped ULPT_BULK_DT_RD");
#if 0
        struct ulpt_softc *sc = usb_fifo_softc(fifo);

        usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
#endif
}

but it seems that ulpt_start_read() is never called:


Jun 16 12:02:12 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 12:02:12 La-Habana kernel: ulpt_probe: 
Jun 16 12:02:12 La-Habana kernel: ulpt_probe: 
Jun 16 12:02:12 La-Habana kernel: ulpt_attach: sc=0xc5839780
Jun 16 12:02:12 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 12:02:12 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 12:02:12 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 12:02:12 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 12:02:13 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 12:02:13 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 12:02:13 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 12:02:23 La-Habana last message repeated 9 times
Jun 16 12:02:23 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 12:02:23 La-Habana kernel: ulpt_detach: sc=0xc5839780
Jun 16 12:02:23 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 12:02:24 La-Habana kernel: ulpt_probe: 
Jun 16 12:02:24 La-Habana kernel: ulpt_probe: 
Jun 16 12:02:24 La-Habana kernel: ulpt_attach: sc=0xc596c600
Jun 16 12:02:24 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 12:02:24 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 12:02:24 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 12:02:24 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 10:10:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 69BE1B9
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 10:10:21 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 28DB72F04
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 10:10:21 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 714AD1FE045;
 Mon, 16 Jun 2014 12:10:19 +0200 (CEST)
Message-ID: <539EC2A1.6040803@selasky.org>
Date: Mon, 16 Jun 2014 12:10:41 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org>
 <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana>
In-Reply-To: <20140616100709.GA2201@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 10:10:21 -0000

On 06/16/14 12:07, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 11:39:23AM +0200, Hans Petter Selasky escribió:
>
>> Try to comment out starting of bulk read transfers:
>>
>> static void
>> ulpt_start_read(struct usb_fifo *fifo)
>> {
>> #if 0
>>           struct ulpt_softc *sc = usb_fifo_softc(fifo);
>>
>>           usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
>> #endif
>> }
>
> Hi,
>
> The code is now:
>
> static void
> ulpt_start_read(struct usb_fifo *fifo)
> {
>          DPRINTF("debugging ulpt.c: %s\n", "ulpt_start_read() skiped ULPT_BULK_DT_RD");
> #if 0
>          struct ulpt_softc *sc = usb_fifo_softc(fifo);
>
>          usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
> #endif
> }
>
> but it seems that ulpt_start_read() is never called:

What happens if you revert that patch, and do a read first, instead of a 
write?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 15:10:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C655A607
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 15:10:30 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7FE212AF2
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 15:10:30 +0000 (UTC)
Received: from [93.104.5.247] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwYYE-0004wj-Tc; Mon, 16 Jun 2014 17:10:27 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5GFAOQd001669;
 Mon, 16 Jun 2014 17:10:24 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5GFANWP001668;
 Mon, 16 Jun 2014 17:10:23 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Mon, 16 Jun 2014 17:10:22 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140616151022.GA1657@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539EC2A1.6040803@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 93.104.5.247
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 15:10:30 -0000

El día Monday, June 16, 2014 a las 12:10:41PM +0200, Hans Petter Selasky escribió:

> What happens if you revert that patch, and do a read first, instead of a 
> write?

I have revert both patches, i.e. the code is now as it was, but has some
DPRINTF statements at the beginning of the fuctions; here is what
happens on plug-in, read and write to the device:

plug-in USB cable:

Jun 16 14:28:33 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 14:28:33 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3
Jun 16 14:29:18 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 14:29:18 La-Habana kernel: ulpt_probe: 
Jun 16 14:29:18 La-Habana kernel: ulpt_probe: 
Jun 16 14:29:18 La-Habana kernel: ulpt_attach: sc=0xc6c48900
Jun 16 14:29:18 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 14:29:18 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 14:29:18 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 14:29:18 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:19 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:19 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:20 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:20 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:21 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:22 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:22 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:23 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:24 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:24 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:25 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:26 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:26 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:27 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:28 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:28 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:29 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:29 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:30 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:31 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:31 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:32 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:32 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:33 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:33 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:34 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:34 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT

issued command 'cat < /dev/unlpt0'

Jun 16 14:29:35 La-Habana kernel: unlpt_open: debugging ulpt.c: unlpt_open()
Jun 16 14:29:35 La-Habana kernel: ulpt_start_read: debugging ulpt.c: ulpt_start_read()
Jun 16 14:29:35 La-Habana kernel: ulpt_read_callback: state=0x0
Jun 16 14:29:35 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:36 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 14:29:36 La-Habana kernel: ulpt_detach: sc=0xc6c48900
Jun 16 14:29:36 La-Habana kernel: ulpt_stop_read: debugging ulpt.c: ulpt_stop_read()
Jun 16 14:29:36 La-Habana kernel: ulpt_read_callback: state=0x2
Jun 16 14:29:38 La-Habana kernel: ulpt_probe: 
Jun 16 14:29:38 La-Habana kernel: ulpt_probe: 
Jun 16 14:29:38 La-Habana kernel: ulpt_attach: sc=0xc6c48680
Jun 16 14:29:38 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 14:29:38 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 14:29:38 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 14:29:38 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()


switching to 'date > /dev/unlpt0'

Jun 16 14:29:39 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:39 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:40 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:40 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:41 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:41 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:42 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:43 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:43 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:44 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:44 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:45 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:46 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:46 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:47 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:29:48 La-Habana kernel: unlpt_open: debugging ulpt.c: unlpt_open()
Jun 16 14:29:48 La-Habana kernel: ulpt_start_write: debugging ulpt.c: ulpt_start_write()
Jun 16 14:29:48 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 14:29:48 La-Habana kernel: ulpt_start_write: debugging ulpt.c: ulpt_start_write()
Jun 16 14:29:48 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:29:48 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:14 La-Habana last message repeated 26 times
Jun 16 14:30:15 La-Habana kernel: ulpt_stop_write: debugging ulpt.c: ulpt_stop_write()
Jun 16 14:30:15 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 14:30:15 La-Habana kernel: ulpt_detach: sc=0xc6c48680
Jun 16 14:30:15 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 14:30:16 La-Habana kernel: ulpt_probe: 
Jun 16 14:30:16 La-Habana kernel: ulpt_probe: 
Jun 16 14:30:16 La-Habana kernel: ulpt_attach: sc=0xc5529600
Jun 16 14:30:16 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 14:30:16 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 14:30:16 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 14:30:16 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:16 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:16 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:18 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:18 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:19 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:19 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:20 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:20 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:21 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:21 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:22 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:23 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:23 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:24 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:24 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:25 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:25 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:26 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:27 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:27 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:28 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:28 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()
Jun 16 14:30:29 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT
Jun 16 14:30:29 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog()

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 15:15:36 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 591B46B2
 for <usb@freebsd.org>; Mon, 16 Jun 2014 15:15:36 +0000 (UTC)
Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com
 [IPv6:2607:f8b0:400d:c00::22d])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 11A962B8F
 for <usb@freebsd.org>; Mon, 16 Jun 2014 15:15:35 +0000 (UTC)
Received: by mail-qa0-f45.google.com with SMTP id v10so7589943qac.32
 for <usb@freebsd.org>; Mon, 16 Jun 2014 08:15:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=eitanadler.com; s=0xdeadbeef;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :content-type; bh=fTYpybLwzbxYxP13Von9QtzHixrkjW1H1/DiUYopeN0=;
 b=JnYTyxHX2xATv0MmAlfhfuL9p9nn3AOhl/Iv0yu/Sokixh382WG18LN12tMgSaBBOf
 cVbQxB2twUKuXSy0E8my+q9EFmeY65OpghhngTagrnlyyVxYwWW1YCx8hFzo3TzdeZ3u
 ZoWsr59k/f47HgruG5nT0ntpf/Drl5z8jkUkQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:content-type;
 bh=fTYpybLwzbxYxP13Von9QtzHixrkjW1H1/DiUYopeN0=;
 b=DvTcouAKnJsXzktHXUMl+Y0wtbs5lBxIhheqTXiXGDm/Kc56Fv33M1IXx4H8jQhHxC
 wApvndRhDRBmTTaB2tS2RExLxWwLuIHqszSfMP3SyJL//S9oZBzf+YJhNEMxiU41I9Ce
 jH1AczKWFSSe1XgbiIquUc2KGosl9nZnFYQKIJDU7bxQjEmxiruwyJMyeg2P6pSlI0oo
 4TdORWHq7fzyKI8gwSQH4jGdJ2ajY3Ai7XM3Q0clSECSCCbPk44YvYRQYzxc2+rdzecs
 ve+S0+0S3yYcu99333h1wgc6wLvKSZ1TWH1ZIHSrGixee3xsC/dWjHB8u/vOvROVz+Ow
 7s2w==
X-Gm-Message-State: ALoCoQlsfvv8RFij+xMyaRlt/ft5pNFBC4eYHbGqmwjhzHVsyjSTL29mMVTkiosAxo0jNQr9waoI
X-Received: by 10.224.92.75 with SMTP id q11mr26820160qam.15.1402931735038;
 Mon, 16 Jun 2014 08:15:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.222.131 with HTTP; Mon, 16 Jun 2014 08:15:04 -0700 (PDT)
In-Reply-To: <539E937F.3070206@selasky.org>
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
From: Eitan Adler <lists@eitanadler.com>
Date: Mon, 16 Jun 2014 08:15:04 -0700
Message-ID: <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
Subject: Re: weird mouse: acts as keyboard and mouse
To: Hans Petter Selasky <hps@selasky.org>, "usb@freebsd.org" <usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 15:15:36 -0000

On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
> On 06/16/14 08:39, Eitan Adler wrote:
>>
>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>
>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>
>>>>
>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>
>>>>>
>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hey Hans,
>>>>>>>>
>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and a
>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself as
>>>>>>>> it
>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>
>>>>>>>> The annoying effect is that the "back" and "forward" keys now report
>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>
>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>
>>>>>>>> I think it would be a good idea to write a utility to configure this
>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how should
>>>>>>>> I
>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over USB
>>>>>>>> but I'm not sure how.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Can you check the configuration descriptor first?
>>>>>>>
>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>
>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>> to
>>>>>>> make
>>>>>>> the device change behaviour.
>>>>>>>
>>>>>>> --HPS
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> USB descriptors look sane.
>>>>>
>>>>> Add:
>>>>>
>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>
>>>>> Then re-plug the device.
>>>>>
>>>>> Now you should have /dev/uhidX
>>>>>
>>>>> Run:
>>>>>
>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>
>>>>> For both uhid devices.
>>>>>
>>>>> Thank you!
>>>>>
>>>>> --HPS
>>>>>
>>>>>
>>>>
>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>> /dev/uhid0 -rvx
>>>>                                (svn:ports)-[head:357806]
>>>> Report descriptor:
>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical range
>>>> 0..1
>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical range
>>>> 0..1
>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>> range -32767..32767
>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>> range -32767..32767
>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>> range -127..127
>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>> -127..127
>>>> End collection
>>>> End collection
>>>> Total   input size 8 bytes
>>>> Total  output size 0 bytes
>>>> Total feature size 0 bytes
>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>> /dev/uhid1 -rvx
>>>>                             41s (svn:ports)-[head:357806]
>>>> Report descriptor:
>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>> usage=Keyboard_RightControl, logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>> logical range 0..1
>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>> logical range 0..1
>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>> End collection
>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>> Array, logical range 1..652
>>>> End collection
>>>> Collection type=Application page=Microsoft usage=0x0001
>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>> logical range 0..255
>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>> logical range 0..255
>>>> End collection
>>>> Collection type=Application page=Microsoft usage=0x0002
>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>> logical range 0..255
>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>> logical range 0..255
>>>> End collection
>>>> Total   input size 20 bytes
>>>> Total  output size 20 bytes
>>>> Total feature size 0 bytes
>>>>
>>>>
>>>
>>> Hi,
>>>
>>> Looks like a real keyboard. If you add a quirk to hide the keyboard, does
>>> the mouse function like it should?
>>
>>
>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>> I try to press the 'back' or 'forward' keys then the entire mouse
>> freezes: not even moment or normal mouse keys work
>>
>
> I guess that's because this mouse does not have very intelligent firmware
> :-)
>
> Try reading from the HID device which corresponds to the keyboard:
>
> dd if=/dev/uhid0 of=/dev/null bs=20 &
>
> bs= must be correct.
>
> Does that help?

Yes it does: although the back/forward keys still don't work.


-- 
Eitan Adler

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 15:30:14 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2172CBD6
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 15:30:14 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D14AB2CBE
 for <freebsd-usb@freebsd.org>; Mon, 16 Jun 2014 15:30:13 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 22D181FE045;
 Mon, 16 Jun 2014 17:30:12 +0200 (CEST)
Message-ID: <539F0D98.6040703@selasky.org>
Date: Mon, 16 Jun 2014 17:30:32 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org>
 <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana>
In-Reply-To: <20140616151022.GA1657@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 15:30:14 -0000

On 06/16/14 17:10, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 12:10:41PM +0200, Hans Petter Selasky escribió:
>
>> What happens if you revert that patch, and do a read first, instead of a
>> write?
>
> I have revert both patches, i.e. the code is now as it was, but has some
> DPRINTF statements at the beginning of the fuctions; here is what
> happens on plug-in, read and write to the device:
>
> plug-in USB cable:
>

Test1)
Can you try to connect an external High-Speed HUB in between?

Test2)
Instead of ulpt.debug, set hw.usb.uhub.debug=15 and collect logs, when 
executing your "echo XXX > /dev/ulpt".

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 16 15:31:56 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E48B9E1A
 for <usb@freebsd.org>; Mon, 16 Jun 2014 15:31:56 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7A8B42D4B
 for <usb@freebsd.org>; Mon, 16 Jun 2014 15:31:56 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 6EB271FE045;
 Mon, 16 Jun 2014 17:31:55 +0200 (CEST)
Message-ID: <539F0E00.6090503@selasky.org>
Date: Mon, 16 Jun 2014 17:32:16 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Eitan Adler <lists@eitanadler.com>, 
 "usb@freebsd.org" <usb@freebsd.org>
Subject: Re: weird mouse: acts as keyboard and mouse
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
 <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
In-Reply-To: <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jun 2014 15:31:57 -0000

On 06/16/14 17:15, Eitan Adler wrote:
> On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 06/16/14 08:39, Eitan Adler wrote:
>>>
>>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>
>>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>>
>>>>>
>>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>
>>>>>>
>>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hey Hans,
>>>>>>>>>
>>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and a
>>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself as
>>>>>>>>> it
>>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>>
>>>>>>>>> The annoying effect is that the "back" and "forward" keys now report
>>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>>
>>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>>
>>>>>>>>> I think it would be a good idea to write a utility to configure this
>>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how should
>>>>>>>>> I
>>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over USB
>>>>>>>>> but I'm not sure how.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Can you check the configuration descriptor first?
>>>>>>>>
>>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>>
>>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>>> to
>>>>>>>> make
>>>>>>>> the device change behaviour.
>>>>>>>>
>>>>>>>> --HPS
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> USB descriptors look sane.
>>>>>>
>>>>>> Add:
>>>>>>
>>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>>
>>>>>> Then re-plug the device.
>>>>>>
>>>>>> Now you should have /dev/uhidX
>>>>>>
>>>>>> Run:
>>>>>>
>>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>>
>>>>>> For both uhid devices.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> --HPS
>>>>>>
>>>>>>
>>>>>
>>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>>> /dev/uhid0 -rvx
>>>>>                                 (svn:ports)-[head:357806]
>>>>> Report descriptor:
>>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical range
>>>>> 0..1
>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>>> range -32767..32767
>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>>> range -32767..32767
>>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>>> range -127..127
>>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>>> -127..127
>>>>> End collection
>>>>> End collection
>>>>> Total   input size 8 bytes
>>>>> Total  output size 0 bytes
>>>>> Total feature size 0 bytes
>>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>>> /dev/uhid1 -rvx
>>>>>                              41s (svn:ports)-[head:357806]
>>>>> Report descriptor:
>>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>>> usage=Keyboard_RightControl, logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>>> logical range 0..1
>>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>>> End collection
>>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>>> Array, logical range 1..652
>>>>> End collection
>>>>> Collection type=Application page=Microsoft usage=0x0001
>>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>> logical range 0..255
>>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>> logical range 0..255
>>>>> End collection
>>>>> Collection type=Application page=Microsoft usage=0x0002
>>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>> logical range 0..255
>>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>> logical range 0..255
>>>>> End collection
>>>>> Total   input size 20 bytes
>>>>> Total  output size 20 bytes
>>>>> Total feature size 0 bytes
>>>>>
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> Looks like a real keyboard. If you add a quirk to hide the keyboard, does
>>>> the mouse function like it should?
>>>
>>>
>>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>>> I try to press the 'back' or 'forward' keys then the entire mouse
>>> freezes: not even moment or normal mouse keys work
>>>
>>
>> I guess that's because this mouse does not have very intelligent firmware
>> :-)
>>
>> Try reading from the HID device which corresponds to the keyboard:
>>
>> dd if=/dev/uhid0 of=/dev/null bs=20 &
>>
>> bs= must be correct.
>>
>> Does that help?
>
> Yes it does: although the back/forward keys still don't work.
>

Hi,

I'm unsure what to do next. The USB firmware makers are simply getting 
more and more creative :-) The surely didn't ask me if doing a USB mouse 
that way would be clever :-)

Have you checked if "uhidd" might work better with your device?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 01:00:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8B5A8C77
 for <usb@freebsd.org>; Tue, 17 Jun 2014 01:00:07 +0000 (UTC)
Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com
 [IPv6:2607:f8b0:400d:c01::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 429B7214B
 for <usb@freebsd.org>; Tue, 17 Jun 2014 01:00:07 +0000 (UTC)
Received: by mail-qc0-f179.google.com with SMTP id x3so7922888qcv.10
 for <usb@freebsd.org>; Mon, 16 Jun 2014 18:00:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=eitanadler.com; s=0xdeadbeef;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=1H3oufzGQJ7ZfgI16ugWDXtTl4IZmocJbPz0cKGp1oE=;
 b=P8dKCrbsTfoUbXMLUv+SHyZuKLmn77gB5G8IZv+iC0Q3VYAjr5UtotwQHmBXbU6E1H
 WSw6zHLpV2fbQoh5JewqH58E1aAG7VuPrP6ukoDzba3tEDxNYOBglG3Sah0fVmLSWclB
 MUhaf9QAdWmKI9nnT+LtrMArJBQf351HB4/cA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc:content-type;
 bh=1H3oufzGQJ7ZfgI16ugWDXtTl4IZmocJbPz0cKGp1oE=;
 b=HGExY6OlQwkws/n87HiEqUFvRNWScT84SMsPJt36t0NnaOuXUxsw3RI9/+Z8QabfSK
 HpjXNMrp71aD+82rcUVImZQv7kQsj6+K/Mw19P6ZFOQiItS8CdXy6LYw5SNHrr6JOJp7
 b7KFF4z9uSGB29LOmRvirxDwVX4CNOuSQlbBfQmpWIrurEQSuhhViEnLwKfZ6qPGEomx
 xyu4GfF42wpDRCGm7UBVNPjRbNG9Xt7gzlFor7LH+kBDq27ojQ9iL9jYeqi22/CVUwGM
 HQMjfGB1bwhOTC/8GSh1EtXcFAeB2go0aCxecmSSzXIR8RYiy2I1yGtBLeCUMq+KvdI/
 TnAA==
X-Gm-Message-State: ALoCoQkov47+xsywKqRn86ZVL+2len8ZFHdz8R53l77Q2XVTEL3Jzg7e16xBtPVPTa281XjotjQV
X-Received: by 10.224.135.132 with SMTP id n4mr33026947qat.23.1402966806380;
 Mon, 16 Jun 2014 18:00:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.222.131 with HTTP; Mon, 16 Jun 2014 17:59:35 -0700 (PDT)
In-Reply-To: <539F0E00.6090503@selasky.org>
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
 <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
 <539F0E00.6090503@selasky.org>
From: Eitan Adler <lists@eitanadler.com>
Date: Mon, 16 Jun 2014 17:59:35 -0700
Message-ID: <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
Subject: Re: weird mouse: acts as keyboard and mouse
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: "usb@freebsd.org" <usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 01:00:07 -0000

On 16 June 2014 08:32, Hans Petter Selasky <hps@selasky.org> wrote:
> On 06/16/14 17:15, Eitan Adler wrote:
>>
>> On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
>>>
>>> On 06/16/14 08:39, Eitan Adler wrote:
>>>>
>>>>
>>>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>
>>>>>
>>>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hey Hans,
>>>>>>>>>>
>>>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and
>>>>>>>>>> a
>>>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself
>>>>>>>>>> as
>>>>>>>>>> it
>>>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>>>
>>>>>>>>>> The annoying effect is that the "back" and "forward" keys now
>>>>>>>>>> report
>>>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>>>
>>>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0,
>>>>>>>>>> rev
>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>>>
>>>>>>>>>> I think it would be a good idea to write a utility to configure
>>>>>>>>>> this
>>>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how
>>>>>>>>>> should
>>>>>>>>>> I
>>>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over
>>>>>>>>>> USB
>>>>>>>>>> but I'm not sure how.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Can you check the configuration descriptor first?
>>>>>>>>>
>>>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>>>
>>>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>>>> to
>>>>>>>>> make
>>>>>>>>> the device change behaviour.
>>>>>>>>>
>>>>>>>>> --HPS
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> USB descriptors look sane.
>>>>>>>
>>>>>>> Add:
>>>>>>>
>>>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>>>
>>>>>>> Then re-plug the device.
>>>>>>>
>>>>>>> Now you should have /dev/uhidX
>>>>>>>
>>>>>>> Run:
>>>>>>>
>>>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>>>
>>>>>>> For both uhid devices.
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>> --HPS
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>>>> /dev/uhid0 -rvx
>>>>>>                                 (svn:ports)-[head:357806]
>>>>>> Report descriptor:
>>>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical
>>>>>> range
>>>>>> 0..1
>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>>>> range -32767..32767
>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>>>> range -32767..32767
>>>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>>>> range -127..127
>>>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>>>> -127..127
>>>>>> End collection
>>>>>> End collection
>>>>>> Total   input size 8 bytes
>>>>>> Total  output size 0 bytes
>>>>>> Total feature size 0 bytes
>>>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>>>> /dev/uhid1 -rvx
>>>>>>                              41s (svn:ports)-[head:357806]
>>>>>> Report descriptor:
>>>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>>>> usage=Keyboard_RightControl, logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>>>> logical range 0..1
>>>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>>>> End collection
>>>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>>>> Array, logical range 1..652
>>>>>> End collection
>>>>>> Collection type=Application page=Microsoft usage=0x0001
>>>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>> logical range 0..255
>>>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>> logical range 0..255
>>>>>> End collection
>>>>>> Collection type=Application page=Microsoft usage=0x0002
>>>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>> logical range 0..255
>>>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>> logical range 0..255
>>>>>> End collection
>>>>>> Total   input size 20 bytes
>>>>>> Total  output size 20 bytes
>>>>>> Total feature size 0 bytes
>>>>>>
>>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Looks like a real keyboard. If you add a quirk to hide the keyboard,
>>>>> does
>>>>> the mouse function like it should?
>>>>
>>>>
>>>>
>>>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>>>> I try to press the 'back' or 'forward' keys then the entire mouse
>>>> freezes: not even moment or normal mouse keys work
>>>>
>>>
>>> I guess that's because this mouse does not have very intelligent firmware
>>> :-)
>>>
>>> Try reading from the HID device which corresponds to the keyboard:
>>>
>>> dd if=/dev/uhid0 of=/dev/null bs=20 &
>>>
>>> bs= must be correct.
>>>
>>> Does that help?
>>
>>
>> Yes it does: although the back/forward keys still don't work.
>>
>
> Hi,
>
> I'm unsure what to do next. The USB firmware makers are simply getting more
> and more creative :-) The surely didn't ask me if doing a USB mouse that way
> would be clever :-)

It appears the mac utility can cause the mouse to enter different
modes.  I'm curious if there is any usb sniffer I can use for OSX to
see what commands it sends to the mouse.


> Have you checked if "uhidd" might work better with your device?

I havn't tried this, but will do so when I can


-- 
Eitan Adler

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 05:55:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5DD393AA
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 05:55:05 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 18FD4272D
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 05:55:04 +0000 (UTC)
Received: from [82.113.98.29] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwmMB-0001xt-OX; Tue, 17 Jun 2014 07:54:55 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5H5snuY001480;
 Tue, 17 Jun 2014 07:54:50 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5H5sk90001479;
 Tue, 17 Jun 2014 07:54:46 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Tue, 17 Jun 2014 07:54:46 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140617055446.GA1427@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539F0D98.6040703@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 82.113.98.29
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 05:55:05 -0000

El día Monday, June 16, 2014 a las 05:30:32PM +0200, Hans Petter Selasky escribió:

> Test1)
> Can you try to connect an external High-Speed HUB in between?

I will check, if I can find and borrow such a device.

> Test2)
> Instead of ulpt.debug, set hw.usb.uhub.debug=15 and collect logs, when 
> executing your "echo XXX > /dev/ulpt".

To not spam the list with the longer debug messages, I have put it on my
web space: http://www.unixarea.de/usbdebug-07.txt

Isn't it worth to go back to catch the USB traffic on Win7. The only
problem is that I do not know nearly anything about Windows and would
need a hint for a at least working traffic sniffer.

Thx

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 06:26:39 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 89485757
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 06:26:39 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 45D3E2951
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 06:26:38 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 5E2C71FE045;
 Tue, 17 Jun 2014 08:26:36 +0200 (CEST)
Message-ID: <539FDFB1.1090007@selasky.org>
Date: Tue, 17 Jun 2014 08:26:57 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org>
 <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
 <20140617055446.GA1427@La-Habana>
In-Reply-To: <20140617055446.GA1427@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 06:26:39 -0000

On 06/17/14 07:54, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 05:30:32PM +0200, Hans Petter Selasky escribió:
>
>> Test1)
>> Can you try to connect an external High-Speed HUB in between?
>
> I will check, if I can find and borrow such a device.
>
>> Test2)
>> Instead of ulpt.debug, set hw.usb.uhub.debug=15 and collect logs, when
>> executing your "echo XXX > /dev/ulpt".
>
> To not spam the list with the longer debug messages, I have put it on my
> web space: http://www.unixarea.de/usbdebug-07.txt
>
> Isn't it worth to go back to catch the USB traffic on Win7. The only
> problem is that I do not know nearly anything about Windows and would
> need a hint for a at least working traffic sniffer.
>

Hi,

Can you try to set:

sysctl hw.usb.no_cs_fail=1

before trying the device again?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 06:55:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 3ADFFA7C
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 06:55:41 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E9C0F2B4F
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 06:55:40 +0000 (UTC)
Received: from [82.113.98.29] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WwnIv-0006K8-Qd; Tue, 17 Jun 2014 08:55:38 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5H6tZTV001659;
 Tue, 17 Jun 2014 08:55:35 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5H6tYHE001658;
 Tue, 17 Jun 2014 08:55:34 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Tue, 17 Jun 2014 08:55:34 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140617065534.GA1634@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
 <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539FDFB1.1090007@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 82.113.98.29
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 06:55:41 -0000

El día Tuesday, June 17, 2014 a las 08:26:57AM +0200, Hans Petter Selasky escribió:

> Can you try to set:
> 
> sysctl hw.usb.no_cs_fail=1
> 
> before trying the device again?

Hi,

Success!!! I reverted the changes in ulpt.c and with the above setting,
printing works to both devices, /dev/ulpt0 and /dev/unlpt0. I just
concatenated a PostScript file to them as

# cat psfile > /dev/ulpt0

What does the above mean?

I have to add it to /boot/loader.conf or /etc/sysctl.conf.

Thanks for you patient help.

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 07:05:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 629F3BAD
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 07:05:20 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1D8612C0A
 for <freebsd-usb@freebsd.org>; Tue, 17 Jun 2014 07:05:19 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 411D51FE045;
 Tue, 17 Jun 2014 09:05:19 +0200 (CEST)
Message-ID: <539FE8C4.9090606@selasky.org>
Date: Tue, 17 Jun 2014 09:05:40 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
References: <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org>
 <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
 <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org>
 <20140617065534.GA1634@La-Habana>
In-Reply-To: <20140617065534.GA1634@La-Habana>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 07:05:20 -0000

On 06/17/14 08:55, Matthias Apitz wrote:
> El día Tuesday, June 17, 2014 a las 08:26:57AM +0200, Hans Petter Selasky escribió:
>
>> Can you try to set:
>>
>> sysctl hw.usb.no_cs_fail=1
>>
>> before trying the device again?
>
> Hi,
>
> Success!!! I reverted the changes in ulpt.c and with the above setting,
> printing works to both devices, /dev/ulpt0 and /dev/unlpt0. I just
> concatenated a PostScript file to them as
>
> # cat psfile > /dev/ulpt0
>
> What does the above mean?
>
> I have to add it to /boot/loader.conf or /etc/sysctl.conf.
>
> Thanks for you patient help.
>
> 	matthias
>

Hi,

I think the USB stack is trying to reset the ULPT device, because it 
does not respond on the control endpoint any more. See TIMEOUT messages 
in dmesg and usbdump. By setting "no_cs_fail" to non-zero this behaviour 
is disabled.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Jun 17 15:44:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 87974B72;
 Tue, 17 Jun 2014 15:44:57 +0000 (UTC)
Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 64CC62D07;
 Tue, 17 Jun 2014 15:44:57 +0000 (UTC)
Received: from [192.168.200.204] (c-50-131-5-126.hsd1.ca.comcast.net
 [50.131.5.126])
 (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: sbruno@ignoranthack.me)
 by mail.ignoranthack.me (Postfix) with ESMTPSA id 4934F1936DE;
 Tue, 17 Jun 2014 15:44:56 +0000 (UTC)
Subject: Re: Lenovo T61, USB fails to power on after resume [solved?]
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: Hans Petter Selasky <hps@selasky.org>
In-Reply-To: <538E2E55.6000202@selasky.org>
References: <1401807398.96874.3.camel@bruno>  <538DEFD3.2010406@selasky.org>
 <1401813374.1114.0.camel@bruno>  <538DFEA8.3090607@selasky.org>
 <1401820088.1120.9.camel@bruno>  <538E292A.6090804@selasky.org>
 <1401826306.1282.2.camel@bruno>  <538E2E55.6000202@selasky.org>
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 17 Jun 2014 08:44:55 -0700
Message-ID: <1403019895.39699.5.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jun 2014 15:44:57 -0000

On Tue, 2014-06-03 at 22:21 +0200, Hans Petter Selasky wrote:
> On 06/03/14 22:11, Sean Bruno wrote:
> > On Tue, 2014-06-03 at 21:59 +0200, Hans Petter Selasky wrote:
> >> On 06/03/14 20:28, Sean Bruno wrote:
> >>> On Tue, 2014-06-03 at 18:58 +0200, Hans Petter Selasky wrote:
> >>>> On 06/03/14 18:36, Sean Bruno wrote:
> >>>>> On Tue, 2014-06-03 at 17:54 +0200, Hans Petter Selasky wrote:
> >>>>>> On 06/03/14 16:56, Sean Bruno wrote:
> >>>>>>> Noted that on resume, the USB ports on my T61 don't seem to be active.
> >>>>>>>
> >>>>>>> How should I go about debugging this?
> >>>>>>>
> >>>>>>> sean
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> The USB stack performs the same EHCI/OHCI/UHCI/XHCI reset which is does
> >>>>>> during power on, when it resumes. Ensure the ports are powered.  +5V.
> >>>>>> Might be a BIOS/PCI/ACPI issue.
> >>>>>>
> >>>>>> --HPS
> >>>>>>
> >>>>>
> >>>>>
> >>>>> Is there something in the output of usbconfig that I can poke at to see
> >>>>> if the hardware *thinks* it is powered on?
> >>>>>
> >>>>> sean
> >>>>>
> >>>>>
> >>>>
> >>>> Yes, there is the port status.
> >>>>
> >>>> struct usb_port_status {
> >>>>            uWord   wPortStatus;
> >>>> #define UPS_CURRENT_CONNECT_STATUS      0x0001
> >>>> #define UPS_PORT_ENABLED                0x0002
> >>>> #define UPS_SUSPEND                     0x0004
> >>>> #define UPS_OVERCURRENT_INDICATOR       0x0008
> >>>> #define UPS_RESET                       0x0010
> >>>> #define UPS_PORT_L1                     0x0020  /* USB 2.0 only */
> >>>> /* The link-state bits are valid for Super-Speed USB HUBs */
> >>>> #define UPS_PORT_LINK_STATE_GET(x)      (((x) >> 5) & 0xF)
> >>>> #define UPS_PORT_LINK_STATE_SET(x)      (((x) & 0xF) << 5)
> >>>> #define UPS_PORT_LS_U0          0x00
> >>>> #define UPS_PORT_LS_U1          0x01
> >>>> #define UPS_PORT_LS_U2          0x02
> >>>> #define UPS_PORT_LS_U3          0x03
> >>>> #define UPS_PORT_LS_SS_DIS      0x04
> >>>> #define UPS_PORT_LS_RX_DET      0x05
> >>>> #define UPS_PORT_LS_SS_INA      0x06
> >>>> #define UPS_PORT_LS_POLL        0x07
> >>>> #define UPS_PORT_LS_RECOVER     0x08
> >>>> #define UPS_PORT_LS_HOT_RST     0x09
> >>>> #define UPS_PORT_LS_COMP_MODE   0x0A
> >>>> #define UPS_PORT_LS_LOOPBACK    0x0B
> >>>> #define UPS_PORT_LS_RESUME      0x0F
> >>>> #define UPS_PORT_POWER                  0x0100
> >>>> #define UPS_PORT_POWER_SS               0x0200  /* super-speed only */
> >>>> #define UPS_LOW_SPEED                   0x0200
> >>>> #define UPS_HIGH_SPEED                  0x0400
> >>>> #define UPS_OTHER_SPEED                 0x0600  /* currently FreeBSD
> >>>> specific */
> >>>> #define UPS_PORT_TEST                   0x0800
> >>>> #define UPS_PORT_INDICATOR              0x1000
> >>>> #define UPS_PORT_MODE_DEVICE            0x8000  /* currently FreeBSD
> >>>> specific */
> >>>>            uWord   wPortChange;
> >>>> #define UPS_C_CONNECT_STATUS            0x0001
> >>>> #define UPS_C_PORT_ENABLED              0x0002
> >>>> #define UPS_C_SUSPEND                   0x0004
> >>>> #define UPS_C_OVERCURRENT_INDICATOR     0x0008
> >>>> #define UPS_C_PORT_RESET                0x0010
> >>>> #define UPS_C_PORT_L1                   0x0020  /* USB 2.0 only */
> >>>> #define UPS_C_BH_PORT_RESET             0x0020  /* USB 3.0 only */
> >>>> #define UPS_C_PORT_LINK_STATE           0x0040
> >>>> #define UPS_C_PORT_CONFIG_ERROR         0x0080
> >>>> } __packed;
> >>>>
> >>>> It is probed regularly by the UHUB driver and the port status is printed
> >>>> in dmesg.
> >>>>
> >>>> Turn on like this:
> >>>>
> >>>> sysctl hw.usb.uhub.debug=16
> >>>>
> >>>> By resetting the root HUB, you can write new power on bits:
> >>>>
> >>>> usbconfig -d X.1 set_config 255
> >>>> usbconfig -d X.1 set_config 0
> >>>>
> >>>> --HPS
> >>>
> >>> Well, that's problematic.  The USB tree looks like this normally:
> >>>
> >>> ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL
> >>> (12Mbps) pwr=SAVE (0mA)
> >>> ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
> >>> (12Mbps) pwr=SAVE (0mA)
> >>> ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
> >>> (480Mbps) pwr=SAVE (0mA)
> >>> ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL
> >>> (12Mbps) pwr=SAVE (0mA)
> >>> ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL
> >>> (12Mbps) pwr=SAVE (0mA)
> >>> ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL
> >>> (12Mbps) pwr=SAVE (0mA)
> >>> ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH
> >>> (480Mbps) pwr=SAVE (0mA)
> >>> ugen0.2: <Biometric Coprocessor STMicroelectronics> at usbus0, cfg=0
> >>> md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
> >>>
> >>>
> >>> But, on resume ... sometimes ...  ugen0.1 is just flatout gone (along
> >>> with the ugen0.2 device, obviously).  This only seems to happen with
> >>> various USB device plugged in (tried about 4 different make/model usb
> >>> sticks and ext drives).
> >>>
> >>> So, resetting doesn't work as the device is literally gone.  Thoughts?
> >>>
> >>> sean
> >>>
> >>
> >> Setting hw.usb.debug=15 should give you some hints. Are you sure the PCI
> >> device is still there after resume?
> >>
> >> --HPS
> >>
> >
> > I did a pre/post resume pciconf -lv and I see no difference between the
> > two.
> >
> > On initial resume, ugen0.1 appears to be there in usbconfig output, but
> > trying to set_config on it, causes it to dissapear and causes usbconfig
> > to hang:
> >
> > root@bruno:/home/sbruno # usbconfig -d 0.1 set_config 255
> > load: 0.36  cmd: usbconfig 1540 [UGONE] 4.19r 0.00u 0.00s 0% 2064k
> > load: 0.36  cmd: usbconfig 1540 [UGONE] 5.00r 0.00u 0.00s 0% 2064k
> > load: 0.36  cmd: usbconfig 1540 [UGONE] 5.16r 0.00u 0.00s 0% 2064k
> > load: 0.36  cmd: usbconfig 1540 [UGONE] 5.35r 0.00u 0.00s 0% 2064k
> > load: 0.36  cmd: usbconfig 1540 [UGONE] 5.51r 0.00u 0.00s 0% 2064k
> >
> >
> 
> Hi,
> 
> What kind of USB devices are attached? Are any of these USB devices 
> preventing detach? Could you check the USB threads using kgdb?
> 
> --HPS
> 


Btw, this appears to be solvable with a patch to acpi_ibm(4) from trasz:

http://lists.freebsd.org/pipermail/freebsd-current/2014-June/050721.html


From owner-freebsd-usb@FreeBSD.ORG  Wed Jun 18 12:54:48 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B41DAA44
 for <freebsd-usb@FreeBSD.org>; Wed, 18 Jun 2014 12:54:48 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9B2B62F11
 for <freebsd-usb@FreeBSD.org>; Wed, 18 Jun 2014 12:54:48 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5ICsm9X033973
 for <freebsd-usb@FreeBSD.org>; Wed, 18 Jun 2014 13:54:48 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 140160] [usb8] [acpi] [suspend/resume] USB ports are no longer
 "active" after ACPI suspend/resume cycle.
Date: Wed, 18 Jun 2014 12:54:48 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: trasz@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-140160-17-6g7dGVKCLD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-140160-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-140160-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jun 2014 12:54:48 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140160

Edward Tomasz Napierala <trasz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trasz@FreeBSD.org

--- Comment #6 from Edward Tomasz Napierala <trasz@FreeBSD.org> ---
Does the problem still occur?  What's the hardware?  Can you try the patch for
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191155?

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 20 03:43:37 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 223F5E4E
 for <usb@freebsd.org>; Fri, 20 Jun 2014 03:43:37 +0000 (UTC)
Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com
 [IPv6:2607:f8b0:400d:c00::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id C75F82CAE
 for <usb@freebsd.org>; Fri, 20 Jun 2014 03:43:36 +0000 (UTC)
Received: by mail-qa0-f51.google.com with SMTP id j7so2713759qaq.24
 for <usb@freebsd.org>; Thu, 19 Jun 2014 20:43:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=eitanadler.com; s=0xdeadbeef;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=85iOAE945CW5/FXF5wYDSm6dQiugVnEMjszulxka6YY=;
 b=QqVpcTmgNN1XNXqPxWVF5u0ZGfs7CpuLV6g6vDUI+9177xoonLDkx8eocFPb5RIbs0
 FU2+S/4slKe/Wjm7zBqhZkiRgOE0hdO/yGllDd26f4J7CTCSuWOG7v8NTbCqO568KJkJ
 LuetI7PWR84xcILrviTmUa7WQgMJdICO0kvpk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc:content-type;
 bh=85iOAE945CW5/FXF5wYDSm6dQiugVnEMjszulxka6YY=;
 b=T6R6mVv2Fd2m+SlWRkRiGtn5WMMXAp7SSBs6Jb36o7z4GMAsitMV24vPbKgjpO6xy7
 YTXRJI64fzuZrcmJLg3lrHY+4uhOurWMv4beoAW4XNfKM3gdkE+ep3W7oxIPZTK+ZiD8
 hhAqkydRoDZnyjw/F1semfyd6NCIZrN1zV59W+MJa52HkYO3h3pQ0HJRjLEFOaNSET+T
 fGvcjOd+sAQi1gYSNtkRfCesxgpqcNib9YCG+9pxdSULigJ69hTzo5IzqWg3Us2G2Ys+
 GETkQHrZB7GsRc0ilvNSf7swIEwxRiW1D+CSgTAGb+hBvceXzMlCSXjrsP+gWwZsLu3Y
 HUtQ==
X-Gm-Message-State: ALoCoQmm4PXDTJ8bBtv3BThh3bNvPQWCie4qNDKpWPF6+BN2LkzIy7gs4cbyHa6zyCay8yBOojWz
X-Received: by 10.140.47.245 with SMTP id m108mr898897qga.9.1403235815672;
 Thu, 19 Jun 2014 20:43:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.222.131 with HTTP; Thu, 19 Jun 2014 20:43:05 -0700 (PDT)
In-Reply-To: <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
 <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
 <539F0E00.6090503@selasky.org>
 <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
From: Eitan Adler <lists@eitanadler.com>
Date: Thu, 19 Jun 2014 20:43:05 -0700
Message-ID: <CAF6rxgm24U7xfX1Ni0di=4r5ySADykyiaN0vrQH0k6_zO435xw@mail.gmail.com>
Subject: Re: weird mouse: acts as keyboard and mouse
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: "usb@freebsd.org" <usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2014 03:43:37 -0000

On 16 June 2014 17:59, Eitan Adler <lists@eitanadler.com> wrote:
> On 16 June 2014 08:32, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 06/16/14 17:15, Eitan Adler wrote:
>>>
>>> On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>
>>>> On 06/16/14 08:39, Eitan Adler wrote:
>>>>>
>>>>>
>>>>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>
>>>>>>
>>>>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hey Hans,
>>>>>>>>>>>
>>>>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and
>>>>>>>>>>> a
>>>>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself
>>>>>>>>>>> as
>>>>>>>>>>> it
>>>>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>>>>
>>>>>>>>>>> The annoying effect is that the "back" and "forward" keys now
>>>>>>>>>>> report
>>>>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>>>>
>>>>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0,
>>>>>>>>>>> rev
>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>>>>
>>>>>>>>>>> I think it would be a good idea to write a utility to configure
>>>>>>>>>>> this
>>>>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how
>>>>>>>>>>> should
>>>>>>>>>>> I
>>>>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over
>>>>>>>>>>> USB
>>>>>>>>>>> but I'm not sure how.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Can you check the configuration descriptor first?
>>>>>>>>>>
>>>>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>>>>
>>>>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>>>>> to
>>>>>>>>>> make
>>>>>>>>>> the device change behaviour.
>>>>>>>>>>
>>>>>>>>>> --HPS
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> USB descriptors look sane.
>>>>>>>>
>>>>>>>> Add:
>>>>>>>>
>>>>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>>>>
>>>>>>>> Then re-plug the device.
>>>>>>>>
>>>>>>>> Now you should have /dev/uhidX
>>>>>>>>
>>>>>>>> Run:
>>>>>>>>
>>>>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>>>>
>>>>>>>> For both uhid devices.
>>>>>>>>
>>>>>>>> Thank you!
>>>>>>>>
>>>>>>>> --HPS
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>>>>> /dev/uhid0 -rvx
>>>>>>>                                 (svn:ports)-[head:357806]
>>>>>>> Report descriptor:
>>>>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>>>>> range -32767..32767
>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>>>>> range -32767..32767
>>>>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>>>>> range -127..127
>>>>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>>>>> -127..127
>>>>>>> End collection
>>>>>>> End collection
>>>>>>> Total   input size 8 bytes
>>>>>>> Total  output size 0 bytes
>>>>>>> Total feature size 0 bytes
>>>>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>>>>> /dev/uhid1 -rvx
>>>>>>>                              41s (svn:ports)-[head:357806]
>>>>>>> Report descriptor:
>>>>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>>>>> usage=Keyboard_RightControl, logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>>>>> End collection
>>>>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>>>>> Array, logical range 1..652
>>>>>>> End collection
>>>>>>> Collection type=Application page=Microsoft usage=0x0001
>>>>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>> logical range 0..255
>>>>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>> logical range 0..255
>>>>>>> End collection
>>>>>>> Collection type=Application page=Microsoft usage=0x0002
>>>>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>> logical range 0..255
>>>>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>> logical range 0..255
>>>>>>> End collection
>>>>>>> Total   input size 20 bytes
>>>>>>> Total  output size 20 bytes
>>>>>>> Total feature size 0 bytes
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Looks like a real keyboard. If you add a quirk to hide the keyboard,
>>>>>> does
>>>>>> the mouse function like it should?
>>>>>
>>>>>
>>>>>
>>>>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>>>>> I try to press the 'back' or 'forward' keys then the entire mouse
>>>>> freezes: not even moment or normal mouse keys work
>>>>>
>>>>
>>>> I guess that's because this mouse does not have very intelligent firmware
>>>> :-)
>>>>
>>>> Try reading from the HID device which corresponds to the keyboard:
>>>>
>>>> dd if=/dev/uhid0 of=/dev/null bs=20 &
>>>>
>>>> bs= must be correct.
>>>>
>>>> Does that help?
>>>
>>>
>>> Yes it does: although the back/forward keys still don't work.
>>>
>>
>> Hi,
>>
>> I'm unsure what to do next. The USB firmware makers are simply getting more
>> and more creative :-) The surely didn't ask me if doing a USB mouse that way
>> would be clever :-)
>
> It appears the mac utility can cause the mouse to enter different
> modes.  I'm curious if there is any usb sniffer I can use for OSX to
> see what commands it sends to the mouse.
>
>
>> Have you checked if "uhidd" might work better with your device?
>
> I havn't tried this, but will do so when I can

Any suggestions for ways to talk to the mouse? I could try brute
forcing configuration options: Its shameful if we need to use a mac to
fix these sorts of problems.

-- 
Eitan Adler

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 20 03:50:35 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5C9EF13F
 for <usb@freebsd.org>; Fri, 20 Jun 2014 03:50:35 +0000 (UTC)
Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com
 [IPv6:2607:f8b0:400d:c01::230])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1200A2D7F
 for <usb@freebsd.org>; Fri, 20 Jun 2014 03:50:35 +0000 (UTC)
Received: by mail-qc0-f176.google.com with SMTP id w7so3004862qcr.21
 for <usb@freebsd.org>; Thu, 19 Jun 2014 20:50:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=eitanadler.com; s=0xdeadbeef;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=Dll6BmX3dAmy39ut8AtNYp88EoPFYy3zlKng+DXFJDs=;
 b=UwzR5KgM3TCFM/LLqzmsz7PcLgMXwe1LPatKq1dNrSYqUwYu3D2tDJXTCME0bu9osw
 e0bILsLsaw/Gy8E/yNxy3m1W8avnr9ESkhXal0PrNVu9ZsedIybDDQQquxP+7zAom3+e
 Gw2cn8NNwrxc8g5T9YUPgRuIpHwCNbDFYLPpE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc:content-type;
 bh=Dll6BmX3dAmy39ut8AtNYp88EoPFYy3zlKng+DXFJDs=;
 b=AxIwHv9ZoddsruF4wj9A9WfdLO1D30GFuxBdVs6iLZ3prf4Ycpph5gL2gMZhf3SHFc
 zZHzxs//w1QcxXlDZduqzde02XyX0PhCrb1KGdjspg4kq7zRi3XnepgcDsx9+pi97D4M
 +oCickCS9/2SZpkGmKpYxESyMzZtDFpAvz73R/rz9V1/jn6z7cB77hMqTMSipmTG9i/+
 2xDuar8DNiwAO6xSHhz8gZPeMfeCWDTbopuDUkDyIzM40lzi9Bt3Tjzha5+OHG9tWMb2
 17pvVQigR9Tqv87mJpGF9RZzn/ApmyGZr8b701LcIS+yAFJJsZjMRO85u4s/yOS8pBxK
 O6Yw==
X-Gm-Message-State: ALoCoQmGHiGPK4su6a/3OVrPjTJyFeF/X4M1+syMPmn5aOyYW6qdNP6PsjMEY62hvXxDIp6Mzi8q
X-Received: by 10.224.41.65 with SMTP id n1mr954448qae.75.1403236234082; Thu,
 19 Jun 2014 20:50:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.222.131 with HTTP; Thu, 19 Jun 2014 20:50:04 -0700 (PDT)
In-Reply-To: <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
 <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
 <539F0E00.6090503@selasky.org>
 <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
From: Eitan Adler <lists@eitanadler.com>
Date: Thu, 19 Jun 2014 20:50:04 -0700
Message-ID: <CAF6rxgm_5E5Z7Y7O8NH3Ti1LQ9HGXJq_yb8U4z+TWLms-gkc7Q@mail.gmail.com>
Subject: Re: weird mouse: acts as keyboard and mouse
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
Cc: "usb@freebsd.org" <usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2014 03:50:35 -0000

On 16 June 2014 17:59, Eitan Adler <lists@eitanadler.com> wrote:
> On 16 June 2014 08:32, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 06/16/14 17:15, Eitan Adler wrote:
>>>
>>> On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>
>>>> On 06/16/14 08:39, Eitan Adler wrote:
>>>>>
>>>>>
>>>>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>
>>>>>>
>>>>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hey Hans,
>>>>>>>>>>>
>>>>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and
>>>>>>>>>>> a
>>>>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself
>>>>>>>>>>> as
>>>>>>>>>>> it
>>>>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>>>>
>>>>>>>>>>> The annoying effect is that the "back" and "forward" keys now
>>>>>>>>>>> report
>>>>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>>>>
>>>>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0,
>>>>>>>>>>> rev
>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>>>>
>>>>>>>>>>> I think it would be a good idea to write a utility to configure
>>>>>>>>>>> this
>>>>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how
>>>>>>>>>>> should
>>>>>>>>>>> I
>>>>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over
>>>>>>>>>>> USB
>>>>>>>>>>> but I'm not sure how.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Can you check the configuration descriptor first?
>>>>>>>>>>
>>>>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>>>>
>>>>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>>>>> to
>>>>>>>>>> make
>>>>>>>>>> the device change behaviour.
>>>>>>>>>>
>>>>>>>>>> --HPS
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> USB descriptors look sane.
>>>>>>>>
>>>>>>>> Add:
>>>>>>>>
>>>>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>>>>
>>>>>>>> Then re-plug the device.
>>>>>>>>
>>>>>>>> Now you should have /dev/uhidX
>>>>>>>>
>>>>>>>> Run:
>>>>>>>>
>>>>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>>>>
>>>>>>>> For both uhid devices.
>>>>>>>>
>>>>>>>> Thank you!
>>>>>>>>
>>>>>>>> --HPS
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>>>>> /dev/uhid0 -rvx
>>>>>>>                                 (svn:ports)-[head:357806]
>>>>>>> Report descriptor:
>>>>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical
>>>>>>> range
>>>>>>> 0..1
>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>>>>> range -32767..32767
>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>>>>> range -32767..32767
>>>>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>>>>> range -127..127
>>>>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>>>>> -127..127
>>>>>>> End collection
>>>>>>> End collection
>>>>>>> Total   input size 8 bytes
>>>>>>> Total  output size 0 bytes
>>>>>>> Total feature size 0 bytes
>>>>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>>>>> /dev/uhid1 -rvx
>>>>>>>                              41s (svn:ports)-[head:357806]
>>>>>>> Report descriptor:
>>>>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>>>>> usage=Keyboard_RightControl, logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>>>>> logical range 0..1
>>>>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>>>>> End collection
>>>>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>>>>> Array, logical range 1..652
>>>>>>> End collection
>>>>>>> Collection type=Application page=Microsoft usage=0x0001
>>>>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>> logical range 0..255
>>>>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>> logical range 0..255
>>>>>>> End collection
>>>>>>> Collection type=Application page=Microsoft usage=0x0002
>>>>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>> logical range 0..255
>>>>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>> logical range 0..255
>>>>>>> End collection
>>>>>>> Total   input size 20 bytes
>>>>>>> Total  output size 20 bytes
>>>>>>> Total feature size 0 bytes
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Looks like a real keyboard. If you add a quirk to hide the keyboard,
>>>>>> does
>>>>>> the mouse function like it should?
>>>>>
>>>>>
>>>>>
>>>>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>>>>> I try to press the 'back' or 'forward' keys then the entire mouse
>>>>> freezes: not even moment or normal mouse keys work
>>>>>
>>>>
>>>> I guess that's because this mouse does not have very intelligent firmware
>>>> :-)
>>>>
>>>> Try reading from the HID device which corresponds to the keyboard:
>>>>
>>>> dd if=/dev/uhid0 of=/dev/null bs=20 &
>>>>
>>>> bs= must be correct.
>>>>
>>>> Does that help?
>>>
>>>
>>> Yes it does: although the back/forward keys still don't work.
>>>
>>
>> Hi,
>>
>> I'm unsure what to do next. The USB firmware makers are simply getting more
>> and more creative :-) The surely didn't ask me if doing a USB mouse that way
>> would be clever :-)
>
> It appears the mac utility can cause the mouse to enter different
> modes.  I'm curious if there is any usb sniffer I can use for OSX to
> see what commands it sends to the mouse.
>
>
>> Have you checked if "uhidd" might work better with your device?
>
> I havn't tried this, but will do so when I can

I just tried this now.  It works similarly to having ums loaded.  The
mouse works fine until the back/forward buttons are pressed.


-- 
Eitan Adler

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 20 07:49:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 62D4A4AB
 for <usb@freebsd.org>; Fri, 20 Jun 2014 07:49:49 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0E5B520B0
 for <usb@freebsd.org>; Fri, 20 Jun 2014 07:49:48 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id ADB041FE026;
 Fri, 20 Jun 2014 09:49:46 +0200 (CEST)
Message-ID: <53A3E7AF.7010901@selasky.org>
Date: Fri, 20 Jun 2014 09:50:07 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Eitan Adler <lists@eitanadler.com>
Subject: Re: weird mouse: acts as keyboard and mouse
References: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
 <539E8C51.30903@selasky.org>
 <CAF6rxgnibaAh9dQeOLxOf7bwQQiHauW5bicJFzV9bQ1h3RX+jA@mail.gmail.com>
 <539E8E15.90409@selasky.org>
 <CAF6rxgmJS78dm0pJa454ztk_UDZn4w0+vgiEJUL8OwoiG=dnYA@mail.gmail.com>
 <539E8FBF.2090504@selasky.org>
 <CAF6rxg=pi-wDC8xgRExR3Zz2LktQTt+L8Y2rhVSu68HJVrtceQ@mail.gmail.com>
 <539E937F.3070206@selasky.org>
 <CAF6rxg=sKckojM2NfOR3p14XSFCErc9=YDtfbtPHUDJZYs1q4Q@mail.gmail.com>
 <539F0E00.6090503@selasky.org>
 <CAF6rxgkzDd7YGy2OR2c+z0HeWhPXjytMCb0qZXFr4qeWWaauEA@mail.gmail.com>
 <CAF6rxgm24U7xfX1Ni0di=4r5ySADykyiaN0vrQH0k6_zO435xw@mail.gmail.com>
In-Reply-To: <CAF6rxgm24U7xfX1Ni0di=4r5ySADykyiaN0vrQH0k6_zO435xw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "usb@freebsd.org" <usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2014 07:49:49 -0000

On 06/20/14 05:43, Eitan Adler wrote:
> On 16 June 2014 17:59, Eitan Adler <lists@eitanadler.com> wrote:
>> On 16 June 2014 08:32, Hans Petter Selasky <hps@selasky.org> wrote:
>>> On 06/16/14 17:15, Eitan Adler wrote:
>>>>
>>>> On 15 June 2014 23:49, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>
>>>>> On 06/16/14 08:39, Eitan Adler wrote:
>>>>>>
>>>>>>
>>>>>> On 15 June 2014 23:33, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 06/16/14 08:30, Eitan Adler wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 15 June 2014 23:26, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 06/16/14 08:21, Eitan Adler wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 15 June 2014 23:18, Hans Petter Selasky <hps@selasky.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 06/16/14 08:09, Eitan Adler wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Hey Hans,
>>>>>>>>>>>>
>>>>>>>>>>>> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>>> 2.00/84.01, addr 12> which is reporting itself as both a mouse and
>>>>>>>>>>>> a
>>>>>>>>>>>> keyboard.  I know that the mouse has the ability to remap itself
>>>>>>>>>>>> as
>>>>>>>>>>>> it
>>>>>>>>>>>> used to not do this (I was able to configure this on a mac).
>>>>>>>>>>>>
>>>>>>>>>>>> The annoying effect is that the "back" and "forward" keys now
>>>>>>>>>>>> report
>>>>>>>>>>>> themselves as "[" and "]" keys.
>>>>>>>>>>>>
>>>>>>>>>>>> [1645919] ugen0.2: <Logitech> at usbus0
>>>>>>>>>>>> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
>>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>>> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
>>>>>>>>>>>> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0,
>>>>>>>>>>>> rev
>>>>>>>>>>>> 2.00/84.01, addr 12> on usbus0
>>>>>>>>>>>> [1645919] kbd2 at ukbd0
>>>>>>>>>>>>
>>>>>>>>>>>> I think it would be a good idea to write a utility to configure
>>>>>>>>>>>> this
>>>>>>>>>>>> stuff on FreeBSD.  What information do I need to obtain / how
>>>>>>>>>>>> should
>>>>>>>>>>>> I
>>>>>>>>>>>> obtain it?  I'm guessing its possible to talk to the mouse over
>>>>>>>>>>>> USB
>>>>>>>>>>>> but I'm not sure how.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Can you check the configuration descriptor first?
>>>>>>>>>>>
>>>>>>>>>>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc
>>>>>>>>>>>
>>>>>>>>>>> Possibly you need to issue some HID command (set report descriptor)
>>>>>>>>>>> to
>>>>>>>>>>> make
>>>>>>>>>>> the device change behaviour.
>>>>>>>>>>>
>>>>>>>>>>> --HPS
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> USB descriptors look sane.
>>>>>>>>>
>>>>>>>>> Add:
>>>>>>>>>
>>>>>>>>> usbconfig -d X.Y add_quirk UQ_KBD_IGNORE
>>>>>>>>> usbconfig -d X.Y add_quirk UQ_UMS_IGNORE
>>>>>>>>>
>>>>>>>>> Then re-plug the device.
>>>>>>>>>
>>>>>>>>> Now you should have /dev/uhidX
>>>>>>>>>
>>>>>>>>> Run:
>>>>>>>>>
>>>>>>>>> usbhidctl -f /dev/uhidX -rvx
>>>>>>>>>
>>>>>>>>> For both uhid devices.
>>>>>>>>>
>>>>>>>>> Thank you!
>>>>>>>>>
>>>>>>>>> --HPS
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> [10054 root@gravity  .../eitan/svn/fbsd/ports !2!]#usbhidctl -f
>>>>>>>> /dev/uhid0 -rvx
>>>>>>>>                                  (svn:ports)-[head:357806]
>>>>>>>> Report descriptor:
>>>>>>>> Collection type=Application page=Generic_Desktop usage=Mouse
>>>>>>>> Collection type=Physical page=Generic_Desktop usage=Pointer
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_1, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_2, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_3, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_4, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_5, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_6, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_7, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_8, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_9, logical range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_10, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_11, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_12, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_13, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_14, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_15, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=1 count=1 page=Button usage=Button_16, logical
>>>>>>>> range
>>>>>>>> 0..1
>>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=X, logical
>>>>>>>> range -32767..32767
>>>>>>>> Input   rid=0 size=16 count=1 page=Generic_Desktop usage=Y, logical
>>>>>>>> range -32767..32767
>>>>>>>> Input   rid=0 size=8 count=1 page=Generic_Desktop usage=Wheel, logical
>>>>>>>> range -127..127
>>>>>>>> Input   rid=0 size=8 count=1 page=Consumer usage=AC_Pan, logical range
>>>>>>>> -127..127
>>>>>>>> End collection
>>>>>>>> End collection
>>>>>>>> Total   input size 8 bytes
>>>>>>>> Total  output size 0 bytes
>>>>>>>> Total feature size 0 bytes
>>>>>>>> [10055 root@gravity  /home/eitan/svn/fbsd/ports ]#usbhidctl -f
>>>>>>>> /dev/uhid1 -rvx
>>>>>>>>                               41s (svn:ports)-[head:357806]
>>>>>>>> Report descriptor:
>>>>>>>> Collection type=Application page=Generic_Desktop usage=Keyboard
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftControl,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftShift,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_LeftAlt,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Left_GUI,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard
>>>>>>>> usage=Keyboard_RightControl, logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightShift,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_RightAlt,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=1 count=1 page=Keyboard usage=Keyboard_Right_GUI,
>>>>>>>> logical range 0..1
>>>>>>>> Input   rid=1 size=8 count=5 page=Keyboard
>>>>>>>> usage=Reserved_(no_event_indicated) Array, logical range 0..164
>>>>>>>> End collection
>>>>>>>> Collection type=Application page=Consumer usage=Consumer_Control
>>>>>>>> Input   rid=3 size=16 count=2 page=Consumer usage=Consumer_Control
>>>>>>>> Array, logical range 1..652
>>>>>>>> End collection
>>>>>>>> Collection type=Application page=Microsoft usage=0x0001
>>>>>>>> Input   rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>>> logical range 0..255
>>>>>>>> Output  rid=16 size=8 count=6 page=Microsoft usage=0x0001 Array,
>>>>>>>> logical range 0..255
>>>>>>>> End collection
>>>>>>>> Collection type=Application page=Microsoft usage=0x0002
>>>>>>>> Input   rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>>> logical range 0..255
>>>>>>>> Output  rid=17 size=8 count=19 page=Microsoft usage=0x0002 Array,
>>>>>>>> logical range 0..255
>>>>>>>> End collection
>>>>>>>> Total   input size 20 bytes
>>>>>>>> Total  output size 20 bytes
>>>>>>>> Total feature size 0 bytes
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Looks like a real keyboard. If you add a quirk to hide the keyboard,
>>>>>>> does
>>>>>>> the mouse function like it should?
>>>>>>
>>>>>>
>>>>>>
>>>>>> If I remove the IGNORE_UMS quirk then the mouse works as normal until
>>>>>> I try to press the 'back' or 'forward' keys then the entire mouse
>>>>>> freezes: not even moment or normal mouse keys work
>>>>>>
>>>>>
>>>>> I guess that's because this mouse does not have very intelligent firmware
>>>>> :-)
>>>>>
>>>>> Try reading from the HID device which corresponds to the keyboard:
>>>>>
>>>>> dd if=/dev/uhid0 of=/dev/null bs=20 &
>>>>>
>>>>> bs= must be correct.
>>>>>
>>>>> Does that help?
>>>>
>>>>
>>>> Yes it does: although the back/forward keys still don't work.
>>>>
>>>
>>> Hi,
>>>
>>> I'm unsure what to do next. The USB firmware makers are simply getting more
>>> and more creative :-) The surely didn't ask me if doing a USB mouse that way
>>> would be clever :-)
>>
>> It appears the mac utility can cause the mouse to enter different
>> modes.  I'm curious if there is any usb sniffer I can use for OSX to
>> see what commands it sends to the mouse.
>>
>>
>>> Have you checked if "uhidd" might work better with your device?
>>
>> I havn't tried this, but will do so when I can
>
> Any suggestions for ways to talk to the mouse? I could try brute
> forcing configuration options: Its shameful if we need to use a mac to
> fix these sorts of problems.
>

Hi,

There is something called set report in the HID world which might change 
the behaviour. Just grep in usb_request.c. Else try google the product 
and vendor ID. Perhaps someone has already seen or has a solution for 
this issue already?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 21 11:13:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4D313CD2
 for <freebsd-usb@freebsd.org>; Sat, 21 Jun 2014 11:13:55 +0000 (UTC)
Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 07C0B298D
 for <freebsd-usb@freebsd.org>; Sat, 21 Jun 2014 11:13:54 +0000 (UTC)
Received: from [93.104.30.195] (helo=localhost.my.domain)
 by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.76) (envelope-from <guru@unixarea.de>)
 id 1WyJEv-0000uR-EQ; Sat, 21 Jun 2014 13:13:45 +0200
Received: from localhost.my.domain (localhost [127.0.0.1])
 by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s5LBDgsO002074;
 Sat, 21 Jun 2014 13:13:43 +0200 (CEST)
 (envelope-from guru@unixarea.de)
Received: (from guru@localhost)
 by localhost.my.domain (8.14.7/8.14.3/Submit) id s5LBDfwI002073;
 Sat, 21 Jun 2014 13:13:41 +0200 (CEST)
 (envelope-from guru@unixarea.de)
X-Authentication-Warning: localhost.my.domain: guru set sender to
 guru@unixarea.de using -f
Date: Sat, 21 Jun 2014 13:13:41 +0200
From: Matthias Apitz <guru@unixarea.de>
To: Hans Petter Selasky <hps@selasky.org>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID: <20140621111341.GA2044@La-Habana>
Reply-To: Matthias Apitz <guru@unixarea.de>
References: <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
 <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org>
 <20140617065534.GA1634@La-Habana> <539FE8C4.9090606@selasky.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <539FE8C4.9090606@selasky.org>
X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386)
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Con-Id: 51246
X-Con-U: 0-guru
X-Originating-IP: 93.104.30.195
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jun 2014 11:13:55 -0000

El día Tuesday, June 17, 2014 a las 09:05:40AM +0200, Hans Petter Selasky escribió:

> I think the USB stack is trying to reset the ULPT device, because it 
> does not respond on the control endpoint any more. See TIMEOUT messages 
> in dmesg and usbdump. By setting "no_cs_fail" to non-zero this behaviour 
> is disabled.

Hi,

Thanks to Hans, the printing works now. But is terrible slow:

printing a 2.9 MByte Postscript file (containing a bit map, because it
was concerted from a PDF file) gives:

$ ls -l fra.ps
-rw-r--r--  1 guru  wheel  2951274 19 jun 17:44 fra.ps

$ date ; cat fra.ps > /dev/unlpt0 ; date ; cat fra.ps > /dev/ulpt0 ; date
Sat Jun 21 11:43:12 CEST 2014
Sat Jun 21 11:58:48 CEST 2014
Sat Jun 21 12:14:51 CEST 2014

i.e. takes around 15 minutes, regardeless of the used device, 3.2K per
second.

Just for the records

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 21 19:54:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 99197ACE
 for <freebsd-usb@freebsd.org>; Sat, 21 Jun 2014 19:54:31 +0000 (UTC)
Received: from wonkity.com (wonkity.com [67.158.26.137])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "wonkity.com", Issuer "wonkity.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 45D292E69
 for <freebsd-usb@freebsd.org>; Sat, 21 Jun 2014 19:54:31 +0000 (UTC)
Received: from wonkity.com (localhost [127.0.0.1])
 by wonkity.com (8.14.9/8.14.9) with ESMTP id s5LJsT6E078895
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Sat, 21 Jun 2014 13:54:30 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
 by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s5LJsQre078892;
 Sat, 21 Jun 2014 13:54:27 -0600 (MDT)
 (envelope-from wblock@wonkity.com)
Date: Sat, 21 Jun 2014 13:54:26 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: Matthias Apitz <guru@unixarea.de>
Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL
In-Reply-To: <20140621111341.GA2044@La-Habana>
Message-ID: <alpine.BSF.2.11.1406211351190.77104@wonkity.com>
References: <20140616091858.GA1945@La-Habana> <539EBB4B.2070401@selasky.org>
 <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org>
 <20140616151022.GA1657@La-Habana> <539F0D98.6040703@selasky.org>
 <20140617055446.GA1427@La-Habana> <539FDFB1.1090007@selasky.org>
 <20140617065534.GA1634@La-Habana> <539FE8C4.9090606@selasky.org>
 <20140621111341.GA2044@La-Habana>
User-Agent: Alpine 2.11 (BSF 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (wonkity.com [127.0.0.1]); Sat, 21 Jun 2014 13:54:30 -0600 (MDT)
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jun 2014 19:54:31 -0000

On Sat, 21 Jun 2014, Matthias Apitz wrote:

> Thanks to Hans, the printing works now. But is terrible slow:
>
> printing a 2.9 MByte Postscript file (containing a bit map, because it
> was concerted from a PDF file) gives:
>
> $ ls -l fra.ps
> -rw-r--r--  1 guru  wheel  2951274 19 jun 17:44 fra.ps
>
> $ date ; cat fra.ps > /dev/unlpt0 ; date ; cat fra.ps > /dev/ulpt0 ; date
> Sat Jun 21 11:43:12 CEST 2014
> Sat Jun 21 11:58:48 CEST 2014
> Sat Jun 21 12:14:51 CEST 2014
>
> i.e. takes around 15 minutes, regardeless of the used device, 3.2K per
> second.

USB in the slow mode?  Also, that twenty-year-old printer is probably 
not that fast at rendering PostScript, and likely memory-limited 
besides.  Could be a combination of all three.

Converting the PostScript to PCL at the same resultion and sending that 
could help to compare.  If it's the same speed, blame the USB adapter 
for sending slowly.  If it's faster, blame the onboard PS interpreter 
for interpreting slowly.

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun 22 14:45:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 08B8C613
 for <freebsd-usb@freebsd.org>; Sun, 22 Jun 2014 14:45:04 +0000 (UTC)
Received: from gazoz.arved.priv.at (gazoz.arved.priv.at
 [IPv6:2a02:180:1:1::551f:ba88])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "gazoz.arved.priv.at",
 Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 8FA402B48
 for <freebsd-usb@freebsd.org>; Sun, 22 Jun 2014 14:45:03 +0000 (UTC)
Received: from nihayet.arved.priv.at (190.philosoft.at [62.218.23.190] (may be
 forged)) (authenticated bits=0)
 by gazoz.arved.priv.at (8.14.7/8.14.7) with ESMTP id s5MEisOR016629
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
 Sun, 22 Jun 2014 16:44:58 +0200 (CEST)
 (envelope-from arved@FreeBSD.org)
Message-ID: <53A6EBE1.5090101@FreeBSD.org>
Date: Sun, 22 Jun 2014 16:44:49 +0200
From: =?ISO-8859-1?Q?Tilman_Keskin=F6z?= <arved@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Icedove/24.5.0
MIME-Version: 1.0
To: "Julian H. Stacey" <jhs@berklix.com>
Subject: Re: Reiner SCT RFID unknown device id?
References: <201402221749.s1MHmrZK021602@fire.js.berklix.net>
 <6C1100A4-DC5E-4DAF-ACB2-16C01991713E@FreeBSD.org>
In-Reply-To: <6C1100A4-DC5E-4DAF-ACB2-16C01991713E@FreeBSD.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Cc: freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jun 2014 14:45:04 -0000

* Tilman Keskinöz [Wed, 12 Mar 2014 12:47:15 +0100]:
> On Feb 22, 2014, at 18:48 , Julian H. Stacey wrote:

[..]

>> Thanks Alexander !, I downloaded & installed on 9.2-RELEASE,
>>
>> I reduced files/* long rooted names to eg
>> --- ifd/Makefile.in.orig        2013-01-19 23:47:28.016736517 +0100
>> +++ ifd/Makefile.in     2013-01-19 23:48:19.870759570 +0100
>> copies in
>> http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/security/pcsc-cyberjack/
>>
>> I ran make package-recursive to make sure any dependencies are in place,
>> & installed security/pcsc-tools
>>
>> pcsc_scan
>> PC/SC device scanner
>> V 1.4.21 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
>> Compiled with PC/SC lite version: 1.8.8
>> SCardEstablishContext: Service not available.
> 

The 0x9102 cyberJack RFID basis is supported by libccid and does not
need the pcsc-cyberjack driver.

The cyberJacks with a pinpad need the ReinerSCT driver.[1]

[1]
http://opensc.1086184.n5.nabble.com/Status-of-PINPAD-support-in-OpenSC-libccid-td8765.html



From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 23 08:00:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 664606F1
 for <freebsd-usb@FreeBSD.org>; Mon, 23 Jun 2014 08:00:07 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 49358292E
 for <freebsd-usb@FreeBSD.org>; Mon, 23 Jun 2014 08:00:07 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5N807Us086087
 for <freebsd-usb@FreeBSD.org>; Mon, 23 Jun 2014 09:00:07 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
Message-Id: <201406230800.s5N807Us086087@kenobi.freebsd.org>
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bugzilla] Commit Needs MFC
MIME-Version: 1.0
X-Bugzilla-Type: whine
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
Date: Mon, 23 Jun 2014 08:00:07 +0000
Content-Type: text/plain
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jun 2014 08:00:07 -0000

Hi,

You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed.

In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days.

This reminder is only sent on Mondays.  Please file a bug about concerns you may have.

  This search was scheduled by eadler@FreeBSD.org.


 (5 bugs)

Bug 137188:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8][patch] correctly handle USB report descriptors with interleaved report IDs
Bug 143045:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [umass] [usb8] [patch] mounting Fujitsu 2600Z camera doesn't work
Bug 143186:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usbdevs] [usb8] [patch] add USB device IDs for Google Nexus One and for RealTek Card Reader
Bug 145455:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [usb8] [patch] USB debug support cannot be disabled
Bug 149764:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764
    Severity: Affects Only Me
    Priority: Normal
    Hardware: Any
    Assignee: freebsd-usb@FreeBSD.org
      Status: Needs MFC
  Resolution: 
     Summary: [u3g] [patch] usbdevs update: Huawei K3765 3G modem


From owner-freebsd-usb@FreeBSD.ORG  Thu Jun 26 01:56:35 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 99EC6BE7
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 01:56:35 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 812FB2D96
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 01:56:35 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5Q1uZCQ071831
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 02:56:35 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191155] [usb] [patch] Fix USB operation after second
 suspend/resume
Date: Thu, 26 Jun 2014 01:56:35 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 11.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: linimon@FreeBSD.org
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: component assigned_to short_desc
Message-ID: <bug-191155-17-8md3T0BKwt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191155-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191155-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jun 2014 01:56:35 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191155

Mark Linimon <linimon@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|kern                        |usb
           Assignee|freebsd-bugs@FreeBSD.org    |freebsd-usb@FreeBSD.org
            Summary|Fix USB operation after     |[usb] [patch] Fix USB
                   |second suspend/resume       |operation after second
                   |                            |suspend/resume

--- Comment #2 from Mark Linimon <linimon@FreeBSD.org> ---
Over to maintainers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jun 26 06:32:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E57E270B
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 06:32:49 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CCD2C23D4
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 06:32:49 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5Q6Wnhx036422
 for <freebsd-usb@FreeBSD.org>; Thu, 26 Jun 2014 07:32:49 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191155] [usb] [patch] Fix USB operation after second
 suspend/resume
Date: Thu, 26 Jun 2014 06:32:49 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 11.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: trasz@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-191155-17-bn1Zdahqwg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191155-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191155-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jun 2014 06:32:50 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191155

Edward Tomasz Napierala <trasz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |Issue Resolved
         Resolution|---                         |FIXED

--- Comment #3 from Edward Tomasz Napierala <trasz@FreeBSD.org> ---
Fixed in another (and better) way by jhb@ in r267647.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 04:46:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 580DBA50
 for <freebsd-usb@freebsd.org>; Fri, 27 Jun 2014 04:46:44 +0000 (UTC)
Received: from nm32.bullet.mail.ne1.yahoo.com (nm32.bullet.mail.ne1.yahoo.com
 [98.138.229.25])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id ED23A2E4B
 for <freebsd-usb@freebsd.org>; Fri, 27 Jun 2014 04:46:43 +0000 (UTC)
Received: from [127.0.0.1] by nm32.bullet.mail.ne1.yahoo.com with NNFMP;
 27 Jun 2014 04:46:42 -0000
Received: from [98.138.100.112] by nm32.bullet.mail.ne1.yahoo.com with NNFMP;
 27 Jun 2014 04:43:59 -0000
Received: from [98.139.212.150] by tm103.bullet.mail.ne1.yahoo.com with NNFMP;
 27 Jun 2014 04:43:59 -0000
Received: from [98.139.212.241] by tm7.bullet.mail.bf1.yahoo.com with NNFMP;
 27 Jun 2014 04:43:59 -0000
Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP;
 27 Jun 2014 04:43:59 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 708870.40051.bm@omp1050.mail.bf1.yahoo.com
Received: (qmail 72431 invoked by uid 60001); 27 Jun 2014 04:43:59 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024;
 t=1403844239; bh=nRHYWKz4rSUUQBsqBMVPzjnPROrtMT5jekFJ43l3pp0=;
 h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
 b=KbW4xqQ/MII9RoOFOMjQdISWIiGWsyxC8X+u43k/4meuI2b6pdxBBPi6gAVORPdEVxCrP1scWFPTwXGJy9Ju0xlVho0BDYCr5Bn0d2oihbS2hHxofq491f2dxxpA4pR1ndS5r/6av91/RJoVGUa6E6nAc4TpMkS51ZGv6En1dE4=
X-YMail-OSG: qFnUbakVM1nmxQ86jjeiCm05as3cYYnd7xJO6fhWQE12Hxf
 03F0BvcEYp_EY.wIuuaND7VIdlFAmQKalr7Kv5DSv40B5illPlXQ45Wc9y9T
 qWFpZPYB27jjUAMHJ_kZeYmDbrgkSxLAtLW05TTTihxo8CLCGQZYyL29w8y3
 GqskZd6cFWbmpyh9G7Ule4VND6vYHa4If6_hVqTn6CSDGatkhfZZ8unV7lNp
 lpim4J5MOlm.yQqDLkZcwI6FpCMMnFs1x2jvwKs9o8dbzBVBgchh.IiQgGbv
 imAMk5vqW_0RsAvsvoPWvAtG0XvLb0AFRKEo3qR1xpEyb.p7txVj5RyT1Mzt
 bjLbhvMwdgX0o20pwvBXjq3VxwyVYDSr94vK0A7h1u2ORSeSOzR9dkdmHnFV
 CE3NbD.BUvsWoQLGxM8LiMxvPsGZ4bpJwqPlteI2jxa1Mcaj1_7pk66M32h9
 PM77tVxQnFaRQ5Hms5h4GP5EF.JRYCt8tUuX.mNy8RwENpYRp0u5yZBCs497
 4.OLnIhg18xsB0.F6zNA_K4yMfcpPxRHnVg--
Received: from [74.229.13.174] by web140803.mail.bf1.yahoo.com via HTTP;
 Thu, 26 Jun 2014 21:43:59 PDT
X-Rocket-MIMEInfo: 002.001,
 Pj4gT24gTW9uLCAxNyBGZWIgMjAxNCAyMTo1NDozNCAtMDgwMCAoUFNUKSBWZWxjcm8gTGVhZiA8dmVsY3JvbGVhZkByb2NrZXRtYWlsLmNvbT4gd3JvdGU6DQo.PiBEb2VzIGFueW9uZSBoYXZlIGEgc3VnZ2VzdGlvbiBmb3IgYSBrbm93biAxVEIgZXh0ZXJuYWwgVVNCIGRyaXZlLCBwb3dlcmVkIHRocm91Z2ggdGhlIFVTQiBjYWJsZSwgdGhhdCBjb25zaXN0ZW50bHkgd29ya3Mgd2l0aCBGcmVlQlNELCBhbmQgaGFzIGZvciBzb21lIHRpbWU_DQoNCj4gT24gVHVlLCAzLzQvMTQsIEVyaWNoIERvbGxhbnNreSABMAEBAQE-
X-Mailer: YahooMailClassic/650 YahooMailWebService/0.8.191.1
Message-ID: <1403844239.15337.YahooMailBasic@web140803.mail.bf1.yahoo.com>
Date: Thu, 26 Jun 2014 21:43:59 -0700
From: Velcro Leaf <velcroleaf@rocketmail.com>
Subject: Re: consistent, functional 1TB usb drive?
To: Erich Dollansky <erich@alogt.com>
In-Reply-To: <20140304194709.3421b152@X220.alogt.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 04:46:44 -0000

>> On Mon, 17 Feb 2014 21:54:34 -0800 (PST) Velcro Leaf <velcroleaf@rocketmail.com> wrote:
>> Does anyone have a suggestion for a known 1TB external USB drive, powered through the USB cable, that consistently works with FreeBSD, and has for some time?

> On Tue, 3/4/14, Erich Dollansky <erich@alogt.com> wrote:
> just buy cheap USB cases and put any drive you want in.

For the sake of closure, we tried this and it did indeed work.  I picked the cheapest, dumbest external cases that didn't advertise any magic caches or other bells and whistles.  The supplier even changed the model of the hard drive in between orders, but they function identically, so the problem has finally been solved.

Maybe I just got lucky, but at least this is a potential solution for anyone in the same situation.

Thanks for the help!

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 09:36:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9B5528F5
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:36:07 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 688F72784
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:36:07 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5R9a7mh017865
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:36:07 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] New: FreeBSD 10.0-STABLE #0 r267746: panic when using
 ue0 network
Date: Fri, 27 Jun 2014 09:36:07 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 attachments.created
Message-ID: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 09:36:07 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

            Bug ID: 191432
           Summary: FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
                    network
           Product: Base System
           Version: 10.0-STABLE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: vikashb@where-ever.za.net

Created attachment 144187
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144187&action=edit
core.txt

hardware:
Dell M3800

nic:
ugen2.4: <AX88179 ASIX Elec. Corp.> at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (248mA)


Unread portion of the kernel message buffer:
panic: vm_fault: fault on nofault entry, addr: fffffe02346f0000
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff8092a2d0 at kdb_backtrace+0x60
#1 0xffffffff808ef825 at panic+0x155
#2 0xffffffff80b5f8e9 at vm_fault_hold+0x1a89
#3 0xffffffff80b5de17 at vm_fault+0x77
#4 0xffffffff80ce455c at trap_pfault+0x19c
#5 0xffffffff80ce3d80 at trap+0x4a0
#6 0xffffffff80cca7f2 at calltrap+0x8
#7 0xffffffff81c1687e at axge_bulk_read_callback+0x19e
#8 0xffffffff8079684c at usbd_callback_wrapper+0x71c
#9 0xffffffff80797ac3 at usb_command_wrapper+0x113
#10 0xffffffff80796a71 at usb_callback_proc+0xc1
#11 0xffffffff80791b8f at usb_process+0x11f
#12 0xffffffff808c03da at fork_exit+0x9a
#13 0xffffffff80ccad2e at fork_trampoline+0xe
Uptime: 10m38s

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 09:37:01 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 417C1940
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:01 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 284352795
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:01 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5R9b1J0027449
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:37:01 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 09:37:01 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-191432-17-aXj88bCoNc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 09:37:01 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #1 from Vikash Badal <vikashb@where-ever.za.net> ---
Created attachment 144188
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144188&action=edit
dmesg

verbose dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 09:37:37 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C4A2697B
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:37 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id ABBBA279D
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:37 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5R9bbNh033871
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:37:37 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 09:37:37 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-191432-17-FAIP2FdRLL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 09:37:37 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #2 from Vikash Badal <vikashb@where-ever.za.net> ---
Created attachment 144189
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144189&action=edit
pciconf -lv

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 09:37:56 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BC9FB9B2
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:56 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A347327A3
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 09:37:56 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5R9buEg037268
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:37:56 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 09:37:56 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-191432-17-JTtUUwGQSf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 09:37:56 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #3 from Vikash Badal <vikashb@where-ever.za.net> ---
Created attachment 144190
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144190&action=edit
usbconfig

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:13:22 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 226AD394
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:13:22 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0942F2B54
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:13:22 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RADLbA080217
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:13:21 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 10:13:22 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: priority cc
Message-ID: <bug-191432-17-AZLTJYP4op@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:13:22 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

Vikash Badal <vikashb@where-ever.za.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|---                         |Normal
                 CC|                            |vikashb@where-ever.za.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:24:51 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 64235746
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:24:51 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4B9D02C7E
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:24:51 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAOpmY098279
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:24:51 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 10:24:51 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-ffri6nm1a5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:24:51 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Fri Jun 27 10:24:36 UTC 2014
New revision: 267955
URL: http://svnweb.freebsd.org/changeset/base/267955

Log:
  Add proper rangechecks in "axge_rx_frame()" function and
  fix receive loop header parsing.

  MFC after:    3 days
  PR:        191432

Changes:
  head/sys/dev/usb/net/if_axge.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:28:21 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 91D907FB
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:28:21 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 792622CBA
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:28:21 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RASLYU037124
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:28:21 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 10:28:21 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-191432-17-xaAinrU42l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:28:21 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hselasky@FreeBSD.org

--- Comment #5 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Please try the patch in the commit above! And report back!

Thank you!

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:31:22 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5E2E48A9
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:31:22 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 451902CF4
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:31:22 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAVMi6077435
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:31:22 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 137188] [usb8][patch] correctly handle USB report descriptors
 with interleaved report IDs
Date: Fri, 27 Jun 2014 10:31:22 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 8.0-BETA2
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-137188-17-oGi9Uf9RPA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-137188-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-137188-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:31:22 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137188

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
                 CC|                            |hselasky@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #4 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
This patch is MFC'ed to FreeBSD 8/9 and 10.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:33:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 09C338FC
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:33:30 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E51852D74
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:33:29 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAXTZN020352
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:33:29 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 143045] [umass] [usb8] [patch] mounting Fujitsu 2600Z camera
 doesn't work
Date: Fri, 27 Jun 2014 10:33:29 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-143045-17-pAHliZ7OCZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-143045-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-143045-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:33:30 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143045

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
                 CC|                            |hselasky@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #6 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
This patch is MFC'ed to FreeBSD 8/9 and 10.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:36:27 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2ED1396E
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:36:27 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 158532D95
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:36:27 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAaQ0T051715
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:36:26 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 143186] [usbdevs] [usb8] [patch] add USB device IDs for Google
 Nexus One and for RealTek Card Reader
Date: Fri, 27 Jun 2014 10:36:27 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 8.0-RELEASE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-143186-17-lTy9WxuINH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-143186-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-143186-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:36:27 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143186

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
                 CC|                            |hselasky@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #8 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
USB ID's are committed and MFC'ed to FreeBSD 8/9 and 10.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:37:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6A9AC9D5
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:37:31 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 51FA72DBC
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:37:31 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAbV2s062997
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:37:31 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 145455] [usb8] [patch] USB debug support cannot be disabled
Date: Fri, 27 Jun 2014 10:37:31 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-145455-17-YzSaG7J5Ah@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-145455-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-145455-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:37:31 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=145455

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
                 CC|                            |hselasky@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
This issue is fixed in FreeBSD 8/9 and 10. Please re-open if not.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:38:45 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 139FFA1C
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:38:45 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EEF212DC9
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:38:44 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAci4v077398
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:38:44 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 149764] [u3g] [patch] usbdevs update: Huawei K3765 3G modem
Date: Fri, 27 Jun 2014 10:38:44 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 8.1-RELEASE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-149764-17-GGDNlNGsFd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-149764-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-149764-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:38:45 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149764

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
                 CC|                            |hselasky@FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
MFC'ed to FreeBSD 8/9 and 10.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 10:39:25 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 36386A52
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:39:25 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1D79E2DCD
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 10:39:25 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RAdOML083391
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 11:39:24 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 10:39:25 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-191432-17-Sdtb7YDNIg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 10:39:25 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |Patch Ready

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 13:50:05 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 05751D77
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 13:50:05 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E1204212C
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 13:50:04 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RDo4k9059360
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:50:04 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 13:50:05 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-qlT9YokcgR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 13:50:05 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #6 from Vikash Badal <vikashb@where-ever.za.net> ---
appears to be much more stable 

but network speeds are terrible. < 2 MB/s 


Installing ubuntu 10.0.4 sees the bus as usb 3 but Freebsd sees it as 2.0

ubuntu 10.0.4 

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 6
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=03.13
S:  Manufacturer=Linux 3.13.0-24-generic xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  5 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=0b95 ProdID=1790 Rev=01.00
S:  Manufacturer=ASIX Elec. Corp.
S:  Product=AX88179
S:  SerialNumber=00503F56011487
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=ax88179_178a


Freebsd

ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)


ehci1@pci0:0:29:0:      class=0x0c0320 card=0x060d1028 chip=0x8c268086
rev=0x05
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 14:12:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8EFFB853
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:12:00 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7664A23CB
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:12:00 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5REC0kF055181
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 15:12:00 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 14:12:00 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-u8e0omPhZN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 14:12:00 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #7 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Try plugging the adapter a few times and see if appears like USB 3.0.

You are sure the USB  port you are using is USB 3.0 capable?

The USB 3.0 controller you have "Lynx Point" is know to require special quirks
in order for USB 3.0 ports to become active. Please also check your BIOS
settings.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 14:31:58 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4B8AFD2C
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:31:58 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 32DD0263C
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:31:58 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5REVwbo069670
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 15:31:58 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 14:31:58 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-UAudQ4d6xf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 14:31:58 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #8 from Vikash Badal <vikashb@where-ever.za.net> ---
using the same bios settings and port on a unbuntu install i get gigE speeds.

its a replacement laptop so at the moment i just do fresh installs using the
same bios settings.

can you point me in the direction of the quirks required ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 14:36:16 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 18D04108
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:36:16 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id F42222685
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 14:36:15 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5REaFnQ026715
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 15:36:15 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 14:36:16 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-8WpnRAYj4t@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 14:36:16 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #9 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

The Lynx Point needs some magic to enable proper port rounting. By default all
ports are USB 2.0.

Possibly by putting the correct value into:

hw.usb.xhci.xhci_port_route

In /boot/loader.conf

It will work.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 16:50:39 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1D03CD06
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 16:50:39 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0481C23AB
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 16:50:39 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RGocSU086196
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 17:50:38 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 16:50:39 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-Sd1xUP7AvT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 16:50:39 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #10 from Vikash Badal <vikashb@where-ever.za.net> ---
tried 
 hw.usb.xhci.xhci_port_route="0xFFFFFFFF"
hw.usb.xhci.xhci_port_route="0x0"
hw.usb.xhci.xhci_port_route="0x1"
hw.usb.xhci.xhci_port_route="0x2"
hw.usb.xhci.xhci_port_route="0x4"
hw.usb.xhci.xhci_port_route="0x8"

no luck

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 17:48:52 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 9F124854
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 17:48:52 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8670C2970
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 17:48:52 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RHmq6c024036
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 18:48:52 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 17:48:52 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-fpFtg9Udj3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 17:48:52 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #11 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Could you check with a tool like wireshark, if the network adapter has data
loss. Can also be checked using "ifconfig ue0".

For example if you "ping -f -s 1500 xxx" to some local address, how much packet
loss is there?

What I see in the dmesg, is that there is a device that has trouble
enumerating. See the IO-ERROR. If you enable hw.usb.uhub.debug=16 you will see
the portnumber.

BTW: You should try:

0x1
0x2
..
0x80000000

Because the device has many ports.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jun 27 19:21:19 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 91DF5227
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 19:21:19 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7933F227B
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 19:21:19 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RJLJqi076663
 for <freebsd-usb@FreeBSD.org>; Fri, 27 Jun 2014 20:21:19 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 27 Jun 2014 19:21:19 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-191432-17-DrRlawH8dQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jun 2014 19:21:19 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #12 from Vikash Badal <vikashb@where-ever.za.net> ---
Created attachment 144199
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144199&action=edit
hw.usb.uhub.debug=16 dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Sat Jun 28 19:38:12 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CD2AF50D
 for <freebsd-usb@FreeBSD.org>; Sat, 28 Jun 2014 19:38:12 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B289521DC
 for <freebsd-usb@FreeBSD.org>; Sat, 28 Jun 2014 19:38:12 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5SJcCHq016689
 for <freebsd-usb@FreeBSD.org>; Sat, 28 Jun 2014 20:38:12 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Sat, 28 Jun 2014 19:38:12 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-umVKeFj9xJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jun 2014 19:38:12 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #13 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Comment on attachment 144199
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144199
hw.usb.uhub.debug=16 dmesg

Hi,

You need to put the sysctl setting into:
/boot/loader.conf

Because the failing enumeration happens very early on.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun 29 14:42:04 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 36D0CEEA
 for <freebsd-usb@FreeBSD.org>; Sun, 29 Jun 2014 14:42:04 +0000 (UTC)
Received: from smtp41.singnet.com.sg (smtp41.singnet.com.sg [165.21.103.142])
 by mx1.freebsd.org (Postfix) with ESMTP id A4E662E73
 for <freebsd-usb@FreeBSD.org>; Sun, 29 Jun 2014 14:41:58 +0000 (UTC)
Received: from zaapth.zeepster.org (bb219-74-56-103.singnet.com.sg
 [219.74.56.103])
 by smtp41.singnet.com.sg (8.14.3/8.14.1) with ESMTP id s5TEfba6006337
 for <freebsd-usb@FreeBSD.org>; Sun, 29 Jun 2014 22:41:37 +0800
Received: from zaapedy.zeepster.org ([192.168.187.42])
 by zaapth.zeepster.org with esmtpa (Exim 4.82 (FreeBSD))
 (envelope-from <twchan@singnet.com.sg>) id 1X1GIg-000EwA-4e
 for freebsd-usb@FreeBSD.org; Sun, 29 Jun 2014 22:41:50 +0800
Message-ID: <53B025AF.3010602@singnet.com.sg>
Date: Sun, 29 Jun 2014 22:41:51 +0800
From: Tur-Wei Chan <twchan@singnet.com.sg>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: freebsd-usb@FreeBSD.org
Subject: Zotac ID91 USB3 devices attach as USB2
Content-Type: multipart/mixed; boundary="------------010601030504050005070000"
X-PMX-Version: 5.5.2.363555, Antispam-Engine: 2.6.1.350677,
 Antispam-Data: 2014.6.29.143320
X-PMX-AS: AS-Check
X-PMX-Score: Probability=13%
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jun 2014 14:42:04 -0000

This is a multi-part message in MIME format.
--------------010601030504050005070000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Got a Zotac ID91 mini-PC 
(http://www.zotac.com/products/mini-pcs/zbox/product/zbox/detail/zbox-id91-1.html) 
recently and installed FreeBSD (10-STABLE, r267719) on it.

Hooking up my Mediasonic ProRaid HUR3-SU3S3 to the USB3 ports however 
showed the drives up at only USB2.0 speeds:

Jun 29 21:53:37 z2 kernel: ugen2.3: <JMicron> at usbus2
Jun 29 21:53:37 z2 kernel: umass0: <MSC Bulk-Only Transfer> on usbus2
Jun 29 21:53:37 z2 kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0000
Jun 29 21:53:37 z2 kernel: umass0:2:0:-1: Attached to scbus2
Jun 29 21:53:37 z2 kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
Jun 29 21:53:37 z2 kernel: da0: <JMicron Disk0 0104> Fixed Direct Access 
SCSI-6 device
Jun 29 21:53:37 z2 kernel: da0: Serial Number 00000000000000000000
Jun 29 21:53:37 z2 kernel: da0: 40.000MB/s transfers
Jun 29 21:53:37 z2 kernel: da0: 1907729MB (3907029168 512 byte sectors: 
255H 63S/T 243201C)
Jun 29 21:53:37 z2 kernel: da0: quirks=0x2<NO_6_BYTE>
Jun 29 21:53:37 z2 kernel: da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
Jun 29 21:53:37 z2 kernel: da1: <JMicron Disk1 0104> Fixed Direct Access 
SCSI-6 device
Jun 29 21:53:37 z2 kernel: da1: Serial Number 00000000000000000000
Jun 29 21:53:37 z2 kernel: da1: 40.000MB/s transfers
Jun 29 21:53:37 z2 kernel: da1: 1907729MB (3907029168 512 byte sectors: 
255H 63S/T 243201C)
Jun 29 21:53:37 z2 kernel: da1: quirks=0x2<NO_6_BYTE>

The same enclosure on a 9.2-RELEASE on another system does indeed attach 
at USB3 speeds.

Anyone has had luck with this mini PC with USB3?  I attach the dmesg 
(with USB_DEBUG and hw.usb.xhci.debug=16), pciconf and usbconfig in the 
hope they can shed any light...


Regards

   -T.W.Chan-


--------------010601030504050005070000
Content-Type: text/plain; charset=windows-1252;
 name="dmesg-20140629-02.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dmesg-20140629-02.txt"

Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-STABLE #0 r267719: Sat Jun 28 13:06:16 SGT 2014
    twchan@z2:/usr/obj/usr/src/sys/Z2 amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Core(TM) i3-4130T CPU @ 2.90GHz (2893.37-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306c3  Family = 0x6  Model = 0x3c  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 7966167040 (7597 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 67, 1 (4) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
hdac0: <Intel Haswell HDA Controller> mem 0xf7d10000-0xf7d13fff irq 16 at device 3.0 on pci0
xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff irq 16 at device 20.0 on pci0
xhci_halt_controller: 
xhci_start_controller: 
xhci_start_controller: CAPLENGTH=0x80
xhci_start_controller: RUNTIMEOFFSET=0x2000
xhci_start_controller: DOOROFFSET=0x3000
xhci_start_controller: xHCI version = 0x0100
xhci_start_controller: HCS0 = 0x200077c1
xhci0: 32 byte context size.
xhci_start_controller: CONFIG=0x00000000 -> 0x00000020
xhci_start_controller: Max slots: 32
xhci_start_controller: Max scratch: 16
xhci_start_controller: HCS2=0x84000054
xhci_start_controller: ERSTSZ=0x00000000 -> 0x00000001
xhci_start_controller: ERDP(0)=0x00000000bef63080
xhci_start_controller: ERSTBA(0)=0x00000000bef63000
xhci_start_controller: CRCR=0x00000000bef63d80
xhci0: Port routing mask set to 0x00000000
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf7d18000-0xf7d183ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0104000-0xf0104fff,0xf0100000-0xf0103fff irq 19 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:01:2e:4e:ca:26
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3
re1: Using 1 MSI-X message
re1: ASPM disabled
re1: Chip rev. 0x2c800000
re1: MAC rev. 0x00100000
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1
rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re1: Ethernet address: 00:01:2e:4e:ca:27
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <network> at device 0.0 (no driver attached)
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf7d17000-0xf7d173ff irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Lynx Point AHCI SATA controller> port 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xf7d16000-0xf7d167ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
xhci_set_hw_power: 
xhci_ep_init: endpoint=0xfffff800067860d8, addr=0, endpt=0, mode=0
xhci_roothub_exec: type=0x00 request=0x05 wLen=0x0000 wValue=0x0001 wIndex=0x0000
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0012 wValue=0x0100 wIndex=0x0000
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0002 wValue=0x0300 wIndex=0x0000
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0004 wValue=0x0300 wIndex=0x0000
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0002 wValue=0x0301 wIndex=0x0001
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x000e wValue=0x0301 wIndex=0x0001
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0002 wValue=0x0302 wIndex=0x0001
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x001c wValue=0x0302 wIndex=0x0001
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x0009 wValue=0x0200 wIndex=0x0000
xhci_roothub_exec: type=0x80 request=0x06 wLen=0x001f wValue=0x0200 wIndex=0x0000
xhci_roothub_exec: type=0x00 request=0x09 wLen=0x0000 wValue=0x0001 wIndex=0x0000
xhci_ep_init: endpoint=0xfffff80006776000, addr=1, endpt=129, mode=0
ugen0.1: <0x8086> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
xhci_roothub_exec: type=0xa0 request=0x06 wLen=0x000c wValue=0x2a00 wIndex=0x0000
xhci_roothub_exec: type=0xa0 request=0x06 wLen=0x000e wValue=0x2a00 wIndex=0x0000
ugen2.1: <Intel> at usbus2
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen1.1: <Intel> at usbus1
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ses0 at ahciem0 bus 0 scbus1 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <HGST HTS721010A9E630 JB0OA3J0> ATA-8 SATA 3.x device
ada0: Serial Number JR10006PH7DU9E
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0001
xhci_roothub_exec: set port power 1
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
Timecounter "TSC-low" frequency 1446683088 Hz quality 1000
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0002
xhci_roothub_exec: set port power 2
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0003
xhci_roothub_exec: set port power 3
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0004
xhci_roothub_exec: set port power 4
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0005
xhci_roothub_exec: set port power 5
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0006
xhci_roothub_exec: set port power 6
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0007
xhci_roothub_exec: set port power 7
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0008
xhci_roothub_exec: set port power 8
Root mount waiting for: usbus2 usbus1 usbus0
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0009
xhci_roothub_exec: set port power 9
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000a
xhci_roothub_exec: set port power 10
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000b
xhci_roothub_exec: set port power 11
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000c
xhci_roothub_exec: set port power 12
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000d
xhci_roothub_exec: set port power 13
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000e
xhci_roothub_exec: set port power 14
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x000f
xhci_roothub_exec: set port power 15
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0010
xhci_roothub_exec: set port power 16
xhci_roothub_exec: type=0x23 request=0x03 wLen=0x0000 wValue=0x0008 wIndex=0x0011
xhci_roothub_exec: set port power 17
uhub0: 17 ports with 17 removable, self powered
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0001
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0002
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0003
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0004
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0005
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0006
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0007
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0008
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0009
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000a
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000b
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000c
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000d
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000e
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x000f
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0010
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0x23 request=0x01 wLen=0x0000 wValue=0x0010 wIndex=0x0011
xhci_roothub_exec: UR_CLEAR_PORT_FEATURE
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
uhub2: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on usbus2
Root mount waiting for: usbus2 usbus1
uhub3: 4 ports with 4 removable, self powered
uhub4: 6 ports with 6 removable, self powered
ugen1.3: <Generic> at usbus1
ugen2.3: <Logitech> at usbus2
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
kbd2 at ukbd0
Root mount waiting for: usbus1
usb_alloc_device: set address 4 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
ugen1.4: <Unknown> at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device
Trying to mount root from ufs:/dev/ada0p3 [rw]...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
ums0: xhci_roothub_exec: port status=0x000002a0
<Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
ums0: xhci_roothub_exec: UR_GET_STATUS i=4
16 buttons and [XYZT] coordinates ID=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0
xhci_set_hw_power: 
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0001
xhci_roothub_exec: UR_GET_STATUS i=1
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0002
xhci_roothub_exec: UR_GET_STATUS i=2
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0003
xhci_roothub_exec: UR_GET_STATUS i=3
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0004
xhci_roothub_exec: UR_GET_STATUS i=4
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0005
xhci_roothub_exec: UR_GET_STATUS i=5
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0006
xhci_roothub_exec: UR_GET_STATUS i=6
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0007
xhci_roothub_exec: UR_GET_STATUS i=7
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0008
xhci_roothub_exec: UR_GET_STATUS i=8
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0009
xhci_roothub_exec: UR_GET_STATUS i=9
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000a
xhci_roothub_exec: UR_GET_STATUS i=10
xhci_roothub_exec: port status=0x000002a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000b
xhci_roothub_exec: UR_GET_STATUS i=11
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000c
xhci_roothub_exec: UR_GET_STATUS i=12
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000d
xhci_roothub_exec: UR_GET_STATUS i=13
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000e
xhci_roothub_exec: UR_GET_STATUS i=14
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x000f
xhci_roothub_exec: UR_GET_STATUS i=15
xhci_roothub_exec: port status=0x00000280
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0010
xhci_roothub_exec: UR_GET_STATUS i=16
xhci_roothub_exec: port status=0x000802a0
xhci_roothub_exec: type=0xa3 request=0x00 wLen=0x0004 wValue=0x0000 wIndex=0x0011
xhci_roothub_exec: UR_GET_STATUS i=17
xhci_roothub_exec: port status=0x000802a0

--------------010601030504050005070000
Content-Type: text/plain; charset=windows-1252;
 name="pciconf.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="pciconf.txt"

hostb0@pci0:0:0:0:	class=0x060000 card=0xb20619da chip=0x0c008086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:	class=0x030000 card=0xb20619da chip=0x041e8086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = display
    subclass   = VGA
hdac0@pci0:0:3:0:	class=0x040300 card=0xb20619da chip=0x0c0c8086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell HD Audio Controller'
    class      = multimedia
    subclass   = HDA
xhci0@pci0:0:20:0:	class=0x0c0330 card=0xb20619da chip=0x8c318086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point USB xHCI Host Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:22:0:	class=0x078000 card=0xb20619da chip=0x8c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point MEI Controller'
    class      = simple comms
ehci0@pci0:0:26:0:	class=0x0c0320 card=0xb20619da chip=0x8c2d8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib1@pci0:0:28:0:	class=0x060400 card=0xb20619da chip=0x8c108086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:3:	class=0x060400 card=0xb20619da chip=0x8c168086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:4:	class=0x060400 card=0xb20619da chip=0x8c188086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:5:	class=0x060400 card=0xb20619da chip=0x8c1a8086 rev=0xd5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
ehci1@pci0:0:29:0:	class=0x0c0320 card=0xb20619da chip=0x8c268086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:	class=0x060100 card=0xb20619da chip=0x8c5c8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:	class=0x010601 card=0xb20619da chip=0x8c028086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point 6-port SATA Controller 1 [AHCI mode]'
    class      = mass storage
    subclass   = SATA
none1@pci0:0:31:3:	class=0x0c0500 card=0xb20619da chip=0x8c228086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Lynx Point SMBus Controller'
    class      = serial bus
    subclass   = SMBus
re0@pci0:2:0:0:	class=0x020000 card=0x816819da chip=0x816810ec rev=0x07 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet
re1@pci0:3:0:0:	class=0x020000 card=0x816819da chip=0x816810ec rev=0x07 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet
none2@pci0:4:0:0:	class=0x028000 card=0x00708086 chip=0x08b38086 rev=0x83 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = network

--------------010601030504050005070000
Content-Type: text/plain; charset=windows-1252;
 name="usbconfig.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="usbconfig.txt"

ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0300 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0003 
  bMaxPacketSize0 = 0x0009 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <0x8086>
  iProduct = 0x0002  <XHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x001f 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0040 
    bMaxPower = 0x0000 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0009 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0002 
        bInterval = 0x00ff 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

      Additional Descriptor

      bLength = 0x06
      bDescriptorType = 0x30
      bDescriptorSubType = 0x00
       RAW dump: 
       0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00




ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <EHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0019 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0040 
    bMaxPower = 0x0000 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0009 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x00ff 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <EHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0019 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x0040 
    bMaxPower = 0x0000 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0009 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x00ff 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen1.2: <product 0x8008 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x8087 
  idProduct = 0x8008 
  bcdDevice = 0x0005 
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0000  <no string>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0019 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00e0 
    bMaxPower = 0x0000 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0009 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0001 
        bInterval = 0x000c 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen2.2: <product 0x8000 vendor 0x8087> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x8087 
  idProduct = 0x8000 
  bcdDevice = 0x0005 
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0000  <no string>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0019 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00e0 
    bMaxPower = 0x0000 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0009 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0001 
        bInterval = 0x000c 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen1.3: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff 
  bDeviceSubClass = 0x00ff 
  bDeviceProtocol = 0x00ff 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0bda 
  idProduct = 0x0129 
  bcdDevice = 0x3960 
  iManufacturer = 0x0001  <Generic>
  iProduct = 0x0002  <USB2.0-CRW>
  iSerialNumber = 0x0003  <20100201396000000>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0027 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0004  <CARD READER>
    bmAttributes = 0x00a0 
    bMaxPower = 0x00fa 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0003 
      bInterfaceClass = 0x00ff 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0050 
      iInterface = 0x0005  <Bulk-In, Bulk-Out, Interface>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 2
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0003 
        bInterval = 0x000a 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen2.3: <USB Receiver Logitech> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x046d 
  idProduct = 0xc52b 
  bcdDevice = 0x1201 
  iManufacturer = 0x0001  <Logitech>
  iProduct = 0x0002  <USB Receiver>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0054 
    bNumInterfaces = 0x0003 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0004  <RQR12.01_B0019>
    bmAttributes = 0x00a0 
    bMaxPower = 0x0031 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0003 
      bInterfaceSubClass = 0x0001 
      bInterfaceProtocol = 0x0001 
      iInterface = 0x0000  <no string>

      Additional Descriptor

      bLength = 0x09
      bDescriptorType = 0x21
      bDescriptorSubType = 0x11
       RAW dump: 
       0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3b, 
       0x08 | 0x00

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x0008 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 


    Interface 1
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0001 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0003 
      bInterfaceSubClass = 0x0001 
      bInterfaceProtocol = 0x0002 
      iInterface = 0x0000  <no string>

      Additional Descriptor

      bLength = 0x09
      bDescriptorType = 0x21
      bDescriptorSubType = 0x11
       RAW dump: 
       0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94, 
       0x08 | 0x00

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008 
        bInterval = 0x0002 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 


    Interface 2
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0002 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0001 
      bInterfaceClass = 0x0003 
      bInterfaceSubClass = 0x0000 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0000  <no string>

      Additional Descriptor

      bLength = 0x09
      bDescriptorType = 0x21
      bDescriptorSubType = 0x11
       RAW dump: 
       0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62, 
       0x08 | 0x00

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0020 
        bInterval = 0x0002 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



ugen2.4: <JMS56x Series JMicron> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0210 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x152d 
  idProduct = 0x9561 
  bcdDevice = 0x0104 
  iManufacturer = 0x0001  <JMicron>
  iProduct = 0x0002  <JMS56x Series>
  iSerialNumber = 0x0005  <00000000000000000000>
  bNumConfigurations = 0x0001 


 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0055 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0004  <USB Mass Storage>
    bmAttributes = 0x00c0 
    bMaxPower = 0x0001 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0002 
      bInterfaceClass = 0x0008 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0050 
      iInterface = 0x0006  <MSC Bulk-Only Transfer>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0002  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 


    Interface 0 Alt 1
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0001 
      bNumEndpoints = 0x0004 
      bInterfaceClass = 0x0008 
      bInterfaceSubClass = 0x0006 
      bInterfaceProtocol = 0x0062 
      iInterface = 0x000a  <MSC BOT/UAS Transfer>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

      Additional Descriptor

      bLength = 0x04
      bDescriptorType = 0x24
      bDescriptorSubType = 0x01
       RAW dump: 
       0x00 | 0x04, 0x24, 0x01, 0x00


     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

      Additional Descriptor

      bLength = 0x04
      bDescriptorType = 0x24
      bDescriptorSubType = 0x02
       RAW dump: 
       0x00 | 0x04, 0x24, 0x02, 0x00


     Endpoint 2
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0083  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

      Additional Descriptor

      bLength = 0x04
      bDescriptorType = 0x24
      bDescriptorSubType = 0x03
       RAW dump: 
       0x00 | 0x04, 0x24, 0x03, 0x00


     Endpoint 3
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0004  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

      Additional Descriptor

      bLength = 0x04
      bDescriptorType = 0x24
      bDescriptorSubType = 0x04
       RAW dump: 
       0x00 | 0x04, 0x24, 0x04, 0x00





--------------010601030504050005070000--

From owner-freebsd-usb@FreeBSD.ORG  Sun Jun 29 17:02:08 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E2FCF4F8
 for <freebsd-usb@FreeBSD.org>; Sun, 29 Jun 2014 17:02:08 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A730B28C5
 for <freebsd-usb@FreeBSD.org>; Sun, 29 Jun 2014 17:02:08 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id E87DD1FE02D;
 Sun, 29 Jun 2014 19:02:06 +0200 (CEST)
Message-ID: <53B046A0.4010102@selasky.org>
Date: Sun, 29 Jun 2014 19:02:24 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Tur-Wei Chan <twchan@singnet.com.sg>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2
References: <53B025AF.3010602@singnet.com.sg>
In-Reply-To: <53B025AF.3010602@singnet.com.sg>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jun 2014 17:02:09 -0000

On 06/29/14 16:41, Tur-Wei Chan wrote:
> Hi,
>
> Got a Zotac ID91 mini-PC
> (http://www.zotac.com/products/mini-pcs/zbox/product/zbox/detail/zbox-id91-1.html)
> recently and installed FreeBSD (10-STABLE, r267719) on it.
>
> Hooking up my Mediasonic ProRaid HUR3-SU3S3 to the USB3 ports however
> showed the drives up at only USB2.0 speeds:
>

Hi,

What does "pciconf -lv" say?

I see you have a Lynx Point USB 3.0. They are a bit troublesome. Have 
you played with the port routing mask under hw.usb.xhci ?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 30 07:37:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E50DEFD2
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 07:37:54 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C7A67275B
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 07:37:54 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5U7bs8P047970
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 08:37:54 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Mon, 30 Jun 2014 07:37:55 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-bVVnuGJpOf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 07:37:55 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #14 from Vikash Badal <vikashb@where-ever.za.net> ---
Hi

I have place all those values in /boot/loader.conf and still no luck

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 30 12:09:47 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 444C3D37
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 12:09:47 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 297682F25
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 12:09:47 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5UC9lX4095655
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 13:09:47 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Mon, 30 Jun 2014 12:09:47 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-HzzzbJsZo7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 12:09:47 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #15 from Vikash Badal <vikashb@where-ever.za.net> ---
(In reply to Vikash Badal from comment #14)
> Hi
> 
> I have place all those values in /boot/loader.conf and still no luck


I'm not sure if this is an issue:

# dmesg | grep Port routing
xhci0: Port routing mask set to 0xfffffffb
xhci0: Port routing mask set to 0x00000000

# sysctl -a | grep xhci_port
hw.usb.xhci.xhci_port_route: 4

# cat /boot/loader.conf
hw.usb.xhci.xhci_port_route="0x4"


does not matter what i set hw.usb.xhci.xhci_port_route to in /boot/loader.conf,
the last entry from dmesg matching routing is always

xhci0: Port routing mask set to 0x00000000

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 30 15:11:19 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8B5BCD02
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 15:11:19 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 73091220F
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 15:11:19 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5UFBJGW046050
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 16:11:19 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Mon, 30 Jun 2014 15:11:19 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-uRG1bxmDBX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 15:11:19 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #16 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Can you check if your BIOS has any USB settings?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 30 16:30:07 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B5AB262E
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 16:30:07 +0000 (UTC)
Received: from smtp48.singnet.com.sg (smtp48.singnet.com.sg [165.21.103.162])
 by mx1.freebsd.org (Postfix) with ESMTP id 4C71C2992
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 16:30:06 +0000 (UTC)
Received: from zaapth.zeepster.org (bb219-74-56-103.singnet.com.sg
 [219.74.56.103])
 by smtp48.singnet.com.sg (8.14.3/8.14.1) with ESMTP id s5UGHAdm032591;
 Tue, 1 Jul 2014 00:17:10 +0800
Received: from zaapedy.zeepster.org ([192.168.187.42])
 by zaapth.zeepster.org with esmtpa (Exim 4.82 (FreeBSD))
 (envelope-from <twchan@singnet.com.sg>)
 id 1X1eGY-000GkW-S9; Tue, 01 Jul 2014 00:17:14 +0800
Message-ID: <53B18D8C.3080401@singnet.com.sg>
Date: Tue, 01 Jul 2014 00:17:16 +0800
From: Tur-Wei Chan <twchan@singnet.com.sg>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
In-Reply-To: <53B046A0.4010102@selasky.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.2.363555, Antispam-Engine: 2.6.1.350677,
 Antispam-Data: 2013.5.29.82727
X-PMX-AS: AS-Check
X-PMX-Score: Probability=12%
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 16:30:07 -0000

Hi,
On 30/6/2014 1:02 AM, Hans Petter Selasky wrote:
> On 06/29/14 16:41, Tur-Wei Chan wrote:
>> Hi,
>>
>> Got a Zotac ID91 mini-PC
>> (http://www.zotac.com/products/mini-pcs/zbox/product/zbox/detail/zbox-id91-1.html) 
>>
>> recently and installed FreeBSD (10-STABLE, r267719) on it.
>>
>> Hooking up my Mediasonic ProRaid HUR3-SU3S3 to the USB3 ports however
>> showed the drives up at only USB2.0 speeds:
>>
>
> Hi,
>
> What does "pciconf -lv" say?
>
> I see you have a Lynx Point USB 3.0. They are a bit troublesome. Have 
> you played with the port routing mask under hw.usb.xhci ?
>
> --HPS
>

pciconf -lv said (as attached previously):

xhci0@pci0:0:20:0:      class=0x0c0330 card=0xb20619da chip=0x8c318086 
rev=0x05 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Lynx Point USB xHCI Host Controller'
     class      = serial bus
     subclass   = USB

I set hw.usb.xhci.xhci_port_route=-1 in /boot/loader.conf but it did not 
seem to have any effect as another poster has reported. Looking at xhci.c:

         if (sc->sc_port_route != NULL) {
                 /* Route all ports to the XHCI by default */
                 sc->sc_port_route(sc->sc_bus.parent,
                     ~xhciroute, xhciroute);
         }

It seems that if xhciroute=-1 as set by the tunable, the code above will 
actually call sc_port_route() with set=0, clear=~0.  Maybe that's not 
what's intended?

Anyway I tried again with hw.usb.xhci.xhci_port_route=0 and then I did 
see the initial setting of the mask:
Jul  1 00:14:14 z2 kernel: xhci0: Port routing mask set to 0xffffffff
Jul  1 00:14:14 z2 kernel: usbus0 on xhci0

However, not long after that, the port fails and the mask is reset to 0.
Jul  1 00:14:14 z2 kernel: xhci_cmd_set_address:
Jul  1 00:14:14 z2 kernel: xhci_do_command: command[1] = 11 
(0x000000000728d000, 0x00000000, 0x01002e00)
Jul  1 00:14:14 z2 kernel: xhci_interrupt: real interrupt 
(status=0x00000008)
Jul  1 00:14:14 z2 kernel: xhci_interrupt_poll: event[5] = 33 
(0x00000000bef63d90 0x11000000 0x01008401)
Jul  1 00:14:14 z2 kernel: xhci_check_command: Received command event
Jul  1 00:14:14 z2 kernel: xhci0: Port routing mask set to 0x00000000
Jul  1 00:14:14 z2 kernel: xhci_interrupt: real interrupt 
(status=0x00000018)
Jul  1 00:14:14 z2 kernel: xhci_set_address: Could not set address for 
slot 1.
Jul  1 00:14:14 z2 kernel: xhci_interrupt_poll: event[6] = 34 
(0x0000000003000000 0x01000000 0x00008801)
Jul  1 00:14:14 z2 kernel: usb_alloc_device: device init 2 failed 
(USB_ERR_IOERROR, ignored)
Jul  1 00:14:14 z2 kernel: xhci_interrupt_poll: Unhandled event = 34
Jul  1 00:14:14 z2 kernel: xhci_device_state_change:
Jul  1 00:14:14 z2 kernel: xhci_root_intr: port 3 changed
Jul  1 00:14:14 z2 kernel: ugen0.2: <Unknown> at usbus0 (disconnected)

I guess this system is lost cause then...


Regards

   -T.W.Chan-


From owner-freebsd-usb@FreeBSD.ORG  Mon Jun 30 16:49:41 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E23F463D
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 16:49:41 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C977B2B7E
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 16:49:41 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5UGnf5s049297
 for <freebsd-usb@FreeBSD.org>; Mon, 30 Jun 2014 17:49:41 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Mon, 30 Jun 2014 16:49:42 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-HLP1ogoeU3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 16:49:42 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #17 from Vikash Badal <vikashb@where-ever.za.net> ---
(In reply to Hans Petter Selasky from comment #16)
> Can you check if your BIOS has any USB settings?
> 
> --HPS

Current options:

USB Emulation    => enabled        tried with disabled
USB Powershare   => disabled
USB Wake support => disabled


External USB Ports  => Enabled     With disabled not ports are usable
USB debug           => Disabled    tried with Enabled

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul  1 08:35:52 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 11DB2A83
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 08:35:52 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EE40B24BB
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 08:35:51 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s618Zprl098735
 for <freebsd-usb@FreeBSD.org>; Tue, 1 Jul 2014 09:35:51 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Tue, 01 Jul 2014 08:35:52 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-q7olVMH0sB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Jul 2014 08:35:52 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #18 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
There are no BIOS settings to select SuperSpeed or HighSpeed USB mode of the
USB ports?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul  1 14:56:40 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A62694B5
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 14:56:40 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 8D70629CC
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 14:56:40 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s61Euemx081621
 for <freebsd-usb@FreeBSD.org>; Tue, 1 Jul 2014 15:56:40 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190939] Panic when trying to boot
 FreeBSD-10.0-STABLE-amd64-20140608-r267232-bootonly.iso via USB-CDRW drive
Date: Tue, 01 Jul 2014 14:56:40 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: kern
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: sbruno@FreeBSD.org
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-190939-17-aYeKAmYHx7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Jul 2014 14:56:40 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190939

Sean Bruno <sbruno@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbruno@FreeBSD.org
           Assignee|freebsd-bugs@FreeBSD.org    |freebsd-usb@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul  1 15:26:31 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C96BBB0D
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 15:26:31 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id B0D962D05
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 15:26:31 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s61FQV89094425
 for <freebsd-usb@FreeBSD.org>; Tue, 1 Jul 2014 16:26:31 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190939] Panic when trying to boot
 FreeBSD-10.0-STABLE-amd64-20140608-r267232-bootonly.iso via USB-CDRW drive
Date: Tue, 01 Jul 2014 15:26:31 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: kern
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vmiller@hostileadmin.com
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-190939-17-7ZzYogyYyA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Jul 2014 15:26:31 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190939

vmiller@hostileadmin.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmiller@hostileadmin.com

--- Comment #3 from vmiller@hostileadmin.com ---
I am also experiencing a similar, seemingly related, problem.  Here is a link
to the message sent to -stable@ which includes dmesg output and screenshots of
the error.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=9921776+0+current/freebsd-stable

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul  1 16:44:46 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0EBBAE87
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 16:44:46 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EAB1E25BE
 for <freebsd-usb@FreeBSD.org>; Tue,  1 Jul 2014 16:44:45 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s61Gij8q063916
 for <freebsd-usb@FreeBSD.org>; Tue, 1 Jul 2014 17:44:45 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Tue, 01 Jul 2014 16:44:46 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: Patch Ready
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-i5i2vacRnh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Jul 2014 16:44:46 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #19 from Vikash Badal <vikashb@where-ever.za.net> ---
(In reply to Hans Petter Selasky from comment #18)
> There are no BIOS settings to select SuperSpeed or HighSpeed USB mode of the
> USB ports?
> 
> --HPS

None.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul  2 02:39:26 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 5ECBC263
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 02:39:26 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2C3812A48
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 02:39:26 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s622dQ8T022507
 for <freebsd-usb@FreeBSD.org>; Wed, 2 Jul 2014 03:39:26 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Wed, 02 Jul 2014 02:39:26 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: kevlo@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-191432-17-eYxnXTTWY4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jul 2014 02:39:26 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

Kevin Lo <kevlo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch Ready                 |In Discussion
                 CC|                            |kevlo@FreeBSD.org

--- Comment #20 from Kevin Lo <kevlo@FreeBSD.org> ---
(In reply to Vikash Badal from comment #0)
> Created attachment 144187 [details]
> core.txt
> 
> hardware:
> Dell M3800
> 
> nic:
> ugen2.4: <AX88179 ASIX Elec. Corp.> at usbus2, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON (248mA)
> 
> 
> Unread portion of the kernel message buffer:
> panic: vm_fault: fault on nofault entry, addr: fffffe02346f0000
> cpuid = 0
> KDB: stack backtrace:
> #0 0xffffffff8092a2d0 at kdb_backtrace+0x60
> #1 0xffffffff808ef825 at panic+0x155
> #2 0xffffffff80b5f8e9 at vm_fault_hold+0x1a89
> #3 0xffffffff80b5de17 at vm_fault+0x77
> #4 0xffffffff80ce455c at trap_pfault+0x19c
> #5 0xffffffff80ce3d80 at trap+0x4a0
> #6 0xffffffff80cca7f2 at calltrap+0x8
> #7 0xffffffff81c1687e at axge_bulk_read_callback+0x19e
> #8 0xffffffff8079684c at usbd_callback_wrapper+0x71c
> #9 0xffffffff80797ac3 at usb_command_wrapper+0x113
> #10 0xffffffff80796a71 at usb_callback_proc+0xc1
> #11 0xffffffff80791b8f at usb_process+0x11f
> #12 0xffffffff808c03da at fork_exit+0x9a
> #13 0xffffffff80ccad2e at fork_trampoline+0xe
> Uptime: 10m38s

I can't reproduce the issue here.  Could you tell me how to reproduce it?
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul  2 04:40:09 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D377EE50
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 04:40:09 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BB38A2470
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 04:40:09 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s624e9T5079734
 for <freebsd-usb@FreeBSD.org>; Wed, 2 Jul 2014 05:40:09 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Wed, 02 Jul 2014 04:40:09 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-NN3yxBeNzA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jul 2014 04:40:09 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #21 from Vikash Badal <vikashb@where-ever.za.net> ---
(In reply to Kevin Lo from comment #20)

> > (480Mbps) pwr=ON (248mA)
> I can't reproduce the issue here.  Could you tell me how to reproduce it?
> Thanks.

I scp-ed a file > 10MB to/from the laptop and that would trigger the panic.
Since i applied the patch, the panic issue is resolved.

The rest of this thread is about usb 3. maybe that should be a separate
issue/bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul  2 05:46:28 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 15964C25
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 05:46:28 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id F151F2980
 for <freebsd-usb@FreeBSD.org>; Wed,  2 Jul 2014 05:46:27 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s625kREX034033
 for <freebsd-usb@FreeBSD.org>; Wed, 2 Jul 2014 06:46:27 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Wed, 02 Jul 2014 05:46:28 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-pmIu9aOiTj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jul 2014 05:46:28 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #22 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

There is a new patch coming to improve the performance @ USB 2.0.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jul  3 10:50:29 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BA0DF6BF
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 10:50:29 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A115C2879
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 10:50:29 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63AoTDK089457
 for <freebsd-usb@FreeBSD.org>; Thu, 3 Jul 2014 11:50:29 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Thu, 03 Jul 2014 10:50:29 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-ZSDBNVsWpm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 10:50:29 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #23 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Thu Jul  3 10:49:47 UTC 2014
New revision: 268209
URL: http://svnweb.freebsd.org/changeset/base/268209

Log:
  - Disable hardware checksumming until it is properly tested.
  - Don't discard frames if the dropped or error flag is set.
  - Don't remove the last 4-bytes of every packet.
  - Add extra range check for data position offset when receiving data.

  MFC after:    1 day
  PR:        191432

Changes:
  head/sys/dev/usb/net/if_axge.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jul  3 16:14:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 11806749
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:14:44 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id ED6A62A0C
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:14:43 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63GEh0L047374
 for <freebsd-usb@FreeBSD.org>; Thu, 3 Jul 2014 17:14:43 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Thu, 03 Jul 2014 16:14:44 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-OOd14D3Mh4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 16:14:44 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #24 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Thu Jul  3 16:13:44 UTC 2014
New revision: 268219
URL: http://svnweb.freebsd.org/changeset/base/268219

Log:
  MFC r267955 and r268209:
  - Add proper rangechecks in "axge_rx_frame()" function and
  fix receive loop header parsing.
  - Disable hardware checksumming until it is properly tested.

  PR:        191432

Changes:
_U  stable/10/
  stable/10/sys/dev/usb/net/if_axge.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jul  3 16:21:40 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2DE14EF4
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:21:40 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 15F512B11
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:21:40 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63GLdAO027129
 for <freebsd-usb@FreeBSD.org>; Thu, 3 Jul 2014 17:21:39 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Thu, 03 Jul 2014 16:21:40 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-YMQohmeQgh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 16:21:40 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #25 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Can you please re-test with the latest changes in 10-stable?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jul  3 16:34:48 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D2AA482F
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:34:48 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id BA65F2C4F
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 16:34:48 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63GYmZT095583
 for <freebsd-usb@FreeBSD.org>; Thu, 3 Jul 2014 17:34:48 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Thu, 03 Jul 2014 16:34:48 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-LvvnD6AZza@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 16:34:48 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #26 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Thu Jul  3 16:34:02 UTC 2014
New revision: 268222
URL: http://svnweb.freebsd.org/changeset/base/268222

Log:
  MFC r266490, r266738, r267955, and r268209:
  - Improve performance by fixing incorrect Rx/Tx handling
  - Rename definition of AXGE_* to reflect reality
  - Add new USB IDs
  - Add proper rangechecks in "axge_rx_frame()" function and
  fix receive loop header parsing.
  - Disable hardware checksumming until it is properly tested.

  PR:    191432

Changes:
_U  stable/9/sys/
_U  stable/9/sys/dev/
  stable/9/sys/dev/usb/net/if_axge.c
  stable/9/sys/dev/usb/net/if_axgereg.h
  stable/9/sys/dev/usb/usbdevs

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Thu Jul  3 17:42:55 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 98AB6BF2
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 17:42:55 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 80D2A22B4
 for <freebsd-usb@FreeBSD.org>; Thu,  3 Jul 2014 17:42:55 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63Hgtru014206
 for <freebsd-usb@FreeBSD.org>; Thu, 3 Jul 2014 18:42:55 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Thu, 03 Jul 2014 17:42:55 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-6u5ixWcrDv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 17:42:55 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #27 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Thu Jul  3 17:42:29 UTC 2014
New revision: 268226
URL: http://svnweb.freebsd.org/changeset/base/268226

Log:
  MFC r268221 and r268222:
  - Remove some unused variables.
  - Add proper rangechecks in "axge_rx_frame()" function and
  fix receive loop header parsing.
  - Add new USB IDs.

  Approved by:     re, gjb @
  PR:        191432

Changes:
_U  releng/9.3/sys/
  releng/9.3/sys/dev/firewire/sbp.c
  releng/9.3/sys/dev/my/if_my.c
  releng/9.3/sys/dev/nfe/if_nfe.c
  releng/9.3/sys/dev/siba/siba_core.c
  releng/9.3/sys/dev/sis/if_sis.c
  releng/9.3/sys/dev/sk/if_sk.c
  releng/9.3/sys/dev/tx/if_tx.c
  releng/9.3/sys/dev/usb/net/if_axge.c
  releng/9.3/sys/dev/usb/net/if_axgereg.h
  releng/9.3/sys/dev/usb/usbdevs

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Fri Jul  4 08:07:09 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8BCB3E48
 for <freebsd-usb@FreeBSD.org>; Fri,  4 Jul 2014 08:07:09 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5AA7C2C70
 for <freebsd-usb@FreeBSD.org>; Fri,  4 Jul 2014 08:07:09 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s648792M031149
 for <freebsd-usb@FreeBSD.org>; Fri, 4 Jul 2014 09:07:09 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 191432] FreeBSD 10.0-STABLE #0 r267746: panic when using ue0
 network
Date: Fri, 04 Jul 2014 08:07:09 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vikashb@where-ever.za.net
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-191432-17-3aK8XYiT8G@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-191432-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Jul 2014 08:07:09 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432

--- Comment #28 from Vikash Badal <vikashb@where-ever.za.net> ---
(In reply to Hans Petter Selasky from comment #25)
> Hi,
> 
> Can you please re-test with the latest changes in 10-stable?
> 
> --HPS

updated to 10.0-STABLE r268239.

No reproduce-able panic.
No improvement in networking speed.

I plugged in another USB 3.0 device. Still only see usb 2 from usbconfig

ugen2.4: <Seagate> at usbus2
umass0: <Seagate Expansion, class 0/0, rev 2.10/1.00, addr 4> on usbus2
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:2:0:-1: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Seagate Expansion 0608> Fixed Direct Access SCSI-6 device 
da0: Serial Number NA42A2SD
da0: 40.000MB/s transfers
da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C)
da0: quirks=0x2<NO_6_BYTE>

usbconfig shows:

ugen2.4: <Expansion Seagate> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
(100mA)


same port positions for both AX8819 and Seagate harddrive on unbuntu 14.0.4
shows up as USB 3 :

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=0bc2 ProdID=2320 Rev=01.00
S:  Manufacturer=Seagate
S:  Product=Expansion
S:  SerialNumber=NA42A2SD
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=144mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=0b95 ProdID=1790 Rev=01.00
S:  Manufacturer=ASIX Elec. Corp.
S:  Product=AX88179
S:  SerialNumber=00503F56011487
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=ax88179_178a


have tried various values for 
hw.usb.xhci.xhci_port_route in /boot/loader.conf.

no difference.


The issue now is usb 3 as opposed to kernel panic.
Should a new PR be logged ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Sat Jul  5 18:29:08 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 930EF987
 for <freebsd-usb@FreeBSD.org>; Sat,  5 Jul 2014 18:29:08 +0000 (UTC)
Received: from smtp17.singnet.com.sg (smtp17.singnet.com.sg [165.21.6.27])
 by mx1.freebsd.org (Postfix) with ESMTP id 19F5920E1
 for <freebsd-usb@FreeBSD.org>; Sat,  5 Jul 2014 18:29:07 +0000 (UTC)
Received: from zaapth.zeepster.org (bb219-74-56-103.singnet.com.sg
 [219.74.56.103])
 by smtp17.singnet.com.sg (8.14.1/8.14.1) with ESMTP id s65ISwCW017427;
 Sun, 6 Jul 2014 02:28:58 +0800
Received: from zaapedy.zeepster.org ([192.168.187.42])
 by zaapth.zeepster.org with esmtpa (Exim 4.82 (FreeBSD))
 (envelope-from <twchan@singnet.com.sg>)
 id 1X3Uhm-0000FL-FG; Sun, 06 Jul 2014 02:28:58 +0800
Message-ID: <53B843EB.3000904@singnet.com.sg>
Date: Sun, 06 Jul 2014 02:28:59 +0800
From: Tur-Wei Chan <twchan@singnet.com.sg>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved)
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
 <53B18D8C.3080401@singnet.com.sg>
In-Reply-To: <53B18D8C.3080401@singnet.com.sg>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-PMX-Version: 5.5.2.363555, Antispam-Engine: 2.6.1.350677,
 Antispam-Data: 2014.7.5.182118
X-PMX-AS: AS-Check
X-PMX-Score: Probability=12%
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Jul 2014 18:29:08 -0000

Hi,

On 1/7/2014 12:17 AM, Tur-Wei Chan wrote:
> Hi,
> On 30/6/2014 1:02 AM, Hans Petter Selasky wrote:
>> On 06/29/14 16:41, Tur-Wei Chan wrote:
>>> Hi,
>>>
>>> Got a Zotac ID91 mini-PC
>>> (http://www.zotac.com/products/mini-pcs/zbox/product/zbox/detail/zbox-id91-1.html) 
>>>
>>> recently and installed FreeBSD (10-STABLE, r267719) on it.
>>>
>>> Hooking up my Mediasonic ProRaid HUR3-SU3S3 to the USB3 ports however
>>> showed the drives up at only USB2.0 speeds:
>>>
>>
>> Hi,
>>
>> What does "pciconf -lv" say?
>>
>> I see you have a Lynx Point USB 3.0. They are a bit troublesome. Have 
>> you played with the port routing mask under hw.usb.xhci ?
>>
>> --HPS
>>
>
> pciconf -lv said (as attached previously):
>
> xhci0@pci0:0:20:0:      class=0x0c0330 card=0xb20619da chip=0x8c318086 
> rev=0x05 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Lynx Point USB xHCI Host Controller'
>     class      = serial bus
>     subclass   = USB
>
>

I got the disks to attach at USB3.0:

Jul  6 02:00:41 z2 kernel: xhci0: <Intel Lynx Point USB 3.0 controller> 
mem 0xf7d00000-0xf7d0ffff irq 16 at
Jul  6 02:00:41 z2 kernel: xhci0: 32 byte context size.
Jul  6 02:00:41 z2 kernel: xhci0: Port routing mask set to 0x00000003
Jul  6 02:00:41 z2 kernel: usbus0 on xhci0
...
Jul  6 02:00:41 z2 kernel: uhub0: <Intel EHCI root HUB, class 9/0, rev 
2.00/1.00, addr 1> on usbus1
Jul  6 02:00:41 z2 kernel: ugen0.1: <0x8086> at usbus0
...
Jul  6 02:02:15 z2 kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
Jul  6 02:02:15 z2 kernel: da0: <JMicron Disk0 0104> Fixed Direct Access 
SCSI-6 device
Jul  6 02:02:15 z2 kernel: da0: Serial Number 00000000000000000000
Jul  6 02:02:15 z2 kernel: da0: 400.000MB/s transfers
Jul  6 02:02:15 z2 kernel: da0: 1907729MB (3907029168 512 byte sectors: 
255H 63S/T 243201C)
Jul  6 02:02:15 z2 kernel: da0: quirks=0x2<NO_6_BYTE>
Jul  6 02:02:15 z2 kernel: da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
Jul  6 02:02:15 z2 kernel: da1: <JMicron Disk1 0104> Fixed Direct Access 
SCSI-6 device
Jul  6 02:02:15 z2 kernel: da1: Serial Number 00000000000000000000
Jul  6 02:02:15 z2 kernel: da1: 400.000MB/s transfers
Jul  6 02:02:15 z2 kernel: da1: 1907729MB (3907029168 512 byte sectors: 
255H 63S/T 243201C)
Jul  6 02:02:15 z2 kernel: da1: quirks=0x2<NO_6_BYTE>

usbconfig list:
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x8008 vendor 0x8087> at usbus1, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.2: <product 0x8000 vendor 0x8087> at usbus2, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON (500mA)
ugen2.3: <USB Receiver Logitech> at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (98mA)
ugen0.2: <JMS56x Series JMicron> at usbus0, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=ON (2mA)

What I did:
a) Set hw.usb.xhci.xhci_port_route="0x3" in /boot/loader.conf
b) Fixed /sys/dev/usb/controller/xhci.c as follows:

     --- dev/usb/controller/xhci.c   (revision 268290)
     +++ dev/usb/controller/xhci.c   (working copy)
     @@ -567,7 +567,7 @@
             if (sc->sc_port_route != NULL) {
                     /* Route all ports to the XHCI by default */
                     sc->sc_port_route(sc->sc_bus.parent,
     -                   ~xhciroute, xhciroute);
     +                   xhciroute, ~xhciroute);
             }
             return (0);
      }

Previously when I set the port route mask to -1, the xhci init would 
fail.  It seems for my H81 board that only ports 1 and 2 are available 
for USB 3.0 [1] so only the value 0x03 for the port route would work for me.


Regards

   -T.W.Chan-

[1] From the document "Intel® 8 Series/C220 Series Chipset Family 
Platform Controller Hub(PCH)"

>
> _______________________________________________
> 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 Jul  6 03:24:00 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 13B40E06
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 03:24:00 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 90F182A09
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 03:23:58 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 2ABD21FE02D;
 Sun,  6 Jul 2014 05:23:50 +0200 (CEST)
Message-ID: <53B8C153.3040603@selasky.org>
Date: Sun, 06 Jul 2014 05:24:03 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Tur-Wei Chan <twchan@singnet.com.sg>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved)
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
 <53B18D8C.3080401@singnet.com.sg> <53B843EB.3000904@singnet.com.sg>
In-Reply-To: <53B843EB.3000904@singnet.com.sg>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jul 2014 03:24:00 -0000

On 07/05/14 20:28, Tur-Wei Chan wrote:
> Hi,
>
> On 1/7/2014 12:17 AM, Tur-Wei Chan wrote:
>> Hi,
>> On 30/6/2014 1:02 AM, Hans Petter Selasky wrote:
>>> On 06/29/14 16:41, Tur-Wei Chan wrote:
>>>> Hi,
>>>>
>>>> Got a Zotac ID91 mini-PC
>>>> (http://www.zotac.com/products/mini-pcs/zbox/product/zbox/detail/zbox-id91-1.html)
>>>>
>>>> recently and installed FreeBSD (10-STABLE, r267719) on it.
>>>>
>>>> Hooking up my Mediasonic ProRaid HUR3-SU3S3 to the USB3 ports however
>>>> showed the drives up at only USB2.0 speeds:
>>>>
>>>
>>> Hi,
>>>
>>> What does "pciconf -lv" say?
>>>
>>> I see you have a Lynx Point USB 3.0. They are a bit troublesome. Have
>>> you played with the port routing mask under hw.usb.xhci ?
>>>
>>> --HPS
>>>
>>
>> pciconf -lv said (as attached previously):
>>
>> xhci0@pci0:0:20:0:      class=0x0c0330 card=0xb20619da chip=0x8c318086
>> rev=0x05 hdr=0x00
>>     vendor     = 'Intel Corporation'
>>     device     = 'Lynx Point USB xHCI Host Controller'
>>     class      = serial bus
>>     subclass   = USB
>>
>>
>
> I got the disks to attach at USB3.0:
>
> Jul  6 02:00:41 z2 kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
> mem 0xf7d00000-0xf7d0ffff irq 16 at
> Jul  6 02:00:41 z2 kernel: xhci0: 32 byte context size.
> Jul  6 02:00:41 z2 kernel: xhci0: Port routing mask set to 0x00000003
> Jul  6 02:00:41 z2 kernel: usbus0 on xhci0
> ...
> Jul  6 02:00:41 z2 kernel: uhub0: <Intel EHCI root HUB, class 9/0, rev
> 2.00/1.00, addr 1> on usbus1
> Jul  6 02:00:41 z2 kernel: ugen0.1: <0x8086> at usbus0
> ...
> Jul  6 02:02:15 z2 kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
> Jul  6 02:02:15 z2 kernel: da0: <JMicron Disk0 0104> Fixed Direct Access
> SCSI-6 device
> Jul  6 02:02:15 z2 kernel: da0: Serial Number 00000000000000000000
> Jul  6 02:02:15 z2 kernel: da0: 400.000MB/s transfers
> Jul  6 02:02:15 z2 kernel: da0: 1907729MB (3907029168 512 byte sectors:
> 255H 63S/T 243201C)
> Jul  6 02:02:15 z2 kernel: da0: quirks=0x2<NO_6_BYTE>
> Jul  6 02:02:15 z2 kernel: da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
> Jul  6 02:02:15 z2 kernel: da1: <JMicron Disk1 0104> Fixed Direct Access
> SCSI-6 device
> Jul  6 02:02:15 z2 kernel: da1: Serial Number 00000000000000000000
> Jul  6 02:02:15 z2 kernel: da1: 400.000MB/s transfers
> Jul  6 02:02:15 z2 kernel: da1: 1907729MB (3907029168 512 byte sectors:
> 255H 63S/T 243201C)
> Jul  6 02:02:15 z2 kernel: da1: quirks=0x2<NO_6_BYTE>
>
> usbconfig list:
> ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=SAVE (0mA)
> ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=SAVE (0mA)
> ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=SAVE (0mA)
> ugen1.2: <product 0x8008 vendor 0x8087> at usbus1, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=SAVE (0mA)
> ugen2.2: <product 0x8000 vendor 0x8087> at usbus2, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=SAVE (0mA)
> ugen1.3: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON (500mA)
> ugen2.3: <USB Receiver Logitech> at usbus2, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (98mA)
> ugen0.2: <JMS56x Series JMicron> at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=ON (2mA)
>
> What I did:
> a) Set hw.usb.xhci.xhci_port_route="0x3" in /boot/loader.conf
> b) Fixed /sys/dev/usb/controller/xhci.c as follows:
>
>      --- dev/usb/controller/xhci.c   (revision 268290)
>      +++ dev/usb/controller/xhci.c   (working copy)
>      @@ -567,7 +567,7 @@
>              if (sc->sc_port_route != NULL) {
>                      /* Route all ports to the XHCI by default */
>                      sc->sc_port_route(sc->sc_bus.parent,
>      -                   ~xhciroute, xhciroute);
>      +                   xhciroute, ~xhciroute);
>              }
>              return (0);
>       }
>

Hi,

Thank you for input. Does:

hw.usb.xhci.xhci_port_route="0xFFFFFFFC"

work for you instead of fixing xhci.c ?

--HPS


> Previously when I set the port route mask to -1, the xhci init would
> fail.  It seems for my H81 board that only ports 1 and 2 are available
> for USB 3.0 [1] so only the value 0x03 for the port route would work for
> me.
>
>
> Regards
>
>    -T.W.Chan-
>
> [1] From the document "Intel® 8 Series/C220 Series Chipset Family
> Platform Controller Hub(PCH)"

Is this information available in the PCI address space?

--HPS


From owner-freebsd-usb@FreeBSD.ORG  Sun Jul  6 03:44:19 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2577E118
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 03:44:19 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D92F02B4F
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 03:44:18 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id AE1131FE02D;
 Sun,  6 Jul 2014 05:44:16 +0200 (CEST)
Message-ID: <53B8C61C.9060103@selasky.org>
Date: Sun, 06 Jul 2014 05:44:28 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Tur-Wei Chan <twchan@singnet.com.sg>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved)
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
 <53B18D8C.3080401@singnet.com.sg> <53B843EB.3000904@singnet.com.sg>
 <53B8C153.3040603@selasky.org>
In-Reply-To: <53B8C153.3040603@selasky.org>
Content-Type: multipart/mixed; boundary="------------080107070004050504070504"
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jul 2014 03:44:19 -0000

This is a multi-part message in MIME format.
--------------080107070004050504070504
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Can you try the attached patch and remove the xhci port routing setting 
from /boot/loader.conf ?

--HPS

--------------080107070004050504070504
Content-Type: text/x-patch;
 name="xhci_lynx_point.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="xhci_lynx_point.diff"

=== ./xhci_pci.c
==================================================================
--- ./xhci_pci.c	(revision 268289)
+++ ./xhci_pci.c	(local)
@@ -157,6 +157,9 @@
 	temp |= set;
 	temp &= ~clear;
 
+	/* Don't set bits which the hardware doesn't support */
+	temp &= pci_read_config(self, PCI_XHCI_INTEL_USB3PRM, 4);
+
 	pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4);
 	pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4);
 
=== ./xhcireg.h
==================================================================
--- ./xhcireg.h	(revision 268289)
+++ ./xhcireg.h	(local)
@@ -35,7 +35,9 @@
 #define	PCI_XHCI_FLADJ		0x61	/* RW frame length adjust */
 
 #define	PCI_XHCI_INTEL_XUSB2PR	0xD0	/* Intel USB2 Port Routing */
+#define	PCI_XHCI_INTEL_USB2PRM	0xD4	/* Intel USB2 Port Routing Mask */
 #define	PCI_XHCI_INTEL_USB3_PSSEN 0xD8	/* Intel USB3 Port SuperSpeed Enable */
+#define	PCI_XHCI_INTEL_USB3PRM	0xDC	/* Intel USB3 Port Routing Mask */
 
 /* XHCI capability registers */
 #define	XHCI_CAPLENGTH		0x00	/* RO capability */

--------------080107070004050504070504--

From owner-freebsd-usb@FreeBSD.ORG  Sun Jul  6 16:20:30 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7A197934
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 16:20:30 +0000 (UTC)
Received: from smtp41.singnet.com.sg (smtp41.singnet.com.sg [165.21.103.142])
 by mx1.freebsd.org (Postfix) with ESMTP id 84D5F2F06
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 16:20:28 +0000 (UTC)
Received: from zaapth.zeepster.org (bb219-74-56-103.singnet.com.sg
 [219.74.56.103])
 by smtp41.singnet.com.sg (8.14.3/8.14.1) with ESMTP id s66GKBHG003581;
 Mon, 7 Jul 2014 00:20:11 +0800
Received: from zaapedy.zeepster.org ([192.168.187.42])
 by zaapth.zeepster.org with esmtpa (Exim 4.82 (FreeBSD))
 (envelope-from <twchan@singnet.com.sg>)
 id 1X3pAv-0001RW-Da; Mon, 07 Jul 2014 00:20:25 +0800
Message-ID: <53B9774A.8050403@singnet.com.sg>
Date: Mon, 07 Jul 2014 00:20:26 +0800
From: Tur-Wei Chan <twchan@singnet.com.sg>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved)
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
 <53B18D8C.3080401@singnet.com.sg> <53B843EB.3000904@singnet.com.sg>
 <53B8C153.3040603@selasky.org> <53B8C61C.9060103@selasky.org>
In-Reply-To: <53B8C61C.9060103@selasky.org>
Content-Type: multipart/mixed; boundary="------------030601000304080000030703"
X-PMX-Version: 5.5.2.363555, Antispam-Engine: 2.6.1.350677,
 Antispam-Data: 2014.7.6.161218
X-PMX-AS: AS-Check
X-PMX-Score: Probability=8%
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jul 2014 16:20:30 -0000

This is a multi-part message in MIME format.
--------------030601000304080000030703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

On 6/7/2014 11:44 AM, Hans Petter Selasky wrote:
> Hi,
>
> Can you try the attached patch and remove the xhci port routing 
> setting from /boot/loader.conf ?
>
> --HPS

I applied the patch and see that it worked as well. /boot/loader.conf 
has the xhci port routing commented out.

xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff 
irq 16 at device 20.0 on pci0
xhci0: 32 byte context size.
xhci0: Port routing mask set to 0x00000003
usbus0 on xhci0
...
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen1.1: <Intel> at usbus1
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086> at usbus0
...
ugen0.2: <JMicron> at usbus0
umass0: <MSC Bulk-Only Transfer> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4001
umass0:2:0:-1: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <JMicron Disk0 0104> Fixed Direct Access SCSI-6 device
da0: Serial Number 00000000000000000000
da0: 400.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
da0: quirks=0x2<NO_6_BYTE>
da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
da1: <JMicron Disk1 0104> Fixed Direct Access SCSI-6 device
da1: Serial Number 00000000000000000000
da1: 400.000MB/s transfers
da1: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
da1: quirks=0x2<NO_6_BYTE>


I also attach my full dmesg for your reference.

Thanks!


Regards

   -T.W.Chan-


--------------030601000304080000030703
Content-Type: text/plain; charset=windows-1252;
 name="dmesg-20140706-04.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dmesg-20140706-04.txt"

Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-STABLE #12 r268286:268290M: Sun Jul  6 16:50:28 SGT 2014
    root@z2:/usr/obj/usr/src/sys/Z2 amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Core(TM) i3-4130T CPU @ 2.90GHz (2893.36-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306c3  Family = 0x6  Model = 0x3c  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 7966138368 (7597 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 67, 1 (4) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
hdac0: <Intel Haswell HDA Controller> mem 0xf7d10000-0xf7d13fff irq 16 at device 3.0 on pci0
xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff irq 16 at device 20.0 on pci0
xhci0: 32 byte context size.
xhci0: Port routing mask set to 0x00000003
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf7d18000-0xf7d183ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0104000-0xf0104fff,0xf0100000-0xf0103fff irq 19 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:01:2e:4e:ca:26
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3
re1: Using 1 MSI-X message
re1: ASPM disabled
re1: Chip rev. 0x2c800000
re1: MAC rev. 0x00100000
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1
rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re1: Ethernet address: 00:01:2e:4e:ca:27
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <network> at device 0.0 (no driver attached)
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf7d17000-0xf7d173ff irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Lynx Point AHCI SATA controller> port 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xf7d16000-0xf7d167ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen1.1: <Intel> at usbus1
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086> at usbus0
uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ses0 at ahciem0 bus 0 scbus1 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <HGST HTS721010A9E630 JB0OA3J0> ATA-8 SATA 3.x device
ada0: Serial Number JR10006PH7DU9E
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
Timecounter "TSC-low" frequency 1446682184 Hz quality 1000
Root mount waiting for: usbus2 usbus1 usbus0
uhub1: 17 ports with 17 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2 usbus1
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on usbus2
uhub3: 4 ports with 4 removable, self powered
uhub4: 6 ports with 6 removable, self powered
ugen1.3: <Generic> at usbus1
ugen2.3: <Logitech> at usbus2
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
kbd2 at ukbd0
Root mount waiting for: usbus1
usb_alloc_device: set address 4 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
ugen1.4: <Unknown> at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device
Trying to mount root from ufs:/dev/ada0p3 [rw]...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus2
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...3 3 3 1 0 0 done
All buffers synced.
Uptime: 55s
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-STABLE #12 r268286:268290M: Sun Jul  6 16:50:28 SGT 2014
    root@z2:/usr/obj/usr/src/sys/Z2 amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Core(TM) i3-4130T CPU @ 2.90GHz (2893.37-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306c3  Family = 0x6  Model = 0x3c  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fdafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 7966138368 (7597 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 67, 1 (4) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
hdac0: <Intel Haswell HDA Controller> mem 0xf7d10000-0xf7d13fff irq 16 at device 3.0 on pci0
xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xf7d00000-0xf7d0ffff irq 16 at device 20.0 on pci0
xhci0: 32 byte context size.
xhci0: Port routing mask set to 0x00000003
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf7d18000-0xf7d183ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0104000-0xf0104fff,0xf0100000-0xf0103fff irq 19 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:01:2e:4e:ca:26
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3
re1: Using 1 MSI-X message
re1: ASPM disabled
re1: Chip rev. 0x2c800000
re1: MAC rev. 0x00100000
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1
rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re1: Ethernet address: 00:01:2e:4e:ca:27
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <network> at device 0.0 (no driver attached)
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf7d17000-0xf7d173ff irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Lynx Point AHCI SATA controller> port 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xf7d16000-0xf7d167ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen1.1: <Intel> at usbus1
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086> at usbus0
uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ses0 at ahciem0 bus 0 scbus1 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <HGST HTS721010A9E630 JB0OA3J0> ATA-8 SATA 3.x device
ada0: Serial Number JR10006PH7DU9E
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC-low" frequency 1446682820 Hz quality 1000
Root mount waiting for: usbus2 usbus1 usbus0
uhub1: 17 ports with 17 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2 usbus1
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on usbus2
uhub3: 4 ports with 4 removable, self powered
uhub4: 6 ports with 6 removable, self powered
ugen1.3: <Generic> at usbus1
Root mount waiting for: usbus2 usbus1
ugen2.3: <Logitech> at usbus2
ukbd0: <Logitech product 0xc52b, class 0/0, rev 2.00/12.01, addr 3> on usbus2
kbd2 at ukbd0
Root mount waiting for: usbus1
usb_alloc_device: set address 4 failed (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_TIMEOUT, ignored)
usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED
ugen1.4: <Unknown> at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device
Trying to mount root from ufs:/dev/ada0p3 [rw]...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ums0: <Logitech product 0xc52b, class 0/0, rev 2.00/12.01, addr 3> on usbus2
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0: <Logitech product 0xc52b, class 0/0, rev 2.00/12.01, addr 3> on usbus2
ugen0.2: <JMicron> at usbus0
umass0: <MSC Bulk-Only Transfer> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4001
umass0:2:0:-1: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <JMicron Disk0 0104> Fixed Direct Access SCSI-6 device 
da0: Serial Number 00000000000000000000
da0: 400.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
da0: quirks=0x2<NO_6_BYTE>
da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
da1: <JMicron Disk1 0104> Fixed Direct Access SCSI-6 device 
da1: Serial Number 00000000000000000000
da1: 400.000MB/s transfers
da1: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
da1: quirks=0x2<NO_6_BYTE>

--------------030601000304080000030703--

From owner-freebsd-usb@FreeBSD.ORG  Sun Jul  6 22:48:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7C6D8676
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 22:48:49 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 640882D11
 for <freebsd-usb@FreeBSD.org>; Sun,  6 Jul 2014 22:48:49 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s66Mmn4F065685
 for <freebsd-usb@FreeBSD.org>; Sun, 6 Jul 2014 23:48:49 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Sun, 06 Jul 2014 22:48:49 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: gavin@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc component assigned_to
Message-ID: <bug-183735-17-kg1BVJR7T2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jul 2014 22:48:49 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

Gavin Atkinson <gavin@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gavin@FreeBSD.org
          Component|misc                        |usb
           Assignee|freebsd-bugs@FreeBSD.org    |freebsd-usb@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Mon Jul  7 05:19:40 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 60BB3887
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Jul 2014 05:19:40 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1E8A329C2
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Jul 2014 05:19:39 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id E136D1FE02D;
 Mon,  7 Jul 2014 07:19:31 +0200 (CEST)
Message-ID: <53BA2DED.2070006@selasky.org>
Date: Mon, 07 Jul 2014 07:19:41 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Tur-Wei Chan <twchan@singnet.com.sg>, freebsd-usb@FreeBSD.org
Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved)
References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org>
 <53B18D8C.3080401@singnet.com.sg> <53B843EB.3000904@singnet.com.sg>
 <53B8C153.3040603@selasky.org> <53B8C61C.9060103@selasky.org>
 <53B9774A.8050403@singnet.com.sg>
In-Reply-To: <53B9774A.8050403@singnet.com.sg>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 05:19:40 -0000

On 07/06/14 18:20, Tur-Wei Chan wrote:
> Hi,
>
> On 6/7/2014 11:44 AM, Hans Petter Selasky wrote:
>> Hi,
>>
>> Can you try the attached patch and remove the xhci port routing
>> setting from /boot/loader.conf ?
>>
>> --HPS
>

Hi,

I see there are still some errors there, but I think they are not 
causing any harm. Thanks for your testing effort!

http://svnweb.freebsd.org/changeset/base/268354

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Mon Jul  7 05:35:23 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F17EFB78
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Jul 2014 05:35:23 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DA1092AFF
 for <freebsd-usb@FreeBSD.org>; Mon,  7 Jul 2014 05:35:23 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s675ZNpm078881
 for <freebsd-usb@FreeBSD.org>; Mon, 7 Jul 2014 06:35:23 +0100 (BST)
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Mon, 07 Jul 2014 05:35:23 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-183735-17-FeoQXg7Tvd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 05:35:24 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hselasky@FreeBSD.org

--- Comment #1 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Your patch looks reasonable. I'll test and commit it next week. If I forget
please remind me. Probably you should check the return value of the USB request
and print a debug message if it fails. I'll fix that.

Thank you!

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul  9 12:07:44 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E9DC9E47
 for <freebsd-usb@FreeBSD.org>; Wed,  9 Jul 2014 12:07:44 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D2D1424EC
 for <freebsd-usb@FreeBSD.org>; Wed,  9 Jul 2014 12:07:44 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s69C7iD5037541
 for <freebsd-usb@FreeBSD.org>; Wed, 9 Jul 2014 12:07:44 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 190939] Panic when trying to boot
 FreeBSD-10.0-STABLE-amd64-20140608-r267232-bootonly.iso via USB-CDRW drive
Date: Wed, 09 Jul 2014 12:07:43 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: kern
X-Bugzilla-Version: 10.0-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: vmiller@hostileadmin.com
X-Bugzilla-Status: Needs Triage
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-190939-17-aofdGrkEbu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-190939-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2014 12:07:45 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190939

--- Comment #4 from Rick <vmiller@hostileadmin.com> ---
Adding the fact that the firmware on the DL360p G8 was upgraded and continues
to experience this issue with the FreeBSD project generated bootonly ISO.

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Sun Jul 13 09:35:26 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7693FC9
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:26 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 5E7C52574
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:26 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6D9ZQ1b094651
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:26 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Sun, 13 Jul 2014 09:35:26 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: In Discussion
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-183735-17-O0EPmyLtQM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2014 09:35:26 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Sun Jul 13 09:35:00 UTC 2014
New revision: 268583
URL: http://svnweb.freebsd.org/changeset/base/268583

Log:
  Turn off blinking device leds at attach.

  MFC after:    3 days
  PR:        183735

Changes:
  head/sys/dev/usb/input/uhid.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Sun Jul 13 09:35:49 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id F2F17FB
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:49 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DABC8257D
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:49 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6D9Znuu098865
 for <freebsd-usb@FreeBSD.org>; Sun, 13 Jul 2014 09:35:49 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Sun, 13 Jul 2014 09:35:50 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Needs MFC
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-183735-17-9yOUwOHYhw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2014 09:35:50 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Needs MFC

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Mon Jul 14 10:28:29 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C9D07F98
 for <freebsd-usb@freebsd.org>; Mon, 14 Jul 2014 10:28:29 +0000 (UTC)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com
 [IPv6:2a00:1450:4010:c03::22c])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 54FA42800
 for <freebsd-usb@freebsd.org>; Mon, 14 Jul 2014 10:28:29 +0000 (UTC)
Received: by mail-la0-f44.google.com with SMTP id e16so1167703lan.17
 for <freebsd-usb@freebsd.org>; Mon, 14 Jul 2014 03:28:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:date:message-id:subject:from:to:cc
 :content-type; bh=rY9hUWDjM0D/t+HUnGo33ooZy4h8N6MlPoq6xjWgr2Q=;
 b=N+WXzon2BrBLClCeZiem9zlwhoTRq7BSb0cGX+Ov+RlLxrTlHhlpj08/+vfQPLbPJf
 dDclxD8N46wIENCj0yzbXLaDe5rVmVtbo/cbsxt2Fnjzlf+ctwlh5ONgrEQXwPpyRmwa
 +WSdJj5Y8ExfuHjOXU5n0tCNYB8W8eZmsLY4FENkDlcw7Ya9IQAe+KBKFOFv5VPfcoZh
 eDIfMHxex8Sdxsq2mw7dBX1seVEDAc5G+AlDSeWZ4iDl+ILbE/yBLUS71zYpyoalCwmV
 iBIeJ6luT3oINynbEvI16ItbSE5r1V6JXq3OZzUbU8MTwIK2Sj30uw9mflH98hFoxtBx
 a1Nw==
MIME-Version: 1.0
X-Received: by 10.112.161.201 with SMTP id xu9mr1605968lbb.59.1405333706977;
 Mon, 14 Jul 2014 03:28:26 -0700 (PDT)
Received: by 10.112.217.4 with HTTP; Mon, 14 Jul 2014 03:28:26 -0700 (PDT)
Reply-To: huanghwh@gmail.com
Date: Mon, 14 Jul 2014 18:28:26 +0800
Message-ID: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN+uww3fA@mail.gmail.com>
Subject: r268604 broken xhci controller in MBP 2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jul 2014 10:28:30 -0000

Hi,
After update to r268604, xhci controller is broken in MBP 2013, USB
keyboard, USB stick and USB mouse are not respond, but power button in
keyboard is working, /var/log/messages show:
#cat /var/log/messages|egrep "10.0-STABLE|xhci"
Jul 14 17:38:29 mbp kernel: FreeBSD 10.0-STABLE #47 r268610M: Mon Jul 14
17:09:08 CST 2014
Jul 14 17:38:29 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
Jul 14 17:38:29 mbp kernel: xhci0: 32 byte context size.
Jul 14 17:38:29 mbp kernel: xhci0: Port routing mask set to 0x0000003f
Jul 14 17:38:29 mbp kernel: usbus0 on xhci0

Revert back to  r268595 fixed this problem, /var/log/messages show:
#cat /var/log/messages|egrep "10.0-STABLE|xhci"
Jul 14 17:45:46 mbp kernel: FreeBSD 10.0-STABLE #48 r268595M: Mon Jul 14
17:31:15 CST 2014
Jul 14 17:45:46 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
Jul 14 17:45:46 mbp kernel: xhci0: 32 byte context size.
Jul 14 17:45:46 mbp kernel: xhci0: Port routing mask set to 0xffffffff
Jul 14 17:45:46 mbp kernel: usbus0 on xhci0

Look like Port routing mask change from 0xffffffff t0 0x0000003f.

I try to set hw.usb.xhci.xhci_port_route="0" or
hw.usb.xhci.xhci_port_route="0xffffffff" in /boot/loader.conf, also not
work in r268604 kernel.

Cheers,
Huang Wen Hui

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul 15 20:06:54 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id BD25EBBC
 for <freebsd-usb@freebsd.org>; Tue, 15 Jul 2014 20:06:54 +0000 (UTC)
Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 790BE2EF0
 for <freebsd-usb@freebsd.org>; Tue, 15 Jul 2014 20:06:53 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 98D1E1FE027;
 Tue, 15 Jul 2014 22:06:45 +0200 (CEST)
Message-ID: <53C589DF.4010008@selasky.org>
Date: Tue, 15 Jul 2014 22:06:55 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com, 
 "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject: Re: r268604 broken xhci controller in MBP 2013
References: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN+uww3fA@mail.gmail.com>
In-Reply-To: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN+uww3fA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2014 20:06:54 -0000

On 07/14/14 12:28, Huang Wen Hui wrote:
> Hi,
> After update to r268604, xhci controller is broken in MBP 2013, USB
> keyboard, USB stick and USB mouse are not respond, but power button in
> keyboard is working, /var/log/messages show:
> #cat /var/log/messages|egrep "10.0-STABLE|xhci"
> Jul 14 17:38:29 mbp kernel: FreeBSD 10.0-STABLE #47 r268610M: Mon Jul 14
> 17:09:08 CST 2014
> Jul 14 17:38:29 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
> mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
> Jul 14 17:38:29 mbp kernel: xhci0: 32 byte context size.
> Jul 14 17:38:29 mbp kernel: xhci0: Port routing mask set to 0x0000003f
> Jul 14 17:38:29 mbp kernel: usbus0 on xhci0
>
> Revert back to  r268595 fixed this problem, /var/log/messages show:
> #cat /var/log/messages|egrep "10.0-STABLE|xhci"
> Jul 14 17:45:46 mbp kernel: FreeBSD 10.0-STABLE #48 r268595M: Mon Jul 14
> 17:31:15 CST 2014
> Jul 14 17:45:46 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
> mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
> Jul 14 17:45:46 mbp kernel: xhci0: 32 byte context size.
> Jul 14 17:45:46 mbp kernel: xhci0: Port routing mask set to 0xffffffff
> Jul 14 17:45:46 mbp kernel: usbus0 on xhci0
>
> Look like Port routing mask change from 0xffffffff t0 0x0000003f.
>
> I try to set hw.usb.xhci.xhci_port_route="0" or
> hw.usb.xhci.xhci_port_route="0xffffffff" in /boot/loader.conf, also not
> work in r268604 kernel.
>
> Cheers,
> Huang Wen Hui
>

Does the attached patch make any difference for you?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Jul 15 23:54:57 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B17C5808
 for <freebsd-usb@freebsd.org>; Tue, 15 Jul 2014 23:54:57 +0000 (UTC)
Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com
 [IPv6:2607:f8b0:4002:c01::22e])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 7436723D9
 for <freebsd-usb@freebsd.org>; Tue, 15 Jul 2014 23:54:57 +0000 (UTC)
Received: by mail-yh0-f46.google.com with SMTP id a41so78595yho.33
 for <freebsd-usb@freebsd.org>; Tue, 15 Jul 2014 16:54:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=rD22jelRJ0o6O6TGnIz2WoCKhj9D73WmZphG5f/u38k=;
 b=0dtB8F7L/TA5gkxVt3o8iU70FvYaZsyhluoUAI/on5Npi9YI28dKlP+r0Vadq2ABDD
 5j3thbiWfQgZ5u7FCRgpZfNmhiXNKzFGR5U1unLhwmb9CnNyYXcR9HTmI677qYZyRI6Y
 0QBaq3L7dsIdBaNMbUCWE7r0UseqX5GmbS8sM0VhW/Z8t6YVYFRJlU/Ki+Ex9a44e9JG
 grDyYvr5DvLSbXyrFHdPSVzjJ6hhEFRON6tLnEbt5Ylb/QSqnpazMqDv0C7QgCz2NSAV
 QkMrt8L7h7Wtx4zM+ljPeX21QXpA5VL59+Nq7Xtf2MnAodV+sa4eVEpDolBJysph9eh8
 Ukdw==
MIME-Version: 1.0
X-Received: by 10.236.144.137 with SMTP id n9mr43380001yhj.37.1405468496518;
 Tue, 15 Jul 2014 16:54:56 -0700 (PDT)
Received: by 10.170.195.5 with HTTP; Tue, 15 Jul 2014 16:54:56 -0700 (PDT)
Reply-To: huanghwh@gmail.com
In-Reply-To: <53C589DF.4010008@selasky.org>
References: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN+uww3fA@mail.gmail.com>
 <53C589DF.4010008@selasky.org>
Date: Wed, 16 Jul 2014 07:54:56 +0800
Message-ID: <CAB8uncZvz+qXYaFjNC4OGiZsd2ig-h003NOZh3jO5OSeSAap7g@mail.gmail.com>
Subject: Re: r268604 broken xhci controller in MBP 2013
From: Huang Wen Hui <huanghwh@gmail.com>
To: Hans Petter Selasky <hps@selasky.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jul 2014 23:54:57 -0000

This patch fixed my problem.

Cheers
Huang Wen Hui


2014-07-16 4:06 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:

> On 07/14/14 12:28, Huang Wen Hui wrote:
>
>> Hi,
>> After update to r268604, xhci controller is broken in MBP 2013, USB
>> keyboard, USB stick and USB mouse are not respond, but power button in
>> keyboard is working, /var/log/messages show:
>> #cat /var/log/messages|egrep "10.0-STABLE|xhci"
>> Jul 14 17:38:29 mbp kernel: FreeBSD 10.0-STABLE #47 r268610M: Mon Jul 14
>> 17:09:08 CST 2014
>> Jul 14 17:38:29 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
>> mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
>> Jul 14 17:38:29 mbp kernel: xhci0: 32 byte context size.
>> Jul 14 17:38:29 mbp kernel: xhci0: Port routing mask set to 0x0000003f
>> Jul 14 17:38:29 mbp kernel: usbus0 on xhci0
>>
>> Revert back to  r268595 fixed this problem, /var/log/messages show:
>> #cat /var/log/messages|egrep "10.0-STABLE|xhci"
>> Jul 14 17:45:46 mbp kernel: FreeBSD 10.0-STABLE #48 r268595M: Mon Jul 14
>> 17:31:15 CST 2014
>> Jul 14 17:45:46 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
>> mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
>> Jul 14 17:45:46 mbp kernel: xhci0: 32 byte context size.
>> Jul 14 17:45:46 mbp kernel: xhci0: Port routing mask set to 0xffffffff
>> Jul 14 17:45:46 mbp kernel: usbus0 on xhci0
>>
>> Look like Port routing mask change from 0xffffffff t0 0x0000003f.
>>
>> I try to set hw.usb.xhci.xhci_port_route="0" or
>> hw.usb.xhci.xhci_port_route="0xffffffff" in /boot/loader.conf, also not
>> work in r268604 kernel.
>>
>> Cheers,
>> Huang Wen Hui
>>
>>
> Does the attached patch make any difference for you?
>
> --HPS
>

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul 16 06:22:42 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2EF42546
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:22:42 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 179AA2201
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:22:42 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6G6MfcI093633
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:22:41 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Wed, 16 Jul 2014 06:22:42 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: Needs MFC
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-183735-17-ZpJadox8gp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2014 06:22:42 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jul 16 06:22:36 UTC 2014
New revision: 268738
URL: http://svnweb.freebsd.org/changeset/base/268738

Log:
  MFC r268583:
  Turn off blinking device leds at attach.

  PR:        183735

Changes:
_U  stable/10/
  stable/10/sys/dev/usb/input/uhid.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul 16 06:24:43 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id AF2CB6D6
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:24:43 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 97AA12218
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:24:43 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6G6OhL5029889
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:24:43 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Wed, 16 Jul 2014 06:24:43 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: Needs MFC
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-183735-17-4uy4GCPJnI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2014 06:24:43 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jul 16 06:23:54 UTC 2014
New revision: 268739
URL: http://svnweb.freebsd.org/changeset/base/268739

Log:
  MFC r268583:
  Turn off blinking device leds at attach.

  PR:        183735

Changes:
_U  stable/9/sys/
_U  stable/9/sys/dev/
  stable/9/sys/dev/usb/input/uhid.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul 16 06:26:45 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 2C79C84B
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:26:45 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 1546B222D
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:26:45 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6G6QisQ072986
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:26:44 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Wed, 16 Jul 2014 06:26:45 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@freebsd.org
X-Bugzilla-Status: Needs MFC
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-183735-17-l37vxVq9VH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2014 06:26:45 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Jul 16 06:25:45 UTC 2014
New revision: 268740
URL: http://svnweb.freebsd.org/changeset/base/268740

Log:
  MFC r268583:
  Turn off blinking device leds at attach.

  PR:        183735

Changes:
_U  stable/8/sys/
_U  stable/8/sys/dev/
_U  stable/8/sys/dev/usb/
  stable/8/sys/dev/usb/input/uhid.c

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul 16 06:27:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 64BF78B6
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:27:20 +0000 (UTC)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4D78C223B
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:27:20 +0000 (UTC)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6G6RK1h085656
 for <freebsd-usb@FreeBSD.org>; Wed, 16 Jul 2014 06:27:20 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-usb@FreeBSD.org
Subject: [Bug 183735] Xbox 360 LEDs won't stop blinking
Date: Wed, 16 Jul 2014 06:27:20 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: usb
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: hselasky@FreeBSD.org
X-Bugzilla-Status: Issue Resolved
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-183735-17-H4pgtDOz30@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
References: <bug-183735-17@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2014 06:27:20 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183735

Hans Petter Selasky <hselasky@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs MFC                   |Issue Resolved
         Resolution|---                         |FIXED

--- Comment #6 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Let me know if anything more needs to be done. Patch should be MFC'ed now.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.

From owner-freebsd-usb@FreeBSD.ORG  Wed Jul 16 06:29:20 2014
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 18909910
 for <freebsd-usb@freebsd.org>; Wed, 16 Jul 2014 06:29:20 +0000 (UTC)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CE8562251
 for <freebsd-usb@freebsd.org>; Wed, 16 Jul 2014 06:29:18 +0000 (UTC)
Received: from laptop015.home.selasky.org
 (cm-176.74.213.204.customer.telag.net [176.74.213.204])
 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 388FA1FE027;
 Wed, 16 Jul 2014 08:29:17 +0200 (CEST)
Message-ID: <53C61BC7.40707@selasky.org>
Date: Wed, 16 Jul 2014 08:29:27 +0200
From: Hans Petter Selasky <hps@selasky.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: huanghwh@gmail.com
Subject: Re: r268604 broken xhci controller in MBP 2013
References: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN+uww3fA@mail.gmail.com>	<53C589DF.4010008@selasky.org>
 <CAB8uncZvz+qXYaFjNC4OGiZsd2ig-h003NOZh3jO5OSeSAap7g@mail.gmail.com>
In-Reply-To: <CAB8uncZvz+qXYaFjNC4OGiZsd2ig-h003NOZh3jO5OSeSAap7g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jul 2014 06:29:20 -0000

On 07/16/14 01:54, Huang Wen Hui wrote:
> This patch fixed my problem.
>
> Cheers
> Huang Wen Hui

Hi,

http://svnweb.freebsd.org/changeset/base/268735

--HPS