From owner-freebsd-usb@FreeBSD.ORG Sun Jul 14 22:51:52 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16BD099C for ; Sun, 14 Jul 2013 22:51:52 +0000 (UTC) (envelope-from evelyn.stewart@canadavvip.com) Received: from news.canadavvip.com (news.canadavvip.com [192.176.59.95]) by mx1.freebsd.org (Postfix) with ESMTP id C542960B for ; Sun, 14 Jul 2013 22:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=dkim; d=canadavvip.com; h=To:From:Reply-to:Subject:Date:Message-ID:List-Unsubscribe:MIME-Version:Content-Type:Content-Transfer-Encoding; i=evelyn.stewart@canadavvip.com; bh=FUmwr7UAyuFin1IKaecAlF5xkaY=; b=R4EPCp3WcHYQsSYcwy6eOR+3IedpkKytTK2nKh6AmzMWmT3aFGNlAs31n/kk6qa4/25EbvaU2tE4 /cp730QAaHzwPVxnaUwvUVKoZ6ovpoKGeV6Ev2v2VvNJaQ0rIh8gc9lgzTQeLDKjtEoiY5CrXzVF pviX7BI8oxCNO5EdUYU= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=dkim; d=canadavvip.com; b=YVb41sb6357bAD7R3WPVhkZhWNrJP32pptazuvQ4RhUHBYCNmmezMbAuYXm8dJK/85I07LCaKt0H iwfJ3oBKG+bVdYARw5NmkCFXa5EjGt8qJL7obo0hJTn1pEONwxgep8BpOjVAY0xGe5Y4MeAOw4nE fLTt4VOT1i/gMLAGohE=; To: "Freebsd Usb" From: "Evelyn Stewart" Subject: Brilliant Bonus Package Designed For You Date: Sun, 14 Jul 2013 18:49:31 -0400 Message-ID: <797cc9188faa5e3c34e015a9a012b367@canadavvip.com> X-JID: 1198 X-Complaints-To: abuse@canadavvip.com X-CID: 82352144 X-Report-Abuse: abuse@canadavvip.com MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Evelyn Stewart List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 22:51:52 -0000 Dear Freebsd Usb, My name is Evelyn Stewart,- Rewards Manager, and I'd like to introduce this NEW $3200 bonus package to you to be used at Casino.com – the internet’s top online slot destination. 100 out of the 350 games are slot machines. Some of the most popular slot machines are The Sopranos, The Hulk, Ironman (1, 2, & 3!), Desert Treasure, Gladiator and more. Don’t miss out and start playing today! http://canadavvip.com/c/click/2260/82352144/7f55f.html Enjoy! Evelyn Stewart To unsubscribe click here http://canadavvip.com/c/unsub/1198/82352144/7f55f.html From owner-freebsd-usb@FreeBSD.ORG Mon Jul 15 11:06:52 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D73D1FC1 for ; Mon, 15 Jul 2013 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BD724FD6 for ; Mon, 15 Jul 2013 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6FB6qqf084631 for ; Mon, 15 Jul 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6FB6qGm084629 for freebsd-usb@FreeBSD.org; Mon, 15 Jul 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Jul 2013 11:06:52 GMT Message-Id: <201307151106.r6FB6qGm084629@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 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 11:06:52 -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/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After detach USB Flash a keyboard does not work. o usb/179107 usb [usb] After detach USB Flash a keyboard does not work. o usb/178773 usb [usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb [usbdevs] [patch] Western Digital My Passport HD o usb/178722 usb FreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb [usb] USB causing interrupt storm on irq16 o usb/177897 usb [u3g][patch] add support for the Huawei E352 modem o usb/177896 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 1TB Western Digital "My Passports" - some load o usb/177666 usb [usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb [ehci] High interrupt load with ehci o usb/176841 usb [umass] Sony DSC-H2 USB connection fails o usb/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while f kern/153514 usb [cam] [panic] CAM related panic o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 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 i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E 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 f 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 p 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 a usb/143790 usb [boot] [cam] 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 p 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 p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d 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 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 f 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/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke 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 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 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 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 kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u 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 o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu 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] [patch] Adding usb quirk for Sony USB flash dr 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/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 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/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker 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 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/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 f usb/125450 usb [panic] Removing USB flash card while being accessed c 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 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/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/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/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/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s 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 f 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 conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. 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/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/119509 usb [usb] USB flaky on Dell Optiplex 755 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/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/117183 usb [panic] USB/fusefs -- panic while transferring large a f usb/117150 usb [zyd] usb zyd device under moderate load panics system 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/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 conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar 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/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 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/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 f 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? 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. f 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 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/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent 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. 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 " o 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 o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device 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 o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for 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/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/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst 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 308 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jul 15 17:40:18 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8201BBD8 for ; Mon, 15 Jul 2013 17:40:18 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 1D86ECEE for ; Mon, 15 Jul 2013 17:40:17 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id c4so7670555eek.15 for ; Mon, 15 Jul 2013 10:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MOnF5NTd06eWR0agysDnsoolis+rrkzIVJRu4iHCFkc=; b=FYYPLw7CL3Zjdqx/FWrazA3qU4RYOQCToY6cQTv6LNDiWBZrJmJTLmk1dY0LSFpvSD TVDvdf+C2eYVMsd+1sQQ9TzamgIxNLpq5zk8hmqlrP4iRWrQ0Hck6A3WS+OcK1dltZv0 OY6J7uCvKSH3jjqNcj0JLjy8Srp6Xe73hY4dpLA/Tfoy35hB2XcvXw9Rjlhi1lJOIJ8K xyLU73SEZD0FiyufGRxdyvvU0tLXjLK+/6PKnkF0LnxW2ZM5D3quEmr1acBY7fyM7N23 K3tn4y8qUZapTi5PcbXjosZ/x/Y3sCbQoZUELlX6sqP+hxmL5h9YZII7p2WycXIdnETN Fc5Q== MIME-Version: 1.0 X-Received: by 10.15.42.72 with SMTP id t48mr59895197eev.105.1373910017079; Mon, 15 Jul 2013 10:40:17 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Mon, 15 Jul 2013 10:40:16 -0700 (PDT) In-Reply-To: <51E1AECB.2060907@bitfrost.no> References: <51E1AECB.2060907@bitfrost.no> Date: Mon, 15 Jul 2013 10:40:16 -0700 Message-ID: Subject: Re: Weird fan noise with usb activity From: hiren panchasara To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 17:40:18 -0000 On Sat, Jul 13, 2013 at 12:47 PM, Hans Petter Selasky wrote: > On 07/10/13 20:46, hiren panchasara wrote: >> >> Hi All, >> >> I have this machine running current: >> >> Copyright (c) 1992-2013 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 10.0-CURRENT #0 r252476M: Mon Jul 1 15:20:47 PDT 2013 >> root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 >> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 >> CPU: Genuine Intel(R) CPU @ 2.00GHz (1995.24-MHz K8-class CPU) >> Origin = "GenuineIntel" Id = 0x206d2 Family = 0x6 Model = 0x2d >> Stepping = 2 >> >> Features=0xbfebfbff >> >> Features2=0x1fbee3ff >> AMD Features=0x2c100800 >> AMD Features2=0x1 >> TSC: P-state invariant, performance statistics >> real memory = 60129542144 (57344 MB) >> avail memory = 55965908992 (53373 MB) >> Event timer "LAPIC" quality 600 >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs >> FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads >> >> beefy% uname -a >> FreeBSD beefy.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 >> r252476M: Mon Jul 1 15:20:47 PDT 2013 >> root@:/usr/obj/usr/home/hirenp/head/sys/GENERIC amd64 >> beefy% >> >> and everynow and then when machine is not doing anything or none is >> touching it, the fans go mad for 5-9 seconds and make real loud noise. >> Whenever that happens, I see following in dmesg: >> >> ukbd0: at uhub2, port 4, addr 3 (disconnected) >> ums0: at uhub2, port 4, addr 3 (disconnected) >> usbd_setup_device_desc: getting device descriptor at addr 3 failed, >> USB_ERR_TIMEOUT >> usbd_setup_device_desc: getting device descriptor at addr 3 failed, >> USB_ERR_TIMEOUT >> ugen1.3: at usbus1 (disconnected) >> ugen1.3: at usbus1 >> ukbd0: on usbus1 >> kbd2 at ukbd0 >> ums0: on usbus1 >> ums0: 3 buttons and [Z] coordinates ID=0 >> >> beefy% sudo usbconfig >> ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE (0mA) >> ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE (0mA) >> ugen1.2: at usbus1, cfg=0 md=HOST >> spd=HIGH (480Mbps) pwr=SAVE (0mA) >> ugen0.2: at usbus0, cfg=0 md=HOST >> spd=HIGH (480Mbps) pwr=SAVE (0mA) >> ugen1.4: at usbus1, cfg=0 md=HOST >> spd=LOW (1.5Mbps) pwr=ON (100mA) >> ugen1.3: at >> usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA) >> beefy% >> >> I am not sure at all how to make sense of these things. Please let me >> what more information I can provide. >> >> Thanks, >> Hiren >> >> (I am not on this list so keep please me in the loop) > > > Hi, > > Can you check the output from: > > vmstat -i beefy% vmstat -i | less interrupt total rate irq20: ehci1 664 5 irq22: ehci0 381 2 cpu0:timer 5836 44 irq264: isci0 621 4 irq275: igb1:que 0 945 7 irq276: igb1:que 1 158 1 irq277: igb1:que 2 137 1 irq278: igb1:que 3 119 0 irq279: igb1:que 4 123 0 irq280: igb1:que 5 127 0 irq281: igb1:que 6 147 1 irq282: igb1:que 7 150 1 irq283: igb1:link 2 0 irq302: ahci0 14452 111 cpu12:timer 2317 17 cpu2:timer 5552 42 cpu23:timer 2466 18 cpu8:timer 2745 21 cpu14:timer 3720 28 cpu3:timer 2311 17 cpu19:timer 1819 13 cpu5:timer 4034 31 cpu11:timer 3056 23 cpu15:timer 3916 30 cpu6:timer 4795 36 cpu16:timer 2917 22 cpu9:timer 3632 27 cpu21:timer 3784 29 cpu7:timer 3049 23 cpu20:timer 3052 23 cpu1:timer 2836 21 cpu4:timer 1882 14 cpu18:timer 2310 17 cpu10:timer 3932 30 cpu17:timer 3157 24 cpu13:timer 3620 27 cpu22:timer 2310 17 Total 97074 746 Thanks, Hiren > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Mon Jul 15 21:34:07 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 523DE9A2; Mon, 15 Jul 2013 21:34:07 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from basalt.tackymt.homeip.net (basalt.tackymt.homeip.net [IPv6:2001:470:fd92:0:20d:61ff:fecc:2253]) by mx1.freebsd.org (Postfix) with ESMTP id 0A67CC06; Mon, 15 Jul 2013 21:34:06 +0000 (UTC) Received: from basalt.tackymt.homeip.net (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id EE23D83C6; Tue, 16 Jul 2013 06:34:04 +0900 (JST) X-Virus-Scanned: amavisd-new at tackymt.homeip.net Received: from localhost by basalt.tackymt.homeip.net (amavisd-new, unix socket) with ESMTP id bXgCPpQpZiX0; Tue, 16 Jul 2013 06:34:00 +0900 (JST) Received: from biotite.tackymt.homeip.net (biotite.tackymt.homeip.net [IPv6:2001:470:fd92:0:216:cfff:febc:1472]) by basalt.tackymt.homeip.net (Postfix) with ESMTPSA; Tue, 16 Jul 2013 06:33:59 +0900 (JST) Date: Tue, 16 Jul 2013 06:35:12 +0900 From: Taku YAMAMOTO To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-Id: <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> In-Reply-To: References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.17; i386-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Tue__16_Jul_2013_06_35_12_+0900_D2=g_ngqTKSdEOy3" Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 21:34:07 -0000 This is a multi-part message in MIME format. --Multipart=_Tue__16_Jul_2013_06_35_12_+0900_D2=g_ngqTKSdEOy3 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit This reminds me of my local patch which I wrote and forgot about deep in the git :) This hack was required to have working USB ports on X61 after resume, but I'm not sure whether it's still required because I don't have X61 handy anymore... On Mon, 8 Jul 2013 11:09:20 -0700 Adrian Chadd wrote: > On 7 July 2013 22:00, Ian Smith wrote: > > > Checking one more point .. do the USB ports come up ok if you originally > > boot with nothing plugged in? If so (or if not), does that local APIC > > Yes. > > > error message appear the same then too? > > > > > No > > > -adrian > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" -- -|-__ $B;3K\!!Bs(B / YAMAMOTO, Taku | __ < - A chicken is an egg's way of producing more eggs. - --Multipart=_Tue__16_Jul_2013_06_35_12_+0900_D2=g_ngqTKSdEOy3 Content-Type: text/plain; name="acpi_psw-usb.patch" Content-Disposition: attachment; filename="acpi_psw-usb.patch" Content-Transfer-Encoding: 7bit commit 5df85bbf9a02f5bd116bc8520aba2d6b4ee1b2fb Author: Taku YAMAMOTO Date: Thu Feb 14 01:07:22 2013 +0900 Fix GPE handling on sleeping. (found on X61) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index da252c4..2ccf08a 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -2905,6 +2905,8 @@ acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate) if (acpi_parse_prw(handle, &prw) != 0) return (ENXIO); dev = acpi_get_device(handle); + if (dev == NULL || (acpi_get_flags(dev) & ACPI_FLAG_WAKE_ENABLED) == 0) + return (0); /* * The destination sleep state must be less than (i.e., higher power) @@ -2918,7 +2920,7 @@ acpi_wake_sleep_prep(ACPI_HANDLE handle, int sstate) if (bootverbose) device_printf(dev, "wake_prep disabled wake for %s (S%d)\n", acpi_name(handle), sstate); - } else if (dev && (acpi_get_flags(dev) & ACPI_FLAG_WAKE_ENABLED) != 0) { + } else { acpi_pwr_wake_enable(handle, 1); acpi_SetInteger(handle, "_PSW", 1); if (bootverbose) --Multipart=_Tue__16_Jul_2013_06_35_12_+0900_D2=g_ngqTKSdEOy3-- From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 09:16:24 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 87B39EF5 for ; Tue, 16 Jul 2013 09:16:24 +0000 (UTC) (envelope-from velcroleaf@rocketmail.com) Received: from nm1-vm10.bullet.mail.gq1.yahoo.com (nm1-vm10.bullet.mail.gq1.yahoo.com [98.136.218.89]) by mx1.freebsd.org (Postfix) with ESMTP id CE91E925 for ; Tue, 16 Jul 2013 09:16:23 +0000 (UTC) Received: from [216.39.60.182] by nm1.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 09:13:13 -0000 Received: from [216.39.60.156] by tm18.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 09:13:13 -0000 Received: from [127.0.0.1] by omp1075.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 09:13:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 72566.44717.bm@omp1075.mail.gq1.yahoo.com Received: (qmail 36492 invoked by uid 60001); 16 Jul 2013 09:13:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1373965992; bh=7fbslKKoFUORi1CJJ7nydILfENXaaf8pj5ZWVtfHl50=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yUyLY9LnywHQbsudXh1aRMWbmTXx99u/5KUltUz/vkTkzs/QKjULMDksf6Tn56F9Am0HqEk/DVPaY2JgusgtAUQTntCCqECdZaRbGZ/E9EcQZwCsfeRTbp/OvWIKlIebn+gMsr6jNIUzXwMzRNCyRqff1oK/Zc1LqVBIbAkpPW8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yQ5OeZzDm2m7IdLthYSn7rrbqf68/rvnBGZhkGR790+WK7wH52oTSBPcEy7NozHqC7T3aTXjol6YvSERxrbrxo3EqjUXg4xYq/VAGgRnT84pjR7kv0gZH85LhTQ5g8c3kuMYkVHYZlB9OjL3tPhKUaK2YR2EveWwP+EK017ZPeM= ; X-YMail-OSG: DUZHI98VM1lFzFjxq1f04cEw3jKC8gmUkpdZwDHkH8DEsUy _k1VS9O65voeZxeu9Qm5SqZwxfHmElKiTfItqzWNIWl.P6wJFAyD.Sh7b1Nl ww8MjeWqntU6bn_XOlWZ.wNllpHPxhNcaW69Ma_0Iaclz0mwtej42WwrViJb XUjYvIu3OAAogKFgVktjYxy_qmSj77EMhCyJ87T_jsAxjAic8VsSTq5dFLzF Pgpfck8glQ6bvEmlEHR5tEwswUW9cd7YamLgiFBt73EAQd2xgjvX_nvNjO79 YE3xn6WrzrIQm6T6_3x_T4oWR.WiLBJHhSpkNgti2GM1C26KmWzCKWlo9b8H 9b2b2XV2ytDLJGS2HmJLwg93a_nJxykOUrrk8uohAd1ZFx8ZAtaEhbnhDJkm I10TiwGyZUMo8RUYKAoK6COG7D6W1rrYQNXf2qRBmaoejTUbCZjZ7ktx.p_M bTtdvB.UFUnCrAvko1.7cxKCplfkgrCVfYTSwaby_3eHY3bDxg_BMC57ZXvJ 2hNSliHrft3nJYgX28AqBPgHM0g6zexBHt6dVsZCsrZ6zWaHEVhxboA96_NO tACpIewJ4Wt.zG4RB76XnNG8ZDzDI3lk9ZqrDFBuaivnudDW6MJa.uIJG2F1 Z2IT_05HZoPVoSTU- Received: from [192.70.171.13] by web164501.mail.gq1.yahoo.com via HTTP; Tue, 16 Jul 2013 02:13:12 PDT X-Rocket-MIMEInfo: 002.001, R290IGEgbmV3IG9uZSBvZiB0aGVzZSB3aXRoIHRoZSBzYW1lIG1vZGVsIG51bWJlciBhcyB0aGUgcHJldmlvdXMgdmVyc2lvbnMsIGJ1dCBzdGlsbCBkaWZmZXJlbnQgYmVoYXZpb3IgdGhpcyB0aW1lLgoKV2hlbiB5b3UgY29ubmVjdCBpdCwgaXQgc2F5cyB0aGlzOgoKdXNiZF9zZXR1cF9kZXZpY2VfZGVzYzogZ2V0dGluZyBkZXZpY2UgZGVzY3JpcHRvciBhdCBhZGRyIDIgZmFpbGVkLCBVU0JfRVJSX1NUQUxMRUQKdWdlbjEuMjogPFdlc3Rlcm4gRGlnaXRhbD4gYXQgdXNidXMxCnVtYXNzMDogPFdlc3Rlcm4BMAEBAQE- X-Mailer: YahooMailWebService/0.8.148.557 References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> <1367501587.7127.YahooMailNeo@web164505.mail.gq1.yahoo.com> Message-ID: <1373965992.34006.YahooMailNeo@web164501.mail.gq1.yahoo.com> Date: Tue, 16 Jul 2013 02:13:12 -0700 (PDT) From: Velcro Leaf Subject: Re: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't To: Hans Petter Selasky , "freebsd-usb@FreeBSD.org" In-Reply-To: <1367501587.7127.YahooMailNeo@web164505.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Velcro Leaf List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 09:16:24 -0000 Got a new one of these with the same model number as the previous versions,= but still different behavior this time.=0A=0AWhen you connect it, it says = this:=0A=0Ausbd_setup_device_desc: getting device descriptor at addr 2 fail= ed, USB_ERR_STALLED=0Augen1.2: at usbus1=0Aumass0: on usbus1= =0Aumass0:=A0 SCSI over Bulk-Only; quirks =3D 0x0000=0Aumass0:3:0:-1: Attac= hed to scbus3=0Ada0 at umass-sim0 bus 0 scbus3 target 0 lun 0=0Ada0: Fixed Direct Access SCSI-6 device =0Ada0: 1.000MB/s tr= ansfers=0Ada0: 953837MB (1953458176 512 byte sectors: 255H 63S/T 121597C)= =0Ases0 at umass-sim0 bus 0 scbus3 target 0 lun 1=0Ases0: Fixed Enclosure Services SCSI-6 device =0Ases0: 1.000MB/s transfers=0As= es0: SCSI-3 SES Device=0A=0A=0AThe USB_ERR_STALLED thing is new.=0A=0AThe d= rive seems to work on some machines, but on at least one machine, nothing a= t all happens when you plug it in.=A0 (Well, no messages, anyway.)=0A=0A=0A= I've updated to 9.1-RELEASE-p4 but I don't think that has included any of t= he potential USB fixes, such as the patch here: http://www.freebsd.org/cgi/= query-pr.cgi?pr=3D178771=0A=0AAny tests I can run to try to get this one fi= gured out?=0A=0AI can't work out a reasonable backup plan when every third = drive (all of which have the same model number) doesn't function properly w= ith FreeBSD.=0A From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 09:16:52 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 98682F25; Tue, 16 Jul 2013 09:16:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) by mx1.freebsd.org (Postfix) with ESMTP id DE5F092C; Tue, 16 Jul 2013 09:16:51 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id j13so380726wgh.24 for ; Tue, 16 Jul 2013 02:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0O2BeIWZBBtbAdMs4oVt3gUtAiQkbHX4FFpp49ztVq4=; b=NLnhH28xt7/vYLeO/4MNwCZfNZXoYJ3tCumq7OA6Li67HtPUPP/BteRKa7m5C+Lt44 BWp5HS7e526WpSQPq7wSfwEZS/0jecKn8Gw82SPz8Vkenjf+IfIigPu57YcmHHaNtVA5 ccox4ugrzt7c28Q24/j/L5XVrYwSObLLINNrF32A0rfgMQQ/kn+VHNJz5n+arVtei1Ye fjuIvTErCHnvCYF+YMCnWKy5xkJyrs/b87MqffQksR3xIzqV1oiKcOFNyrcF1aNIV+fK Rnk5QSPJ8uJcuYHIQgnzCR7rax9xyVCZA3m7rO8mENjYvnFVp5yxwlRIZO2H50wuJQHQ absA== MIME-Version: 1.0 X-Received: by 10.180.39.212 with SMTP id r20mr420986wik.30.1373966210968; Tue, 16 Jul 2013 02:16:50 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Tue, 16 Jul 2013 02:16:50 -0700 (PDT) In-Reply-To: <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> Date: Tue, 16 Jul 2013 02:16:50 -0700 X-Google-Sender-Auth: INxP5vDictfWGR0QVyIsAo1PoIU Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Taku YAMAMOTO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 09:16:52 -0000 I'll try it out soon, thanks! -adrian On 15 July 2013 14:35, Taku YAMAMOTO wrote: > This reminds me of my local patch which I wrote and forgot about deep in > the git :) > > This hack was required to have working USB ports on X61 after resume, > but I'm not sure whether it's still required because I don't have X61 han= dy > anymore... > > > On Mon, 8 Jul 2013 11:09:20 -0700 > Adrian Chadd wrote: > >> On 7 July 2013 22:00, Ian Smith wrote: >> >> > Checking one more point .. do the USB ports come up ok if you original= ly >> > boot with nothing plugged in? If so (or if not), does that local APIC >> >> Yes. >> >> > error message appear the same then too? >> >> > >> >> No >> >> >> -adrian >> _______________________________________________ >> freebsd-acpi@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi >> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" > > > -- > -|-__ =E5=B1=B1=E6=9C=AC=E3=80=80=E6=8B=93 / YAMAMOTO, Taku > | __ < > > - A chicken is an egg's way of producing more eggs. - From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 10:06:28 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F2A6DB0 for ; Tue, 16 Jul 2013 10:06:28 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1584ABB4 for ; Tue, 16 Jul 2013 10:06:27 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id BEE587A19F; Tue, 16 Jul 2013 12:06:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id DB1CB8EEC02; Tue, 16 Jul 2013 12:06:28 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id itH+nNWoxVu5; Tue, 16 Jul 2013 12:06:27 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id A3D3A8EEC00; Tue, 16 Jul 2013 12:06:27 +0200 (CEST) Subject: RE: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Velcro_Leaf?= , =?utf-8?Q?freebsd-usb=40FreeBSD=2Eorg?= Date: Tue, 16 Jul 2013 12:06:27 +0200 Mime-Version: 1.0 In-Reply-To: <1373965992.34006.YahooMailNeo@web164501.mail.gq1.yahoo.com> References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:06:28 -0000 Hi,=0D=0A=0D=0AThe stalled messages has nothing to do with the mass stora= ge part. It simply indicates that some error happened during a USB contro= l request. The USB stack will re-try this particular message, so it is no= t directly dangerous.=0D=0A=0D=0AAfter many years in the USB game I feel = a need to emphasize again, that many of the mass storage related errors r= eported here are not a USB HOST problem. There is a USB standard defined = at www.usb.org, that we are trying to comply to. And also there is a SCSI= standard which we are trying to follow. Unfortunately, like with many st= andards, there are some areas which are not covered properly, which leave= room for different implementations.=0D=0A=0D=0AHowever, please continue = to report these issues at this list when you hit them, but also write to = the manufacturer of your device and complain. The FreeBSD`s USB stack has= been analyzed into scrunity by at least one big company, which I suspect= is going to use it in a game's console, and nobody so far gave me feedba= ck that there is something really bad in there going to freak out your co= mputer!=0D=0A=0D=0AI`ve been thinking that perhaps I should start selling= certified USB hardware that doesn`t have all of these caveats you guys r= eport all the time :-) Would you buy stuff if I opened up an USB shop=3F=0D= =0A=0D=0A--HPS=0D=0A=0D=0A-----Original message-----=0D=0A> From:Velcro L= eaf >=0D=0A= > Sent: Tuesday 16th July 2013 11:13=0D=0A> To: Hans Petter Selasky >;= freebsd-usb@FreeBSD.org =20=0D=0A> Subje= ct: Re: usb/177895: similar 1TB Western Digital "My Passports" = - some load, some don't=0D=0A>=20=0D=0A> Got a new one of these with the = same model number as the previous versions, but still different behavior = this time.=0D=0A>=20=0D=0A> When you connect it, it says this:=0D=0A>=20=0D= =0A> usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_STALLED=0D=0A> ugen1.2: at usbus1=0D=0A> umass0= : o= n usbus1=0D=0A> umass0:=C2=A0 SCSI over Bulk-Only; quirks =3D 0x0000=0D=0A= > umass0:3:0:-1: Attached to scbus3=0D=0A> da0 at umass-sim0 bus 0 scbus3= target 0 lun 0=0D=0A> da0: Fixed Direct Acces= s SCSI-6 device=20=0D=0A> da0: 1.000MB/s transfers=0D=0A> da0: 953837MB (= 1953458176 512 byte sectors: 255H 63S/T 121597C)=0D=0A> ses0 at umass-sim= 0 bus 0 scbus3 target 0 lun 1=0D=0A> ses0: Fixed Enc= losure Services SCSI-6 device=20=0D=0A> ses0: 1.000MB/s transfers=0D=0A> = ses0: SCSI-3 SES Device=0D=0A>=20=0D=0A>=20=0D=0A> The USB_ERR_STALLED th= ing is new.=0D=0A>=20=0D=0A> The drive seems to work on some machines, bu= t on at least one machine, nothing at all happens when you plug it in.=C2= =A0 (Well, no messages, anyway.)=0D=0A>=20=0D=0A>=20=0D=0A> I've updated = to 9.1-RELEASE-p4 but I don't think that has included any of the potentia= l USB fixes, such as the patch here: http://www.freebsd.org/cgi/query-pr.= cgi=3Fpr=3D178771 = =20=0D=0A>=20=0D=0A> Any tests I can run to try to get this one figured o= ut=3F=0D=0A>=20=0D=0A> I can't work out a reasonable backup plan when eve= ry third drive (all of which have the same model number) doesn't function= properly with FreeBSD.=0D=0A>=20=0D=0A>=20=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 10:14:40 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89666E54; Tue, 16 Jul 2013 10:14:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id CF051BF0; Tue, 16 Jul 2013 10:14:39 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y10so3474611wgg.4 for ; Tue, 16 Jul 2013 03:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jxMgEGD3jpjEh3dF5u3HQohdXIgP+2VpYW6izXmXgdY=; b=z2JJ2X9uYeq/6jgB7lKDbkAMIrjDtHWn1ZA/ln7DGRU9U8SBB3D3zquaqaK23325+j vnBZt1ZPf3PMXTPtx3CZUhCrjCZXwVnGk5lcpuLaMh84FSzLB7rVTqGzeOl9PrvdnyVc rdejkRCZ/4OVyeQ274UUMDRbU9WA3AgsvZerYDAfdru4w3UFNvJWHMYPD0O/xSbcFENY Xr4hb1/+Pl3BaWsPQ+wHY7HeMkVHYmUEeiGE4xb3pnhMhFok6W22dN4hhlc0xqZ0sRJ9 Qx93dXGEZsMETRAZriUZZF+Kh+gb/HAP5EC3pzmrcmV/eJWHKIDA0p1T+HgkZq7jx+Ta ILcw== MIME-Version: 1.0 X-Received: by 10.180.39.212 with SMTP id r20mr587578wik.30.1373969679048; Tue, 16 Jul 2013 03:14:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Tue, 16 Jul 2013 03:14:38 -0700 (PDT) In-Reply-To: References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> Date: Tue, 16 Jul 2013 03:14:38 -0700 X-Google-Sender-Auth: pPk_Q1s0OsWw-kuZe_31CIRx5wU Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Taku YAMAMOTO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:14:40 -0000 Nope, no such joy. What else can I try? -adrian On 16 July 2013 02:16, Adrian Chadd wrote: > I'll try it out soon, thanks! > > > > -adrian > > On 15 July 2013 14:35, Taku YAMAMOTO wrote: >> This reminds me of my local patch which I wrote and forgot about deep in >> the git :) >> >> This hack was required to have working USB ports on X61 after resume, >> but I'm not sure whether it's still required because I don't have X61 ha= ndy >> anymore... >> >> >> On Mon, 8 Jul 2013 11:09:20 -0700 >> Adrian Chadd wrote: >> >>> On 7 July 2013 22:00, Ian Smith wrote: >>> >>> > Checking one more point .. do the USB ports come up ok if you origina= lly >>> > boot with nothing plugged in? If so (or if not), does that local API= C >>> >>> Yes. >>> >>> > error message appear the same then too? >>> >>> > >>> >>> No >>> >>> >>> -adrian >>> _______________________________________________ >>> freebsd-acpi@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi >>> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" >> >> >> -- >> -|-__ =E5=B1=B1=E6=9C=AC=E3=80=80=E6=8B=93 / YAMAMOTO, Taku >> | __ < >> >> - A chicken is an egg's way of producing more eggs. - From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 10:30:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 951EC134 for ; Tue, 16 Jul 2013 10:30:46 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-x22f.google.com (mail-qe0-x22f.google.com [IPv6:2607:f8b0:400d:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 5B84FC7B for ; Tue, 16 Jul 2013 10:30:46 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id 1so262944qec.34 for ; Tue, 16 Jul 2013 03:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=99pd19zvzLEVA+bsWWFQuYbN6Z5d7Rcavw0KxBA1h8I=; b=zwOQ30Dp1+WPgUTjjzDmcHx4I643o48V5ueZgvgPbTFwGSxYY02LyfWNpj5obMMagQ wjkrnhvM8a0dm9lvovY3SQbsdCU5mw5Cv52P56w/Sc5ANquzyEtXYVRN3cGAfhyOD/cf 6qUG3QDf7prCu//A0ZB7dgcouwZmidwEUJVTSN2fjenIvrdRCdN5wzp6D/7MeTVxrfFy E3DnDEWSKqxLMvW1mpfMrDhWQKGs/jxzg9ifuBmaVKLuZZQ8UUQPCbW9HHsVbWztqF4R hX2IMhGOxpzRFPWyiThY0pVQj4a4foAiAw5vTIKA1W1y4Y65mSR7i4dLrU98IUK1dIJt 45hQ== MIME-Version: 1.0 X-Received: by 10.224.183.142 with SMTP id cg14mr2136880qab.27.1373970644568; Tue, 16 Jul 2013 03:30:44 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Tue, 16 Jul 2013 03:30:44 -0700 (PDT) In-Reply-To: References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> <1373965992.34006.YahooMailNeo@web164501.mail.gq1.yahoo.com> Date: Tue, 16 Jul 2013 12:30:44 +0200 X-Google-Sender-Auth: 8dD9yjAovB-ksh6sDZlPOYTrY_A Message-ID: Subject: Re: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't From: CeDeROM To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-usb@FreeBSD.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:30:46 -0000 On Tue, Jul 16, 2013 at 12:06 PM, Hans Petter Selasky wrote: > I`ve been thinking that perhaps I should start selling certified USB hardware that doesn`t have all of these caveats you guys report all the time :-) Would you buy stuff if I opened up an USB shop? +1 :-) Good idea to introduce "FreeBSD Certified" or "Daemon Powers" or similar kind of certificate to know if this hardware works with FreeBSD or not, not only in USB area :-) This could be managed by FreeBSD Foundation like a hardware-compatibility with great granularity. Test could be performed by vendors, core team, or independent researchers, then clients would simply know what to buy and what to avoid (i.e. avoid Intel WiFi cards, problems with WDC drives, etc). Vendors would be interested in increased sale of their products and so FreeBSD would have better drivers when vendors take care of their proper implementation and funding :-) +1 For selling stuff that works out of the box on FreeBSD, that would also create financial support for your great work Hans so you can concentrate on things that are really important! :-) Best regards! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 11:13:49 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CABCCADB for ; Tue, 16 Jul 2013 11:13:49 +0000 (UTC) (envelope-from velcroleaf@rocketmail.com) Received: from nm44-vm6.bullet.mail.gq1.yahoo.com (nm44-vm6.bullet.mail.gq1.yahoo.com [67.195.87.29]) by mx1.freebsd.org (Postfix) with ESMTP id 99C8DE37 for ; Tue, 16 Jul 2013 11:13:49 +0000 (UTC) Received: from [216.39.60.182] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 11:12:08 -0000 Received: from [98.137.12.195] by tm18.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 11:12:08 -0000 Received: from [127.0.0.1] by omp1003.mail.gq1.yahoo.com with NNFMP; 16 Jul 2013 11:12:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 596736.47071.bm@omp1003.mail.gq1.yahoo.com Received: (qmail 82347 invoked by uid 60001); 16 Jul 2013 11:12:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1373973128; bh=7IB1WA9v/zRUy4h/EjCMESBzG7vp0BHuXP5jgO89ZOg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3h99Bp93/i9VrAUW8Eokyl7sKe4R/VC/GZ6GHxx/Na12h50VWozLcyTk3REmzHJ9xHcHz39cYXh9OYAaC9q/ll866lQqlX/Eq0f3G646RcwNVFqR+bxIUwWTuxeVn+51UKrnvZIDWEiIKnf6NOH4aAtt64lOU66THaCQy+LhOrU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ozql+Q7VuWhVRS34jV4+G08lhelMSoedbLLxNf0ZEZ2Ih8ZZrMaNfg29aCigv1YS2J/Lq8HCRD3x3JZ6K3kYQjeX7Bdks4X5EGh+2u7x/0fzd4FzjoZX6j7WxSB3CMEW3PA6jD8PV6CeVO6LWAaANVJM43Nq5UY7NtVE6vnAee0= ; X-YMail-OSG: 3rQ0sDoVM1km9bwkYWqNzllcwfdEoetv5CcAQXcb5sXUqBU Kaj6iLX4b1pkjuzDK.f6dyKRa4BgHvLaItOpMdyz5Ezou6DqeUCpVA2CORUF A_ah2YD1ywYSopEAru.DLp6f6H3jN8HtD1W3sEp7jDwhJpfI4ZGgCGylQviq YyAOoWiZaHLdzCAaC5hioKD54KH3_pdheoQeRMdtOvJuM7ndf2WPHGe.a14X GQZpcvWXYa69ZS0tZArKhE.5frpiOjjw_Kjfgq1kEyGEP5RfdOxKWk0rnBnP O9k9vACplgKghC_k2iKgUBu3XwxKKjZkxdIe0Si6ei8vhR6yIZQxMbS8_Y6W vxhqiWf.JryWqZLR7izqgi.0UxaqiVRVq7OGBDr4wappqBtQaE2GCI99OkQ5 hUeGXCflx8WwfxnYPqKia4N1CWdC5OIPgvQzMmHtcJGaCbc2MsWjEO1cjffb nao2pW9HQ.KdjNziH6tKgn0bJ0GZWoCnAtOaxrQMA9ZI3vWPoQYDAmzuaJQk 17JWKb7oJOmYWDCBeAmw4mQNLgJFtrUQzagC99rxZOQMdGrxRs5FctQVe3hf BykExJQ7KlkLcGD7rj7wBlbaDBRlV Received: from [192.70.171.13] by web164506.mail.gq1.yahoo.com via HTTP; Tue, 16 Jul 2013 04:12:08 PDT X-Rocket-MIMEInfo: 002.001, PiBUaGUgc3RhbGxlZCBtZXNzYWdlcyBoYXMgbm90aGluZyB0byBkbyB3aXRoIHRoZSBtYXNzIHN0b3JhZ2UgcGFydC4gSXQgc2ltcGx5IGluZGljYXRlcyB0aGF0IHNvbWUgZXJyb3IgaGFwcGVuZWQgZHVyaW5nIGEgVVNCIGNvbnRyb2wgcmVxdWVzdC5UaGUgVVNCIHN0YWNrIHdpbGwgcmUtdHJ5IHRoaXMgcGFydGljdWxhciBtZXNzYWdlLCBzbyBpdCBpcyBub3QgZGlyZWN0bHkgZGFuZ2Vyb3VzLgoKCldlbGwsIHRoZSBkcml2ZSBkb2Vzbid0IGFjdHVhbGx5IHdvcmsgb24gdGhlIG90aGVyIGNvbXB1dGVyLCABMAEBAQE- X-Mailer: YahooMailWebService/0.8.148.557 References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> Message-ID: <1373973128.82056.YahooMailNeo@web164506.mail.gq1.yahoo.com> Date: Tue, 16 Jul 2013 04:12:08 -0700 (PDT) From: Velcro Leaf Subject: Re: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't To: Hans Petter Selasky , "freebsd-usb@FreeBSD.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Velcro Leaf List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 11:13:50 -0000 > The stalled messages has nothing to do with the mass storage part. It sim= ply indicates that some error happened during a USB control request.The USB= stack will re-try this particular message, so it is not directly dangerous= .=0A=0A=0AWell, the drive doesn't actually work on the other computer, so s= omething important is wrong.=A0 The fact that the other machine silently fa= ils is maybe more telling?=0A=0A> After many years in the USB game I feel a= need to emphasize again, that many of the mass storage related errors repo= rted here are not a USB HOST problem. There is a USB standard defined at ww= w.usb.org, that we are trying to comply to.=0A=0AI totally respect that, bu= t all these devices work with other OSs (which shall remain unnamed).=A0 Th= ere's intellectual purity and then there's getting the freaking things to w= ork.=A0 How do these other OSs deal with the quirks?=A0 Is it a matter of d= ownloading piles of drivers?=0A=0AI do like the idea of a FreeBSD Seal of A= pproval.=A0 It would save us all a lot of time.=0A=0AAny suggestion for fix= ing the problem?=A0 (Other than the long term, but probably fruitless, sugg= estion of complaining to Western Digital?)=0A From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 11:41:36 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DE098232 for ; Tue, 16 Jul 2013 11:41:36 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC5AF9A for ; Tue, 16 Jul 2013 11:41:36 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 611547A189; Tue, 16 Jul 2013 13:41:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 71CA58EEC2B; Tue, 16 Jul 2013 13:41:36 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKAo2dC0JKjq; Tue, 16 Jul 2013 13:41:35 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (31.89-11-148.nextgentel.com [89.11.148.31]) by mail.lockless.no (Postfix) with ESMTPSA id 47DA38EEC0A; Tue, 16 Jul 2013 13:41:35 +0200 (CEST) Message-ID: <51E531CE.4040309@bitfrost.no> Date: Tue, 16 Jul 2013 13:43:10 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Velcro Leaf Subject: Re: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> <1373973128.82056.YahooMailNeo@web164506.mail.gq1.yahoo.com> In-Reply-To: <1373973128.82056.YahooMailNeo@web164506.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-usb@FreeBSD.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 11:41:36 -0000 On 07/16/13 13:12, Velcro Leaf wrote: >> The stalled messages has nothing to do with the mass storage part. It simply indicates that some error happened during a USB control request.The USB stack will re-try this particular message, so it is not directly dangerous. > > > Well, the drive doesn't actually work on the other computer, so something important is wrong. The fact that the other machine silently fails is maybe more telling? > >> After many years in the USB game I feel a need to emphasize again, that many of the mass storage related errors reported here are not a USB HOST problem. There is a USB standard defined at www.usb.org, that we are trying to comply to. > > I totally respect that, but all these devices work with other OSs (which shall remain unnamed). There's intellectual purity and then there's getting the freaking things to work. How do these other OSs deal with the quirks? Is it a matter of downloading piles of drivers? > > I do like the idea of a FreeBSD Seal of Approval. It would save us all a lot of time. Hi, Probably some that can be discussed at the next EuroBSDcon ! > > Any suggestion for fixing the problem? (Other than the long term, but probably fruitless, suggestion of complaining to Western Digital?) > Could you try to look through the quirks list, using usbconfig and see if your device is really quirked like it should. I know there has been introduced an attempt to auto-detect quirks, and this is disabled if any quirks are set manually. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 16:01:09 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC035973; Tue, 16 Jul 2013 16:01:09 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from basalt.tackymt.homeip.net (basalt.tackymt.homeip.net [IPv6:2001:470:fd92:0:20d:61ff:fecc:2253]) by mx1.freebsd.org (Postfix) with ESMTP id 8D19494; Tue, 16 Jul 2013 16:01:09 +0000 (UTC) Received: from basalt.tackymt.homeip.net (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id 0E28583C5; Wed, 17 Jul 2013 01:01:09 +0900 (JST) X-Virus-Scanned: amavisd-new at tackymt.homeip.net Received: from localhost by basalt.tackymt.homeip.net (amavisd-new, unix socket) with ESMTP id 4lWkOTRRYL2v; Wed, 17 Jul 2013 01:01:07 +0900 (JST) Received: from basalt.tackymt.homeip.net (basalt.tackymt.homeip.net [IPv6:2001:470:fd92:0:20d:61ff:fecc:2253]) by basalt.tackymt.homeip.net (Postfix) with ESMTPSA; Wed, 17 Jul 2013 01:01:07 +0900 (JST) Date: Wed, 17 Jul 2013 01:01:06 +0900 From: Taku YAMAMOTO To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-Id: <20130717010106.2f174c2b0dc1b50b95a9dde3@tackymt.homeip.net> In-Reply-To: References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; i386-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 16:01:10 -0000 On Tue, 16 Jul 2013 03:14:38 -0700 Adrian Chadd wrote: > Nope, no such joy. > > What else can I try? Maybe sysctl dev.[uoex]hci.*.wake=1 works. Other than that I have out of my ideas :(... > -adrian > > On 16 July 2013 02:16, Adrian Chadd wrote: > > I'll try it out soon, thanks! > > > > > > > > -adrian > > > > On 15 July 2013 14:35, Taku YAMAMOTO wrote: > >> This reminds me of my local patch which I wrote and forgot about deep in > >> the git :) > >> > >> This hack was required to have working USB ports on X61 after resume, > >> but I'm not sure whether it's still required because I don't have X61 handy > >> anymore... > >> > >> > >> On Mon, 8 Jul 2013 11:09:20 -0700 > >> Adrian Chadd wrote: > >> > >>> On 7 July 2013 22:00, Ian Smith wrote: > >>> > >>> > Checking one more point .. do the USB ports come up ok if you originally > >>> > boot with nothing plugged in? If so (or if not), does that local APIC > >>> > >>> Yes. > >>> > >>> > error message appear the same then too? > >>> > >>> > > >>> > >>> No > >>> > >>> > >>> -adrian > >>> _______________________________________________ > >>> freebsd-acpi@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > >>> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" > >> > >> > >> -- > >> -|-__ $B;3K\!!Bs(B / YAMAMOTO, Taku > >> | __ < > >> > >> - A chicken is an egg's way of producing more eggs. - -- -|-__ $B;3K\!!Bs(B / YAMAMOTO, Taku | __ < - A chicken is an egg's way of producing more eggs. - From owner-freebsd-usb@FreeBSD.ORG Wed Jul 17 20:00:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 804D5A4 for ; Wed, 17 Jul 2013 20:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 62357849 for ; Wed, 17 Jul 2013 20:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6HK01W6034697 for ; Wed, 17 Jul 2013 20:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6HK01vn034696; Wed, 17 Jul 2013 20:00:01 GMT (envelope-from gnats) Resent-Date: Wed, 17 Jul 2013 20:00:01 GMT Resent-Message-Id: <201307172000.r6HK01vn034696@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, Dan Lukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EFB8FF84 for ; Wed, 17 Jul 2013 19:53:02 +0000 (UTC) (envelope-from dan@m9-64.freebsd.cz) Received: from m9-64.freebsd.cz (m9-64.freebsd.cz [195.113.20.201]) by mx1.freebsd.org (Postfix) with ESMTP id 84E6F809 for ; Wed, 17 Jul 2013 19:53:02 +0000 (UTC) Received: from m9-64.freebsd.cz (localhost [127.0.0.1]) by m9-64.freebsd.cz (8.14.5/8.14.5) with ESMTP id r6HJmgKR004509 for ; Wed, 17 Jul 2013 21:48:42 +0200 (CEST) (envelope-from dan@m9-64.freebsd.cz) Received: (from root@localhost) by m9-64.freebsd.cz (8.14.5/8.14.5/Submit) id r6HJmgtv004508; Wed, 17 Jul 2013 21:48:42 +0200 (CEST) (envelope-from dan) Message-Id: <201307171948.r6HJmgtv004508@m9-64.freebsd.cz> Date: Wed, 17 Jul 2013 21:48:42 +0200 (CEST) From: Dan Lukes To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: usb/180617: New quirk (another member of Western Digital My Passport family of devices) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Dan Lukes List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 20:00:01 -0000 >Number: 180617 >Category: usb >Synopsis: New quirk (another member of Western Digital My Passport family of devices) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 17 20:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 9.1-RELEASE-p4 amd64 >Organization: Obludarium >Environment: System: FreeBSD >Description: Quirk UQ_MSC_NO_SYNC_CACHE has been already added to WESTERN MYPASSPORD 0x0748 device (see PR usb/178771) Same quirk has been requested by Greg Rivers for WD My Passport 0x07A8 (same PR, not yet commited) I would like to call for same quirk (e.g. UQ_MSC_NO_SYNC_CACHE) for WD My Passport Essential 0x0740 >How-To-Repeat: >Fix: Add product WESTERN MYPASSPORTES 0x0740 MyPassport Essential External HDD to sys/dev/usb/usbdevs and USB_QUIRK(WESTERN, MYPASSPORTES, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE) to sys/dev/usb/quirk/usb_quirk.c Just for the completeness - I would like to sumarize the PID and names of WD USB external disks recognized by WD Utilities so product names in usbdevs can be selected with possible future additions in the mind Product Name | PID ---------------------+-------------------------------------------------- MyPassport | 0746,0748,074A,074C,074E,07A6,07A8,07AA,07AC,07AE MyPassport Essential | 070A,071A,0730,0732,0740,0742,0750,0752,07A0,07A2 MyPassport Elite | 070B MyPassport Studio | 070C,071C,071D MyBook Essential | 1110,111A,1130,1132,1140,1142,1144,1150,1152,1170,1172 MyBook Elite | 1111 MyBook Studio | 1112,111B,111C MyBook | 1123 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Jul 17 20:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B4A80340 for ; Wed, 17 Jul 2013 20:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8CBCD8B2 for ; Wed, 17 Jul 2013 20:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6HKA1XA036713 for ; Wed, 17 Jul 2013 20:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6HKA1J5036712; Wed, 17 Jul 2013 20:10:01 GMT (envelope-from gnats) Date: Wed, 17 Jul 2013 20:10:01 GMT Message-Id: <201307172010.r6HKA1J5036712@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Dan Lukes Subject: Re: usb/178771: [usbdevs] [patch] Western Digital My Passport HD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Dan Lukes List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 20:10:01 -0000 The following reply was made to PR usb/178771; it has been noted by GNATS. From: Dan Lukes To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/178771: [usbdevs] [patch] Western Digital My Passport HD Date: Wed, 17 Jul 2013 22:01:56 +0200 See also usb/180617 From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 08:07:34 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97D9737B; Thu, 18 Jul 2013 08:07:34 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 76ACADBF; Thu, 18 Jul 2013 08:07:33 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 45A517A2C6; Thu, 18 Jul 2013 10:07:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id D9A1E8EF082; Thu, 18 Jul 2013 10:07:28 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RNCI7c0eEZ6V; Thu, 18 Jul 2013 10:07:27 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (31.89-11-148.nextgentel.com [89.11.148.31]) by mail.lockless.no (Postfix) with ESMTPSA id EB13C8EF081; Thu, 18 Jul 2013 10:07:26 +0200 (CEST) Message-ID: <51E7A29B.6040701@bitfrost.no> Date: Thu, 18 Jul 2013 10:08:59 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Oleksandr Tymoshenko Subject: Re: Beaglebone USB driver (Mentor Graphics OTG) References: <51608AA4.2020804@bluezbox.com> <51611A7B.2010105@bitfrost.no> <0927BB4C-6917-408D-B102-AB98F72314B6@bluezbox.com> <51CBDFEA.7050203@bitfrost.no> <49E5BE45-208C-4AAD-980D-590F32D9B600@bluezbox.com> In-Reply-To: <49E5BE45-208C-4AAD-980D-590F32D9B600@bluezbox.com> Content-Type: multipart/mixed; boundary="------------070101070502010609080900" Cc: arm@freebsd.org, usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 08:07:34 -0000 This is a multi-part message in MIME format. --------------070101070502010609080900 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Oleksandr, Got some time to review the code you committed to HEAD: 1) You need to distinguish between STALL and other errors. This is a bit important, because STALL is a PID and other errors can mean anything. See attached patch. 2) You should not use the NAKTO feature, because USB devices are allowed to NAK forever if they wish to. You should restart a USB transfer seamlessly after NAKTO or should use infinite NAKing. The USB stack has a timeout on the transfers, and will cancel when timeout happens. By feeding these error codes into the USB stack you risk loosing data on mouse/keyboard/modem devices! Upon cancel you need to use that trick I told you (included in the attached patch), else the double reset of the FIFO will crash! Could you clean this up and test a bit. I don't have hardware at hand to test at the moment. Thank you! --HPS --------------070101070502010609080900 Content-Type: text/x-patch; name="musb_check_for_stall.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="musb_check_for_stall.diff" diff --git a/sys/dev/usb/controller/musb_otg.c b/sys/dev/usb/controller/musb_otg.c index 5113d7a..bac8dd9 100644 --- a/sys/dev/usb/controller/musb_otg.c +++ b/sys/dev/usb/controller/musb_otg.c @@ -169,6 +169,9 @@ musbotg_channel_alloc(struct musbotg_softc *sc, struct musbotg_td *td) if (sc->sc_channel_mask & (1 << 0)) return (-1); sc->sc_channel_mask |= (1 << 0); + /* Clear previous status bits */ + MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + /* Enable interrupts */ musbotg_ep_int_set(sc, ep, 1); return (0); } @@ -176,6 +179,9 @@ musbotg_channel_alloc(struct musbotg_softc *sc, struct musbotg_td *td) for (ch = 1; ch < MUSB2_EP_MAX; ch++) { if (!(sc->sc_channel_mask & (1 << ch))) { sc->sc_channel_mask |= (1 << ch); + /* Clear previous status bits */ + MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + /* Enable interrupts */ musbotg_ep_int_set(sc, ch, 1); return (ch); } @@ -203,6 +209,19 @@ musbotg_channel_free(struct musbotg_softc *sc, struct musbotg_td *td) musbotg_ep_int_set(sc, td->channel, 0); sc->sc_channel_mask &= ~(1 << td->channel); + /* select endpoint */ + MUSB2_WRITE_1(sc, MUSB2_REG_EPINDEX, td->channel); + + /* clear NAK limit */ + MUSB2_WRITE_1(sc, MUSB2_REG_TXNAKLIMIT, 0); + + /* + * Set non-existing device address so that any NAK'ing only + * transfers get cancelled! Should wait 250us before using + * channel again. + */ + MUSB2_WRITE_1(sc, MUSB2_REG_TXFADDR(td->channel), MUSB2_RST_ADDR); + td->channel = -1; } @@ -518,13 +537,15 @@ musbotg_host_ctrl_setup_tx(struct musbotg_td *td) return (1); /* Failed */ - if (csr & (MUSB2_MASK_CSR0L_RXSTALL | - MUSB2_MASK_CSR0L_ERROR)) - { - /* Clear status bit */ - MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); - td->error = 1; + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } if (csr & MUSB2_MASK_CSR0L_NAKTIMO) { @@ -546,10 +567,10 @@ musbotg_host_ctrl_setup_tx(struct musbotg_td *td) csr &= ~MUSB2_MASK_CSR0L_NAKTIMO; MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, csr); - td->error = 1; + td->error_any = 1; } - if (td->error) { + if (td->error_any) { musbotg_channel_free(sc, td); return (0); } @@ -636,7 +657,7 @@ musbotg_dev_ctrl_data_rx(struct musbotg_td *td) /* * USB Host Aborted the transfer. */ - td->error = 1; + td->error_any = 1; return (0); /* complete */ } if (!(csr & MUSB2_MASK_CSR0L_RXPKTRDY)) { @@ -653,14 +674,14 @@ musbotg_dev_ctrl_data_rx(struct musbotg_td *td) got_short = 1; } else { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; return (0); /* we are complete */ } } /* verify the packet byte count */ if (count > td->remainder) { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; return (0); /* we are complete */ } while (count > 0) { @@ -769,7 +790,7 @@ musbotg_dev_ctrl_data_tx(struct musbotg_td *td) * The current transfer was aborted * by the USB Host */ - td->error = 1; + td->error_any = 1; return (0); /* complete */ } if (csr & MUSB2_MASK_CSR0L_TXPKTRDY) { @@ -911,22 +932,19 @@ musbotg_host_ctrl_data_rx(struct musbotg_td *td) csr &= ~MUSB2_MASK_CSR0L_NAKTIMO; MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, csr); - td->error = 1; + td->error_any = 1; XXX; } /* Failed */ - if (csr & (MUSB2_MASK_CSR0L_RXSTALL | - MUSB2_MASK_CSR0L_ERROR)) - { - /* Clear status bit */ - MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); - td->error = 1; - } - - if (td->error) { - musbotg_channel_free(sc, td); - return (0); /* we are complete */ + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } if (!(csr & MUSB2_MASK_CSR0L_RXPKTRDY)) @@ -943,7 +961,7 @@ musbotg_host_ctrl_data_rx(struct musbotg_td *td) got_short = 1; } else { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -951,7 +969,7 @@ musbotg_host_ctrl_data_rx(struct musbotg_td *td) /* verify the packet byte count */ if (count > td->remainder) { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -1064,11 +1082,16 @@ musbotg_host_ctrl_data_tx(struct musbotg_td *td) csr = MUSB2_READ_1(sc, MUSB2_REG_TXCSRL); DPRINTFN(4, "csr=0x%02x\n", csr); - if (csr & (MUSB2_MASK_CSR0L_RXSTALL | - MUSB2_MASK_CSR0L_ERROR)) { - /* clear status bits */ - MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); - td->error = 1; + /* Failed */ + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } if (csr & MUSB2_MASK_CSR0L_NAKTIMO ) { @@ -1089,11 +1112,11 @@ musbotg_host_ctrl_data_tx(struct musbotg_td *td) csr &= ~MUSB2_MASK_CSR0L_NAKTIMO; MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, csr); - td->error = 1; + td->error_any = 1; } - if (td->error) { + if (td->error_any) { musbotg_channel_free(sc, td); return (0); /* complete */ } @@ -1315,24 +1338,20 @@ musbotg_host_ctrl_status_rx(struct musbotg_td *td) csr &= ~MUSB2_MASK_CSR0L_NAKTIMO; MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, csr); - td->error = 1; + td->error_any = 1; } /* Failed */ - if (csr & (MUSB2_MASK_CSR0L_RXSTALL | - MUSB2_MASK_CSR0L_ERROR)) - { - /* Clear status bit */ - MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); - td->error = 1; - } - - if (td->error) { - musbotg_channel_free(sc, td); - return (0); + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } - return (1); /* Not ready yet */ } @@ -1366,15 +1385,15 @@ musbotg_host_ctrl_status_tx(struct musbotg_td *td) return (1); /* Failed */ - if (csr & (MUSB2_MASK_CSR0L_RXSTALL | - MUSB2_MASK_CSR0L_ERROR)) - { - /* Clear status bit */ - MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); - td->error = 1; - musbotg_channel_free(sc, td); - return (0); /* complete */ + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } if (td->transaction_started) { @@ -1460,7 +1479,7 @@ repeat: got_short = 1; } else { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -1468,7 +1487,7 @@ repeat: /* verify the packet byte count */ if (count > td->remainder) { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -1766,22 +1785,19 @@ repeat: MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRL, csr); } - td->error = 1; - } - - if (csr & MUSB2_MASK_CSRL_RXERROR) { - DPRINTFN(4, "RXERROR\n"); - td->error = 1; - } - - if (csr & MUSB2_MASK_CSRL_RXSTALL) { - DPRINTFN(4, "RXSTALL\n"); - td->error = 1; + td->error_any = 1; } - if (td->error) { - musbotg_channel_free(sc, td); - return (0); /* we are complete */ + /* Failed */ + if (csr & MUSB2_MASK_CSR0L_RXSTALL) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + td->error_stall = 1; + return (0); /* complete */ + } else if (csr & MUSB2_MASK_CSR0L_ERROR) { + DPRINTFN(1, "error bit set, csr=0x%02x\n", csr); + td->error_any = 1; + return (0); /* complete */ } if (!(csr & MUSB2_MASK_CSRL_RXPKTRDY)) { @@ -1804,7 +1820,7 @@ repeat: got_short = 1; } else { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -1813,7 +1829,7 @@ repeat: /* verify the packet byte count */ if (count > td->remainder) { /* invalid USB packet */ - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* we are complete */ } @@ -1933,7 +1949,7 @@ musbotg_host_data_tx(struct musbotg_td *td) MUSB2_MASK_CSRL_TXERROR)) { /* clear status bits */ MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, 0); - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* complete */ } @@ -1956,7 +1972,7 @@ musbotg_host_data_tx(struct musbotg_td *td) csr &= ~MUSB2_MASK_CSRL_TXNAKTO; MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRL, csr); - td->error = 1; + td->error_any = 1; musbotg_channel_free(sc, td); return (0); /* complete */ } @@ -2122,7 +2138,7 @@ musbotg_xfer_do_fifo(struct usb_xfer *xfer) if (((void *)td) == xfer->td_transfer_last) { goto done; } - if (td->error) { + if (td->error_any) { goto done; } else if (td->remainder > 0) { /* @@ -2350,7 +2366,8 @@ musbotg_setup_standard_chain_sub(struct musbotg_std_temp *temp) td->pc = temp->pc; td->offset = temp->offset; td->remainder = temp->len; - td->error = 0; + td->error_any = 0; + td->error_stall = 0; td->transaction_started = 0; td->did_stall = temp->did_stall; td->short_pkt = temp->short_pkt; @@ -2674,7 +2691,7 @@ musbotg_standard_done_sub(struct usb_xfer *xfer) { struct musbotg_td *td; uint32_t len; - uint8_t error; + usb_error_t error; DPRINTFN(8, "\n"); @@ -2691,15 +2708,16 @@ musbotg_standard_done_sub(struct usb_xfer *xfer) * the remainder from "frlengths[]": */ if (len > xfer->frlengths[xfer->aframes]) { - td->error = 1; + td->error_any = 1; } else { xfer->frlengths[xfer->aframes] -= len; } } /* Check for transfer error */ - if (td->error) { + if (td->error_any) { /* the transfer is finished */ - error = 1; + error = (td->error_stall ? + USB_ERR_STALLED : USB_ERR_IOERROR); td = NULL; break; } @@ -2731,8 +2749,7 @@ musbotg_standard_done_sub(struct usb_xfer *xfer) xfer->td_transfer_cache = td; - return (error ? - USB_ERR_STALLED : USB_ERR_NORMAL_COMPLETION); + return (error); } static void diff --git a/sys/dev/usb/controller/musb_otg.h b/sys/dev/usb/controller/musb_otg.h index 649cab8..b68ea21 100644 --- a/sys/dev/usb/controller/musb_otg.h +++ b/sys/dev/usb/controller/musb_otg.h @@ -32,7 +32,8 @@ #ifndef _MUSB2_OTG_H_ #define _MUSB2_OTG_H_ -#define MUSB2_MAX_DEVICES USB_MAX_DEVICES +#define MUSB2_RST_ADDR 127 +#define MUSB2_MAX_DEVICES MIN(USB_MAX_DEVICES, MUSB2_RST_ADDR) /* Common registers */ @@ -319,7 +320,8 @@ struct musbotg_td { uint8_t ep_no; uint8_t transfer_type; uint8_t max_packet; - uint8_t error:1; + uint8_t error_any:1; + uint8_t error_stall:1; uint8_t alt_next:1; uint8_t short_pkt:1; uint8_t support_multi_buffer:1; --------------070101070502010609080900-- From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 09:20:13 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED69C161; Thu, 18 Jul 2013 09:20:13 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id A6AC2109; Thu, 18 Jul 2013 09:20:13 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id e10so1579276qcy.13 for ; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=kuUrbmJpJVptvE1ujVtaC8AHGetLR7j5S/GtEOiNzVQ=; b=yozMTWnOk79M80ES5lQ8auQj4npzVLHimh2plvGmkZ6EKAIUtz/tTspHD/NqpB64Fj y8hnxYKAadMAamI288o1RfY7rMjZv1pAH1v7WTX3JaU643ebGGr+betV7to3acKPWCSl vAiACN4MuPyk7xliiT2X8UbWMZYrXFrt71ahuwnOmXQSLnEddN8FVwKYFmfpzryoyA6Q L8eQDaW4T41plG7WRIthhaBrOidfPEXz2epyRN0RKzMhpMMVtetVE40jVnTigJd5/f0X iYyGFTgfUqM9HNa6gtVLZq+47id4lxDgkdykI88WRvHt7fM0z8bfnTGz3lXeWCkCIOfg u/mg== MIME-Version: 1.0 X-Received: by 10.224.74.212 with SMTP id v20mr12858811qaj.65.1374139213080; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) Date: Thu, 18 Jul 2013 11:20:13 +0200 X-Google-Sender-Auth: 8cZjA7vXElpCsMcFKfjtXZ81Gps Message-ID: Subject: usb wifi dongle for advanced testing - recommendation request From: CeDeROM To: "freebsd-usb@FreeBSD.org" , FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 09:20:14 -0000 Hello :-) I am looking for a really good and well supported WiFi USB dongle for advanced testing like network sniffing, packet injection, setting up access point, etc. I guess that would be Atheros based device? Can you recommend a solution that works for you? :-) Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 13:30:35 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CB2DC5C2 for ; Thu, 18 Jul 2013 13:30:35 +0000 (UTC) (envelope-from velcroleaf@rocketmail.com) Received: from nm29-vm8.bullet.mail.gq1.yahoo.com (nm29-vm8.bullet.mail.gq1.yahoo.com [98.136.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9754AE49 for ; Thu, 18 Jul 2013 13:30:35 +0000 (UTC) Received: from [216.39.60.182] by nm29.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jul 2013 13:28:42 -0000 Received: from [216.39.60.197] by tm18.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jul 2013 13:28:42 -0000 Received: from [127.0.0.1] by omp1084.mail.gq1.yahoo.com with NNFMP; 18 Jul 2013 13:28:42 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 357336.33952.bm@omp1084.mail.gq1.yahoo.com Received: (qmail 32726 invoked by uid 60001); 18 Jul 2013 13:28:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1374154122; bh=rpwFqt5FbpviaRkNHrr0Mm/fy/ZPJUxNBbb0h7xJh+0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4xH9gmwgWR5iM7/UT5E9FUzOWjKsDrZpUAkJ6DZAnRcfpMo8hodQW3nOO6gl6Lgt+A0qBm4RMu8NO3LbyV+mqaq97ylxKLCtaazmkTrS3oW3aTUYhk0MQ23xEMzCT70tElw4jO8qQkEyqybwH7Q4LB5URZXAhk/y5mJoJq/2Yms= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=r6VxlVrKasZIqWYSoXMh+/GPIIBj/tXkQlqH792tbgjBOYWDcSPxMM+ZW846zlReHWRGef4//QpcU8ScvO6P0XqGqNoPmj4qZ+w66x70++TaWU+PVK6YiND8CShZwxl6CdJNCLpBv72654fXMTiqkDv44d1sI8Ag6i9JX1l9Etg=; X-YMail-OSG: gmiQ_R0VM1knOWuefR.nwuHLMAVZTa8qTXCH4S4fb0jkN_6 h8K4oOqL7N5hv0L6b9HOzHQ_pRNhFHIyJ_MiDQkBkOkglQjCxMRaAp3WMSCD Qc2MVboJIiHdMyp4X28N9SUxidQXhjCY6QQzbUkKq7B87tNRIvkarnIqASvT 682olLBvgK_ls7gAxKix3O4za.dJCDU74WmC19pbXx62d88lz_biIpTH40bN FVyKNTyHm2wRpm_g5cL8t5jILupFqqtnzGJlMwU0EumlVSvmJ4KyBBbOv9P4 e8cT2UF7sX2Sg5O_5W5FED5jVErdYaU7lHHlRCyXjLVFpCuoKhgl7qpL.wMW FhHgDRzYRkRM09zh7TtsyljAhYpg6U2JoL3wX2_Az87St5aAR1ioTF7mTXRj 29gA6yhY9moG8vKlTj67jZt8yZnSk93i9vsyhL7N448CymvSLDwW2o3vsOOk Nma4oxXxRhANJCdcpgSK94WuRUzNrf6G0k_yO.CI6.ave3l3TXM4NxFB9PQ1 huDzuBiHOI_Er.u1fc2zr1w-- Received: from [192.70.171.13] by web164505.mail.gq1.yahoo.com via HTTP; Thu, 18 Jul 2013 06:28:41 PDT X-Rocket-MIMEInfo: 002.001, SSdtIGNjOidpbmcgdGhlIGxpc3QgYWdhaW4uwqAgKEhhbnMgYW5kIEkgaGFkIGRvbmUgc29tZSBvZmZsaW5lIHdvcmsgSSBkaWRuJ3Qgd2FudCB0byBzcGFtIHRoZSBsaXN0IHdpdGgsIHNpbmNlIEkgd2Fzbid0IHN1cmUgaWYgSSB3YXMgZ2l2aW5nIGhpbSB0aGUgbG9ncyBoZSB3YXMgbG9va2luZyBmb3IuKQoKPiBPbiAwNy8xNi8xMyAxNjoxNywgVmVsY3JvIExlYWYgd3JvdGU6Cgo.Pj4gIFNlZSBpZiB5b3UgZ2V0IGEgbWF0Y2ggb24gdGhlIHZlbmRvciBhbmQgMDAwMAo.PiAKPj4gICMgdXNiY29uZmlnIGQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.149.560 References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> <1373973128.82056.YahooMailNeo@web164506.mail.gq1.yahoo.com> <51E531CE.4040309@bitfrost.no> <1373975972.4790.YahooMailNeo@web164504.mail.gq1.yahoo.com> <51E54096.3030203@bitfrost.no> <1373981621.24583.YahooMailNeo@web164503.mail.gq1.yahoo.com> <51E54E12.8000205@bitfrost.no> <1373983052.46561.YahooMailNeo@web164503.mail.gq1.yahoo.com> <51E55535.5040007@bitfrost.no> <1373984225.67923.YahooMailNeo@web164504.mail.gq1.yahoo.com> <51E565B2.8080408@bitfrost.no> Message-ID: <1374154121.21171.YahooMailNeo@web164505.mail.gq1.yahoo.com> Date: Thu, 18 Jul 2013 06:28:41 -0700 (PDT) From: Velcro Leaf Subject: Re: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't To: Hans Petter Selasky In-Reply-To: <51E565B2.8080408@bitfrost.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-usb@FreeBSD.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Velcro Leaf List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 13:30:35 -0000 I'm cc:'ing the list again.=A0 (Hans and I had done some offline work I did= n't want to spam the list with, since I wasn't sure if I was giving him the= logs he was looking for.)=0A=0A> On 07/16/13 16:17, Velcro Leaf wrote:=0A= =0A>>> See if you get a match on the vendor and 0000=0A>> =0A>> # usbconf= ig dump_device_quirks | grep 0x1058 | grep 0x0000=0A>> VID=3D0x1058 PID=3D= 0x0200 REVLO=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_MSC_FORCE_WIRE_BBB=0A>> VI= D=3D0x1058 PID=3D0x0200 REVLO=3D0x0000 REVHI=3D0xffff =0A> QUIRK=3DUQ_MSC_F= ORCE_PROTO_SCSI=0A>> VID=3D0x1058 PID=3D0x0200 REVLO=3D0x0000 REVHI=3D0xff= ff =0A> QUIRK=3DUQ_MSC_FORCE_SHORT_INQ=0A>> VID=3D0x1058 PID=3D0x0200 REVL= O=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_MSC_NO_START_STOP=0A>> VID=3D0x1058 P= ID=3D0x0200 REVLO=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_MSC_IGNORE_RESIDUE=0A>= > VID=3D0x1058 PID=3D0x0400 REVLO=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_MSC_F= ORCE_WIRE_BBB=0A>> VID=3D0x1058 PID=3D0x0400 REVLO=3D0x0000 REVHI=3D0xffff= =0A> QUIRK=3DUQ_MSC_FORCE_PROTO_SCSI=0A>> VID=3D0x1058 PID=3D0x0400 REVLO= =3D0x0000 REVHI=3D0xffff =0A> QUIRK=3DUQ_MSC_FORCE_SHORT_INQ=0A>> VID=3D0x= 1058 PID=3D0x0400 REVLO=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_MSC_NO_START_STO= P=0A>> VID=3D0x1058 PID=3D0x0400 REVLO=3D0x0000 REVHI=3D0xffff QUIRK=3DUQ_= MSC_IGNORE_RESIDUE=0A>> VID=3D0x1058 PID=3D0x0901 REVLO=3D0x0000 REVHI=3D0= xffff QUIRK=3DUQ_MSC_FORCE_WIRE_BBB=0A>> VID=3D0x1058 PID=3D0x0901 REVLO= =3D0x0000 REVHI=3D0xffff =0A> QUIRK=3DUQ_MSC_FORCE_PROTO_SCSI=0A>> VID=3D0= x1058 PID=3D0x0901 REVLO=3D0x0000 REVHI=3D0xffff =0A> QUIRK=3DUQ_MSC_NO_INQ= UIRY_EVPD=0A>> VID=3D0x1058 PID=3D0x0901 REVLO=3D0x0000 REVHI=3D0xffff QUI= RK=3DUQ_MSC_NO_SYNC_CACHE=0A>> VID=3D0x1058 PID=3D0x0704 REVLO=3D0x0000 RE= VHI=3D0xffff =0A> QUIRK=3DUQ_MSC_FORCE_SHORT_INQ=0A>> #=0A>> =0A>> Does t= hat tell us anything?=0A> =0A> A lot of other devices have quirks, but not = yours.=0A> =0A> Try:=0A> =0A> usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CAC= HE=0A=0AIt didn't complain, but it didn't change the behavior either.=A0 I = still got the USB_ERR_STALLED error when I unplugged and plugged it back in= .=0A=0AThat was on the server where the drive works, but gives this complai= nt when you plug it in:=0Ausbd_setup_device_desc: getting device descriptor= at addr 2 failed, USB_ERR_STALLED=0A=0AOn the other server, where the driv= e does not work at all, first there is some kind of "fatal error" when you = plug it in, and beyond that point, there is no response when you plug in or= unplug the drive.=0A=0APlugging in a drive that actually works also produc= es no response at that point.=0A=0AAnd when the computer is rebooted, it ha= ngs at:=0Ausbus4: Controller shutdown=0A=0AI'm not anxious to do any more e= xperimentation on the really broken system at this point, since I've had dr= ives this computer didn't like freeze it solid when plugged in.=A0 (I would= have a more accurate report of the "fatal error" if I were willing to put = the server in jeopardy again.)=A0 I have freedom to work on the test server= that gives the USB_ERR_STALLED error, however.=0A=0ARegardless of Western = Digital's erratic and utterly random changes to products which seem to be o= utwardly identical, they shouldn't be able to kill the OS.=A0 What's going = on?=0A=0ADoes anyone have a suggestion for 1TB self-powered USB drives that= actually work on differing hardware?=0A=0AIn trying to make our systems sa= fer (ie, back them up), we're running into freezing issues and potential da= ta corruption.=0A From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 15:39:02 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D679EE48; Thu, 18 Jul 2013 15:39:02 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6726A5; Thu, 18 Jul 2013 15:39:02 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id s14so1884754qeb.1 for ; Thu, 18 Jul 2013 08:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=icF1Bf3J2Ipxlm2KEU9JOCkk7lPUeDaniI/kcoCw6IQ=; b=zfMKpiBGQH/GyvX3v0ttQ1DRyqOkSpc26tgWhySavYGnmfITHX+W/rL+vWvzerHKmV g21nFr0TF0aVd5sk0m7teEO0rIlvfobC2ZPbn2oHiZfpSBSiE10qw92MhUBuZ8qlo1Wm 75my73/uuqr+TwCm74vRXCUSSSbo+OGAYarB74id8sincX3+XeY7LBR1d/UvfeZ5lQ5Y 0bQxIlY9b0U2AHJopmr5x8vEIaY/V8N7Azmp1Nc8TIRPeibxu+LJkDU7xaJoveyurP0u 0lvaygC6WNFCDsne40S0s9bGMaYheQlkrx+LnU3DOzrYAIQWYWz+057k5qX7Y4DYsh+6 meJw== MIME-Version: 1.0 X-Received: by 10.224.122.66 with SMTP id k2mr14619432qar.47.1374161942000; Thu, 18 Jul 2013 08:39:02 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Thu, 18 Jul 2013 08:39:01 -0700 (PDT) Date: Thu, 18 Jul 2013 17:39:01 +0200 X-Google-Sender-Auth: SwoMlP39CdiFpGsTHACONQxUpMU Message-ID: Subject: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD From: CeDeROM To: "freebsd-usb@FreeBSD.org" , freebsd-net@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 15:39:02 -0000 Hello :-) I have just bought USB WiFi b/g/n dongle from TP-LINK model TL-WN822B Ver:2.0 [1] which use following chipsets: Atheros AR9002U-2NG, Atheros AR7010, Atheros AR9287. It looks nice bacuse it cost ~20EUR it has external antennas and has very good opinions. Now, I start to think that finding Ver:3.0 based on RTL8192CU [2] might be a better choice..? Still I consider Atheros to be a better solution than Realtek..? I have made simple modification of /usr/src/sys/dev/usb/usbdevs and /usr/src/sys/dev/usb/wlan/if_uath.c to get it recognised, but uath driver seems to only support AR5005UG according to manpage. Is there any known driver to operate AR9002 chips? Here is what dmesg shows after my kernel modification/rebuild: ugen1.3: at usbus1 uath0: on usbus1 uath0: could not allocate USB transfers, err=USB_ERR_NO_PIPE device_attach: uath0 attach returned 12 So it looks this driver will not operate with this chipset..? Any hints appreciated! :-) Tomek [1] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2 [2] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v3 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 17:06:42 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3E074B3F; Thu, 18 Jul 2013 17:06:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id 7F62BB9D; Thu, 18 Jul 2013 17:06:41 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so3155716wgh.7 for ; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=aAivkRBM66BfJK6pIGUJ2cx2n9RTIeRBR/yFc6FG5yA=; b=jGkHqGOvJ1fcU9o1ZopUtiWo/tWppBTv8E2tCPf9orCyJPrD9ZqtDpT6iYptoiHsbC ZotvJmOmwNYK9rmZu9Eqx5ovXlM9j3MPW6pfuNJih3IMzDOO3kXBNzQ90HfiGCf2u7PM rKhTW2kGcv5g4lgXGxm7nYkkNBS6dP7rSqPWrJWD65xpLdHKgm0TFBHcKvO0mxjqvCim atsjjmjvtcRYvS3gSWhdle42nvdbzDeVr1BMbOsux57E8Y4JLzLeemUiBmavQ3tOJaeF aRhl87gZTx/BN9oMB8zYGPzCpWix8GdMfXjmIBA32evqAUb7gKO+Dlv9kf18tMUAS0mF 9rbQ== MIME-Version: 1.0 X-Received: by 10.194.11.72 with SMTP id o8mr9510653wjb.0.1374167200553; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jul 2013 10:06:40 -0700 X-Google-Sender-Auth: HnmeY0EcbnSm-lW2yJR1YmP1YHU Message-ID: Subject: Re: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD From: Adrian Chadd To: CeDeROM Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 17:06:42 -0000 It's not uath. It's a different beast entirely. Basically, it requires someone with USB clue to write the USB glue between the ath(4) and ath_hal(4) code and the USB interface. Look at what ath9k_htc implements. It uses most of ath9k, but it implements a data/control pipe over USB and some commands to tell the firmware to do things (like new/delete client, etc.) -adrian On 18 July 2013 08:39, CeDeROM wrote: > Hello :-) > > I have just bought USB WiFi b/g/n dongle from TP-LINK model TL-WN822B > Ver:2.0 [1] which use following chipsets: Atheros AR9002U-2NG, Atheros > AR7010, Atheros AR9287. It looks nice bacuse it cost ~20EUR it has > external antennas and has very good opinions. Now, I start to think > that finding Ver:3.0 based on RTL8192CU [2] might be a better > choice..? Still I consider Atheros to be a better solution than > Realtek..? > > I have made simple modification of /usr/src/sys/dev/usb/usbdevs and > /usr/src/sys/dev/usb/wlan/if_uath.c to get it recognised, but uath > driver seems to only support AR5005UG according to manpage. Is there > any known driver to operate AR9002 chips? > > Here is what dmesg shows after my kernel modification/rebuild: > > ugen1.3: at usbus1 > uath0: on usbus1 > uath0: could not allocate USB transfers, err=USB_ERR_NO_PIPE > device_attach: uath0 attach returned 12 > > So it looks this driver will not operate with this chipset..? > > Any hints appreciated! :-) > Tomek > > [1] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2 > [2] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v3 > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 17:22:31 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AD054179; Thu, 18 Jul 2013 17:22:31 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-x232.google.com (mail-qe0-x232.google.com [IPv6:2607:f8b0:400d:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id 405F5C4F; Thu, 18 Jul 2013 17:22:31 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id f6so1940255qej.9 for ; Thu, 18 Jul 2013 10:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=m/G9MZY9uD2PdhLs8QylrpcowIagkgI/Oqv8Ny3B5Ho=; b=h7OKsb65ASlEhMGuqx047bJI7tCCcXNnrZiGSjdy+R9aFNs2HfAqyngtYIooSBWn0D VKARGajtlQTD57v2MgUuIyBR32ntAcE4RVFD1+H40/xvSYeeE2tY1S1Hs9ZAxgFJX3Lm qboILDM46suCXyLaTTatMrAYoYw+JdKFdQk+da9LJgUAvfslPa1uJJDm7WS4E99/1LO0 x4aUIFnn471tsJbulUDaRbi7GFk5QEkuF+U4z2UJGNEX9QeqUA0qtJwaDfT5ZigmQ6sK GP6f7COtNxyeJPaeSNF/+mx52eLBbQqaj7XWjz1SUS97DhUGj5fxcl/fgtUGfeEPjp/h HIkw== MIME-Version: 1.0 X-Received: by 10.224.74.212 with SMTP id v20mr14810654qaj.65.1374168150405; Thu, 18 Jul 2013 10:22:30 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Thu, 18 Jul 2013 10:22:30 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jul 2013 19:22:30 +0200 X-Google-Sender-Auth: KlY461KKceKLLazhVDr91RrP9YY Message-ID: Subject: Re: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD From: CeDeROM To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: freebsd-net@freebsd.org, "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 17:22:31 -0000 On Thu, Jul 18, 2013 at 7:06 PM, Adrian Chadd wrote: > It's not uath. It's a different beast entirely. > > Basically, it requires someone with USB clue to write the USB glue > between the ath(4) and ath_hal(4) code and the USB interface. > > Look at what ath9k_htc implements. It uses most of ath9k, but it > implements a data/control pipe over USB and some commands to tell the > firmware to do things (like new/delete client, etc.) Yea, I have grepped the sources and that this chip seems to have already some support, but it needs some more glue to work over USB as you tell Adrian :-) Not sure if I can do this, but I can always try :D :D Be(a)st regards! :-) Tomek Cedro -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 19:41:23 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 99EA9773; Thu, 18 Jul 2013 19:41:23 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 55C2B321; Thu, 18 Jul 2013 19:41:23 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 8795F7A222; Thu, 18 Jul 2013 21:41:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 422168EF1E3; Thu, 18 Jul 2013 21:41:25 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l-4BuTKpUsUI; Thu, 18 Jul 2013 21:41:23 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 94B1B8EF1E2; Thu, 18 Jul 2013 21:41:23 +0200 (CEST) Message-ID: <51E8453E.60603@bitfrost.no> Date: Thu, 18 Jul 2013 21:42:54 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: CeDeROM Subject: Re: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 19:41:23 -0000 On 07/18/13 17:39, CeDeROM wrote: > Hello :-) > Hi, The atheros driver has the endpoint numbers hardcoded. I recommend using relative indexes for each interface. Should be trivial to fix. I'll leave that for the author of the uath driver. --HPS > ugen1.3: at usbus1 > uath0: on usbus1 > uath0: could not allocate USB transfers, err=USB_ERR_NO_PIPE > device_attach: uath0 attach returned 12 > > So it looks this driver will not operate with this chipset..? > > Any hints appreciated! :-) > Tomek > > [1] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2 > [2] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v3 > From owner-freebsd-usb@FreeBSD.ORG Fri Jul 19 16:20:00 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E0971FC8 for ; Fri, 19 Jul 2013 16:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C72D6294 for ; Fri, 19 Jul 2013 16:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6JGK0xZ063248 for ; Fri, 19 Jul 2013 16:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6JGK0fQ063224; Fri, 19 Jul 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 19 Jul 2013 16:20:00 GMT Resent-Message-Id: <201307191620.r6JGK0fQ063224@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, Yamagi Burmeister Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 65FF3F91 for ; Fri, 19 Jul 2013 16:15:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 489BE277 for ; Fri, 19 Jul 2013 16:15:23 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6JGFMgi034792 for ; Fri, 19 Jul 2013 16:15:22 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6JGFMaI034789; Fri, 19 Jul 2013 16:15:22 GMT (envelope-from nobody) Message-Id: <201307191615.r6JGFMaI034789@oldred.freebsd.org> Date: Fri, 19 Jul 2013 16:15:22 GMT From: Yamagi Burmeister To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 16:20:00 -0000 >Number: 180657 >Category: usb >Synopsis: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse >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: Fri Jul 19 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yamagi Burmeister >Release: FreeBSD 9.2-BETA1 r253470 >Organization: >Environment: FreeBSD happy.home.yamagi.org 9.2-BETA1 FreeBSD 9.2-BETA1 #0 r253470M: Fri Jul 19 17:22:08 CEST 2013 root@happy.home.yamagi.org:/usr/obj/usr/src/sys/HAPPY amd64 >Description: The "Filco Majestouch 2" keyboard (this is the version with german layout) is recognized as keyboard and mouse, despite being a normal keyboard without any bells and whistles. As soon as moused(8) opens the corresponding /dev/ums device the keyboard becomes unuseable. The problem can be seen by usbconfig show_ifdrv: ugen3.3: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen3.3.0: ukbd0: ugen3.3.1: ums1: The attached patch solves the problem by adding an UQ_UMS_IGNORE quirk for this keyboard to usb_quirk.ko. I've added a new vendor "FILCO" to usbdevs. It was added at the end of the vendor list cause I was unable to see how that list is sorted. I've also added a new device "MAJESTOUCH2" to the list. A revision range from 0x0000 to 0xffff may be to big. This device has a bcdDevice field of 0x0101. The complete usbconfig dump_device_desc output: ugen3.3: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x04d9 idProduct = 0x1818 bcdDevice = 0x0101 iManufacturer = 0x0000 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 The attached patch is against 9.2-BETA1 r253470. >How-To-Repeat: Attach a "Filco Majestouch 2" to the computer and start moused(8) for the new /dev/ums device. >Fix: Index: usbdevs =================================================================== --- usbdevs (revision 253470) +++ usbdevs (working copy) @@ -762,6 +762,7 @@ vendor HP2 0xf003 Hewlett Packard vendor LOGILINK 0xfc08 LogiLink vendor USRP 0xfffe GNU Radio USRP +vendor FILCO 0x04d9 Filco /* * List of known products. Grouped by vendor. @@ -1694,6 +1695,9 @@ /* FIC / OpenMoko */ product FIC NEO1973_DEBUG 0x5118 FTDI compatible adapter +/* Filco */ +product FILCO MAJESTOUCH2 0x1818 Majestouch-2 Keyboard + /* Fossil, Inc products */ product FOSSIL WRISTPDA 0x0002 Wrist PDA Index: quirk/usb_quirk.c =================================================================== --- quirk/usb_quirk.c (revision 253470) +++ quirk/usb_quirk.c (working copy) @@ -128,6 +128,8 @@ USB_QUIRK(MICROSOFT, WLINTELLIMOUSE, 0x0000, 0xffff, UQ_MS_LEADING_BYTE), /* Quirk for Corsair Vengeance K60 keyboard */ USB_QUIRK(CORSAIR, K60, 0x0000, 0xffff, UQ_KBD_BOOTPROTO), + /* Filco Majestouch 2 is sometimes detected as mouse and keyboard */ + USB_QUIRK(FILCO, MAJESTOUCH2, 0x0000, 0xffff, UQ_UMS_IGNORE), /* umodem(4) device quirks */ USB_QUIRK(METRICOM, RICOCHET_GS, 0x100, 0x100, UQ_ASSUME_CM_OVER_DATA), USB_QUIRK(SANYO, SCP4900, 0x000, 0x000, UQ_ASSUME_CM_OVER_DATA), >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Jul 20 07:10:03 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46CCAD1C for ; Sat, 20 Jul 2013 07:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 208E8791 for ; Sat, 20 Jul 2013 07:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6K7A2li055537 for ; Sat, 20 Jul 2013 07:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6K7A2uK055536; Sat, 20 Jul 2013 07:10:02 GMT (envelope-from gnats) Date: Sat, 20 Jul 2013 07:10:02 GMT Message-Id: <201307200710.r6K7A2uK055536@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Alexander Panyushkin Subject: Re: usb/179109: After detach USB Flash a keyboard does not work. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alexander Panyushkin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 07:10:03 -0000 The following reply was made to PR usb/179109; it has been noted by GNATS. From: Alexander Panyushkin To: bug-followup@FreeBSD.org, vsityz@gmail.com Cc: Subject: Re: usb/179109: After detach USB Flash a keyboard does not work. Date: Sat, 20 Jul 2013 10:01:46 +0300 Fix --- Remove device kbdmux (# keyboard multiplexer) in kernel config. After detach USB Flash drive a keyboard work fine.