From owner-freebsd-usb@FreeBSD.ORG Sun Jun 21 09:58:07 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DBC1106566C; Sun, 21 Jun 2009 09:58:07 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 639BF8FC15; Sun, 21 Jun 2009 09:58:07 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5L9w7gT016858; Sun, 21 Jun 2009 09:58:07 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5L9w7Vk016854; Sun, 21 Jun 2009 09:58:07 GMT (envelope-from remko) Date: Sun, 21 Jun 2009 09:58:07 GMT Message-Id: <200906210958.n5L9w7Vk016854@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-usb@FreeBSD.org, remko@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/135628: [umass] [patch] add a device quirk for Myson Heden 8813 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2009 09:58:07 -0000 Synopsis: [umass] [patch] add a device quirk for Myson Heden 8813 Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Sun Jun 21 09:58:06 UTC 2009 Responsible-Changed-Why: I already prepared a patch for usbdevs and umass.c (8813 is not yet known). This will soak in head first and then it will be MFC'ed at some point. http://www.freebsd.org/cgi/query-pr.cgi?pr=135628 From owner-freebsd-usb@FreeBSD.ORG Sun Jun 21 11:53:36 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15737106566C for ; Sun, 21 Jun 2009 11:53:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 75A7A8FC16 for ; Sun, 21 Jun 2009 11:53:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=APLhgbuM1ckA:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=6I5d2MoRAAAA:8 a=yVVaQo3gKPaDw4bRSLYA:9 a=ydVX3Smpp0XSRZBajhc7K8bQmiYA:4 a=SV7veod9ZcQA:10 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 209036115; Sun, 21 Jun 2009 13:53:33 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 21 Jun 2009 13:57:57 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906210958.n5L9w7Vk016854@freefall.freebsd.org> In-Reply-To: <200906210958.n5L9w7Vk016854@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906211357.58405.hselasky@c2i.net> Cc: remko@freebsd.org Subject: Re: kern/135628: [umass] [patch] add a device quirk for Myson Heden 8813 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2009 11:53:36 -0000 On Sunday 21 June 2009 11:58:07 remko@freebsd.org wrote: > Synopsis: [umass] [patch] add a device quirk for Myson Heden 8813 > > Responsible-Changed-From-To: freebsd-usb->remko > Responsible-Changed-By: remko > Responsible-Changed-When: Sun Jun 21 09:58:06 UTC 2009 > Responsible-Changed-Why: > I already prepared a patch for usbdevs and umass.c (8813 is not yet > known). This will soak in head first and then it will be MFC'ed at some > point. For 8-current use: UMASS_PROTO_DEFAULT. We don't want to hardcode the protocol to a VID+PID series. s/UMASS_PROTO_SCSI | UMASS_PROTO_BBB/UMASS_PROTO_DEFAULT/g --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 22 11:07:06 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8711065674 for ; Mon, 22 Jun 2009 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 17D1F8FC25 for ; Mon, 22 Jun 2009 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5MB76U0018226 for ; Mon, 22 Jun 2009 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5MB75ox018220 for freebsd-usb@FreeBSD.org; Mon, 22 Jun 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Jun 2009 11:07:05 GMT Message-Id: <200906221107.n5MB75ox018220@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/135857 usb RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135372 usb Quirk report for Teclast TL-C300 usb media player o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134476 usb [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx 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/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt f usb/133545 usb [usb] [panic] Kernel crash in usb2_intr_schedule_adjus 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 p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum 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/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co 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 f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c f 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/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G 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/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround 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 [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107388 usb [new driver] [patch] add utoppy device from NetBSD o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb [usb] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu 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 o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity 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 322 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jun 22 11:55:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94657106566C for ; Mon, 22 Jun 2009 11:55:51 +0000 (UTC) (envelope-from dlangille@myyearbook.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 426FC8FC17 for ; Mon, 22 Jun 2009 11:55:51 +0000 (UTC) (envelope-from dlangille@myyearbook.com) Received: by yxe38 with SMTP id 38so1902832yxe.3 for ; Mon, 22 Jun 2009 04:55:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.96.4 with SMTP id t4mr7976449anb.170.1245671750633; Mon, 22 Jun 2009 04:55:50 -0700 (PDT) In-Reply-To: <6dd019370906101118k6c26ccat5596dbe1ba03ebe5@mail.gmail.com> References: <6dd019370906101118k6c26ccat5596dbe1ba03ebe5@mail.gmail.com> Date: Mon, 22 Jun 2009 07:55:50 -0400 Message-ID: <6dd019370906220455m6414cdd5j9e941cca4f8786c6@mail.gmail.com> From: Dan Langille To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: MS USB mouse does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 11:55:51 -0000 bump On Wed, Jun 10, 2009 at 2:18 PM, Dan Langille wro= te: > I'm running FreeBSD 7.2-STABLE from Tue May 26. > > I have an MS keyboard and mouse, both of which are wireless and > operate through the same USB transceiver. =A0The keyboard works. =A0The > mouse does not. > > From /var/run/dmesg.boot: > > ukbd0: rev 2.00/2.50, addr 3> on uhub7 > kbd2 at ukbd0 > uhid0: rev 2.00/2.50, addr 3> on uhub7 > > I see nothing related to the mouse. =A0Any ideas. =A0It's a really nice > mouse, otherwise. =A0;) > > Is there anything I can run to gather more information? > > Copyright (c) 1992-2009 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > =A0 =A0 =A0 =A0The Regents of the University of California. All rights re= served. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.2-STABLE #0: Tue May 26 14:09:07 EDT 2009 > =A0 =A0dan@my.example.com:/usr/obj/usr/src/sys/DTM > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 Duo CPU =A0 =A0 E8400 =A0@ 3.00GHz (2992.14-MHz K= 8-class CPU) > =A0Origin =3D "GenuineIntel" =A0Id =3D 0x1067a =A0Stepping =3D 10 > =A0Features=3D0xbfebfbff > =A0Features2=3D0x408e3fd,XSAVE> > =A0AMD Features=3D0x20100800 > =A0AMD Features2=3D0x1 > =A0Cores per package: 2 > usable memory =3D 2097774592 (2000 MB) > avail memory =A0=3D 2022559744 (1928 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > =A0cpu0 (BSP): APIC ID: =A00 > =A0cpu1 (AP): APIC ID: =A01 > ioapic0: Changing APIC ID to 8 > ioapic0 irqs 0-23 on motherboard > lapic0: Forcing LINT1 to edge trigger > kbd1 at kbdmux0 > kqemu version 0x00010300 > kqemu: KQEMU installed, max_locked_mem=3D1024304kB. > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on a= cpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0xdc00-0xdcff mem > 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on > pci1 > pci0: at device 3.0 (no driver attached) > atapci0: port > 0xfe80-0xfe87,0xfe90-0xfe93,0xfea0-0xfea7,0xfeb0-0xfeb3,0xfef0-0xfeff > irq 18 at device 3.2 on pci0 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > pci0: at device 3.3 (no driver attached) > em0: port 0xecc0-0xecdf > mem 0xfebe0000-0xfebfffff,0xfebdb000-0xfebdbfff irq 21 at device 25.0 > on pci0 > em0: Using MSI interrupt > em0: [FILTER] > em0: Ethernet address: 00:23:ae:78:ae:a8 > uhci0: port 0xff20-0xff3f irq 16 at > device 26.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xff00-0xff1f irq 17 at > device 26.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > ehci0: mem 0xfebd9c00-0xfebd9fff > irq 22 at device 26.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb2: EHCI version 1.0 > usb2: wrong number of companions (3 !=3D 2) > usb2: companion controllers, 2 ports each: usb0 usb1 > usb2: on ehci0 > usb2: USB revision 2.0 > uhub2: on usb2 > uhub2: 6 ports with 6 removable, self powered > hdac0: mem > 0xfebdc000-0xfebdffff irq 16 at device 27.0 on pci0 > hdac0: HDA Driver Revision: 20090329_0131 > hdac0: [ITHREAD] > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > uhci2: port 0xff80-0xff9f irq 23 at > device 29.0 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb3: on uhci2 > usb3: USB revision 1.0 > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > uhci3: port 0xff60-0xff7f irq 17 at > device 29.1 on pci0 > uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > usb4: on uhci3 > usb4: USB revision 1.0 > uhub4: on usb4 > uhub4: 2 ports with 2 removable, self powered > uhci4: port 0xff40-0xff5f irq 18 at > device 29.2 on pci0 > uhci4: [GIANT-LOCKED] > uhci4: [ITHREAD] > usb5: on uhci4 > usb5: USB revision 1.0 > uhub5: on usb5 > uhub5: 2 ports with 2 removable, self powered > ehci1: mem 0xff980800-0xff980bff > irq 23 at device 29.7 on pci0 > ehci1: [GIANT-LOCKED] > ehci1: [ITHREAD] > usb6: EHCI version 1.0 > usb6: companion controllers, 2 ports each: usb3 usb4 usb5 > usb6: on ehci1 > usb6: USB revision 2.0 > uhub6: on usb6 > uhub6: 6 ports with 6 removable, self powered > uhub7: o= n uhub6 > uhub7: multiple transaction translators > uhub7: 4 ports with 4 removable, self powered > ukbd0: rev 2.00/2.50, addr 3> on uhub7 > kbd2 at ukbd0 > uhid0: rev 2.00/2.50, addr 3> on uhub7 > pcib3: at device 30.0 on pci0 > pci3: on pcib3 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port > 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf > mem 0xff970000-0xff9707ff irq 18 at device 31.2 on pci0 > atapci1: [ITHREAD] > atapci1: AHCI called from vendor specific driver > atapci1: AHCI Version 01.20 controller with 6 ports detected > ata4: on atapci1 > ata4: [ITHREAD] > ata5: on atapci1 > ata5: [ITHREAD] > ata6: on atapci1 > ata6: [ITHREAD] > ata7: on atapci1 > ata7: [ITHREAD] > ata8: on atapci1 > ata8: port not implemented > ata8: [ITHREAD] > ata9: on atapci1 > ata9: [ITHREAD] > pci0: at device 31.3 (no driver attached) > ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > ppbus0: [ITHREAD] > plip0: on ppbus0 > plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ppc0: [GIANT-LOCKED] > ppc0: [ITHREAD] > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on a= cpi0 > sio0: type 16550A > sio0: [FILTER] > cpu0: on acpi0 > est0: on cpu0 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > p4tcc1: on cpu1 > orm0: at iomem > 0xc0000-0xcefff,0xcf000-0xd0fff,0xd1000-0xd37ff,0xd3800-0xd3fff on > isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ukbd1: on uhub= 4 > kbd3 at ukbd1 > Timecounters tick every 1.000 msec > ad8: 152587MB at ata4-master SATA300 > acd0: DVDROM at ata5-master SATA150 > ad14: 152587MB at ata7-master SATA300 > ad18: 152587MB at ata9-master SATA300 > hdac0: HDA Codec #0: Analog Devices AD1984 > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > lapic1: Forcing LINT1 to edge trigger > SMP: AP CPU #1 Launched! > GEOM_MIRROR: Device mirror/gm0 launched (2/2). > GEOM_LABEL: Label for provider ad18s1 is msdosfs/DellUtility. > GEOM_LABEL: Label for provider ad18s2 is ntfs/OS. > GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/49db8904c3603ff2. > GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/49db890b18be1fd1. > GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/49db89049055faa1. > GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/49db8904754be6b8. > Trying to mount root from ufs:/dev/mirror/gm0s1a > GEOM_LABEL: Label ufsid/49db8904c3603ff2 removed. > GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/49db8904c3603ff2. > GEOM_LABEL: Label ufsid/49db89049055faa1 removed. > GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/49db89049055faa1. > GEOM_LABEL: Label ufsid/49db8904754be6b8 removed. > GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/49db8904754be6b8. > GEOM_LABEL: Label ufsid/49db890b18be1fd1 removed. > GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/49db890b18be1fd1. > GEOM_LABEL: Label ufsid/49db8904c3603ff2 removed. > GEOM_LABEL: Label ufsid/49db89049055faa1 removed. > GEOM_LABEL: Label ufsid/49db8904754be6b8 removed. > GEOM_LABEL: Label ufsid/49db890b18be1fd1 removed. > > -- > Dan Langille > myYearbook.com > --=20 Dan Langille myYearbook.com From owner-freebsd-usb@FreeBSD.ORG Mon Jun 22 22:20:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 482881065678 for ; Mon, 22 Jun 2009 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 232D08FC15 for ; Mon, 22 Jun 2009 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5MMK164042120 for ; Mon, 22 Jun 2009 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5MMK15x042119; Mon, 22 Jun 2009 22:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 22 Jun 2009 22:20:01 GMT Resent-Message-Id: <200906222220.n5MMK15x042119@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, Brett Wynkoop Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83E5F1065670 for ; Mon, 22 Jun 2009 22:15:24 +0000 (UTC) (envelope-from wynkoop@io.wynn.com) Received: from io.wynn.com (io.wynn.com [199.89.147.103]) by mx1.freebsd.org (Postfix) with ESMTP id 542228FC1D for ; Mon, 22 Jun 2009 22:15:23 +0000 (UTC) (envelope-from wynkoop@io.wynn.com) Received: from io.wynn.com (localhost [127.0.0.1]) by io.wynn.com (8.14.3/8.14.3) with ESMTP id n5MLkXC6052173 for ; Mon, 22 Jun 2009 17:46:35 -0400 (EDT) (envelope-from wynkoop@io.wynn.com) Received: (from wynkoop@localhost) by io.wynn.com (8.14.3/8.14.3/Submit) id n5MLkW2B052170; Mon, 22 Jun 2009 17:46:33 -0400 (EDT) (envelope-from wynkoop) Message-Id: <200906222146.n5MLkW2B052170@io.wynn.com> Date: Mon, 22 Jun 2009 17:46:33 -0400 (EDT) From: Brett Wynkoop To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/135938: aue driver only passes traffic in promisc mode X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brett Wynkoop List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 22:20:02 -0000 >Number: 135938 >Category: usb >Synopsis: aue driver only passes traffic in promisc mode >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 22 22:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Brett Wynkoop >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD io.wynn.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 i586 200 Mhz, 7.2-RELEASE >Description: aue driver will only talk to other systems on the network if the interface is set to promisc with ifconfig. When set to promisc while network communications is possible it is slow. Ping times to a any system on the same HUB are in the order of 25 ms while ping times ping times between other hosts are in the order of 5 ms. This was tested with 2 different known working aue devices, both of which worked correctly on Linux systems with 2.4 and 2.6 kernels. Things also worked fine with a 2.4 linux kernel installed on the same hardware that has the 7.2-RELEASE on it. >How-To-Repeat: Install an aue based usb device as your network interface. >Fix: No idea! >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jun 23 08:54:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8E0A1065673; Tue, 23 Jun 2009 08:54:52 +0000 (UTC) (envelope-from kosmo@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 69A7E8FC1D; Tue, 23 Jun 2009 08:54:52 +0000 (UTC) (envelope-from kosmo@semihalf.com) Received: from [10.0.0.5] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 63378C3BBC; Tue, 23 Jun 2009 10:34:14 +0200 (CEST) From: Piotr =?iso-8859-2?q?Zi=EAcik?= Organization: Semihalf To: Hans Petter Selasky Date: Tue, 23 Jun 2009 10:35:42 +0200 User-Agent: PLD Linux KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200906231035.43096.kosmo@semihalf.com> X-UID: 355 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Cc: Rafal Jaworowski , thompsa@FreeBSD.org, freebsd-usb@freebsd.org Subject: CPU Cache and busdma usage in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 08:54:53 -0000 While bringing up EHCI (8-CURRENT, new USB stack) on ARM machine we have found cache-related problem in the USB stack. The usb_pc_cpu_flush() and usb_pc_cpu_invalidate() functions are used to flush/invalidate CPU caches in various places in USB code. Internally, the functions are implemented using bus_dmamap_sync(). In our case, on ARM machine, flags passed to the bus_dmamap_sync() function did not correspond with requested operation. We have fixed the problem by changing flags passed to the bus_dmamap_sync() function (see attached patch). My question is about general idea of bus_dma usage for cache operations. In my opinion we should not rely on bus_dmamap_sync() behaviour as this function may do different things on different architectures. This not always works as expected, which is clearly visible in our case. Better solution is to use cpu-specific functions implementing cache operations. Please comment on why CPU-specific functions are not used... Patch fixing our problem: diff --git a/sys/dev/usb/usb_busdma.c b/sys/dev/usb/usb_busdma.c index 3d6a5be..69a6fff 100644 --- a/sys/dev/usb/usb_busdma.c +++ b/sys/dev/usb/usb_busdma.c @@ -658,8 +658,7 @@ usb_pc_cpu_invalidate(struct usb_page_cache *pc) /* nothing has been loaded into this page cache! */ return; } - bus_dmamap_sync(pc->tag, pc->map, - BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREREAD); } /*------------------------------------------------------------------------* @@ -672,8 +671,7 @@ usb_pc_cpu_flush(struct usb_page_cache *pc) /* nothing has been loaded into this page cache! */ return; } - bus_dmamap_sync(pc->tag, pc->map, - BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREWRITE); } /*------------------------------------------------------------------------* -- Best regards. Piotr Ziecik From owner-freebsd-usb@FreeBSD.ORG Tue Jun 23 09:43:29 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E6A1065672; Tue, 23 Jun 2009 09:43:29 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by mx1.freebsd.org (Postfix) with ESMTP id 647EE8FC12; Tue, 23 Jun 2009 09:43:28 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by fxm17 with SMTP id 17so1344356fxm.43 for ; Tue, 23 Jun 2009 02:43:27 -0700 (PDT) Received: by 10.204.65.65 with SMTP id h1mr7071712bki.18.1245748292044; Tue, 23 Jun 2009 02:11:32 -0700 (PDT) Received: from terran.mk.farlep.net (i183-101-19-89.vpdn.way.kv.chereda.net [89.19.101.183]) by mx.google.com with ESMTPS id 19sm14290802fkr.25.2009.06.23.02.11.30 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Jun 2009 02:11:31 -0700 (PDT) Sender: Alex RAY Date: Tue, 23 Jun 2009 12:11:29 +0300 From: Alexandr Rybalko To: Piotr =?UTF-8?B?WmnEmWNpaw==?= Message-Id: <20090623121129.d18492a3.ray@dlink.ua> In-Reply-To: <200906231035.43096.kosmo@semihalf.com> References: <200906231035.43096.kosmo@semihalf.com> Organization: D-Link X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Rafal Jaworowski , freebsd-usb@freebsd.org, thompsa@FreeBSD.org Subject: Re: CPU Cache and busdma usage in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 09:43:29 -0000 On Tue, 23 Jun 2009 10:35:42 +0200 Piotr Zięcik wrote: >> While bringing up EHCI (8-CURRENT, new USB stack) on ARM machine we have >> found cache-related problem in the USB stack. >> >> The usb_pc_cpu_flush() and usb_pc_cpu_invalidate() functions are used to >> flush/invalidate CPU caches in various places in USB code. Internally, the >> functions are implemented using bus_dmamap_sync(). In our case, on ARM >> machine, flags passed to the bus_dmamap_sync() function did not >> correspond with requested operation. We have fixed the problem by changing >> flags passed to the bus_dmamap_sync() function (see attached patch). >> >> My question is about general idea of bus_dma usage for cache operations. In my >> opinion we should not rely on bus_dmamap_sync() behaviour as this function >> may do different things on different architectures. This not always works as >> expected, which is clearly visible in our case. Better solution is to use >> cpu-specific functions implementing cache operations. Please comment on why >> CPU-specific functions are not used... >> >> Patch fixing our problem: >> diff --git a/sys/dev/usb/usb_busdma.c b/sys/dev/usb/usb_busdma.c >> index 3d6a5be..69a6fff 100644 >> --- a/sys/dev/usb/usb_busdma.c >> +++ b/sys/dev/usb/usb_busdma.c >> @@ -658,8 +658,7 @@ usb_pc_cpu_invalidate(struct usb_page_cache *pc) >> /* nothing has been loaded into this page cache! */ >> return; >> } >> - bus_dmamap_sync(pc->tag, pc->map, >> - BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); >> + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREREAD); >> } >> >> /*------------------------------------------------------------------------* >> @@ -672,8 +671,7 @@ usb_pc_cpu_flush(struct usb_page_cache *pc) >> /* nothing has been loaded into this page cache! */ >> return; >> } >> - bus_dmamap_sync(pc->tag, pc->map, >> - BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); >> + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREWRITE); >> } >> >> /*------------------------------------------------------------------------* >> >> -- >> Best regards. >> Piotr Ziecik >> _______________________________________________ >> 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" Great thanks Piotr! I work on MIPS BCM5354 and BCM5836 and after apply your patch USB work correct. -- Alexandr Rybalko From owner-freebsd-usb@FreeBSD.ORG Tue Jun 23 17:12:55 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E43B1065694; Tue, 23 Jun 2009 17:12:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id EDCAF8FC21; Tue, 23 Jun 2009 17:12:54 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Hrwt8fWgTlIA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=oCJs8q-oAAAA:8 a=kdlGoFePcdDG4S50R14A:9 a=cV4sW9QyIsatbICQGa0QX_2l6coA:4 a=jj60i5uE5qAA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 522637706; Tue, 23 Jun 2009 19:12:53 +0200 From: Hans Petter Selasky To: Alexandr Rybalko Date: Tue, 23 Jun 2009 19:12:19 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906231035.43096.kosmo@semihalf.com> <20090623121129.d18492a3.ray@dlink.ua> In-Reply-To: <20090623121129.d18492a3.ray@dlink.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906231912.20741.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org, Rafal Jaworowski , thompsa@freebsd.org Subject: Re: CPU Cache and busdma usage in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 17:12:56 -0000 On Tuesday 23 June 2009 11:11:29 Alexandr Rybalko wrote: > On Tue, 23 Jun 2009 10:35:42 +0200 > > Piotr Zi=C4=99cik wrote: > >> While bringing up EHCI (8-CURRENT, new USB stack) on ARM machine we > >> have found cache-related problem in the USB stack. > >> > >> The usb_pc_cpu_flush() and usb_pc_cpu_invalidate() functions are used = to > >> flush/invalidate CPU caches in various places in USB code. Internally, > >> the functions are implemented using bus_dmamap_sync(). In our case, on > >> ARM machine, flags passed to the bus_dmamap_sync() function did not > >> correspond with requested operation. We have fixed the problem by > >> changing flags passed to the bus_dmamap_sync() function (see attached > >> patch). > >> > >> My question is about general idea of bus_dma usage for cache operation= s. > >> In my opinion we should not rely on bus_dmamap_sync() behaviour as this > >> function may do different things on different architectures. This not > >> always works as expected, which is clearly visible in our case. Better > >> solution is to use cpu-specific functions implementing cache operation= s. > >> Please comment on why CPU-specific functions are not used... > >> > >> Patch fixing our problem: > >> diff --git a/sys/dev/usb/usb_busdma.c b/sys/dev/usb/usb_busdma.c > >> index 3d6a5be..69a6fff 100644 > >> --- a/sys/dev/usb/usb_busdma.c > >> +++ b/sys/dev/usb/usb_busdma.c > >> @@ -658,8 +658,7 @@ usb_pc_cpu_invalidate(struct usb_page_cache *pc) > >> /* nothing has been loaded into this page cache! */ > >> return; > >> } > >> - bus_dmamap_sync(pc->tag, pc->map, > >> - BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); > >> + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREREAD); > >> } > >> > >>=20 > >> /*--------------------------------------------------------------------= =2D- > >>--* @@ -672,8 +671,7 @@ usb_pc_cpu_flush(struct usb_page_cache *pc) /* > >> nothing has been loaded into this page cache! */ return; > >> } > >> - bus_dmamap_sync(pc->tag, pc->map, > >> - BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); > >> + bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREWRITE); > >> } > >> > >>=20 > >> /*--------------------------------------------------------------------= =2D- > >>--* > >> > > Great thanks Piotr! > I work on MIPS BCM5354 and BCM5836 and after apply your patch USB work > correct. We are currently investigating if your patch is correct. Thanks for your pa= tch=20 suggestion! BTW: Have you tried out the new device side mode support in the FreeBSD 8- current USB stack? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jun 23 18:07:50 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B81831065675; Tue, 23 Jun 2009 18:07:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 639DA8FC13; Tue, 23 Jun 2009 18:07:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n5NHwE62004844; Tue, 23 Jun 2009 11:58:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 23 Jun 2009 11:58:41 -0600 (MDT) Message-Id: <20090623.115841.-1189452766.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200906231912.20741.hselasky@c2i.net> References: <200906231035.43096.kosmo@semihalf.com> <20090623121129.d18492a3.ray@dlink.ua> <200906231912.20741.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: base64 Cc: raj@semihalf.com, thompsa@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: CPU Cache and busdma usage in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2009 18:07:51 -0000 SW4gbWVzc2FnZTogPDIwMDkwNjIzMTkxMi4yMDc0MS5oc2VsYXNreUBjMmkubmV0Pg0KICAgICAg ICAgICAgSGFucyBQZXR0ZXIgU2VsYXNreSA8aHNlbGFza3lAYzJpLm5ldD4gd3JpdGVzOg0KOiBP biBUdWVzZGF5IDIzIEp1bmUgMjAwOSAxMToxMToyOSBBbGV4YW5kciBSeWJhbGtvIHdyb3RlOg0K OiA+IE9uIFR1ZSwgMjMgSnVuIDIwMDkgMTA6MzU6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freebsd-usb@FreeBSD.ORG Wed Jun 24 07:15:39 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B25106564A; Wed, 24 Jun 2009 07:15:39 +0000 (UTC) (envelope-from kosmo@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 26E648FC1E; Wed, 24 Jun 2009 07:15:38 +0000 (UTC) (envelope-from kosmo@semihalf.com) Received: from [10.0.0.5] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 61F45C3BBC; Wed, 24 Jun 2009 09:14:10 +0200 (CEST) From: Piotr =?iso-8859-2?q?Zi=EAcik?= Organization: Semihalf To: freebsd-usb@freebsd.org Date: Wed, 24 Jun 2009 09:15:35 +0200 User-Agent: PLD Linux KMail/1.9.10 References: <200906231035.43096.kosmo@semihalf.com> <200906231912.20741.hselasky@c2i.net> <20090623.115841.-1189452766.imp@bsdimp.com> In-Reply-To: <20090623.115841.-1189452766.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906240915.36331.kosmo@semihalf.com> Cc: raj@semihalf.com, thompsa@freebsd.org Subject: Re: CPU Cache and busdma usage in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 07:15:39 -0000 > : > >> My question is about general idea of bus_dma usage for cache > : > >> operations. In my opinion we should not rely on bus_dmamap_sync() > : > >> behaviour as this function may do different things on different > : > >> architectures. This not always works as expected, which is clearly > : > >> visible in our case. Better solution is to use cpu-specific > : > >> functions implementing cache operations. Please comment on why > : > >> CPU-specific functions are not used... > > I think because busdma is supposed to abstract this out. The problem > is that the usb code chose different terms to represent these > operations than is typically used. I don't think so. Bus_dmamap_sync() works in per-transfer basics. It does=20 synchronization which is required _before_ and _after_ DMA transfer. We do= =20 not know and do not want to know any details about the synchronization - th= is=20 is main idea of bus_dma subsystem. Of course, in most cases cache flush/invalidate will be preformed, but in w= e=20 do not know that without looking into bus_dma implementation on given=20 architecture. In my opinion main problem here is that bus_dmamap_sync() is not used in per-transfer basics. It is used to abstact cache operations - which is a bi= t=20 different thing. =2D-=20 Pozdrawiam. Piotr Zi=EAcik From owner-freebsd-usb@FreeBSD.ORG Thu Jun 25 13:40:27 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 912F3106564A for ; Thu, 25 Jun 2009 13:40:27 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from baranao.anywi.com (baranao.anywi.com [213.207.101.176]) by mx1.freebsd.org (Postfix) with ESMTP id 53FA28FC0C for ; Thu, 25 Jun 2009 13:40:27 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hind.van-laarhoven.org (ip51cfcfde.direct-adsl.nl [81.207.207.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by baranao.anywi.com (Postfix) with ESMTPSA id 590243F41C for ; Thu, 25 Jun 2009 15:24:09 +0200 (CEST) From: Nick Hibma To: FreeBSD USB Mailing List Date: Thu, 25 Jun 2009 15:24:02 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906251524.04072.nick@van-laarhoven.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on baranao.anywi.com Subject: Device reset X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 13:40:27 -0000 HPS, In FBSD7 I committed an ioctl on the ugen.c (some time ago) that allowed for resetting the device. Not a port on the device, but the device itself. This was a function that was unimplemented in libusb1 up to then. For example some Atmel devices need a reset after you uploaded the firmware. I cannot seem to find this functionality in usb_ioctl.h in teh FBSD8 USB stack. Another use for this feature is to be able to reset a device into a known state, like the 3G dongles that freeze. Power-cycling them is the short way out of the situation. Cheers, Nick From owner-freebsd-usb@FreeBSD.ORG Thu Jun 25 13:57:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BDAC106567A for ; Thu, 25 Jun 2009 13:57:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9FB378FC12 for ; Thu, 25 Jun 2009 13:57:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=gg2W7PyvkLb8p4ie143lBA==:17 a=J6Ta7pa4JPNsCpb0qvgA:9 a=vMGBwwCQp3rqFxnyaAsq6CWDGEMA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1271308816; Thu, 25 Jun 2009 15:57:50 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 25 Jun 2009 15:57:14 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906251524.04072.nick@van-laarhoven.org> In-Reply-To: <200906251524.04072.nick@van-laarhoven.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906251557.17973.hselasky@c2i.net> Cc: Subject: Re: Device reset X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 13:57:52 -0000 On Thursday 25 June 2009 15:24:02 Nick Hibma wrote: > HPS, > > In FBSD7 I committed an ioctl on the ugen.c (some time ago) that allowed > for resetting the device. Not a port on the device, but the device itself. > This was a function that was unimplemented in libusb1 up to then. For > example some Atmel devices need a reset after you uploaded the firmware. > > I cannot seem to find this functionality in usb_ioctl.h in teh FBSD8 USB > stack. > > Another use for this feature is to be able to reset a device into a known > state, like the 3G dongles that freeze. Power-cycling them is the short way > out of the situation. > > Cheers, Hi Nick, It's still there: See "USB_DEVICEENUMERATE()". Supported by by libusb and libsub20. Also see: usbconfig -u X -a Y reset --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jun 25 21:47:54 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BD8D106571A for ; Thu, 25 Jun 2009 21:47:53 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from baranao.anywi.com (baranao.anywi.com [213.207.101.176]) by mx1.freebsd.org (Postfix) with ESMTP id AB2D58FC13 for ; Thu, 25 Jun 2009 21:47:52 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hind.van-laarhoven.org (ip51cfcfde.direct-adsl.nl [81.207.207.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by baranao.anywi.com (Postfix) with ESMTPSA id F1EA23F41F; Thu, 25 Jun 2009 23:47:47 +0200 (CEST) From: Nick Hibma To: Hans Petter Selasky Date: Thu, 25 Jun 2009 23:47:47 +0200 User-Agent: KMail/1.9.10 References: <200906251524.04072.nick@van-laarhoven.org> <200906251557.17973.hselasky@c2i.net> In-Reply-To: <200906251557.17973.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906252347.47365.nick@van-laarhoven.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on baranao.anywi.com Cc: freebsd-usb@freebsd.org Subject: Re: Device reset X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 21:47:55 -0000 Hm, ik DEVICEENUMERATE wasn't in my search. Thanks. Nick > On Thursday 25 June 2009 15:24:02 Nick Hibma wrote: > > HPS, > > > > In FBSD7 I committed an ioctl on the ugen.c (some time ago) that > > allowed for resetting the device. Not a port on the device, but the > > device itself. This was a function that was unimplemented in libusb1 up > > to then. For example some Atmel devices need a reset after you uploaded > > the firmware. > > > > I cannot seem to find this functionality in usb_ioctl.h in teh FBSD8 > > USB stack. > > > > Another use for this feature is to be able to reset a device into a > > known state, like the 3G dongles that freeze. Power-cycling them is the > > short way out of the situation. > > > > Cheers, > > Hi Nick, > > It's still there: > > See "USB_DEVICEENUMERATE()". Supported by by libusb and libsub20. > > Also see: > > usbconfig -u X -a Y reset > > --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jun 26 19:32:55 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B77031065675; Fri, 26 Jun 2009 19:32:55 +0000 (UTC) (envelope-from christoph@rosenkeller.org) Received: from rosenkeller.org (fry.rose.uni-jena.de [141.35.60.60]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5EC8FC15; Fri, 26 Jun 2009 19:32:55 +0000 (UTC) (envelope-from christoph@rosenkeller.org) Received: by rosenkeller.org (Postfix, from userid 65534) id 7CBD3264211; Fri, 26 Jun 2009 21:32:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by rosenkeller.org (Postfix) with ESMTP id 633F3264211; Fri, 26 Jun 2009 21:32:48 +0200 (CEST) Received: from rosenkeller.org ([127.0.0.1]) by localhost (fry.localnet.rose [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12716-09; Fri, 26 Jun 2009 21:32:36 +0200 (CEST) Received: from [192.168.0.2] (cable-static-237-100.teleport.ch [213.188.237.100]) by rosenkeller.org (Postfix) with ESMTPSA id CAE7526420F; Fri, 26 Jun 2009 21:32:32 +0200 (CEST) Message-ID: <4A45225B.1010503@rosenkeller.org> Date: Fri, 26 Jun 2009 21:32:43 +0200 From: Christoph Langguth User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <4A0DC89C.6010708@rosenkeller.org> <200905162158.22210.hselasky@c2i.net> <4A0F25C5.9020706@rosenkeller.org> <200906020937.20466.hselasky@c2i.net> In-Reply-To: <200906020937.20466.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at rosenkeller.org X-Spam-Status: No, score=-4.311 tagged_above=-99 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.088, BAYES_00=-2.599] X-Spam-Score: -4.311 X-Spam-Level: Cc: Rui Paulo Subject: Re: How to add support for Macbook Pro (USB) keyboard? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 19:32:56 -0000 Hans Petter Selasky schrieb: > Hi Christoph! > > Rui Paulo has an additional patch for ukbd.c. Can you look at it and verify? > > --HPS > > > > Here's how it worked: > http://wiki.freebsd.org/AppleMacbook#head-7eab3730c3bf3d04bdfb0d1d3649eaddf2fed595 > > If there's any problem with the userland approach, I would like to know. > If there isn't, please consider removing the kenrel support for the > eject key. > > > I have looked inside this a bit deeper. While the usbhidctl approach doesn't really work for this keyboard at the moment, here are my observations: - the keyboard is only handled by *either* ukbd *or* uhid. In fact, if unpatched, uhid will not even try to consider the device because of the following code inside uhid.c's uhid_probe() function: if (uaa->use_generic == 0) { /* give Mouse and Keyboard drivers a try first */ return (ENXIO); } That means that the keyboard always ends up as device ukbdX, and never as uhidY. Before even trying to get it to work using uhid, I think this is the issue that needs to be sorted out: Can a device be handled by *two* independent drivers at once? - If so, how? - If not, what could a possible solution be? Thanks & cheers, Chris From owner-freebsd-usb@FreeBSD.ORG Sat Jun 27 08:19:26 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F40501065672; Sat, 27 Jun 2009 08:19:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id AC5368FC1D; Sat, 27 Jun 2009 08:19:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=pgm8JvlNwPMA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=r3dW5EJ6X6lgK2pyLTYA:9 a=FhFIHiNjXiG3bqSNoj_m8khf2c0A:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1095637523; Sat, 27 Jun 2009 10:19:22 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Andrew Thompson Date: Sat, 27 Jun 2009 10:11:51 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <49E895CB.2040407@lissyara.su> <20090418023632.GJ13564@dereel.lemis.com> <1e31c7980906262132k7571c4b8ucfde94ec94cb1d8@mail.gmail.com> In-Reply-To: <1e31c7980906262132k7571c4b8ucfde94ec94cb1d8@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906271011.53436.hselasky@c2i.net> Cc: Scott Long , Alex Keda , marcus@blazingdot.com, rbgarga@freebsd.org, Vinicius Abrahao , Greg 'groggy' Lehey Subject: Re: new usb stack - boot problem from usb hdd X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 08:19:26 -0000 On Saturday 27 June 2009 06:32:54 Vinicius Abrahao wrote: > 9) What I'm doing wrong? I don't think this is your fault. My initial patch for this problem had a loop in the mount root code, trying to mount the root device several times. Now several other people did not agree about that, and made the USB enumeration synchronous instead. That does not always work, because USB devices do not always show up immediately when the power is turned on. I would strongly suggest to add a flag to the mount root code in sys/kern/, allowing the mount root code to automatically retry the medium. It is also important that the mountroot code calls pause() and do not spin in a while loop. --HPS