From owner-freebsd-usb@FreeBSD.ORG Sun Dec 30 00:26:32 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 57D2B16A418; Sun, 30 Dec 2007 00:26:32 +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 0B94C13C447; Sun, 30 Dec 2007 00:26:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5416D.dip.t-dialin.net [84.165.65.109]) by redbull.bpaserver.net (Postfix) with ESMTP id 008962E0EF; Sun, 30 Dec 2007 01:01:23 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 364427BAE6; Sun, 30 Dec 2007 01:01:20 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lBU01Jde044891; Sun, 30 Dec 2007 01:01:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from router1.Leidinger.net (router1.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Sun, 30 Dec 2007 01:01:19 +0100 Message-ID: <20071230010119.2pb0qqvx4w8s8o00@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Sun, 30 Dec 2007 01:01:19 +0100 From: Alexander Leidinger To: Mark Linimon References: <200712212341.44308@aldan> <200712221313.lBMDDx5M036478@lava.sentex.ca> <200712260038.11546@aldan> <20071226.003547.-932932005.imp@bsdimp.com> <1198689316.1119.382.camel@Particle> <20071226180415.GA27409@soaustin.net> In-Reply-To: <20071226180415.GA27409@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 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.3, required 6, BAYES_00 -15.00, J_CHICKENPOX_24 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: stable@freebsd.org, freebsd-bugbusters@freebsd.org, freebsd-usb@freebsd.org Subject: Re: PR backlog [was: Re: usb/umass, devfs: this sucks] 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, 30 Dec 2007 00:26:32 -0000 Quoting Mark Linimon (from Wed, 26 Dec 2007 12:04:15 -0600): > - The creation of a weekly posting "bugs the bugmeister team thinks are > ready for commit". This doesn't seem to have attracted the desired > attention. Perhaps this is a problem of "push" not being the right > solution here; perhaps it just hasn't been publicized enough. Where is/was this mail send to? Bye, Alexander. -- When I met th'POPE back in '58, I scrubbed him with a MILD SOAP or DETERGENT for 15 minutes. He seemed to enjoy it ... 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 Dec 30 04:26: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 E314816A41A; Sun, 30 Dec 2007 04:26:02 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id C03C913C447; Sun, 30 Dec 2007 04:26:02 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 4F7F28C138; Sat, 29 Dec 2007 22:26:02 -0600 (CST) Date: Sat, 29 Dec 2007 22:26:02 -0600 To: Alexander Leidinger Message-ID: <20071230042602.GA32282@soaustin.net> References: <200712212341.44308@aldan> <200712221313.lBMDDx5M036478@lava.sentex.ca> <200712260038.11546@aldan> <20071226.003547.-932932005.imp@bsdimp.com> <1198689316.1119.382.camel@Particle> <20071226180415.GA27409@soaustin.net> <20071230010119.2pb0qqvx4w8s8o00@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071230010119.2pb0qqvx4w8s8o00@webmail.leidinger.net> User-Agent: Mutt/1.5.13 (2006-08-11) From: linimon@lonesome.com (Mark Linimon) Cc: Mark Linimon , stable@freebsd.org, freebsd-bugbusters@freebsd.org, freebsd-usb@freebsd.org Subject: Re: PR backlog [was: Re: usb/umass, devfs: this sucks] 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, 30 Dec 2007 04:26:03 -0000 On Sun, Dec 30, 2007 at 01:01:19AM +0100, Alexander Leidinger wrote: > Quoting Mark Linimon (from Wed, 26 Dec 2007 > 12:04:15 -0600): > > > - The creation of a weekly posting "bugs the bugmeister team thinks are > > ready for commit". This doesn't seem to have attracted the desired > > attention. Perhaps this is a problem of "push" not being the right > > solution here; perhaps it just hasn't been publicized enough. > > Where is/was this mail send to? To: freebsd-bugbusters@FreeBSD.org Subject: PRs recommended for committer evaluation by the bugbusting team It's sent out weekly. mcl From owner-freebsd-usb@FreeBSD.ORG Sun Dec 30 04:40: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 C696A16A421 for ; Sun, 30 Dec 2007 04:40: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 A87C213C478 for ; Sun, 30 Dec 2007 04:40: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.2/8.14.2) with ESMTP id lBU4e1UJ027318 for ; Sun, 30 Dec 2007 04:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBU4e1j2027317; Sun, 30 Dec 2007 04:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 30 Dec 2007 04:40:01 GMT Resent-Message-Id: <200712300440.lBU4e1j2027317@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, Mario Sergio Fujikawa Ferreira Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F8816A421 for ; Sun, 30 Dec 2007 04:32:22 +0000 (UTC) (envelope-from lioux@uol.com.br) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id EF83013C4D3 for ; Sun, 30 Dec 2007 04:32:21 +0000 (UTC) (envelope-from lioux@uol.com.br) Received: from 201.67.55.174 (201-67-55-174.bsace702.dsl.brasiltelecom.net.br [201.67.55.174]) by goat.gigo.com (Postfix) with ESMTP id D7270B848 for ; Sat, 29 Dec 2007 20:14:25 -0800 (PST) Received: (qmail 79250 invoked by uid 1001); 30 Dec 2007 02:14:03 -0200 Message-Id: <20071230041403.79157.qmail@exxodus.fedaykin.here> Date: 30 Dec 2007 02:14:03 -0200 From: Mario Sergio Fujikawa Ferreira To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/119150: [ugensa] [patch] new usbdevs for CDMA 1xEVDO devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mario Sergio Fujikawa Ferreira List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 04:40:02 -0000 >Number: 119150 >Category: usb >Synopsis: [ugensa] [patch] new usbdevs for CDMA 1xEVDO devices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 30 04:40:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 7.0-PRERELEASE i386 >Organization: >Environment: System: FreeBSD exxodus.fedaykin.here 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #29: Thu Dec 27 08:23:15 BRST 2007 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386 >Description: Entries for 2 EVDO devices 1) Yiso Co. - CDMA 2000 1xEVDO PC Card model C893 2) ZTE - CDMA 1xEVDO USB modem model AC8700 (re-branded Aiko 76e as well). Both devices are readily available on Brazil for use with our biggest Mobile TELCO. These will be used by the future ugensa(4) device. >How-To-Repeat: Apply the following patch against src/sys/dev/usb/usbdevs >Fix: --- patch-usbdevs begins here --- --- usbdevs.orig 2007-12-30 01:16:17.000000000 -0200 +++ usbdevs 2007-12-30 02:01:56.000000000 -0200 @@ -521,6 +521,7 @@ vendor FOSSIL 0x0e67 Fossil, Inc vendor GMATE 0x0e7e G.Mate, Inc vendor OTI 0x0ea0 Ours Technology +vendor YISO 0x0eab Yiso Wireless Co. vendor PILOTECH 0x0eaf Pilotech vendor NOVATECH 0x0eb0 NovaTech vendor ITEGNO 0x0eba iTegno @@ -611,6 +612,7 @@ vendor AMIT 0x18c5 AMIT vendor QCOM 0x18e8 Qcom vendor LINKSYS3 0x1915 Linksys +vendor ZTE 0x19d2 ZTE vendor DLINK 0x2001 D-Link vendor PLANEX2 0x2019 Planex Communications vendor ERICSSON 0x2282 Ericsson @@ -2286,6 +2288,9 @@ /* Y-E Data products */ product YEDATA FLASHBUSTERU 0x0000 Flashbuster-U +/* Yiso Wireless Co. products */ +product YISO C893 0xc893 CDMA 2000 1xEVDO PC Card + /* Yamaha products */ product YAMAHA UX256 0x1000 UX256 MIDI I/F product YAMAHA UX96 0x1008 UX96 MIDI I/F @@ -2316,6 +2321,9 @@ /* Zoran Microelectronics products */ product ZORAN EX20DSC 0x4343 Digital Camera EX-20 DSC +/* ZTE products */ +product ZTE AC8700 0xfffe CDMA 1xEVDO USB modem + /* Zydas Technology Corporation products */ product ZYDAS ZD1211 0x1211 ZD1211 WLAN abg product ZYDAS ZD1211B 0x1215 ZD1211B --- patch-usbdevs ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun Dec 30 12:26:15 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 742F616A41A; Sun, 30 Dec 2007 12:26:15 +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 223F213C442; Sun, 30 Dec 2007 12:26:14 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5416D.dip.t-dialin.net [84.165.65.109]) by redbull.bpaserver.net (Postfix) with ESMTP id 8C8AC2E0EF; Sun, 30 Dec 2007 13:25:53 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 758997F5F5; Sun, 30 Dec 2007 13:25:48 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lBUCPlBU072575; Sun, 30 Dec 2007 13:25:47 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from router1.Leidinger.net (router1.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Sun, 30 Dec 2007 13:25:47 +0100 Message-ID: <20071230132547.3i4xvitdwg88g8ck@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Sun, 30 Dec 2007 13:25:47 +0100 From: Alexander Leidinger To: Mark Linimon References: <200712212341.44308@aldan> <200712221313.lBMDDx5M036478@lava.sentex.ca> <200712260038.11546@aldan> <20071226.003547.-932932005.imp@bsdimp.com> <1198689316.1119.382.camel@Particle> <20071226180415.GA27409@soaustin.net> <20071230010119.2pb0qqvx4w8s8o00@webmail.leidinger.net> <20071230042602.GA32282@soaustin.net> In-Reply-To: <20071230042602.GA32282@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 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 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: stable@freebsd.org, freebsd-bugbusters@freebsd.org, freebsd-usb@freebsd.org Subject: Re: PR backlog [was: Re: usb/umass, devfs: this sucks] 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, 30 Dec 2007 12:26:15 -0000 Quoting Mark Linimon (from Sat, 29 Dec 2007 =20 22:26:02 -0600): > On Sun, Dec 30, 2007 at 01:01:19AM +0100, Alexander Leidinger wrote: >> Quoting Mark Linimon (from Wed, 26 Dec 2007 >> 12:04:15 -0600): >> >> > - The creation of a weekly posting "bugs the bugmeister team thinks are >> > ready for commit". This doesn't seem to have attracted the desired >> > attention. Perhaps this is a problem of "push" not being the right >> > solution here; perhaps it just hasn't been publicized enough. >> >> Where is/was this mail send to? > > To: freebsd-bugbusters@FreeBSD.org > Subject: PRs recommended for committer evaluation by the bugbusting team > > It's sent out weekly. So only people which are on bugbusters@ receive it. If someone is =20 interested in this but is not interested in the other bugbusters@ =20 mails, they will not see it. What about an experiment: send those mails (additionally) to hackers@ =20 or current@. Bye, Alexander. --=20 Beware of self-styled experts: an ex is a has-been, and a spurt is a drip under pressure. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 00:54:45 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 C567316A41A for ; Mon, 31 Dec 2007 00:54:45 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from av10-2-sn2.hy.skanova.net (av10-2-sn2.hy.skanova.net [81.228.8.182]) by mx1.freebsd.org (Postfix) with ESMTP id 84AB513C47E for ; Mon, 31 Dec 2007 00:54:45 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: by av10-2-sn2.hy.skanova.net (Postfix, from userid 502) id DA93B39594; Mon, 31 Dec 2007 01:54:43 +0100 (CET) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av10-2-sn2.hy.skanova.net (Postfix) with ESMTP id B8D6439536; Mon, 31 Dec 2007 01:54:43 +0100 (CET) Received: from [192.168.0.2] (81-235-156-87-no29.tbcn.telia.com [81.235.156.87]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 57E2C37E45; Mon, 31 Dec 2007 01:54:43 +0100 (CET) From: Henrik Gulbrandsen To: ticso@cicely.de In-Reply-To: <20071227201515.GC31522@cicely12.cicely.de> References: <1198689316.1119.382.camel@Particle> <20071226.114812.1649771240.imp@bsdimp.com> <1198713403.1119.414.camel@Particle> <20071226.174523.1326317191.imp@bsdimp.com> <1198781185.1119.478.camel@Particle> <20071227201515.GC31522@cicely12.cicely.de> Content-Type: text/plain Date: Mon, 31 Dec 2007 01:53:10 +0100 Message-Id: <1199062390.75510.12.camel@Particle> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: READ_CAPACITY_OFFBY1 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, 31 Dec 2007 00:54:45 -0000 On Thu, 2007-12-27 at 21:15 +0100, Bernd Walter wrote: > This is my cellphone with a 2GB micro-SD: > da9 at umass-sim3 bus 3 target 0 lun 0 > da9: < > Removable Direct Access SCSI-0 device > da9: 1.000MB/s transfers > da9: 1950MB (3994377 512 byte sectors: 255H 63S/T 248C) > > It offers not the complete media - it offers the slice as the whole > media, so theoretically I can adjust the drive size by any number of > blocks. I hate when reality interferes with a clean design! :-) OK. I'm convinced. We might still use heuristics as a hint for future bug hunters, but I'm not going to worry about that for the moment. This is the quirk patch needed for the 128 MB Creative MuVo device (where "MB" seems to be 1024000 bytes...). I hope email formatting works. PR usb/78984 can hopefully be closed once this is applied. /Henrik =============================================================================== --- sys/dev/usb/umass.c.orig 2007-12-29 11:13:06.000000000 +0100 +++ sys/dev/usb/umass.c 2007-12-29 14:37:57.000000000 +0100 @@ -374,6 +374,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE }, + { USB_VENDOR_CREATIVE, USB_PRODUCT_CREATIVE_NOMAD, 0x001, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + READ_CAPACITY_OFFBY1 + }, { USB_VENDOR_DESKNOTE, USB_PRODUCT_DESKNOTE_UCR_61S2B, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_QUIRKS =============================================================================== From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 01:35:52 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 487D016A419 for ; Mon, 31 Dec 2007 01:35:52 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from av8-1-sn3.vrr.skanova.net (av8-1-sn3.vrr.skanova.net [81.228.9.183]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8A013C46B for ; Mon, 31 Dec 2007 01:35:52 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id A0AF2388E5; Mon, 31 Dec 2007 02:35:50 +0100 (CET) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 209B437E64; Mon, 31 Dec 2007 02:35:50 +0100 (CET) Received: from [192.168.0.2] (81-235-156-87-no29.tbcn.telia.com [81.235.156.87]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id DC4C037E4B; Mon, 31 Dec 2007 02:35:49 +0100 (CET) From: Henrik Gulbrandsen To: freebsd-usb Content-Type: text/plain Date: Mon, 31 Dec 2007 02:34:17 +0100 Message-Id: <1199064857.75510.43.camel@Particle> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: usb/46176: Let's save the horse! 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, 31 Dec 2007 01:35:52 -0000 I have uploaded an updated version of the patch set: http://www.gulbra.net/freebsd-usb/umass2.tar.gz Apparently, the original patches didn't help much for the latest version of FreeBSD-CURRENT, but this version seems to do the trick. I have tried it with 1001 attach/detach iterations and didn't get a single error. 1001 iterations correspond to about two and a half hours of manual testing, so that's about as far as I'm prepared to go for today! :-) As before, here is a quick overview of the contents of umass2.tar.gz: etc/devd.conf.patch: Hurray! I've updated it to use devd.conf instead of the obsoleted usbd.conf file. This also means that the usb_subr.c patch is no longer needed for things to work in this version. etc/devd/umass: Other things in devd.conf seem to have their scripts in the rc.d directory, but I didn't want to think about that now, so the umass script has simply been moved from etc/usbd to etc/devd. Also, the original script had a bug: I had forgotten to initialize the user data before attempting to execute the user's .umass script after detaching. In the current version, user info is fetched from the device directory. src/msdosfs_vfsops.c.patch: The msdosfs_vfsops.c file had changed in a radical way, so this is a new patch that should do about the same thing as the corresponding patch in the original patch set. src/scsi_da.c.patch: I couldn't help noticing that detaching failed miserably in the latest CURRENT. Basically, the unmount call attempted to close the da device, but crashed because the SCSI Interface Module was already gone. This patch tries to solve it by explicitly calling daclose as soon as the AC_LOST_DEVICE event is received. I'm hoping to get away with it, since everything happens within the da device driver, but some extra code review would probably not hurt... /Henrik From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 11:07: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 0134C16A50A for ; Mon, 31 Dec 2007 11:07:08 +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 E2AD113C461 for ; Mon, 31 Dec 2007 11:07:07 +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 lBVB77Lk037513 for ; Mon, 31 Dec 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBVB77Fm037509 for freebsd-usb@FreeBSD.org; Mon, 31 Dec 2007 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Dec 2007 11:07:07 GMT Message-Id: <200712311107.lBVB77Fm037509@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, 31 Dec 2007 11:07:08 -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 2 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/117150 usb [zyd] usb zyd device under moderate load panics system 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/117946 usb D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BETA2 o usb/117955 usb plugging minolta dimage a2 crashes os o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb usb serial and nokia phones ucomreadcb ucomreadcb: IOE o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118391 usb Add uscanner ID for Epson CX4800 o usb/118480 usb Timeout in USB mass storage freezes vfs layer or crash o usb/119018 usb HP ScanJet 4300C found as knowndev but not recognized 114 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/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb USB/fusefs -- Fatal trap 12: page fault while in kerne o usb/117185 usb [patch] [umodem] Add support for UNION interface descr 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 o usb/118098 usb 6th gen iPod causes problems when disconnecting. o usb/118374 usb Patch to support Option GlobeTrotter Max 3.6 wireless o usb/118479 usb ubsa driver does not recognize AnyDATA ADU-500A o usb/118485 usb Logitech Headset Workaround o usb/118571 usb BTX issues when booting FreeBSD 7 from a USB CD-ROM o usb/118670 usb Razer Copperhead Laser Mouse shows up as keyboard o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118741 usb [PATCH] Support for Nikon D300 digital camera (as USB p usb/118915 usb usbhidctl appears to not report features and write siz o usb/119002 usb add "ucp" driver support o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices 124 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 12:47:21 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 DEE6116A418 for ; Mon, 31 Dec 2007 12:47:21 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id CD73213C448 for ; Mon, 31 Dec 2007 12:47:21 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from 201.67.55.174 (201-67-55-174.bsace702.dsl.brasiltelecom.net.br [201.67.55.174]) by goat.gigo.com (Postfix) with ESMTP id 9C3C0B850 for ; Mon, 31 Dec 2007 04:31:40 -0800 (PST) Received: (qmail 5750 invoked from network); 31 Dec 2007 10:31:05 -0200 Received: from unknown (HELO exxodus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 31 Dec 2007 10:31:05 -0200 Message-ID: <4778E109.2060209@uol.com.br> Date: Mon, 31 Dec 2007 10:31:05 -0200 From: Mario Sergio Fujikawa Ferreira User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: RFC: ugensa(4) driver ported from NetBSD 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, 31 Dec 2007 12:47:22 -0000 Hi, I wrote a simple port of the NetBSD ugensa(4) driver: USB generic serial adapter http://www.daemon-systems.org/man/ugensa.4.html I would like for you to review the "ported" kernel module. The file can be found at http://people.FreeBSD.org/~lioux/ugensa.tar.gz The files are as follow: - Modified kernel module for FreeBSD based on src/sys/dev/usb/uplcom.c ugensa/ugensa.c - Original NetBSD kernel module ugensa/ugensa.c.orig - Some header definitions while usbdevs is not updated ugensa/ugensa.h Unfortunally, I haven't been able to test this module since it means that I have to buy one of the supported devices. It is a chicken-n-egg problem..... Nevertheless, I would like to know if I made any obvious mistakes on the module porting. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 14:42:32 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 8272A16A417 for ; Mon, 31 Dec 2007 14:42:32 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 44EFA13C467 for ; Mon, 31 Dec 2007 14:42:31 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id lBVEgVw1062654; Mon, 31 Dec 2007 09:42:31 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lBVEgUSv092620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Dec 2007 09:42:30 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712311442.lBVEgUSv092620@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 31 Dec 2007 09:40:36 -0500 To: Mario Sergio Fujikawa Ferreira , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <4778E109.2060209@uol.com.br> References: <4778E109.2060209@uol.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: RFC: ugensa(4) driver ported from NetBSD 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, 31 Dec 2007 14:42:32 -0000 At 07:31 AM 12/31/2007, Mario Sergio Fujikawa Ferreira wrote: >Hi, > > I wrote a simple port of the NetBSD ugensa(4) driver: USB generic > serial adapter > >http://www.daemon-systems.org/man/ugensa.4.html > > I would like for you to review the "ported" kernel module. The > file can be found at Hi, I will give it a try! I have a few such devices that I have been using on FreeBSD with the driver at http://www.cs.cmu.edu/~dga/dot/fbsd_pc5220/ugencom.c It would be great if this could be part of the base of FreeBSD! ---Mike >http://people.FreeBSD.org/~lioux/ugensa.tar.gz > > The files are as follow: > >- Modified kernel module for FreeBSD based on src/sys/dev/usb/uplcom.c >ugensa/ugensa.c >- Original NetBSD kernel module >ugensa/ugensa.c.orig >- Some header definitions while usbdevs is not updated >ugensa/ugensa.h > > Unfortunally, I haven't been able to test this module since it > means that I have to buy one of the supported devices. It is a > chicken-n-egg problem..... Nevertheless, I would like to know if I > made any obvious mistakes on the module porting. > > Regards, > >-- >Mario S F Ferreira - DF - Brazil - "I guess this is a signature." >feature, n: a documented bug | bug, n: an undocumented feature >_______________________________________________ >freebsd-usb@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-usb >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 16:13: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 EBE9816A46B for ; Mon, 31 Dec 2007 16:13:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 95C9613C45D for ; Mon, 31 Dec 2007 16:13:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id lBVGD7LF079242; Mon, 31 Dec 2007 11:13:07 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lBVGD7tG092983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Dec 2007 11:13:07 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712311613.lBVGD7tG092983@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 31 Dec 2007 11:11:13 -0500 To: Mario Sergio Fujikawa Ferreira , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <4778E109.2060209@uol.com.br> References: <4778E109.2060209@uol.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: RFC: ugensa(4) driver ported from NetBSD 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, 31 Dec 2007 16:13:09 -0000 At 07:31 AM 12/31/2007, Mario Sergio Fujikawa Ferreira wrote: >Hi, > > I wrote a simple port of the NetBSD ugensa(4) driver: USB generic > serial adapter > >http://www.daemon-systems.org/man/ugensa.4.html > > I would like for you to review the "ported" kernel module. The > file can be found at Hi, I added the defs for my Sierra 875, but the box panics up when I connect to the port # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AMD(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, Mini Card(0x6812), Sierra Wireless, Incorporated(0x1199), rev 0.01 ugensa0: on uhub0 ugensa0: unexpected endpoint Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04de493 stack pointer = 0x28:0xccea3974 frame pointer = 0x28:0xccea39a4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 990 (cu) trap number = 12 panic: page fault Uptime: 2m34s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort ---Mike >http://people.FreeBSD.org/~lioux/ugensa.tar.gz > > The files are as follow: > >- Modified kernel module for FreeBSD based on src/sys/dev/usb/uplcom.c >ugensa/ugensa.c >- Original NetBSD kernel module >ugensa/ugensa.c.orig >- Some header definitions while usbdevs is not updated >ugensa/ugensa.h > > Unfortunally, I haven't been able to test this module since it > means that I have to buy one of the supported devices. It is a > chicken-n-egg problem..... Nevertheless, I would like to know if I > made any obvious mistakes on the module porting. > > Regards, > >-- >Mario S F Ferreira - DF - Brazil - "I guess this is a signature." >feature, n: a documented bug | bug, n: an undocumented feature >_______________________________________________ >freebsd-usb@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-usb >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 16:53: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 C71AD16A418 for ; Mon, 31 Dec 2007 16:53:31 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 715DF13C442 for ; Mon, 31 Dec 2007 16:53:31 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id lBVGrTCh099084; Mon, 31 Dec 2007 11:53:29 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lBVGrSmr093171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Dec 2007 11:53:29 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712311653.lBVGrSmr093171@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 31 Dec 2007 11:51:34 -0500 To: Mario Sergio Fujikawa Ferreira , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <200712311613.lBVGD7tG092983@lava.sentex.ca> References: <4778E109.2060209@uol.com.br> <200712311613.lBVGD7tG092983@lava.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: RFC: ugensa(4) driver ported from NetBSD 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, 31 Dec 2007 16:53:31 -0000 At 11:11 AM 12/31/2007, Mike Tancsa wrote: >At 07:31 AM 12/31/2007, Mario Sergio Fujikawa Ferreira wrote: >>Hi, >> >> I wrote a simple port of the NetBSD ugensa(4) driver: USB >> generic serial adapter >> >>http://www.daemon-systems.org/man/ugensa.4.html >> >> I would like for you to review the "ported" kernel module. The >> file can be found at > Some more details Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04eb6d3 stack pointer = 0x28:0xcc5ae958 frame pointer = 0x28:0xcc5ae988 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 847 (cu) [thread pid 847 tid 100062 ] Stopped at usbd_open_pipe_ival+0x13: movl 0x4(%eax),%eax db> bt Tracing pid 847 tid 100062 td 0xc1dfc210 usbd_open_pipe_ival(c1d74390,ffffffff,cc5ae9bc,c04de072,0,...) at usbd_open_pipe_ival+0x13 usbd_open_pipe(0,85,0,c1d74390,c1d7a800,...) at usbd_open_pipe+0x24 ucomopen(c1d7a800,c1d76400,0,c2346dd0,cc5ae9f4,...) at ucomopen+0xa2 ttyopen(c1d76400,7,2000,c1dfc210,0,...) at ttyopen+0x286 giant_open(c1d76400,7,2000,c1dfc210,cc5aea50,...) at giant_open+0x73 devfs_open(cc5aea8c,cc5aeb1c,c05ca5a7,c074dbe0,cc5aea8c,...) at devfs_open+0x21f VOP_OPEN_APV(c074dbe0,cc5aea8c,cc5aea84,c1dadaa0,c2346dd0,...) at VOP_OPEN_APV+0x42 vn_open_cred(cc5aeb80,cc5aec78,94c,c22ba800,c1e2a750,...) at vn_open_cred+0x487 vn_open(cc5aeb80,cc5aec78,94c,c1e2a750,c22ba800,...) at vn_open+0x33 kern_open(c1dfc210,bfbfed56,0,7,bfbfeb4c,...) at kern_open+0xc4 open(c1dfc210,cc5aecfc,c,16,cc5aed2c,...) at open+0x30 syscall(cc5aed38) at syscall+0x317 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x28145f1b, esp = 0xbfbfeb3c, ebp = 0xbfbfeb88 --- From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 20:50: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 935DD16A41A for ; Mon, 31 Dec 2007 20:50: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 6F32E13C447 for ; Mon, 31 Dec 2007 20:50: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.2/8.14.2) with ESMTP id lBVKo0wN017103 for ; Mon, 31 Dec 2007 20:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBVKo0Vg017102; Mon, 31 Dec 2007 20:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 31 Dec 2007 20:50:00 GMT Resent-Message-Id: <200712312050.lBVKo0Vg017102@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, Peter Jeremy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2871616A418 for ; Mon, 31 Dec 2007 20:48:13 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id B0A5313C442 for ; Mon, 31 Dec 2007 20:48:11 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id lBVKmAh4003628; Tue, 1 Jan 2008 07:48:10 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id lBVKmAWo003627; Tue, 1 Jan 2008 07:48:10 +1100 (EST) (envelope-from peter) Message-Id: <200712312048.lBVKmAWo003627@turion.vk2pj.dyndns.org> Date: Tue, 1 Jan 2008 07:48:10 +1100 (EST) From: Peter Jeremy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/119201: [patch] Quirksfor Olympus FE-210 camera, LG and Laser MP3 players X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Jeremy List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 20:50:01 -0000 >Number: 119201 >Category: usb >Synopsis: [patch] Quirksfor Olympus FE-210 camera, LG and Laser MP3 players >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 31 20:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: n/a >Environment: System: FreeBSD turion.vk2pj.dyndns.org 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #8: Thu Dec 27 19:17:16 EST 2007 root@:/usr/obj/6_amd64/usr/src/sys/turion i386 Also affects amd64 >Description: The Olympus FE-210 camera, LG UP3S MP3 player and Laser MP3-2GA13 MP3 player all hang on the SCSI Sync Cache command and require quirks to operate with FreeBSD. >How-To-Repeat: Plug device in and attempt I/O >Fix: Index: scsi_da.c =================================================================== RCS file: /usr/ncvs/src/sys/cam/scsi/scsi_da.c,v retrieving revision 1.180.2.13 diff -u -r1.180.2.13 scsi_da.c --- scsi_da.c 25 May 2007 20:14:02 -0000 1.180.2.13 +++ scsi_da.c 27 Dec 2007 08:13:56 -0000 @@ -475,6 +475,27 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "EM732X", "MP3 Player*", "1.0"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * Olympus FE-210 camera + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "FE210*", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* + * LG UP3S MP3 player + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "LG", "UP3S", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* + * Laser MP3-2GA13 MP3 player + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB 2.0", "(HS) Flash Disk", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; >Release-Note: >Audit-Trail: >Unformatted: