From owner-freebsd-usb@FreeBSD.ORG Sun Jun 4 12:51:47 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47C8A16A482 for ; Sun, 4 Jun 2006 12:51:47 +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 8145843D45 for ; Sun, 4 Jun 2006 12:51:46 +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 ; 4 Jun 2006 13:51:44 +0100 (IST) To: SebastienB In-Reply-To: Your message of "Fri, 02 Jun 2006 21:53:29 +0200." <200606022153.30197.sebastien.bourdeauducq@gmail.com> Date: Sun, 04 Jun 2006 13:51:44 +0100 From: Ian Dowse Message-ID: <200606041351.aa22176@nowhere.iedowse.com> Cc: freebsd-usb@freebsd.org Subject: Re: eagleflash problem on 6.x 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, 04 Jun 2006 12:51:47 -0000 In message <200606022153.30197.sebastien.bourdeauducq@gmail.com>, SebastienB wr ites: >Hello, > >When I run eagleflash (from http://damien.bergamini.free.fr/ueagle/) under >FreeBSD 6.x, the firmware seems properly uploaded and the modem disconnects >for USB re-enumeration, but it never comes back. It works correctly with >FreeBSD 5.x. > >I think this is a FreeBSD USB bug ; I have reimplemented eagleflash with >libusb and the problem is the same (and my reimplementation worked out of the >box under Linux on the same computer). Do you have a fix or workaround ? Could you provide a full dmesg output including the messages when the modem is attached? You can also compile a kernel with USB_DEBUG and turn up the hw.usb sysctls to get more information. If you have access to different host controllers (ehci/uhci/ohci) it would be useful to see if the problem is specific to one, for example by connecting a usb2 capable device through a usb1 hub or connecting a usb1 device through a usb2 hub (you didn't say whether the device is usb1 or usb2). Thanks, Ian From owner-freebsd-usb@FreeBSD.ORG Sun Jun 4 15:59:51 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB68816A557 for ; Sun, 4 Jun 2006 15:59:51 +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 0F6B243D48 for ; Sun, 4 Jun 2006 15:59:50 +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 ; 4 Jun 2006 16:59:49 +0100 (IST) To: Hans Petter Selasky In-Reply-To: Your message of "Sat, 03 Jun 2006 13:29:28 +0200." <200606031329.29145.hselasky@c2i.net> Date: Sun, 04 Jun 2006 16:59:49 +0100 From: Ian Dowse Message-ID: <200606041659.aa25650@nowhere.iedowse.com> Cc: freebsd-usb@freebsd.org Subject: Re: eagleflash problem on 6.x 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, 04 Jun 2006 15:59:54 -0000 In message <200606031329.29145.hselasky@c2i.net>, Hans Petter Selasky writes: >This can be fixed by doing a: > >ifconfig ural0 down >ifconfig ural0 up > >I will try to fix this problem during the summer. > >By the way, if any USB developers are interested in helping out, porting all >the old USB device drivers to my new and Giant-free USB API, then please drop >me an e-mail. The current status of the work progress can be obtained by >browsing to: What would be very useful is if we could separate out both bug fixes and new features (e.g. EHCI isoc support) and get them committed to -current independent of the locking and reorganisation work, since they can easily be tested and MFC'd. I have a limited amount of time but I am interested in helping getting bug fixes and new features into the -current tree. BTW, when converting existing drivers in your p4 tree it would be really helpful to keep unrelated changes to an absolute minimum - these kind of diffs don't help anyone figure out what bugs you've fixed or what was involved in changing to your new API... http://perforce.freebsd.org/fileDiffView.cgi?FSPC=%2F%2Fdepot%2Fprojects%2Fusb%2Fsrc%2Fsys%2Fdev%2Fusb%2Fums.c&ACT=edit&REV=4&REV2=1&Go=Go http://perforce.freebsd.org/fileDiffView.cgi?FSPC=%2F%2Fdepot%2Fprojects%2Fusb%2Fsrc%2Fsys%2Fdev%2Fusb%2Fugen.c&ACT=edit&REV=3&REV2=1&Go=Go Is there any driver there where the diffs show what was involved in the conversion, or information about what in general needs to be changed to use your API? Ian From owner-freebsd-usb@FreeBSD.ORG Sun Jun 4 16:13:53 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D7F816A507 for ; Sun, 4 Jun 2006 16:13:53 +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 D6C0543D45 for ; Sun, 4 Jun 2006 16:13:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k54GAejJ038850; Sun, 4 Jun 2006 10:10:40 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 04 Jun 2006 10:10:48 -0600 (MDT) Message-Id: <20060604.101048.776538523.imp@bsdimp.com> To: iedowse@iedowse.com From: "M. Warner Losh" In-Reply-To: <200606041659.aa25650@nowhere.iedowse.com> References: <200606031329.29145.hselasky@c2i.net> <200606041659.aa25650@nowhere.iedowse.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: eagleflash problem on 6.x 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, 04 Jun 2006 16:14:00 -0000 In message: <200606041659.aa25650@nowhere.iedowse.com> Ian Dowse writes: : In message <200606031329.29145.hselasky@c2i.net>, Hans Petter Selasky writes: : >This can be fixed by doing a: : > : >ifconfig ural0 down : >ifconfig ural0 up : > : >I will try to fix this problem during the summer. : > : >By the way, if any USB developers are interested in helping out, porting all : >the old USB device drivers to my new and Giant-free USB API, then please drop : >me an e-mail. The current status of the work progress can be obtained by : >browsing to: : : What would be very useful is if we could separate out both bug fixes : and new features (e.g. EHCI isoc support) and get them committed : to -current independent of the locking and reorganisation work, : since they can easily be tested and MFC'd. I have a limited amount : of time but I am interested in helping getting bug fixes and new : features into the -current tree. That would be very helpful indeed! Warner From owner-freebsd-usb@FreeBSD.ORG Sun Jun 4 16:58:36 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F9BF16AE57 for ; Sun, 4 Jun 2006 16:58:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FA2843D69 for ; Sun, 4 Jun 2006 16:58:35 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-10195.bb.online.no [85.165.231.211]) by mail43.nsc.no (8.13.6/8.13.5) with ESMTP id k54GwV6j008743; Sun, 4 Jun 2006 18:58:32 +0200 (CEST) From: Hans Petter Selasky To: Ian Dowse Date: Sun, 4 Jun 2006 18:58:34 +0200 User-Agent: KMail/1.7 References: <200606041659.aa25650@nowhere.iedowse.com> In-Reply-To: <200606041659.aa25650@nowhere.iedowse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606041858.35386.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: eagleflash problem on 6.x 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, 04 Jun 2006 16:58:36 -0000 On Sunday 04 June 2006 17:59, Ian Dowse wrote: > > BTW, when converting existing drivers in your p4 tree it would be > really helpful to keep unrelated changes to an absolute minimum - > these kind of diffs don't help anyone figure out what bugs you've > fixed or what was involved in changing to your new API... > > http://perforce.freebsd.org/fileDiffView.cgi?FSPC=%2F%2Fdepot%2Fprojects%2F >usb%2Fsrc%2Fsys%2Fdev%2Fusb%2Fums.c&ACT=edit&REV=4&REV2=1&Go=Go > > http://perforce.freebsd.org/fileDiffView.cgi?FSPC=%2F%2Fdepot%2Fprojects%2F >usb%2Fsrc%2Fsys%2Fdev%2Fusb%2Fugen.c&ACT=edit&REV=3&REV2=1&Go=Go > > Is there any driver there where the diffs show what was involved > in the conversion, or information about what in general needs to > be changed to use your API? Not so much yet, but there is a readme: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/usb/src/sys/dev/usb/README&REV=1 I will try to not change so much, but it is very difficult. Currently I am reworking rather than patching, as you can see. So it is better to look at the new files, than the diffs. I am currently working on an abstraction layer for creating devices under /dev/..., that have common functions factored out, so that one does not have to re-implement read/write/ioctl handling all the time. This is not in p4 yet. You maybe want to have a look at this when it reaches p4, later today or tomorrow. The abstraction layer will be put in the file "usb_cdev.c". --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 5 11:03:21 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D949616A4DE for ; Mon, 5 Jun 2006 11:03:21 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85B4D43D48 for ; Mon, 5 Jun 2006 11:03:21 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55B3Lth010454 for ; Mon, 5 Jun 2006 11:03:21 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55B3JAm010450 for freebsd-usb@freebsd.org; Mon, 5 Jun 2006 11:03:19 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Jun 2006 11:03:19 GMT Message-Id: <200606051103.k55B3JAm010450@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 05 Jun 2006 11:03:22 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/08/10] usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_ o [2006/01/11] usb/91629 usb usbd_abort_pipe() may result in infinite 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/07/19] usb/40792 usb signals lead to data loss on device ugen o [2002/12/10] usb/46176 usb [panic] umass causes kernel panic if devi o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/08/13] usb/55555 usb [ums] system freezes with access to /dev/ o [2003/09/26] bin/57255 usb usbd and multi-function devices o [2004/01/30] usb/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/02/03] usb/62309 usb [ugen] [panic] panic: ugen(4) driver o [2004/03/01] usb/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/07/13] usb/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] usb/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] usb/73307 usb [panic] Kernel panics on USB disconnect o [2004/12/06] usb/74771 usb [umass] mounting write-protected umass de o [2005/01/01] usb/75705 usb [panic] da0 attach / Optio S4 (with backt o [2005/01/04] usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, f [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " f [2005/01/25] usb/76684 usb [hang] Toshiba PDR-M4 camera connected vi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/23] usb/77940 usb [patch] [panic] insertion of usb keyboard f [2005/03/01] i386/78218 usb [kue] kue not detected on Sony PCG-F370 V o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f f [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond f [2005/05/06] usb/80685 usb panic in usb_cold_explore() at begining o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb [patch] USB locking issues: missing some o [2005/05/20] usb/81308 usb [ugen] [patch] polling a ugen(4) control f [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 f [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/17] usb/82350 usb [usb] null pointer dereference in USB sta o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o [2005/07/15] usb/83504 usb [usb] SpeedTouch USB stop working on rece o [2005/07/16] usb/83563 usb [panic] Page Fault while detaching Mpman o [2005/07/18] usb/83677 usb [usb] usb controller often not detected ( o [2005/07/19] usb/83756 usb Microsoft Intellimouse Explorer 4.0A does o [2005/07/24] usb/83977 usb [ucom] [panic] ucom1: open bulk out error o [2005/07/30] usb/84326 usb [umass] Panic trying to connect SCSI tape o [2005/07/30] usb/84336 usb [usb] [reboot] instant system reboot when o [2005/08/15] usb/84936 usb install - usb keyboard not recognized o [2005/09/12] usb/86031 usb need support usb nic rt2500 in my 5.4 STA o [2005/09/30] usb/86767 usb [usb] bogus "slice starts beyond end of t o [2005/10/08] usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not o [2005/10/16] usb/87519 usb [kbd] cannot install on USB-only system o [2005/10/17] usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS car o [2005/11/09] usb/88743 usb [hang] USB makes kernel hang at boot (reg o [2005/11/14] usb/88966 usb kldunload ucom.ko returns "Device busy" e o [2005/11/14] usb/89003 usb LaCie Firewire drive not properly support o [2005/11/18] usb/89218 usb flash disk o [2005/12/05] usb/89954 usb [usb] USB Disk driver race condition? f [2005/12/05] usb/89997 usb [umass] [panic] panic on iPod mini detach o [2005/12/09] usb/90162 usb [usb] [patch] Add support for the MS Wire o [2005/12/20] usb/90700 usb Kernel panic on connect/mount/use umass d o [2006/01/02] usb/91238 usb USB tape unit fails to write a second tap o [2006/01/03] usb/91263 usb [patch] USB quirk needed for Logitec USB o [2006/01/03] usb/91283 usb booting very slow with usb devices connec o [2006/01/09] usb/91538 usb Unable to print to EPSON CX3500 o [2006/01/17] usb/91906 usb FreeBSD hangs while booting with USB lega o [2006/01/20] usb/92052 usb usbd causes defunct process with busy fil o [2006/01/22] usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors fro o [2006/01/22] usb/92171 usb [panic] panic unplugging Vodafone Mobile o [2006/02/10] usb/93155 usb /dev/ulpt0: device busy USB printer doe o [2006/02/15] usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion ca f [2006/02/17] usb/93496 usb USB2.0 umass stalls on VIA o [2006/02/21] usb/93640 usb device ehci causes interrupt storm on thi o [2006/02/23] usb/93738 usb [ukbd] [patch] ukbd_check_char returns FA o [2006/02/25] usb/93828 usb ohci causes panic on boot (HP Pavillion d o [2006/02/28] usb/93949 usb ugen(4)-related repeatable kernel panic i o [2006/03/07] usb/94166 usb btx halted with a flashcard plugged o [2006/03/12] usb/94384 usb kernel panic with usb2 hardware o [2006/03/20] usb/94717 usb Reading from /dev/ulpt can break work of o [2006/03/20] usb/94742 usb [umass] [patch] umass driver does not rec o [2006/03/21] usb/94813 usb mounting write-protected umass device fre o [2006/03/24] usb/94897 usb Kernel Panic when cleanly unmounting USB o [2006/03/30] usb/95131 usb Boot/setup process does not accept key st o [2006/04/05] usb/95348 usb USB keyboard unplug causes noise on scree o [2006/04/10] usb/95562 usb Write Stress in USB Mass drive cause: [v o [2006/04/11] usb/95636 usb [boot] 5 minute delay at boot when using o [2006/04/20] usb/96120 usb USB mouse not always detected o [2006/04/23] usb/96224 usb [usb] mount_msdosfs cause page fault in s o [2006/04/28] usb/96457 usb fatback on umass = reboot o [2006/05/14] usb/97271 usb Fix Multiple ugen panics o [2006/05/15] usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doe 92 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m s [2001/12/09] usb/32653 usb Added patches to improve USB scanner supp o [2002/07/24] usb/40948 usb [usb] USB HP CDW8200 does not work f [2002/08/07] usb/41415 usb [usb] [patch] Some USB scanners cannot ta o [2003/02/16] usb/48342 usb [PATCH] usbd dynamic device list. o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo o [2003/06/08] usb/53025 usb [ugen] [patch] ugen does not allow O_NONB o [2003/08/28] usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fai o [2003/11/26] kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT co f [2003/12/15] usb/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] usb/61234 usb [usb] [patch] usbhidaction(1) doesn't sup o [2004/03/06] usb/63837 usb [uhid] [patch] USB: hid_is_collection() o o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/23] usb/68232 usb [ugen] [patch] ugen(4) isochronous handli o [2004/06/27] usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/08/16] usb/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/25] usb/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] usb/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] usb/71605 usb [umass] [patch] umass doesn't recognize m o [2004/10/06] usb/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/15] usb/72732 usb [patch] Kyocera 7135 quirk. o [2004/10/15] usb/72733 usb Kyocera 7135 Palm OS connection problem. o [2004/10/23] usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse n f [2004/11/05] usb/73553 usb [usb] Microsoft USB Internet Keyboard not o [2004/11/21] usb/74211 usb USB flash drive causes CAM status 0x4 on f [2004/11/25] usb/74358 usb [umass] unplugging at boot time an umass o [2004/11/27] usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/12/02] usb/74609 usb [usb] [patch] allowing cdma modems to wor o [2004/12/08] usb/74849 usb [usb] [patch] Samsung SPH-i500 does not a o [2004/12/09] usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm o [2005/01/04] usb/75800 usb ucom1: init failed STALLED error in time o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/19] usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4 o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails f [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [usb] [patch] USB device speed is not dou o [2005/04/14] usb/79893 usb [umass] [patch] new usbdevs/umass quirks o [2005/04/16] usb/80010 usb [aue] [patch] add support for the AEI USB f [2005/04/27] usb/80420 usb atapicam stops iPod functionality f [2005/05/08] usb/80773 usb "usbd_get_string()" could have taken a le o [2005/05/08] usb/80774 usb have "usbd_find_desc" in line with the ot o [2005/05/08] usb/80776 usb [udav] UDAV device driver shouldn't use u o [2005/05/08] usb/80777 usb usb_rem_task() should wait for callback t o [2005/05/10] usb/80854 usb suggestion for new iface-no-probe mechani o [2005/05/12] usb/80935 usb uvisor.c is not work with CLIE TH55. o [2005/05/15] usb/81073 usb [umass] [patch] fix umass NO_GETMAXLUN qu o [2005/05/18] usb/81191 usb Support for Curitel HX-550C USB modem to f [2005/05/29] usb/81621 usb external hd hangs under load on ehci o [2005/06/20] usb/82436 usb [patch] USL101 Host-to-Host bridge suppor o [2005/06/30] usb/82839 usb [patch] add support for Aceeca Mez1000 de o [2005/07/05] usb/83022 usb ALI USB 2.0 EHCI Controller is not detect o [2005/07/21] usb/83863 usb Communication problem between opensc/open o [2005/08/18] usb/85067 usb Cannot attach ScanJet 4300C to usb device o [2005/09/11] usb/85992 usb [uhid] [patch] USB stops working when try o [2005/09/16] usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECO o [2005/09/18] usb/86298 usb Known good USB mouse won't work with corr o [2005/09/21] usb/86438 usb Fix for non-working iPod over USB is in N o [2005/10/10] usb/87224 usb Cannot mount USB Zip750 o [2005/10/19] usb/87648 usb [mouse] Logitech USB-optical mouse proble o [2005/11/02] usb/88408 usb axe0 read PHY failed o [2005/11/13] usb/88939 usb Fix cheapy Myson USB-IDE adapter f [2005/11/15] usb/89087 usb usb external harddrive hangs with BBB res f [2006/01/01] usb/91191 usb HP LaserJet 1020 (USB printer) not recogn f [2006/01/08] usb/91516 usb [umass] umass0 problems, with Freecom Cla o [2006/01/09] usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone o [2006/01/15] usb/91811 usb Compact Flash in HP Photosmart 2610 retur o [2006/01/16] usb/91863 usb Philips USB webcam driver o [2006/01/17] usb/91896 usb Serial Number of USB Memory Sticks is not o [2006/01/25] usb/92306 usb [quirk] [patch] Support for iRiver U10 US o [2006/01/27] usb/92403 usb [uplcom] uplcom.c needs new entry for 4.0 f [2006/01/28] usb/92462 usb [patch] Add support for Epson CX3500/3600 o [2006/02/05] usb/92852 usb Vertical scroll not working properly on A o [2006/02/08] usb/93011 usb HP ScanJet 6200C & uscanner problem o [2006/02/15] usb/93389 usb Digital Camera Pentax S60 don't work o [2006/02/17] usb/93484 usb [umass] [patch] QUIRK: Toshiba TransMemor o [2006/02/26] usb/93872 usb [patch] SCSI quirk required for ELTA 8061 o [2006/03/06] usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclo f [2006/03/06] usb/94147 usb doesn't recognise my USB keyboard o [2006/03/06] usb/94148 usb Make if_cdce work with ARM linux handheld o [2006/03/11] usb/94311 usb [ugen][PATCH] allow interrupt IN transact o [2006/03/14] usb/94439 usb [patch] Add support for JNC MP3 Player o [2006/03/26] usb/94946 usb [uhub][patch] code dynamic status size fo o [2006/03/28] usb/95037 usb USB disk didnt recognized on hot-plug. o [2006/03/31] usb/95173 usb [usb] cannot mount external usb harddisk o [2006/04/02] usb/95241 usb Patch to add USB ID for OEM Pharos 360 GP p [2006/04/11] usb/95616 usb [patch] Add support for USB Acer 640BT sc o [2006/04/15] usb/95803 usb Add support for AnyData ADU-E100H o [2006/04/15] usb/95805 usb Add Support for Siemens ES75 modem o [2006/04/26] usb/96381 usb [patch] add a quirk table entry for a fla o [2006/04/30] usb/96546 usb [usb] [patch] Add support (quirk) for Eas o [2006/05/01] usb/96599 usb [patch] [usb] Sony Handycam DCR-HC32E mem o [2006/05/03] usb/96714 usb Update uvisor to support the Fossil Abacu o [2006/05/07] usb/96901 usb [patch] Add support for X-Micro Flash Dis o [2006/05/12] usb/97169 usb [uhid] [patch] uhid + Xbox 360 gamepad: t o [2006/05/12] usb/97175 usb USB cardreader hangs system o [2006/05/18] usb/97472 usb [patch] add support for Olympus C150,D390 o [2006/05/20] usb/97512 usb add Motorola A41x/V32x USB phone support o [2006/05/26] usb/97948 usb [patch] CMOTECH CDMA USB modem support o [2006/05/29] usb/98106 usb Add support and docs for 4 USB Scanners o [2006/06/02] usb/98343 usb BBB reset failed errors with Creative Muv o [2006/06/02] usb/98385 usb [patch] add support for libretto DVD Dock 108 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jun 5 11:57:56 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE9CB16A597 for ; Mon, 5 Jun 2006 11:57:56 +0000 (UTC) (envelope-from jhs@flat.berklix.net) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 031E843D53 for ; Mon, 5 Jun 2006 11:57:55 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from js.berklix.net (p549A5A7F.dip.t-dialin.net [84.154.90.127]) (authenticated bits=128) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id k55Bvl4o042960; Mon, 5 Jun 2006 13:57:53 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id k55BvYQX014953; Mon, 5 Jun 2006 13:57:35 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.1) with ESMTP id k55C1Nw9087761; Mon, 5 Jun 2006 14:01:23 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Received: (from jhs@localhost) by fire.jhs.private (8.13.1/8.13.1/Submit) id k55C1NHd087760; Mon, 5 Jun 2006 14:01:23 +0200 (CEST) (envelope-from jhs) Date: Mon, 5 Jun 2006 14:01:23 +0200 (CEST) Message-Id: <200606051201.k55C1NHd087760@fire.jhs.private> To: freebsd-usb@freebsd.org From: "Julian Stacey" Organization: http://berklix.com Munich Unix, BSD, Internet Consultancy Fcc: sent-mail User-agent: EXMH http://beedub.com/exmh/ on FreeBSD http://freebsd.org X-URL: http://berklix.com/~jhs/cv/ Cc: garyj@jennejohn.org Subject: usbdevs "self powered" is misleading 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, 05 Jun 2006 11:57:57 -0000 "self powered" is reported by 6.1-RELEASE usbdevs for my small external disc. It seems a misnomer & should at most be "Can be self powered" ? The disc housing has a socket to apply power, but was not plugged in. (I don't even have a power supply for it). Disc was cabled direct to laptop, not through a hub, & showed: Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 When I added a USB-2 Hub (with hub power supply plugged in to 220V)" Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, USB2.0 Hub Cont(0x0058), NEC Corporation(0x0409), rev 1.00 port 1 addr 5: full speed, self powered, config 1, USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 Sometimes "self powered" seems correct though, as for eg: - a GPS with battery inside. - a USB2-IDE + 3.5" IDE disc + external 220V supply Comments ? Julian -- Julian Stacey. Internet & Unix Consultant, Munich. http://berklix.com Mail in Ascii, HTML = spam. Ihr Rauch = mein allergischer Kopfschmerz. From owner-freebsd-usb@FreeBSD.ORG Mon Jun 5 12:14:50 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E151E16A67E; Mon, 5 Jun 2006 12:14:50 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6710743D69; Mon, 5 Jun 2006 12:14:49 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55CEnB0019257; Mon, 5 Jun 2006 12:14:49 GMT (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55CEnKx019253; Mon, 5 Jun 2006 12:14:49 GMT (envelope-from iedowse) Date: Mon, 5 Jun 2006 12:14:49 GMT From: Ian Dowse Message-Id: <200606051214.k55CEnKx019253@freefall.freebsd.org> To: rsc@merit.edu, iedowse@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/80685: panic in usb_cold_explore() at begining 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, 05 Jun 2006 12:15:07 -0000 Synopsis: panic in usb_cold_explore() at begining State-Changed-From-To: feedback->closed State-Changed-By: iedowse State-Changed-When: Mon Jun 5 12:13:54 UTC 2006 State-Changed-Why: This was fixed in 4-stable by revision 1.26.2.15 of usb.c http://www.freebsd.org/cgi/query-pr.cgi?pr=80685 From owner-freebsd-usb@FreeBSD.ORG Mon Jun 5 14:56:51 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C127B16A5AD; Mon, 5 Jun 2006 14:56:51 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BEAC43D6B; Mon, 5 Jun 2006 14:56:51 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55Eupfc033476; Mon, 5 Jun 2006 14:56:51 GMT (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55EuptW033472; Mon, 5 Jun 2006 14:56:51 GMT (envelope-from iedowse) Date: Mon, 5 Jun 2006 14:56:51 GMT From: Ian Dowse Message-Id: <200606051456.k55EuptW033472@freefall.freebsd.org> To: amistry@am-productions.biz, iedowse@FreeBSD.org, freebsd-usb@FreeBSD.org, iedowse@FreeBSD.org Cc: Subject: Re: usb/97271: Fix Multiple ugen panics 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, 05 Jun 2006 14:56:58 -0000 Synopsis: Fix Multiple ugen panics State-Changed-From-To: open->patched State-Changed-By: iedowse State-Changed-When: Mon Jun 5 14:47:37 UTC 2006 State-Changed-Why: Fixed in -current, thanks! Responsible-Changed-From-To: freebsd-usb->iedowse Responsible-Changed-By: iedowse Responsible-Changed-When: Mon Jun 5 14:47:37 UTC 2006 Responsible-Changed-Why: My MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=97271 From owner-freebsd-usb@FreeBSD.ORG Tue Jun 6 07:58:35 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AE6416A6A5 for ; Tue, 6 Jun 2006 07:49:51 +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 C555243D49 for ; Tue, 6 Jun 2006 07:49:50 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k567mIE7080500; Tue, 6 Jun 2006 01:48:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 06 Jun 2006 01:48:25 -0600 (MDT) Message-Id: <20060606.014825.232930089.imp@bsdimp.com> To: jhs@berklix.org From: "M. Warner Losh" In-Reply-To: <200606051201.k55C1NHd087760@fire.jhs.private> References: <200606051201.k55C1NHd087760@fire.jhs.private> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: garyj@jennejohn.org, freebsd-usb@freebsd.org Subject: Re: usbdevs "self powered" is misleading X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 07:58:41 -0000 In message: <200606051201.k55C1NHd087760@fire.jhs.private> "Julian Stacey" writes: : "self powered" is reported by 6.1-RELEASE usbdevs for my small external disc. : It seems a misnomer & should at most be "Can be self powered" ? : The disc housing has a socket to apply power, but was not plugged : in. (I don't even have a power supply for it). Disc was cabled : direct to laptop, not through a hub, & showed: : Controller /dev/usb1: : addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), : Intel(0x0000), rev 1.00 : port 1 addr 2: full speed, self powered, config 1, : USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 : When I added a USB-2 Hub (with hub power supply plugged in to 220V)" : Controller /dev/usb1: : addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), : Intel(0x0000), rev 1.00 : port 1 addr 2: full speed, self powered, config 1, : USB2.0 Hub Cont(0x0058), NEC Corporation(0x0409), rev 1.00 : port 1 addr 5: full speed, self powered, config 1, : USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 : Sometimes "self powered" seems correct though, as for eg: : - a GPS with battery inside. : - a USB2-IDE + 3.5" IDE disc + external 220V supply : Comments ? Self Powered just means that the device has told the hub it doesn't need any power. These are standard attributes of the device which the device reports. FreeBSD just reports these to the user. Warner From owner-freebsd-usb@FreeBSD.ORG Tue Jun 6 11:45:11 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1400516A5C3 for ; Tue, 6 Jun 2006 11:45:11 +0000 (UTC) (envelope-from bryan@kishka.net) Received: from gravy.kishka.net (c-69-139-12-128.hsd1.pa.comcast.net [69.139.12.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DC2243D46 for ; Tue, 6 Jun 2006 11:45:10 +0000 (GMT) (envelope-from bryan@kishka.net) Received: from [192.168.1.2] (gravy.kishka.net [192.168.1.2]) by gravy.kishka.net (8.13.6/8.13.6) with ESMTP id k56Bj9du002426 for ; Tue, 6 Jun 2006 07:45:09 -0400 (EDT) (envelope-from bryan@kishka.net) Message-ID: <44856AC5.6020003@kishka.net> Date: Tue, 06 Jun 2006 07:45:09 -0400 From: Bryan Liesner User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Dead USB keyboard problem and solution X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 11:45:11 -0000 I recently replaced my PS/2 keyboard with a USB keyboard. Works great, but with one exception. If the system is rebooted, it's easy enough to get into the BIOS settings, but after the boot process starts, the keyboard is dead until the kernel is loaded. So hitting the space bar to get to a loader prompt to boot kernel.old or perhaps putting in a boot -v was impossible. I poked around on the mailing lists and saw that some others were having the same issue, with no real answers. On a lark, I decided to try GRUB. Replacing the BSD boot blocks with GRUB resolved this issue for me. Now, when the system starts, I don't lose the keyboard and can hit the space bar when the loader starts to get to a prompt. This brings up an interesting question, probably for another list. What are the FreeBSD boot blocks doing (or not doing) that cause the loss of legacy USB support? -Bryan From owner-freebsd-usb@FreeBSD.ORG Tue Jun 6 13:30: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8979F16A873 for ; Tue, 6 Jun 2006 13:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3428B43D46 for ; Tue, 6 Jun 2006 13:30:21 +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 k56DULZC024201 for ; Tue, 6 Jun 2006 13:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k56DULXM024199; Tue, 6 Jun 2006 13:30:21 GMT (envelope-from gnats) Date: Tue, 6 Jun 2006 13:30:21 GMT Message-Id: <200606061330.k56DULXM024199@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Norbert Koch Cc: Subject: Re: usb/93738: [ukbd] [patch] ukbd_check_char returns FALSE with character buffered X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Norbert Koch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 13:30:31 -0000 The following reply was made to PR usb/93738; it has been noted by GNATS. From: Norbert Koch To: bug-followup@FreeBSD.org, nkoch@demig.de Cc: Subject: Re: usb/93738: [ukbd] [patch] ukbd_check_char returns FALSE with character buffered Date: Tue, 06 Jun 2006 13:25:01 +0000 That bug may be closed, as the patch is submitted to ukbd.c with version 1.52.2.1. From owner-freebsd-usb@FreeBSD.ORG Tue Jun 6 13:36:10 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DF7916C19F for ; Tue, 6 Jun 2006 13:36:10 +0000 (UTC) (envelope-from nitro@263.net) Received: from smtp.263.net (263.net.cn [211.150.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F4D43D45 for ; Tue, 6 Jun 2006 13:36:07 +0000 (GMT) (envelope-from nitro@263.net) Received: from intron.ac (unknown [127.0.0.1]) by smtp.263.net (Postfix) with SMTP id B981EF16EC for ; Tue, 6 Jun 2006 21:36:12 +0800 (CST) X-KSVirus-check: 0 References: <200606051201.k55C1NHd087760@fire.jhs.private> In-Reply-To: <200606051201.k55C1NHd087760@fire.jhs.private> From: mag@intron.ac To: "Julian Stacey" Date: Tue, 06 Jun 2006 20:13:25 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <20060606133612.B981EF16EC@smtp.263.net> X-Mailman-Approved-At: Tue, 06 Jun 2006 13:53:37 +0000 Cc: garyj@jennejohn.org, freebsd-usb@freebsd.org Subject: Re: usbdevs "self powered" is misleading X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 13:36:24 -0000 Power supply current required by USB device is reported by USB device itself. If you consider the "self powered" to be incorrect, the fault should be owed to the USB device. ------------------------------------------------------------------------ From Beijing, China Julian Stacey wrote: > "self powered" is reported by 6.1-RELEASE usbdevs for my small external disc. > It seems a misnomer & should at most be "Can be self powered" ? > The disc housing has a socket to apply power, but was not plugged > in. (I don't even have a power supply for it). Disc was cabled > direct to laptop, not through a hub, & showed: > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > port 1 addr 2: full speed, self powered, config 1, > USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 > When I added a USB-2 Hub (with hub power supply plugged in to 220V)" > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > port 1 addr 2: full speed, self powered, config 1, > USB2.0 Hub Cont(0x0058), NEC Corporation(0x0409), rev 1.00 > port 1 addr 5: full speed, self powered, config 1, > USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 > Sometimes "self powered" seems correct though, as for eg: > - a GPS with battery inside. > - a USB2-IDE + 3.5" IDE disc + external 220V supply > Comments ? > > Julian > -- > Julian Stacey. Internet & Unix Consultant, Munich. http://berklix.com > Mail in Ascii, HTML = spam. Ihr Rauch = mein allergischer Kopfschmerz. > _______________________________________________ > 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 Tue Jun 6 14:12: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1F1716C520 for ; Tue, 6 Jun 2006 14:12:04 +0000 (UTC) (envelope-from nitro@263.net) Received: from smtp.263.net (263.net.cn [211.150.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33A5743D46 for ; Tue, 6 Jun 2006 14:12:03 +0000 (GMT) (envelope-from nitro@263.net) Received: from intron.ac (unknown [127.0.0.1]) by smtp.263.net (Postfix) with SMTP id BBC93F1682 for ; Tue, 6 Jun 2006 22:12:09 +0800 (CST) X-KSVirus-check: 0 References: <44856AC5.6020003@kishka.net> In-Reply-To: <44856AC5.6020003@kishka.net> From: mag@intron.ac To: Bryan Liesner Date: Tue, 06 Jun 2006 22:10:47 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <20060606141209.BBC93F1682@smtp.263.net> Cc: freebsd-usb@freebsd.org Subject: Re: Dead USB keyboard problem and solution X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 14:12:13 -0000 In early booting stage before /boot/loader is loaded, your USB keyboard is driven by BIOS, emulating a PS/2 keyboard. Once kernel has initialized USB keyboard, BIOS will not handle USB keyboard any longer. As far as I know, /boot/loader has been working in protected mode, but lacking of support for USB. ------------------------------------------------------------------------ From Beijing, China Bryan Liesner wrote: > > I recently replaced my PS/2 keyboard with a USB keyboard. Works great, > but with one exception. If the system is rebooted, it's easy enough to > get into the BIOS settings, but after the boot process starts, the > keyboard is dead until the kernel is loaded. So hitting the space bar to > get to a loader prompt to boot kernel.old or perhaps putting in a boot -v > was impossible. > > I poked around on the mailing lists and saw that some others were having > the same issue, with no real answers. > > On a lark, I decided to try GRUB. Replacing the BSD boot blocks with GRUB > resolved this issue for me. Now, when the system starts, I don't lose the > keyboard and can hit the space bar when the loader starts to get to a > prompt. > > This brings up an interesting question, probably for another list. What > are the FreeBSD boot blocks doing (or not doing) that cause the loss of > legacy USB support? > > -Bryan > _______________________________________________ > 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 Tue Jun 6 21:52: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CCE816D096 for ; Tue, 6 Jun 2006 21:42:54 +0000 (UTC) (envelope-from jhs@flat.berklix.net) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C1043D48 for ; Tue, 6 Jun 2006 21:42:53 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from js.berklix.net (p549A6894.dip.t-dialin.net [84.154.104.148]) (authenticated bits=128) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id k56LgdmN047322; Tue, 6 Jun 2006 23:42:41 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id k56LgapR032435; Tue, 6 Jun 2006 23:42:37 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.1) with ESMTP id k56LkXvC019523; Tue, 6 Jun 2006 23:46:33 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Message-Id: <200606062146.k56LkXvC019523@fire.jhs.private> To: mag@intron.ac, "M. Warner Losh" In-Reply-To: Message from mag@intron.ac of "Tue, 06 Jun 2006 20:13:25 +0800." <20060606133612.B981EF16EC@smtp.263.net> Date: Tue, 06 Jun 2006 23:46:33 +0200 From: "Julian H. Stacey" Cc: garyj@jennejohn.org, freebsd-usb@freebsd.org Subject: Re: usbdevs "self powered" is misleading X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 21:52:02 -0000 > Julian Stacey wrote: > > "self powered" is reported by 6.1-RELEASE usbdevs for my small external disc. > > It seems a misnomer & should at most be "Can be self powered" ? > > The disc housing has a socket to apply power, but was not plugged > > in. (I don't even have a power supply for it). Disc was cabled > > direct to laptop, not through a hub, & showed: > > Controller /dev/usb1: > > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x0000), rev 1.00 > > port 1 addr 2: full speed, self powered, config 1, > > USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 > > When I added a USB-2 Hub (with hub power supply plugged in to 220V)" > > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > > Intel(0x0000), rev 1.00 > > port 1 addr 2: full speed, self powered, config 1, > > USB2.0 Hub Cont(0x0058), NEC Corporation(0x0409), rev 1.00 > > port 1 addr 5: full speed, self powered, config 1, > > USB 2.0 Storage Device(0x5621), vendor 0x0402(0x0402), rev 1.03 > > Sometimes "self powered" seems correct though, as for eg: > > - a GPS with battery inside. > > - a USB2-IDE + 3.5" IDE disc + external 220V supply > > Comments ? Warner wrote. > Self Powered just means that the device has told the hub it doesn't > need any power. These are standard attributes of the device which the > device reports. FreeBSD just reports these to the user. -------- mag@intron.ac wrote: > Power supply current required by USB device is reported by USB > device itself. If you consider the "self powered" to be incorrect, > the fault should be owed to the USB device. Thanks, So my USB to IDE is lieing to FreeBSD. (I had wondered about that). The chip is labelled: ALi ("i' is lower case) M5621 A1 0338 TH05 XHFPAR00000I Search engines recognise "ALI M5621". Just for interest, I presume/hope other people with other chips have seen USB to IDE enclosures that don't lie ? (Caution opening: I blew my first box (with a different chip) with static by mistake !) -- Julian Stacey. Consultant Unix Net & Sys. Eng., Munich. http://berklix.com Mail in Ascii, HTML=spam. Ihr Rauch = mein allergischer Kopfschmerz. From owner-freebsd-usb@FreeBSD.ORG Thu Jun 8 14:55:21 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA25A16A676 for ; Thu, 8 Jun 2006 12:56:28 +0000 (UTC) (envelope-from fulda@seznam.cz) Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by mx1.FreeBSD.org (Postfix) with SMTP id E41C943D45 for ; Thu, 8 Jun 2006 12:56:27 +0000 (GMT) (envelope-from fulda@seznam.cz) Received: (qmail 26827 invoked from network); 8 Jun 2006 12:56:25 -0000 Received: from unknown (HELO PC2088) (fulda@seznam.cz@62.141.6.4) by tic.go.seznam.cz with ESMTPA; 8 Jun 2006 12:56:25 -0000 X-Seznam-User: fulda@seznam.cz Message-ID: <028901c68afa$f2a5d850$9ebf9109@PC2088> From: "Jindra Fucik" To: Date: Thu, 8 Jun 2006 14:56:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: device uhid - read only 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: Thu, 08 Jun 2006 14:55:25 -0000 Hi list, I'm trying to create usb device based on PIC16C745 chip (http://ww1.microchip.com/downloads/en/DeviceDoc/41124c.pdf) I have done test device (buttons and leds) My device working as generic uhid device. I have little problem with FreeBSD - if I have loaded device uhid, my device is recognized as /dev/uhid0 - it is OK, I can use evzen# usbhidctl -f /dev/uhid0 -a usbhidctl: device does not support immediate mode, only changes reported. Microsoft:0x0001.Microsoft:0x0001=0 Microsoft:0x0001.Microsoft:0x0002=1 Microsoft:0x0001.Microsoft:0x0003=63 Microsoft:0x0001.Microsoft:0x0004=51 ... It is fine - I can read status of buttons etc. Problem is writting to device. I see, that there is api for write usbhid(3) - hid_set_data, but nobody using this. I see, that usbhidctl are different than OpenBSD version - removed switch -w (write to device) It is mean, that uhid under FreeBSD are "read only"??? Jindra From owner-freebsd-usb@FreeBSD.ORG Thu Jun 8 21:30:36 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B31D916FB47 for ; Thu, 8 Jun 2006 17:07:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail42.e.nsc.no (mail42.e.nsc.no [193.213.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9DD43D68 for ; Thu, 8 Jun 2006 17:07:09 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from Unknown-00-c0-9f-49-78-d8.lan (ti131310a080-10195.bb.online.no [85.165.231.211]) by mail42.nsc.no (8.13.6/8.13.5) with ESMTP id k58H78aI000046; Thu, 8 Jun 2006 19:07:08 +0200 (CEST) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 8 Jun 2006 19:07:10 +0200 User-Agent: KMail/1.7 References: <028901c68afa$f2a5d850$9ebf9109@PC2088> In-Reply-To: <028901c68afa$f2a5d850$9ebf9109@PC2088> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606081907.11984.hselasky@c2i.net> Cc: Subject: Re: device uhid - read only 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: Thu, 08 Jun 2006 21:30:37 -0000 Hi Jindra, UHID is read and write. On Thursday 08 June 2006 14:56, Jindra Fucik wrote: > Hi list, > > I'm trying to create usb device based on PIC16C745 chip > (http://ww1.microchip.com/downloads/en/DeviceDoc/41124c.pdf) > > I have done test device (buttons and leds) > > My device working as generic uhid device. > > It is mean, that uhid under FreeBSD are "read only"??? > The sourcecode of UHID resides in /sys/dev/usb/uhid.c . If you look there you will se that it is possible to write UHID in two ways. 1) writing to /dev/uhid0 2) using the IOCTL USB_SET_REPORT --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jun 8 21:32:12 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3496516F337 for ; Thu, 8 Jun 2006 18:10:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF1543D4C for ; Thu, 8 Jun 2006 18:10:16 +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 k58IAGPR057078 for ; Thu, 8 Jun 2006 18:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k58IAG05057077; Thu, 8 Jun 2006 18:10:16 GMT (envelope-from gnats) Resent-Date: Thu, 8 Jun 2006 18:10:16 GMT Resent-Message-Id: <200606081810.k58IAG05057077@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, Alex Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BB3016FF6A for ; Thu, 8 Jun 2006 16:17:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D464243D4C for ; Thu, 8 Jun 2006 16:17:42 +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 k58GHgI2013658 for ; Thu, 8 Jun 2006 16:17:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k58GHgj9013657; Thu, 8 Jun 2006 16:17:42 GMT (envelope-from nobody) Message-Id: <200606081617.k58GHgj9013657@www.freebsd.org> Date: Thu, 8 Jun 2006 16:17:42 GMT From: Alex To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/98713: QUIRK: Rekam USB Camera 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, 08 Jun 2006 21:32:12 -0000 >Number: 98713 >Category: usb >Synopsis: QUIRK: Rekam USB Camera >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 08 18:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alex >Release: 6.1-STABLE >Organization: >Environment: FreeBSD tester.mtnet 6.1-STABLE FreeBSD 6.1-STABLE #12: Thu Jun 8 19:25:59 YEKST 2006 root@tester.mtnet:/usr/obj/usr/src/sys/BSD i386 >Description: dmesg before: uhub_explore: status change hub=3 port=1 usbd_new_device bus=0xc488d000 port=1 depth=2 speed=2 usbd_new_device: adding unit addr=6, rev=200, class=0, subclass=0, protocol=0, maxpacket=8 usbd_new_device: new dev (addr 6), dev=0xc4d05d80, parent=0xc499bc80 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: status=0x0000, error=NORMAL_COMPLETION usbd_set_config_index: (addr 1) cno=6 attr=0xc0, selfpowered=0, power=0 usbd_set_config_index: set config 1 umass0: Digital-Camera DC -4365, rev 2.00/0.00, addr 6 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 119MB (245504 512 byte sectors: 64H 32S/T 119C) (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0 uhci_idone: error, addr=6, endpt=0x82, status 0x440000 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED uhci_idone: error, addr=6, endpt=0x03, status 0x440000 umass0: BBB reset failed, STALLED dmesg after: uhub_explore: status change hub=3 port=1 usbd_new_device bus=0xc488d000 port=1 depth=2 speed=2 usbd_new_device: adding unit addr=6, rev=200, class=0, subclass=0, protocol=0, maxpacket=8, len=18, speed=2 usbd_new_device: new dev (addr 6), dev=0xc5b39e80, parent=0xc499bc80 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: status=0x0000, error=NORMAL_COMPLETION usbd_set_config_index: (addr 1) cno=6 attr=0xc0, selfpowered=0, power=0 usbd_set_config_index: set config 1 umass0: Digital-Camera DC -4365, rev 2.00/0.00, addr 6 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 119MB (245504 512 byte sectors: 64H 32S/T 119C) >How-To-Repeat: >Fix: add this to src/sys/cam/scsi/scsi_da.c { /* * Rekam Digital CAMERA */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "CAMERA*", "4MP-9J6*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, >Release-Note: >Audit-Trail: >Unformatted: >:camcontrol inquiry da0 pass0: Removable Direct Access SCSI-0 device pass0: Serial Number pass0: 1.000MB/s transfers >:usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 addr 2: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc01d), Logitech(0x046d), rev 21.00 port 2 addr 3: full speed, self powered, config 1, product 0x2046(0x2046), vendor 0x0451(0x0451), rev 1.25 port 1 addr 6: full speed, self powered, config 1, DC -4365(0x1689), Digital-Camera(0x0784), rev 0.00