From owner-freebsd-usb@FreeBSD.ORG Mon Aug 27 11:08:40 2007 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3FD816A570 for ; Mon, 27 Aug 2007 11:08:40 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A9B913C442 for ; Mon, 27 Aug 2007 11:08:40 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7RB8eIG020708 for ; Mon, 27 Aug 2007 11:08:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7RB8dWL020704 for freebsd-usb@FreeBSD.org; Mon, 27 Aug 2007 11:08:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Aug 2007 11:08:39 GMT Message-Id: <200708271108.l7RB8dWL020704@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to 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, 27 Aug 2007 11:08:40 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/57085 usb [umass] umass0 problems, with Sony Vio/USB memory stic o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb [panic] kernel panic on USB device disconnect o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb [uhci] UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit a usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [patch] mounting of usb-stick fails o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected s usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb [umass] [panic] EHCI: I/O stuck in state 'physrd'/pani o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] [patch] bogus "slice starts beyond end of the di o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [hang] FreeBSD hangs while booting with USB legacy sup o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [irq] device ehci causes interrupt storm on this MSI a o usb/93828 usb [panic] ohci causes panic on boot (HP Pavillion d4100e o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/95131 usb [install] Boot/setup process does not accept key strok o usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb [mouse] USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb [panic] fatback on umass = reboot o usb/97286 usb [mouse] MS Wireless Intellimouse Explorer 2.0 doesn't o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb [patch] /usr/sbin/usbd does not handle multiple device o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb [hang] system lockup on forced umount of usb-storage d o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [hang] USB Floppy on D1950 10 min Hang on Insert w/o F o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb [umass] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/112568 usb USB mode may wrong when mounting Playstation Pro o usb/112631 usb [panic] Problem with SONY DSC-S80 camera o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] FreeBSD could not start on Core2Duo notebook fr o usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM o usb/113977 usb [feature request] Need a way to set mode of USB disk's o usb/114310 usb [panic] USB hub attachment panics kernel during libusb o usb/114682 usb USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb Turning off USB printer panics kernel 102 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [usb] USB HP CDW8200 does not work o usb/48342 usb [PATCH] usbd dynamic device list. f usb/51958 usb [urio] [patch] update for urio driver o usb/52026 usb [usb] feature request: umass driver support for InSyst o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio o usb/62257 usb [umass] card reader UCR-61S2B is only half-supported o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o usb/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o usb/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/74453 usb [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chip o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch f usb/78984 usb [patch] Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92852 usb [mouse] [patch] Vertical scroll not working properly o o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/95173 usb [umass] [patch] cannot mount external usb harddisk VIA o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/97175 usb [hang] USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera cause panic o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge f usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb [usbd] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/112461 usb [ehci] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb problem with Samsung USB DVD writer, libscg and FreeBS o usb/112944 usb [patch] Bi-directional access to HP LaserJet 1010 prin o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb WARNING: attempt to net_add_domain(netgraph) after dom o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass p usb/114860 usb if_udav / ShanTou ST268 USB NIC o usb/114916 usb USB Maxtor drive (L300RO) requires quirk. o usb/114938 usb can't attach eli-devices on external hd o usb/115080 usb using a Hercules HWGUSB2-54-V2 wifi usb adapter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115737 usb uplcom doesn't identify my Prolific 2303 any more 98 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 27 11:19:58 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52A616A417 for ; Mon, 27 Aug 2007 11:19:58 +0000 (UTC) (envelope-from rsidd120@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6A57213C465 for ; Mon, 27 Aug 2007 11:19:58 +0000 (UTC) (envelope-from rsidd120@gmail.com) Received: by wa-out-1112.google.com with SMTP id m33so1906447wag for ; Mon, 27 Aug 2007 04:19:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eRx29qZdtuFT5Cb/5c27cC5wCkeP6yLrPKUnZ2Q7b4bgFXymCKjs7lnPqYynW1VSrJnCDpthjLrD426HYn9Qhe0ztvQd22vgQL8FLmnsV2kEstqrsywvb9BDoeBfmBZcjtFIYMk/yrMkrHFrXWRMDYpqiL8GDLW83kiZh0Pik2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mYE8yQ/U7yaphpab66PXdspc6XXjhjij3Pc7Je8BObNqh+WMYqX8pAJmQ2q+dDcR3MWBaEWG5NMayv0HgcNDmRBsAqeUukv62e5GAX8xp0/4lLnN2x6Pec58hc7+k/nVBKdk7P1Wgu6CqiLt2oe2MiLQpGNNVF7IumuMyXgrNRc= Received: by 10.114.76.1 with SMTP id y1mr576356waa.1188213597703; Mon, 27 Aug 2007 04:19:57 -0700 (PDT) Received: by 10.114.147.17 with HTTP; Mon, 27 Aug 2007 04:19:57 -0700 (PDT) Message-ID: <6a506d980708270419v561ad40ap1b73dd73e2bf87c7@mail.gmail.com> Date: Mon, 27 Aug 2007 16:49:57 +0530 From: "Rahul Siddharthan" To: "M. Warner Losh" In-Reply-To: <6a506d980708250932q7843f3a0u17240d7fb9033164@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200708241010.l7OAA7bl066026@freefall.freebsd.org> <20070824.212230.-957833176.imp@bsdimp.com> <6a506d980708242103j6d34449exadf3debc1275656f@mail.gmail.com> <20070825.093151.2040712281.imp@bsdimp.com> <6a506d980708250932q7843f3a0u17240d7fb9033164@mail.gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: usb/105361: [panic] Kernel panic during unmounting mass storage (Creative mp3 player) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rsidd120@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 11:19:58 -0000 I wrote: > However, I take back what I said about the problem being fixed by > commenting out the clear endpoint stall thing. It's not working any > more -- and, moreover, the hard disk light stays on after I insert the > USB stick. And if I remove it, there's an instant panic. > > I have now reverted that change to usb_subr.c. Now it lets me insert the > stick and remove it, but if I do that 2-3 times (not in quick succession), > it panics. Below is a backtrace. Let me reiterate that nothing is being mounted here -- the device is not even being registered as a SCSI drive. Digging further in the archives, I just came across a long thread on unmount panics in freebsd-stable in July, including posts from you (Warner) acknowledging that it's a serious problem but saying fixing it will be horrendously difficult because of historical assumptions at all levels in the VM/buffer-cache/etc that "devices don't go away". But this doesn't seem to be that problem. I can't believe I'm the only one seeing it. If you can't reproduce it, I'm happy to mail you the device in question (which works nicely on linux and windows). Rahul From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 01:12:56 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F080F16A418 for ; Tue, 28 Aug 2007 01:12:56 +0000 (UTC) (envelope-from vss@73rus.com) Received: from tail.lionet.info (tail.lionet.info [216.218.215.226]) by mx1.freebsd.org (Postfix) with ESMTP id C4FE913C457 for ; Tue, 28 Aug 2007 01:12:56 +0000 (UTC) (envelope-from vss@73rus.com) Received: from [10.72.109.162] (nat-dip4.corp.yahoo.com [207.126.230.225]) (authenticated bits=0) by tail.lionet.info (8.13.8/8.13.6) with ESMTP id l7S0fZfF025686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 27 Aug 2007 17:41:36 -0700 (PDT) (envelope-from vss@73rus.com) Message-ID: <46D36F3B.70400@73rus.com> Date: Mon, 27 Aug 2007 17:41:31 -0700 From: Vlad Skvortsov User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (tail.lionet.info [216.218.215.226]); Mon, 27 Aug 2007 17:41:36 -0700 (PDT) Subject: low USB tranfer rate with external IDE 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, 28 Aug 2007 01:12:57 -0000 Hi! I've got FreeBSD 6-STABLE with external HDD enclosure that claims to support USB2.0 transfer rates. It is attached via a PCI USB2.0 card. The transfer rate I'm getting with this setup is only around 1 Mb/s: 16:20 [vss@bear] ~ > diskinfo -t da0 da0 512 # sectorsize 250059350016 # mediasize in bytes (233G) 488397168 # mediasize in sectors 30401 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 9.134642 sec = 36.539 msec Half stroke: 250 iter in 6.990184 sec = 27.961 msec Quarter stroke: 500 iter in 11.123201 sec = 22.246 msec Short forward: 400 iter in 3.346094 sec = 8.365 msec Short backward: 400 iter in 3.451729 sec = 8.629 msec Seq outer: 2048 iter in 12.313245 sec = 6.012 msec Seq inner: 2048 iter in 12.321137 sec = 6.016 msec Transfer rates: outside: 102400 kbytes in 101.798916 sec = 1006 kbytes/sec middle: 102400 kbytes in 101.800717 sec = 1006 kbytes/sec inside: 102400 kbytes in 101.804236 sec = 1006 kbytes/sec It seems to be limited by the device: 16:28 [root@bear] ~ # camcontrol inquiry da0 pass0: Fixed Direct Access SCSI-0 device pass0: Serial Number pass0: 1.000MB/s transfers Here are relevant lines from the dmesg: 16:37 [vss@bear] ~ > dmesg | grep umass umass0: Myson Century, Inc. USB Mass Storage Device, rev 2.00/b0.08, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 16:37 [vss@bear] ~ > dmesg | grep usb usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 16:39 [vss@bear] ~ > dmesg | grep ^uh uhci0: port 0x1000-0x101f irq 11 at device 4.2 on pci0 uhci0: [GIANT-LOCKED] uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1020-0x103f irq 10 at device 16.0 on pci0 uhci1: [GIANT-LOCKED] uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1060-0x107f irq 11 at device 16.1 on pci0 uhci2: [GIANT-LOCKED] uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered Any clues? Where should I look at? I'm concerned with 'USB revision 1.0' in the output -- could that be the problem? -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 05:56:41 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9433516A417 for ; Tue, 28 Aug 2007 05:56:41 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp5.yandex.ru (smtp5.yandex.ru [87.250.248.71]) by mx1.freebsd.org (Postfix) with ESMTP id C0FE013C459 for ; Tue, 28 Aug 2007 05:56:40 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:44526 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S1054235AbXH1FbY (ORCPT ); Tue, 28 Aug 2007 09:31:24 +0400 X-Comment: RFC 2476 MSA function at smtp5.yandex.ru logged sender identity as: bu7cher Message-ID: <46D3B32A.7080603@yandex.ru> Date: Tue, 28 Aug 2007 09:31:22 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Vlad Skvortsov References: <46D36F3B.70400@73rus.com> In-Reply-To: <46D36F3B.70400@73rus.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE 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, 28 Aug 2007 05:56:41 -0000 Vlad Skvortsov wrote: > Any clues? Where should I look at? I'm concerned with 'USB revision 1.0' > in the output -- could that be the problem? Do you have "device ehci" in your kernel config? -- WBR, Andrey V. Elsukov From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 15:50:10 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB4A16A417 for ; Tue, 28 Aug 2007 15:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DC09213C4DA for ; Tue, 28 Aug 2007 15:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SFoAPf064056 for ; Tue, 28 Aug 2007 15:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7SFoAXU064055; Tue, 28 Aug 2007 15:50:10 GMT (envelope-from gnats) Date: Tue, 28 Aug 2007 15:50:10 GMT Message-Id: <200708281550.l7SFoAXU064055@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Luigi Rizzo Cc: Subject: Re: usb/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luigi Rizzo List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 15:50:11 -0000 The following reply was made to PR usb/107665; it has been noted by GNATS. From: Luigi Rizzo To: bug-followup@FreeBSD.org, steinarh@pvv.ntnu.no Cc: Subject: Re: usb/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP Date: Tue, 28 Aug 2007 08:33:11 -0700 just bought one of these devices (DX5050) and made it work on FreeBSD with a partly modified patch. If others want to try it, the full details (including SANE configuration) are at http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html (includes a kernel patch, currently at http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.20070828.diffs but the url might change as i work on it). It would be nice to know other stories. Have not tried the printer yet, but the scanner does work, and the cardreader works as well. For a 90 Euro device, not bad! cheers luigi From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 19:23:58 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 051E916A417 for ; Tue, 28 Aug 2007 19:23:58 +0000 (UTC) (envelope-from vss@73rus.com) Received: from tail.lionet.info (tail.lionet.info [216.218.215.226]) by mx1.freebsd.org (Postfix) with ESMTP id C83D213C48A for ; Tue, 28 Aug 2007 19:23:55 +0000 (UTC) (envelope-from vss@73rus.com) Received: from [10.72.109.162] (nat-dip4.corp.yahoo.com [207.126.230.225]) (authenticated bits=0) by tail.lionet.info (8.13.8/8.13.6) with ESMTP id l7SJNtLB045507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 Aug 2007 12:23:55 -0700 (PDT) (envelope-from vss@73rus.com) Message-ID: <46D47646.7080509@73rus.com> Date: Tue, 28 Aug 2007 12:23:50 -0700 From: Vlad Skvortsov User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> In-Reply-To: <46D3B32A.7080603@yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (tail.lionet.info [216.218.215.226]); Tue, 28 Aug 2007 12:23:55 -0700 (PDT) Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE 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, 28 Aug 2007 19:23:58 -0000 Andrey V. Elsukov wrote: > Vlad Skvortsov wrote: > >> Any clues? Where should I look at? I'm concerned with 'USB revision >> 1.0' in the output -- could that be the problem? > > Do you have "device ehci" in your kernel config? > No, I don't. Should I? The man page says: "The driver is not finished and is quite buggy." -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 21:04:43 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B6A716A41A for ; Tue, 28 Aug 2007 21:04:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id F151613C45E for ; Tue, 28 Aug 2007 21:04:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l7SL2bdg021190; Tue, 28 Aug 2007 15:02:40 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 28 Aug 2007 15:02:35 -0600 (MDT) Message-Id: <20070828.150235.1723238677.imp@bsdimp.com> To: vss@73rus.com From: "M. Warner Losh" In-Reply-To: <46D47646.7080509@73rus.com> References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> <46D47646.7080509@73rus.com> X-Mailer: Mew version 5.2 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, 28 Aug 2007 15:02:41 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE 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, 28 Aug 2007 21:04:43 -0000 In message: <46D47646.7080509@73rus.com> Vlad Skvortsov writes: : Andrey V. Elsukov wrote: : > Vlad Skvortsov wrote: : > : >> Any clues? Where should I look at? I'm concerned with 'USB revision : >> 1.0' in the output -- could that be the problem? : > : > Do you have "device ehci" in your kernel config? : > : : No, I don't. Should I? The man page says: : : "The driver is not finished and is quite buggy." The man page takes a too pessimistic view of ehci. It works for most people. Warner From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 21:39:24 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A36C16A420 for ; Tue, 28 Aug 2007 21:39:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from tail.lionet.info (tail.lionet.info [216.218.215.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB9213C459 for ; Tue, 28 Aug 2007 21:39:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from [10.72.109.162] (nat-dip4.corp.yahoo.com [207.126.230.225]) (authenticated bits=0) by tail.lionet.info (8.13.8/8.13.6) with ESMTP id l7SLdKHl048242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 Aug 2007 14:39:21 -0700 (PDT) (envelope-from vss@73rus.com) Message-ID: <46D49603.5070301@73rus.com> Date: Tue, 28 Aug 2007 14:39:15 -0700 From: Vlad Skvortsov User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: "M. Warner Losh" References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> <46D47646.7080509@73rus.com> <20070828.150235.1723238677.imp@bsdimp.com> In-Reply-To: <20070828.150235.1723238677.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (tail.lionet.info [216.218.215.226]); Tue, 28 Aug 2007 14:39:21 -0700 (PDT) Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE 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, 28 Aug 2007 21:39:24 -0000 M. Warner Losh wrote: > In message: <46D47646.7080509@73rus.com> > Vlad Skvortsov writes: > : Andrey V. Elsukov wrote: > : > Vlad Skvortsov wrote: > : > > : >> Any clues? Where should I look at? I'm concerned with 'USB revision > : >> 1.0' in the output -- could that be the problem? > : > > : > Do you have "device ehci" in your kernel config? > : > > : > : No, I don't. Should I? The man page says: > : > : "The driver is not finished and is quite buggy." > > The man page takes a too pessimistic view of ehci. It works for most > people. > > Warner > Ok, I have compiled a kernel with ehci in. Here is a snippet of dmesg output (right after rebooting the box): da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) umass0: BBB reset failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: Invalid CSW: sig 0x4628f8ff should be 0x53425355 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Note that it displays high transfer rate this time. I've ran 'diskinfo -t' to check the actual rate; the seek tests have passed but transfers hung. 'dd' froze either: 13:31 [vss@bear] ~ > dd if=/dev/da0 of=/dev/null bs=1m count=10 ^C Nothing relevant in /var/log/messages. How can I debug it further? -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com From owner-freebsd-usb@FreeBSD.ORG Tue Aug 28 22:43:24 2007 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DAA316A419 for ; Tue, 28 Aug 2007 22:43:24 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 45F0F13C428 for ; Tue, 28 Aug 2007 22:43:24 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l7SMN1Yk035900; Tue, 28 Aug 2007 15:23:01 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l7SMN1vD035899; Tue, 28 Aug 2007 15:23:01 -0700 (PDT) (envelope-from rizzo) Date: Tue, 28 Aug 2007 15:23:01 -0700 From: Luigi Rizzo To: usb@freebsd.org Message-ID: <20070828152301.A34802@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: Subject: FreeBSD support for the Epson CX5000/DX5000/DX5050 printer-scanner 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, 28 Aug 2007 22:43:24 -0000 There was already a thread on the topic as http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/107665 however, since i just bought a DX-5050 and have it fully working on FreeBSD (which is usually rare with USB devices), i thought it was good to summarise and detail all the steps needed to configure the device: http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html I hope you'll find the info useful. I am quite happy with the device so far, and it is extremely low cost. For the records - the CX5000 and DX5050 seem to be the same thing, one for the US market, the other one for the european market. The DX5000 is marginally slower (24ppm vs 26ppm), but no idea if it is because of faster CPU or faster mechanics. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Wed Aug 29 23:50:04 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA76E16A419 for ; Wed, 29 Aug 2007 23:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 89D5D13C459 for ; Wed, 29 Aug 2007 23:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7TNo4kp087475 for ; Wed, 29 Aug 2007 23:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7TNo4o4087474; Wed, 29 Aug 2007 23:50:04 GMT (envelope-from gnats) Resent-Date: Wed, 29 Aug 2007 23:50:04 GMT Resent-Message-Id: <200708292350.l7TNo4o4087474@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, "HAGIMORI 'buggy' Masashige" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3565916A417 for ; Wed, 29 Aug 2007 23:43:54 +0000 (UTC) (envelope-from buggy@sm.sony.co.jp) Received: from mgw2.sony.co.jp (MGW2.Sony.CO.JP [137.153.0.14]) by mx1.freebsd.org (Postfix) with ESMTP id E724013C45E for ; Wed, 29 Aug 2007 23:43:53 +0000 (UTC) (envelope-from buggy@sm.sony.co.jp) Received: from mail37.sony.co.jp ([43.0.1.236]) Received: from mail37.sony.co.jp (localhost [127.0.0.1]) by mail37.sony.co.jp (R8/Sony) with ESMTP id l7TMdjWr008600 for ; Thu, 30 Aug 2007 07:39:45 +0900 (JST) Received: from smail2.sm.sony.co.jp (smail2.sm.sony.co.jp [43.13.142.1]) by mail37.sony.co.jp (R8/Sony) with ESMTP id l7TMdj0X008597 for ; Thu, 30 Aug 2007 07:39:45 +0900 (JST) Received: from dtcmail.sm.sony.co.jp (IDENT:root@dtcmail.sm.sony.co.jp [43.19.241.71]) by smail2.sm.sony.co.jp (8.11.6p2/8.11.6) with ESMTP id l7TMdiV04230 for ; Thu, 30 Aug 2007 07:39:44 +0900 (JST) Received: from elcamino.sm.sony.co.jp (elcamino [43.8.215.21]) by dtcmail.sm.sony.co.jp (8.12.9/3.7W07/14/01) with ESMTP id l7TMdiWK011967 for ; Thu, 30 Aug 2007 07:39:44 +0900 Received: from elcamino.sm.sony.co.jp (localhost [127.0.0.1]) by elcamino.sm.sony.co.jp (8.13.8/8.11.6) with ESMTP id l7TMdixU009547 for ; Thu, 30 Aug 2007 07:39:44 +0900 (JST) (envelope-from buggy@sm.sony.co.jp) Message-Id: <20070830073944J.buggy@sm.sony.co.jp> Date: Thu, 30 Aug 2007 07:39:44 +0900 From: "HAGIMORI 'buggy' Masashige" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: usb/115933: RATOC REX-USB60F (usb serial converter) is working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 23:50:04 -0000 >Number: 115933 >Category: usb >Synopsis: RATOC REX-USB60F (usb serial converter) is working >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 29 23:50:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: HAGIMOR 'buggy' Masasige >Release: FreeBSD 6.2-RELEASE i386 >Organization: n/a >Environment: System: FreeBSD xxxxxxxx 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Tue Aug 28 08:26:12 JST 2007 buggy@xxxxxxxx:/usr/src/sys/i386/compile/xxxxxxxxx i386 >Description: >How-To-Repeat: >Fix: the RATOC REX-USB60F serial convert is probed the ugen usb device. but it is not working. i checked its document and it has "ftdi" spell. so the probe() and the attach() in the uftid.c is added the vendor id and the product id on the REX-USB60F which are 0x0584 (RATOC) and 0xb020 (REX-USB60F). now, it works fine on the ucom usb with the uftdi. # cd /usr/src/sys # patch -p1 < /someware/ratoc_rex-usb60f_for_FreeBSD6.2R.patch # cd modules/uftdi # make # kldunload -i [uftdi.ko kld-id] # kldload ./uftdi.ko # cat /var/log/messages Aug 28 09:40:57 xxxxxxxx kernel: ucom0: RATOC Systems,Inc. USB-Serial Converter, rev 2.00/4.00, addr 2 # usbdevs -v port 2 addr 2: full speed, power 100 mA, config 1, USB-Serial Converter(0xb020), RATOC Systems,Inc.(0x0584), rev 4.00 --- ratoc_rex-usb60f_for_FreeBSD6.2R.patch begins here --- diff -crN sys.orig/dev/usb/uftdi.c sys/dev/usb/uftdi.c *** sys.orig/dev/usb/uftdi.c Wed Apr 6 07:09:18 2005 --- sys/dev/usb/uftdi.c Tue Aug 28 09:26:04 2007 *************** *** 180,185 **** --- 180,189 ---- (uaa->product == USB_PRODUCT_BBELECTRONICS_USOTL4)) return (UMATCH_VENDOR_PRODUCT); + if (uaa->vendor == USB_VENDOR_RATOC && + (uaa->product == USB_PRODUCT_RATOC_REXUSB60F)) + return (UMATCH_VENDOR_PRODUCT); + return (UMATCH_NONE); } *************** *** 230,235 **** --- 234,240 ---- ucom->sc_iface = iface; switch( uaa->vendor ){ case USB_VENDOR_FTDI: + case USB_VENDOR_RATOC: switch( uaa->product ){ case USB_PRODUCT_FTDI_SERIAL_8U100AX: sc->sc_type = UFTDI_TYPE_SIO; *************** *** 247,252 **** --- 252,258 ---- case USB_PRODUCT_FTDI_MX4_5: case USB_PRODUCT_FTDI_LK202: case USB_PRODUCT_FTDI_LK204: + case USB_PRODUCT_RATOC_REXUSB60F: sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; diff -crN sys.orig/dev/usb/usbdevs sys/dev/usb/usbdevs *** sys.orig/dev/usb/usbdevs Tue Nov 14 21:54:38 2006 --- sys/dev/usb/usbdevs Tue Aug 28 08:24:54 2007 *************** *** 1462,1467 **** --- 1462,1468 ---- /* RATOC Systems products */ product RATOC REXUSB60 0xb000 REX-USB60 + product RATOC REXUSB60F 0xb020 REX-USB60F /* Samsung products */ product SAMSUNG ML6060 0x3008 ML-6060 laser printer --- ratoc_rex-usb60f_for_FreeBSD6.2R.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu Aug 30 05:00:03 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B805E16A46B for ; Thu, 30 Aug 2007 05:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 857B513C481 for ; Thu, 30 Aug 2007 05:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7U503li008926 for ; Thu, 30 Aug 2007 05:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7U503rS008925; Thu, 30 Aug 2007 05:00:03 GMT (envelope-from gnats) Resent-Date: Thu, 30 Aug 2007 05:00:03 GMT Resent-Message-Id: <200708300500.l7U503rS008925@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, billypilgrim782001@yahoo.com Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE80116A419 for ; Thu, 30 Aug 2007 04:50:55 +0000 (UTC) (envelope-from bobby@susanne.tomatoseed.org) Received: from susanne.tomatoseed.org (adsl-76-241-164-190.dsl.sfldmi.sbcglobal.net [76.241.164.190]) by mx1.freebsd.org (Postfix) with ESMTP id 85A0C13C483 for ; Thu, 30 Aug 2007 04:50:55 +0000 (UTC) (envelope-from bobby@susanne.tomatoseed.org) Received: from susanne.tomatoseed.org (localhost [127.0.0.1]) by susanne.tomatoseed.org (8.13.8/8.13.8) with ESMTP id l7U3fSX3001571 for ; Wed, 29 Aug 2007 23:41:54 -0400 (EDT) (envelope-from bobby@susanne.tomatoseed.org) Received: (from bobby@localhost) by susanne.tomatoseed.org (8.13.8/8.13.8/Submit) id l7U3fSbE001570; Wed, 29 Aug 2007 23:41:28 -0400 (EDT) (envelope-from bobby) Message-Id: <200708300341.l7U3fSbE001570@susanne.tomatoseed.org> Date: Wed, 29 Aug 2007 23:41:28 -0400 (EDT) From: billypilgrim782001@yahoo.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/115935: [patch] kernel counterproductively attaches to Cyber Power AE550 UPS as a HID X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: billypilgrim782001@yahoo.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 05:00:03 -0000 >Number: 115935 >Category: usb >Synopsis: [patch] kernel counterproductively attaches to Cyber Power AE550 UPS as a HID >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 30 05:00:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Bob Murillo >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD susanne.tomatoseed.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Aug 29 22:50:08 EDT 2007 root@susanne.tomatoseed.org:/usr/obj/usr/src/sys/SUSANNE i386 IBM eServer xSeries 350, FreeBSD 6.2-RELEASE, i386 >Description: Cyber Power AE550 UPS is plugged in to the machine via USB. Kernel attaches to it as a HID, which prevents UPS software (NUT, Network UPS Tools 2.0.4 in ports collection) from attaching to it. Similar changes have been patched into the kernel for MGE UPSes. As far as I can tell there is no way to overcome this problem with configuration or with code changes within NUT. >How-To-Repeat: Hook Cyber Power AE550 UPS up to machine via USB, and then try to communicate with it with NUT in ports collection. The latest release of NUT, 2.2.0, also does not work. >Fix: A change in the kernel so that it won't attach to the UPS as a HID is needed. I have attached patches with Vendor/Product info to accomplish this. The change has been tested and works correctly. --- usb_quirks.c.diff begins here --- --- usb_quirks.c.orig Tue Nov 14 07:54:38 2006 +++ usb_quirks.c Wed Aug 29 22:32:21 2007 @@ -116,6 +116,8 @@ ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_CPS, USB_PRODUCT_CPS_AE550, + ANY, { UQ_HID_IGNORE }}, { 0, 0, 0, { 0 } } }; --- usb_quirks.c.diff ends here --- --- usbdevs.diff begins here --- --- usbdevs.orig Tue Nov 14 07:54:38 2006 +++ usbdevs Wed Aug 29 22:29:58 2007 @@ -351,6 +351,7 @@ vendor DIGITALSTREAM 0x074e Digital Stream vendor AUREAL 0x0755 Aureal vendor MIDIMAN 0x0763 Midiman +vendor CPS 0x0764 CyberPower Systems vendor LINKSYS2 0x077b Linksys vendor GRIFFIN 0x077d Griffin vendor SANDISK 0x0781 SanDisk @@ -787,6 +788,9 @@ product FTDI CFA_633 0xfc0b Crystalfontz CFA-633 USB LCD product FTDI CFA_634 0xfc09 Crystalfontz CFA-634 USB LCD product FTDI SEMC_DSS20 0xfc82 SEMC DSS-20 SyncStation + +/* CyberPower products */ +product CPS AE550 0x0501 CyberPower AE550 /* Cambridge Silicon Radio Ltd. products */ product CSR BT_DONGLE 0x0001 Bluetooth USB dongle --- usbdevs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Aug 31 09:44:07 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C5A16A41A for ; Fri, 31 Aug 2007 09:44:07 +0000 (UTC) (envelope-from sjo3_chen@seed.net.tw) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.freebsd.org (Postfix) with ESMTP id C90A113C465 for ; Fri, 31 Aug 2007 09:44:06 +0000 (UTC) (envelope-from sjo3_chen@seed.net.tw) Received: from [139.175.54.130] (port=62713 helo=wm10.seed.net.tw) by seed.net.tw with esmtp (Seednet 4.14:1) id 1IR2I9-00062V-8c for freebsd-usb@freebsd.org; Fri, 31 Aug 2007 16:55:49 +0800 Message-ID: <24762088.28121188550549298.JavaMail.root@wm10.seed.net.tw> Date: Fri, 31 Aug 2007 16:55:48 +0800 (CST) From: sjo3_chen@seed.net.tw To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset=Big5 Content-Transfer-Encoding: quoted-printable Subject: Fwd:Re: i386/115854: Install FreeBSD with USB CDROM causes panic in BTX loader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 09:44:07 -0000 Can anyone tell me if this is really an OS limitation ? I have tried FreeBSD 5.5 and other previous versions, and gotten the same r= esult. BR, Jenseng =3D=3D=3D=3D=3DOriginal Message=3D=3D=3D=3D=3D >=B1H=A5=F3=AA=CC:FreeBSD-gnats-submit@FreeBSD.org;=20 >=A6=AC=A5=F3=AA=CC:Jenseng Chen ;=20 >=A4=E9=B4=C1:Mon Aug 27 17:00:12 CST 2007 >=A5D=A6=AE:Re: i386/115854: Install FreeBSD with USB CDROM causes panic in= BTX loader > >Thank you very much for your problem report. >It has the internal identification `i386/115854'. >The individual assigned to look at your >report is: freebsd-i386.=20 > >You can access the state of your problem report at any time >via this link: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=3D115854 > >>Category: i386 >>Responsible: freebsd-i386 >>Synopsis: Install FreeBSD with USB CDROM causes panic in BTX loader >>Arrival-Date: Mon Aug 27 09:00:08 GMT 2007 > From owner-freebsd-usb@FreeBSD.ORG Fri Aug 31 10:10:59 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FFD216A417 for ; Fri, 31 Aug 2007 10:10:59 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp3.yandex.ru (smtp3.yandex.ru [213.180.200.14]) by mx1.freebsd.org (Postfix) with ESMTP id C610913C428 for ; Fri, 31 Aug 2007 10:10:58 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:17906 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S4747788AbXHaKJl (ORCPT ); Fri, 31 Aug 2007 14:09:41 +0400 X-Comment: RFC 2476 MSA function at smtp3.yandex.ru logged sender identity as: bu7cher Message-ID: <46D7E8E3.5000102@yandex.ru> Date: Fri, 31 Aug 2007 14:09:39 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: sjo3_chen@seed.net.tw References: <24762088.28121188550549298.JavaMail.root@wm10.seed.net.tw> In-Reply-To: <24762088.28121188550549298.JavaMail.root@wm10.seed.net.tw> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Fwd:Re: i386/115854: Install FreeBSD with USB CDROM causes panic in BTX loader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 10:10:59 -0000 sjo3_chen@seed.net.tw wrote: > Can anyone tell me if this is really an OS limitation ? > I have tried FreeBSD 5.5 and other previous versions, and gotten the same result. Do you have tried FreeBSD 7.0 CURRENT? Probably, this device is not supported. I have one motherboard with unsupported SATA/PATA controller. When i attach PATA DVD-ROM to this controller it can't boot. -- WBR, Andrey V. Elsukov From owner-freebsd-usb@FreeBSD.ORG Sat Sep 1 01:43:12 2007 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E384116A417 for ; Sat, 1 Sep 2007 01:43:12 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32715.mail.mud.yahoo.com (web32715.mail.mud.yahoo.com [68.142.206.28]) by mx1.freebsd.org (Postfix) with SMTP id 92BC013C469 for ; Sat, 1 Sep 2007 01:43:12 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 91251 invoked by uid 60001); 1 Sep 2007 01:16:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Bzs6bQJ2KX2yyLKVl952o7gj+Ef5XLuJqkQSAueAfAs62PrPa04btO0AZfrRatAxJYV7LNsT4qHsBXprViMJ5W8JXszVvGsTEPjRiFSUjvUTMkT9KLF5POea+IvqCipxZFxMrGeVUspJcp8FiKcCtgrS43wKibUxurBrgXaiR4s=; X-YMail-OSG: OCiuJNIVM1m3ZQWRKkmnz.Rrc8SbMxqhnlEmMAuDuCBBzm22QZ0o6krQIhNyP24Cs3rbiuwRS4NY8aJA5rvIorXzpJ3HIKcrOszVYL5iFhl.5.gCfYowpWQVUpysLg-- Received: from [200.118.175.173] by web32715.mail.mud.yahoo.com via HTTP; Sat, 01 Sep 2007 03:16:12 CEST Date: Sat, 1 Sep 2007 03:16:12 +0200 (CEST) From: To: freebsd-usb@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <80627.91095.qm@web32715.mail.mud.yahoo.com> X-Mailman-Approved-At: Sat, 01 Sep 2007 02:15:06 +0000 Cc: Subject: WinTV-HVR-950 anyone? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2007 01:43:13 -0000 Hello; Just wondering if anyone here is considering adding support to the Hauppage USB2 device: http://www.hauppage.com/pages/products/data_hvr950.html fwiw, _________ kakumen# ls /dev/ugen* /dev/ugen0 /dev/ugen0.1 /dev/ugen0.2 /dev/ugen0.3 /dev/ugen0.4 kakumen# usbdevs -f /dev/usb1 -o -v Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 powered port 2 powered port 3 addr 2: high speed, power 500 mA, config 1, WinTV HVR-980(0x6513), vendor 0x2040(0x2040), rev 1.10 port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered _________ cheers, Pedro. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html From owner-freebsd-usb@FreeBSD.ORG Sat Sep 1 14:40:38 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDF5816A417 for ; Sat, 1 Sep 2007 14:40:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7458A13C45A for ; Sat, 1 Sep 2007 14:40:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 04AB0EBC78 for ; Sat, 1 Sep 2007 09:47:02 -0400 (EDT) Date: Sat, 1 Sep 2007 09:47:02 -0400 From: Bill Moran To: freebsd-usb@freebsd.org Message-Id: <20070901094702.2a98a565.wmoran@potentialtech.com> X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problems accessing "Digital Hero 3" camera (BBB * STALLED errors) 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, 01 Sep 2007 14:40:38 -0000 Recently acquired a GoPro "Digital Hero 3" digicam. It's got a USB interface and allegedly presents itself as a umass device. When I connect it, I get the following: Sep 1 09:25:57 working kernel: umass0: ZORAN COACH DSC, rev 1.10/0.00, addr 2 Sep 1 09:25:57 working kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Sep 1 09:25:57 working kernel: da0: Removable Direct Access SCSI-0 device Sep 1 09:25:57 working kernel: da0: 1.000MB/s transfers Sep 1 09:25:57 working kernel: da0: 982MB (2012160 512 byte sectors: 64H 32S/T 982C) Sep 1 09:25:57 working kernel: umass0: Phase Error, residue = 0 Sep 1 09:25:57 working kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Sep 1 09:26:07 working kernel: umass0: BBB reset failed, STALLED Sep 1 09:26:07 working kernel: umass0: BBB bulk-in clear stall failed, STALLED Sep 1 09:26:07 working kernel: umass0: BBB bulk-out clear stall failed, STALLED The device is inaccessible. I'm able to access it if I reboot to Linux, so the device isn't _completely_ broken. Some google searches turn up similar problems with other USB umass devices that seem to be universally solved by adding quirks to scsi_da.c. Is this the only way to fix this? I know terribly little about USB architecture, but it seems ugly to have to add a quirk for every single johnny-come-lately USB device that emulates umass poorly. I went looking to see if there were any sysctls to tweak, but have yet to find any. Should I file a PR to have a quirk added, or am I missing something? uname -a FreeBSD working.potentialtech.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Sun May 27 00:53:14 EDT 2007 wmoran@working.potentialtech.com:/usr/obj/usr/src/sys/GENERIC i386 -- Bill Moran http://www.potentialtech.com From owner-freebsd-usb@FreeBSD.ORG Sat Sep 1 16:40:57 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBC1B16A419 for ; Sat, 1 Sep 2007 16:40:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE2913C478 for ; Sat, 1 Sep 2007 16:40:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l81GdtHb083446; Sat, 1 Sep 2007 10:39:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 01 Sep 2007 10:39:59 -0600 (MDT) Message-Id: <20070901.103959.756905620.imp@bsdimp.com> To: wmoran@potentialtech.com From: "M. Warner Losh" In-Reply-To: <20070901094702.2a98a565.wmoran@potentialtech.com> References: <20070901094702.2a98a565.wmoran@potentialtech.com> X-Mailer: Mew version 5.2 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]); Sat, 01 Sep 2007 10:39:55 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: Problems accessing "Digital Hero 3" camera (BBB * STALLED errors) 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, 01 Sep 2007 16:40:57 -0000 In message: <20070901094702.2a98a565.wmoran@potentialtech.com> Bill Moran writes: : : Recently acquired a GoPro "Digital Hero 3" digicam. It's got a USB : interface and allegedly presents itself as a umass device. : : When I connect it, I get the following: : Sep 1 09:25:57 working kernel: umass0: ZORAN COACH DSC, rev 1.10/0.00, addr 2 : Sep 1 09:25:57 working kernel: da0 at umass-sim0 bus 0 target 0 lun 0 : Sep 1 09:25:57 working kernel: da0: Removable Direct Access SCSI-0 device : Sep 1 09:25:57 working kernel: da0: 1.000MB/s transfers : Sep 1 09:25:57 working kernel: da0: 982MB (2012160 512 byte sectors: 64H 32S/T 982C) : Sep 1 09:25:57 working kernel: umass0: Phase Error, residue = 0 : Sep 1 09:25:57 working kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 : Sep 1 09:26:07 working kernel: umass0: BBB reset failed, STALLED : Sep 1 09:26:07 working kernel: umass0: BBB bulk-in clear stall failed, STALLED : Sep 1 09:26:07 working kernel: umass0: BBB bulk-out clear stall failed, STALLED : : The device is inaccessible. I'm able to access it if I reboot to Linux, : so the device isn't _completely_ broken. : : Some google searches turn up similar problems with other USB umass devices : that seem to be universally solved by adding quirks to scsi_da.c. : : Is this the only way to fix this? I know terribly little about USB : architecture, but it seems ugly to have to add a quirk for every single : johnny-come-lately USB device that emulates umass poorly. I went looking : to see if there were any sysctls to tweak, but have yet to find any. : : Should I file a PR to have a quirk added, or am I missing something? We need to quirk it... We should be smarter about this... Warner