From owner-freebsd-usb@FreeBSD.ORG Sun Dec 3 00:51:12 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81A6D16A568; Sun, 3 Dec 2006 00:51:12 +0000 (UTC) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 2F3A843C9D; Sun, 3 Dec 2006 00:50:47 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 3 Dec 2006 00:51:10 +0000 (GMT) To: Alfred Perlstein In-Reply-To: Your message of "Fri, 01 Dec 2006 11:17:31 PST." <20061201191731.GR38808@elvis.mu.org> Date: Sun, 03 Dec 2006 00:51:09 +0000 From: Ian Dowse Message-ID: <200612030051.aa75264@nowhere.iedowse.com> Cc: freebsd-smp@freebsd.org, freebsd-usb@freebsd.org Subject: Re: RFC: Fixing USB ethernet for FreeBSD 7.0. 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, 03 Dec 2006 00:51:12 -0000 In message <20061201191731.GR38808@elvis.mu.org>, Alfred Perlstein writes: >I recently had the displeasure of trying to use an USB etherdongle >under FreeBSD. Result: panic when the interface was started. > >I fixed it using a stopgap: > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/if_aue.c?rev=1.101&conte >nt-type=text/x-cvsweb-markup > >There are still some major issues: >1) requires Giant. >2) several error paths will still panic the kernel. > >I would like to fix them, however that does not seem easy given the >existing infrastructure. FYI, some USB ethernet drivers are better than others in this respect - for example, axe(4) uses sx locks and task queues to avoid the worst of the issues. The problems remaining in axe are that the error recovery code in axe_encap should use a task queue, and there are some cases where if_ioctl routines are called with other locks held. On the issue of calling if_ioctl while holding locks, I think this can happen when if_addmulti() holds locks and calls if_ioctl to synchronise the hardware with the software state from ifp->if_multiaddrs. Almost all other if_ioctl calls occur in a context where blocking is allowed, so it may be possible to rework the if_addmulti() code paths so that the outer ioctl() code could first update the software state, release locks and then perform the if_ioctl to synchronise the hardware state. >Statement #2: >Using callbacks to do all IO during an interrupt is programatically >complex and painful. For instance, take the case of the following >code pulled from aue_stop() (which can be called from interrupt >context): Note though that most USB ethernet devices require just a single USB transfer per packet, so it's typically only during error recovery and setup that asynchronous I/O is too tricky. That's probably easy enough to fix with a queued task, and since error recovery is rare it doesn't matter too much if many devices share a task queue. If there are devices requiring multiple commands to be sent during normal sending/receiving of packets then you'd probably also want a separate thread for the TX and RX paths if you were to do the commands synchronously. Ian From owner-freebsd-usb@FreeBSD.ORG Sun Dec 3 14:20:58 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B285A16A500 for ; Sun, 3 Dec 2006 14:20:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84DBE43C9D for ; Sun, 3 Dec 2006 14:20:31 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8EF181CD58; Sun, 3 Dec 2006 15:20:57 +0100 (CET) Date: Sun, 3 Dec 2006 15:20:57 +0100 From: Ed Schouten To: freebsd-usb@freebsd.org Message-ID: <20061203142057.GL16100@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mESvsTwIEF2q5u1f" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Request for MFC in ulpt 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, 03 Dec 2006 14:20:58 -0000 --mESvsTwIEF2q5u1f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everyone, This afternoon I was trying to get a HP Deskjet 5440 printer working on FreeBSD 5.5. For some reason, this driver still has a bug that has been fixed in 6.x and higher. All reads from the device will hang forever with status ulptrd. This is because of a very small typo. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ulpt.c.diff?r1=3D1.66= &r2=3D1.66.2.1 Because the patch is so small, could it be merged to RELENG_5 as well? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --mESvsTwIEF2q5u1f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFct1J52SDGA2eCwURAhcVAJ9DqEJsZdLgpPkMdAN+ijJqUPfMGwCfTffc Y0QpGbgnD1EE7FroLz9tVDU= =QEpK -----END PGP SIGNATURE----- --mESvsTwIEF2q5u1f-- From owner-freebsd-usb@FreeBSD.ORG Sun Dec 3 16:48:03 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3558A16A403 for ; Sun, 3 Dec 2006 16:48:03 +0000 (UTC) (envelope-from vitaliy@efir.od.ua) Received: from ns.it.odessa.ua (ns.it.odessa.ua [195.128.182.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ECE944046 for ; Sun, 3 Dec 2006 16:36:14 +0000 (GMT) (envelope-from vitaliy@efir.od.ua) Received: from localhost (localhost.it.odessa.ua [127.0.0.1]) by ns.it.odessa.ua (Postfix) with ESMTP id 182731BAE5E for ; Sun, 3 Dec 2006 18:38:11 +0200 (EET) X-Virus-Scanned: amavisd-new at it.odessa.ua Received: from ns.it.odessa.ua ([127.0.0.1]) by localhost (ns.it.odessa.ua [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zSMCgA2wBNoR for ; Sun, 3 Dec 2006 18:38:10 +0200 (EET) Received: from [127.0.0.1] (unknown [195.128.182.22]) by ns.it.odessa.ua (Postfix) with ESMTP id 637B51BACC1 for ; Sun, 3 Dec 2006 18:38:09 +0200 (EET) Message-ID: <4572FCFC.6010105@efir.od.ua> Date: Sun, 03 Dec 2006 18:36:12 +0200 From: =?KOI8-R?Q?=F7=C9=D4=C1=CC=C9=CB?= User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 03 Dec 2006 17:32:25 +0000 Subject: Question!!! 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, 03 Dec 2006 16:48:03 -0000 Hello! Sorry me my bed english:) Please, help my! Driver for usb cable cp2101 (cable to CDMA Phone) From owner-freebsd-usb@FreeBSD.ORG Sun Dec 3 19:06:09 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C33916A47B for ; Sun, 3 Dec 2006 19:06:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED83143CC7 for ; Sun, 3 Dec 2006 19:05:28 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kB3J5Z1U094323; Sun, 3 Dec 2006 12:05:35 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 03 Dec 2006 12:06:28 -0700 (MST) Message-Id: <20061203.120628.-116096346.imp@bsdimp.com> To: vitaliy@efir.od.ua From: "M. Warner Losh" In-Reply-To: <4572FCFC.6010105@efir.od.ua> References: <4572FCFC.6010105@efir.od.ua> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 03 Dec 2006 12:05:35 -0700 (MST) Cc: freebsd-usb@freebsd.org Subject: Re: Question!!! 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, 03 Dec 2006 19:06:09 -0000 In message: <4572FCFC.6010105@efir.od.ua> =F7=C9=D4=C1=CC=C9=CB writes: : Hello! Sorry me my bed english:) Please, help my! Driver for usb cabl= e = : cp2101 (cable to CDMA Phone) Try loading ucom, uftdi, uplcom and umodem. Chances are good one of these three is for your phone. Warner From owner-freebsd-usb@FreeBSD.ORG Mon Dec 4 08:04:13 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7128716A4A7 for ; Mon, 4 Dec 2006 08:04:13 +0000 (UTC) (envelope-from karenudomingue@paladindata.com) Received: from marsvenus.de (2Cust16.dub2.alter.net [62.125.89.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 6FD1243CA6 for ; Mon, 4 Dec 2006 08:03:18 +0000 (GMT) (envelope-from karenudomingue@paladindata.com) Message-ID: <01c71772$6ce36160$2101a8c0@kofd> Date: Mon, 4 Dec 2006 08:04:22 +0100 X-MSMail-Priority: Normal X-Priority: 3 From: "Seve Carrasquillo" To: MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_000C_01C71779.96EEC2E0" Content-Location: http://seek2.zootseek.com/d4/body2.html X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: paravan runu X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Seve Carrasquillo List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 08:04:13 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C71779.96EEC2E0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable dear, welcome. I would stand to greet you, but only with difficulty. turned back and spread his arms wide. We were slammed back into our seats and were on our way. High and You have to close your gob. Look at these orders. Do as instructed. The elevator they hustled me to had not been marked on the map issued Nothing important, I sand, stifling a yawn at the unimportance of beginning when the explosion occurred. End of report. never can. the male sex. I would appreciate samples from your associates. was in the open long enough for a brief transmission. It looks alien enough to be alien, I said. Looking at it was ------=_NextPart_000_000C_01C71779.96EEC2E0-- From owner-freebsd-usb@FreeBSD.ORG Mon Dec 4 11:09:34 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 184C316A492 for ; Mon, 4 Dec 2006 11:09:34 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EAC943D62 for ; Mon, 4 Dec 2006 11:08:20 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB4B8pIn045566 for ; Mon, 4 Dec 2006 11:08:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB4B8nBL045562 for freebsd-usb@FreeBSD.org; Mon, 4 Dec 2006 11:08:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Dec 2006 11:08:49 GMT Message-Id: <200612041108.kB4B8nBL045562@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 04 Dec 2006 11:09:34 -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/40792 usb signals lead to data loss on device ugen 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 f usb/55555 usb [ums] system freezes with access to /dev/ums0 o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/62309 usb [ugen] [panic] panic: ugen(4) driver 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 f usb/76204 usb panic while using usb attached modem o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should f usb/76684 usb [hang] Toshiba PDR-M4 camera connected via USB hangs s o usb/77184 usb kernel panic on USB device disconnect o usb/77294 usb ucom + ulpcom panic o usb/77940 usb [patch] [panic] insertion of usb keyboard panics syste f i386/78218 usb [kue] kue not detected on Sony PCG-F370 VAIO o usb/78989 usb please add USB keyboard support to install CD's o usb/79140 usb WD Firewire/USB Combo hangs under load on USB interfac o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit f 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 f usb/80260 usb Travan USB tape drive fails to write o usb/80361 usb mounting of usb-stick fails o usb/80373 usb usb keyboard does not respond o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/81308 usb [ugen] [patch] polling a ugen(4) control endpoint caus f usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 player f usb/82272 usb Can not recognize Casio camera EX-Z40 as a umass devic o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected o usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [usb] SpeedTouch USB stop working on recent current (a 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 Microsoft Intellimouse Explorer 4.0A doesn't work. 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/84936 usb install - usb keyboard not recognized o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] bogus "slice starts beyond end of the disk:..." o usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not found o usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS cards o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb kldunload ucom.ko returns "Device busy" error. o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89218 usb flash disk o usb/89954 usb [usb] USB Disk driver race condition? f usb/89997 usb [umass] [panic] panic on iPod mini detach o usb/90162 usb [usb] [patch] Add support for the MS Wireless USB Mous o usb/90700 usb Kernel panic on connect/mount/use umass device o usb/91238 usb USB tape unit fails to write a second tape file to the o usb/91263 usb [patch] USB quirk needed for Logitec USB Hard disk LHD o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb Unable to print to EPSON CX3500 o usb/91906 usb FreeBSD hangs while booting with USB legacy support on o usb/92052 usb usbd causes defunct process with busy file-handle 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 /dev/ulpt0: device busy USB printer does not work o usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes choppy m f usb/93496 usb USB2.0 umass stalls on VIA o usb/93640 usb device ehci causes interrupt storm on this MSI amd64 m o usb/93828 usb ohci causes panic on boot (HP Pavillion d4100e) o usb/93949 usb ugen(4)-related repeatable kernel panic in 6.1-PRERELE o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb kernel panic with usb2 hardware o usb/94717 usb Reading from /dev/ulpt can break work of a UHCI hub o usb/94742 usb [umass] [patch] umass driver does not recognise YANO e o usb/94813 usb mounting write-protected umass device freezes computer o usb/94897 usb Kernel Panic when cleanly unmounting USB disk o usb/95131 usb Boot/setup process does not accept key strokes o usb/95348 usb USB keyboard unplug causes noise on screen o usb/95562 usb Write Stress in USB Mass drive cause: [vinvalbuf: dir o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb fatback on umass = reboot o usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doesn't work o usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherboards) doesn't o usb/101096 usb USB WLAN occasionally causes kernel-panics during larg o usb/101752 usb [panic] 6.1-RELEASE kernel panic on usb device inserti o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb /usr/sbin/usbd does not handle multiple devices in one o i386/103025 usb [USB] the wrong in USB device for freeBSD 6.1 and AMD o usb/104292 usb system lockup on forced umount of usb-storage device o usb/104810 usb [usb] panic: ohci_add_done: addr 0x3fef1ba0 not found o usb/104830 usb system crashes when copying data to umass devices o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box 99 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem s usb/32653 usb Added patches to improve USB scanner supportOB o usb/40948 usb [usb] USB HP CDW8200 does not work f usb/41415 usb [usb] [patch] Some USB scanners cannot talk to uscanne o usb/48342 usb [PATCH] usbd dynamic device list. o kern/51958 usb [usb] [patch] update for urio driver o kern/52026 usb [usb] feature request: umass driver support for InSyst o usb/53025 usb [ugen] [patch] ugen does not allow O_NONBLOCK for inte o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio f usb/60248 usb [patch] Problem with USB printer HP LaserJet 1300 o usb/61234 usb [usb] [patch] usbhidaction(1) doesn't support using an o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o kern/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB MP3 player o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/70942 usb [usb] Genius Wireless USB mouse: moused doesn't work c o usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) detach is no o usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) communicatio o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/71605 usb [umass] [patch] umass doesn't recognize multiple slots o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72732 usb [patch] Kyocera 7135 quirk. o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in f usb/73553 usb [usb] Microsoft USB Internet Keyboard not recongized o usb/74211 usb USB flash drive causes CAM status 0x4 on 4.10Release f usb/74358 usb [umass] unplugging at boot time an umass device crashe o usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) doe o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/74609 usb [usb] [patch] allowing cdma modems to work at full spe o usb/74849 usb [usb] [patch] Samsung SPH-i500 does not attach properl o usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm fails to atac o usb/75800 usb ucom1: init failed STALLED error in time of sync with 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/76732 usb Mouse problems with USB KVM Switch f usb/78371 usb Philips Wearable Audio Player (128) fails to attach f usb/78984 usb Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/79725 usb [usb] [patch] USB device speed is not double-checked o usb/79893 usb [umass] [patch] new usbdevs/umass quirks derived from o usb/80010 usb [aue] [patch] add support for the AEI USB to LAN adapt f usb/80420 usb atapicam stops iPod functionality f usb/80773 usb "usbd_get_string()" could have taken a length paramete o usb/80774 usb have "usbd_find_desc" in line with the other "usbd_fin 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.c is not work with CLIE TH55. o usb/81191 usb Support for Curitel HX-550C USB modem to 5.4 RELEASE. f usb/81621 usb external hd hangs under load on ehci o usb/82436 usb [patch] USL101 Host-to-Host bridge support on FreeBSD o usb/83022 usb ALI USB 2.0 EHCI Controller is not detected o usb/83863 usb Communication problem between opensc/openct via USB wi o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85992 usb [uhid] [patch] USB stops working when trying to read f o usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECOM LD-USB20" t o usb/86298 usb Known good USB mouse won't work with correct settings o usb/86438 usb Fix for non-working iPod over USB is in NetBSD CVS o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb axe0 read PHY failed o usb/88939 usb Fix cheapy Myson USB-IDE adapter f usb/89087 usb usb external harddrive hangs with BBB reset failed, TI f usb/91191 usb HP LaserJet 1020 (USB printer) not recognized f usb/91516 usb [umass] umass0 problems, with Freecom Classic SL Hard 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/92306 usb [quirk] [patch] Support for iRiver U10 USB media playe o usb/92403 usb [uplcom] uplcom.c needs new entry for 4.00 revision of o usb/92852 usb Vertical scroll not working properly on A4Tech WOP-49 f usb/93011 usb HP ScanJet 6200C & uscanner problem o usb/93389 usb Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclosure f usb/94147 usb doesn't recognise my USB keyboard o usb/94148 usb Make if_cdce work with ARM linux handhelds o usb/94311 usb [ugen][PATCH] allow interrupt IN transactions to be af o usb/94439 usb [patch] Add support for JNC MP3 Player o usb/94946 usb [uhub][patch] code dynamic status size for status chan o usb/95037 usb USB disk didnt recognized on hot-plug. o usb/95173 usb [usb] cannot mount external usb harddisk VIA Technolog o usb/95241 usb Patch to add USB ID for OEM Pharos 360 GPS o usb/95803 usb Add support for AnyData ADU-E100H o usb/95805 usb Add Support for Siemens ES75 modem o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/96546 usb [usb] [patch] Add support (quirk) for EasyMP3 EM732X U o usb/96714 usb Update uvisor to support the Fossil Abacus Wrist PDA p usb/96901 usb [patch] Add support for X-Micro Flash Disk o usb/97175 usb USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb BBB reset failed errors with Creative Muvo MP3 player; o usb/99419 usb external usb harddrive slow to accept f 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/101757 usb [patch] uhid.4: correct structure field names to match 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/102976 usb Casio Exilim Digital Camera cause panic o usb/103046 usb [patch] ulpt event driven I/O with select(2) and nonbl 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 QUIRK: TOSHIBA DVD-RAM drive (libretto DVD Dock) o usb/104352 usb [ural] ural driver doesnt work o usb/104645 usb QUIRK: Rave C-201 MP3 player o usb/105065 usb SATA - USB Bridge o usb/105361 usb Kernel panic during unmounting mass storage (Creative o usb/105518 usb epson perfection 3490 usb scanner def o kern/106033 usb [usb] [patch] support for 3G/WCDMA cards Option Globet o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106070 usb devd recognizes ucom, but ttyU is the device actually 116 problems total. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 6 13:19:12 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70EC916A417 for ; Wed, 6 Dec 2006 13:19:12 +0000 (UTC) (envelope-from Janusz.Dziedzic@BenQ.com) Received: from mx01.benq-eu.com (mx01.benq-eu.com [217.21.255.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CE9644062 for ; Wed, 6 Dec 2006 13:15:58 +0000 (GMT) (envelope-from Janusz.Dziedzic@BenQ.com) Received: from [10.98.72.7] (helo=bmw-msv01.bqeu.corp.com) by mx01.benq-eu.com with esmtp (Exim 4.62) (envelope-from ) id 1GrwdI-0001N6-Do for freebsd-usb@freebsd.org; Wed, 06 Dec 2006 14:16:20 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 6 Dec 2006 14:16:16 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <60541E311563FC47A901798C920293B2016ADC98@bmw-msv01.bqeu.corp.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mixture of interfaces (vendor specific, class interfaces) problems Thread-Index: AccZOLYcnme/RkqtRpa8bERkwfHGlg== From: "Janusz Dziedzic" To: Subject: Mixture of interfaces (vendor specific, class interfaces) problems 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, 06 Dec 2006 13:19:12 -0000 Hello,=20 My release:=20 bmw-ws047# uname -a=20 FreeBSD bmw-ws047.bqeu.corp.com 6.1-RC FreeBSD 6.1-RC #0: Thu Jul 20 16:20:27 CEST 2006 root@bmw-ws047.bqeu.corp.com:/usr/src/sys/i386/compile/CHAOS i386=20 FIRST CONFIGURATION (two vendor specific interfaces - works fine):=20 dmesg:=20 Dec 6 13:03:55 bmw-ws047 kernel: ugen0: detached=20 Dec 6 13:04:02 bmw-ws047 kernel: ugen0: BenQ Siemens BenQ Siemens Mobile Phone, rev 1.10/0.00, addr 2=20 usb_dump:=20 bmw-ws047# ./usb_dump -D -f /dev/ugen0=20 DEVICE descriptor:=20 bLength=3D18 bDescriptorType=3D1 bcdUSB=3D1.10 bDeviceClass=3D0 bDeviceSubClass=3D0=20 bDeviceProtocol=3D0 bMaxPacketSize=3D64=20 idVendor=3D0x04a5 idProduct=3D0x4013 bcdDevice=3D0=20 iManufacturer=3D1 iProduct=3D2 iSerialNumber=3D0 bNumConfigurations=3D1=20 Current configuration is number 1=20 CONFIGURATION descriptor index 0:=20 bLength=3D9 bDescriptorType=3D2 wTotalLength=3D62 bNumInterface=3D2=20 bConfigurationValue=3D1 iConfiguration=3D0 bmAttributes=3Da0 = bMaxPower=3D500 mA=20 INTERFACE descriptor index 0, alt index 0:=20 bLength=3D9 bDescriptorType=3D4 bInterfaceNumber=3D0 = bAlternateSetting=3D0=20 bNumEndpoints=3D3 bInterfaceClass=3D255 bInterfaceSubClass=3D255=20 bInterfaceProtocol=3D255 iInterface=3D3=20 ENDPOINT descriptor index 0:=20 bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D1-in=20 bmAttributes=3D3 wMaxPacketSize=3D16 bInterval=3D128=20 ENDPOINT descriptor index 1:=20 bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D2-in=20 bmAttributes=3D2 wMaxPacketSize=3D64 bInterval=3D0=20 ENDPOINT descriptor index 2:=20 bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D2-out=20 bmAttributes=3D2 wMaxPacketSize=3D64 bInterval=3D0=20 INTERFACE descriptor index 1, alt index 0:=20 bLength=3D9 bDescriptorType=3D4 bInterfaceNumber=3D1 = bAlternateSetting=3D0=20 bNumEndpoints=3D2 bInterfaceClass=3D255 bInterfaceSubClass=3D255=20 bInterfaceProtocol=3D255 iInterface=3D3=20 ENDPOINT descriptor index 0:=20 bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D4-in=20 bmAttributes=3D2 wMaxPacketSize=3D64 bInterval=3D0=20 ENDPOINT descriptor index 1:=20 bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D4-out=20 bmAttributes=3D2 wMaxPacketSize=3D64 bInterval=3D0=20 OK, in this case I can communicate with my vendor specyfic devices via /dev/ugen0.x. Is there chance to use ucom driver with vendor=20 specific interfaces? How can I do that?=20 SECOND CONFIGURATION (the same two vendor specific interfaces and third mass storage interface):=20 dmesg:=20 Dec 6 13:07:58 bmw-ws047 kernel: umass0: BenQ Siemens BenQ Siemens USB MMC Storage, rev 1.10/0.00, addr 2=20 Dec 6 13:07:58 bmw-ws047 kernel: umass0: SCSI over Bulk-Only; quirks =3D 0x0000=20 Dec 6 13:07:58 bmw-ws047 kernel: umass0: Get Max Lun not supported (STALLED)=20 Dec 6 13:07:58 bmw-ws047 kernel: umass0:0:0:-1: Attached to scbus0=20 Dec 6 13:07:58 bmw-ws047 kernel: da0 at umass-sim0 bus 0 target 0 lun 0=20 Dec 6 13:07:58 bmw-ws047 kernel: da0: Removable Direct Access SCSI-2 device=20 Dec 6 13:07:58 bmw-ws047 kernel: da0: 1.000MB/s transfers=20 Dec 6 13:07:58 bmw-ws047 kernel: da0: 968MB (1984001 512 byte sectors: 64H 32S/T 968C)=20 I can mount device da0 and works fine, but where are my two vendor specific interfaces?=20 Under Linux (2.6), windows (nt, xp etc) everything works fine. In second configuration I have two=20 vendor specific interfaces (I can decide which driver I want to use with them) and third interface=20 (class specific) mass storage.=20 So, can fsbd load different drivers for each interface?=20 How load drivers for vendor specific interfaces? (under Linux I can simply add module parameters and works fine, egg. insmod usbserial vendor=3D0x... product=3D0x...).=20 Best Regards=20 Janusz =20 =20 =20 From owner-freebsd-usb@FreeBSD.ORG Wed Dec 6 13:36:09 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45FF716A407 for ; Wed, 6 Dec 2006 13:36:09 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.ipactive.de [85.214.39.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FEF43CB7 for ; Wed, 6 Dec 2006 13:35:07 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (gprs-pool-1-001.eplus-online.de [212.23.126.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 097D333D3F; Wed, 6 Dec 2006 14:35:40 +0100 (CET) Received: from [192.168.18.3] (unknown [192.168.18.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id A7CE12E569; Wed, 6 Dec 2006 14:35:05 +0100 (CET) Message-ID: <4576C724.8080401@vwsoft.com> Date: Wed, 06 Dec 2006 14:35:32 +0100 From: Volker User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: Jes Subject: Huawei E220 3G devices 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, 06 Dec 2006 13:36:09 -0000 Hi folks, I found something in the archives about trouble using an E220 Huawei device. I'm wondering if somebody can send me the verbose output of `usbctl' for that device as I don't have one? To me it seems this device is being detected by umass because of a feature used under Windows. The E220 should be real plug'n play as if a Windows user is plugging the device, the (Win) drivers are installed straight from the box (no CDROM is necessary). I suspect this is being done by a umass emulation. Supporting this device with it's basic functionality should be as easy as defining vendor-ID and device-ID in ubsa and we're done. Again, is anybody able to provide me with the output of usbctl for that device? Greetings, Volker From owner-freebsd-usb@FreeBSD.ORG Wed Dec 6 14:57:42 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4DFE16A407 for ; Wed, 6 Dec 2006 14:57:42 +0000 (UTC) (envelope-from paul@pboehmer.com) Received: from netfoo.net (netfoo.net [206.162.201.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A347F43CB8 for ; Wed, 6 Dec 2006 14:56:54 +0000 (GMT) (envelope-from paul@pboehmer.com) Received: from netfoo.net (netfoo.net [206.162.201.200]) by netfoo.net (8.13.8/8.13.8) with ESMTP id kB6Ev7vG053135 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Dec 2006 09:57:11 -0500 (EST) (envelope-from paul@pboehmer.com) Date: Wed, 6 Dec 2006 09:57:06 -0500 (EST) From: Paul Boehmer X-X-Sender: paul@netfoo.net To: freebsd-usb@freebsd.org Message-ID: <20061206092503.A52050@netfoo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (netfoo.net [206.162.201.200]); Wed, 06 Dec 2006 09:57:11 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.6, clamav-milter version 0.88.6 on vulcan.netfoo.net X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,TW_KB autolearn=no version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on vulcan.netfoo.net Subject: Need help with wireless joystick/keyboard combo 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, 06 Dec 2006 14:57:42 -0000 I purchased a Ione Scorpius-P20 2.4GHz wireless joystick keyboard for use with a media PC (EPIA EN12000EG board) that I am building. The box is currently running 6.2-Prerelease. When the system boots up, the joystick is detected and installed as ums0 (great!), but the keyboard gets the following error: ukbd0: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 ukbd: set protocol failed device_attach: ukbd0 attach returned 6 For grins, I then booted the box with a Knoppix live CD and noticed that the keyboard and joystick are detected as uhid devices. The rebuilt the kernel once again, omitting the ums and ukbd drivers. Rebooted the box and now I see: uhid0: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 uhid1: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 usbd_transfer_cb: short transfer 0<2 >From a ssh connection, I run the following: > usbhidctl -f /dev/uhid0 -a Generic_Desktop:Pointer.Button:Button_1=1 Generic_Desktop:Pointer.Button:Button_2=1 Generic_Desktop:Pointer.Button:Button_3=1 Generic_Desktop:Pointer.Button:Button_4=1 Generic_Desktop:Pointer.Button:Button_5=1 Generic_Desktop:Pointer.Button:Button_6=1 Generic_Desktop:Pointer.Button:Button_7=1 Generic_Desktop:Pointer.Generic_Desktop:X=0 Generic_Desktop:Pointer.Generic_Desktop:Y=0 Generic_Desktop:Pointer.Generic_Desktop:Wheel=0 > usbhidctl -f /dev/uhid1 -a Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftControl=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftShift=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftAlt=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_Left_GUI=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightControl=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightShift=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightAlt=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_Right_GUI=0 Generic_Desktop:Keyboard.Keyboard:Reserved_(no_event_indicated)=000000 This looks promising, but seems my keyboard is missing a few keys. I am a little green on USB debugging (actually a lot). I have USB debugging enabled in the kernel, I am just not sure where to proceed from here. I can provide full dmesg's if needed. Any help greatly appreciated. Thanks in advance! -- Paul Boehmer paul@pboehmer.com From owner-freebsd-usb@FreeBSD.ORG Wed Dec 6 22:10:31 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BF3316A50C for ; Wed, 6 Dec 2006 22:10:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C770943CC2 for ; Wed, 6 Dec 2006 22:09:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB6MAKaS054674 for ; Wed, 6 Dec 2006 22:10:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB6MAKso054673; Wed, 6 Dec 2006 22:10:20 GMT (envelope-from gnats) Date: Wed, 6 Dec 2006 22:10:20 GMT Message-Id: <200612062210.kB6MAKso054673@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Peter Schuller Cc: Subject: Re: usb/99419: external usb harddrive slow to accept X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Schuller List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 22:10:31 -0000 The following reply was made to PR usb/99419; it has been noted by GNATS. From: Peter Schuller To: bug-followup@freebsd.org, list@understudy.net Cc: Subject: Re: usb/99419: external usb harddrive slow to accept Date: Wed, 6 Dec 2006 22:46:19 +0100 I have another datapoint that is interesting. This problem does not appear to be even FreeBSD specific. I bought two of these devices. One of them was plugged into the FreeBSD machine (as per previous post). The second one I was holding off on. But today I inserted it into an OpenSolaris machine (NexentaOS_20061012), and am experiencing almost EXACTLY the same problem. The kernel will detect the presence of it immediately, but trying to list contents of /devices/pci@... just leads to a hang. Until about 25 minutes or so later when the kernel reports that the device is "online", and /devices stops hanging (and rmformat etc works again). Someone correct me if I am wrong, but isn't the Solaris USB implementation 100% independent of the FreeBSD implementation? If so, and given the very specific and IMO weird symptom of this bug, does not this indicate there may be an actual bug in the device (even if it's not triggered in Windows or Linux)? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org From owner-freebsd-usb@FreeBSD.ORG Thu Dec 7 00:13:37 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9901C16A40F for ; Thu, 7 Dec 2006 00:13:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 7D56B43CB1 for ; Thu, 7 Dec 2006 00:12:45 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 19407 invoked by uid 399); 7 Dec 2006 00:13:32 -0000 Received: from localhost (HELO ?192.168.0.7?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 7 Dec 2006 00:13:32 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45775CAB.1030606@FreeBSD.org> Date: Wed, 06 Dec 2006 16:13:31 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061125) MIME-Version: 1.0 To: "M. Warner Losh" References: <4572FCFC.6010105@efir.od.ua> <20061203.120628.-116096346.imp@bsdimp.com> In-Reply-To: <20061203.120628.-116096346.imp@bsdimp.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org, vitaliy@efir.od.ua Subject: Re: Question!!! 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, 07 Dec 2006 00:13:37 -0000 M. Warner Losh wrote: > In message: <4572FCFC.6010105@efir.od.ua> > ??????? writes: > : Hello! Sorry me my bed english:) Please, help my! Driver for usb cable > : cp2101 (cable to CDMA Phone) > > Try loading ucom, uftdi, uplcom and umodem. Chances are good one of > these three is for your phone. Thanks! The combination of ucom and umodem is enough to get power to my Motorola Razr V3 so I can now recharge the battery while running FreeBSD. :) Doug -- This .signature sanitized for your protection From owner-freebsd-usb@FreeBSD.ORG Thu Dec 7 00:53:04 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A02916A417 for ; Thu, 7 Dec 2006 00:53:04 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0A643CA6 for ; Thu, 7 Dec 2006 00:52:15 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id i28so273148wra for ; Wed, 06 Dec 2006 16:53:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=QbRLRQBOtp8g8d6JJmtzY/IkP1wH1pg284/hb0YOG9Q26v90gV3zBmIpLE24mXzLkb7dRB7q3Jqd7sLrgAlJuK4AbPWwr3LDgKY0V8g4QtIBcvDMRqQDfuXfNo+96A0PUPVYBGOgxMN7TAqzUwrTLLmkVnEmPoCYEXvhUf6dzZE= Received: by 10.78.158.11 with SMTP id g11mr1189479hue.1165452782172; Wed, 06 Dec 2006 16:53:02 -0800 (PST) Received: by 10.78.164.20 with HTTP; Wed, 6 Dec 2006 16:53:02 -0800 (PST) Message-ID: Date: Thu, 7 Dec 2006 03:53:02 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Doug Barton" In-Reply-To: <45775CAB.1030606@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4572FCFC.6010105@efir.od.ua> <20061203.120628.-116096346.imp@bsdimp.com> <45775CAB.1030606@FreeBSD.org> X-Google-Sender-Auth: a45716226ba78eb9 Cc: freebsd-usb@freebsd.org, vitaliy@efir.od.ua Subject: Re: Question!!! 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, 07 Dec 2006 00:53:04 -0000 On 12/7/06, Doug Barton wrote: > M. Warner Losh wrote: > > In message: <4572FCFC.6010105@efir.od.ua> > > ??????? writes: > > : Hello! Sorry me my bed english:) Please, help my! Driver for usb cable > > : cp2101 (cable to CDMA Phone) > > > > Try loading ucom, uftdi, uplcom and umodem. Chances are good one of > > these three is for your phone. > > Thanks! The combination of ucom and umodem is enough to get power to > my Motorola Razr V3 so I can now recharge the battery while running > FreeBSD. :) Wow. Adding to hardware release notes will sure ignite some interest :-) From owner-freebsd-usb@FreeBSD.ORG Thu Dec 7 05:40:24 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BA6116A403 for ; Thu, 7 Dec 2006 05:40:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F4143CB1 for ; Thu, 7 Dec 2006 05:39:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB75eDPO001949 for ; Thu, 7 Dec 2006 05:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB75eDRp001948; Thu, 7 Dec 2006 05:40:13 GMT (envelope-from gnats) Resent-Date: Thu, 7 Dec 2006 05:40:13 GMT Resent-Message-Id: <200612070540.kB75eDRp001948@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, Eygene Ryabinkin Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5989F16A403 for ; Thu, 7 Dec 2006 05:35:02 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 302FB43CB2 for ; Thu, 7 Dec 2006 05:34:11 +0000 (GMT) (envelope-from rea-fbsd@codelabs.ru) Received: from localdomain by pobox.codelabs.ru with local id 1GsBuN-0003Lk-BG for FreeBSD-gnats-submit@freebsd.org; Thu, 07 Dec 2006 08:34:59 +0300 Message-Id: Date: Thu, 07 Dec 2006 08:34:59 +0300 From: Eygene Ryabinkin Sender: rea-fbsd@codelabs.ru To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/106435: Possible buffer overflow in dev/usb/ums.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eygene Ryabinkin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 05:40:24 -0000 >Number: 106435 >Category: usb >Synopsis: Possible buffer overflow in dev/usb/ums.c >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: Thu Dec 07 05:40:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eygene Ryabinkin >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: Code Labs >Environment: System: FreeBSD XXX 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #9: Tue Dec 5 09:10:06 MSK 2006 root@XXX:/usr/obj/usr/src/sys/XXX i386 >Description: Potential buffer overrun exists: sc->ibuf is allocated as ----- sc->sc_ibuf = malloc(sc->sc_isize, M_USB, M_NOWAIT); ----- in the attach handler, but interrupt handler always prints 6 bytes of sc->sc_isize: ----- DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); ----- This issue can be triggered only when USB_DEBUG is defined, so it does not exist in the production mode. >How-To-Repeat: Look into the /sys/dev/usb/ums.c code. >Fix: The following patch will help: --- ums.c.orig Tue Dec 5 13:29:34 2006 +++ ums.c Tue Dec 5 13:31:40 2006 @@ -431,9 +431,10 @@ #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], - sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); + DPRINTFN(5, ("ums_intr: data =)); + for (i = 0; i < sc->sc_isize; i++) + DPRINTFN(5, (" %02x", sc->sc_ibuf[i])); + DPRINTFN(5, ("\n")); if (status == USBD_CANCELLED) return; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu Dec 7 10:42:01 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2603C16A501 for ; Thu, 7 Dec 2006 10:42:01 +0000 (UTC) (envelope-from cgi-mailer-bounces-188189862@kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 649F343EFD for ; Thu, 7 Dec 2006 10:38:30 +0000 (GMT) (envelope-from cgi-mailer-bounces-188189862@kundenserver.de) Received: from [212.227.126.203] (helo=mrvnet.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1GsGen-00052W-00 for freebsd-usb@freebsd.org; Thu, 07 Dec 2006 11:39:13 +0100 Received: from [212.227.34.97] (helo=infong427 ident=8) by mrvnet.kundenserver.de with smtp (Exim 3.35 #1) id 1GsGen-0007xd-00 for freebsd-usb@freebsd.org; Thu, 07 Dec 2006 11:39:13 +0100 Received: from [196.217.48.159](IP may be forged by CGI script) by infong427.kundenserver.de with HTTP; Thu, 7 Dec 2006 11:39:13 +0100 Date: Thu, 7 Dec 2006 11:39:13 +0100 Precedence: bulk To: freebsd-usb@freebsd.org From: Content-Transfer-Encoding: 8bit Message-Id: X-Provags-ID: kundenserver.de abuse@kundenserver.de sender-info:188189862@infong427 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: **Updat Account** X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Reply-To: PINRobot_donotreply@e-gold.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 10:42:01 -0000 Dear E-gold customer We regret to inform you that your E-gold account could be suspended if you don't re-update your account information. To resolve this problems please [1]click here and re-enter your account information. If your problems could not be resolved your account will be suspended for a period of 24 hours, after this period your account will be terminated. For the User Agreement, Section 9, we may immediately issue a warning, temporarily suspend, indefinitely suspend or terminate your membership and refuse to provide our services to you if we believe that your actions may cause financial loss or legal liability for you, our users or us. We may also take these actions if we are unable to verify or authenticate any information you provide to us. Due to the suspension of this account, please be advised you are prohibited from using E-gold in any way. This includes the registering of a new account. Please note that this suspension does not relieve you of your agreed-upon obligation to pay any fees you may owe to E-gold. Regards,Safeharbor Department E-gold, Inc The E-gold team. This is an automatic message. Please do not reply. ______________________________________________________________________ |[2]Home |[3]Terms of Use |[4]About Us |[5]FAQ/Contact | References 1. http://e-gold-service.com/ 2. http://e-gold-service.com/ 3. http://e-gold-service.com/ 4. http://e-gold-service.com/ 5. http://e-gold-service.com/ From owner-freebsd-usb@FreeBSD.ORG Thu Dec 7 22:10:13 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E0A416A416 for ; Thu, 7 Dec 2006 22:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FD843CA7 for ; Thu, 7 Dec 2006 22:09:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB7MACZM097978 for ; Thu, 7 Dec 2006 22:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB7MACwQ097977; Thu, 7 Dec 2006 22:10:12 GMT (envelope-from gnats) Resent-Date: Thu, 7 Dec 2006 22:10:12 GMT Resent-Message-Id: <200612072210.kB7MACwQ097977@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, Maxim Azarov Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEDE016A47B for ; Thu, 7 Dec 2006 22:08:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B34C43CA2 for ; Thu, 7 Dec 2006 22:07:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB7M8V7h046830 for ; Thu, 7 Dec 2006 22:08:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB7M8V9G046829; Thu, 7 Dec 2006 22:08:31 GMT (envelope-from nobody) Message-Id: <200612072208.kB7M8V9G046829@www.freebsd.org> Date: Thu, 7 Dec 2006 22:08:31 GMT From: Maxim Azarov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/106462: Motorola U6 PEBL not recognized by system via USB [patch attached] 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, 07 Dec 2006 22:10:13 -0000 >Number: 106462 >Category: usb >Synopsis: Motorola U6 PEBL not recognized by system via USB [patch attached] >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 07 22:10:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Maxim Azarov >Release: 6.1-RELEASE >Organization: Consult IT., Co. Ltd (eServer.ru) >Environment: >Description: Motorola U6 PEBL phone is not recognized by system. I made a little patch that adds it as a device and enaples charge and other USB functions of this phone (including data transfer, GPRS and so on). >How-To-Repeat: Try to use Motorola U6 PEBL phone via USB. >Fix: Use the attached patch. Patch attached with submission follows: diff -cr src/sys/dev/usb/usb_quirks.c src.p/sys/dev/usb/usb_quirks.c *** src/sys/dev/usb/usb_quirks.c Thu Feb 16 01:51:08 2006 --- src.p/sys/dev/usb/usb_quirks.c Sat Jul 8 20:49:46 2006 *************** *** 86,91 **** --- 86,95 ---- { USB_VENDOR_HP, USB_PRODUCT_HP_810C, ANY, { UQ_BROKEN_BIDIR }}, { USB_VENDOR_HP, USB_PRODUCT_HP_830C, ANY, { UQ_BROKEN_BIDIR }}, { USB_VENDOR_HP, USB_PRODUCT_HP_1220C, ANY, { UQ_BROKEN_BIDIR }}, + + /* Motorola Phones */ + { USB_VENDOR_MOTOROLA2, USB_PRODUCT_MOTOROLA2_PEBL_U6, ANY, { UQ_ASSUME_CM_OVER_DATA}}, + /* YAMAHA router's ucdDevice is the version of farmware and often changes. */ { USB_VENDOR_YAMAHA, USB_PRODUCT_YAMAHA_RTA54I, ANY, { UQ_ASSUME_CM_OVER_DATA }}, *************** *** 99,104 **** --- 103,109 ---- ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_QUALCOMM2, USB_PRODUCT_QUALCOMM2_CDMA_MSM, ANY, { UQ_ASSUME_CM_OVER_DATA }}, + { USB_VENDOR_MOTOROLA2, USB_PRODUCT_MOTOROLA2_PEBL_U6, ANY, {UQ_ASSUME_CM_OVER_DATA}}, { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS64LX, 0x100, { UQ_ASSUME_CM_OVER_DATA }}, /* Devices which should be ignored by uhid */ diff -cr src/sys/dev/usb/usbdevs src.p/sys/dev/usb/usbdevs *** src/sys/dev/usb/usbdevs Sat Mar 18 23:30:25 2006 --- src.p/sys/dev/usb/usbdevs Sat Jul 8 16:22:03 2006 *************** *** 1218,1223 **** --- 1218,1224 ---- product MOTOROLA MC141555 0x1555 MC141555 hub controller product MOTOROLA SB4100 0x4100 SB4100 USB Cable Modem product MOTOROLA2 E398 0x4810 E398 Mobile Phone + product MOTOROLA2 PEBL_U6 0x4902 U6 PEBL Mobile Phone /* MultiTech products */ product MULTITECH ATLAS 0xf101 MT5634ZBA-USB modem >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Dec 8 11:40:46 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 295EF16A412; Fri, 8 Dec 2006 11:40:46 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3161643C9D; Fri, 8 Dec 2006 11:39:47 +0000 (GMT) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=nA07J5JM25UC7a7343Ud7FzvHMz01mBx3GRl8zx71qYFYAZhX6c66hoHnWN4a4SJeSnpkggO0tV7xu7/2hklT4jHH+JU+dLhb9+NjLtKiFt0eWWYkwGJ+RpyVkZJ4uSysLD7L1kiwakWQKP65pu5pjND9wto93a9N/xjBJB7PS8=; Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Gse5p-000CXg-NP; Fri, 08 Dec 2006 14:40:43 +0300 Date: Fri, 8 Dec 2006 14:40:36 +0300 From: Eygene Ryabinkin To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-usb@FreeBSD.org Message-ID: <20061208114036.GA1218@codelabs.ru> References: <200612070540.kB75eCsg001938@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200612070540.kB75eCsg001938@freefall.freebsd.org> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.6 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 Cc: Subject: Re: usb/106435: Possible buffer overflow in dev/usb/ums.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 11:40:46 -0000 Sorry, missed the double quote in the patch. The real patch should be: --- ums.c.orig Tue Dec 5 13:29:34 2006 +++ ums.c Tue Dec 5 13:31:40 2006 @@ -431,9 +431,10 @@ #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], - sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); + DPRINTFN(5, ("ums_intr: data =")); + for (i = 0; i < sc->sc_isize; i++) + DPRINTFN(5, (" %02x", sc->sc_ibuf[i])); + DPRINTFN(5, ("\n")); if (status == USBD_CANCELLED) return; -- Eygene From owner-freebsd-usb@FreeBSD.ORG Fri Dec 8 11:50:11 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A4F816A403 for ; Fri, 8 Dec 2006 11:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F6E643CAE for ; Fri, 8 Dec 2006 11:49:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB8Bo98B072383 for ; Fri, 8 Dec 2006 11:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB8Bo9d7072382; Fri, 8 Dec 2006 11:50:09 GMT (envelope-from gnats) Date: Fri, 8 Dec 2006 11:50:09 GMT Message-Id: <200612081150.kB8Bo9d7072382@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Eygene Ryabinkin Cc: Subject: Re: usb/106435: Possible buffer overflow in dev/usb/ums.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eygene Ryabinkin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 11:50:11 -0000 The following reply was made to PR usb/106435; it has been noted by GNATS. From: Eygene Ryabinkin To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/106435: Possible buffer overflow in dev/usb/ums.c Date: Fri, 8 Dec 2006 14:40:36 +0300 Sorry, missed the double quote in the patch. The real patch should be: --- ums.c.orig Tue Dec 5 13:29:34 2006 +++ ums.c Tue Dec 5 13:31:40 2006 @@ -431,9 +431,10 @@ #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], - sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); + DPRINTFN(5, ("ums_intr: data =")); + for (i = 0; i < sc->sc_isize; i++) + DPRINTFN(5, (" %02x", sc->sc_ibuf[i])); + DPRINTFN(5, ("\n")); if (status == USBD_CANCELLED) return; -- Eygene From owner-freebsd-usb@FreeBSD.ORG Fri Dec 8 06:08:45 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 755EF16A403 for ; Fri, 8 Dec 2006 06:08:45 +0000 (UTC) (envelope-from t_n_shetty@yahoo.com) Received: from web52103.mail.yahoo.com (web52103.mail.yahoo.com [206.190.48.106]) by mx1.FreeBSD.org (Postfix) with SMTP id 1FD6A43CAC for ; Fri, 8 Dec 2006 06:07:49 +0000 (GMT) (envelope-from t_n_shetty@yahoo.com) Received: (qmail 167 invoked by uid 60001); 8 Dec 2006 06:08:44 -0000 Message-ID: <20061208060844.165.qmail@web52103.mail.yahoo.com> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=RkGJNqwyFjcw/j7qlkCnUzXmJgBSFjyl0pqqL4pQ3QLMirrw9q9dA1r7nIr/gLVUxCg/aoKZ6FLv3EFQenkkCLTm+aHwvBLp+4gIw6LzGzqFSLNmy1YcYAM/uS9rLgnPOm+wu0ey0DZzWyfGDP81+DaGI/vaM4K6G3R0qOP5YP0=; X-YMail-OSG: .p3Dy6gVM1lPGiDw1Xb_NlSx8DmNQdO9BBCKHvzhrUg52zNtvIUz4n.cT.4OGDKC9w-- Received: from [59.145.141.130] by web52103.mail.yahoo.com via HTTP; Thu, 07 Dec 2006 22:08:44 PST Date: Thu, 7 Dec 2006 22:08:44 -0800 (PST) From: srinath shetty To: freebsd-usb@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Dec 2006 13:11:25 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Boot from JetFlash USB device fails X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 06:08:45 -0000 Hi All In one of our products, we have support for taking snapshot in to USB device and booting from USB in the next reboot. This feature works fine with most of the USB devices. However it is not working fine with USB : JetFlash TS512MJF110 ( but it boots fine once in 20 trials) Also It works fine with other families of the same product. Would like to know if JetFlash TS512MJF110 is supoted by free BSD. If yes, is there any fix for it? I have pasted below the log message we are getting during the boot time: Trying to boot from USB device ... Loading /boot/loader No /boot/loader, next boot from alternate path Loading /cf/boot/loader Disk error 0x1 (lba=0x58060) No /cf/boot/loader >> FreeBSD/i386 BOOT Default: 0:da(0,a)/kernel boot: No /kernel >> FreeBSD/i386 BOOT Default: 0:da(0,a)/kernel boot: Please let us know how to proceed on this. Thnaks and Regards Srinath __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Sat Dec 9 13:09:21 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A2CA16A412; Sat, 9 Dec 2006 13:09:21 +0000 (UTC) (envelope-from markus@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32FAE43C9E; Sat, 9 Dec 2006 13:08:17 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from freefall.freebsd.org (markus@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB9D9LeJ027478; Sat, 9 Dec 2006 13:09:21 GMT (envelope-from markus@freefall.freebsd.org) Received: (from markus@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB9D9KTr027474; Sat, 9 Dec 2006 13:09:21 GMT (envelope-from markus) Date: Sat, 9 Dec 2006 13:09:21 GMT From: Markus Brueffer Message-Id: <200612091309.kB9D9KTr027474@freefall.freebsd.org> To: markus@FreeBSD.org, freebsd-usb@FreeBSD.org, markus@FreeBSD.org Cc: Subject: Re: usb/106435: Possible buffer overflow in dev/usb/ums.c 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, 09 Dec 2006 13:09:21 -0000 Synopsis: Possible buffer overflow in dev/usb/ums.c Responsible-Changed-From-To: freebsd-usb->markus Responsible-Changed-By: markus Responsible-Changed-When: Sat Dec 9 13:08:55 UTC 2006 Responsible-Changed-Why: I'll handle this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=106435 From owner-freebsd-usb@FreeBSD.ORG Sat Dec 9 19:50:05 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1681016A412 for ; Sat, 9 Dec 2006 19:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE4F443CA0 for ; Sat, 9 Dec 2006 19:48:58 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB9Jo49k068079 for ; Sat, 9 Dec 2006 19:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB9Jo4SR068078; Sat, 9 Dec 2006 19:50:04 GMT (envelope-from gnats) Resent-Date: Sat, 9 Dec 2006 19:50:04 GMT Resent-Message-Id: <200612091950.kB9Jo4SR068078@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, Artem Naluzhny Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EF8B16A403 for ; Sat, 9 Dec 2006 19:44:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C167343C9D for ; Sat, 9 Dec 2006 19:42:58 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB9Ji3LJ008081 for ; Sat, 9 Dec 2006 19:44:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB9Ji3Uj008080; Sat, 9 Dec 2006 19:44:03 GMT (envelope-from nobody) Message-Id: <200612091944.kB9Ji3Uj008080@www.freebsd.org> Date: Sat, 9 Dec 2006 19:44:03 GMT From: Artem Naluzhny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/106538: [patch] Can not burn DVD on Sony DRX-820UL external USB device 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, 09 Dec 2006 19:50:05 -0000 >Number: 106538 >Category: usb >Synopsis: [patch] Can not burn DVD on Sony DRX-820UL external USB device >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: Sat Dec 09 19:50:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Artem Naluzhny >Release: 6.2-PRERELEASE >Organization: >Environment: FreeBSD tut.sweet.home 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sat Dec 9 20:07:17 EET 2006 root@tut.sweet.home:/usr/obj/usr/src/sys/TUT i386 >Description: It is not possible to burn DVD on Sony DRX-820UL external USB device (CD burning works fine): kernel: umass0: Sony DRX-820UL, rev 2.00/4.59, addr 2 cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present usbdevs: port 2 addr 3: full speed, self powered, config 1, DRX-820UL(0x0291), Sony(0x054c), rev 4.59 growisofs unable to GET CONFIGURATION: input/output error non MMC-unit? console: umass0: Unsupported ATAPI command 0x46 umass0: Unsupported ATAPI command 0x46 umass0: Unsupported ATAPI command 0x46 >How-To-Repeat: >Fix: --- src/sys/dev/usb/usbdevs.orig Sat Nov 18 00:22:14 2006 +++ src/sys/dev/usb/usbdevs Sat Dec 9 20:02:04 2006 @@ -1563,6 +1563,7 @@ product SONY CLIE_41 0x009a Sony Clie v4.1 product SONY CLIE_NX60 0x00da Sony Clie nx60 product SONY CLIE_TJ37 0x0169 Sony Clie tj37 +product SONY DRX_820UL 0x0291 Sony DRX-820UL /* Sony Ericsson products */ product SONYERICSSON DCU10 0x0528 USB Cable --- src/sys/dev/usb/umass.c.orig Sat Nov 18 00:22:14 2006 +++ src/sys/dev/usb/umass.c Sat Dec 9 20:44:24 2006 @@ -494,6 +494,10 @@ UMASS_PROTO_RBC | UMASS_PROTO_CBI, NO_QUIRKS }, + { USB_VENDOR_SONY, USB_PRODUCT_SONY_DRX_820UL, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_QUIRKS + }, { USB_VENDOR_TREK, USB_PRODUCT_TREK_THUMBDRIVE_8MB, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, IGNORE_RESIDUE >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Dec 9 20:02:24 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20AF616A5BF for ; Sat, 9 Dec 2006 20:02:24 +0000 (UTC) (envelope-from argonaut@vodafone.es) Received: from vodafone.es (back.vodafone.es [212.73.32.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23CF43C9D for ; Sat, 9 Dec 2006 20:01:17 +0000 (GMT) (envelope-from argonaut@vodafone.es) Received: from zurich.theworld.es ([62.87.54.229]) by mail-smtp03-p.vodafone.es (Messaging) with ESMTP id <0JA000145VJ4Q180@mail-smtp03-p.vodafone.es> for freebsd-usb@freebsd.org; Sat, 09 Dec 2006 20:59:30 +0100 (MET) Date: Sat, 09 Dec 2006 21:02:58 +0100 From: Jes In-reply-to: <4576C724.8080401@vwsoft.com> To: Volker Message-id: <20061209210258.396ec13e@zurich.theworld.es> MIME-version: 1.0 X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i486-slackware-linux-gnu) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <4576C724.8080401@vwsoft.com> Cc: Jes , freebsd-usb@freebsd.org Subject: Re: Huawei E220 3G devices 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, 09 Dec 2006 20:02:24 -0000 Hi Volker: I can do that but not now. I lend the E220 to a friend. As soon as I get it I'll send you. But... if you have umass as module and you don't load it on boot then I guess the E220 should be detected as an another usb modem... the problem is that you get it the device (/dev/ttyU0) but a strange message is shown when the E220 is detected: ucom0: Could not find interrupt in and /dev/ttyU0 cannot be accessed, nor minicom, nor ppp, .... The E220 has the same (umass) problem in Linux, but the trick (load usb_serial module before usb-storage) can be do it to get it work... and it works! Maybe Joao Barros have more info about... Greetings, Jes On Wed, 06 Dec 2006 14:35:32 +0100 Volker wrote: > Hi folks, > > I found something in the archives about trouble using an E220 Huawei > device. I'm wondering if somebody can send me the verbose output of > `usbctl' for that device as I don't have one? > > To me it seems this device is being detected by umass because of a > feature used under Windows. The E220 should be real plug'n play as > if a Windows user is plugging the device, the (Win) drivers are > installed straight from the box (no CDROM is necessary). I suspect > this is being done by a umass emulation. > > Supporting this device with it's basic functionality should be as > easy as defining vendor-ID and device-ID in ubsa and we're done. > > Again, is anybody able to provide me with the output of usbctl for > that device? > > Greetings, > > Volker