From owner-freebsd-usb@FreeBSD.ORG  Sun Apr  3 10:46:36 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 28312106564A
	for <freebsd-usb@freebsd.org>; Sun,  3 Apr 2011 10:46:36 +0000 (UTC)
	(envelope-from avg@freebsd.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 599C48FC12
	for <freebsd-usb@freebsd.org>; Sun,  3 Apr 2011 10:46:34 +0000 (UTC)
Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua
	[212.40.38.100])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA22335
	for <freebsd-usb@freebsd.org>; Sun, 03 Apr 2011 13:46:33 +0300 (EEST)
	(envelope-from avg@freebsd.org)
Received: from localhost.topspin.kiev.ua ([127.0.0.1])
	by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD))
	id 1Q6KpE-000OW6-QZ
	for freebsd-usb@freebsd.org; Sun, 03 Apr 2011 13:46:32 +0300
Message-ID: <4D985007.4080308@freebsd.org>
Date: Sun, 03 Apr 2011 13:46:31 +0300
From: Andriy Gapon <avg@freebsd.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: freebsd-usb@freebsd.org
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=X-VIET-VPS
Content-Transfer-Encoding: 7bit
Subject: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 03 Apr 2011 10:46:36 -0000


Mostly out of curiosity (but not only because of that) I wonder why the
use_generic flag and two probing passes are needed in USB driver probing code.
That is, why the standard approach of using different probing return values
(e.g. BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC, etc) wouldn't work here.

Thanks!
-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  4 02:43:10 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EE0691065672
	for <freebsd-usb@freebsd.org>; Mon,  4 Apr 2011 02:43:09 +0000 (UTC)
	(envelope-from peterjeremy@acm.org)
Received: from fallbackmx10.syd.optusnet.com.au
	(fallbackmx10.syd.optusnet.com.au [211.29.132.251])
	by mx1.freebsd.org (Postfix) with ESMTP id 7D8668FC0A
	for <freebsd-usb@freebsd.org>; Mon,  4 Apr 2011 02:43:09 +0000 (UTC)
Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au
	[211.29.132.198])
	by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id
	p341NfKJ018484
	for <freebsd-usb@freebsd.org>; Mon, 4 Apr 2011 11:23:41 +1000
Received: from server.vk2pj.dyndns.org
	(c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103])
	by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id
	p341Nbx0001519
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <freebsd-usb@freebsd.org>; Mon, 4 Apr 2011 11:23:38 +1000
X-Bogosity: Ham, spamicity=0.000000
Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p341Na1S062762
	for <freebsd-usb@freebsd.org>; Mon, 4 Apr 2011 11:23:36 +1000 (EST)
	(envelope-from peter@server.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p341NZwj062761
	for freebsd-usb@freebsd.org; Mon, 4 Apr 2011 11:23:35 +1000 (EST)
	(envelope-from peter)
Date: Mon, 4 Apr 2011 11:23:35 +1000
From: Peter Jeremy <peterjeremy@acm.org>
To: freebsd-usb@freebsd.org
Message-ID: <20110404012335.GA62606@server.vk2pj.dyndns.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J"
Content-Disposition: inline
X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: panic: blockable sleep lock (sleep mutex) ehci0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 04 Apr 2011 02:43:10 -0000


--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

My work desktop has suddenly suddenly started reporting the above
panic.  I'm running 8.2-stable/amd64  from end of February.  It
was "hung" when I came in this morning and "hung" again soon after
(I was in X on both occasions and so couldn't investigate further
but now suspect it was in DDB).  I've since kept in in VTY mode
and it's paniced twice more as above.  In both cases, the
relevant part of the backtrace is:

#10 0xffffffff8034d8bb in witness_checkorder (lock=3D0xffffff800030af50,=20
    flags=3D9, file=3D0xffffffff805df848 "/usr/src/sys/kern/kern_mutex.c",=
=20
    line=3D147, interlock=3DVariable "interlock" is not available.
) at /usr/src/sys/kern/subr_witness.c:1064
#11 0xffffffff80301622 in _mtx_lock_flags (m=3D0xffffff800030af50, opts=3D0=
,=20
    file=3D0xffffffff805df848 "/usr/src/sys/kern/kern_mutex.c", line=3D147)
    at /usr/src/sys/kern/kern_mutex.c:200
#12 0xffffffff802d3e2c in _cv_wait (cvp=3DVariable "cvp" is not available.
)
    at /usr/src/sys/kern/kern_condvar.c:147
#13 0xffffffff802a34e2 in usb_process (arg=3DVariable "arg" is not availabl=
e.
)
    at /usr/src/sys/dev/usb/usb_process.c:183
#14 0xffffffff802e9d02 in fork_exit (
    callout=3D0xffffffff802a3380 <usb_process>, arg=3D0xffffff800030adb0,=
=20
    frame=3D0xffffff8000123c40) at /usr/src/sys/kern/kern_fork.c:859
#15 0xffffffff804f979e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:565

The latest time, the system was idle other than a ZFS scrub - I was
working on another box.  There were no USB2 peripherals attached
(the keyboard and mouse are USB1.1)

Any suggestions on how to fix this?

Relevant bits of dmesg:
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xff80-0xff9f irq 21=
 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup =3D 0x3000
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xff60-0xff7f irq 22=
 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xff40-0xff5f irq 18=
 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xff20-0xff3f irq 23=
 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa80800-0xffa80bf=
f irq 21 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
=2E..
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
=2E..
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
=2E..
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Root mount waiting for: usbus4
ugen4.2: <NEC Corporation> at usbus4
uhub5: <NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, ad=
dr 2> on usbus4
ugen0.2: <Dell> at usbus0
uhub6: <Dell USB Keyboard Hub> on usbus0
Root mount waiting for: usbus4
uhub5: 4 ports with 4 removable, self powered
Trying to mount root from zfs:zroot
uhub6: 3 ports with 2 removable, bus powered
ugen0.3: <Dell> at usbus0
ukbd0: <Dell USB Keyboard> on usbus0
kbd1 at ukbd0
ugen0.4: <vendor 0x413c> at usbus0
ums0: <vendor 0x413c product 0x3010, class 0/0, rev 2.00/2.30, addr 4> on u=
sbus0
ums0: 3 buttons and [XYZ] coordinates ID=3D0

--=20
Peter Jeremy

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk2ZHZcACgkQ/opHv/APuIe0bQCffr0D0lAhB0rr0HGDd6A9f+gR
/u8AoL+nvEZ3PdWZTGP2Lii84oCu/dAa
=Cvi6
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  4 07:30:28 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 91852106564A
	for <freebsd-usb@freebsd.org>; Mon,  4 Apr 2011 07:30:28 +0000 (UTC)
	(envelope-from peterjeremy@acm.org)
Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au
	[211.29.132.192])
	by mx1.freebsd.org (Postfix) with ESMTP id F074B8FC0A
	for <freebsd-usb@freebsd.org>; Mon,  4 Apr 2011 07:30:27 +0000 (UTC)
Received: from server.vk2pj.dyndns.org
	(c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103])
	by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id
	p347UPGL008169
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <freebsd-usb@freebsd.org>; Mon, 4 Apr 2011 17:30:25 +1000
X-Bogosity: Ham, spamicity=0.000000
Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p347UO9r064911
	for <freebsd-usb@freebsd.org>; Mon, 4 Apr 2011 17:30:24 +1000 (EST)
	(envelope-from peter@server.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p347UOmH064910
	for freebsd-usb@freebsd.org; Mon, 4 Apr 2011 17:30:24 +1000 (EST)
	(envelope-from peter)
Date: Mon, 4 Apr 2011 17:30:24 +1000
From: Peter Jeremy <peterjeremy@acm.org>
To: freebsd-usb@freebsd.org
Message-ID: <20110404073024.GA64841@server.vk2pj.dyndns.org>
References: <20110404012335.GA62606@server.vk2pj.dyndns.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1"
Content-Disposition: inline
In-Reply-To: <20110404012335.GA62606@server.vk2pj.dyndns.org>
X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: panic: blockable sleep lock (sleep mutex) ehci0
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 04 Apr 2011 07:30:28 -0000


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Apr-04 11:23:35 +1000, Peter Jeremy <peterjeremy@acm.org> wrote:
>My work desktop has suddenly suddenly started reporting the above
>panic.  I'm running 8.2-stable/amd64  from end of February.

memtest revealed a very sick DIMM.  Removing it seems to have solved
the problem.  Sorry for the false alarm.

--=20
Peter Jeremy

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk2Zc5AACgkQ/opHv/APuIclcwCgoxrnXXXdY4syfBhrCHW+Uivd
KZIAoJmrLP0NHL8is3G5bxcLN7Oc7FQ9
=O2zo
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--

From owner-freebsd-usb@FreeBSD.ORG  Mon Apr  4 11:07:11 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 67313106564A
	for <freebsd-usb@FreeBSD.org>; Mon,  4 Apr 2011 11:07:11 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 523DA8FC08
	for <freebsd-usb@FreeBSD.org>; Mon,  4 Apr 2011 11:07:11 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p34B7BGu028764
	for <freebsd-usb@FreeBSD.org>; Mon, 4 Apr 2011 11:07:11 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p34B7AMB028762
	for freebsd-usb@FreeBSD.org; Mon, 4 Apr 2011 11:07:10 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 4 Apr 2011 11:07:10 GMT
Message-Id: <201104041107.p34B7AMB028762@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
Cc: 
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 04 Apr 2011 11:07:11 -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/156000   usb        rum(4) Fatal trap 18: integer divide fault while in ke
o usb/155996   usb        NanoBSD not booted as Disk
o usb/155784   usb        Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2
o usb/155663   usb        [usbdevs] [patch] Add support for Supertop Nano 1GB US
o usb/155496   usb        [usb][patch] support BUFFALO WLI-U2-SG54HG wireless
o usb/154753   usb        [usbdevs] [patch] Support for Qualcomm USB modem/stora
o usb/154710   usb        [ugen] Conexant USB Modem is not working in 8.x. In 7.
o usb/154593   usb        [umass] Input/output error writing to external USB dri
o usb/154506   usb        [umass] Copying dir with large files makes FreeBSD loa
o usb/154192   usb        [umass] In Garmin Oregon GPS, only the first umass dev
o i386/153851  usb        [keyboard] keyboard issues on new Intel Mother boards.
o usb/153703   usb        [keyboard] My USB keyboard can not be used in 8-STABLE
o usb/153609   usb        [zyd] [panic] kernel: Fatal trap 12: page fault while 
o usb/153599   usb        [usbdevs] [patch] Feiya Elango USB MicroSD reader sync
o usb/153149   usb        [umass] USB stick quirk regression [regression]
o usb/152075   usb        [usb8] [ehci] [request] Add quirk for CS5536 USB
o usb/150892   usb        [zyd] Whenever network contacted in any shape, way or 
o usb/150401   usb        [umass] [usb8] [patch] Errors from USB drives mixed be
o usb/150189   usb        [run] [usb8] [patch] if_run appears to corrupt IP traf
p usb/149934   usb        [patch] [usb8] Transcend JetFlash V85 poor performance
p usb/149900   usb        [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb
p usb/149764   usb        [u3g] [patch] usbdevs update: Huawei K3765 3G modem
o usb/149528   usb        [zyd] Wireless USB stick not detected - vendor id 0x08
o usb/149283   usb        [uftdi] avrdude unable to talk to Arduino board (via u
o usb/149162   usb        [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1
s usb/148702   usb        [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD-
o usb/148080   usb        usbconfig(8) sometimes does not turn off the device
o usb/147516   usb        [umass] [usb67] kernel unable to deal with Olympus USB
o i386/147475  usb        [install] FreeBSD 8.x does not install on ASUS K8N4-E 
p usb/146871   usb        [usbdevs] [usb8] [patch] provide descriprive string fo
o usb/146840   usb        [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e
o usb/146153   usb        [axe] [usb8] Hosts in network doesn't receive any pack
o 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
o usb/143045   usb        [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d
o usb/142991   usb        [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 
f usb/142989   usb        [usb8] canon eos 50D attaches but detaches after few s
f usb/142957   usb        [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE 
o usb/142719   usb        [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa
o usb/142713   usb        [usb67] [panic] Kernel Panik when connecting an IPhone
f usb/142276   usb        [umass] [usb8] Cache Synchronization Error with Olympu
o usb/142229   usb        [ums] [usb8] [hang] connecting a USB mouse to a Dell P
o usb/141777   usb        [usb8] [usbdevs] [rum] [patch] Support usbdevs / rum(4
f usb/141680   usb        [uath] [usb8] Netgear WG111T not working with uath dri
o usb/141664   usb        [pcm] [usb8] Logitech USB microphone failure [regressi
o usb/141474   usb        [boot] [usb8] FreeBSD 8.0 can not install from USB CDR
o usb/141327   usb        [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM
o usb/141212   usb        [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER
o kern/141011  usb        [usb8] Encrypted root, geli password at boot; enter ke
o usb/140920   usb        [install] [usb8] USB based install fails on 8.0-RELEAS
o usb/140893   usb        [urtw] [usb8] WPA2 not working on rtl8187b
o kern/140849  usb        [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0-
a usb/140810   usb        [uftdi] [usb8] 8.X copy and paste problem / tty overfl
o usb/140477   usb        [umass] [usb8] [patch] allow boot-time attachment of d
o usb/140236   usb        [msdosfs] [usb8] Labels wiped on external Journaled US
o usb/140160   usb        [usb8] [acpi] USB ports are no longer "active" after A
s usb/139990   usb        [panic] [patch] [usb67] Kernel frequently panics after
a usb/139598   usb        [umass] [usb8] CAM reports "xptioctl: put "device pass
o usb/139243   usb        [uhci] [usb67] unplug prolific USB serial -> uhci_abor
a usb/138904   usb        [rum] [panic] [usb67] unpluging USB wifi card panics s
f usb/138882   usb        [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t
o usb/138798   usb        [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv
o usb/138659   usb        [usb8][uftdi] driver broken in RELENG_8/CURRENT
s usb/138570   usb        [usb67] [panic] USB mass device panics current 7.2-STA
o usb/138175   usb        [usb67] [boot] System cannot boot, when USB reader wit
o usb/138124   usb        [snd_uaudio] [usb8] Axed uaudio functionality in the u
o usb/138119   usb        [usb67] [usb8] MultiBay CDROM (probably on USB bus) is
o usb/137872   usb        [usb67] [boot] slow booting on usb flash drive
o usb/137806   usb        [ukbd] [usb67] USB keyboard doesn't work until it's un
o usb/137763   usb        [usb67][ukbd] Logitech wireless keyboard media keys no
o usb/137377   usb        [usb8] request support for Huawei E180
o usb/137341   usb        [usb8][rum] driver if_rum doesn't work at all and thro
f usb/137190   usb        [usb8][patch] inhibit spurious button releases for som
o usb/137189   usb        [usb8][patch] create and use sysctl nodes for HID repo
p usb/137188   usb        [usb8][patch] correctly handle USB report descriptors 
o usb/137129   usb        [ums] [usb8] SteelSeries Ikari USB laser mouse not att
p usb/136761   usb        [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H
o usb/135938   usb        [aue] [usb67] aue driver only passes traffic in promis
o usb/135542   usb        [keyboard] boot loader does not work with a usb keyboa
o usb/135348   usb        [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2
o usb/135206   usb        machine reboots when inserted USB device
f usb/135200   usb        SAMSUNG i740 usb mass: Synchronize cache failed, statu
o usb/135182   usb        UMASS quirk - Olympus FE20 camera
o usb/134950   usb        Lowering DTR for USB-modem via ubsa is not possible
o usb/134299   usb        Kernel Panic plugging in MF626 USB UMTS Stick u3g
o usb/134193   usb        System freeze on usb MP3 player insertion
o usb/134085   usb        [umass] Adding usb quirk for Sony USB flash drive
o usb/133989   usb        [usb8] [ukbd] USB keyboard dead at mountroot> prompt
o usb/133712   usb        [ural] [patch] RE: Fixed an issue with ural(4) that wa
o usb/133390   usb        umass crashes system in 7.1 when Olympus D-540 attache
o usb/133296   usb        [rum] driver not working properly in hostap mode
o usb/132594   usb        USB subsystem causes page fault and crashes
o usb/132080   usb        [patch] [usb] [rum] [panic] Kernel panic after NOMEM c
o usb/132066   usb        [ukbd] Keyboard failure USB keyboard DELL 760
o usb/132036   usb        [panic] page fault when connecting Olympus C740 camera
o usb/131583   usb        [umass] Failure when detaching umass Device
o usb/131576   usb        [aue] ADMtek USB To LAN Converter can't send data
o usb/131521   usb        Registering Belkin UPS to usb_quirks.c
p usb/131123   usb        [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir
o usb/131074   usb        no run-time detection of usb devices plugged into exte
o usb/130736   usb        Page fault unplugging USB stick
o usb/130230   usb        [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El
o usb/130208   usb        Boot process severely hampered by umass0 error
o usb/130122   usb        [usb8] DVD drive detects as 'da' device
f usb/129766   usb        [usb] [panic] plugging in usb modem HUAWEI E226 panics
o usb/129500   usb        [umass] [panic] FreeBSD Crashes when connecting SanDis
o usb/129311   usb        [usb] [panic] Instant crash with an USB card reader
s usb/128990   usb        [usb] u3g does not handle RTS/CTS available on for exa
o usb/128977   usb        [usb67] [patch] uaudio is not full duplex
p usb/128803   usb        [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2
o usb/128485   usb        [umodem] [patch] Nokia N80 modem support
o usb/128425   usb        [umass] Cannot Connect Maxtor Onetouch 4 USB drive
o usb/128418   usb        [panic] [rum] loading if_rum causes panic, looks like 
o usb/127926   usb        [boot] USB Timeout during bootup
s usb/127453   usb        [request] ubsa, uark, ubser, uftdi, and friends should
o usb/127342   usb        [boot] [panic] enabling usb keyboard and mouse support
o usb/127248   usb        [ucom] panic while uplcom devices attach and detach
o usb/127222   usb        [ohci] Regression in 7.0 usb storage generic driver
o usb/126884   usb        [ugen] [patch] Bug in buffer handling in ugen.c
o usb/126848   usb        [usb]: USB Keyboard hangs during Installation
o usb/126740   usb        [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be
o usb/126519   usb        [usb] [panic] panic when plugging in an iphone
o kern/126396  usb        [panic] kernel panic after unplug USB Bluetooth device
o usb/125631   usb        [ums] [panic] kernel panic during bootup while 'Logite
o usb/125510   usb        [panic] repeated plug and unplug of USB mass storage d
o usb/125450   usb        [panic] Removing USB flash card while being accessed c
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
f usb/124604   usb        [ums] Microsoft combo wireless mouse doesn't work
o kern/124130  usb        [usb] gmirror fails to start usb devices that were pre
o usb/123969   usb        [usb] Supermicro H8SMi-2 usb problem: port reset faile
o usb/123714   usb        [usb] [panic] Panic when hald-storage-probe runs with 
o usb/123691   usb        usbd(8): usbd hangs
o usb/123690   usb        [usb] [panic] Panic on USB device insertion when usb l
o usb/123611   usb        [usb] BBB reset failed, STALLED from Imation/Mitsumi U
o usb/122992   usb        [umass] [patch] MotoROKR Z6 Phone not recognised by um
o usb/122936   usb        [ucom] [ubsa] Device does not receive interrupt
o usb/122905   usb        [ubsa] [patch] add Huawei E220 to ubsa
s usb/122819   usb        [usb67] [patch] Patch to provide dynamic additions to 
o usb/122813   usb        [udbp] [request] udbp driver should be removed in favo
o usb/122547   usb        [ehci] USB Printer not being recognized after reboot
o usb/122539   usb        [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci
o usb/122483   usb        [panic] [ulpt] Repeatable panic in 7.0-STABLE
o usb/122119   usb        [umass] umass device causes creation of daX but not da
o usb/121755   usb        [ohci] [patch] Fix panic after ohci/uhub cardbus devic
o usb/121734   usb        [ugen] ugen HP1022 printer device not working since up
o usb/121708   usb        [keyboard] nforce 650i mobo w/ usb keyboard infinite k
o usb/121474   usb        [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard
o usb/121275   usb        [boot] [panic] FreeBSD fails to boot with usb legacy s
f usb/121232   usb        [usb67] [panic] USB CardBus card removal causes reboot
o usb/121169   usb        [umass] Issues with usb mp3 player
o usb/121045   usb        [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS
f usb/120786   usb        [usb] [panic] Kernel panic when forced umount of a det
o usb/120729   usb        [panic] fault while in kernel mode with connecting USB
o usb/120572   usb        [usb67] [umass] [patch] quirk to support ASUS P535 as 
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/119513   usb        [irq] inserting dlink dwl-g630 wireless card results i
o usb/119509   usb        [usb] USB flaky on Dell Optiplex 755
o usb/119481   usb        [hang] FreeBSD not responding after connecting USB-Mas
o usb/119389   usb        [umass] Sony DSC-W1 CBI reset failed, STALLED [regress
o usb/119227   usb        [ubsa] [patch] ubsa buffer is too small; should be tun
o usb/119201   usb        [cam] [patch] Quirks for Olympus FE-210 camera, LG and
o usb/118480   usb        [umass] Timeout in USB mass storage freezes vfs layer 
o usb/118353   usb        [panic] [ppp] repeatable kernel panic during ppp(4) se
o usb/118141   usb        [ucom] usb serial and nokia phones ucomreadcb ucomread
o usb/118140   usb        [ucom] [patch] quick hack for ucom to get it behave wi
o usb/118098   usb        [umass] 6th gen iPod causes problems when disconnectin
o usb/117955   usb        [umass] [panic] inserting minolta dimage a2 crashes OS
o usb/117946   usb        [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE
o usb/117938   usb        [ums] [patch] Adding support for MS WL Natural and MS 
o usb/117911   usb        [ums] [request] Mouse Gembird MUSWC not work
o usb/117893   usb        [umass] Lacie USB DVD writing failing
o usb/117613   usb        [uhci] [irq] uhci interrupt storm & USB leaked memory 
o usb/117598   usb        [snd_uaudio] [patch] Not possible to record with Plant
o usb/117313   usb        [umass] [panic] panic on usb camera insertion
o usb/117200   usb        [ugen] ugen0 prints strange string on attach if detach
o usb/117183   usb        [panic] USB/fusefs -- panic while transferring large a
p usb/116947   usb        [ukbd] [patch] [regression] enable boot protocol on th
p usb/116699   usb        [usb] [usb67] USB HID devices do not initialize at sys
o usb/116561   usb        [umodem] [panic] RELENG_6 umodem panic "trying to slee
o usb/116282   usb        [ulpt] Cannot print on USB HP LJ1018 or LJ1300
o usb/115935   usb        [usbdevs] [patch] kernel counterproductively attaches 
o usb/115933   usb        [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/115400   usb        [ehci] Problem with EHCI on ASUS M2N4-SLI
o usb/115298   usb        [ulpt] [panic] Turning off USB printer panics kernel
o usb/114916   usb        [umass] [patch] USB Maxtor drive (L300RO) requires qui
o kern/114780  usb        [uplcom] [panic] Panics while stress testing the uplco
o usb/114682   usb        [umass] generic USB media-card reader unusable
o usb/114310   usb        [libusb] [patch] [panic] USB hub attachment panics ker
o usb/114068   usb        [usb67] [usb8] [umass] [patch] Problem with connection
o conf/114013  usb        [patch] WITHOUT_USB allow to compil a lot of USB stuff
s usb/113060   usb        [usb67] [ulpt] [patch] Samsung printer not working in 
o usb/110856   usb        [usb67] [ugen] [patch] interrupt in msgs are truncated
o usb/107827   usb        [usb67] [ohci] [panic] ohci_add_done addr not found
o usb/107388   usb        [usb67] [usb8] [new driver] [patch] add utoppy device 
o usb/106041   usb        [usb67] [usb8] [request] FreeBSD does not recognise Mu
o usb/105361   usb        [usb67] [panic] Kernel panic during unmounting mass st
s usb/103917   usb        [usb67] [uhub] USB driver reports "Addr 0 should never
o usb/103418   usb        [usb67] [usb8] [patch] [request] usbhidctl(8) add abil
o usb/103046   usb        [usb67] [ulpt] [patch] ulpt event driven I/O with sele
p usb/101775   usb        [usb67] [libusbhid] [patch] possible error in report d
o usb/101761   usb        [usb67] [patch] [request] usb.h: increase maximal size
o usb/100746   usb        [usb67] [ukbd] system does not boot due to USB keyboar
o usb/99431    usb        [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar
o kern/99200   usb        [usb67] SMP-Kernel crashes reliably when Bluetooth con
o usb/98343    usb        [boot] BBB reset failed errors with Creative Muvo MP3 
o usb/97472    usb        [cam] [patch] add support for Olympus C150,D390
s usb/97286    usb        [mouse] [request] MS Wireless Intellimouse Explorer 2.
o usb/97175    usb        [umass] [hang] USB cardreader hangs system
o usb/96457    usb        [umass] [panic] fatback on umass = reboot
o usb/96381    usb        [cam] [patch] add a quirk table entry for a flash ram 
o usb/96224    usb        [usb] [msdosfs] mount_msdosfs cause page fault in sync
s usb/96120    usb        [ums] [request] USB mouse not always detected
s usb/95636    usb        [umass] [boot] 5 minute delay at boot when using VT620
o usb/95562    usb        [umass] Write Stress in USB Mass drive causes "vinvalb
s usb/95348    usb        [keyboard] USB keyboard unplug causes noise on screen
o usb/95037    usb        [umass] USB disk not recognized on hot-plug.
o usb/94897    usb        [panic] Kernel Panic when cleanly unmounting USB disk
o usb/94717    usb        [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94384    usb        [panic] kernel panic with usb2 hardware
o usb/93872    usb        [cam] [patch] SCSI quirk required for ELTA 8061 OL USB
o usb/93828    usb        [ohci] [panic] ohci causes panic on boot (HP Pavillion
o usb/93389    usb        [umass] [patch] Digital Camera Pentax S60 don't work
o usb/92852    usb        [ums] [patch] Vertical scroll not working properly on 
o usb/92171    usb        [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/92142    usb        [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb 
o usb/92083    usb        [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92052    usb        [ulpt] usbd causes defunct process with busy file-hand
o usb/91906    usb        [ehci] [hang] FreeBSD hangs while booting with USB leg
f usb/91896    usb        camcontrol(8): Serial Number of USB Memory Sticks is n
o usb/91811    usb        [umass] Compact Flash in HP Photosmart 2610 return  " 
o usb/91546    usb        [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91538    usb        [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91283    usb        [boot] [regression] booting very slow with usb devices
o usb/91238    usb        [umass] USB tape unit fails to write a second tape fil
o usb/90700    usb        [umass] [panic] Kernel panic on connect/mount/use umas
o usb/89954    usb        [umass] [panic] USB Disk driver race condition?
s usb/89003    usb        [request] LaCie Firewire drive not properly supported 
o usb/88743    usb        [hang] [regression] USB makes kernel hang at boot (reg
o usb/88408    usb        [axe] axe0 read PHY failed
o usb/87648    usb        [mouse] Logitech USB-optical mouse problem.
f usb/87224    usb        [usb] Cannot mount USB Zip750
o usb/86767    usb        [umass] [patch] bogus "slice starts beyond end of the 
o usb/86298    usb        [mouse] Known good USB mouse won't work with correct s
s usb/85067    usb        [uscanner] Cannot attach ScanJet 4300C to usb device
s usb/84336    usb        [usb] [reboot] instant system reboot when unmounting a
o usb/83977    usb        [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/83863    usb        [ugen] Communication problem between opensc/openct via
o usb/83756    usb        [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83563    usb        [umass] [panic] Page Fault while detaching Mpman Usb d
o usb/83504    usb        [kernel] [patch] SpeedTouch USB stop working on recent
s usb/82569    usb        [umass] [panic] USB mass storage plug/unplug causes sy
o usb/82520    usb        [udbp] [reboot] Reboot when USL101 connected
o usb/82350    usb        [ucom] [panic] null pointer dereference in USB stack
o usb/81621    usb        [ehci] [hang] external hd hangs under load on ehci
o usb/80935    usb        [uvisor] [patch] uvisor.c is not work with CLIE TH55.
o usb/80854    usb        [patch] [request] suggestion for new iface-no-probe me
s usb/80777    usb        [request] usb_rem_task() should wait for callback to c
s usb/80776    usb        [udav] [request] UDAV device driver shouldn't use usb_
o usb/80774    usb        [patch] have "usbd_find_desc" in line with the other "
o usb/80361    usb        [umass] [patch] mounting of Dell usb-stick fails
f usb/80040    usb        [sound] [hang] Use of sound mixer causes system freeze
o usb/79723    usb        [usb] [request] prepare for high speed isochronous tra
o usb/78984    usb        [umass] [patch] Creative MUVO umass failure
f usb/77294    usb        [ucom] [panic] ucom + ulpcom panic
o usb/76732    usb        [ums] Mouse problems with USB KVM Switch
o usb/76653    usb        [umass] [patch] Problem with Asahi Optical usb device 
f usb/76395    usb        [uhci] USB printer does not work, usbdevs says "addr 0
s usb/75928    usb        [umass] [request] Cytronix SmartMedia card (SMC) reade
o usb/75800    usb        [ucom] ucom1: init failed STALLED error in time of syn
f usb/75797    usb        [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h
o usb/75764    usb        [umass] [patch] "umass0: Phase Error" - no device for 
f usb/75705    usb        [umass] [panic] da0 attach / Optio S4 (with backtrace)
f usb/74771    usb        [umass] [hang] mounting write-protected umass device a
s usb/74453    usb        [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL
o usb/74211    usb        [umass] USB flash drive causes CAM status 0x4 on 4.10R
o usb/73307    usb        [panic] Kernel panics on USB disconnect
s usb/72733    usb        [ucom] [request] Kyocera 7135 Palm OS connection probl
o usb/71455    usb        [umass] Slow USB umass performance of 5.3
o usb/71417    usb        [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71416    usb        [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71280    usb        [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71155    usb        [ulpt] misbehaving usb-printer hangs processes, causes
o usb/70523    usb        [umct] [patch] umct sending/receiving wrong characters
o usb/69006    usb        [usbdevs] [patch] Apple Cinema Display hangs USB ports
o usb/68232    usb        [ugen] [patch] ugen(4) isochronous handling correction
o usb/67301    usb        [uftdi] [panic] RTS and system panic
o usb/66547    usb        [ucom] Palm Tungsten T USB does not initialize correct
o usb/63621    usb        [umass] [panic] USB MemoryStick Reader stalls/crashes 
s usb/62257    usb        [umass] [request] card reader UCR-61S2B is only half-s
o usb/59698    usb        [keyboard] [patch] Rework of ukbd HID to AT code trans
s bin/57255    usb        [patch] usbd(8) and multi-function devices
s usb/52026    usb        [usb] [request] umass driver support for InSystem ISD2
s usb/51958    usb        [urio] [patch] update for urio driver
o usb/40948    usb        [umass] [request] USB HP CDW8200 does not work
o usb/30929    usb        [usb] [patch] use usbd to initialize USB ADSL modem

317 problems total.


From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 11:06:27 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D6CCC106566C;
	Tue,  5 Apr 2011 11:06:27 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 8196B8FC16;
	Tue,  5 Apr 2011 11:06:25 +0000 (UTC)
Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua
	[212.40.38.100])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA01951;
	Tue, 05 Apr 2011 14:06:24 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Received: from localhost.topspin.kiev.ua ([127.0.0.1])
	by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD))
	id 1Q745X-0005ul-MF; Tue, 05 Apr 2011 14:06:23 +0300
Message-ID: <4D9AF7AE.9090004@FreeBSD.org>
Date: Tue, 05 Apr 2011 14:06:22 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: freebsd-usb@FreeBSD.org, FreeBSD-Current <freebsd-current@FreeBSD.org>
References: <4D985007.4080308@freebsd.org>
In-Reply-To: <4D985007.4080308@freebsd.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=x-viet-vps
Content-Transfer-Encoding: 7bit
Cc: Hans Petter Selasky <hselasky@FreeBSD.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 11:06:27 -0000

on 03/04/2011 13:46 Andriy Gapon said the following:
> 
> Mostly out of curiosity (but not only because of that) I wonder why the
> use_generic flag and two probing passes are needed in USB driver probing code.
> That is, why the standard approach of using different probing return values
> (e.g. BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC, etc) wouldn't work here.

I couldn't find any historic reason for this, so I am assuming that this is a
kludge to work-around inconsistent return values in various USB "newbus" probe
routines.

Please see here my attempt at cleaning up the basics:
http://people.freebsd.org/~avg/usb-use_generic.diff

Reviews and testing are welcome.

P.S.
A side-effect of this patch is removal of a minor annoyance in a form of the
following message:
Unknown USB device: vendor <> product <> bus <>
The message is produced by devd almost any time anything is connected via USB
thanks to (1) a nomatch USB entry in the default devd.conf; (2) use_generic=0
probing pass in USB.
-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 11:32:57 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0504E1065670;
	Tue,  5 Apr 2011 11:32:57 +0000 (UTC)
	(envelope-from hselasky@freebsd.org)
Received: from swip.net (mailfe08.c2i.net [212.247.154.226])
	by mx1.freebsd.org (Postfix) with ESMTP id 244C78FC0C;
	Tue,  5 Apr 2011 11:32:55 +0000 (UTC)
X-Cloudmark-Score: 0.000000 []
X-Cloudmark-Analysis: v=1.1 cv=6QwXiDozn7Gnsf2tGidwH+ndAwLlGixx7JAIKZICKmI=
	c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8
	a=Vf0mB7oONcDt1KCSLr0A:9 a=wPNLvfGTeEIA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:117
Received: from [188.126.198.129] (account mc467741@c2i.net HELO
	laptop002.hselasky.homeunix.org)
	by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19)
	with ESMTPA id 109799094; Tue, 05 Apr 2011 13:22:52 +0200
Received-SPF: softfail receiver=mailfe08.swip.net; client-ip=188.126.198.129;
	envelope-from=hselasky@freebsd.org
From: Hans Petter Selasky <hselasky@freebsd.org>
To: freebsd-current@freebsd.org
Date: Tue, 5 Apr 2011 13:21:56 +0200
User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; )
References: <4D985007.4080308@freebsd.org> <4D9AF7AE.9090004@FreeBSD.org>
In-Reply-To: <4D9AF7AE.9090004@FreeBSD.org>
X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5
	%V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC(
	:AuzV9:.hESm-x4h240C`9=w
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201104051321.56319.hselasky@freebsd.org>
Cc: freebsd-usb@freebsd.org, Andriy Gapon <avg@freebsd.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 11:32:57 -0000

On Tuesday 05 April 2011 13:06:22 Andriy Gapon wrote:
> on 03/04/2011 13:46 Andriy Gapon said the following:
> > Mostly out of curiosity (but not only because of that) I wonder why the
> > use_generic flag and two probing passes are needed in USB driver probing
> > code. That is, why the standard approach of using different probing
> > return values (e.g. BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC, etc) wouldn't
> > work here.
> 
> I couldn't find any historic reason for this, so I am assuming that this is
> a kludge to work-around inconsistent return values in various USB "newbus"
> probe routines.
> 
> Please see here my attempt at cleaning up the basics:
> http://people.freebsd.org/~avg/usb-use_generic.diff
> 
> Reviews and testing are welcome.
> 
> P.S.
> A side-effect of this patch is removal of a minor annoyance in a form of
> the following message:
> Unknown USB device: vendor <> product <> bus <>
> The message is produced by devd almost any time anything is connected via
> USB thanks to (1) a nomatch USB entry in the default devd.conf; (2)
> use_generic=0 probing pass in USB.

Hi,

In the initial USB stack design drivers are supposed to either report match or 
non-match. The reason for this is that sometimes parameters are passed on from 
the probe to the attach via the USB attach args.

See usbd_lookup_id_by_uaa().

When multiple drivers are probed and match, the information presented by the 
usb_attach_arg's can get messed up with regard to the attaching driver.

It would be better if the newbus could support a probing priority argument!

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 11:48:16 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A8E1C1065673;
	Tue,  5 Apr 2011 11:48:16 +0000 (UTC)
	(envelope-from arundel@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 7EB388FC0A;
	Tue,  5 Apr 2011 11:48:16 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p35BmGwc008594;
	Tue, 5 Apr 2011 11:48:16 GMT
	(envelope-from arundel@freefall.freebsd.org)
Received: (from arundel@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p35BmGPM008590;
	Tue, 5 Apr 2011 11:48:16 GMT (envelope-from arundel)
Date: Tue, 5 Apr 2011 11:48:16 GMT
Message-Id: <201104051148.p35BmGPM008590@freefall.freebsd.org>
To: hsn@netmag.cz, arundel@FreeBSD.org, freebsd-usb@FreeBSD.org
From: arundel@FreeBSD.org
Cc: 
Subject: Re: usb/71455: [umass] Slow USB umass performance of 5.3
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 11:48:16 -0000

Synopsis: [umass] Slow USB umass performance of 5.3

State-Changed-From-To: open->closed
State-Changed-By: arundel
State-Changed-When: Tue Apr 5 11:47:41 UTC 2011
State-Changed-Why: 
Closed per submitter's request.

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

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 11:50:09 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E82B5106566C;
	Tue,  5 Apr 2011 11:50:09 +0000 (UTC)
	(envelope-from arundel@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id BD5078FC14;
	Tue,  5 Apr 2011 11:50:09 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p35Bo9A3008877;
	Tue, 5 Apr 2011 11:50:09 GMT
	(envelope-from arundel@freefall.freebsd.org)
Received: (from arundel@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p35Bo9Zq008873;
	Tue, 5 Apr 2011 11:50:09 GMT (envelope-from arundel)
Date: Tue, 5 Apr 2011 11:50:09 GMT
Message-Id: <201104051150.p35Bo9Zq008873@freefall.freebsd.org>
To: greg@greg.jp, arundel@FreeBSD.org, freebsd-usb@FreeBSD.org
From: arundel@FreeBSD.org
Cc: 
Subject: Re: usb/75797: [sound] [regression] 5.3-STABLE(2005 1/4) detect USB
	headset, But can not found play channel
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 11:50:10 -0000

Synopsis: [sound] [regression] 5.3-STABLE(2005 1/4) detect USB headset, But can not found play channel

State-Changed-From-To: feedback->closed
State-Changed-By: arundel
State-Changed-When: Tue Apr 5 11:48:53 UTC 2011
State-Changed-Why: 
Feedback timeout. Please open up a new PR, if this issue still exists in more
recent (7.x, 8.x, 9.x) FreeBSD versions.

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

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 12:50:46 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B870310656AC;
	Tue,  5 Apr 2011 12:50:46 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 9315A8FC1F;
	Tue,  5 Apr 2011 12:50:45 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA03738;
	Tue, 05 Apr 2011 15:50:43 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Message-ID: <4D9B1023.7020407@FreeBSD.org>
Date: Tue, 05 Apr 2011 15:50:43 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Hans Petter Selasky <hselasky@FreeBSD.org>
References: <4D985007.4080308@freebsd.org> <4D9AF7AE.9090004@FreeBSD.org>
	<201104051321.56319.hselasky@freebsd.org>
In-Reply-To: <201104051321.56319.hselasky@freebsd.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: freebsd-current@FreeBSD.org, freebsd-usb@FreeBSD.org
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 12:50:46 -0000

on 05/04/2011 14:21 Hans Petter Selasky said the following:
> On Tuesday 05 April 2011 13:06:22 Andriy Gapon wrote:
>> on 03/04/2011 13:46 Andriy Gapon said the following:
>>> Mostly out of curiosity (but not only because of that) I wonder why the
>>> use_generic flag and two probing passes are needed in USB driver probing
>>> code. That is, why the standard approach of using different probing
>>> return values (e.g. BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC, etc) wouldn't
>>> work here.
>>
>> I couldn't find any historic reason for this, so I am assuming that this is
>> a kludge to work-around inconsistent return values in various USB "newbus"
>> probe routines.
>>
>> Please see here my attempt at cleaning up the basics:
>> http://people.freebsd.org/~avg/usb-use_generic.diff
>>
>> Reviews and testing are welcome.
>>
>> P.S.
>> A side-effect of this patch is removal of a minor annoyance in a form of
>> the following message:
>> Unknown USB device: vendor <> product <> bus <>
>> The message is produced by devd almost any time anything is connected via
>> USB thanks to (1) a nomatch USB entry in the default devd.conf; (2)
>> use_generic=0 probing pass in USB.
> 
> Hi,
> 
> In the initial USB stack design drivers are supposed to either report match or 
> non-match. The reason for this is that sometimes parameters are passed on from 
> the probe to the attach via the USB attach args.
> 
> See usbd_lookup_id_by_uaa().
> 
> When multiple drivers are probed and match, the information presented by the 
> usb_attach_arg's can get messed up with regard to the attaching driver.
> 
> It would be better if the newbus could support a probing priority argument!

I believe that newbus already supports ordering of children on a bus.

BTW, does USB have to pass anything from probe to attach?
Duplicate lookup is of course not very nice, but duplicate probing pass is not
nice either.

-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 12:56:30 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 88B0F106564A;
	Tue,  5 Apr 2011 12:56:30 +0000 (UTC)
	(envelope-from hselasky@freebsd.org)
Received: from swip.net (mailfe04.c2i.net [212.247.154.98])
	by mx1.freebsd.org (Postfix) with ESMTP id BA1D18FC13;
	Tue,  5 Apr 2011 12:56:29 +0000 (UTC)
X-Cloudmark-Score: 0.000000 []
X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU=
	c=1 sm=1 a=IU0TiZmyZPMA:10 a=N659UExz7-8A:10 a=CL8lFSKtTFcA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:17 a=OCqLyubZUFnFn5f_-YQA:9
	a=pILNOxqGKmIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117
Received: from [188.126.198.129] (account mc467741@c2i.net HELO
	laptop002.hselasky.homeunix.org)
	by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19)
	with ESMTPA id 109559106; Tue, 05 Apr 2011 14:56:28 +0200
Received-SPF: softfail receiver=mailfe04.swip.net; client-ip=188.126.198.129;
	envelope-from=hselasky@freebsd.org
From: Hans Petter Selasky <hselasky@freebsd.org>
To: Andriy Gapon <avg@freebsd.org>
Date: Tue, 5 Apr 2011 14:55:33 +0200
User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; )
References: <201104051321.56319.hselasky@freebsd.org>
	<4D9B1023.7020407@FreeBSD.org>
In-Reply-To: <4D9B1023.7020407@FreeBSD.org>
X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5
	%V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC(
	:AuzV9:.hESm-x4h240C`9=w
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="windows-1252"
Content-Transfer-Encoding: 7bit
Message-Id: <201104051455.33853.hselasky@freebsd.org>
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org>,
	"freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 12:56:30 -0000

On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote:
> 
> I believe that newbus already supports ordering of children on a bus.
> 
> BTW, does USB have to pass anything from probe to attach?

Mostly only the driver info field. To avoid duplicate lookups.

> Duplicate lookup is of course not very nice, but duplicate probing pass is
> not nice either.

This can all be avoided if the bus-drivers are sorted correctly before 
probing!

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Tue Apr  5 16:45:54 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3837C106566B;
	Tue,  5 Apr 2011 16:45:54 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 1A34E8FC13;
	Tue,  5 Apr 2011 16:45:52 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA07789;
	Tue, 05 Apr 2011 19:45:51 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Message-ID: <4D9B473F.8020607@FreeBSD.org>
Date: Tue, 05 Apr 2011 19:45:51 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Hans Petter Selasky <hselasky@FreeBSD.org>
References: <201104051321.56319.hselasky@freebsd.org>
	<4D9B1023.7020407@FreeBSD.org>
	<201104051455.33853.hselasky@freebsd.org>
In-Reply-To: <201104051455.33853.hselasky@freebsd.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org>,
	"freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 05 Apr 2011 16:45:54 -0000

on 05/04/2011 15:55 Hans Petter Selasky said the following:
> On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote:
>>
>> I believe that newbus already supports ordering of children on a bus.
>>
>> BTW, does USB have to pass anything from probe to attach?
> 
> Mostly only the driver info field. To avoid duplicate lookups.
> 
>> Duplicate lookup is of course not very nice, but duplicate probing pass is
>> not nice either.
> 
> This can all be avoided if the bus-drivers are sorted correctly before 
> probing!

Well, I think that that's what probe priorities actually for.
I also think that typically ivars should be set by a bus driver.  So maybe it's
not such a good idea to pass data from probe to attach via ivars in child drivers.
 But I could be mistaken about that.

Practically speaking, you most likely don't have to worry about that for drivers
that return BUS_PROBE_SPECIFIC (=0) from their probe methods.  And there is only a
few "generic" drivers that can be handled on a case by case basis.

-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  6 07:34:45 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4E4701065670;
	Wed,  6 Apr 2011 07:34:45 +0000 (UTC)
	(envelope-from hselasky@freebsd.org)
Received: from swip.net (mailfe05.c2i.net [212.247.154.130])
	by mx1.freebsd.org (Postfix) with ESMTP id 7F1EB8FC24;
	Wed,  6 Apr 2011 07:34:43 +0000 (UTC)
X-Cloudmark-Score: 0.000000 []
X-Cloudmark-Analysis: v=1.1 cv=upTJuTb3ngPPUUVVSPoyO7jwIWz3rzPtkQxI490l6Ks=
	c=1 sm=1 a=IU0TiZmyZPMA:10 a=dBRESv0yCI8A:10 a=8nJEP1OIZ-IA:10
	a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17
	a=6DktU5ojhI3KT9BTFMwA:9 a=wPNLvfGTeEIA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:117
Received: from [188.126.198.129] (account mc467741@c2i.net HELO
	laptop002.hselasky.homeunix.org)
	by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19)
	with ESMTPA id 109209700; Wed, 06 Apr 2011 09:34:42 +0200
Received-SPF: softfail receiver=mailfe05.swip.net; client-ip=188.126.198.129;
	envelope-from=hselasky@freebsd.org
From: Hans Petter Selasky <hselasky@freebsd.org>
To: freebsd-usb@freebsd.org
Date: Wed, 6 Apr 2011 09:33:47 +0200
User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; )
References: <201104051321.56319.hselasky@freebsd.org>
	<201104051455.33853.hselasky@freebsd.org>
	<4D9B473F.8020607@FreeBSD.org>
In-Reply-To: <4D9B473F.8020607@FreeBSD.org>
X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5
	%V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC(
	:AuzV9:.hESm-x4h240C`9=w
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201104060933.47350.hselasky@freebsd.org>
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org>,
	Andriy Gapon <avg@freebsd.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 06 Apr 2011 07:34:45 -0000

On Tuesday 05 April 2011 18:45:51 Andriy Gapon wrote:
> on 05/04/2011 15:55 Hans Petter Selasky said the following:
> > On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote:
> >> I believe that newbus already supports ordering of children on a bus.
> >> 
> >> BTW, does USB have to pass anything from probe to attach?
> > 
> > Mostly only the driver info field. To avoid duplicate lookups.
> > 
> >> Duplicate lookup is of course not very nice, but duplicate probing pass
> >> is not nice either.
> > 
> > This can all be avoided if the bus-drivers are sorted correctly before
> > probing!

Hi,

> 
> Well, I think that that's what probe priorities actually for.
> I also think that typically ivars should be set by a bus driver.  So maybe
> it's not such a good idea to pass data from probe to attach via ivars in
> child drivers. But I could be mistaken about that.
> 

The same device_t is used to do all the probes!

> Practically speaking, you most likely don't have to worry about that for
> drivers that return BUS_PROBE_SPECIFIC (=0) from their probe methods.  And
> there is only a few "generic" drivers that can be handled on a case by
> case basis.

There are more drivers that needs patching! Please scan all of the kernel 
files for usbdi.h and the use_generic flag.

After looking at subr_usb.c I see your solution is fine as long as the PROBE() 
method that it attaches is the last one called before ATTACH(). If this is 
documented in how newbus should function, then please go ahead updating your 
patch to cover all USB drivers using use_generic.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  6 12:48:41 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9D1B5106568B;
	Wed,  6 Apr 2011 12:48:41 +0000 (UTC) (envelope-from jhb@freebsd.org)
Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42])
	by mx1.freebsd.org (Postfix) with ESMTP id 75CF68FC16;
	Wed,  6 Apr 2011 12:48:41 +0000 (UTC)
Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net
	[66.111.2.69])
	by cyrus.watson.org (Postfix) with ESMTPSA id 2994646B38;
	Wed,  6 Apr 2011 08:48:41 -0400 (EDT)
Received: from jhbbsd.localnet (unknown [209.249.190.124])
	by bigwig.baldwin.cx (Postfix) with ESMTPSA id B2A7B8A027;
	Wed,  6 Apr 2011 08:48:40 -0400 (EDT)
From: John Baldwin <jhb@freebsd.org>
To: freebsd-current@freebsd.org
Date: Wed, 6 Apr 2011 08:48:39 -0400
User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; )
References: <201104051321.56319.hselasky@freebsd.org>
	<4D9B473F.8020607@FreeBSD.org>
	<201104060933.47350.hselasky@freebsd.org>
In-Reply-To: <201104060933.47350.hselasky@freebsd.org>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201104060848.40278.jhb@freebsd.org>
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6
	(bigwig.baldwin.cx); Wed, 06 Apr 2011 08:48:40 -0400 (EDT)
Cc: Andriy Gapon <avg@freebsd.org>, Hans Petter Selasky <hselasky@freebsd.org>,
	freebsd-usb@freebsd.org
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 06 Apr 2011 12:48:41 -0000

On Wednesday, April 06, 2011 3:33:47 am Hans Petter Selasky wrote:
> On Tuesday 05 April 2011 18:45:51 Andriy Gapon wrote:
> > on 05/04/2011 15:55 Hans Petter Selasky said the following:
> > > On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote:
> > >> I believe that newbus already supports ordering of children on a bus.
> > >> 
> > >> BTW, does USB have to pass anything from probe to attach?
> > > 
> > > Mostly only the driver info field. To avoid duplicate lookups.
> > > 
> > >> Duplicate lookup is of course not very nice, but duplicate probing pass
> > >> is not nice either.
> > > 
> > > This can all be avoided if the bus-drivers are sorted correctly before
> > > probing!
> 
> Hi,
> 
> > 
> > Well, I think that that's what probe priorities actually for.
> > I also think that typically ivars should be set by a bus driver.  So maybe
> > it's not such a good idea to pass data from probe to attach via ivars in
> > child drivers. But I could be mistaken about that.
> > 
> 
> The same device_t is used to do all the probes!
> 
> > Practically speaking, you most likely don't have to worry about that for
> > drivers that return BUS_PROBE_SPECIFIC (=0) from their probe methods.  And
> > there is only a few "generic" drivers that can be handled on a case by
> > case basis.
> 
> There are more drivers that needs patching! Please scan all of the kernel 
> files for usbdi.h and the use_generic flag.
> 
> After looking at subr_usb.c I see your solution is fine as long as the PROBE() 
> method that it attaches is the last one called before ATTACH(). If this is 
> documented in how newbus should function, then please go ahead updating your 
> patch to cover all USB drivers using use_generic.

Yes.  The device_probe() routine is called for the "best" matching driver
(based on the return values from device_probe()) before device_attach() is
called.  Check device_probe_child() for the gory details including:

		if (pri < 0) {
			/*
			 * A bit bogus. Call the probe method again to make
			 * sure that we have the right description.
			 */
			DEVICE_PROBE(child);
#if 0
			child->flags |= DF_REBID;
#endif
		} else
			child->flags &= ~DF_REBID;
		child->state = DS_ALIVE;

-- 
John Baldwin

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  6 13:21:22 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D30D0106564A;
	Wed,  6 Apr 2011 13:21:22 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 9F3F78FC0A;
	Wed,  6 Apr 2011 13:21:21 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA25399;
	Wed, 06 Apr 2011 16:21:19 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Message-ID: <4D9C68CF.1060101@FreeBSD.org>
Date: Wed, 06 Apr 2011 16:21:19 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Hans Petter Selasky <hselasky@FreeBSD.org>
References: <201104051321.56319.hselasky@freebsd.org>
	<201104051455.33853.hselasky@freebsd.org>
	<4D9B473F.8020607@FreeBSD.org>
	<201104060933.47350.hselasky@freebsd.org>
In-Reply-To: <201104060933.47350.hselasky@freebsd.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org>,
	freebsd-usb@FreeBSD.org
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 06 Apr 2011 13:21:22 -0000

on 06/04/2011 10:33 Hans Petter Selasky said the following:
> After looking at subr_usb.c I see your solution is fine as long as the PROBE() 
> method that it attaches is the last one called before ATTACH(). If this is 
> documented in how newbus should function, then please go ahead updating your 
> patch to cover all USB drivers using use_generic.

Which drivers I have missed?
Thanks!
-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  6 13:29:10 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4A7D61065673;
	Wed,  6 Apr 2011 13:29:10 +0000 (UTC)
	(envelope-from hselasky@freebsd.org)
Received: from swip.net (mailfe02.c2i.net [212.247.154.34])
	by mx1.freebsd.org (Postfix) with ESMTP id 6B2FC8FC0C;
	Wed,  6 Apr 2011 13:29:08 +0000 (UTC)
X-Cloudmark-Score: 0.000000 []
X-Cloudmark-Analysis: v=1.1 cv=oR3+9dOmPeF3nZCt5Gxyvf/bIpfj8bfjGZkkfp/xES8=
	c=1 sm=1 a=IU0TiZmyZPMA:10 a=dBRESv0yCI8A:10 a=8nJEP1OIZ-IA:10
	a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17
	a=PVfhkc0PiHU7cHlbjhEA:9 a=wPNLvfGTeEIA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:117
Received: from [188.126.198.129] (account mc467741@c2i.net HELO
	laptop002.hselasky.homeunix.org)
	by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19)
	with ESMTPA id 110662836; Wed, 06 Apr 2011 15:29:07 +0200
Received-SPF: softfail receiver=mailfe02.swip.net; client-ip=188.126.198.129;
	envelope-from=hselasky@freebsd.org
From: Hans Petter Selasky <hselasky@freebsd.org>
To: freebsd-usb@freebsd.org
Date: Wed, 6 Apr 2011 15:28:13 +0200
User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; )
References: <201104051321.56319.hselasky@freebsd.org>
	<201104060933.47350.hselasky@freebsd.org>
	<4D9C68CF.1060101@FreeBSD.org>
In-Reply-To: <4D9C68CF.1060101@FreeBSD.org>
X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5
	%V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC(
	:AuzV9:.hESm-x4h240C`9=w
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201104061528.13220.hselasky@freebsd.org>
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org>,
	Andriy Gapon <avg@freebsd.org>
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 06 Apr 2011 13:29:10 -0000

On Wednesday 06 April 2011 15:21:19 Andriy Gapon wrote:
> on 06/04/2011 10:33 Hans Petter Selasky said the following:

> 
> Which drivers I have missed?
> Thanks!

Run a kernel test compile including all modules. If that's OK it should be 
fine.

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Wed Apr  6 13:36:43 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 95543106567D;
	Wed,  6 Apr 2011 13:36:43 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 7B6998FC12;
	Wed,  6 Apr 2011 13:36:42 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua
	[212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA25676;
	Wed, 06 Apr 2011 16:36:40 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Message-ID: <4D9C6C67.6090206@FreeBSD.org>
Date: Wed, 06 Apr 2011 16:36:39 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: Hans Petter Selasky <hselasky@FreeBSD.org>
References: <201104051321.56319.hselasky@freebsd.org>
	<201104060933.47350.hselasky@freebsd.org>
	<4D9C68CF.1060101@FreeBSD.org>
	<201104061528.13220.hselasky@freebsd.org>
In-Reply-To: <201104061528.13220.hselasky@freebsd.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org>,
	freebsd-usb@FreeBSD.org
Subject: Re: use_generic and usb probing
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 06 Apr 2011 13:36:43 -0000

on 06/04/2011 16:28 Hans Petter Selasky said the following:
> On Wednesday 06 April 2011 15:21:19 Andriy Gapon wrote:
>> on 06/04/2011 10:33 Hans Petter Selasky said the following:
> 
>>
>> Which drivers I have missed?
>> Thanks!
> 
> Run a kernel test compile including all modules. If that's OK it should be 
> fine.

Yes, that's how I tested it.
I also used 'glimpse' to find all occurrences of use_generic :)

-- 
Andriy Gapon

From owner-freebsd-usb@FreeBSD.ORG  Thu Apr  7 15:10:12 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8EB6B106566B
	for <freebsd-usb@hub.freebsd.org>; Thu,  7 Apr 2011 15:10:12 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 618CE8FC0A
	for <freebsd-usb@hub.freebsd.org>; Thu,  7 Apr 2011 15:10:12 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p37FAB6d070880
	for <freebsd-usb@freefall.freebsd.org>; Thu, 7 Apr 2011 15:10:11 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p37FABSA070879;
	Thu, 7 Apr 2011 15:10:11 GMT (envelope-from gnats)
Date: Thu, 7 Apr 2011 15:10:11 GMT
Message-Id: <201104071510.p37FABSA070879@freefall.freebsd.org>
To: freebsd-usb@FreeBSD.org
From: Dennis Yusupoff <dyr@smartspb.net>
Cc: 
Subject: Re: usb/138798: [boot] [usb8] 8.0-BETA4 can't boot from USB flash
 drive [regression]
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Dennis Yusupoff <dyr@smartspb.net>
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 07 Apr 2011 15:10:12 -0000

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

From: Dennis Yusupoff <dyr@smartspb.net>
To: bug-followup@FreeBSD.org, sweetnavelorange@gmail.com
Cc:  
Subject: Re: usb/138798: [boot] [usb8] 8.0-BETA4 can't boot from USB flash
 drive [regression]
Date: Thu, 07 Apr 2011 18:06:18 +0400

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig57BA9B09F83458916CF9E78C
 Content-Type: multipart/mixed;
  boundary="------------010309040503060400030107"
 
 This is a multi-part message in MIME format.
 --------------010309040503060400030107
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 Bug still exist, now in 8.2-RELEASE amd64.
 
 There was a small hack in maillist, see attach.
 
 So don't you think it's time to close this PR and submit this hack in
 code unless there is better solution?!
 
 --=20
 Network Engineer of
 Smart-Telecom ISP.
 St.Petersburg, Russia.
 
 
 --------------010309040503060400030107
 Content-Type: text/plain;
  name="vfs_mount.c.patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="vfs_mount.c.patch"
 
 LS0tIC91c3Ivc3JjL3N5cy9rZXJuL3Zmc19tb3VudC5jLm9yaWcgIDIwMTAtMDctMDQgMjI6
 NTA6MDAuNjEzNzI2MDc3IC0wNDAwCisrKyAvdXNyL3NyYy9zeXMva2Vybi92ZnNfbW91bnQu
 YyAgIDIwMTAtMDctMDUgMTI6MTE6MDkuOTg2NTYxNjkzIC0wNDAwCkBAIC0xNjUxLDYgKzE2
 NTEsOSBAQAogICAgaW50IGVycm9yLCBpLCBhc2tlZCA9IDA7CiAKICAgIG9wdGlvbnMgPSBO
 VUxMOworCisgICAvKiBOQVNUWSBIQUNLOiB3YWl0IGZvciBVU0Igc3RpY2tzIHRvIGFwcGVh
 ciAqLworICAgcGF1c2UoInVzYmhhY2siLCBoeiAqIDEwKTsKIAogICAgcm9vdF9tb3VudF9w
 cmVwYXJlKCk7
 --------------010309040503060400030107--
 
 --------------enig57BA9B09F83458916CF9E78C
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJNncTaAAoJEBUTaqBS2NB4nRUH/0/PFhXUG/Xmvi1MPQJEK0fu
 kcxI/n56Lr7K7qVkkCaVHTu9+X7/lBWm0ub0biwrsKpiqrEkeZQTManUz600ayci
 Z4lGB22Ncxr2DFgmB5m9TWwcrm0CCdt8+CgDfUWjlrcUPMYn4kVNjEMWEgJA9Y+t
 ud1cUmWYjBNqDkofbGCxuaCXV7PiuyARHB6H6VCOp2eUfgeUn4Dk2nZWD+fp37Yx
 Az0AaxcAK8diMaj3kiUDLwbHusKl2oUUIXwi/cXB+k3wHBORbZ7JMDrGTP9iepkD
 kM8uRjoVeJ28EmBYMWgUdctAPdYDkOHCPs58A+tVaWWGcpm/04n0Wm2qJb8/NaU=
 =w6NY
 -----END PGP SIGNATURE-----
 
 --------------enig57BA9B09F83458916CF9E78C--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr  8 17:42:52 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A69751065676
	for <freebsd-usb@freebsd.org>; Fri,  8 Apr 2011 17:42:52 +0000 (UTC)
	(envelope-from lars@e-new.0x20.net)
Received: from e-new.0x20.net (unknown [IPv6:2001:aa8:ffff:2::fff0:2])
	by mx1.freebsd.org (Postfix) with ESMTP id 400EC8FC20
	for <freebsd-usb@freebsd.org>; Fri,  8 Apr 2011 17:42:51 +0000 (UTC)
Received: from e-new.0x20.net (localhost [127.0.0.1])
	by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id p38HgoAp060277
	for <freebsd-usb@freebsd.org>; Fri, 8 Apr 2011 19:42:50 +0200 (CEST)
	(envelope-from lars@e-new.0x20.net)
Received: (from lars@localhost)
	by e-new.0x20.net (8.14.4/8.14.4/Submit) id p38HgonJ059473
	for freebsd-usb@freebsd.org; Fri, 8 Apr 2011 19:42:50 +0200 (CEST)
	(envelope-from lars)
Date: Fri, 8 Apr 2011 19:42:50 +0200
From: Lars Engels <lars.engels@0x20.net>
To: freebsd-usb@freebsd.org
Message-ID: <20110408174250.GI14379@e-new.0x20.net>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="6UEPj0d4ZbbWkD8I"
Content-Disposition: inline
X-Editor: VIM - Vi IMproved 7.3
X-Operation-System: FreeBSD 8.1-RELEASE
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: USB 3.0 external HDD does not work
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 08 Apr 2011 17:42:52 -0000


--6UEPj0d4ZbbWkD8I
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

I just bought a shiny new external 2.5" USB 3.0 HDD (Samsung Portable 3.0).
However on my notebook with USB 2.0 it does not work. dmesg output after
inserting it:

usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
ugen4.2: <Unknown> at usbus4 (disconnected)
uhub_reattach_port: could not allocate new device
usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED
ugen4.2: <Unknown> at usbus4 (disconnected)
uhub_reattach_port: could not allocate new device


The notebook is running CURRENT (r220370).
I also tried all other USB ports, all don't work.

Lars



P.S: Please CC me, I'm not subscribed to the list.

--6UEPj0d4ZbbWkD8I
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk2fSRoACgkQKc512sD3afgFZQCfbNUWkqpNbs8b2Ok9nf8npG4/
SxsAoJLyEIbmye+aWhZ7N2rj1Picp4y0
=AAnI
-----END PGP SIGNATURE-----

--6UEPj0d4ZbbWkD8I--

From owner-freebsd-usb@FreeBSD.ORG  Fri Apr  8 17:45:19 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 52D521065670
	for <freebsd-usb@freebsd.org>; Fri,  8 Apr 2011 17:45:19 +0000 (UTC)
	(envelope-from hselasky@c2i.net)
Received: from swip.net (mailfe02.c2i.net [212.247.154.34])
	by mx1.freebsd.org (Postfix) with ESMTP id DAEAE8FC1A
	for <freebsd-usb@freebsd.org>; Fri,  8 Apr 2011 17:45:18 +0000 (UTC)
X-Cloudmark-Score: 0.000000 []
X-Cloudmark-Analysis: v=1.1 cv=oR3+9dOmPeF3nZCt5Gxyvf/bIpfj8bfjGZkkfp/xES8=
	c=1 sm=1 a=IU0TiZmyZPMA:10 a=itlGpcIbguAA:10 a=WQU8e4WWZSUA:10
	a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10
	a=i9M/sDlu2rpZ9XS819oYzg==:17 a=yDWi1D3_MYwYUNUb5f0A:9
	a=PUjeQqilurYA:10 a=55XJF5wRpY8nYELf:21 a=I2aWR1ElyMGxjCJ5:21
	a=i9M/sDlu2rpZ9XS819oYzg==:117
Received: from [188.126.198.129] (account mc467741@c2i.net HELO
	laptop002.hselasky.homeunix.org)
	by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19)
	with ESMTPA id 111837309; Fri, 08 Apr 2011 19:45:16 +0200
From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-usb@freebsd.org
Date: Fri, 8 Apr 2011 19:44:18 +0200
User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; )
References: <20110408174250.GI14379@e-new.0x20.net>
In-Reply-To: <20110408174250.GI14379@e-new.0x20.net>
X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5
	%V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC(
	:AuzV9:.hESm-x4h240C`9=w
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <201104081944.18196.hselasky@c2i.net>
Cc: Lars Engels <lars.engels@0x20.net>
Subject: Re: USB 3.0 external HDD does not work
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 08 Apr 2011 17:45:19 -0000

On Friday 08 April 2011 19:42:50 Lars Engels wrote:
> I just bought a shiny new external 2.5" USB 3.0 HDD (Samsung Portable 3.0).
> However on my notebook with USB 2.0 it does not work. dmesg output after
> inserting it:
> 
> usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_STALLED usbd_req_re_enumerate: addr=2, set address failed!
> (USB_ERR_STALLED, ignored) usbd_setup_device_desc: getting device
> descriptor at addr 2 failed, USB_ERR_STALLED usbd_req_re_enumerate:
> addr=2, set address failed! (USB_ERR_STALLED, ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_STALLED ugen4.2: <Unknown> at usbus4 (disconnected)
> uhub_reattach_port: could not allocate new device
> usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_STALLED usbd_req_re_enumerate: addr=2, set address failed!
> (USB_ERR_STALLED, ignored) usbd_setup_device_desc: getting device
> descriptor at addr 2 failed, USB_ERR_STALLED usbd_req_re_enumerate:
> addr=2, set address failed! (USB_ERR_STALLED, ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_STALLED ugen4.2: <Unknown> at usbus4 (disconnected)
> uhub_reattach_port: could not allocate new device
> 
> 
> The notebook is running CURRENT (r220370).
> I also tried all other USB ports, all don't work.

Did you give the drive external power?

--HPS

From owner-freebsd-usb@FreeBSD.ORG  Sat Apr  9 03:11:55 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DD249106564A
	for <freebsd-usb@FreeBSD.org>; Sat,  9 Apr 2011 03:11:55 +0000 (UTC)
	(envelope-from perlcat@windstream.net)
Received: from pacmmta52.windstream.net (pacmmta52.windstream.net
	[162.39.147.111])
	by mx1.freebsd.org (Postfix) with ESMTP id 14A5D8FC08
	for <freebsd-usb@FreeBSD.org>; Sat,  9 Apr 2011 03:11:54 +0000 (UTC)
X-WS-COS: WSOB804
X-Cloudmark-Category: Undefined:Undefined
X-Cloudmark-Analysis: v=1.1 cv=e/a7kgJmdV/vnzYtSh4xy+4e70awxO67NOXbB+Zpwx8=
	c=1 sm=0 a=GkERD3UmGQgA:10 a=hXEbJFA6NZEA:10 a=UT_QgiwtmQIA:10
	a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=4OMSHyTieltsEQNCVvsA:9
	a=96cJGYc2__JCsHKFMdMA:7 a=wPNLvfGTeEIA:10
	a=pCTjt4IVz8ge9q2j7ihhWQ==:117
X-Cloudmark-Score: 0
Authentication-Results: pacmmta52 smtp.user=perlcat; auth=pass (PLAIN)
Received: from [98.19.40.88] ([98.19.40.88:61115] helo=poot.rtfmcomputing.com)
	by pacmmta52 (envelope-from <perlcat@windstream.net>)
	(ecelerity 2.2.2.45 r()) with ESMTPA
	id 37/D9-27167-97ECF9D4; Fri, 08 Apr 2011 23:11:54 -0400
Message-ID: <4D9FCE24.20201@windstream.net>
Date: Fri, 08 Apr 2011 22:10:28 -0500
From: Tyson Boellstorff <perlcat@windstream.net>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
	rv:1.9.2.15) Gecko/20110322 Thunderbird/3.1.9
MIME-Version: 1.0
To: freebsd-usb@FreeBSD.org, freebsd-amd64@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: re: cellular modems and amd64 FreeBSD
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 09 Apr 2011 03:11:55 -0000

A couple weeks ago, I posted about not being able to make my sierra 
wireless cellular modem work on amd64 FreeBSD. It is recognized as a 
CDROM instead of anything that can take an IP.

dmesg info is here: 
http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat

It turns out that I'm on about half of the right track.

I tried booting to an openbsd amd64 4.8 kernel just to see what would 
happen, and it also detects the device as a CDROM. Clearly something is 
changed when the architecture goes to amd64, and I'd be happy to 
investigate if anybody can tell me what to do.

What can I do to troubleshoot this?

From owner-freebsd-usb@FreeBSD.ORG  Sat Apr  9 04:30:16 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2F9731065670;
	Sat,  9 Apr 2011 04:30:16 +0000 (UTC)
	(envelope-from erich@alogreentechnologies.com)
Received: from alogreentechnologies.com (alogreentechnologies.com
	[67.212.226.44])
	by mx1.freebsd.org (Postfix) with ESMTP id E41AC8FC0A;
	Sat,  9 Apr 2011 04:30:15 +0000 (UTC)
Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0)
	by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id
	p393rB3m029364; Fri, 8 Apr 2011 21:53:14 -0600
From: Erich Dollansky <erich@alogreentechnologies.com>
Organization: ALO Green Technologies Pte Ltd
To: freebsd-usb@freebsd.org
Date: Sat, 9 Apr 2011 10:53:22 +0700
User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.5.4; amd64; ; )
References: <4D9FCE24.20201@windstream.net>
In-Reply-To: <4D9FCE24.20201@windstream.net>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201104091053.23024.erich@alogreentechnologies.com>
X-Mailman-Approved-At: Sat, 09 Apr 2011 04:40:27 +0000
Cc: freebsd-amd64@freebsd.org
Subject: Re: cellular modems and amd64 FreeBSD
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 09 Apr 2011 04:30:16 -0000

Hi,

On Saturday 09 April 2011 10:10:28 Tyson Boellstorff wrote:
> 
> dmesg info is here: 
> http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat
> 
can you also do a

usbconfig -u 0 -a 4 dump_device_desc

but replacing the 0 and 4 with the proper values for your system.

I got my Huawei modem working after making the ID known to usbdevs and u3g.c.

Erich

From owner-freebsd-usb@FreeBSD.ORG  Sat Apr  9 06:47:34 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 92E3A106566C;
	Sat,  9 Apr 2011 06:47:34 +0000 (UTC)
	(envelope-from michael@fuckner.net)
Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161])
	by mx1.freebsd.org (Postfix) with ESMTP id 52D488FC17;
	Sat,  9 Apr 2011 06:47:34 +0000 (UTC)
Received: from dedihh.fuckner.net (localhost [127.0.0.1])
	by dedihh.fuckner.net (Postfix) with ESMTP id 552C62606;
	Sat,  9 Apr 2011 08:28:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at fuckner.net
Received: from dedihh.fuckner.net ([127.0.0.1])
	by dedihh.fuckner.net (dedihh.fuckner.net [127.0.0.1]) (amavisd-new,
	port 10024)
	with SMTP id 3in0U5UhNNNQ; Sat,  9 Apr 2011 08:28:26 +0200 (CEST)
Received: by dedihh.fuckner.net (Postfix, from userid 80)
	id 20D0825F5; Sat,  9 Apr 2011 08:28:26 +0200 (CEST)
To: Tyson Boellstorff <perlcat@windstream.net>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Date: Sat, 09 Apr 2011 06:28:26 +0000
From: Michael Fuckner <michael@fuckner.net>
In-Reply-To: <4D9FCE24.20201@windstream.net>
References: <4D9FCE24.20201@windstream.net>
Message-ID: <5064547b820109f85e4c8fd40fec80c2@net>
X-Sender: michael@fuckner.net
User-Agent: Roundcube Webmail/0.4
Cc: freebsd-amd64@freebsd.org, freebsd-usb@FreeBSD.org
Subject: re: cellular modems and amd64 FreeBSD
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 09 Apr 2011 06:47:34 -0000

On Fri, 08 Apr 2011 22:10:28 -0500, Tyson Boellstorff
<perlcat@windstream.net> wrote:
> A couple weeks ago, I posted about not being able to make my sierra
> wireless cellular modem work on amd64 FreeBSD. It is recognized as a
> CDROM instead of anything that can take an IP.
> 
> dmesg info is here:
> http://docs.freebsd.org/cgi/mid.cgi?201103212107.18762.perlcat
> 
> It turns out that I'm on about half of the right track.
> 

Wireless USB devices show as CDROMS, but there are a lot of ugly
possibilities to implement this. Usually it is something like a
SCSI-eject command telling the device to change it's class.
Most devices today are switched by u3g, but there also is a manual way
with usb_modeswitch (http://www.draisberghof.de/usb_modeswitch/) to
understand what is really happening.

My own experiences are written down here (in german, but the commands
should be enough to understand what I am doing):

http://michael.fuckner.net/me/blog/index.php?/archives/471-UMTS-mit-FreeBSD8.html


Regards,
 Michael!

From owner-freebsd-usb@FreeBSD.ORG  Sat Apr  9 20:23:44 2011
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 701F01065677;
	Sat,  9 Apr 2011 20:23:44 +0000 (UTC) (envelope-from avg@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 2B8078FC08;
	Sat,  9 Apr 2011 20:23:44 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39KNiNI047774;
	Sat, 9 Apr 2011 20:23:44 GMT (envelope-from avg@freefall.freebsd.org)
Received: (from avg@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39KNhKm047770;
	Sat, 9 Apr 2011 20:23:43 GMT (envelope-from avg)
Date: Sat, 9 Apr 2011 20:23:43 GMT
Message-Id: <201104092023.p39KNhKm047770@freefall.freebsd.org>
To: avg@icyb.net.ua, avg@FreeBSD.org, freebsd-usb@FreeBSD.org
From: avg@FreeBSD.org
Cc: 
Subject: Re: usb/120572: [usb67] [umass] [patch] quirk to support ASUS P535
	as umass (and inquiry fixup)
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
	<mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?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, 09 Apr 2011 20:23:44 -0000

Synopsis: [usb67] [umass] [patch] quirk to support ASUS P535 as umass (and inquiry fixup)

State-Changed-From-To: open->closed
State-Changed-By: avg
State-Changed-When: Sat Apr 9 20:20:24 UTC 2011
State-Changed-Why: 
This is no longer an issue for me.
New USB has synchronize cache quirks of its own and doesn't
depend on da(4) quirks.
The patch for fabricating inquiry data may still have some
merits beyond this issue, but I am not sure about that.

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