From owner-freebsd-usb@FreeBSD.ORG Mon Mar 6 09:05: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B6116A420; Mon, 6 Mar 2006 09:05:12 +0000 (GMT) (envelope-from nenad.k@yubc.net) Received: from rudnik.yubc.net (rudnik.yubc.net [212.124.160.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4041243D64; Mon, 6 Mar 2006 09:05:11 +0000 (GMT) (envelope-from nenad.k@yubc.net) Received: from [212.124.187.67] (sinet-lan-67.yubc.net [212.124.187.67]) (authenticated bits=0) by rudnik.yubc.net (8.12.10/8.12.10) with ESMTP id k268pAMW028153; Mon, 6 Mar 2006 09:51:10 +0100 Message-ID: <440BFB06.3060103@yubc.net> Date: Mon, 06 Mar 2006 10:04:06 +0100 From: Nenad Kljajic User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@www.freebsd.org, freebsd-usb@freebsd.org Content-Type: multipart/mixed; boundary="------------020101070204080206010109" Cc: Subject: Logitech USB Receiver mouse workaround patch 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, 06 Mar 2006 09:05:13 -0000 This is a multi-part message in MIME format. --------------020101070204080206010109 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hi, There is some problem with hid_report_size() function and Logitech USB receiver in /usr/src/sys/dev/usb/ums.c. The returned value is 14 but it should be 8. This results in subsamling mouse data and jerky cursor movement. I have tested this workaround patch for Logitech® Cordless Desktop® MX™ 3100 and it works fine now. Nenad --------------020101070204080206010109 Content-Type: text/x-patch; name="ums.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ums.diff" *** ums.c.1.80 2006-03-06 09:41:19.000000000 +0100 --- ums.c.1.81 2006-03-06 09:47:27.000000000 +0100 *************** *** 313,318 **** --- 313,325 ---- hid_input, &sc->sc_loc_btn[i-1], 0); sc->sc_isize = hid_report_size(desc, size, hid_input, &sc->sc_iid); + #define LOGITECH_STRING "Logitech USB Receiver" + #define LOGITECH_STRLEN 21 + #define LOGITECH_SC_ISIZE 8 + if(!strncmp(devinfo,LOGITECH_STRING, LOGITECH_STRLEN)){ + printf("%s: Logitech USB Receiver workaround\n", USBDEVNAME(sc->sc_dev)); + sc->sc_isize=LOGITECH_SC_ISIZE; /* Logitech Wireless USB Receiver reports 14, it should be 8! */ + } sc->sc_ibuf = malloc(sc->sc_isize, M_USB, M_NOWAIT); if (!sc->sc_ibuf) { printf("%s: no memory\n", USBDEVNAME(sc->sc_dev)); --------------020101070204080206010109-- From owner-freebsd-usb@FreeBSD.ORG Mon Mar 6 09:50: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1743316A420 for ; Mon, 6 Mar 2006 09:50:13 +0000 (GMT) (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 744EB43D49 for ; Mon, 6 Mar 2006 09:50:06 +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 k269o63d080558 for ; Mon, 6 Mar 2006 09:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k269o6AP080557; Mon, 6 Mar 2006 09:50:06 GMT (envelope-from gnats) Resent-Date: Mon, 6 Mar 2006 09:50:06 GMT Resent-Message-Id: <200603060950.k269o6AP080557@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, Daniel Hartmeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FFE616A420 for ; Mon, 6 Mar 2006 09:48:53 +0000 (GMT) (envelope-from dhartmei@silverstone.benzedrine.cx) Received: from silverstone.benzedrine.cx (insomnia.benzedrine.cx [62.65.145.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6444643D45 for ; Mon, 6 Mar 2006 09:48:51 +0000 (GMT) (envelope-from dhartmei@silverstone.benzedrine.cx) Received: from silverstone.benzedrine.cx (localhost [127.0.0.1]) by silverstone.benzedrine.cx (8.13.4/8.13.4) with ESMTP id k269YpxH002496 for ; Mon, 6 Mar 2006 10:34:51 +0100 (CET) (envelope-from dhartmei@silverstone.benzedrine.cx) Received: (from dhartmei@localhost) by silverstone.benzedrine.cx (8.13.4/8.13.4/Submit) id k269YpBj002495; Mon, 6 Mar 2006 10:34:51 +0100 (CET) (envelope-from dhartmei) Message-Id: <200603060934.k269YpBj002495@silverstone.benzedrine.cx> Date: Mon, 6 Mar 2006 10:34:51 +0100 (CET) From: Daniel Hartmeier To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/94132: USB QUIRK for CENTURY EX35QUAT disk enclosure X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Hartmeier List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 09:50:13 -0000 >Number: 94132 >Category: usb >Synopsis: USB QUIRK for CENTURY EX35QUAT disk enclosure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 06 09:50:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Daniel Hartmeier >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: unorganized >Environment: System: FreeBSD silverstone.benzedrine.cx 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Sun Mar 5 21:52:02 CET 2006 root@silverstone.benzedrine.cx:/usr/obj/usr/src/sys/SILVERSTONE i386 >Description: CENTURY EX35QUAT USB disk enclosure is detected and attaches to umass, but after a random amount of IO stalls in BBB. # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 addr 2: high speed, self powered, config 1, EX35QUAT(0x011e), CENTURY corporation(0x07f7), rev 1.00 port 2 powered port 3 powered port 4 powered # dmesg umass0: CENTURY corporation EX35QUAT, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 1144542MB (2344022352 512 byte sectors: 255H 63S/T 145908C) # tail /var/log/messages Mar 5 18:26:56 silverstone kernel: umass0: BBB reset failed, TIMEOUT Mar 5 18:29:06 silverstone kernel: umass0: BBB reset failed, TIMEOUT Mar 5 18:31:16 silverstone kernel: umass0: BBB reset failed, TIMEOUT >How-To-Repeat: >Fix: Blatantly stolen from kern/71031. Index: usbdevs =================================================================== RCS file: /pub/tmp/cvs/freebsd/src/sys/dev/usb/usbdevs,v retrieving revision 1.232.2.1 diff -u -r1.232.2.1 usbdevs --- usbdevs 1 Oct 2005 16:26:25 -0000 1.232.2.1 +++ usbdevs 5 Mar 2006 20:35:34 -0000 @@ -383,6 +383,7 @@ vendor ARASAN 0x07da Arasan vendor ALLIEDCABLE 0x07e6 Allied Cable vendor STSN 0x07ef STSN +vendor CENTURY 0x07f7 Century Corp vendor ZOOM 0x0803 Zoom vendor BROADLOGIC 0x0827 BroadLogic vendor HANDSPRING 0x082d Handspring @@ -715,6 +716,9 @@ /* CASIO products */ product CASIO NAMELAND 0x4001 CASIO Nameland EZ-USB +/* Century products */ +product CENTURY EX35QUAT 0x011e Century USB Disk Enclosure + /* Cherry products */ product CHERRY MY3000KBD 0x0001 My3000 keyboard product CHERRY MY3000HUB 0x0003 My3000 hub Index: umass.c =================================================================== RCS file: /pub/tmp/cvs/freebsd/src/sys/dev/usb/umass.c,v retrieving revision 1.122.2.1 diff -u -r1.122.2.1 umass.c --- umass.c 29 Jul 2005 15:39:26 -0000 1.122.2.1 +++ umass.c 5 Mar 2006 20:40:51 -0000 @@ -317,6 +317,10 @@ }; Static struct umass_devdescr_t umass_devdescrs[] = { + { USB_VENDOR_CENTURY, USB_PRODUCT_CENTURY_EX35QUAT, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE + }, { USB_VENDOR_ASAHIOPTICAL, PID_WILDCARD, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, RS_NO_CLEAR_UA >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Mar 6 11:03:30 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 4941116A420 for ; Mon, 6 Mar 2006 11:03:30 +0000 (GMT) (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 EDE3843D45 for ; Mon, 6 Mar 2006 11:03:29 +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 k26B3T78098877 for ; Mon, 6 Mar 2006 11:03:29 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k26B3SZx098808 for freebsd-usb@freebsd.org; Mon, 6 Mar 2006 11:03:28 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 6 Mar 2006 11:03:28 GMT Message-Id: <200603061103.k26B3SZx098808@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, 06 Mar 2006 11:03:30 -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 o [2006/02/28] usb/93949 usb ugen(4)-related repeatable kernel panic i 3 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/16] usb/77604 usb Sluggish Logitch LX700 USB Mouse 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/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 76 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 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][path] Nokia 6630 mobile phone do 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.c needs new entry for 4.00 revisio o [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 83 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 6 20:20:06 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 5B97716A420 for ; Mon, 6 Mar 2006 20:20:06 +0000 (GMT) (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 C4A0E43D48 for ; Mon, 6 Mar 2006 20:20:05 +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 k26KK5h8063731 for ; Mon, 6 Mar 2006 20:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k26KK5he063727; Mon, 6 Mar 2006 20:20:05 GMT (envelope-from gnats) Resent-Date: Mon, 6 Mar 2006 20:20:05 GMT Resent-Message-Id: <200603062020.k26KK5he063727@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, Matthew Reimer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4AC116A420 for ; Mon, 6 Mar 2006 20:10:02 +0000 (GMT) (envelope-from mreimer@bilbo.vpop.net) Received: from bilbo.vpop.net (bilbo.vpop.net [70.56.77.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E577443D45 for ; Mon, 6 Mar 2006 20:10:01 +0000 (GMT) (envelope-from mreimer@bilbo.vpop.net) Received: from bilbo.vpop.net (localhost [127.0.0.1]) by bilbo.vpop.net (8.13.3/8.13.1) with ESMTP id k26K9o2u032937 for ; Mon, 6 Mar 2006 12:09:50 -0800 (PST) (envelope-from mreimer@bilbo.vpop.net) Received: (from mreimer@localhost) by bilbo.vpop.net (8.13.3/8.13.1/Submit) id k26K9oAU032936; Mon, 6 Mar 2006 12:09:50 -0800 (PST) (envelope-from mreimer) Message-Id: <200603062009.k26K9oAU032936@bilbo.vpop.net> Date: Mon, 6 Mar 2006 12:09:50 -0800 (PST) From: Matthew Reimer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/94148: Make if_cdce work with ARM linux handhelds X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Reimer List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 20:20:06 -0000 >Number: 94148 >Category: usb >Synopsis: Make if_cdce work with ARM linux handhelds >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: Mon Mar 06 20:20:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Matthew Reimer >Release: FreeBSD 5.4-STABLE i386 >Organization: VPOP Technologies, Inc. >Environment: System: FreeBSD bilbo.vpop.net 5.4-STABLE FreeBSD 5.4-STABLE #4: Tue Nov 22 15:57:47 PST 2005 mreimer@bilbo.vpop.net:/usr/obj/usr/src/sys/BILBO i386 >Description: The attached patches make if_cdce work with ARM-based linux handhelds. >How-To-Repeat: patch, build, install, connect PDA via USB >Fix: --- usbdevs.orig Tue Oct 11 11:24:16 2005 +++ usbdevs Mon Mar 6 12:01:47 2006 @@ -561,6 +561,7 @@ product CHICONY KB8933 0x0001 KB-8933 k /* Compaq products */ product COMPAQ PJB100 0x504a Personal Jukebox PJB100 +product COMPAQ ETHERNETGADGET 0x505a Linux Ethernet/RNDIS gadget on SA1100/PXA /* Connectix products */ product CONNECTIX QUICKCAM 0x0001 QuickCam --- if_cdce.c.orig Thu Oct 20 15:35:08 2005 +++ if_cdce.c Mon Mar 6 12:02:23 2006 @@ -100,6 +100,7 @@ Static const struct cdce_type cdce_devs[ {{ USB_VENDOR_SHARP, USB_PRODUCT_SHARP_SLC750 }, CDCE_ZAURUS | CDCE_NO_UNION }, {{ USB_VENDOR_GMATE, USB_PRODUCT_GMATE_YP3X00 }, CDCE_NO_UNION }, {{ USB_VENDOR_NETCHIP, USB_PRODUCT_NETCHIP_ETHERNETGADGET }, CDCE_NO_UNION }, + {{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_ETHERNETGADGET }, CDCE_NO_UNION }, }; #define cdce_lookup(v, p) ((const struct cdce_type *)usb_lookup(cdce_devs, v, p)) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 11:40: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DF0316A420 for ; Tue, 7 Mar 2006 11:40:13 +0000 (GMT) (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 77E9643D49 for ; Tue, 7 Mar 2006 11:40:12 +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 k27BeCsC021458 for ; Tue, 7 Mar 2006 11:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k27BeCDl021457; Tue, 7 Mar 2006 11:40:12 GMT (envelope-from gnats) Resent-Date: Tue, 7 Mar 2006 11:40:12 GMT Resent-Message-Id: <200603071140.k27BeCDl021457@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, patrice Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F28B316A420 for ; Tue, 7 Mar 2006 11:35:49 +0000 (GMT) (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 C2F5843D45 for ; Tue, 7 Mar 2006 11:35:49 +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 k27BZn2s027102 for ; Tue, 7 Mar 2006 11:35:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k27BZnnw027101; Tue, 7 Mar 2006 11:35:49 GMT (envelope-from nobody) Message-Id: <200603071135.k27BZnnw027101@www.freebsd.org> Date: Tue, 7 Mar 2006 11:35:49 GMT From: patrice To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/94166: btx halted with a flashcard plugged 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, 07 Mar 2006 11:40:13 -0000 >Number: 94166 >Category: usb >Synopsis: btx halted with a flashcard plugged >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 07 11:40:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: patrice >Release: 6.0 >Organization: >Environment: FreeBSD gencf.dvp.idea 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Mar 3 14:24:31 C ET 2006 root@buildcf.idea.priv:/usr/src/sys/i386/compile/MINI i386 >Description: Hello I m using a fresh new install of freebsd 6.0, on sata disk. I have a btx halted error every time i boot with a usb flashcard plugged. BTX loader 1.00 BTX version 1.01 Consoles Internal video/keyboard Bios drive A: is disk0 int=0000000d err=00000000 efl=00030002 eip=00002aca eax=00000000 ebx=00000000 ecx=00000001 edx=00000001 esi=00000000 edi=00008609 ebp=00000000 esp=000003f6 cs=f000 ds=0000 es=f000 fs=0000 gs=0000 ss=9e3b btx halted I have tryed with 2 different usb: 1/ umass0: vendor 0x13fe USB Disk 2.0, rev 2.00/1.00 addr 2 da0 at umass0-sim0 bug 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 Device da0: 40.000MB/s Transfers da0: 240MB (492544 512 byte/sectors: 64H 32S/T 240C) 2/ umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00 addr 2 da0 at umass0-sim0 bug 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 Device da0: 40.000MB/s Transfers da0: 480MB (983808 512 byte/sectors: 64H 32S/T 480C) USB flash plugged: BTX Halted USB flash unplugged: freebsd boot fine Boot order: hd, then usb hd. i have found same probleme with release 5.3 >How-To-Repeat: try to boot with a usb flashcard plugged. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 14:09:22 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 2376E16A422 for ; Tue, 7 Mar 2006 14:09:22 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: from web36715.mail.mud.yahoo.com (web36715.mail.mud.yahoo.com [209.191.85.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 4EA0543D60 for ; Tue, 7 Mar 2006 14:09:20 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: (qmail 58123 invoked by uid 60001); 7 Mar 2006 14:09:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pPPysMV43pnvVDD0Q8l+wC1oVdfT3buEW+RojO/O49WOeb4LyzApZvlfQkIBtbzzAJCqtjw5difCyJe3joOS4WPYIMp54BMejCjD2pMF31Fcw7VTLsEYQzvEFa9+rFY9bpVije1WDAxa+oMjgMJcFOtNmMdO6kjrCQzBV6/k+zQ= ; Message-ID: <20060307140919.58121.qmail@web36715.mail.mud.yahoo.com> Received: from [150.165.75.226] by web36715.mail.mud.yahoo.com via HTTP; Tue, 07 Mar 2006 06:09:19 PST Date: Tue, 7 Mar 2006 06:09:19 -0800 (PST) From: Nenhum de Nos To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: external usb dvdrw 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, 07 Mar 2006 14:09:22 -0000 hello, i have a LG dvdrw and a vipower external enclosure, and a toshiba notebook that can burn dvd's and cd's using it. every command that is not reading a cd/dvd gets me an error. when i run dvd+rw-mediainfo /dev/cd0 it produces an 0x46 error in dmesg. i was running 6.0-release, then stable, then 6.1-beta1 and -beta2 and yesterday i even tried 5.5-beta2. but noone worked. this error has quite no answers in google :( and most of it are really old. is this setup unsupported ? matheus "Throw off those chains of reason And your prison disappears." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 15:17: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C53416A427 for ; Tue, 7 Mar 2006 15:17:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A88E843D72 for ; Tue, 7 Mar 2006 15:17:44 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D98E.dip.t-dialin.net [84.165.217.142]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k27F1Osl068432; Tue, 7 Mar 2006 16:01:25 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k27FHfUc041438; Tue, 7 Mar 2006 16:17:41 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 07 Mar 2006 16:17:41 +0100 Message-ID: <20060307161741.2x9opfeji8c8wcgw@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 07 Mar 2006 16:17:41 +0100 From: Alexander Leidinger To: Nenhum de Nos References: <20060307140919.58121.qmail@web36715.mail.mud.yahoo.com> In-Reply-To: <20060307140919.58121.qmail@web36715.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-usb@freebsd.org Subject: Re: external usb dvdrw 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, 07 Mar 2006 15:17:45 -0000 Nenhum de Nos wrote: > hello, > > i have a LG dvdrw and a vipower external enclosure, > and a toshiba notebook that can burn dvd's and cd's > using it. > > every command that is not reading a cd/dvd gets me an > error. when i run dvd+rw-mediainfo /dev/cd0 it > produces an 0x46 error in dmesg. There where some commits regarding something like this to -current recently. I don't know if they will be in 6.1-RELEASE or not, but the probability is high that those changes will be merged to 6.1. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Kerr's Three Rules for a Successful College: Have plenty of football for the alumni, sex for the students, and parking for the faculty. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 15:54:27 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 6865716A420 for ; Tue, 7 Mar 2006 15:54:27 +0000 (GMT) (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 A0AB843D5A for ; Tue, 7 Mar 2006 15:54:22 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k27Fr7Lm004945; Tue, 7 Mar 2006 08:53:07 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 07 Mar 2006 08:53:07 -0700 (MST) Message-Id: <20060307.085307.71093218.imp@bsdimp.com> To: matheusber@yahoo.com.br From: Warner Losh In-Reply-To: <20060307140919.58121.qmail@web36715.mail.mud.yahoo.com> References: <20060307140919.58121.qmail@web36715.mail.mud.yahoo.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 07 Mar 2006 08:53:07 -0700 (MST) Cc: freebsd-usb@freebsd.org Subject: Re: external usb dvdrw 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, 07 Mar 2006 15:54:27 -0000 > i have a LG dvdrw and a vipower external enclosure, > and a toshiba notebook that can burn dvd's and cd's > using it. > > every command that is not reading a cd/dvd gets me an > error. when i run dvd+rw-mediainfo /dev/cd0 it > produces an 0x46 error in dmesg. I've managed to get this working on current by minor tweaks to the umass driver to not ignore certain commands, but to pass them through. This was also independently done by phk, but there's some issues with the simple hack that might destabilize the thumb drives. This ordinarily wouldn't bother me, but the goofy things are fragile enough as it is, and any extra protection there is likely a good thing... You may have a different problem, however. I used cdrecord with the dvd+rw extensions (growisofs) and found that I got many warnings in the log, I was able to burn a dvd in all but one of the cases I tried. That one case I think was a problem with the production of data using dump was so slow that I couldn't stream the data to the dvd. Some blanks tolerated this well, while others didn't (or I got lucky on some, unlucky on others). Without seeing the messages from the applications that you are using, and a complete dmesg, it is hard to say for sure. Warner From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 16:41: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1129D16A420 for ; Tue, 7 Mar 2006 16:41:03 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: from web36709.mail.mud.yahoo.com (web36709.mail.mud.yahoo.com [209.191.85.43]) by mx1.FreeBSD.org (Postfix) with SMTP id A2A1843D45 for ; Tue, 7 Mar 2006 16:41:02 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: (qmail 39107 invoked by uid 60001); 7 Mar 2006 16:41:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6W2nchV2s7eY1fHemo3WtWx187Ec88KZAFuB3sUxFOQ/rOnAms9XcMNNscgCtpSDIPZ86ICw10L+dq2iyyWZfOCWcBh9jyWDiRB0g99g0QBoNMMMNNIiQUHTnzuWGMdJFbWLg4R17BGEkFyzrV0ZssLpr5eBZuv9acmRxTgI9VA= ; Message-ID: <20060307164101.39105.qmail@web36709.mail.mud.yahoo.com> Received: from [150.165.75.226] by web36709.mail.mud.yahoo.com via HTTP; Tue, 07 Mar 2006 08:41:01 PST Date: Tue, 7 Mar 2006 08:41:01 -0800 (PST) From: Nenhum de Nos To: Warner Losh In-Reply-To: <20060307.085307.71093218.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org Subject: Re: external usb dvdrw 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, 07 Mar 2006 16:41:03 -0000 http://forums.anandtech.com/messageview.aspx?catid=34&threadid=1793193&enterthread=y this describes the problem. i cound copy here, but preffered this way for message length sake :) matheus --- Warner Losh wrote: > > i have a LG dvdrw and a vipower external > enclosure, > > and a toshiba notebook that can burn dvd's and > cd's > > using it. > > > > every command that is not reading a cd/dvd gets me > an > > error. when i run dvd+rw-mediainfo /dev/cd0 it > > produces an 0x46 error in dmesg. > > I've managed to get this working on current by minor > tweaks to the > umass driver to not ignore certain commands, but to > pass them through. > This was also independently done by phk, but there's > some issues with > the simple hack that might destabilize the thumb > drives. This > ordinarily wouldn't bother me, but the goofy things > are fragile enough > as it is, and any extra protection there is likely a > good thing... > > You may have a different problem, however. I used > cdrecord with the > dvd+rw extensions (growisofs) and found that I got > many warnings in > the log, I was able to burn a dvd in all but one of > the cases I tried. > That one case I think was a problem with the > production of data using > dump was so slow that I couldn't stream the data to > the dvd. Some > blanks tolerated this well, while others didn't (or > I got lucky on > some, unlucky on others). Without seeing the > messages from the > applications that you are using, and a complete > dmesg, it is hard to > say for sure. > > Warner > > "Throw off those chains of reason And your prison disappears." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 16:43:55 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 4A40916A420 for ; Tue, 7 Mar 2006 16:43:55 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: from web36707.mail.mud.yahoo.com (web36707.mail.mud.yahoo.com [209.191.85.41]) by mx1.FreeBSD.org (Postfix) with SMTP id C673443D45 for ; Tue, 7 Mar 2006 16:43:54 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: (qmail 3492 invoked by uid 60001); 7 Mar 2006 16:43:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ONXkgG30B95TnGT6Y85NiXqzqdeKtiXwT+VmPUyuuO4AEuZvrFN+55CLJ9hVSfziMLzKIDvgGHKBMRAKQ5xF1VnbR6UQyAxxi02hGB8PAc11JpH/0t/1WJNqA3Y1nvhYRxYMMz8sCVzaYGJSVkAgVkrH1R0Q94W2WetqUtrU2E4= ; Message-ID: <20060307164354.3490.qmail@web36707.mail.mud.yahoo.com> Received: from [150.165.75.226] by web36707.mail.mud.yahoo.com via HTTP; Tue, 07 Mar 2006 08:43:54 PST Date: Tue, 7 Mar 2006 08:43:54 -0800 (PST) From: Nenhum de Nos To: freebsd-usb@freebsd.org In-Reply-To: <20060307161741.2x9opfeji8c8wcgw@netchild.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: external usb dvdrw 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, 07 Mar 2006 16:43:55 -0000 great :) i read about the 6.1 ( releng_6_1 ) schedule and they where supposed to have this by march 5. so i'm waiting for this to happen. as for -current update, how can i have it through cvsup ? i can try it today yet ... thanks ... matheus --- Alexander Leidinger wrote: > Nenhum de Nos wrote: > > > hello, > > > > i have a LG dvdrw and a vipower external > enclosure, > > and a toshiba notebook that can burn dvd's and > cd's > > using it. > > > > every command that is not reading a cd/dvd gets me > an > > error. when i run dvd+rw-mediainfo /dev/cd0 it > > produces an 0x46 error in dmesg. > > There where some commits regarding something like > this to -current recently. > I don't know if they will be in 6.1-RELEASE or not, > but the probability is > high that those changes will be merged to 6.1. > > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander @ Leidinger.net: > PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : > PGP ID = 72077137 > Kerr's Three Rules for a Successful College: > Have plenty of football for the alumni, sex for the > students, > and parking for the faculty. > > > "Throw off those chains of reason And your prison disappears." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 17:30:16 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 5495216A420 for ; Tue, 7 Mar 2006 17:30:16 +0000 (GMT) (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 D7F5A43D6D for ; Tue, 7 Mar 2006 17:30:10 +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 k27HUAX3046366 for ; Tue, 7 Mar 2006 17:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k27HUA6s046365; Tue, 7 Mar 2006 17:30:10 GMT (envelope-from gnats) Date: Tue, 7 Mar 2006 17:30:10 GMT Message-Id: <200603071730.k27HUA6s046365@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Emanuel Haupt Cc: Subject: Re: usb/91546: [umodem][path] Nokia 6630 mobile phone does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 17:30:16 -0000 The following reply was made to PR usb/91546; it has been noted by GNATS. From: Emanuel Haupt To: bug-followup@FreeBSD.org, littlesavage@rambler.ru Cc: Subject: Re: usb/91546: [umodem][path] Nokia 6630 mobile phone does not work Date: Tue, 7 Mar 2006 18:29:36 +0100 The patch works with my Nokia 6680 as well. I am running: 6.0-RELEASE-p4 Thanks for the patch! Emanuel -- GnuPG key id: 0x55E67774 Download: http://pgp.mit.edu:11371 Key fingerprint: 17B3 FD8F BA68 4AB4 10FD A9D1 AD52 6588 55E6 7774 From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 17:34:33 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 142AA16A420 for ; Tue, 7 Mar 2006 17:34:33 +0000 (GMT) (envelope-from korotin@sigma.ripn.net) Received: from sigma.ripn.net (sigma.ripn.net [195.19.26.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7682A43D78 for ; Tue, 7 Mar 2006 17:34:31 +0000 (GMT) (envelope-from korotin@sigma.ripn.net) Received: from korotin by sigma.ripn.net with local (RIPN) id 1FGg4s-000P3q-13 for freebsd-usb@freebsd.org; Tue, 07 Mar 2006 20:34:30 +0300 Date: Tue, 7 Mar 2006 20:34:30 +0300 From: Anton Korotin To: freebsd-usb@freebsd.org Message-ID: <20060307173429.GN90610@sigma.ripn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: ata hdd via is not detected 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, 07 Mar 2006 17:34:33 -0000 Hello, I've recently upgraded my lab box from 5.4 to 6.1-PRERELEASE and found that my 'photobank' stopped working. 'Photobank' is a box containing IDE hard disk and various card readers inside and usb interface outside. When I plug it in, nothing appears on the console, and 'usbdevs -odv' shows: delta# usbdevs -odv Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00, device uhub0 port 1 addr 2: full speed, power 96 mA, config 1, DCB201(0x223a), DCB(0x0424), rev 2.23 port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00, device uhub1 port 1 powered port 2 powered delta# But on plugging out the following message appears on colsole: (null): at uhub0 port 1 (addr 3) disconnected 5.4 detected the disks and cardreaders with a umass(4), 6.1-PRERELEASE doesn't. What do I have to do to clarify the situation? Should I make a pr? Or something changed that I couldn't see in UPDATING? -- Anton From owner-freebsd-usb@FreeBSD.ORG Tue Mar 7 17:52: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 4917116A423; Tue, 7 Mar 2006 17:52:50 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5304F43D8C; Tue, 7 Mar 2006 17:52:36 +0000 (GMT) (envelope-from linimon@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 k27HqaMO048405; Tue, 7 Mar 2006 17:52:36 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k27HqZpV048401; Tue, 7 Mar 2006 17:52:35 GMT (envelope-from linimon) Date: Tue, 7 Mar 2006 17:52:35 GMT From: Mark Linimon Message-Id: <200603071752.k27HqZpV048401@freefall.freebsd.org> To: rich.jt@ntlworld.com, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/94147: doesn't recognise my USB keyboard 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, 07 Mar 2006 17:52:50 -0000 Synopsis: doesn't recognise my USB keyboard State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Tue Mar 7 17:51:38 UTC 2006 State-Changed-Why: Set to note that feedback has been asked for. Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 7 17:51:38 UTC 2006 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=94147 From owner-freebsd-usb@FreeBSD.ORG Sat Mar 11 05:50:27 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 BE41816A420 for ; Sat, 11 Mar 2006 05:50:27 +0000 (GMT) (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 D736543D76 for ; Sat, 11 Mar 2006 05:50:20 +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 k2B5oKas078879 for ; Sat, 11 Mar 2006 05:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2B5oKuJ078878; Sat, 11 Mar 2006 05:50:20 GMT (envelope-from gnats) Resent-Date: Sat, 11 Mar 2006 05:50:20 GMT Resent-Message-Id: <200603110550.k2B5oKuJ078878@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, Lonnie Mendez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E3E16A41F for ; Sat, 11 Mar 2006 05:42:07 +0000 (GMT) (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 12D9143D6A for ; Sat, 11 Mar 2006 05:42:07 +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 k2B5g6MM053437 for ; Sat, 11 Mar 2006 05:42:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2B5g6ln053436; Sat, 11 Mar 2006 05:42:06 GMT (envelope-from nobody) Message-Id: <200603110542.k2B5g6ln053436@www.freebsd.org> Date: Sat, 11 Mar 2006 05:42:06 GMT From: Lonnie Mendez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/94311: [ugen][PATCH] allow interrupt IN transactions to be affected by USB_SET_TIMEOUT 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, 11 Mar 2006 05:50:27 -0000 >Number: 94311 >Category: usb >Synopsis: [ugen][PATCH] allow interrupt IN transactions to be affected by USB_SET_TIMEOUT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 11 05:50:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Lonnie Mendez >Release: 6.1-BETA2 >Organization: >Environment: FreeBSD twind 6.1-BETA2 FreeBSD 6.1-BETA2 #4: Fri Mar 10 22:09:38 CST 2006 root@twind:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: While developing the usb redirector for qemu on FreeBSD I ran into the fact that the interrupt transaction process in ugen.c:ugen_do_read() does not allow for a timeout value (hangs process without O_NONBLOCK and no data). The man page for ugen also does not mention that USB_SET_TIMEOUT ioctl has no effect for interrupt IN transaction so I'm led to believe this is a bug/feature not yet fixed: USB_SET_TIMEOUT (int) Set the timeout on the device operations, the time is specified in milliseconds. The value 0 is used to indicate that there is no timeout. The patch below I believe corrects for this by using the timeout value that can be set from USB_SET_TIMEOUT ioctl in the tsleep call. With this patch the redirector can maintain the KISS principle while functioning properly. >How-To-Repeat: >Fix: --- sys/dev/usb/ugen.c Fri Mar 10 23:17:56 2006 +++ sys/dev/usb/ugen.c Fri Mar 10 22:28:32 2006 @@ -726,12 +726,15 @@ } sce->state |= UGEN_ASLP; DPRINTFN(5, ("ugenread: sleep on %p\n", sce)); - error = tsleep(sce, PZERO | PCATCH, "ugenri", 0); + error = tsleep(sce, PZERO | PCATCH, "ugenri", + (sce->timeout*hz+999)/1000); DPRINTFN(5, ("ugenread: woke, error=%d\n", error)); if (sc->sc_dying) error = EIO; if (error) { sce->state &= ~UGEN_ASLP; + if (error == EWOULDBLOCK) + error = ETIMEDOUT; break; } } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Mar 11 11:45:08 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 D136D16A41F for ; Sat, 11 Mar 2006 11:45:08 +0000 (GMT) (envelope-from morten@oslonett.no) Received: from mail47.e.nsc.no (mail47.e.nsc.no [193.213.115.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493CD43D49 for ; Sat, 11 Mar 2006 11:45:05 +0000 (GMT) (envelope-from morten@oslonett.no) Received: from [10.10.10.7] (ti211310a080-10183.bb.online.no [85.166.39.199]) by mail47.nsc.no (8.13.5/8.13.5) with ESMTP id k2BBj3VF022466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Mar 2006 12:45:04 +0100 (CET) Message-ID: <4412B83F.1080100@oslonett.no> Date: Sat, 11 Mar 2006 12:45:03 +0100 From: Morten Johansen User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: Nenad Kljajic X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/mixed; boundary="------------000707040307060709070702" Cc: freebsd-usb@freebsd.org Subject: [PATCH] Logitech USB Receiver mouse workaround patch 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, 11 Mar 2006 11:45:08 -0000 This is a multi-part message in MIME format. --------------000707040307060709070702 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Nenad Kljajic wrote: > There is some problem with hid_report_size() function > and Logitech USB receiver in /usr/src/sys/dev/usb/ums.c. > The returned value is 14 but it should be 8. > This results in subsamling mouse data and jerky cursor movement. > > I have tested this workaround patch for > Logitech® Cordless Desktop® MX™ 3100 > and it works fine now. > Can you try the attached patch to hid.c instead the workaround? There is also an open PR usb/77604 on this. --------------000707040307060709070702 Content-Type: text/plain; name="hid.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hid.c.patch" --- hid.c Sat Jun 4 18:00:09 2005 +++ hid.c.mj Tue Feb 22 02:32:55 2005 @@ -371,14 +371,22 @@ { struct hid_data *d; struct hid_item h; - int size, id; + int hi, lo, size, id; id = 0; + hi = lo = -1; for (d = hid_start_parse(buf, len, 1< 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 32B8E16A41F for ; Sat, 11 Mar 2006 18:11:09 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 99AA443D60 for ; Sat, 11 Mar 2006 18:11:05 +0000 (GMT) (envelope-from ale@FreeBSD.org) Received: (qmail 27755 invoked from network); 11 Mar 2006 18:11:03 -0000 Received: from unknown (HELO ?192.168.178.2?) (a.premoli@andxor.it@81.174.31.42) by andxor.it with SMTP; 11 Mar 2006 18:11:03 -0000 Message-ID: <441312B7.8010700@FreeBSD.org> Date: Sat, 11 Mar 2006 19:11:03 +0100 From: Alex Dupre User-Agent: Thunderbird 1.5 (X11/20060301) MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Problem with 16-in-1 card reader 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, 11 Mar 2006 18:11:09 -0000 My new PC has an *internal* (3.5" slot) 16-in-1 card reader connected via USB 2.0. The device is the Techsolo TCR-1640 (http://www.techsolo.de/product/cardreader/tcr_1640/index.php). I boot from a compact flash inserted in it and I can mount and unmount the same CF once the system has booted and has mounted the root filesystem from my graid3 array. The problem arise when I replace the inserted CF with another one (with different size and filesystem, for example an MSDOS formatted card) and try to mount it. Fdisk can correctly sees the new partition table, but devfs is not updated and I cannot mount the new media. I tried to issue all sort of camcontrol commands (rescan the bus, eject and load the device, ...) but the dev entries remain unchanged (equal as boot time) even if the card is inserted or removed (camcontrol tur can see if the media is ready or not). If I issue new fdisk and bsdlabel write commands, the dev entries are updated (I created the boot CF exactly in this way), but I can't find a way to update them based on what is actually inserted. The system is a recent 6.1-PRERELEASE. Any ideas or suggestions? In there a way to SW unplug/replug the umass0 device and let FreeBSD recreate the correct device nodes? Follows some more debug info. Boot messages if CF is not present: umass0: Generic Mass Storage Device, rev 2.00/1.27, addr 2 da2 at umass-sim0 bus 0 target 0 lun 0 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 1 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da4 at umass-sim0 bus 0 target 0 lun 2 da4: Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present da5 at umass-sim0 bus 0 target 0 lun 3 da5: Removable Direct Access SCSI-0 device da5: 40.000MB/s transfers da5: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:0): SCSI Status: Check Condition (da2:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:0): Medium not present (da2:umass-sim0:0:0:0): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:0): SCSI Status: Check Condition (da2:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:0): Medium not present (da2:umass-sim0:0:0:0): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:0): SCSI Status: Check Condition (da2:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:0): Medium not present (da2:umass-sim0:0:0:0): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:0): SCSI Status: Check Condition (da2:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:0): Medium not present (da2:umass-sim0:0:0:0): Unretryable error Opened disk da2 -> 6 (da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:1): SCSI Status: Check Condition (da3:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:1): Medium not present (da3:umass-sim0:0:0:1): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:1): SCSI Status: Check Condition (da3:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:1): Medium not present (da3:umass-sim0:0:0:1): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:1): SCSI Status: Check Condition (da3:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:1): Medium not present (da3:umass-sim0:0:0:1): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:1): SCSI Status: Check Condition (da3:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:1): Medium not present (da3:umass-sim0:0:0:1): Unretryable error Opened disk da3 -> 6 (da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:2): SCSI Status: Check Condition (da4:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da4:umass-sim0:0:0:2): Medium not present (da4:umass-sim0:0:0:2): Unretryable error Opened disk da4 -> 6 (da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:2): SCSI Status: Check Condition (da4:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da4:umass-sim0:0:0:2): Medium not present (da4:umass-sim0:0:0:2): Unretryable error Opened disk da4 -> 6 (da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:2): SCSI Status: Check Condition (da4:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da4:umass-sim0:0:0:2): Medium not present (da4:umass-sim0:0:0:2): Unretryable error Opened disk da4 -> 6 (da4:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:2): SCSI Status: Check Condition (da4:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da4:umass-sim0:0:0:2): Medium not present (da4:umass-sim0:0:0:2): Unretryable error Opened disk da4 -> 6 (da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:3): SCSI Status: Check Condition (da5:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da5:umass-sim0:0:0:3): Medium not present (da5:umass-sim0:0:0:3): Unretryable error Opened disk da5 -> 6 (da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:3): SCSI Status: Check Condition (da5:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da5:umass-sim0:0:0:3): Medium not present (da5:umass-sim0:0:0:3): Unretryable error Opened disk da5 -> 6 (da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:3): SCSI Status: Check Condition (da5:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da5:umass-sim0:0:0:3): Medium not present (da5:umass-sim0:0:0:3): Unretryable error Opened disk da5 -> 6 (da5:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:3): SCSI Status: Check Condition (da5:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da5:umass-sim0:0:0:3): Medium not present (da5:umass-sim0:0:0:3): Unretryable error Opened disk da5 -> 6 So I get a da3 (CF) device and no slices when I insert a new card. If a CF is inserted at boot time I get: da3 at umass-sim0 bus 0 target 0 lun 1 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 30MB (62720 512 byte sectors: 64H 32S/T 30C) and no da3:umass-sim0:0:0:1 errors...In this case I have da3, das1, da3s1a and da3s1c, but when I insert an msdos card I still have bsdlabel entries even if there are no partitions at all. %usbdevs -dovf /dev/usb4 Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00, device uhub4 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 2: high speed, power 250 mA, config 1, Mass Storage Device(0x6362), Generic(0x058f), rev 1.27, device umass0 port 6 powered port 7 powered port 8 powered %camcontrol devlist at scbus1 target 0 lun 0 (da0,pass0) at scbus1 target 2 lun 0 (da1,pass1) at scbus2 target 0 lun 0 (da2,pass2) at scbus2 target 0 lun 1 (da3,pass3) at scbus2 target 0 lun 2 (da4,pass4) at scbus2 target 0 lun 3 (da5,pass5) at scbus4 target 0 lun 0 (cd0,pass6) at scbus4 target 1 lun 0 (cd1,pass7) -- Alex Dupre From owner-freebsd-usb@FreeBSD.ORG Sat Mar 11 20:13: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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F5BD16A41F; Sat, 11 Mar 2006 20:13:03 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 259F943D49; Sat, 11 Mar 2006 20:13:03 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (zfvnnbfb1elzj8ec@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id k2BKD2cs066483; Sat, 11 Mar 2006 12:13:02 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id k2BKD2gB066482; Sat, 11 Mar 2006 12:13:02 -0800 (PST) (envelope-from jmg) Date: Sat, 11 Mar 2006 12:13:02 -0800 From: John-Mark Gurney To: Alex Dupre Message-ID: <20060311201302.GJ840@funkthat.com> Mail-Followup-To: Alex Dupre , freebsd-usb@FreeBSD.org References: <441312B7.8010700@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <441312B7.8010700@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-usb@FreeBSD.org Subject: Re: Problem with 16-in-1 card reader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 20:13:03 -0000 Alex Dupre wrote this message on Sat, Mar 11, 2006 at 19:11 +0100: > The problem arise when I replace the inserted CF with another one (with > different size and filesystem, for example an MSDOS formatted card) and > try to mount it. Fdisk can correctly > sees the new partition table, but devfs is not updated and I cannot > mount the new media. I tried to issue all sort of camcontrol commands > (rescan the bus, eject and load the device, ...) but the dev entries > remain unchanged (equal as boot time) even if the card is inserted or > removed (camcontrol tur can see if the media is ready or not). If I > issue new fdisk and bsdlabel write commands, the dev entries are updated > (I created the boot CF exactly in this way), but I can't find a way to > update them based on what is actually inserted. > The system is a recent 6.1-PRERELEASE. > > Any ideas or suggestions? In there a way to SW unplug/replug the umass0 > device and let FreeBSD recreate the correct device nodes? have you tried: cat /dev/null > /dev/da0 That will force a reprobe of the geom layer for the da0 device by opening it for write, and immediately closing it. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."