From owner-freebsd-usb@FreeBSD.ORG Sun Nov 11 07:30:29 2007 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 0074316A41B for ; Sun, 11 Nov 2007 07:30:29 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9593513C4AA for ; Sun, 11 Nov 2007 07:30:28 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5694F.dip.t-dialin.net [84.165.105.79]) by redbull.bpaserver.net (Postfix) with ESMTP id 372DF2E15B; Sun, 11 Nov 2007 08:29:53 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 234F56187A; Sun, 11 Nov 2007 08:29:50 +0100 (CET) Date: Sun, 11 Nov 2007 08:29:48 +0100 From: Alexander Leidinger To: Hans Petter Selasky Message-ID: <20071111082948.4923c609@deskjail> In-Reply-To: <200711091959.06137.hselasky@c2i.net> References: <000501c82256$8c9891c0$be810fce@YosemiteSam> <200711091959.06137.hselasky@c2i.net> X-Mailer: Claws Mail 3.0.1 (GTK+ 2.10.14; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-usb@freebsd.org Subject: Re: Motorola A41x/V32x 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: Sun, 11 Nov 2007 07:30:29 -0000 Quoting Hans Petter Selasky (Fri, 9 Nov 2007 19:59:05 +0100): > On Thursday 08 November 2007, Kenneth F. Morse Sr. wrote: > > I find I am not alone in the need for the driver for Motorola A41x/v32x > > driver. I cannot find it either but I did not find where there was any > > response to the request. > > > > > > What happens if you plug your phone into a FreeBSD box ? He was searching for a Windows driver. I explained to him that we are not compatible with Windows and that he should ask Motorola about it. Bye, Alexander. -- Look DEEP into the OPENINGS!! Do you see any ELVES or EDSELS ... or a HIGHBALL?? ... http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Sun Nov 11 21:00:04 2007 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 8C90C16A417 for ; Sun, 11 Nov 2007 21:00: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 7C29B13C48D for ; Sun, 11 Nov 2007 21:00: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.1/8.14.1) with ESMTP id lABL04jg044133 for ; Sun, 11 Nov 2007 21:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lABL040L044126; Sun, 11 Nov 2007 21:00:04 GMT (envelope-from gnats) Date: Sun, 11 Nov 2007 21:00:04 GMT Message-Id: <200711112100.lABL040L044126@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.org (dfilter service) Cc: Subject: Re: usb/116057: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 21:00:04 -0000 The following reply was made to PR usb/116057; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/116057: commit references a PR Date: Sun, 11 Nov 2007 20:57:16 +0000 (UTC) brix 2007-11-11 20:57:08 UTC FreeBSD src repository (ports committer) Modified files: sys/dev/usb usb_quirks.c usbdevs Log: Update quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x. PR: usb/116057 Approved by: imp, erwin (mentor) Revision Changes Path 1.64 +4 -2 src/sys/dev/usb/usb_quirks.c 1.333 +3 -2 src/sys/dev/usb/usbdevs _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sun Nov 11 21:14:13 2007 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 D59F316A418; Sun, 11 Nov 2007 21:14:13 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEDA613C494; Sun, 11 Nov 2007 21:14:13 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from freefall.freebsd.org (brix@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lABLEDxD044708; Sun, 11 Nov 2007 21:14:13 GMT (envelope-from brix@freefall.freebsd.org) Received: (from brix@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lABLED2k044703; Sun, 11 Nov 2007 21:14:13 GMT (envelope-from brix) Date: Sun, 11 Nov 2007 21:14:13 GMT Message-Id: <200711112114.lABLED2k044703@freefall.freebsd.org> To: henrik@brixandersen.dk, brix@FreeBSD.org, freebsd-usb@FreeBSD.org, brix@FreeBSD.org From: brix@FreeBSD.org Cc: Subject: Re: usb/116057: [patch] Update quirks for the MetaGeek Wi-Spy 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, 11 Nov 2007 21:14:13 -0000 Synopsis: [patch] Update quirks for the MetaGeek Wi-Spy State-Changed-From-To: open->patched State-Changed-By: brix State-Changed-When: Sun Nov 11 21:11:42 UTC 2007 State-Changed-Why: Committed, awaiting MFC Responsible-Changed-From-To: freebsd-usb->brix Responsible-Changed-By: brix Responsible-Changed-When: Sun Nov 11 21:11:42 UTC 2007 Responsible-Changed-Why: Committed, awaiting MFC http://www.freebsd.org/cgi/query-pr.cgi?pr=116057 From owner-freebsd-usb@FreeBSD.ORG Mon Nov 12 03:02:31 2007 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 472FB16A417 for ; Mon, 12 Nov 2007 03:02:31 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB5A13C48A for ; Mon, 12 Nov 2007 03:02:30 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1470852waf for ; Sun, 11 Nov 2007 19:02:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=g56G2YfFpSxSrZd7yKpqcSIfNSPePQ8T8TQH1xj6Bx8=; b=fHk5O5LZMnOLu8N/GZFF8gsjz34PCqpNphTVLRYyuXW+CjsruCA8Uev5rbfdz5RhevzNeiuGCG6KtSz5T+kc/tXri8HpiAQXOgccB+NZmVeVbsU6e1RjvlEXz9nQ+eTWg9CfZGEUQz4+NlOEic1ED6TYj4ui4Q2ihunS42ikm0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UM5WTBb5CfjiiKM+otGxi4/4eCwRfeKVshOxH8tSqCy0LxgHWDkoqwTsCQJLMYBJ+WB21EJFA8PKt4JPweHc3dEno4DnAdDyG17QPn5bo7hvmFmZ339ergdPOerdYz9VhB5Fn4jqFqgTJo7vv2l1ozh1H4TSnnQNFvUlravHe9Y= Received: by 10.114.157.1 with SMTP id f1mr2477576wae.1194836538744; Sun, 11 Nov 2007 19:02:18 -0800 (PST) Received: by 10.114.176.17 with HTTP; Sun, 11 Nov 2007 19:02:18 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 11:02:18 +0800 From: "Xiaofan Chen" To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: OpenUSB for 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: Mon, 12 Nov 2007 03:02:31 -0000 OpenUSB's API is now rather stable and they have the front end and Linux/Solaris backend basically done. It is a fork of libusb-1.0 development branch since that branch is dormant for a while. The aim is to be thread safe and supports assync I/O and isochronous transfer where libusb-0.1 may have problems. Is it possible for some people here to implement a backend (based on ugen?) for FreeBSD? OpeUSB webpage: http://openusb.sourceforge.net/ http://openusb.sourceforge.net/documents/guide/index.html Or maybe at least improve the current libusb-0.1.x implemenation for FreeBSD. By the way, the latest CVS version of usbutils (lsusb) supports FreeBSD and it is rather a nice tool. Xiaofan http://mcuee.blogspot.com From owner-freebsd-usb@FreeBSD.ORG Mon Nov 12 09:53:44 2007 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 A760C16A41B for ; Mon, 12 Nov 2007 09:53:44 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4CF13C48A for ; Mon, 12 Nov 2007 09:53:43 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id BA36D1CC0CF for ; Mon, 12 Nov 2007 10:53:27 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id D9FA011438; Mon, 12 Nov 2007 10:53:26 +0100 (CET) Date: Mon, 12 Nov 2007 10:53:26 +0100 From: Henrik Brix Andersen To: freebsd-usb@freebsd.org Message-ID: <20071112095326.GA85828@tirith.brixandersen.dk> Mail-Followup-To: freebsd-usb@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: OpenUSB for 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: Mon, 12 Nov 2007 09:53:44 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 12, 2007 at 11:02:18AM +0800, Xiaofan Chen wrote: > OpenUSB's API is now rather stable and they have the front end > and Linux/Solaris backend basically done. It is a fork of libusb-1.0 > development branch since that branch is dormant for a while. > The aim is to be thread safe and supports assync I/O and isochronous > transfer where libusb-0.1 may have problems. >=20 > Is it possible for some people here to implement a backend > (based on ugen?) for FreeBSD? Interesting - definitely something I will take a look at. Thank you for the pointer. > Or maybe at least improve the current libusb-0.1.x implemenation > for FreeBSD. Yeah, I was looking at backporting some of the features from libusb CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD compatability as well for an application, I work on - but we ended up making FreeBSD specific work-arounds in the application instead. The current stable version of libusb certainly makes a lot to wish for on FreeBSD. > By the way, the latest CVS version of usbutils (lsusb) supports > FreeBSD and it is rather a nice tool. Oh, I haven't looked at this in a while. I'll try to come up with a port for FreeBSD. Brix --=20 Henrik Brix Andersen --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHOCKVv+Q4flTiePgRAnsTAKCVQb09CdeY8BNOxy0213Wn+rXdqgCfclle iqXgDdZElnrhrRwzueJVGxw= =1vCf -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-usb@FreeBSD.ORG Mon Nov 12 11:07:10 2007 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 D33B716A51B for ; Mon, 12 Nov 2007 11:07:10 +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 BFA7013C4B5 for ; Mon, 12 Nov 2007 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACB77nm089857 for ; Mon, 12 Nov 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACB77g8089853 for freebsd-usb@FreeBSD.org; Mon, 12 Nov 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Nov 2007 11:07:07 GMT Message-Id: <200711121107.lACB77g8089853@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, 12 Nov 2007 11:07:11 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop o usb/117946 usb D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BETA2 3 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb [panic] kernel panic on USB device disconnect o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb [uhci] UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit a usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [patch] mounting of usb-stick fails o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected s usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb [umass] [panic] EHCI: I/O stuck in state 'physrd'/pani o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [usb] [patch] bogus "slice starts beyond end of the di o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [hang] FreeBSD hangs while booting with USB legacy sup o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [irq] device ehci causes interrupt storm on this MSI a o usb/93828 usb [panic] ohci causes panic on boot (HP Pavillion d4100e o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/95131 usb [install] Boot/setup process does not accept key strok o usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb [mouse] USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb [panic] fatback on umass = reboot o usb/97286 usb [mouse] MS Wireless Intellimouse Explorer 2.0 doesn't o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb [patch] /usr/sbin/usbd does not handle multiple device o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb [hang] system lockup on forced umount of usb-storage d o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [hang] USB Floppy on D1950 10 min Hang on Insert w/o F o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb [umass] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/112568 usb USB mode may wrong when mounting Playstation Pro o usb/112631 usb [panic] Problem with SONY DSC-S80 camera o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] FreeBSD could not start on Core2Duo notebook fr o usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM o usb/113977 usb [feature request] Need a way to set mode of USB disk's o usb/114310 usb [panic] USB hub attachment panics kernel during libusb o usb/114682 usb USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb Turning off USB printer panics kernel o usb/116561 usb RELENG_6 umodem panic "trying to sleep while sleeping o usb/116947 usb [patch] enable boot protocol on the USB keyboards o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [panic] panic on usb camera attachment o usb/117613 usb uhci interrupt storm & USB leaked memory on destroy o usb/117719 usb umass plugging with hald running causes kernel panics o usb/117955 usb plugging minolta dimage a2 crashes os 106 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [usb] USB HP CDW8200 does not work o usb/48342 usb [PATCH] usbd dynamic device list. f usb/51958 usb [urio] [patch] update for urio driver o usb/52026 usb [usb] feature request: umass driver support for InSyst o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio o usb/62257 usb [umass] card reader UCR-61S2B is only half-supported o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o usb/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o usb/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/74453 usb [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chip o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch f usb/78984 usb [patch] Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92852 usb [mouse] [patch] Vertical scroll not working properly o o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/95173 usb [umass] [patch] cannot mount external usb harddisk VIA o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/97175 usb [hang] USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera cause panic o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge f usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb [usbd] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/112461 usb [ehci] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb problem with Samsung USB DVD writer, libscg and FreeBS o usb/112944 usb [patch] Bi-directional access to HP LaserJet 1010 prin o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb WARNING: attempt to net_add_domain(netgraph) after dom o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass p usb/114860 usb if_udav / ShanTou ST268 USB NIC o usb/114916 usb USB Maxtor drive (L300RO) requires quirk. o usb/115080 usb using a Hercules HWGUSB2-54-V2 wifi usb adapter o usb/115197 usb can not install from USB stick drive o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115737 usb uplcom doesn't identify my Prolific 2303 any more o usb/115933 usb RATOC REX-USB60F (usb serial converter) is working o usb/115935 usb [patch] kernel counterproductively attaches to Cyber P o usb/116282 usb Cannot print on USB HP LJ1018 or LJ1300 o usb/116574 usb [patch] Add device ids for ICH8 USB chipsets o usb/116898 usb panic: sleeping thread while using USB hard drive o usb/117183 usb USB/fusefs -- Fatal trap 12: page fault while in kerne o usb/117185 usb [umodem] Add support for UNION interface descriptor o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117366 usb USB keyboard status lights not working properly o usb/117546 usb [usbdevs] [patch] Add MaxStream ZigBee product ID to u o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb Lacie USB DVD writing failing o usb/117911 usb Mouse Gembird MUSWC not work o usb/117938 usb [Patch] Adding support for MS WL Natural and MS WL Opt 112 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Nov 12 18:50:02 2007 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 EF1B816A41A for ; Mon, 12 Nov 2007 18:50:02 +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 C619A13C4A6 for ; Mon, 12 Nov 2007 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACIo2Ws017577 for ; Mon, 12 Nov 2007 18:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACIo2Do017574; Mon, 12 Nov 2007 18:50:02 GMT (envelope-from gnats) Date: Mon, 12 Nov 2007 18:50:02 GMT Message-Id: <200711121850.lACIo2Do017574@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 18:50:03 -0000 The following reply was made to PR usb/91546; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@freebsd.org Cc: "M. Warner Losh" Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile phone does not work Date: Tue, 13 Nov 2007 01:48:04 +0700 Hi! There is distinct PR containing the patch adopted for RELENG_7: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/117185 I use the code over 6 weeks, it works just fine. Eugene Grosbein From owner-freebsd-usb@FreeBSD.ORG Wed Nov 14 20:21:03 2007 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 7644016A421 for ; Wed, 14 Nov 2007 20:21:03 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 3409513C478 for ; Wed, 14 Nov 2007 20:21:03 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id B15FC1CC0D3; Wed, 14 Nov 2007 21:21:01 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id D48C61141D; Wed, 14 Nov 2007 21:21:00 +0100 (CET) Date: Wed, 14 Nov 2007 21:21:00 +0100 From: Henrik Brix Andersen To: Xiaofan Chen Message-ID: <20071114202100.GA24806@tirith.brixandersen.dk> Mail-Followup-To: Xiaofan Chen , freebsd-usb@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Wed, 14 Nov 2007 20:21:03 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 12, 2007 at 11:02:18AM +0800, Xiaofan Chen wrote: > By the way, the latest CVS version of usbutils (lsusb) supports > FreeBSD and it is rather a nice tool. I have extracted the FreeBSD related changes from usbutils CVS and backported them to the latest release, version 0.73. A preliminary port is available at: http://people.freebsd.org/~brix/ports/usbutils.tar.gz I will run this through the tinderboxes and commit it to the ports collection once the freeze is over. Brix --=20 Henrik Brix Andersen --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHO1irv+Q4flTiePgRAijuAKCsg/z0qkEy0U/KlHaATUAJVKmFDACcCDME 1x3Pnk3nWD2R7ubgwN3EaU4= =5QbZ -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- From owner-freebsd-usb@FreeBSD.ORG Thu Nov 15 02:29:24 2007 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 0199B16A468 for ; Thu, 15 Nov 2007 02:29:24 +0000 (UTC) (envelope-from Craig.Wuerzberger@subzero.com) Received: from smtp.subzero.com (smtp.subzero.com [64.73.41.97]) by mx1.freebsd.org (Postfix) with ESMTP id BF5B213C481 for ; Thu, 15 Nov 2007 02:29:21 +0000 (UTC) (envelope-from Craig.Wuerzberger@subzero.com) Received: from fit-exchange-01.subzero.com by szmail.com (MDaemon.PRO.v8.1.3.R) with ESMTP id md50006305883.msg for ; Wed, 14 Nov 2007 20:18:09 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 14 Nov 2007 20:18:06 -0600 Message-ID: <568E3DB65051874EBCDBD20CB8F06E44856C2C@fit-exchange-01.subzero.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: USB driver for motorola v323i cell phone Thread-Index: AcgnLcI71pSuBGkZT7yeiRq+CWfFAw== From: "Craig Wuerzberger" To: X-Spam-Processed: smtp, Wed, 14 Nov 2007 20:18:09 -0600 (not processed: spam filter disabled) X-MDRemoteIP: 172.17.9.211 X-Return-Path: Craig.Wuerzberger@subzero.com X-MDaemon-Deliver-To: freebsd-usb@freebsd.org X-MDAV-Processed: smtp, Wed, 14 Nov 2007 20:18:10 -0600 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: USB driver for motorola v323i cell phone 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, 15 Nov 2007 02:29:24 -0000 =20 =20 Craig Wuerzberger Corporate Network Technician II Sub-Zero Inc./Wolf Appliance Inc. 608.204.6495 craig.wuerzberger@subzero.com =20 From owner-freebsd-usb@FreeBSD.ORG Thu Nov 15 06:20:26 2007 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 954BE16A494 for ; Thu, 15 Nov 2007 06:20:26 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6E74013C447 for ; Thu, 15 Nov 2007 06:20:26 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so551656waf for ; Wed, 14 Nov 2007 22:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pRJiv5beUDuM6b56N4sOMce6GE3EolQizc1nMaadER4=; b=lh7+3el4q3pUOfJqFqvX9rSVh0Vgw1Bqpqo9WLfermbIBdKWzAhvmqlqCMby4j0FXGXQRvgTV0YqKsO59KS5AOqECXzTVjDXPQ42h/UYalqeKX1wQhZth7jX6W8taUsCbKjxnTwiip5HlsPD2yee2oX/XfysazHj0wexbyHe5i4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KviY0q71QCUcxj15CAXRIR/JX74bERoXwgewzVChkMQdZmRst9L1BNEQo76FGlcTSOTxQYPv3CO30sdYGyTV3b9Z5wuB1kuDhENfe9sTHq4anKMEn/Naf1N8Cj1K2l0th8X7npO5/R+iEHk/G2iNq3MCDazsN/ytZoX3bMCH50s= Received: by 10.115.59.4 with SMTP id m4mr151431wak.1195107625876; Wed, 14 Nov 2007 22:20:25 -0800 (PST) Received: by 10.114.176.17 with HTTP; Wed, 14 Nov 2007 22:20:25 -0800 (PST) Message-ID: Date: Thu, 15 Nov 2007 14:20:25 +0800 From: "Xiaofan Chen" To: freebsd-usb@freebsd.org In-Reply-To: <20071112095326.GA85828@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071112095326.GA85828@tirith.brixandersen.dk> Subject: Re: OpenUSB for 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: Thu, 15 Nov 2007 06:20:26 -0000 On 11/12/07, Henrik Brix Andersen wrote: > > Is it possible for some people here to implement a backend > > (based on ugen?) for FreeBSD? > > Interesting - definitely something I will take a look at. Thank you > for the pointer. > > > Or maybe at least improve the current libusb-0.1.x implemenation > > for FreeBSD. > > Yeah, I was looking at backporting some of the features from libusb > CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD > compatability as well for an application, I work on - but we ended up > making FreeBSD specific work-arounds in the application instead. Could you be a bit more specific? I know there are some missing calls in FreeBSD. And I have problems with libusb interrupt write with the default kernel (hangs). It is documented here. http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html But I am not so sure if it is a libusb problem or the kernel USB driver problem. The HPS stack seems to be better in this aspect and I got some libusb application ported from Linux/Windows to FreeBSD thanks to the help from Hans. > The current stable version of libusb certainly makes a lot to wish for > on FreeBSD. > Seems to be quite true. Regards, Xiaofan http://mcuee.blogspot.com From owner-freebsd-usb@FreeBSD.ORG Fri Nov 16 11:30:04 2007 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 6DC2E16A417 for ; Fri, 16 Nov 2007 11:30: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 5800413C442 for ; Fri, 16 Nov 2007 11:30: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.1/8.14.1) with ESMTP id lAGBU4Kk004014 for ; Fri, 16 Nov 2007 11:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGBU4Lu004011; Fri, 16 Nov 2007 11:30:04 GMT (envelope-from gnats) Date: Fri, 16 Nov 2007 11:30:04 GMT Message-Id: <200711161130.lAGBU4Lu004011@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Kyryll A Mirnenko aka Mirya Cc: Subject: Re: usb/117719: umass plugging with hald running causes kernel panics on 7.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kyryll A Mirnenko aka Mirya List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 11:30:04 -0000 The following reply was made to PR usb/117719; it has been noted by GNATS. From: Kyryll A Mirnenko aka Mirya To: bug-followup@freebsd.org, mirya@zoc.com.ua Cc: Subject: Re: usb/117719: umass plugging with hald running causes kernel panics on 7.0 Date: Fri, 16 Nov 2007 14:22:24 +0300 The bug stays the same with BETA2. Here's the kernel stack trace: # plugging in the device umass0: on uhub3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) # in a few moments... panic: msleep KDB: stack backtrace db_trace_self_wrapper(c0968c2f,c0a19c40,c09697de,cc12cb30,cc12cb30,...) at 0xc047b4a6 = db_trace_self_wrapper+0x26 panic(c09697de,c0a19630,c09697ad,c094a106,8,...) at 0xc05d9bef = panic+0xdf _sleep(0,c0a19630,100,c094a106,0,...) at 0xc05e2a57 = _sleep+0x87 sgread(c31c1f00,cc12cc5c,0,168,0,...) at 0xc046d91f = sgread+0xff giant_read(c31c1f00,cc12cc5c,0,0,c00,...) at 0xc05aa188 = giant_read+0x48 devfs_read_f(c2faa4c8,cc12cc5c,c2809f00,0,c31be630,...) at 0xc0539746 = devfs_read_f+0x76 dofileread(cc12cc5c,ffffffff,ffffffff,0,c2faa4c8,...) at 0xc061423c = dofileread+0x6c kern_readv(c31be630,4,cc12cc5c,cc12cc7c,1,...) at 0xc0615e98 = kern_readv+0x58 read(c31be630,cc12ccf8,c,c096e2b3,c09c97c8,...) at 0xc0615f80 = read+0x50 syscall(cc12cd38) at 0xc90642a = syscall+0x13a Xint0x80_syscall() at 0xc08eeb20 = Xint0x80_syscall+0x20 --- syscall (3, FreeBSD ELF 32, read), eip = 0x48381673, esp = 0xbfbfe65c, ebp = 0xbfbfe68b --- I also was able to get the same crash when unplugging the device above (plugged in before boot, that doesn't cause the panic as stated in my previous message) and plugging in another USB disk with regular FAT at /dev/ad0s1 (though simply plugging in the 2nd disk without having the 1st plugged doesn't cause the panic) From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 07:20:01 2007 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 BF9E516A419 for ; Sat, 17 Nov 2007 07:20:01 +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 9BC0D13C448 for ; Sat, 17 Nov 2007 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAH7K11F082748 for ; Sat, 17 Nov 2007 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAH7K1U5082747; Sat, 17 Nov 2007 07:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 17 Nov 2007 07:20:01 GMT Resent-Message-Id: <200711170720.lAH7K1U5082747@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, Jeff Palmer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B038316A417 for ; Sat, 17 Nov 2007 07:12:00 +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 9D34213C47E for ; Sat, 17 Nov 2007 07:12:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAH7BOj1084803 for ; Sat, 17 Nov 2007 07:11:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lAH7BO9M084802; Sat, 17 Nov 2007 07:11:24 GMT (envelope-from nobody) Message-Id: <200711170711.lAH7BO9M084802@www.freebsd.org> Date: Sat, 17 Nov 2007 07:11:24 GMT From: Jeff Palmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/118098: 6th gen iPod causes problems when disconnecting. 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, 17 Nov 2007 07:20:01 -0000 >Number: 118098 >Category: usb >Synopsis: 6th gen iPod causes problems when disconnecting. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 17 07:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Jeff Palmer >Release: 7.0-BETA3 >Organization: >Environment: FreeBSD Laptop.totaldiver.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 17 11:31:41 EST 2007 root@Laptop.totaldiver.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: I just got a 6th generation ipod. My 5th generation ipod works fine. the 6th gen ipod can be used just like the 5th gen, in that I can mount it as a USB disk. I can write files to it, I can use any of the ipod music software, etc. However, when I camcontrol eject it, it reports success. The problem comes when I actually physically disconnect the unit. Nov 17 01:53:43 Laptop kernel: umass0: BBB reset failed, IOERROR Nov 17 01:53:43 Laptop kernel: umass0: BBB bulk-in clear stall failed, IOERROR Nov 17 01:53:43 Laptop kernel: umass0: BBB bulk-out clear stall failed, IOERROR Nov 17 01:53:43 Laptop kernel: umass0: BBB reset failed, IOERROR The above persists indefinitely until I either: #1) reboot #2) plug, or unplug *another* USB device (thumbdrive, usb harddrive, usb bluetooth dongle, or even cellphone.) After which, the spam stops, and the following is logged: Nov 17 02:05:52 Laptop kernel: umass0: BBB bulk-out clear stall failed, IOERROR Nov 17 02:05:54 Laptop kernel: umass0: at uhub4 port 3 (addr 2) disconnected Nov 17 02:05:54 Laptop kernel: (da0:umass-sim0:0:0:0): lost device Nov 17 02:05:54 Laptop kernel: (da0:umass-sim0:0:0:0): removing device entry Nov 17 02:05:54 Laptop kernel: GEOM_LABEL: Label msdosfs/IPOD removed. Nov 17 02:05:54 Laptop kernel: umass0: detached Nov 17 02:05:55 Laptop kernel: ugen0: on uhub0 >How-To-Repeat: Attach a 6th gen ipod. mount it using mount_msdodfs. unmount it. disconnect the cable. Watch your logs grow to insane sizes. Plug in another USB device (or unplug one) and watch it stop. I'm not sure if this is a usb problem, or a geom problem. but the above *does not occur* when using a 5th generation ipod. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 08:43:01 2007 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 2B76416A46D for ; Sat, 17 Nov 2007 08:43:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id ADB1B13C442 for ; Sat, 17 Nov 2007 08:42:53 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 698737911; Sat, 17 Nov 2007 09:42:21 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 17 Nov 2007 09:38:27 +0100 User-Agent: KMail/1.9.7 References: <20071112095326.GA85828@tirith.brixandersen.dk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711170938.28339.hselasky@c2i.net> Cc: Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 08:43:01 -0000 Hi, On Thursday 15 November 2007, Xiaofan Chen wrote: > On 11/12/07, Henrik Brix Andersen wrote: > > > Is it possible for some people here to implement a backend > > > (based on ugen?) for FreeBSD? > > > > Interesting - definitely something I will take a look at. Thank you > > for the pointer. > > > > > Or maybe at least improve the current libusb-0.1.x implemenation > > > for FreeBSD. > > > > Yeah, I was looking at backporting some of the features from libusb > > CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD > > compatability as well for an application, I work on - but we ended up > > making FreeBSD specific work-arounds in the application instead. > > Could you be a bit more specific? I know there are some missing calls > in FreeBSD. And I have problems with libusb interrupt write with the > default kernel (hangs). It is documented here. > http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html > But I am not so sure if it is a libusb problem or the kernel USB driver > problem. The problem about clear stall on the interrupt endpoint is a pure device problem. Your USB device must re-queue any lost interrupt packets after clear stall! > > The HPS stack seems to be better in this aspect and I got > some libusb application ported from Linux/Windows to > FreeBSD thanks to the help from Hans. > > > The current stable version of libusb certainly makes a lot to wish for > > on FreeBSD. > I haven't got time yet to look at the latest version of libusb. I have some plans to make a replacement for /dev/ugen, that can interact on USB interfaces that already have drivers on them. Currently I'm very busy with other USB stuff. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 09:09:02 2007 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 AB82816A41B for ; Sat, 17 Nov 2007 09:09:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outV.internet-mail-service.net (outV.internet-mail-service.net [216.240.47.245]) by mx1.freebsd.org (Postfix) with ESMTP id 88FB213C4D5 for ; Sat, 17 Nov 2007 09:09:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sat, 17 Nov 2007 00:57:18 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 3D7F8126A5B; Sat, 17 Nov 2007 00:57:18 -0800 (PST) Message-ID: <473EACF0.2070005@elischer.org> Date: Sat, 17 Nov 2007 00:57:20 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Hans Petter Selasky References: <20071112095326.GA85828@tirith.brixandersen.dk> <200711170938.28339.hselasky@c2i.net> In-Reply-To: <200711170938.28339.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 09:09:02 -0000 Hans Petter Selasky wrote: > Hi, > > On Thursday 15 November 2007, Xiaofan Chen wrote: >> On 11/12/07, Henrik Brix Andersen wrote: >>>> Is it possible for some people here to implement a backend >>>> (based on ugen?) for FreeBSD? >>> Interesting - definitely something I will take a look at. Thank you >>> for the pointer. >>> >>>> Or maybe at least improve the current libusb-0.1.x implemenation >>>> for FreeBSD. >>> Yeah, I was looking at backporting some of the features from libusb >>> CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD >>> compatability as well for an application, I work on - but we ended up >>> making FreeBSD specific work-arounds in the application instead. >> Could you be a bit more specific? I know there are some missing calls >> in FreeBSD. And I have problems with libusb interrupt write with the >> default kernel (hangs). It is documented here. >> http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html >> But I am not so sure if it is a libusb problem or the kernel USB driver >> problem. > > The problem about clear stall on the interrupt endpoint is a pure device > problem. Your USB device must re-queue any lost interrupt packets after clear > stall! > >> The HPS stack seems to be better in this aspect and I got >> some libusb application ported from Linux/Windows to >> FreeBSD thanks to the help from Hans. >> >>> The current stable version of libusb certainly makes a lot to wish for >>> on FreeBSD. > > I haven't got time yet to look at the latest version of libusb. I have some > plans to make a replacement for /dev/ugen, that can interact on USB > interfaces that already have drivers on them. Currently I'm very busy with > other USB stuff. like, err documentation maybe? > > --HPS > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 09:46:59 2007 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 7616D16A41A for ; Sat, 17 Nov 2007 09:46:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 01FF313C45D for ; Sat, 17 Nov 2007 09:46:57 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 671843971; Sat, 17 Nov 2007 10:46:48 +0100 From: Hans Petter Selasky To: Julian Elischer Date: Sat, 17 Nov 2007 10:47:18 +0100 User-Agent: KMail/1.9.7 References: <200711170938.28339.hselasky@c2i.net> <473EACF0.2070005@elischer.org> In-Reply-To: <473EACF0.2070005@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711171047.18851.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 09:46:59 -0000 On Saturday 17 November 2007, Julian Elischer wrote: > Hans Petter Selasky wrote: > > Hi, > > > > On Thursday 15 November 2007, Xiaofan Chen wrote: > >> On 11/12/07, Henrik Brix Andersen wrote: > >>>> Is it possible for some people here to implement a backend > >>>> (based on ugen?) for FreeBSD? > >>> > >>> Interesting - definitely something I will take a look at. Thank you > >>> for the pointer. > >>> > >>>> Or maybe at least improve the current libusb-0.1.x implemenation > >>>> for FreeBSD. > >>> > >>> Yeah, I was looking at backporting some of the features from libusb > >>> CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD > >>> compatability as well for an application, I work on - but we ended up > >>> making FreeBSD specific work-arounds in the application instead. > >> > >> Could you be a bit more specific? I know there are some missing calls > >> in FreeBSD. And I have problems with libusb interrupt write with the > >> default kernel (hangs). It is documented here. > >> http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html > >> But I am not so sure if it is a libusb problem or the kernel USB driver > >> problem. > > > > The problem about clear stall on the interrupt endpoint is a pure device > > problem. Your USB device must re-queue any lost interrupt packets after > > clear stall! > > > >> The HPS stack seems to be better in this aspect and I got > >> some libusb application ported from Linux/Windows to > >> FreeBSD thanks to the help from Hans. > >> > >>> The current stable version of libusb certainly makes a lot to wish for > >>> on FreeBSD. > > > > I haven't got time yet to look at the latest version of libusb. I have > > some plans to make a replacement for /dev/ugen, that can interact on USB > > interfaces that already have drivers on them. Currently I'm very busy > > with other USB stuff. > > like, err documentation maybe? Including that :-) --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 11:06:08 2007 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 7CA0C16A417 for ; Sat, 17 Nov 2007 11:06:08 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4743313C465 for ; Sat, 17 Nov 2007 11:06:08 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1394301waf for ; Sat, 17 Nov 2007 03:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VB58SzeZWxAmaamUny/U7Tc9fRHQpKqzGeYVf2kWWE0=; b=AWJTFG7+GMyAaCgBZ2dGhZ0V7WUPomSD5cgnnOhSHm/Uwx2Ny/C1nhCn3jQhRwiOaXPDheaHeZ4nYWfKtb33SdXyzTEShkdqMIa5RTFl15haD30OWQtgFjET/AfQs7b4c1AUN2I5f2RJprBP5rqeh7KGEUPnm2U22JmlgB6X6dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fmINB4K0z4XpmGVSYmsonEZjzdFKl9dCaSTTyscJzC2AWXrQ0wjLa2EI8/FrsR77gbT3Dcge13cYCj9hpnVTVTEHVn6XUZBWuWI2O9SU2tg4mnpAeo7rYCJ+np0ol1cKqQtP+V5n6LLr25F7pGRqEYkeWj+rnjruC7XOxF4+6fg= Received: by 10.114.13.1 with SMTP id 1mr1603615wam.1195297562837; Sat, 17 Nov 2007 03:06:02 -0800 (PST) Received: by 10.114.175.11 with HTTP; Sat, 17 Nov 2007 03:06:02 -0800 (PST) Message-ID: Date: Sat, 17 Nov 2007 19:06:02 +0800 From: "Xiaofan Chen" To: "Hans Petter Selasky" In-Reply-To: <200711170938.28339.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071112095326.GA85828@tirith.brixandersen.dk> <200711170938.28339.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 11:06:08 -0000 On Nov 17, 2007 4:38 PM, Hans Petter Selasky wrote: > > Could you be a bit more specific? I know there are some missing calls > > in FreeBSD. And I have problems with libusb interrupt write with the > > default kernel (hangs). It is documented here. > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html > > But I am not so sure if it is a libusb problem or the kernel USB driver > > problem. > > The problem about clear stall on the interrupt endpoint is a pure device > problem. Your USB device must re-queue any lost interrupt packets after clear > stall! Sorry but that problem does not occur using the HPS stack but the stock FreeBSD 7 Current kernel (actually in FreeBSD 6.1 and 6.2 as well last time I tried it). Under HPS stack, it works. And I remember that Warner said that the Current kernel does not clear stall. Quote from http://lists.freebsd.org/pipermail/freebsd-usb/2007-July/003751.html Warner Losh wrote: "Remind me when is this clear endpoint stall sent? In 7.x we don't send one on pipe open unless the device is quirked to require one. On RELENG_6, at least as of today, we never send one on the open." Xiaofan From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 11:31:23 2007 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 3E13716A418 for ; Sat, 17 Nov 2007 11:31:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 49B0213C45B for ; Sat, 17 Nov 2007 11:31:21 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 692046564; Sat, 17 Nov 2007 12:31:15 +0100 From: Hans Petter Selasky To: "Xiaofan Chen" Date: Sat, 17 Nov 2007 12:31:45 +0100 User-Agent: KMail/1.9.7 References: <200711170938.28339.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711171231.46307.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 11:31:23 -0000 On Saturday 17 November 2007, Xiaofan Chen wrote: > On Nov 17, 2007 4:38 PM, Hans Petter Selasky wrote: > > > Could you be a bit more specific? I know there are some missing calls > > > in FreeBSD. And I have problems with libusb interrupt write with the > > > default kernel (hangs). It is documented here. > > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.htm > > >l But I am not so sure if it is a libusb problem or the kernel USB > > > driver problem. > > > > The problem about clear stall on the interrupt endpoint is a pure device > > problem. Your USB device must re-queue any lost interrupt packets after > > clear stall! > > Sorry but that problem does not occur using the HPS stack but the stock > FreeBSD 7 Current kernel (actually in FreeBSD 6.1 and 6.2 as well > last time I tried it). Under HPS stack, it works. > > And I remember that Warner said that the Current kernel does not clear > stall. Quote from > http://lists.freebsd.org/pipermail/freebsd-usb/2007-July/003751.html Warner > Losh wrote: > "Remind me when is this clear endpoint stall sent? In 7.x we don't > send one on pipe open unless the device is quirked to require one. On > RELENG_6, at least as of today, we never send one on the open." > > Xiaofan Ok, but is that with or without that patch I sent you for Ugen ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 13:32:01 2007 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 BB44016A41B for ; Sat, 17 Nov 2007 13:32:01 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 416E013C4B8 for ; Sat, 17 Nov 2007 13:32:00 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1426232waf for ; Sat, 17 Nov 2007 05:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=W8SN7x3boNvCVEXUwdy4DFE+CKsp+HhYKaeSRzqxzkk=; b=Gwudq7W/krKe6JVO2sPxjzoiHLjTIpe4FqmQfmbeSvSg6mTdQ/CLY0KRzNMWPACWV++MexznFNw+dpZmU5x4n7Xe+9OP4ng9zRTbaY2tBAqWPO5e0BlFsDHWHgveZIlEgYjI1L5SzCDy0kxbIapHFKgUMFB5jfiO8gUtIRbK7r8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dkU0gUjCTn4Ove4/L6U8RvTuUJFc9tlegvZXvK9pp1GoTixDMkr0Wi0sjM9fF1bavRXhKUwrQ7IoAHCyaCWiVKTtmUvOwt5i60/TX1iYjdKNx2dMbNSOYE/vQWM2Lmd9mCdfqgZy/S0gXX6nQ/Tt4Z0DdaO8oDhk1WYygEU9za0= Received: by 10.114.194.1 with SMTP id r1mr806324waf.1195306310799; Sat, 17 Nov 2007 05:31:50 -0800 (PST) Received: by 10.114.175.11 with HTTP; Sat, 17 Nov 2007 05:31:50 -0800 (PST) Message-ID: Date: Sat, 17 Nov 2007 21:31:50 +0800 From: "Xiaofan Chen" To: "Hans Petter Selasky" In-Reply-To: <200711171231.46307.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711170938.28339.hselasky@c2i.net> <200711171231.46307.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: OpenUSB for 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: Sat, 17 Nov 2007 13:32:01 -0000 On Nov 17, 2007 7:31 PM, Hans Petter Selasky wrote: > On Saturday 17 November 2007, Xiaofan Chen wrote: > > On Nov 17, 2007 4:38 PM, Hans Petter Selasky wrote: > > > > Could you be a bit more specific? I know there are some missing calls > > > > in FreeBSD. And I have problems with libusb interrupt write with the > > > > default kernel (hangs). It is documented here. > > > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.htm > > > >l But I am not so sure if it is a libusb problem or the kernel USB > > > > driver problem. > > > > > > The problem about clear stall on the interrupt endpoint is a pure device > > > problem. Your USB device must re-queue any lost interrupt packets after > > > clear stall! > > > > Sorry but that problem does not occur using the HPS stack but the stock > > FreeBSD 7 Current kernel (actually in FreeBSD 6.1 and 6.2 as well > > last time I tried it). Under HPS stack, it works. > > > > And I remember that Warner said that the Current kernel does not clear > > stall. Quote from > > http://lists.freebsd.org/pipermail/freebsd-usb/2007-July/003751.html Warner > > Losh wrote: > > "Remind me when is this clear endpoint stall sent? In 7.x we don't > > send one on pipe open unless the device is quirked to require one. On > > RELENG_6, at least as of today, we never send one on the open." > > > > Ok, but is that with or without that patch I sent you for Ugen ? > I need the single line patch for ugen. I understand that the firmware may still have the bug dealing with clear endpoint stall. It is documented here: http://mcuee.blogspot.com/2007/11/pk2cmd-ported-to-linux.html Xiaofan From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 16:00:08 2007 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 BFB0516A473 for ; Sat, 17 Nov 2007 16:00:08 +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 AF2E313C459 for ; Sat, 17 Nov 2007 16:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAHG086Z005816 for ; Sat, 17 Nov 2007 16:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAHG085p005815; Sat, 17 Nov 2007 16:00:08 GMT (envelope-from gnats) Date: Sat, 17 Nov 2007 16:00:08 GMT Message-Id: <200711171600.lAHG085p005815@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: fulvio ciriaco Cc: Subject: Re: usb/117955: plugging minolta dimage a2 crashes os X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fulvio ciriaco List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 16:00:08 -0000 The following reply was made to PR usb/117955; it has been noted by GNATS. From: fulvio ciriaco To: bug-followup@FreeBSD.org, oivulf@gmail.com Cc: Subject: Re: usb/117955: plugging minolta dimage a2 crashes os Date: Sat, 17 Nov 2007 16:15:11 +0100 more from kgdb #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) list *0xc0466f4b 0xc0466f4b is in xpt_done (/usr/src/sys/cam/cam_xpt.c:4856). 4851 * any of the "non-immediate" type of ccbs. 4852 */ 4853 sim = done_ccb->ccb_h.path->bus->sim; 4854 switch (done_ccb->ccb_h.path->periph->type) { 4855 case CAM_PERIPH_BIO: 4856 TAILQ_INSERT_TAIL(&sim->sim_doneq, &done_ccb->cc b_h, 4857 sim_links.tqe); 4858 done_ccb->ccb_h.pinfo.index = CAM_DONEQ_INDEX; 4859 if ((sim->flags & CAM_SIM_ON_DONEQ) == 0) { 4860 mtx_lock(&cam_simq_lock); (kgdb) backtrace #0 doadump () at pcpu.h:195 #1 0xc0730af6 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0730ce9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc09b946c in trap_fatal (frame=0xe30b5980, eva=0) at /usr/src/sys/i386/i386/trap.c:872 #4 0xc09b9663 in trap_pfault (frame=0xe30b5980, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:785 #5 0xc09b9ef5 in trap (frame=0xe30b5980) at /usr/src/sys/i386/i386/trap.c:463 #6 0xc09a1a5b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0466f4b in xpt_done (done_ccb=0xc4a5ec00) at /usr/src/sys/cam/cam_xpt.c:4856 #8 0xc046c9ce in probedone (periph=0xc502b580, done_ccb=Variable "done_ccb" is not available. ) at /usr/src/sys/cam/cam_xpt.c:6331 #9 0xc0468b0f in camisr_runqueue (V_queue=Variable "V_queue" is not available. ) at /usr/src/sys/cam/cam_xpt.c:7255 #10 0xc046cfdf in xpt_bus_deregister (pathid=1) at /usr/src/sys/cam/cam_xpt.c:4442 #11 0xc06b6300 in umass_cam_detach_sim (sc=0xc4faa600) at /usr/src/sys/dev/usb/umass.c:2694 at /usr/src/sys/cam/cam_xpt.c:4442 #11 0xc06b6300 in umass_cam_detach_sim (sc=0xc4faa600) at /usr/src/sys/dev/usb/umass.c:2694 #12 0xc06b63ad in umass_detach (self=0xc5024d00) at /usr/src/sys/dev/usb/umass.c:1542 #13 0xc074e9a8 in device_detach (dev=0xc5024d00) at device_if.h:212 #14 0xc06bc452 in usb_disconnect_port (up=0xc486d56c, parent=0xc4866500) at /usr/src/sys/dev/usb/usb_subr.c:1380 ---Type to continue, or q to quit--- #15 0xc06b3cbe in uhub_explore (dev=0xc4866580) at /usr/src/sys/dev/usb/uhub.c:462 #16 0xc06ba795 in usb_discover (v=Variable "v" is not available. ) at /usr/src/sys/dev/usb/usb.c:724 #17 0xc06bb047 in usb_event_thread (arg=0xc48dbbc0) at /usr/src/sys/dev/usb/usb.c:440 #18 0xc0716914 in fork_exit (callout=0xc06bafb0 , arg=0xc48dbbc0, frame=0xe30b5d38) at /usr/src/sys/kern/kern_fork.c:754 #19 0xc09a1ad0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) Fulvio Ciriaco