From owner-freebsd-usb@FreeBSD.ORG Sun Sep 5 07:38:31 2010 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 C740810656B8 for ; Sun, 5 Sep 2010 07:38:31 +0000 (UTC) (envelope-from clcchu@hotmail.com) Received: from snt0-omc1-s37.snt0.hotmail.com (snt0-omc1-s37.snt0.hotmail.com [65.55.90.48]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA148FC0A for ; Sun, 5 Sep 2010 07:38:30 +0000 (UTC) Received: from SNT132-W10 ([65.55.90.9]) by snt0-omc1-s37.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 5 Sep 2010 00:38:30 -0700 Message-ID: X-Originating-IP: [123.203.190.215] From: Clarence Chu To: , Date: Sun, 5 Sep 2010 15:38:30 +0800 Importance: Normal In-Reply-To: <201009042128.08474.hselasky@c2i.net> References: , <201009042128.08474.hselasky@c2i.net> MIME-Version: 1.0 X-OriginalArrivalTime: 05 Sep 2010 07:38:30.0630 (UTC) FILETIME=[56134060:01CB4CCD] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: Unable to boot from umass(4) since 8.1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 07:38:31 -0000 Dear hselasky, I can now boot the umass(4) devices by setting kern.cam.boot_delay="7500" in /boot/loader.conf Thanks for the pointer, Clarence CHU > From: hselasky@c2i.net > To: freebsd-usb@freebsd.org > Subject: Re: Unable to boot from umass(4) since 8.1 > Date: Sat, 4 Sep 2010 21:28:08 +0200 > CC: clcchu@hotmail.com > > On Saturday 04 September 2010 19:53:46 Clarence Chu wrote: > > Dear Sirs: > > > > I was unable to boot from umass(4) devices with the following symtom: > > 1) kernel and all loader.conf modules were loaded > > 2) unable to mount ufs:/dev/da0s3a as root, > > 3) when "ufs:/dev/da0s3a" was supplied to the mount prompt, mounting > > continue. > > > > situation persist on using USB->IDE converter and USB key. > > > > the umass(4) devices were able to boot using [67].x but refuse to work > > with the 8.1-STABLE as of today. > > > > Any suggestions? > > You can try setting: > > kern.cam.boot_delay > > --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Sep 5 08:49:19 2010 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 2F37610656C7 for ; Sun, 5 Sep 2010 08:49:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id B5B5A8FC0A for ; Sun, 5 Sep 2010 08:49:18 +0000 (UTC) Received: from [88.217.61.97] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OsARX-0003MG-Ot for freebsd-usb@freebsd.org; Sun, 05 Sep 2010 10:19:15 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o858JHf9002239 for ; Sun, 5 Sep 2010 10:19:17 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o858JHlr002238 for freebsd-usb@freebsd.org; Sun, 5 Sep 2010 10:19:17 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 5 Sep 2010 10:19:17 +0200 From: Matthias Apitz To: freebsd-usb@freebsd.org Message-ID: <20100905081917.GA2212@current.Sisis.de> Mail-Followup-To: Matthias Apitz , freebsd-usb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 88.217.61.97 Subject: USB key can't mount /root during boot (was: Re: installing FreeBSD in VMWare-player) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 08:49:19 -0000 Maybe it is better to ask such question in freebsd-usb ... ----- Forwarded message from Matthias Apitz ----- From: Matthias Apitz Date: Mon, 30 Aug 2010 11:31:13 +0200 To: freebsd-questions@freebsd.org Subject: Re: installing FreeBSD in VMWare-player El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias escribió: > On 27/08/2010 10:24 ??.??., Matthias Apitz wrote: > > > > Is it possible that the data gets corrupt on an USB key after some time? > > I'm wondering why the system even is intact to be booted from... > > > > Will prepare the key again or just fill in the dumps I have... > > > > matthias I prepared another USB key which boots fine in my laptop, boots fine in the other laptop native (i.e. without VM-player); but in the VM-player and in an older laptop of my wife it can't mount the root file system on boot; it says: ... umass0: SCSI over Bulk-Only; quirks = 0x000 Root mount waiting for; usbus1 aumass0:1:0:-1 Attached to scbus1 uhub_explore:592: illegal enable change, port 1 da0at umass-sim0 bus 0 target 0 lun 0 da0: Remobeable Direct Access SCSI-2 device da0: 40.000MB/s travsfer da0: 7701MB (... byte per sector info) Trying to mount root from ufs:/dev/da0s1a Manual root file system specification... when I specify manually the root as 'ufs:/dev/da0s1a' the same message comes again; looks like some timing problem, or? this is with 8-CURRENT based on CVS of March 2009. Any hints? matthias ----- End forwarded message ----- -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! From owner-freebsd-usb@FreeBSD.ORG Mon Sep 6 11:07:07 2010 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 00D6A10656BC for ; Mon, 6 Sep 2010 11:07:07 +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 E22F28FC13 for ; Mon, 6 Sep 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o86B76jj011930 for ; Mon, 6 Sep 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o86B76tY011928 for freebsd-usb@FreeBSD.org; Mon, 6 Sep 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Sep 2010 11:07:06 GMT Message-Id: <201009061107.o86B76tY011928@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2010 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/150189 usb if_run appears to corrupt IP traffic o usb/149934 usb Transcend JetFlash V85 poor performance o usb/149900 usb FreeBSD 8.1 uftdi patch to support usb-uirt o usb/149826 usb recognice another PL2303 based usb dongle o usb/149764 usb usbdevs update: Huawei K3765 3G modem o usb/149759 usb add USB vendor 04FC o usb/149675 usb uftdi doesn't react to break properly o usb/149528 usb Wireless USB stick not detected - vendor id 0x083a dev o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb ASUS WL-167g doesn't work in 8.1 (continue of 149058) o usb/149039 usb [uhso] Binding problem with uhso s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb o usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors o usb/143790 usb [boot] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138548 usb [usb67] [usb8] usb devices periodically have unknown a o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device o usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach f usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " f usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by f usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn f usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 314 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Sep 7 14:00:22 2010 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 4547E10656A5 for ; Tue, 7 Sep 2010 14:00:22 +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 1A4F88FC12 for ; Tue, 7 Sep 2010 14:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o87E0LIa015128 for ; Tue, 7 Sep 2010 14:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o87E0LKC015106; Tue, 7 Sep 2010 14:00:21 GMT (envelope-from gnats) Date: Tue, 7 Sep 2010 14:00:21 GMT Message-Id: <201009071400.o87E0LKC015106@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Dominic Fandrey Cc: Subject: Re: usb/122936: [ucom] [ubsa] Device does not receive interrupt X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Fandrey List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 14:00:22 -0000 The following reply was made to PR usb/122936; it has been noted by GNATS. From: Dominic Fandrey To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: Re: usb/122936: [ucom] [ubsa] Device does not receive interrupt Date: Tue, 07 Sep 2010 15:53:03 +0200 This is a reminder to close this PR. From owner-freebsd-usb@FreeBSD.ORG Tue Sep 7 19:25:35 2010 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 9AE6610656BA; Tue, 7 Sep 2010 19:25:35 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews10.kpnxchange.com (cpsmtpb-ews10.kpnxchange.com [213.75.39.15]) by mx1.freebsd.org (Postfix) with ESMTP id 0B53B8FC16; Tue, 7 Sep 2010 19:25:34 +0000 (UTC) Received: from cpbrm-ews20.kpnxchange.com ([10.94.84.151]) by cpsmtpb-ews10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 Sep 2010 21:13:30 +0200 Received: from CPSMTPM-EML106.kpnxchange.com ([195.121.3.10]) by cpbrm-ews20.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 Sep 2010 21:13:30 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-EML106.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18222); Tue, 7 Sep 2010 21:13:28 +0200 Received: from hillary.van-laarhoven.org (Hillary.van-laarhoven.org [10.66.0.144]) (authenticated bits=0) by uitsmijter.van-laarhoven.org (8.14.4/8.14.4) with ESMTP id o87JDQaL044802; Tue, 7 Sep 2010 21:13:27 +0200 (CEST) (envelope-from nick@van-laarhoven.org) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: <20100505121841.ce3cf358.ray@dlink.ua> Date: Tue, 7 Sep 2010 21:13:25 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <201005042027.o44KRete011712@lava.sentex.ca> <201005050952.15632.hselasky@c2i.net> <201005051046.31093.freebsd-usb@dino.sk> <20100505121841.ce3cf358.ray@dlink.ua> To: Alexandr Rybalko X-Mailer: Apple Mail (2.1081) X-Spam-Status: No, score=-15.9 required=5.0 tests=ALL_TRUSTED, J_CHICKENPOX_12, MR_DIFF_MID, SMILEY, T_RP_MATCHES_RCVD, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 07 Sep 2010 19:13:28.0771 (UTC) FILETIME=[C0EE2130:01CB4EC0] X-RcptDomain: freebsd.org Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming 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 Sep 2010 19:25:35 -0000 >>>> Maybe you can make PR on the issue and assign it to USB. Currently = there is >>>> no way of knowing which /dev/cuaUXXX belongs to which USB device. = Probably >>>> we can add the USB bus and address number as a part of the device >>>> coordinates. So that /dev/ugen1.1 only creates /dev/cuaU1.1.xxx = entries. >>>> And then we can also remove the current unit number allocation = structure I >>>> guess, if we use: >>>>=20 >>>> /dev/cuaU1.1.. >>>>=20 >>>> The only problem is: Will we break any existing applications? >>>>=20 >>>=20 >>> Well, yes, to some extent :) Problem with this naming convention is = name=20 >>> changes with every port change - that is, if you pull USB cable out = and plug=20 >>> it in another port. There was already some older thread about naming = on=20 >>> freebsd-usb list (end of April 2009). But if devd receives all = necessary=20 >>> informations in attach event, then it is possible to rewrite config = files or=20 >>> create symlink in /dev directory or something like this to handle = this=20 >>> situation. >=20 > I think better way is use device connection path in name. > User know to which port of hub they attach device, so name like = /dev/cuaU.h0p1.h2p3 (root hub 0, port 1, hub 2, port 3 ) have all > information user need and this name not changing between reboot`s. > May by we have way make naming more simple, but we really need path = somewhere in device name. Two things are needed: 1) path to the device so you can distinguish two identical devices. 2) map u3gN to cuaUX.Y My problem is the latter: Processing event '+u3g0 vendor=3D0x0af0 product=3D0x7601 devclass=3D0xff = devsubclass=3D0xff sernum=3D"" release=3D0x0000 intclass=3D0xff = intsubclass=3D0xff at port=3D2 interface=3D0 vendor=3D0x0af0 = product=3D0x7601 devclass=3D0xff devsubclass=3D0xff sernum=3D"" = release=3D0x0000 intclass=3D0xff intsubclass=3D0xff on uhub1' Pushing table setting device-name=3Du3g0 setting vendor=3D0x0af0 setting product=3D0x7601 setting devclass=3D0xff setting devsubclass=3D0xff setting sernum=3D setting release=3D0x0000 setting intclass=3D0xff setting intsubclass=3D0xff Processing attach event How do I get to the cuaU10.0 device here? As far as I can see there is = no way to do this.=20 The main problem is the strange way the minor number is assigned to the = cuaU device. But having the major and minor numbers for the cuaU device = per u3g instance would be sufficient. Through a sysctl for example, or = as extra information in the attach. If no one objects I will submit a patch to resolve problem 2). Nick= From owner-freebsd-usb@FreeBSD.ORG Wed Sep 8 07:04:51 2010 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 7842D10656AA for ; Wed, 8 Sep 2010 07:04:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id D4E998FC14 for ; Wed, 8 Sep 2010 07:04:50 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=U2hIrLQqCdA2RCeqEnOseJoiiWVOUJG87SgQLk1lgUQ= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=wldHJnkDx54rNUzNyRIA:9 a=BnDVymmpiK5x9PZ2JDoA:7 a=8_abSCYEPygjjg5TOSwI8_rOYwAA:4 a=wPNLvfGTeEIA:10 a=M_cd827UyEatLweu:21 a=gFmQH5WNfDgVm8h9:21 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 17746778; Wed, 08 Sep 2010 09:04:44 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 8 Sep 2010 09:00:46 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20100505121841.ce3cf358.ray@dlink.ua> <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> In-Reply-To: <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009080900.46802.hselasky@c2i.net> Cc: Subject: Re: USB serial device naming 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, 08 Sep 2010 07:04:51 -0000 On Tuesday 07 September 2010 21:13:25 Nick Hibma wrote: > >>>> Maybe you can make PR on the issue and assign it to USB. Currently > >>>> there is no way of knowing which /dev/cuaUXXX belongs to which USB > >>>> device. Probably we can add the USB bus and address number as a part > >>>> of the device coordinates. So that /dev/ugen1.1 only creates > >>>> /dev/cuaU1.1.xxx entries. And then we can also remove the current > >>>> unit number allocation structure I guess, if we use: > >>>> > >>>> /dev/cuaU1.1.. > >>>> > >>>> The only problem is: Will we break any existing applications? > >>> > >>> Well, yes, to some extent :) Problem with this naming convention is > >>> name changes with every port change - that is, if you pull USB cable > >>> out and plug it in another port. There was already some older thread > >>> about naming on freebsd-usb list (end of April 2009). But if devd > >>> receives all necessary informations in attach event, then it is > >>> possible to rewrite config files or create symlink in /dev directory > >>> or something like this to handle this situation. > > > > I think better way is use device connection path in name. > > User know to which port of hub they attach device, so name like > > /dev/cuaU.h0p1.h2p3 (root hub 0, port 1, hub 2, port 3 ) have all > > information user need and this name not changing between reboot`s. May > > by we have way make naming more simple, but we really need path > > somewhere in device name. > > Two things are needed: > > 1) path to the device so you can distinguish two identical devices. > > 2) map u3gN to cuaUX.Y > > My problem is the latter: > > Processing event '+u3g0 vendor=0x0af0 product=0x7601 devclass=0xff > devsubclass=0xff sernum="" release=0x0000 intclass=0xff intsubclass=0xff > at port=2 interface=0 vendor=0x0af0 product=0x7601 devclass=0xff > devsubclass=0xff sernum="" release=0x0000 intclass=0xff intsubclass=0xff > on uhub1' Pushing table > setting device-name=u3g0 > setting vendor=0x0af0 > setting product=0x7601 > setting devclass=0xff > setting devsubclass=0xff > setting sernum= > setting release=0x0000 > setting intclass=0xff > setting intsubclass=0xff > Processing attach event > Hi, > How do I get to the cuaU10.0 device here? As far as I can see there is no > way to do this. I think we should use the following format: cuaU..[.] Then you can match by ugenX.Y unit. Possibly we could add this information to the processing event. I would like to avoid having too much information in the device name, which is not really needed. Then we can also remove the unit allocator in usb/serial/usb_serial.c . > > The main problem is the strange way the minor number is assigned to the > cuaU device. But having the major and minor numbers for the cuaU device > per u3g instance would be sufficient. Through a sysctl for example, or as > extra information in the attach. You mean in the device name, not in the inode? > > If no one objects I will submit a patch to resolve problem 2). Please send a patch for review. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Sep 8 07:51:17 2010 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 45C8B10656DC for ; Wed, 8 Sep 2010 07:51:17 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews08.kpnxchange.com (cpsmtpb-ews08.kpnxchange.com [213.75.39.13]) by mx1.freebsd.org (Postfix) with ESMTP id BF5558FC13 for ; Wed, 8 Sep 2010 07:51:16 +0000 (UTC) Received: from cpbrm-ews14.kpnxchange.com ([10.94.84.145]) by cpsmtpb-ews08.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Sep 2010 09:51:15 +0200 Received: from CPSMTPM-EML102.kpnxchange.com ([195.121.3.6]) by cpbrm-ews14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Sep 2010 09:51:15 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-EML102.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18222); Wed, 8 Sep 2010 09:51:14 +0200 Received: from host77-63-187-248.kpn-gprs.nl (host77-63-187-248.kpn-gprs.nl [77.63.187.248] (may be forged)) (authenticated bits=0) by uitsmijter.van-laarhoven.org (8.14.4/8.14.4) with ESMTP id o887p99p048705; Wed, 8 Sep 2010 09:51:10 +0200 (CEST) (envelope-from nick@van-laarhoven.org) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: <201009080900.46802.hselasky@c2i.net> Date: Wed, 8 Sep 2010 09:51:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <598B1BC2-3B47-4188-A637-1831C49477B3@van-laarhoven.org> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20100505121841.ce3cf358.ray@dlink.ua> <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> <201009080900.46802.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1081) X-Spam-Status: No, score=-7.4 required=5.0 tests=FH_HELO_EQ_D_D_D_D, J_CHICKENPOX_12, MAY_BE_FORGED, MR_DIFF_MID, MR_NOT_ATTRIBUTED_IP, RCVD_IN_PBL, RDNS_DYNAMIC, TW_MK, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 08 Sep 2010 07:51:14.0195 (UTC) FILETIME=[9C6F4630:01CB4F2A] X-RcptDomain: freebsd.org Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming 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, 08 Sep 2010 07:51:17 -0000 >> Two things are needed: >>=20 >> 1) path to the device so you can distinguish two identical devices. >>=20 >> 2) map u3gN to cuaUX.Y >>=20 >> My problem is the latter: >>=20 >> Processing event '+u3g0 vendor=3D0x0af0 product=3D0x7601 = devclass=3D0xff >> devsubclass=3D0xff sernum=3D"" release=3D0x0000 intclass=3D0xff = intsubclass=3D0xff >> at port=3D2 interface=3D0 vendor=3D0x0af0 product=3D0x7601 = devclass=3D0xff >> devsubclass=3D0xff sernum=3D"" release=3D0x0000 intclass=3D0xff = intsubclass=3D0xff >> on uhub1' Pushing table >=20 > Hi, >=20 >> How do I get to the cuaU10.0 device here? As far as I can see there = is no >> way to do this. >=20 > I think we should use the following format: >=20 > cuaU..[.] >=20 > Then you can match by ugenX.Y unit. Possibly we could add this = information to=20 > the processing event. Yes. We need a mapping from vendor/product/rev -> /dev/ entry and from = location -> /dev/ entry. Adding this cuaU.. string = (not the absence of the sub_unit) to the event would resolve both issues = 1) and 2). /me starts handing out paint and pencils for the bike shed painting to = come... >> The main problem is the strange way the minor number is assigned to = the >> cuaU device. But having the major and minor numbers for the cuaU = device >> per u3g instance would be sufficient. Through a sysctl for example, = or as >> extra information in the attach. >=20 > You mean in the device name, not in the inode? Device name, right. The mknod stuff is too old to be wrong... > Please send a patch for review. Will do in the next two weeks. Nick= From owner-freebsd-usb@FreeBSD.ORG Wed Sep 8 07:55:23 2010 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 11EBB10656C1 for ; Wed, 8 Sep 2010 07:55:23 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews05.kpnxchange.com (cpsmtpb-ews05.kpnxchange.com [213.75.39.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD5B8FC08 for ; Wed, 8 Sep 2010 07:55:21 +0000 (UTC) Received: from cpbrm-ews04.kpnxchange.com ([10.94.84.135]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Sep 2010 09:55:20 +0200 Received: from CPSMTPM-EML102.kpnxchange.com ([195.121.3.6]) by cpbrm-ews04.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Sep 2010 09:55:21 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-EML102.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18222); Wed, 8 Sep 2010 09:55:19 +0200 Received: from static.kpn.net (static.kpn.net [92.69.105.40] (may be forged)) (authenticated bits=0) by uitsmijter.van-laarhoven.org (8.14.4/8.14.4) with ESMTP id o887tGaK048735; Wed, 8 Sep 2010 09:55:17 +0200 (CEST) (envelope-from nick@van-laarhoven.org) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: <201009080900.46802.hselasky@c2i.net> Date: Wed, 8 Sep 2010 09:51:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <598B1BC2-3B47-4188-A637-1831C49477B3@van-laarhoven.org> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20100505121841.ce3cf358.ray@dlink.ua> <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> <201009080900.46802.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1081) X-Spam-Status: No, score=-8.9 required=5.0 tests=J_CHICKENPOX_12, MAY_BE_FORGED, MR_DIFF_MID,MR_NOT_ATTRIBUTED_IP,RCVD_IN_PBL,TW_MK,USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 08 Sep 2010 07:55:19.0885 (UTC) FILETIME=[2EE097D0:01CB4F2B] X-RcptDomain: freebsd.org Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming 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, 08 Sep 2010 07:55:23 -0000 >> Two things are needed: >>=20 >> 1) path to the device so you can distinguish two identical devices. >>=20 >> 2) map u3gN to cuaUX.Y >>=20 >> My problem is the latter: >>=20 >> Processing event '+u3g0 vendor=3D0x0af0 product=3D0x7601 = devclass=3D0xff >> devsubclass=3D0xff sernum=3D"" release=3D0x0000 intclass=3D0xff = intsubclass=3D0xff >> at port=3D2 interface=3D0 vendor=3D0x0af0 product=3D0x7601 = devclass=3D0xff >> devsubclass=3D0xff sernum=3D"" release=3D0x0000 intclass=3D0xff = intsubclass=3D0xff >> on uhub1' Pushing table >=20 > Hi, >=20 >> How do I get to the cuaU10.0 device here? As far as I can see there = is no >> way to do this. >=20 > I think we should use the following format: >=20 > cuaU..[.] >=20 > Then you can match by ugenX.Y unit. Possibly we could add this = information to=20 > the processing event. Yes. We need a mapping from vendor/product/rev -> /dev/ entry and from = location -> /dev/ entry. Adding this cuaU.. string = (not the absence of the sub_unit) to the event would resolve both issues = 1) and 2). /me starts handing out paint and pencils for the bike shed painting to = come... >> The main problem is the strange way the minor number is assigned to = the >> cuaU device. But having the major and minor numbers for the cuaU = device >> per u3g instance would be sufficient. Through a sysctl for example, = or as >> extra information in the attach. >=20 > You mean in the device name, not in the inode? Device name, right. The mknod stuff is too old to be wrong... > Please send a patch for review. Will do in the next two weeks. Nick= From owner-freebsd-usb@FreeBSD.ORG Wed Sep 8 08:44:27 2010 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 6E0E910656C1 for ; Wed, 8 Sep 2010 08:44:27 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1497A8FC0A for ; Wed, 8 Sep 2010 08:44:26 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o8889C8V081143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 8 Sep 2010 10:09:13 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id o88896ax019792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 10:09:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o88896Fx075413; Wed, 8 Sep 2010 10:09:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o8888qWn075412; Wed, 8 Sep 2010 10:08:52 +0200 (CEST) (envelope-from ticso) Date: Wed, 8 Sep 2010 10:08:52 +0200 From: Bernd Walter To: Hans Petter Selasky Message-ID: <20100908080852.GB72692@cicely7.cicely.de> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20100505121841.ce3cf358.ray@dlink.ua> <03EA4629-81F5-442C-9064-95E1A265D8AD@van-laarhoven.org> <201009080900.46802.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009080900.46802.hselasky@c2i.net> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 08:44:27 -0000 On Wed, Sep 08, 2010 at 09:00:46AM +0200, Hans Petter Selasky wrote: > On Tuesday 07 September 2010 21:13:25 Nick Hibma wrote: > > >>>> Maybe you can make PR on the issue and assign it to USB. Currently > > >>>> there is no way of knowing which /dev/cuaUXXX belongs to which USB > > >>>> device. Probably we can add the USB bus and address number as a part > > >>>> of the device coordinates. So that /dev/ugen1.1 only creates > > >>>> /dev/cuaU1.1.xxx entries. And then we can also remove the current > > >>>> unit number allocation structure I guess, if we use: > > >>>> > > >>>> /dev/cuaU1.1.. > > >>>> > > >>>> The only problem is: Will we break any existing applications? > > >>> > > >>> Well, yes, to some extent :) Problem with this naming convention is > > >>> name changes with every port change - that is, if you pull USB cable > > >>> out and plug it in another port. There was already some older thread > > >>> about naming on freebsd-usb list (end of April 2009). But if devd > > >>> receives all necessary informations in attach event, then it is > > >>> possible to rewrite config files or create symlink in /dev directory > > >>> or something like this to handle this situation. > > > > > > I think better way is use device connection path in name. > > > User know to which port of hub they attach device, so name like > > > /dev/cuaU.h0p1.h2p3 (root hub 0, port 1, hub 2, port 3 ) have all > > > information user need and this name not changing between reboot`s. May > > > by we have way make naming more simple, but we really need path > > > somewhere in device name. > > > > Two things are needed: > > > > 1) path to the device so you can distinguish two identical devices. > > > > 2) map u3gN to cuaUX.Y > > > > My problem is the latter: > > > > Processing event '+u3g0 vendor=0x0af0 product=0x7601 devclass=0xff > > devsubclass=0xff sernum="" release=0x0000 intclass=0xff intsubclass=0xff > > at port=2 interface=0 vendor=0x0af0 product=0x7601 devclass=0xff > > devsubclass=0xff sernum="" release=0x0000 intclass=0xff intsubclass=0xff > > on uhub1' Pushing table > > setting device-name=u3g0 > > setting vendor=0x0af0 > > setting product=0x7601 > > setting devclass=0xff > > setting devsubclass=0xff > > setting sernum= > > setting release=0x0000 > > setting intclass=0xff > > setting intsubclass=0xff > > Processing attach event > > > > Hi, > > > How do I get to the cuaU10.0 device here? As far as I can see there is no > > way to do this. > > I think we should use the following format: > > cuaU..[.] I come back later to your suggestion. > Then you can match by ugenX.Y unit. Possibly we could add this information to > the processing event. > > I would like to avoid having too much information in the device name, which is > not really needed. > > Then we can also remove the unit allocator in usb/serial/usb_serial.c . What I missed most with the USB serial concept is that there is not easy way to get from the driver instance to the ucom instance. For other devices it is easy to have devd setup softlinks depending on e.g. serial numbers. devd gets bus addresses, so it is possible to easily setup softlinks for your suggested device naming without knowin the ucom instance. But it breaks another feature. We ship /etc/remote prefilled with ucom[012] entries. umass devices have a similar problem - you don't know the da* nodes you'll get. In many cases like harddisks, picturecards, ... you can get away with labels, but if you regularily need to partion brand new flash cards you need to be very carefull about devicenames to not overwrite the wrong media. > > The main problem is the strange way the minor number is assigned to the > > cuaU device. But having the major and minor numbers for the cuaU device > > per u3g instance would be sufficient. Through a sysctl for example, or as > > extra information in the attach. There is no single set per device. ucom already has /dev/ttyU* and /dev/cuaU* in different variants with and without .init and .lock extensions. > You mean in the device name, not in the inode? You better know the ucom instance number via devinfo - then devd can setup all required softlinks because with the instance number you also know all nodenames. The path - as suggested in the original post - is also interesting. Knowing the nodes allows you to setup softlinks, but you need to know the device as well and not everyone has a serial number, but usually is conneted using the same hub/port chain. The bus address is useless here, because it is dynamic. devinfo already contains informations about the uplink port, but requires to travel the chain yourself and in single-user-mode (when devd gets the bootmessages) you don't have many tools for scripting available. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-usb@FreeBSD.ORG Wed Sep 8 22:25:04 2010 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 3646D10656AC for ; Wed, 8 Sep 2010 22:25:04 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id DFE408FC0C for ; Wed, 8 Sep 2010 22:25:03 +0000 (UTC) Received: by vws7 with SMTP id 7so658761vws.13 for ; Wed, 08 Sep 2010 15:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=5Zb0gHw959ek9/6NAk3HehIZH3GJUcsxgp/zc6PrmY8=; b=ck6adke/jUXtl4g6ynMJR1xdLD7F1VYmvwbvaDDqEeeyv18qzGP+JLuo3ZOiM/Lk8s gQZNOdyUB1ccIJm5L1IAePD+nuWZf921yuOqWjoFOmFCjdXD4mChz56e5hgtKXd/MTI6 /FVBawAAAb89F8tOmVBTs5Q0KMqtyRFlySB20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Abfx2Q/ooCLSsz+OSkZnWjdyeKmHzcVkpUF11WQVONhq3G90L904o4u14XOK/QJUpC qd/9iN31uKjRn3GTvNgJpW4GR8bKxkjgc/Q6dYKg5CbWLF8UvDV4AqDei6JzLFmCtFhQ WoRvGtiToM5eEsinfiGzRDGWfpvLmnOomSG9I= MIME-Version: 1.0 Received: by 10.220.121.142 with SMTP id h14mr1407598vcr.248.1283984702698; Wed, 08 Sep 2010 15:25:02 -0700 (PDT) Received: by 10.220.48.16 with HTTP; Wed, 8 Sep 2010 15:25:02 -0700 (PDT) In-Reply-To: References: <201007201610.o6KGA3lK051365@freefall.freebsd.org> <201007221755.39597.hselasky@c2i.net> Date: Wed, 8 Sep 2010 18:25:02 -0400 Message-ID: From: Derrick Brashear To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic 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, 08 Sep 2010 22:25:04 -0000 On Thu, Sep 2, 2010 at 1:18 PM, Derrick Brashear wrote: > On Tue, Aug 24, 2010 at 12:23 AM, Derrick Brashear wrote: >> At Pyun's suggestion, I am using >> http://people.freebsd.org/~yongari/axe/if_axe.c >> http://people.freebsd.org/~yongari/axe/if_axereg.h >> >> after s/if USB_DEBUG/ifdef USB_DEBUG/ things appear to be ok. I am >> continuing to test, however I can tell you with confidence that it >> works at least as well as before. > > It seemed for a bit like I was out of the water, but with this > version, the problem still occurs. I'll see what differences exist > between this and CURRENT and either try them or follow up. I can reproduce the problem with 1.19 also, so CURRENT also fails. -- Derrick From owner-freebsd-usb@FreeBSD.ORG Thu Sep 9 00:55:33 2010 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 AB40D10656E2 for ; Thu, 9 Sep 2010 00:55:33 +0000 (UTC) (envelope-from anthony@cloudnet.com) Received: from apollo1b.cloudnet.com (apollo1b.cloudnet.com [209.188.96.45]) by mx1.freebsd.org (Postfix) with ESMTP id 874088FC0A for ; Thu, 9 Sep 2010 00:55:33 +0000 (UTC) Received: from smtp.cloudnet.com (webmail.cloudnet.com [209.188.96.36]) by apollo1b.cloudnet.com (Postfix) with ESMTP id 2D45B398B5 for ; Wed, 8 Sep 2010 20:03:02 -0500 (CDT) Received: from 97-116-49-138.mpls.qwest.net (97-116-49-138.mpls.qwest.net [97.116.49.138]) by webmail.cloudnet.com (Horde Framework) with HTTP; Wed, 08 Sep 2010 19:39:43 -0500 Message-ID: <20100908193943.56021n9fgjv10m3o@webmail.cloudnet.com> Date: Wed, 08 Sep 2010 19:39:43 -0500 From: anthony@cloudnet.com To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 Subject: Fwd: Re: input-wacom 40.0.2.2_6 on FreeBSD 8.1 for Intuos 4? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 00:55:33 -0000 Hello, I was told to "get the [input-wacom] USB driver into the FreeBSD project, where all the USB gods have access". Are ye such gods? How does one get something into the project? (see message below) Anthony From: Dominic Fandrey Subject: Re: input-wacom 40.0.2.2_6 on FreeBSD 8.1 for Intuos 4? To: anthony@cloudnet.com Hello, On 01/09/2010 03:11, anthony@cloudnet.com wrote: > I'm running FreeBSD 8.1 and noticed that you don't have the intuos 4 > listed under supported devices for the wacom driver. Will this work for > an intuos 4 anyway? I'm afraid this won't work at all, because the USB kernel module has never been ported to the new USB stack. > If not, do you recommend running the linux version > under binary compatibility? As said the trouble is the USB driver. The Linux version won't work either. The original developer of the driver has "disappeared" and there's a lot to be done. First the module has to be ported to the new USB stack. Support for the latest Wacom tablets has to be added to the module. It is unlikely that adding the device IDs suffices to achieve this. One would probably have to reverse engineer stuff or sign and NDA with Wacom. The interface between the kernel module and the Xorg driver is not stable, the module has to be adopted to the linuxwacom 0.10.8 interface. It would be a wise course to get the USB driver into the FreeBSD project, where all the USB gods have access. Regards, Dominic ----- End forwarded message ----- From owner-freebsd-usb@FreeBSD.ORG Thu Sep 9 03:00:09 2010 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 089A210656CC for ; Thu, 9 Sep 2010 03:00:09 +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 C22F18FC15 for ; Thu, 9 Sep 2010 03:00:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o893089D053049 for ; Thu, 9 Sep 2010 03:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o89308Wo053038; Thu, 9 Sep 2010 03:00:08 GMT (envelope-from gnats) Resent-Date: Thu, 9 Sep 2010 03:00:08 GMT Resent-Message-Id: <201009090300.o89308Wo053038@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, Decibel! Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B13210656A8 for ; Thu, 9 Sep 2010 02:57:12 +0000 (UTC) (envelope-from decibel@decibel.org) Received: from noel.decibel.org (99-153-64-76.uvs.austtx.sbcglobal.net [99.153.64.76]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB6B8FC12 for ; Thu, 9 Sep 2010 02:57:11 +0000 (UTC) Received: by noel.decibel.org (Postfix, from userid 1001) id 135C056560; Sun, 5 Sep 2010 22:33:09 -0500 (CDT) Message-Id: <20100909023713.135C056560@noel.decibel.org> Date: Sun, 5 Sep 2010 22:33:09 -0500 (CDT) From: Decibel! To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/150401: Errors from USB drives mixed between UFS and ZFS X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Decibel! List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 03:00:09 -0000 >Number: 150401 >Category: usb >Synopsis: Errors from USB drives mixed between UFS and ZFS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 03:00:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Decibel! >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD noel.decibel.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Sep 2 19:38:40 CDT 2010 root@noel.decibel.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I have a system with 3 USB drives: 2 are in a zpool mirror (though I've seen the same behavior with them in a simple zpool stripe), one is stand-alone UFS. I can hit either ZFS or the UFS drive hard (running bonnie++) and things are fine. But as soon as I start hitting both of them, I start getting errors: Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed Sep 6 03:16:31 noel root: ZFS: vdev I/O failure, zpool=zsb path=/dev/da0 offset=1145095418880 size=1024 error=5 (I'll get some number of the second error, usually between 5 and 20 per incident). The frequency of these errors is dependent on workload. I've been rsyncing some data at a rate of ~500kB/s (rsync --bwlimit=500) and that's generating roughly 3 events per hour: Sep 6 00:36:00 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 01:37:11 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 01:38:25 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 01:40:02 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 01:41:03 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 01:41:34 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 02:18:27 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed Sep 6 02:37:36 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 02:42:30 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 03:13:30 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed Sep 6 03:15:38 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed The errors are always on the ZFS drives (da0, da1); I haven't seen any on the UFS drive. decibel@noel.2[22:32]~:15>sudo usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.4: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON >How-To-Repeat: Hopefully someone else can repeat this with a similar setup. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu Sep 9 06:57:47 2010 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 4FD9B1065695; Thu, 9 Sep 2010 06:57:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 80E758FC17; Thu, 9 Sep 2010 06:57:45 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=69M7SDRZ/3ZqjvOQolLkvw049hoMKehWXnTrnU8tixs= c=1 sm=1 a=y0JmmP_JomgA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=RZUZx5khAAAA:8 a=6I5d2MoRAAAA:8 a=g09wn4CP3X_gWSkkrXoA:9 a=78ChAAlm8BSlSWqgOiYA:7 a=YsUGyMTjqXLwjLo76ioP8ewtKzEA:4 a=PUjeQqilurYA:10 a=SV7veod9ZcQA:10 a=Epv78O3J94XV9K1D:21 a=Kz8N61K37L67kMQe:21 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 18803678; Thu, 09 Sep 2010 08:57:24 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "Decibel!" Date: Thu, 9 Sep 2010 08:53:41 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20100909023713.135C056560@noel.decibel.org> In-Reply-To: <20100909023713.135C056560@noel.decibel.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009090853.41382.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 06:57:47 -0000 On Monday 06 September 2010 05:33:09 Decibel! wrote: > >Number: 150401 > >Category: usb > >Synopsis: Errors from USB drives mixed between UFS and ZFS > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Sep 09 03:00:08 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Decibel! > >Release: FreeBSD 8.1-RELEASE amd64 > >Organization: > > >Environment: > System: FreeBSD noel.decibel.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu > Sep 2 19:38:40 CDT 2010 root@noel.decibel.org:/usr/obj/usr/src/sys/GENERIC > amd64 > > >Description: > I have a system with 3 USB drives: 2 are in a zpool mirror (though I've > seen the same behavior with them in a simple zpool stripe), one is > stand-alone UFS. > > I can hit either ZFS or the UFS drive hard (running bonnie++) and things > are fine. But as soon as I start hitting both of them, I start getting > errors: > > Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 03:16:31 noel root: ZFS: vdev I/O failure, zpool=zsb path=/dev/da0 > offset=1145095418880 size=1024 error=5 (I'll get some number of the second > error, usually between 5 and 20 per incident). > > The frequency of these errors is dependent on workload. I've been rsyncing > some data at a rate of ~500kB/s (rsync --bwlimit=500) and that's > generating roughly 3 events per hour: > > Sep 6 00:36:00 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:37:11 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:38:25 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:40:02 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:41:03 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:41:34 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 02:18:27 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 02:37:36 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 02:42:30 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 03:13:30 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 03:15:38 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > > The errors are always on the ZFS drives (da0, da1); I haven't seen any on > the UFS drive. > > decibel@noel.2[22:32]~:15>sudo usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON ugen1.3: at usbus1, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.4: at > usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: Logitech> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > >How-To-Repeat: > Hopefully someone else can repeat this with a similar setup. > > >Fix: > >Release-Note: > >Audit-Trail: > > >Unformatted: > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Hi, Try to enable quirks on your USB mass storage device, for example no synchronize cache. See man usbconfig and usbconfig -h and kldload usb_quirk.ko --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Sep 9 07:00:07 2010 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 78C1F10656C4 for ; Thu, 9 Sep 2010 07:00:07 +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 41CEF8FC08 for ; Thu, 9 Sep 2010 07:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o89706Ac017149 for ; Thu, 9 Sep 2010 07:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o89706Zo017130; Thu, 9 Sep 2010 07:00:06 GMT (envelope-from gnats) Date: Thu, 9 Sep 2010 07:00:06 GMT Message-Id: <201009090700.o89706Zo017130@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 07:00:07 -0000 The following reply was made to PR usb/150401; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "Decibel!" Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/150401: Errors from USB drives mixed between UFS and ZFS Date: Thu, 9 Sep 2010 08:53:41 +0200 On Monday 06 September 2010 05:33:09 Decibel! wrote: > >Number: 150401 > >Category: usb > >Synopsis: Errors from USB drives mixed between UFS and ZFS > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Sep 09 03:00:08 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Decibel! > >Release: FreeBSD 8.1-RELEASE amd64 > >Organization: > > >Environment: > System: FreeBSD noel.decibel.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu > Sep 2 19:38:40 CDT 2010 root@noel.decibel.org:/usr/obj/usr/src/sys/GENERIC > amd64 > > >Description: > I have a system with 3 USB drives: 2 are in a zpool mirror (though I've > seen the same behavior with them in a simple zpool stripe), one is > stand-alone UFS. > > I can hit either ZFS or the UFS drive hard (running bonnie++) and things > are fine. But as soon as I start hitting both of them, I start getting > errors: > > Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 03:16:31 noel root: ZFS: vdev I/O failure, zpool=zsb path=/dev/da0 > offset=1145095418880 size=1024 error=5 (I'll get some number of the second > error, usually between 5 and 20 per incident). > > The frequency of these errors is dependent on workload. I've been rsyncing > some data at a rate of ~500kB/s (rsync --bwlimit=500) and that's > generating roughly 3 events per hour: > > Sep 6 00:36:00 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:37:11 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:38:25 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:40:02 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:41:03 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 01:41:34 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 02:18:27 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 02:37:36 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 02:42:30 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 03:13:30 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 6 03:15:38 noel kernel: (da1:umass-sim1:1:0:0): AutoSense failed > Sep 6 03:16:31 noel kernel: (da0:umass-sim0:0:0:0): AutoSense failed > > The errors are always on the ZFS drives (da0, da1); I haven't seen any on > the UFS drive. > > decibel@noel.2[22:32]~:15>sudo usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON ugen1.3: at usbus1, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.4: at > usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: Logitech> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > >How-To-Repeat: > Hopefully someone else can repeat this with a similar setup. > > >Fix: > >Release-Note: > >Audit-Trail: > > >Unformatted: > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Hi, Try to enable quirks on your USB mass storage device, for example no synchronize cache. See man usbconfig and usbconfig -h and kldload usb_quirk.ko --HPS