From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 00:20:40 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD3901065671 for ; Sun, 14 Sep 2008 00:20:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3E68FC14 for ; Sun, 14 Sep 2008 00:20:40 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=twss2o89-wcA:10 a=UuSVL50luqwA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=hgqLXoQUxjjZfQ-jIwAA:9 a=xSay3crm8nMsfA0QGaNBNAiuZHoA:4 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 334509341; Sun, 14 Sep 2008 02:20:38 +0200 From: Hans Petter Selasky To: "Olivier SMEDTS" Date: Sun, 14 Sep 2008 02:22:29 +0200 User-Agent: KMail/1.9.7 References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> In-Reply-To: <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140222.30008.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 00:20:40 -0000 On Sunday 14 September 2008, Olivier SMEDTS wrote: > Thanks for the patchs. I've got it working, no problem with my usb > mouse and FAT32 formatted usb flash key. What does: dd if=/dev/da0 of=/dev/null bs=65535 Output for your memory stick? > I had to compile it without -Werror. > It is fixed now. There was a bug there. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 00:44:54 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A798D106566B for ; Sun, 14 Sep 2008 00:44:54 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id D6BFD8FC15 for ; Sun, 14 Sep 2008 00:44:53 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by mu-out-0910.google.com with SMTP id i2so1049034mue.3 for ; Sat, 13 Sep 2008 17:44:52 -0700 (PDT) Received: by 10.180.248.10 with SMTP id v10mr4235363bkh.21.1221353091717; Sat, 13 Sep 2008 17:44:51 -0700 (PDT) Received: by 10.180.207.17 with HTTP; Sat, 13 Sep 2008 17:44:51 -0700 (PDT) Message-ID: <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> Date: Sun, 14 Sep 2008 02:44:51 +0200 From: "Olivier SMEDTS" To: "Hans Petter Selasky" In-Reply-To: <200809140222.30008.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 00:44:54 -0000 2008/9/14 Hans Petter Selasky : > What does: > > dd if=/dev/da0 of=/dev/null bs=65535 > > Output for your memory stick? [2:24] root@q 173 ~# dd if=/dev/da0 of=/dev/null bs=65535 dd: /dev/da0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000040 secs (0 bytes/sec) [2:24] root@q 174 ~# dd if=/dev/da0 of=/dev/null bs=64K 15480+0 records in 15480+0 records out 1014497280 bytes transferred in 106.596679 secs (9517157 bytes/sec) I'm copying files to it (mount -t msdosfs) at a speed of 4MB/s. Is there a way to know which ports handle USB2.0 (EHCI), and devices wattage (like with the usbdevs command) ? Before usb2, I had the following kernel output : usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 The line "companion controllers, 2 ports each: usb0 usb1 usb2" was quite useful. Any way, I'm running GIANT-free now :) Great work ! -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 00:50:28 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 210271065680 for ; Sun, 14 Sep 2008 00:50:28 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id B4A218FC16 for ; Sun, 14 Sep 2008 00:50:27 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by fk-out-0910.google.com with SMTP id k31so1296061fkk.11 for ; Sat, 13 Sep 2008 17:50:26 -0700 (PDT) Received: by 10.180.253.12 with SMTP id a12mr4216028bki.40.1221353425437; Sat, 13 Sep 2008 17:50:25 -0700 (PDT) Received: by 10.180.207.17 with HTTP; Sat, 13 Sep 2008 17:50:25 -0700 (PDT) Message-ID: <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> Date: Sun, 14 Sep 2008 02:50:25 +0200 From: "Olivier SMEDTS" To: "Hans Petter Selasky" In-Reply-To: <200809140222.30008.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 00:50:28 -0000 2008/9/14 Hans Petter Selasky : > What does: > > dd if=/dev/da0 of=/dev/null bs=65535 > > Output for your memory stick? Not related, I did not notice before, the device seems to read the first sectors slower : [2:45] root@q 206 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=10000 100+0 records in 100+0 records out 6553600 bytes transferred in 0.688921 secs (9512847 bytes/sec) [2:46] root@q 207 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=1000 100+0 records in 100+0 records out 6553600 bytes transferred in 0.688662 secs (9516427 bytes/sec) [2:46] root@q 208 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.687537 secs (9531997 bytes/sec) [2:46] root@q 209 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=10 100+0 records in 100+0 records out 6553600 bytes transferred in 0.722788 secs (9067111 bytes/sec) [2:46] root@q 210 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=1 100+0 records in 100+0 records out 6553600 bytes transferred in 0.753043 secs (8702821 bytes/sec) [2:46] root@q 211 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.757550 secs (8651046 bytes/sec) -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 02:48:54 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA9CF1065671; Sun, 14 Sep 2008 02:48:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 321258FC08; Sun, 14 Sep 2008 02:48:53 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=0DHSzo6Uc4gA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=OCGuPPFrAAAA:8 a=UygqU94-AJ72Uq561IEA:9 a=0zWrqIOWMmk_l2yTD3ex2MVxgrgA:4 a=x0uADENsyE8A:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 903016534; Sun, 14 Sep 2008 04:48:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 14 Sep 2008 04:50:43 +0200 User-Agent: KMail/1.9.7 References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140450.43940.hselasky@c2i.net> Cc: freebsd-arm@freebsd.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 02:48:54 -0000 On Saturday 13 September 2008, Torfinn Ingolfsen wrote: > On Sat, 13 Sep 2008 14:22:20 +0200 > > Matthias Apitz wrote: > > Concerning accessing the Openmoko through USB I thought that this is > > possible, at least the Openmoko's Wiki says this: > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD > > Yes, this is possible. When I plug in my Neo FreeRunner into this > FreeeBSD workstation, I get this in /var/log/messages: > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product > 0x5122 bus uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: 2.6.24/s3c2410_udc RNDIS/Ethernet Gadget, class 2/0, rev 2.00/2.12, addr 2> > on uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 > 20:36:15 kg-work2 kernel: cdce0: Ethernet address: 2a:fd:05:61:9b:00 > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant > Hi, I figured it it now: My new USB stack selects configuration index 0 first, which is RNDIS. When I ran: usbconfig -u 2 -a 2 set_config 1 I got: cdce0: on usbus2 cdce0: Ethernet address: 5a:a0:96:da:00:00 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 02:54:53 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DF2B106566C for ; Sun, 14 Sep 2008 02:54:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 9439F8FC1A for ; Sun, 14 Sep 2008 02:54:52 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=twss2o89-wcA:10 a=UuSVL50luqwA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=7GPmbMBVDWicYbqaqPAA:9 a=wKTI2Lm5bI97a7R9g3EA:7 a=bY2-RPVGIUHZqkUS8m2iK69REJcA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1074761194; Sun, 14 Sep 2008 04:54:50 +0200 From: Hans Petter Selasky To: "Olivier SMEDTS" Date: Sun, 14 Sep 2008 04:56:42 +0200 User-Agent: KMail/1.9.7 References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> In-Reply-To: <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140456.43055.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 02:54:53 -0000 On Sunday 14 September 2008, Olivier SMEDTS wrote: > 2008/9/14 Hans Petter Selasky : > > What does: > > > > dd if=/dev/da0 of=/dev/null bs=65535 > > > > Output for your memory stick? > > [2:24] root@q 173 ~# dd if=/dev/da0 of=/dev/null bs=65535 > dd: /dev/da0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000040 secs (0 bytes/sec) > [2:24] root@q 174 ~# dd if=/dev/da0 of=/dev/null bs=64K > 15480+0 records in > 15480+0 records out > 1014497280 bytes transferred in 106.596679 secs (9517157 bytes/sec) > > I'm copying files to it (mount -t msdosfs) at a speed of 4MB/s. > > > Is there a way to know which ports handle USB2.0 (EHCI), and devices > wattage (like with the usbdevs command) ? Before usb2, I had the > following kernel output : Hi, The wattage can be read from the device descriptor. See "bMaxPower" or something like that, which uses 2mA units. I just added a "usbconfig" utility to my SVN repository. The output can probably be better and comments are welcome. The companion printouts are gone :-( --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 04:38:28 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F452106564A for ; Sun, 14 Sep 2008 04:38:28 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 254638FC18 for ; Sun, 14 Sep 2008 04:38:27 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8E4cKqG011989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Sep 2008 14:38:23 +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.2/8.14.2) with ESMTP id m8E4cKbM086949; Sun, 14 Sep 2008 14:38:20 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m8E4cI50086948; Sun, 14 Sep 2008 14:38:18 +1000 (EST) (envelope-from peter) Date: Sun, 14 Sep 2008 14:38:18 +1000 From: Peter Jeremy To: Olivier SMEDTS Message-ID: <20080914043818.GT15376@server.vk2pj.dyndns.org> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CfiwpigK2vfmwpN3" Content-Disposition: inline In-Reply-To: <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 04:38:28 -0000 --CfiwpigK2vfmwpN3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Sep-14 02:50:25 +0200, Olivier SMEDTS wrote: >2008/9/14 Hans Petter Selasky : >> What does: >> >> dd if=3D/dev/da0 of=3D/dev/null bs=3D65535 >> >> Output for your memory stick? I thought you needed to do IO in multiples of the blocksize - which 65535 is unlikely to be. >Not related, I did not notice before, the device seems to read the >first sectors slower : This may be related to the magic wear-levelling algorithm in your stick - the first few sectors are more critical and presumably have more error detection and correction overheads. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --CfiwpigK2vfmwpN3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjMlToACgkQ/opHv/APuIcFBwCeJGJSuJyNeTdRWcTevD5ePSaZ u/4AoKZJiAq0yGdg0slrhd+GYrAh+vOO =/g1O -----END PGP SIGNATURE----- --CfiwpigK2vfmwpN3-- From owner-freebsd-usb@FreeBSD.ORG Sun Sep 14 10:45:24 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 779F41065674 for ; Sun, 14 Sep 2008 10:45:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 18E9D8FC0C for ; Sun, 14 Sep 2008 10:45:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=twss2o89-wcA:10 a=UuSVL50luqwA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=1riOOKapyizFAyf6InEA:9 a=vPU_e0XmUKkcjYDd9Ftv3u51j7YA:4 a=Vce-_cLKp2kA:10 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 903353070; Sun, 14 Sep 2008 12:45:21 +0200 From: Hans Petter Selasky To: Peter Jeremy Date: Sun, 14 Sep 2008 12:47:12 +0200 User-Agent: KMail/1.9.7 References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> <20080914043818.GT15376@server.vk2pj.dyndns.org> In-Reply-To: <20080914043818.GT15376@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809141247.13633.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: new usb2 stack : -current patch with mpsafe tty layer available ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 10:45:24 -0000 On Sunday 14 September 2008, Peter Jeremy wrote: > On 2008-Sep-14 02:50:25 +0200, Olivier SMEDTS wrote: > >2008/9/14 Hans Petter Selasky : > >> What does: > >> > >> dd if=/dev/da0 of=/dev/null bs=65535 > >> > >> Output for your memory stick? Hi Peter, > > I thought you needed to do IO in multiples of the blocksize - which > 65535 is unlikely to be. You are right: Should be 65536, but I think the CAM layer will handle that. Blocksize is typically 512 bytes for USB sticks. > > >Not related, I did not notice before, the device seems to read the > >first sectors slower : > --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Sep 15 15:18:57 2008 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6940106566C for ; Mon, 15 Sep 2008 15:18:57 +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 C54808FC08 for ; Mon, 15 Sep 2008 15:18:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8FFIvCm019069 for ; Mon, 15 Sep 2008 15:18:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8FFIvS1019065 for freebsd-usb@FreeBSD.org; Mon, 15 Sep 2008 15:18:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Sep 2008 15:18:57 GMT Message-Id: <200809151518.m8FFIvS1019065@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 15:18:57 -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/127342 usb cannot enable usb keyboard and mouse support in the bi o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [patch] uscanner does not attach to Epson RX620 printe o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb Kernel panic when forced umount of a dettached USB Har o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb USB 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o 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/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a a 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 o bin/57255 usb usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 277 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Sep 15 20:27:39 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26BC8106564A for ; Mon, 15 Sep 2008 20:27:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id A92BD8FC0C for ; Mon, 15 Sep 2008 20:27:38 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=6I5d2MoRAAAA:8 a=Bk7slgqha-BLT9f5N6YA:9 a=Acbs0XiD0vLjvXcHcXmhI6vK9c4A:4 a=50e4U0PicR4A:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 336589341; Mon, 15 Sep 2008 22:27:36 +0200 From: Hans Petter Selasky To: ticso@cicely.de Date: Mon, 15 Sep 2008 22:29:25 +0200 User-Agent: KMail/1.9.7 References: <200809112044.43749.hselasky@c2i.net> <48CB3D09.4050908@elischer.org> <20080913170845.GT1147@cicely7.cicely.de> In-Reply-To: <20080913170845.GT1147@cicely7.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809152229.28590.hselasky@c2i.net> Cc: Scott Long , current@freebsd.org, fbsd-current@mawer.org, Julian Elischer , freebsd-usb@freebsd.org, volker@vwsoft.com Subject: Re: "legacy" usb stack fixes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 20:27:39 -0000 Hi, Please find a link to my implementation. Panics when unplugging USB Mass Storage Devices is now a thing of the past, I hope. Any comments ? http://perforce.freebsd.org/chv.cgi?CH=149821 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Sep 15 21:32:27 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BCEA1065673; Mon, 15 Sep 2008 21:32:27 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD3C8FC0A; Mon, 15 Sep 2008 21:32:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m8FLW26e078675; Mon, 15 Sep 2008 15:32:03 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48CED452.6020709@samsco.org> Date: Mon, 15 Sep 2008 15:32:02 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Hans Petter Selasky References: <200809112044.43749.hselasky@c2i.net> <48CB3D09.4050908@elischer.org> <20080913170845.GT1147@cicely7.cicely.de> <200809152229.28590.hselasky@c2i.net> In-Reply-To: <200809152229.28590.hselasky@c2i.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: current@freebsd.org, fbsd-current@mawer.org, Julian Elischer , freebsd-usb@freebsd.org, volker@vwsoft.com, ticso@cicely.de Subject: Re: "legacy" usb stack fixes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 21:32:27 -0000 Hans Petter Selasky wrote: > Hi, > > Please find a link to my implementation. Panics when unplugging USB Mass > Storage Devices is now a thing of the past, I hope. Any comments ? > > http://perforce.freebsd.org/chv.cgi?CH=149821 > > --HPS So you're sticking with a SIM per umass target, and adding a global lock? Scott From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 07:35:31 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D39106566C; Tue, 16 Sep 2008 07:35:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 017078FC1C; Tue, 16 Sep 2008 07:35:30 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=6I5d2MoRAAAA:8 a=ORaZzADKHaVeJ42eVcQA:9 a=9sO5otT3i1YC8U0OspMA:7 a=GjG0WebW57JNIsO3tdCtDadf15EA:4 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 336993831; Tue, 16 Sep 2008 09:35:28 +0200 From: Hans Petter Selasky To: Scott Long Date: Tue, 16 Sep 2008 09:37:16 +0200 User-Agent: KMail/1.9.7 References: <200809112044.43749.hselasky@c2i.net> <200809152229.28590.hselasky@c2i.net> <48CED452.6020709@samsco.org> In-Reply-To: <48CED452.6020709@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809160937.17718.hselasky@c2i.net> Cc: current@freebsd.org, fbsd-current@mawer.org, Julian Elischer , freebsd-usb@freebsd.org, volker@vwsoft.com, ticso@cicely.de Subject: Re: "legacy" usb stack fixes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 07:35:31 -0000 On Monday 15 September 2008, Scott Long wrote: > Hans Petter Selasky wrote: > > Hi, > > > > Please find a link to my implementation. Panics when unplugging USB Mass > > Storage Devices is now a thing of the past, I hope. Any comments ? > > > > http://perforce.freebsd.org/chv.cgi?CH=149821 > > > > --HPS > > So you're sticking with a SIM per umass target, and adding a global lock? > Yes, and I don't free the SIM until unloading the "umass" module. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 10:44:04 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFF56106564A for ; Tue, 16 Sep 2008 10:44:04 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 868E48FC15 for ; Tue, 16 Sep 2008 10:44:04 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Sep 2008 12:32:00 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m8GAVxdb017355; Tue, 16 Sep 2008 12:31:59 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 16 Sep 2008 12:31:59 +0200 From: Matthias Apitz To: Torfinn Ingolfsen Message-ID: <20080916103159.GA17166@rebelion.Sisis.de> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 16 Sep 2008 10:32:00.0140 (UTC) FILETIME=[739E2CC0:01C917E7] Cc: freebsd-arm@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 10:44:05 -0000 El día Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn Ingolfsen escribió: > On Sat, 13 Sep 2008 14:22:20 +0200 > Matthias Apitz wrote: > > > Concerning accessing the Openmoko through USB I thought that this is > > possible, at least the Openmoko's Wiki says this: > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD > > Yes, this is possible. When I plug in my Neo FreeRunner into this > FreeeBSD workstation, I get this in /var/log/messages: > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub1 > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 20:36:15 kg-work2 kernel: cdce0: Ethernet address: > 2a:fd:05:61:9b:00 > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant ... To prepare things a bit while still waiting for my Openmoko Gadget, I've pulled out 'dfu-util' from SVN as described in the Openmoko Wiki: http://wiki.openmoko.org/wiki/Dfu-util $ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/ $ cd dfu-util $ ./autogen.sh $ ./configure $ make but it does not compile because of missing header files: main.c:29:22: error: byteswap.h: No such file or directory main.c:30:20: error: endian.h: No such file or directory before digging into the details, is there already a port of 'dfu-util' to FreeBSD? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 11:00:55 2008 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CEC1065674; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 687F68FC18; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m8GAwXSH082281; Tue, 16 Sep 2008 04:58:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 Sep 2008 04:59:15 -0600 (MDT) Message-Id: <20080916.045915.117918889.imp@bsdimp.com> To: guru@unixarea.de From: "M. Warner Losh" In-Reply-To: <20080916103159.GA17166@rebelion.Sisis.de> References: <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> <20080916103159.GA17166@rebelion.Sisis.de> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 11:00:55 -0000 In message: <20080916103159.GA17166@rebelion.Sisis.de> Matthias Apitz writes: : El d=EDa Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn= Ingolfsen escribi=F3: : = : > On Sat, 13 Sep 2008 14:22:20 +0200 : > Matthias Apitz wrote: : > = : > > Concerning accessing the Openmoko through USB I thought that this= is : > > possible, at least the Openmoko's Wiki says this: : > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD : > = : > Yes, this is possible. When I plug in my Neo FreeRunner into this : > FreeeBSD workstation, I get this in /var/log/messages: : > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 pr= oduct 0x5122 bus uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 2= 0:36:15 kg-work2 kernel: cdce0: Ethernet address: : > 2a:fd:05:61:9b:00 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred f= or Giant : = : ... : = : To prepare things a bit while still waiting for my Openmoko Gadget, I= 've : pulled out 'dfu-util' from SVN as described in the Openmoko Wiki: : = : http://wiki.openmoko.org/wiki/Dfu-util : = : $ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/ : $ cd dfu-util : $ ./autogen.sh : $ ./configure : $ make : = : but it does not compile because of missing header files: : = : main.c:29:22: error: byteswap.h: No such file or directory : main.c:30:20: error: endian.h: No such file or directory : = : before digging into the details, is there already a port of 'dfu-util= ' : to FreeBSD? Looks like somebody didn't do their homework right: and are Linuxisms not protected by proper autoconf goo. Warner From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 17:00:07 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB1AA1065683 for ; Tue, 16 Sep 2008 17:00:07 +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 AABB58FC13 for ; Tue, 16 Sep 2008 17:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8GH071o010552 for ; Tue, 16 Sep 2008 17:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8GH07Gr010547; Tue, 16 Sep 2008 17:00:07 GMT (envelope-from gnats) Resent-Date: Tue, 16 Sep 2008 17:00:07 GMT Resent-Message-Id: <200809161700.m8GH07Gr010547@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michiel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 421F6106564A for ; Tue, 16 Sep 2008 16:55:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 338F38FC16 for ; Tue, 16 Sep 2008 16:55:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m8GGtELG070508 for ; Tue, 16 Sep 2008 16:55:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m8GGtEY6070507; Tue, 16 Sep 2008 16:55:14 GMT (envelope-from nobody) Message-Id: <200809161655.m8GGtEY6070507@www.freebsd.org> Date: Tue, 16 Sep 2008 16:55:14 GMT From: Michiel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 17:00:07 -0000 >Number: 127423 >Category: usb >Synopsis: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 17:00:06 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Michiel >Release: 6.3 >Organization: >Environment: Not possible, machine halts during boot >Description: When I try to boot the machine from a USB stick with FreeBSD 6.3 on it, I get a dump and the message BTX halted. Tried both x32 and AMD64 version, both crash. This is the dump (x32 version, haven't written down message of the AMD64 version, could be the same): int=0000000d err=00000000 eff=00030046 eip=00003e9f eax=00000900 ebx=000055aa ecx=00000000 edx=00000180 esi=00000000 edi=00000000 ebp=000003f0 esp=000003d8 cs=f000 ds=9e02 es=1400 fs=0000 gs=0000 ss=9e02 cs:eip=2e 0f 01 16 28 3f 0f 20-c0 0c 01 0f 22 c0 b8 20 00 8e d8 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=02 9e 00 00 5f 36 01 41-00 14 02 9e 36 9e 0f 08 00 00 46 02 80 01 3a 07-10 00 01 00 00 00 00 14 Connected to the Gigabyte GA-MA69VM-S2 mainboard are 2 Western Digital PATA harddisks and 1 Samsung SATA harddisk. Memory is 1 stick of 1 GB DDR2. >How-To-Repeat: Boot machine with FreeBSD on USB stick. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Sep 16 17:20:04 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 793A31065678 for ; Tue, 16 Sep 2008 17:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0488FC18 for ; Tue, 16 Sep 2008 17:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8GHK4Y2012437 for ; Tue, 16 Sep 2008 17:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8GHK4bQ012435; Tue, 16 Sep 2008 17:20:04 GMT (envelope-from gnats) Date: Tue, 16 Sep 2008 17:20:04 GMT Message-Id: <200809161720.m8GHK4bQ012435@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Rink Springer Cc: Subject: Re: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rink Springer List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 17:20:04 -0000 The following reply was made to PR usb/127423; it has been noted by GNATS. From: Rink Springer To: Michiel Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 Date: Tue, 16 Sep 2008 19:15:09 +0200 Hi Michiel, On Tue, Sep 16, 2008 at 04:55:14PM +0000, Michiel wrote: > Boot machine with FreeBSD on USB stick. This is a known issue - it should be fixed in the upcoming 7.1 release. Can you try a recent 7-STABLE to confirm? Thanks, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-usb@FreeBSD.ORG Wed Sep 17 10:01:14 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53D2C1065672 for ; Wed, 17 Sep 2008 10:01:14 +0000 (UTC) (envelope-from yerenkow@uct.ua) Received: from smtp.ukrindex.com (smtp.ukrindex.com [194.88.218.46]) by mx1.freebsd.org (Postfix) with ESMTP id 143BB8FC0C for ; Wed, 17 Sep 2008 10:01:14 +0000 (UTC) (envelope-from yerenkow@uct.ua) Received: from [193.110.100.24] by smtp.ukrindex.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Kftb1-000624-S4 for freebsd-usb@freebsd.org; Wed, 17 Sep 2008 12:45:15 +0300 Message-ID: <48D0CF9F.2080700@uct.ua> Date: Wed, 17 Sep 2008 12:36:31 +0300 From: "A.Y." User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Genius g-pen 4500 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 10:01:14 -0000 I'm using 7-stable; Genius g-pen 4500 is a USB-device, DIGITIZER actually. It's detected as stalled and disabled device; xorg input driver wizardpen compiles succesfully under freebsd; this driver is compatible with device under linux. So i wonder, could I change detection rules of this device, so device wouldn't be stalled and disabled via some conf files, or tweaking usb-source code? Or should I wait for new usb-stack? Thank you. From owner-freebsd-usb@FreeBSD.ORG Thu Sep 18 03:18:47 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C607C1065692; Thu, 18 Sep 2008 03:18:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AE048FC0A; Thu, 18 Sep 2008 03:18:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8I3IlUG046456; Thu, 18 Sep 2008 03:18:47 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8I3Ild5046452; Thu, 18 Sep 2008 03:18:47 GMT (envelope-from linimon) Date: Thu, 18 Sep 2008 03:18:47 GMT Message-Id: <200809180318.m8I3Ild5046452@freefall.freebsd.org> To: nick@anywi.com, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/127453: [request] ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 03:18:47 -0000 Old Synopsis: ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser New Synopsis: [request] ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Thu Sep 18 03:18:03 UTC 2008 State-Changed-Why: Probably going to become irrelevant when the new USB stack comes in. Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Sep 18 03:18:03 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=127453 From owner-freebsd-usb@FreeBSD.ORG Fri Sep 19 15:20:15 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E691065674 for ; Fri, 19 Sep 2008 15:20:15 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0E48FC12 for ; Fri, 19 Sep 2008 15:20:15 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix1-g20.free.fr (Postfix) with ESMTP id 046652AF7F9E for ; Fri, 19 Sep 2008 16:53:30 +0200 (CEST) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id A026B1AB374 for ; Fri, 19 Sep 2008 16:53:22 +0200 (CEST) Received: from q.gid0.org (s.gid0.org [88.163.116.140]) by smtp1-g19.free.fr (Postfix) with ESMTP id 4A4641AB300 for ; Fri, 19 Sep 2008 16:53:22 +0200 (CEST) Received: (from zozo@localhost) by q.gid0.org (8.14.3/8.14.3/Submit) id m8JErMlg077718 for freebsd-usb@freebsd.org; Fri, 19 Sep 2008 16:53:22 +0200 (CEST) (envelope-from zozo) Date: Fri, 19 Sep 2008 16:53:22 +0200 From: Olivier Smedts To: freebsd-usb@freebsd.org Message-ID: <20080919145320.GA2444@q.gid0.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.18 (2008-05-17) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 15:20:15 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Since the suser interface has been removed from HEAD (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) I use the following patch to use the new usb2 stack with latest CURRENT. Of course, PRIV_ROOT is not the right one to use, see include/sys/priv.h. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." --OXfL5xGRrasGEqWY-- From owner-freebsd-usb@FreeBSD.ORG Fri Sep 19 15:34:38 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40593106566B for ; Fri, 19 Sep 2008 15:34:38 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id C9E9E8FC1D for ; Fri, 19 Sep 2008 15:34:37 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id 8E4ED17489 for ; Fri, 19 Sep 2008 17:34:36 +0200 (CEST) Received: from q.gid0.org (s.gid0.org [88.163.116.140]) by smtp6-g19.free.fr (Postfix) with ESMTP id 3157A17E82 for ; Fri, 19 Sep 2008 17:34:31 +0200 (CEST) Received: (from zozo@localhost) by q.gid0.org (8.14.3/8.14.3/Submit) id m8JFYGHI001211 for freebsd-usb@freebsd.org; Fri, 19 Sep 2008 17:34:16 +0200 (CEST) (envelope-from zozo) Date: Fri, 19 Sep 2008 17:34:16 +0200 From: Olivier Smedts To: freebsd-usb@freebsd.org Message-ID: <20080919153415.GA1178@q.gid0.org> References: <20080919145320.GA2444@q.gid0.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080919145320.GA2444@q.gid0.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 15:34:38 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 19, 2008 at 04:53:22PM +0200, Olivier Smedts wrote: > Since the suser interface has been removed from HEAD > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) > I use the following patch to use the new usb2 stack with > latest CURRENT. Of course, PRIV_ROOT is not the right one to use, > see include/sys/priv.h. Attachment seems to have been removed. Retrying with a different content-type and disposition (mutt is so great). -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier at gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline; filename=diff Content-Transfer-Encoding: 8bit Index: i4b/src/sys/dev/usb2/core/usb2_dev.c =================================================================== --- i4b/src/sys/dev/usb2/core/usb2_dev.c (révision 880) +++ i4b/src/sys/dev/usb2/core/usb2_dev.c (copie de travail) @@ -262,7 +262,7 @@ int error; /* only super-user can set permissions */ - error = suser(curthread); + error = priv_check(curthread, PRIV_ROOT); if (error) { return (error); } Index: i4b/src/sys/dev/usb2/core/usb2_generic.c =================================================================== --- i4b/src/sys/dev/usb2/core/usb2_generic.c (révision 880) +++ i4b/src/sys/dev/usb2/core/usb2_generic.c (copie de travail) @@ -878,7 +878,7 @@ (req->bRequest == UR_SET_CONFIG)) || ((req->bmRequestType == UT_WRITE_INTERFACE) && (req->bRequest == UR_SET_INTERFACE))) { - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } } @@ -887,7 +887,7 @@ * not update the data toggle value in "struct usb2_pipe" ! */ if (req->bmRequestType == UT_WRITE_ENDPOINT) { - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } } @@ -946,7 +946,7 @@ /* control endpoint only */ return (EINVAL); } - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } mtx_lock(f->priv_mtx); @@ -1738,7 +1738,7 @@ (udev->parent_hub == NULL)) { return (EINVAL); } - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } switch (mode) { @@ -1805,7 +1805,7 @@ struct usb2_hub *hub; int err; - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } if (port_no == 0) { @@ -2115,7 +2115,7 @@ case USB_IFACE_DRIVER_DETACH: /* TODO */ - if (suser(curthread)) + if (priv_check(curthread, PRIV_ROOT)) error = EPERM; else error = EINVAL; --BOKacYhQ+x31HxR3-- From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 03:10:23 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65B1106564A for ; Sat, 20 Sep 2008 03:10:23 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7A69A8FC0A for ; Sat, 20 Sep 2008 03:10:23 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id 2742A24D22; Sat, 20 Sep 2008 04:47:21 +0200 (SAST) Date: Sat, 20 Sep 2008 04:47:21 +0200 From: Aragon Gouveia To: freebsd-usb@freebsd.org Message-ID: <20080920024721.GA87570@phat.za.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 Subject: host controller process error X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 03:10:23 -0000 Hi, On a 3 month old 7.0-STABLE system I find myself occasionally experiencing this: Sep 18 01:02:47 igor kernel: usb2: host controller process error Sep 18 01:02:47 igor kernel: usb2: host controller halted My only permanently attached USB devices are my keyboard and mouse. It's happened most frequently on the bus to which my mouse is attached. It's been completely random so far - it'll happen for no apparent reason while I'm using my workstation, particularly the mouse. The only workaround I've found so far is to reboot or plug the affected device(s) into a different USB port. Any ideas if this is a hardware issue or a software bug? Anyone have suggestions to try reproduce the problem? Any point even spending time on this with USB2 'round the corner? Thanks, Aragon From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 08:57:35 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04F50106566B for ; Sat, 20 Sep 2008 08:57:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.tele2.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4648FC1C for ; Sat, 20 Sep 2008 08:57:34 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=kmLgjYsto_bqUjyC0ggA:9 a=ZzCDAxsungBathTsinh5IKnkm6QA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.228]) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 339436057; Sat, 20 Sep 2008 10:57:32 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 10:59:27 +0200 User-Agent: KMail/1.9.7 References: <20080920024721.GA87570@phat.za.net> In-Reply-To: <20080920024721.GA87570@phat.za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809201059.28343.hselasky@c2i.net> Cc: Aragon Gouveia Subject: Re: host controller process error X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 08:57:35 -0000 On Saturday 20 September 2008, Aragon Gouveia wrote: > Hi, > > On a 3 month old 7.0-STABLE system I find myself occasionally experiencing > this: > > Sep 18 01:02:47 igor kernel: usb2: host controller process > error Sep 18 01:02:47 igor kernel: usb2: host controller halted > > My only permanently attached USB devices are my keyboard and mouse. It's > happened most frequently on the bus to which my mouse is attached. It's > been completely random so far - it'll happen for no apparent reason while > I'm using my workstation, particularly the mouse. The only workaround I've > found so far is to reboot or plug the affected device(s) into a different > USB port. > > Any ideas if this is a hardware issue or a software bug? Anyone have > suggestions to try reproduce the problem? Any point even spending time on > this with USB2 'round the corner? > What kind of CPU are you using? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 09:36:36 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF317106567B for ; Sat, 20 Sep 2008 09:36:36 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 564788FC19 for ; Sat, 20 Sep 2008 09:36:36 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Sat, 20 Sep 2008 17:36:34 +0800 id 000EBC81.48D4C422.0000187B References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> In-Reply-To: <20080919153415.GA1178@q.gid0.org> From: "Intron is my alias on the Internet" To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 17:36:34 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Subject: Re: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 09:36:36 -0000 olivier wrote: > On Fri, Sep 19, 2008 at 04:53:22PM +0200, Olivier Smedts wrote: >> Since the suser interface has been removed from HEAD >> (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) >> I use the following patch to use the new usb2 stack with >> latest CURRENT. Of course, PRIV_ROOT is not the right one to use, >> see include/sys/priv.h. > > Attachment seems to have been removed. Retrying with a different content-type > and disposition (mutt is so great). > > -- > Olivier Smedts _ > ASCII ribbon campaign ( ) > e-mail: olivier at gid0.org - against HTML email & vCards X > www: http://www.gid0.org - against proprietary attachments / \ > > "Il y a seulement 10 sortes de gens dans le monde : > ceux qui comprennent le binaire, > et ceux qui ne le comprennent pas." > -------------- next part -------------- > Index: i4b/src/sys/dev/usb2/core/usb2_dev.c > =================================================================== > --- i4b/src/sys/dev/usb2/core/usb2_dev.c (r?vision 880) > +++ i4b/src/sys/dev/usb2/core/usb2_dev.c (copie de travail) > @@ -262,7 +262,7 @@ > int error; > > /* only super-user can set permissions */ > - error = suser(curthread); > + error = priv_check(curthread, PRIV_ROOT); > if (error) { > return (error); > } > Index: i4b/src/sys/dev/usb2/core/usb2_generic.c > =================================================================== > --- i4b/src/sys/dev/usb2/core/usb2_generic.c (r?vision 880) > +++ i4b/src/sys/dev/usb2/core/usb2_generic.c (copie de travail) > @@ -878,7 +878,7 @@ > (req->bRequest == UR_SET_CONFIG)) || > ((req->bmRequestType == UT_WRITE_INTERFACE) && > (req->bRequest == UR_SET_INTERFACE))) { > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > } > @@ -887,7 +887,7 @@ > * not update the data toggle value in "struct usb2_pipe" ! > */ > if (req->bmRequestType == UT_WRITE_ENDPOINT) { > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > } > @@ -946,7 +946,7 @@ > /* control endpoint only */ > return (EINVAL); > } > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > mtx_lock(f->priv_mtx); > @@ -1738,7 +1738,7 @@ > (udev->parent_hub == NULL)) { > return (EINVAL); > } > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > switch (mode) { > @@ -1805,7 +1805,7 @@ > struct usb2_hub *hub; > int err; > > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > if (port_no == 0) { > @@ -2115,7 +2115,7 @@ > > case USB_IFACE_DRIVER_DETACH: > /* TODO */ > - if (suser(curthread)) > + if (priv_check(curthread, PRIV_ROOT)) > error = EPERM; > else > error = EINVAL; > Maybe PRIV_DRIVER is a more appropriate one for this case. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 10:04:26 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38051065670; Sat, 20 Sep 2008 10:04:26 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 12F158FC17; Sat, 20 Sep 2008 10:04:25 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Sat, 20 Sep 2008 18:04:24 +0800 id 000EBC7E.48D4CAA8.00001A73 From: "Intron is my alias on the Internet" To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 18:04:24 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Subject: Which Userland Interface for USB Video Class Driver? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 10:04:26 -0000 I would write/port a driver for USB video class for FreeBSD's new USB stack (usb2). OpenBSD and NetBSD both has had their own implementations for the device class as some people referred to recently. But which userland interface, bktr(4) or V4L2, should I use for the driver? I have noticed that Julian has done some work for V4L2: http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/julian/julian%5fv4l/sys/dev/video/framework&HIDEDEL=NO But I wonder how soon Julian's code can be committed into the main source tree. I wouldn't see the driver sleeps outside the main source tree. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 13:03:19 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 457091065670 for ; Sat, 20 Sep 2008 13:03:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id CD0DB8FC0C for ; Sat, 20 Sep 2008 13:03:18 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=kC3pITnkjSMA:10 a=YcpZg1yccN4A:10 a=F4QD0XuEKMGv-OgyIAsA:9 a=klnhgedqY3rkppWBg7FQt3dkhBoA:4 a=50e4U0PicR4A:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.228]) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 911006489; Sat, 20 Sep 2008 15:03:16 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 15:05:05 +0200 User-Agent: KMail/1.9.7 References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809201505.07947.hselasky@c2i.net> Cc: Intron is my alias on the Internet Subject: Re: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 13:03:19 -0000 Hi, > > Maybe PRIV_DRIVER is a more appropriate one for this case. > This issue has been fixed now in (SVN + P4). Some places PRIV_DRIVER has been used. Most places PRIV_ROOT is used, because we need specific USB privileges in these cases, for example related to USB power management. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 13:59:12 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34226106564A for ; Sat, 20 Sep 2008 13:59:12 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 984F68FC12 for ; Sat, 20 Sep 2008 13:59:11 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Sat, 20 Sep 2008 21:59:09 +0800 id 000EBC83.48D501AD.0000393B References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> <200809201505.07947.hselasky@c2i.net> In-Reply-To: <200809201505.07947.hselasky@c2i.net> From: "Intron is my alias on the Internet" To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 21:59:09 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: base64 Message-ID: Subject: Re: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 13:59:12 -0000 SG93IHNvb24gd2lsbCB0aGUgbmV3IFVTQiBzdGFjayBiZSBjb21taXR0ZWQgdG8gdGhlIG1haW4g c291cmNlIHRyZWU/ClNpbmNlIGl0IGNhbiBwZWFjZWZ1bGx5IGNvLWV4aXN0IHdpdGggdGhlIG9s ZCBvbmUgaW4gYSBzb3VyY2UgdHJlZSwKd2h5IG5vdCBjb21taXQgaXQgYXQgb25jZT8KRm9yIGEg ZHJpdmVyIHdyaXRlci9wb3J0ZXIsIGEgInN0YW5kYXJkIiB2ZXJzaW9uIG9mIHRoZSBuZXcgVVNC IHN0YWNrCmlzIG5lZWRlZCBmb3IgY29tcGlsaW5nL2RlYnVnZ2luZy4KCi0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBGcm9tIEJl aWppbmcsIENoaW5hCgoKSGFucyBQZXR0ZXIgU2VsYXNreSDQtLW9OgoKPiBIaSwKPiAKPj4KPj4g TWF5YmUgUFJJVl9EUklWRVIgaXMgYSBtb3JlIGFwcHJvcHJpYXRlIG9uZSBmb3IgdGhpcyBjYXNl Lgo+Pgo+IAo+IFRoaXMgaXNzdWUgaGFzIGJlZW4gZml4ZWQgbm93IGluIChTVk4gKyBQNCkuIFNv bWUgcGxhY2VzIFBSSVZfRFJJVkVSIGhhcyBiZWVuIAo+IHVzZWQuIE1vc3QgcGxhY2VzIFBSSVZf Uk9PVCBpcyB1c2VkLCBiZWNhdXNlIHdlIG5lZWQgc3BlY2lmaWMgVVNCIHByaXZpbGVnZXMgCj4g aW4gdGhlc2UgY2FzZXMsIGZvciBleGFtcGxlIHJlbGF0ZWQgdG8gVVNCIHBvd2VyIG1hbmFnZW1l bnQuCj4gCj4gLS1IUFMKCg== From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 17:08:27 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FFE91065676; Sat, 20 Sep 2008 17:08:27 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id E4A1C8FC21; Sat, 20 Sep 2008 17:08:26 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id 12C6A6D423; Sat, 20 Sep 2008 19:10:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvr72fGmxnKo; Sat, 20 Sep 2008 19:10:21 +0200 (CEST) Received: by mx1.rink.nu (Postfix, from userid 1000) id 1B74B6D41E; Sat, 20 Sep 2008 19:10:21 +0200 (CEST) Date: Sat, 20 Sep 2008 19:10:21 +0200 From: Rink Springer To: Intron is my alias on the Internet Message-ID: <20080920171021.GA42549@rink.nu> References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> <200809201505.07947.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-usb@freebsd.org Subject: Re: [usb2] new usb stack and suser in CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 17:08:27 -0000 On Sat, Sep 20, 2008 at 09:59:09PM +0800, Intron is my alias on the Internet wrote: > How soon will the new USB stack be committed to the main source tree? > Since it can peacefully co-exist with the old one in a source tree, > why not commit it at once? > For a driver writer/porter, a "standard" version of the new USB stack > is needed for compiling/debugging. The main problem was that the new stack would be imported just days after the new TTY layer was committed, which caused a lot of resistance (which makes sense, as debugging problems would become much harder). I believe Alfred, who would be doing the import, went on vacation a few weeks after. Personally, since we have the new TTY layer for some time now, I think it would be good if Alfred (CC'ed) would attempt to request this import again, if his time permits. Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 20:28:39 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 288281065672 for ; Sat, 20 Sep 2008 20:28:39 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 280B08FC16 for ; Sat, 20 Sep 2008 20:28:38 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id BA0EB24D22; Sat, 20 Sep 2008 22:28:36 +0200 (SAST) Date: Sat, 20 Sep 2008 22:28:36 +0200 From: Aragon Gouveia To: Hans Petter Selasky Message-ID: <20080920202836.GB55292@phat.za.net> References: <20080920024721.GA87570@phat.za.net> <200809201059.28343.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809201059.28343.hselasky@c2i.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 Cc: freebsd-usb@freebsd.org Subject: Re: host controller process error X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 20:28:39 -0000 Hi, | By Hans Petter Selasky | [ 2008-09-20 10:57 +0200 ] > What kind of CPU are you using? Core 2 Duo E8500. Full dmesg attached too. :) Thanks, Aragon Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #5: Thu May 15 21:13:01 SAST 2008 root@igor.geek.sh:/usr/obj/usr/src/sys/IGOR Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (3185.31-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 8509808640 (8115 MB) avail memory = 8225095680 (7844 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est0: Setting 3163 MHz p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est1: Setting 3163 MHz p4tcc1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x2000-0x20ff mem 0xd0000000-0xdfffffff,0xe0200000-0xe020ffff irq 16 at device 0.0 on pci1 pci1: at device 0.1 (no driver attached) pci0: at device 3.0 (no driver attached) em0: port 0x3400-0x341f mem 0xe0300000-0xe031ffff,0xe0324000-0xe0324fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: Ethernet address: 00:1c:c0:30:9b:91 em0: [FILTER] uhci0: port 0x30e0-0x30ff irq 18 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x30c0-0x30df irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x30a0-0x30bf irq 17 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe0325c00-0xe0325fff irq 17 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pci0: at device 27.0 (no driver attached) pcib2: at device 28.0 on pci0 pci2: on pcib2 pcib3: at device 28.1 on pci0 pci3: on pcib3 atapci0: port 0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f mem 0xe0100000-0xe01001ff irq 17 at device 0.0 on pci3 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] pcib4: at device 28.2 on pci0 pci4: on pcib4 pcib5: at device 28.3 on pci0 pci5: on pcib5 pcib6: at device 28.4 on pci0 pci6: on pcib6 uhci3: port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0x3060-0x307f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered uhci5: port 0x3040-0x305f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xe0325800-0xe0325bff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered pcib7: at device 30.0 on pci0 pci7: on pcib7 pci7: at device 3.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x3428-0x342f,0x3434-0x3437,0x3420-0x3427,0x3430-0x3433,0x3020-0x303f mem 0xe0325000-0xe03257ff irq 21 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.20 controller with 6 ports detected ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] ata7: on atapci1 ata7: [ITHREAD] ata8: on atapci1 ata8: [ITHREAD] pci0: at device 31.3 (no driver attached) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 ums0: on uhub2 ums0: 5 buttons and Z dir. ugen0: on uhub6 Timecounters tick every 1.000 msec acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDR at ata2-master UDMA33 ad6: 715404MB at ata3-master SATA300 ad8: 715404MB at ata4-master SATA300 SMP: AP CPU #1 Launched! From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 20:44:26 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 044D4106564A for ; Sat, 20 Sep 2008 20:44:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6DE8FC2C for ; Sat, 20 Sep 2008 20:44:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BvnCPWuZXgaYWTNBmJEA:9 a=MqUCGKtn0ksRctPpsacZjfNvbNoA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.228]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1082124160; Sat, 20 Sep 2008 22:44:23 +0200 From: Hans Petter Selasky To: Aragon Gouveia Date: Sat, 20 Sep 2008 22:46:13 +0200 User-Agent: KMail/1.9.7 References: <20080920024721.GA87570@phat.za.net> <200809201059.28343.hselasky@c2i.net> <20080920202836.GB55292@phat.za.net> In-Reply-To: <20080920202836.GB55292@phat.za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809202246.15796.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: host controller process error X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 20:44:26 -0000 On Saturday 20 September 2008, Aragon Gouveia wrote: > Hi, > > | By Hans Petter Selasky > | [ 2008-09-20 10:57 +0200 ] > | > > What kind of CPU are you using? > > Core 2 Duo E8500. Full dmesg attached too. :) > > > Thanks, > Aragon Hi, It is not very common, but I think I remember that sometimes the ukbd driver gets called without Giant locked, which I have documented. And there is no check for this in the old USB stack. Maybe there is a race there. Do you see the same problem when you force single CPU? --HPS