From info at xnets.co.za Mon Sep 1 10:30:06 2008 From: info at xnets.co.za (info@xnets.co.za) Date: Mon Sep 1 10:30:12 2008 Subject: kern/126848: [usb]: USB Keyboard hangs during Installation Message-ID: <200809011030.m81AU6lA064531@freefall.freebsd.org> The following reply was made to PR kern/126848; it has been noted by GNATS. From: To: , Cc: Subject: Re: kern/126848: [usb]: USB Keyboard hangs during Installation Date: Mon, 1 Sep 2008 11:14:09 +0200 This is a multipart message in MIME format. ------=_NextPart_000_002F_01C90C23.E31D32A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I will try that tonight when I get home from work and submit a follow-up with my findings. Thanks. Regards Tarn Alcock Xpress Network Solutions Support Department Email: info@xnets.co.za Skype: xnets_support Office: 0861 XNETS 1 (8am-5pm) After Hours: 083 232 7818 www.xnets.co.za ------=_NextPart_000_002F_01C90C23.E31D32A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I = will try that tonight when I get home from work and submit a follow-up with my = findings. Thanks.

 

Regards



Tarn Alcock




Xpress Network Solutions
Support Department
Email: info@xnets.co.za
Skype: xnets_support
Office: 0861 XNETS 1 (8am-5pm)
After Hours: 083 232 7818
www.xnets.co.za

 

------=_NextPart_000_002F_01C90C23.E31D32A0-- From bugmaster at FreeBSD.org Mon Sep 1 11:07:04 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 1 11:09:21 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200809011107.m81B740Q068605@freefall.freebsd.org> Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd(8) and multi-function devices o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] [hang] mounting write-protected umass device a o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa a usb/79656 usb [ehci] RHSC interrupts lost o usb/79722 usb [ehci] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80829 usb [modules] [panic] possible panic when loading USB-modu o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d f usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 s usb/96120 usb [ums] [request] USB mouse not always detected o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120786 usb Kernel panic when forced umount of a dettached USB Har o usb/121232 usb USB CardBus card removal causes reboot sometimes o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/123690 usb Panic on USB device insertion when usb loaded as a mod o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124758 usb rum panics SMP kernel o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125631 usb [usb][ums] kernel panic during bootup while 'Logitech o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/126519 usb [usb] [panic] panic when plugging in an iphone o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be f kern/126848 usb [usb]: USB Keyboard hangs during Installation 138 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [umass] [request] USB HP CDW8200 does not work s usb/51958 usb [urio] [patch] update for urio driver s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [umass] Slow USB umass performance of 5.3 s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R a usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ s usb/80777 usb [request] usb_rem_task() should wait for callback to c o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/105065 usb [ata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/121169 usb [umass] Issues with usb mp3 player o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/122025 usb [patch] uscanner does not attach to Epson RX620 printe o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122547 usb [ehci] USB Printer not being recognized after reboot p usb/122610 usb Add Verizon v740 support to ubsa(4) o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122819 usb Patch to provide dynamic additions to the usb quirks t o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122956 usb Support for Novatel Wireless XU870 3G Card o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie o usb/123352 usb Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123691 usb usbd(8): usbd hangs o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/124604 usb Wireless Mouse doesn't work o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada o usb/125238 usb Habu Mouse turns off in X o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125510 usb repeated plug and unplug of USB mass storage devices l o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af o usb/126845 usb [usb_quirks] Cyberpower UPS is attached as uhid instea o usb/126884 usb [patch] Bug in buffer handling in ugen.c o usb/126927 usb [zyd] [patch] Support ZyDAS G202 137 problems total. From lme at FreeBSD.org Mon Sep 1 22:07:09 2008 From: lme at FreeBSD.org (Lars Engels) Date: Mon Sep 1 22:07:14 2008 Subject: USB Video class In-Reply-To: <20080819175332.482767np3ciixag4@webmail.leidinger.net> References: <200808191305.m7JD5Tbl007123@brother.ludd.ltu.se> <20080819175332.482767np3ciixag4@webmail.leidinger.net> Message-ID: <20080901220706.GB3961@e.0x20.net> On Tue, Aug 19, 2008 at 05:53:32PM +0200, Alexander Leidinger wrote: > Quoting "Peter B" (from Tue, 19 Aug 2008 15:05:29 +0200 (MEST)): > > > > >Is there any ongoing project towards USB Video class support in FreeBSD ..? > > This is better asked on usb@ (CCed). I'm not aware of such an effort, feel free to start it (you better wait some days until the > new USB stack hits CVS). NetBSD had a Summer of Code project and it seems to be pretty successful: http://netbsd-soc.sourceforge.net/projects/uvc/ Perhaps one can take this as a starting point? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20080901/65879886/attachment.pgp From pb at ludd.ltu.se Mon Sep 1 23:35:17 2008 From: pb at ludd.ltu.se (Peter B) Date: Mon Sep 1 23:35:23 2008 Subject: USB Video class In-Reply-To: <20080901220706.GB3961@e.0x20.net> from "Lars Engels" at Sep 02, 2008 12:07:06 AM Message-ID: <200809012319.m81NJckk006025@brother.ludd.ltu.se> >> > >> >Is there any ongoing project towards USB Video class support in FreeBSD = >=2E.? >>=20 >> This is better asked on usb@ (CCed). I'm not aware of such an effort, fee= >l free to start it (you better wait some days until the=20 >> new USB stack hits CVS). >NetBSD had a Summer of Code project and it seems to be pretty >successful: >http://netbsd-soc.sourceforge.net/projects/uvc/ >Perhaps one can take this as a starting point? When testing. I found it seems to be easier to port the OpenBSD code. I think it's because it's more integrated into the kernel sources. The current status is proper probe, attach, and capability dump. I think I know how to approach the problem better now after messing with code for awhile. (however some other things are using my time atm) From raffaele.delorenzo at libero.it Wed Sep 3 15:46:00 2008 From: raffaele.delorenzo at libero.it (raffaele.delorenzo@libero.it) Date: Wed Sep 3 15:46:12 2008 Subject: Trouble with Memory Card Reader Message-ID: Hi, i'm in trouble with my USB Card Reader... when i plug in any card, FreeBSD generate the follow error: Sep 3 12:05:33 noel kernel: umass0: on uhub5 Sep 3 12:05:33 noel root: Unknown USB device: vendor 0x090c product 0x6000 bus uhub5 Sep 3 12:05:33 noel kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Sep 3 12:05:33 noel kernel: da0: Removable Direct Access SCSI-0 device Sep 3 12:05:33 noel kernel: da0: 40.000MB/s transfers Sep 3 12:05:33 noel kernel: da0: 976MB (1998848 512 byte sectors: 64H 32S/T 976C) Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): Logical block address out of range Sep 3 12:05:34 noel kernel: (da0:umass-sim0:0:0:0): Unretryable error Sep 3 12:05:34 noel kernel: GEOM_LABEL: Label for provider da0 is msdosfs/ . The FreeBSD Version in use is: FreeBSD noel 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #15: Tue Sep 2 11:16:54 CEST 2008 root@noel:/usr/obj/usr/src/sys/GENERIC i386 can you help me? i must set some QUIRKS for this device? Cheers Raffaele From gavin at FreeBSD.org Fri Sep 5 13:13:06 2008 From: gavin at FreeBSD.org (gavin@FreeBSD.org) Date: Fri Sep 5 13:13:12 2008 Subject: usb/126927: [zyd] [patch] Support ZyDAS G202 Message-ID: <200809051313.m85DD5tQ071724@freefall.freebsd.org> Synopsis: [zyd] [patch] Support ZyDAS G202 State-Changed-From-To: open->patched State-Changed-By: gavin State-Changed-When: Fri Sep 5 13:12:15 UTC 2008 State-Changed-Why: Committed to HEAD in SVN r182783. Responsible-Changed-From-To: freebsd-usb->weongyo Responsible-Changed-By: gavin Responsible-Changed-When: Fri Sep 5 13:12:15 UTC 2008 Responsible-Changed-Why: Weongyo committed this http://www.freebsd.org/cgi/query-pr.cgi?pr=126927 From bugmaster at FreeBSD.org Mon Sep 8 02:22:29 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 8 02:24:31 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200809080222.m882MT6Z006851@freefall.freebsd.org> 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/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126845 usb [usb_quirks] Cyberpower UPS is attached as uhid instea o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af 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 [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l 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 Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod 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 Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card 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 Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) 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 [patch] uscanner does not attach to Epson RX620 printe 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] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o 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 Kernel panic when forced umount of a dettached USB Har 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei 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/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 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 o 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 s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um 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/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N 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 HP printer is not detected by kernel when ACPI ena 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] 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] [patch] [request] usbhidctl: add ability t 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 f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on 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 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 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 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 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 a 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 o bin/57255 usb 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 conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 276 problems total. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. r - repocopy The resolution of the problem report is dependent on a repocopy operation within the CVS repository which is awaiting completion. s - suspended The problem is not being worked on, due to lack of information or resources. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned. From remko at FreeBSD.org Mon Sep 8 20:45:51 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Mon Sep 8 20:45:57 2008 Subject: kern/127222: [ohci]: Regression in 7.0 usb storage generic driver Message-ID: <200809082045.m88KjpNq044926@freefall.freebsd.org> Old Synopsis: Regression in 7.0 usb storage generic driver New Synopsis: [ohci]: Regression in 7.0 usb storage generic driver Responsible-Changed-From-To: freebsd-i386->freebsd-usb Responsible-Changed-By: remko Responsible-Changed-When: Mon Sep 8 20:45:25 UTC 2008 Responsible-Changed-Why: This is something USB-ish http://www.freebsd.org/cgi/query-pr.cgi?pr=127222 From wblock at wonkity.com Tue Sep 9 19:33:50 2008 From: wblock at wonkity.com (Warren Block) Date: Tue Sep 9 19:33:56 2008 Subject: usbhidaction with non-HID devices Message-ID: My Epson scanner has one button. I'd like to have that button activate a program. usbhidaction(1) does that for uhid devices. Of course, the scanner is not a HID, and usbhidaction doesn't like non-HID devices: % usbhidaction -v -c usbhid.conf -f uscanner0 usbhidaction: hid_get_report_desc() failed: Operation not supported by device Is there an existing way to do this? If not, is it possible to modify usbhidaction or uscanner to support it? -Warren Block * Rapid City, South Dakota USA From remko at FreeBSD.org Tue Sep 9 20:00:44 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Tue Sep 9 20:00:50 2008 Subject: usb/126845: [usb_quirks] Cyberpower UPS is attached as uhid instead of ugen Message-ID: <200809092000.m89K0hBf005789@freefall.freebsd.org> Synopsis: [usb_quirks] Cyberpower UPS is attached as uhid instead of ugen State-Changed-From-To: open->patched State-Changed-By: remko State-Changed-When: Tue Sep 9 20:00:22 UTC 2008 State-Changed-Why: Patched in current Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Sep 9 20:00:22 UTC 2008 Responsible-Changed-Why: take over the ticket http://www.freebsd.org/cgi/query-pr.cgi?pr=126845 From wblock at wonkity.com Tue Sep 9 23:14:54 2008 From: wblock at wonkity.com (Warren Block) Date: Tue Sep 9 23:15:04 2008 Subject: usbhidaction with non-HID devices In-Reply-To: References: Message-ID: On Tue, 9 Sep 2008, Warren Block wrote: > My Epson scanner has one button. I'd like to have that button activate a > program. usbhidaction(1) does that for uhid devices. > > Of course, the scanner is not a HID, and usbhidaction doesn't like non-HID > devices: > > % usbhidaction -v -c usbhid.conf -f uscanner0 > usbhidaction: hid_get_report_desc() failed: Operation not supported by > device > > Is there an existing way to do this? Responding to my own post: /usr/ports/sysutils/scanbuttond can do this--if you use ugen instead of uscanner. It polls, but the port shows a clever way to set it up so devd starts scanbuttond when the scanner is turned on, and kills it when the scanner is turned off. All of this leads me to ask: Besides a known device name (uscanner), what does uscanner provide that ugen does not? -Warren Block * Rapid City, South Dakota USA From hselasky at c2i.net Thu Sep 11 08:11:35 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 11 08:11:47 2008 Subject: "legacy" usb stack fixes (was: Re: HEADSUP new usb code coming in.) In-Reply-To: <48B3299F.5080101@vwsoft.com> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> Message-ID: <200809111013.23994.hselasky@c2i.net> On Monday 25 August 2008, Volker wrote: > > > Anyway, I've already had those crashes even with the "new" usb stack > (but it doesn't happen everytime - YMMV). > Hi, I also see crashes with my new stuff and the umass driver when the USB device is un-plugged too early. The backtraces I've got so far does not indicate a USB problem, though .... --HPS From rink at FreeBSD.org Thu Sep 11 10:51:07 2008 From: rink at FreeBSD.org (Rink Springer) Date: Thu Sep 11 10:51:19 2008 Subject: "legacy" usb stack fixes (was: Re: HEADSUP new usb code coming in.) In-Reply-To: <200809111013.23994.hselasky@c2i.net> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> Message-ID: <20080911103343.GH1413@rink.nu> On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: > I also see crashes with my new stuff and the umass driver when the USB device > is un-plugged too early. The backtraces I've got so far does not indicate a > USB problem, though .... That is correct, this is a bug in CAM. More specifically, CAM does not handle the removal of busses well. There are two possible options: 1) Obviously, fix CAM to handle this scenarion DragonflyBSD seems to have a lot of fixes in this area, which I intend to take a look at 'some day' (no thanks to $reallife...) 2) Create a CAM bus per USB bus I think this is reasonable, and it makes a lot more sense than the one-bus-per-device approach that we have now. The idea is that every USB controller hub creates a CAM bus, and umass(4) attaches to this bus instead of creating its own. Of course, until CAM is fixed, detaching PCMCIA or equivalent USB cards will still cause panics, but it would be a lot better than it is now... Personally, I'd like to see option 2 implemented in the USB2 stack, as it avoids the issue and makes a lot more sense from user perspective (I'm probably onot the only one who gets scared by 'camcontrol devlist' if you have a single MP3 player which advertises 2 disks :-)) Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From imp at bsdimp.com Thu Sep 11 14:24:22 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Sep 11 14:24:34 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080911103343.GH1413@rink.nu> References: <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> <20080911103343.GH1413@rink.nu> Message-ID: <20080911.082418.775964060.imp@bsdimp.com> In message: <20080911103343.GH1413@rink.nu> Rink Springer writes: : On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: : > I also see crashes with my new stuff and the umass driver when the USB device : > is un-plugged too early. The backtraces I've got so far does not indicate a : > USB problem, though .... : : That is correct, this is a bug in CAM. More specifically, CAM does not : handle the removal of busses well. There are two possible options: : : 1) Obviously, fix CAM to handle this scenarion : DragonflyBSD seems to have a lot of fixes in this area, which I : intend to take a look at 'some day' (no thanks to $reallife...) This is the better option. : 2) Create a CAM bus per USB bus : I think this is reasonable, and it makes a lot more sense than the : one-bus-per-device approach that we have now. The idea is that : every USB controller hub creates a CAM bus, and umass(4) attaches to : this bus instead of creating its own. Of course, until CAM is fixed, : detaching PCMCIA or equivalent USB cards will still cause panics, but : it would be a lot better than it is now... This would mitigate the problem, but there's a lot of people that use CardBus USB cards, and they complain to me from time to time of the problem. Fortunately, the wireless broadband cards that are a usb host controller plus usb device in CardBus format aren't affected... : Personally, I'd like to see option 2 implemented in the USB2 stack, as : it avoids the issue and makes a lot more sense from user perspective : (I'm probably onot the only one who gets scared by 'camcontrol devlist' : if you have a single MP3 player which advertises 2 disks :-)) It may make good sense for other reasons as well. Firewire does something similar, and also umass used to do exactly this. There's also problems right now with huge bus load leading to devices disconnecting and reconnecting for some suck-ass, but common, chipsets. If things were implemented this way, then there'd be options to silently reconnect the device when it goes away and comes back a few hundred milliseconds later... Firewire handles this case too, at the expense of never disconnecting the disk, which isn't so good for a thumb drive... Warner From julian at elischer.org Thu Sep 11 16:38:15 2008 From: julian at elischer.org (Julian Elischer) Date: Thu Sep 11 16:38:21 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080911103343.GH1413@rink.nu> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> <20080911103343.GH1413@rink.nu> Message-ID: <48C945EE.4070805@elischer.org> Rink Springer wrote: > On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: >> I also see crashes with my new stuff and the umass driver when the USB device >> is un-plugged too early. The backtraces I've got so far does not indicate a >> USB problem, though .... > > That is correct, this is a bug in CAM. More specifically, CAM does not > handle the removal of busses well. There are two possible options: > > 1) Obviously, fix CAM to handle this scenarion > DragonflyBSD seems to have a lot of fixes in this area, which I > intend to take a look at 'some day' (no thanks to $reallife...) > > 2) Create a CAM bus per USB bus > I think this is reasonable, and it makes a lot more sense than the > one-bus-per-device approach that we have now. The idea is that > every USB controller hub creates a CAM bus, and umass(4) attaches to > this bus instead of creating its own. Of course, until CAM is fixed, > detaching PCMCIA or equivalent USB cards will still cause panics, but > it would be a lot better than it is now... > This is how it was originally. There was a reason that it was changed, so make sure you look into the history to figure out what the tradeoff was. > Personally, I'd like to see option 2 implemented in the USB2 stack, as > it avoids the issue and makes a lot more sense from user perspective > (I'm probably onot the only one who gets scared by 'camcontrol devlist' > if you have a single MP3 player which advertises 2 disks :-)) > > Regards, > From hselasky at c2i.net Thu Sep 11 18:42:53 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 11 18:43:00 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080911.082418.775964060.imp@bsdimp.com> References: <48B3299F.5080101@vwsoft.com> <20080911103343.GH1413@rink.nu> <20080911.082418.775964060.imp@bsdimp.com> Message-ID: <200809112044.43749.hselasky@c2i.net> Hi, Would anyone object if I make one non-Giant locked CAM bus for all USB2 devices? Something like: static void umass_create_cam_bus_sysinit() { devq = cam_simq_alloc(1 /* maximum openings */ ); if (devq == NULL) { return (ENOMEM); } umass_global_sim = cam_sim_alloc (&umass_cam_action, &umass_cam_poll, DEVNAME_SIM, NULL /* priv */ , 0 /* unit number */ , #if (__FreeBSD_version >= 700037) &umass_global_mtx /* mutex */ , #endif 1 /* maximum device openings */ , 0 /* maximum tagged device openings */ , devq); return; } static void umass_destroy_cam_bus_sysuninit() { .... } SYSINIT(&umass_create_cam_bus_sysinit); SYSUNINIT(&umass_destroy_cam_bus_sysuninit); --HPS On Thursday 11 September 2008, M. Warner Losh wrote: > In message: <20080911103343.GH1413@rink.nu> > > Rink Springer writes: > : On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: > : > I also see crashes with my new stuff and the umass driver when the USB > : > device is un-plugged too early. The backtraces I've got so far does not > : > indicate a USB problem, though .... > : > : That is correct, this is a bug in CAM. More specifically, CAM does not > : handle the removal of busses well. There are two possible options: > : > : 1) Obviously, fix CAM to handle this scenarion > : DragonflyBSD seems to have a lot of fixes in this area, which I > : intend to take a look at 'some day' (no thanks to $reallife...) > > This is the better option. > > : 2) Create a CAM bus per USB bus > : I think this is reasonable, and it makes a lot more sense than the > : one-bus-per-device approach that we have now. The idea is that > : every USB controller hub creates a CAM bus, and umass(4) attaches to > : this bus instead of creating its own. Of course, until CAM is fixed, > : detaching PCMCIA or equivalent USB cards will still cause panics, but > : it would be a lot better than it is now... > > This would mitigate the problem, but there's a lot of people that use > CardBus USB cards, and they complain to me from time to time of the > problem. > > Fortunately, the wireless broadband cards that are a usb host > controller plus usb device in CardBus format aren't affected... > > : Personally, I'd like to see option 2 implemented in the USB2 stack, as > : it avoids the issue and makes a lot more sense from user perspective > : (I'm probably onot the only one who gets scared by 'camcontrol devlist' > : if you have a single MP3 player which advertises 2 disks :-)) > > It may make good sense for other reasons as well. Firewire does > something similar, and also umass used to do exactly this. There's > also problems right now with huge bus load leading to devices > disconnecting and reconnecting for some suck-ass, but common, > chipsets. If things were implemented this way, then there'd be > options to silently reconnect the device when it goes away and comes > back a few hundred milliseconds later... Firewire handles this case > too, at the expense of never disconnecting the disk, which isn't so > good for a thumb drive... > > Warner From volker at vwsoft.com Thu Sep 11 20:09:03 2008 From: volker at vwsoft.com (Volker) Date: Thu Sep 11 20:09:10 2008 Subject: "legacy" usb stack fixes In-Reply-To: <200809111013.23994.hselasky@c2i.net> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> Message-ID: <48C97ACA.70307@vwsoft.com> On 09/11/08 10:13, Hans Petter Selasky wrote: > On Monday 25 August 2008, Volker wrote: >> >> Anyway, I've already had those crashes even with the "new" usb stack >> (but it doesn't happen everytime - YMMV). >> > > Hi, > > I also see crashes with my new stuff and the umass driver when the USB device > is un-plugged too early. The backtraces I've got so far does not indicate a > USB problem, though .... > > --HPS > // dropped current@ from CC Hans Petter, the device unplug problem is not just with usb, but these devices are the most frequent unplugged devices so far. Early this week, I discovered a new problem. I've fetched fresh RELENG_7 sources, patched your usb stack in and recompiled kernel (using usb, not usb2). I've seen situations with a process holding open file descriptors for a ugen device being killed but a thread was still hanging in "usbdrain" state (sleeping on a mutex for draining). The process is still holding open file descriptors (I see output from ``fstat | grep ugen'' listing the already killed process), even while the process itself is already killed and not in the process list as a whole. Only a thread of that former process can be seen by ``ps -alxcH'', but it can't be killed. I'm pretty sure I'm able to patch kern_exit.c to have that process being freed completely but I'm also pretty sure, this will just kill a symptom but not the source. While in that situation, the usb port does not react to plug/unplug events anymore. I haven't been able to debug that situation as I do have too much stress at other places as well. Probably I'll find the time tomorrow for debugging. BTW, can you give a quick explanation about usb2? What's different, better? What needs to be done at the driver side to port something over to usb2? Thanks, Volker From julian at elischer.org Thu Sep 11 20:13:57 2008 From: julian at elischer.org (Julian Elischer) Date: Thu Sep 11 20:14:03 2008 Subject: "legacy" usb stack fixes In-Reply-To: <48C97ACA.70307@vwsoft.com> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> <48C97ACA.70307@vwsoft.com> Message-ID: <48C97C04.6030603@elischer.org> Volker wrote: > On 09/11/08 10:13, Hans Petter Selasky wrote: >> On Monday 25 August 2008, Volker wrote: >>> Anyway, I've already had those crashes even with the "new" usb stack >>> (but it doesn't happen everytime - YMMV). >>> >> Hi, >> >> I also see crashes with my new stuff and the umass driver when the USB device >> is un-plugged too early. The backtraces I've got so far does not indicate a >> USB problem, though .... >> >> --HPS >> > > // dropped current@ from CC > > Hans Petter, > > the device unplug problem is not just with usb, but these devices are > the most frequent unplugged devices so far. > > Early this week, I discovered a new problem. I've fetched fresh RELENG_7 > sources, patched your usb stack in and recompiled kernel (using usb, not > usb2). > > I've seen situations with a process holding open file descriptors for a > ugen device being killed but a thread was still hanging in "usbdrain" > state (sleeping on a mutex for draining). The process is still holding > open file descriptors (I see output from ``fstat | grep ugen'' listing > the already killed process), even while the process itself is already > killed and not in the process list as a whole. > > Only a thread of that former process can be seen by ``ps -alxcH'', but > it can't be killed. what is the thread waiting on? > > I'm pretty sure I'm able to patch kern_exit.c to have that process being > freed completely but I'm also pretty sure, this will just kill a symptom > but not the source. While in that situation, the usb port does not react > to plug/unplug events anymore. > > I haven't been able to debug that situation as I do have too much stress > at other places as well. Probably I'll find the time tomorrow for debugging. > > BTW, can you give a quick explanation about usb2? What's different, > better? What needs to be done at the driver side to port something over > to usb2? > > Thanks, > > Volker > > _______________________________________________ > 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 volker at vwsoft.com Thu Sep 11 20:32:28 2008 From: volker at vwsoft.com (Volker) Date: Thu Sep 11 20:32:42 2008 Subject: usbdrain problem (was: Re: "legacy" usb stack fixes) In-Reply-To: <48C97C04.6030603@elischer.org> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48B0EA50.2090105@mawer.org> <48B3299F.5080101@vwsoft.com> <200809111013.23994.hselasky@c2i.net> <48C97ACA.70307@vwsoft.com> <48C97C04.6030603@elischer.org> Message-ID: <48C98043.3040807@vwsoft.com> On 09/11/08 22:13, Julian Elischer wrote: > Volker wrote: >> On 09/11/08 10:13, Hans Petter Selasky wrote: >>> On Monday 25 August 2008, Volker wrote: >>>> Anyway, I've already had those crashes even with the "new" usb stack >>>> (but it doesn't happen everytime - YMMV). >>>> >>> Hi, >>> >>> I also see crashes with my new stuff and the umass driver when the >>> USB device is un-plugged too early. The backtraces I've got so far >>> does not indicate a USB problem, though .... >>> >>> --HPS >>> >> >> // dropped current@ from CC >> >> Hans Petter, >> >> the device unplug problem is not just with usb, but these devices are >> the most frequent unplugged devices so far. >> >> Early this week, I discovered a new problem. I've fetched fresh RELENG_7 >> sources, patched your usb stack in and recompiled kernel (using usb, not >> usb2). >> >> I've seen situations with a process holding open file descriptors for a >> ugen device being killed but a thread was still hanging in "usbdrain" >> state (sleeping on a mutex for draining). The process is still holding >> open file descriptors (I see output from ``fstat | grep ugen'' listing >> the already killed process), even while the process itself is already >> killed and not in the process list as a whole. >> >> Only a thread of that former process can be seen by ``ps -alxcH'', but >> it can't be killed. > > what is the thread waiting on? I have no idea as I was unable to find time to debug this. The kill signal may come in the middle of a transfer (or even not - ENOTIME for deep inspection). While the process is on the usbdrain lock, I'm unable to attach gdb to it (gdb complains about 'no such process' for the pid). Debugging the ugen driver is hard as I don't have a serial debugger at work (and I don't feel that comfortable with DDB at the console, but will try to look at that, also ;). >From looking at the sources, the ugen driver is seeing the transfer flag being set before closing the device, sets the drain flag and sleeping on the usbdrain mutex. It never wakes up. Without finding time to debug this (too much interrupts at work), I thought I might try to set a timeout value for the mutex and see if I can find a deal out of that situation. Hopefully I'll find some time tomorrow for that problem, as it's causing a lot of trouble. Again, this is for the hps stack, not what the old $subject said (changed now). Volker From hselasky at c2i.net Thu Sep 11 21:33:42 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 11 21:33:50 2008 Subject: usbdrain problem (was: Re: "legacy" usb stack fixes) In-Reply-To: <48C98043.3040807@vwsoft.com> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48C97C04.6030603@elischer.org> <48C98043.3040807@vwsoft.com> Message-ID: <200809112320.25758.hselasky@c2i.net> On Thursday 11 September 2008, Volker wrote: > On 09/11/08 22:13, Julian Elischer wrote: > > Volker wrote: > >> On 09/11/08 10:13, Hans Petter Selasky wrote: > >>> On Monday 25 August 2008, Volker wrote: > >>>> Anyway, I've already had those crashes even with the "new" usb stack > >>>> (but it doesn't happen everytime - YMMV). > >>> > >> > >> // dropped current@ from CC > >> > >> Hans Petter, > >> > >> the device unplug problem is not just with usb, but these devices are > >> the most frequent unplugged devices so far. > >> > >> Early this week, I discovered a new problem. I've fetched fresh RELENG_7 > >> sources, patched your usb stack in and recompiled kernel (using usb, not > >> usb2). Hi Volker, There has been significant changes to ugen between usb and usb2. It looks to me like that ugen started the transfer again after the USB transfer drain process started, so the drain will never exit. Probably it could need an extra flag there to catch that case, to prevent the start after trying to unsetup the transfer! Try to turn on USB debugging: sysctl hw.usb.debug=15 And grep for transfer start and stop. --HPS From jhb at freebsd.org Thu Sep 11 21:43:24 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Sep 11 21:43:36 2008 Subject: "legacy" usb stack fixes In-Reply-To: <200809112044.43749.hselasky@c2i.net> References: <48B3299F.5080101@vwsoft.com> <20080911.082418.775964060.imp@bsdimp.com> <200809112044.43749.hselasky@c2i.net> Message-ID: <200809111623.24539.jhb@freebsd.org> On Thursday 11 September 2008 02:44:42 pm Hans Petter Selasky wrote: > Hi, > > Would anyone object if I make one non-Giant locked CAM bus for all USB2 > devices? Something like: Ask scottl@, I think he had mentioned having one bus for all USB devices before. > static void > umass_create_cam_bus_sysinit() > { > devq = cam_simq_alloc(1 /* maximum openings */ ); > if (devq == NULL) { > return (ENOMEM); > } > umass_global_sim = cam_sim_alloc > (&umass_cam_action, &umass_cam_poll, > DEVNAME_SIM, > NULL /* priv */ , > 0 /* unit number */ , > #if (__FreeBSD_version >= 700037) > &umass_global_mtx /* mutex */ , > #endif > 1 /* maximum device openings */ , > 0 /* maximum tagged device openings */ , > devq); > > return; > } > > static void > umass_destroy_cam_bus_sysuninit() > { > .... > } > > SYSINIT(&umass_create_cam_bus_sysinit); > SYSUNINIT(&umass_destroy_cam_bus_sysuninit); > > --HPS > > On Thursday 11 September 2008, M. Warner Losh wrote: > > In message: <20080911103343.GH1413@rink.nu> > > > > Rink Springer writes: > > : On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: > > : > I also see crashes with my new stuff and the umass driver when the USB > > : > device is un-plugged too early. The backtraces I've got so far does not > > : > indicate a USB problem, though .... > > : > > : That is correct, this is a bug in CAM. More specifically, CAM does not > > : handle the removal of busses well. There are two possible options: > > : > > : 1) Obviously, fix CAM to handle this scenarion > > : DragonflyBSD seems to have a lot of fixes in this area, which I > > : intend to take a look at 'some day' (no thanks to $reallife...) > > > > This is the better option. > > > > : 2) Create a CAM bus per USB bus > > : I think this is reasonable, and it makes a lot more sense than the > > : one-bus-per-device approach that we have now. The idea is that > > : every USB controller hub creates a CAM bus, and umass(4) attaches to > > : this bus instead of creating its own. Of course, until CAM is fixed, > > : detaching PCMCIA or equivalent USB cards will still cause panics, but > > : it would be a lot better than it is now... > > > > This would mitigate the problem, but there's a lot of people that use > > CardBus USB cards, and they complain to me from time to time of the > > problem. > > > > Fortunately, the wireless broadband cards that are a usb host > > controller plus usb device in CardBus format aren't affected... > > > > : Personally, I'd like to see option 2 implemented in the USB2 stack, as > > : it avoids the issue and makes a lot more sense from user perspective > > : (I'm probably onot the only one who gets scared by 'camcontrol devlist' > > : if you have a single MP3 player which advertises 2 disks :-)) > > > > It may make good sense for other reasons as well. Firewire does > > something similar, and also umass used to do exactly this. There's > > also problems right now with huge bus load leading to devices > > disconnecting and reconnecting for some suck-ass, but common, > > chipsets. If things were implemented this way, then there'd be > > options to silently reconnect the device when it goes away and comes > > back a few hundred milliseconds later... Firewire handles this case > > too, at the expense of never disconnecting the disk, which isn't so > > good for a thumb drive... > > > > Warner > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- John Baldwin From hselasky at c2i.net Thu Sep 11 21:45:16 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 11 21:45:22 2008 Subject: usbdrain problem (was: Re: "legacy" usb stack fixes) In-Reply-To: <200809112320.25758.hselasky@c2i.net> References: <20080819211814.6CD685B4D@mail.bitblocks.com> <48C98043.3040807@vwsoft.com> <200809112320.25758.hselasky@c2i.net> Message-ID: <200809112347.00510.hselasky@c2i.net> Hi Volker, Could you try the following. Add an extra check for "UGEN_CLOSING" to the code statement in ugen.c in the function ugenclose(): if ((!(sce->state & UGEN_CLOSING)) && (sce->state & (UGEN_OPEN_DEV | UGEN_OPEN_IN | UGEN_OPEN_OUT)) .... The ugenclose() is called from both "detach()" and "close()" and maybe there is a race there! --HPS static int ugenclose(struct cdev *dev, int flag, int mode, struct thread *p) { struct ugen_softc *sc = DEV2SC(dev); struct ugen_endpoint *sce = DEV2SCE(dev); struct usbd_xfer *temp_xfer[4]; int32_t error; PRINTFN(5, ("flag=%d, mode=%d\n", flag, mode)); if ((sc == NULL) || (sce == NULL)) { return (0); } mtx_lock(&sc->sc_mtx); here >>> if (sce->state & (UGEN_OPEN_DEV | UGEN_OPEN_IN | UGEN_OPEN_OUT)) { /* control endpoint is also ``closed'' here */ sce->state |= UGEN_CLOSING; On Thursday 11 September 2008, Hans Petter Selasky wrote: > On Thursday 11 September 2008, Volker wrote: > > On 09/11/08 22:13, Julian Elischer wrote: > > > Volker wrote: > > >> On 09/11/08 10:13, Hans Petter Selasky wrote: > > >>> On Monday 25 August 2008, Volker wrote: > > >>>> Anyway, I've already had those crashes even with the "new" usb stack > > >>>> (but it doesn't happen everytime - YMMV). > > >> > > >> // dropped current@ from CC > > >> > > >> Hans Petter, > > >> > > >> the device unplug problem is not just with usb, but these devices are > > >> the most frequent unplugged devices so far. > > >> > > >> Early this week, I discovered a new problem. I've fetched fresh > > >> RELENG_7 sources, patched your usb stack in and recompiled kernel > > >> (using usb, not usb2). > > Hi Volker, > > There has been significant changes to ugen between usb and usb2. > > It looks to me like that ugen started the transfer again after the USB > transfer drain process started, so the drain will never exit. Probably it > could need an extra flag there to catch that case, to prevent the start > after trying to unsetup the transfer! > > Try to turn on USB debugging: > > sysctl hw.usb.debug=15 > > And grep for transfer start and stop. > > --HPS > _______________________________________________ > 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 scottl at samsco.org Thu Sep 11 22:45:21 2008 From: scottl at samsco.org (Scott Long) Date: Thu Sep 11 22:45:34 2008 Subject: "legacy" usb stack fixes In-Reply-To: <200809112044.43749.hselasky@c2i.net> References: <48B3299F.5080101@vwsoft.com> <20080911103343.GH1413@rink.nu> <20080911.082418.775964060.imp@bsdimp.com> <200809112044.43749.hselasky@c2i.net> Message-ID: <48C9977C.2030104@samsco.org> This is close to How Things Should Be. Each umass target having its own SIM and bus is indeed wrong, but I'm not sure if it's correct for all USB controllers and buses to be under a single SIM. What would be the most correct is for each physical USB controller/bus instance to have its own SIM instance. I don't know if it's better to do the attachment in ehci/ohci/uhci controller drivers or in usb bus driver; up in the controller drivers is probably more correct. I don't like this hack of attaching stuff in a SYSINIT. Scott Hans Petter Selasky wrote: > Hi, > > Would anyone object if I make one non-Giant locked CAM bus for all USB2 > devices? Something like: > > static void > umass_create_cam_bus_sysinit() > { > devq = cam_simq_alloc(1 /* maximum openings */ ); > if (devq == NULL) { > return (ENOMEM); > } > umass_global_sim = cam_sim_alloc > (&umass_cam_action, &umass_cam_poll, > DEVNAME_SIM, > NULL /* priv */ , > 0 /* unit number */ , > #if (__FreeBSD_version >= 700037) > &umass_global_mtx /* mutex */ , > #endif > 1 /* maximum device openings */ , > 0 /* maximum tagged device openings */ , > devq); > > return; > } > > static void > umass_destroy_cam_bus_sysuninit() > { > .... > } > > SYSINIT(&umass_create_cam_bus_sysinit); > SYSUNINIT(&umass_destroy_cam_bus_sysuninit); > > --HPS > > On Thursday 11 September 2008, M. Warner Losh wrote: >> In message: <20080911103343.GH1413@rink.nu> >> >> Rink Springer writes: >> : On Thu, Sep 11, 2008 at 10:13:22AM +0200, Hans Petter Selasky wrote: >> : > I also see crashes with my new stuff and the umass driver when the USB >> : > device is un-plugged too early. The backtraces I've got so far does not >> : > indicate a USB problem, though .... >> : >> : That is correct, this is a bug in CAM. More specifically, CAM does not >> : handle the removal of busses well. There are two possible options: >> : >> : 1) Obviously, fix CAM to handle this scenarion >> : DragonflyBSD seems to have a lot of fixes in this area, which I >> : intend to take a look at 'some day' (no thanks to $reallife...) >> >> This is the better option. >> >> : 2) Create a CAM bus per USB bus >> : I think this is reasonable, and it makes a lot more sense than the >> : one-bus-per-device approach that we have now. The idea is that >> : every USB controller hub creates a CAM bus, and umass(4) attaches to >> : this bus instead of creating its own. Of course, until CAM is fixed, >> : detaching PCMCIA or equivalent USB cards will still cause panics, but >> : it would be a lot better than it is now... >> >> This would mitigate the problem, but there's a lot of people that use >> CardBus USB cards, and they complain to me from time to time of the >> problem. >> >> Fortunately, the wireless broadband cards that are a usb host >> controller plus usb device in CardBus format aren't affected... >> >> : Personally, I'd like to see option 2 implemented in the USB2 stack, as >> : it avoids the issue and makes a lot more sense from user perspective >> : (I'm probably onot the only one who gets scared by 'camcontrol devlist' >> : if you have a single MP3 player which advertises 2 disks :-)) >> >> It may make good sense for other reasons as well. Firewire does >> something similar, and also umass used to do exactly this. There's >> also problems right now with huge bus load leading to devices >> disconnecting and reconnecting for some suck-ass, but common, >> chipsets. If things were implemented this way, then there'd be >> options to silently reconnect the device when it goes away and comes >> back a few hundred milliseconds later... Firewire handles this case >> too, at the expense of never disconnecting the disk, which isn't so >> good for a thumb drive... >> >> Warner > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From scottl at samsco.org Fri Sep 12 18:23:08 2008 From: scottl at samsco.org (Scott Long) Date: Fri Sep 12 18:23:14 2008 Subject: "legacy" usb stack fixes In-Reply-To: <48C9977C.2030104@samsco.org> References: <48B3299F.5080101@vwsoft.com> <20080911103343.GH1413@rink.nu> <20080911.082418.775964060.imp@bsdimp.com> <200809112044.43749.hselasky@c2i.net> <48C9977C.2030104@samsco.org> Message-ID: <48CAB37F.50002@samsco.org> Scott Long wrote: > This is close to How Things Should Be. Each umass target having its own > SIM and bus is indeed wrong, but I'm not sure if it's correct for all > USB controllers and buses to be under a single SIM. What would be the > most correct is for each physical USB controller/bus instance to have > its own SIM instance. I don't know if it's better to do the attachment > in ehci/ohci/uhci controller drivers or in usb bus driver; up in the > controller drivers is probably more correct. I don't like this hack of > attaching stuff in a SYSINIT. > > Scott > > Now that I've thought some on it, I'll go one step further and say that registering a single SIM for multiple controller+bus instances in a SYSINIT will be highly undesirable thing to do. Since you have to register a lock with the CAM when you register the SIM, you'll wind up serializing all of the USB controllers under a single lock. Or you'll probably try something dangerous and tricky with dropping the new global lock and picking up an individual lock, then swizzling locks in the completion and event paths, with the result being rather unsatisfying and unpleasant. So I know that you'll do what you believe is correct, but please take my advice on the matter anyways. Scott From olivier at gid0.org Fri Sep 12 20:17:55 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Fri Sep 12 20:18:02 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? Message-ID: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> Hi, Since the new usb2 stack announcement in http://lists.freebsd.org/pipermail/freebsd-current/2008-August/087610.html I haven't seen any patch update (on freebsd-usb or freebsd-current) for use in CURRENT and its MPSAFE TTY layer. Code in i4b's anoncvs seems old too. Where can I find (if there are) usb2 diffs for use with latest CURRENT src tree ? Olivier -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From imp at bsdimp.com Fri Sep 12 20:57:16 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Sep 12 20:57:29 2008 Subject: "legacy" usb stack fixes In-Reply-To: <48CAB37F.50002@samsco.org> References: <200809112044.43749.hselasky@c2i.net> <48C9977C.2030104@samsco.org> <48CAB37F.50002@samsco.org> Message-ID: <20080912.145724.-1750800872.imp@bsdimp.com> In message: <48CAB37F.50002@samsco.org> Scott Long writes: : Scott Long wrote: : > This is close to How Things Should Be. Each umass target having its own : > SIM and bus is indeed wrong, but I'm not sure if it's correct for all : > USB controllers and buses to be under a single SIM. What would be the : > most correct is for each physical USB controller/bus instance to have : > its own SIM instance. I don't know if it's better to do the attachment : > in ehci/ohci/uhci controller drivers or in usb bus driver; up in the : > controller drivers is probably more correct. I don't like this hack of : > attaching stuff in a SYSINIT. : > : > Scott : > : > : : Now that I've thought some on it, I'll go one step further and say that : registering a single SIM for multiple controller+bus instances in a : SYSINIT will be highly undesirable thing to do. Since you have to : register a lock with the CAM when you register the SIM, you'll wind up : serializing all of the USB controllers under a single lock. Or you'll : probably try something dangerous and tricky with dropping the new global : lock and picking up an individual lock, then swizzling locks in the : completion and event paths, with the result being rather unsatisfying : and unpleasant. So I know that you'll do what you believe is correct, : but please take my advice on the matter anyways. Yes. A SIM will serialize all operations, and the most logical place for that is the computer <-> usb interface, which is the host controller. So having one SIM per host controller would be the optimal placement. Having one SIM per usb device doesn't result in any more real parallelism because the host controller necessarily serializes things because of how USB is defined... Warner From scottl at samsco.org Fri Sep 12 21:29:43 2008 From: scottl at samsco.org (Scott Long) Date: Fri Sep 12 21:29:50 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080912.145724.-1750800872.imp@bsdimp.com> References: <200809112044.43749.hselasky@c2i.net> <48C9977C.2030104@samsco.org> <48CAB37F.50002@samsco.org> <20080912.145724.-1750800872.imp@bsdimp.com> Message-ID: <20080912150630.C39726@pooker.samsco.org> On Fri, 12 Sep 2008, M. Warner Losh wrote: > In message: <48CAB37F.50002@samsco.org> > Scott Long writes: > : Scott Long wrote: > : > This is close to How Things Should Be. Each umass target having its own > : > SIM and bus is indeed wrong, but I'm not sure if it's correct for all > : > USB controllers and buses to be under a single SIM. What would be the > : > most correct is for each physical USB controller/bus instance to have > : > its own SIM instance. I don't know if it's better to do the attachment > : > in ehci/ohci/uhci controller drivers or in usb bus driver; up in the > : > controller drivers is probably more correct. I don't like this hack of > : > attaching stuff in a SYSINIT. > : > > : > Scott > : > > : > > : > : Now that I've thought some on it, I'll go one step further and say that > : registering a single SIM for multiple controller+bus instances in a > : SYSINIT will be highly undesirable thing to do. Since you have to > : register a lock with the CAM when you register the SIM, you'll wind up > : serializing all of the USB controllers under a single lock. Or you'll > : probably try something dangerous and tricky with dropping the new global > : lock and picking up an individual lock, then swizzling locks in the > : completion and event paths, with the result being rather unsatisfying > : and unpleasant. So I know that you'll do what you believe is correct, > : but please take my advice on the matter anyways. > > Yes. A SIM will serialize all operations, and the most logical place > for that is the computer <-> usb interface, which is the host > controller. So having one SIM per host controller would be the > optimal placement. Having one SIM per usb device doesn't result in > any more real parallelism because the host controller necessarily > serializes things because of how USB is defined... > Correct. Another argument for having a SIM per controller/bus and not per target is that the SIM is responsible for managing all resources on a controller. USB is still a bus topology, and thus certain resources are finite and shared, be they bandwidth, arbitration, or concurrency. Granted, USB is simple enough that it doesn't give you much control over these resources, but having the SIM be at the target level gives the system even less control and visibility. If a future enhancement to USB grows the ability to do useful things like more concurrency, it'll be essential for the SIM to have a controller-wide view of this. Scott From julian at elischer.org Sat Sep 13 04:09:52 2008 From: julian at elischer.org (Julian Elischer) Date: Sat Sep 13 04:10:04 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080912150630.C39726@pooker.samsco.org> References: <200809112044.43749.hselasky@c2i.net> <48C9977C.2030104@samsco.org> <48CAB37F.50002@samsco.org> <20080912.145724.-1750800872.imp@bsdimp.com> <20080912150630.C39726@pooker.samsco.org> Message-ID: <48CB3D09.4050908@elischer.org> Scott Long wrote: > On Fri, 12 Sep 2008, M. Warner Losh wrote: > >> In message: <48CAB37F.50002@samsco.org> >> Scott Long writes: >> : Scott Long wrote: >> : > This is close to How Things Should Be. Each umass target having >> its own >> : > SIM and bus is indeed wrong, but I'm not sure if it's correct for all >> : > USB controllers and buses to be under a single SIM. What would be >> the >> : > most correct is for each physical USB controller/bus instance to have >> : > its own SIM instance. I don't know if it's better to do the >> attachment >> : > in ehci/ohci/uhci controller drivers or in usb bus driver; up in the >> : > controller drivers is probably more correct. I don't like this >> hack of >> : > attaching stuff in a SYSINIT. >> : > >> : > Scott >> : > >> : > >> : >> : Now that I've thought some on it, I'll go one step further and say that >> : registering a single SIM for multiple controller+bus instances in a >> : SYSINIT will be highly undesirable thing to do. Since you have to >> : register a lock with the CAM when you register the SIM, you'll wind up >> : serializing all of the USB controllers under a single lock. Or you'll >> : probably try something dangerous and tricky with dropping the new >> global >> : lock and picking up an individual lock, then swizzling locks in the >> : completion and event paths, with the result being rather unsatisfying >> : and unpleasant. So I know that you'll do what you believe is correct, >> : but please take my advice on the matter anyways. >> >> Yes. A SIM will serialize all operations, and the most logical place >> for that is the computer <-> usb interface, which is the host >> controller. So having one SIM per host controller would be the >> optimal placement. Having one SIM per usb device doesn't result in >> any more real parallelism because the host controller necessarily >> serializes things because of how USB is defined... >> > > Correct. Another argument for having a SIM per controller/bus and not > per target is that the SIM is responsible for managing all resources on a > controller. USB is still a bus topology, and thus certain resources are > finite and shared, be they bandwidth, arbitration, or concurrency. > Granted, USB is simple enough that it doesn't give you much control over > these resources, but having the SIM be at the target level gives the > system even less control and visibility. If a future enhancement to USB > grows the ability to do useful things like more concurrency, it'll be > essential for the SIM to have a controller-wide view of this. cam/umass used to have a SIM per USB bus but it got changed sometime around 1999-2001 from memory. It was haled at the time as a great step forward when each device got its own SIM but I could never work out why. it did solve some problems though I forget what they where. > > Scott > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From greg at scarcelli.net Sat Sep 13 06:20:02 2008 From: greg at scarcelli.net (Greg Scarcelli) Date: Sat Sep 13 06:20:08 2008 Subject: usb/127342: cannot enable usb keyboard and mouse support in the bios Message-ID: <200809130614.m8D6ER01052423@www.freebsd.org> >Number: 127342 >Category: usb >Synopsis: cannot enable usb keyboard and mouse support in the bios >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 13 06:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Greg Scarcelli >Release: 7.0 >Organization: >Environment: FreeBSD coolbreeze-unix 7.0-RELEASE #0 Sun Feb 24 UTC 2008 i386 >Description: Get the following errors when enabling usb keyboard and mouse support in the BIOS... hptrr no controller detected panic ohci_add_done addr 0xbfef1ca0 not found cannot dump: no dump device found The system will then reboot... Boots whenever usb keyboard and mouse support are disabled... Motherboard Ga-Ma74gm-S2h Gigabyte Am2+ Hdmi Aio Manufacturers: Gigabyte Model GA-MA74GM-S2H GAMA74GMS2H Description Gigabyte GA-MA74GM-S2H Socket AM2+/AM2 Athlon™64/Athlon™64 FX/Athlon™64 X2/Phenom™/Phenom™ FX/Sempron™ AMD 740G Micro ATX Motherboard Features * Supports AMD AM2+ Phenom*/ AM2 Athlon 64 series processors * Solid capacitors design in CPU VRM * Dual Channel DDR2 800 for outstanding system performance * Integrated ATI Radeon 2100-based graphics * Ultimate graphics performance with PCI-Ex16 interface * Integrated SATA 3Gb/s with RAID function * Features high speed Gigabit Ethernet connection * Integrated 6/8-Channel** High Definition audio * Integrated HDMI/ DVI interface with HDCP Model No. GA-MA74GM-S2H CPU Phenom™ FX/Phenom™/Athlon™64 FX/Athlon™64 X2/Athlon™64/Sempron™ Front Side Bus 2000MT/S Socket AM2+/AM2 Chipset - Southbridge AMD SB700 Chipset Manufacturer AMD Chipset Model 740G Memory 2 x DDR2 800/667MHz DIMM Max Memory Supported 8GB Storage 6 x SATA 3Gb/s RAID + 1 x IDE Total Expansion Slots 4 PCI 2 PCI-E x1 1 PCI-E 2.0 x16 1 LAN 10/100/1000Mbps Audio Realtek ALC888 7.1-Channel HD Audio Integrated Graphic ATI Radeon 2100 Internal I/O Connectors 1xEIDE/1xFDD/1xCOM/4xUSB2.0/1xSPDIF-Out Rear Panel I/O Ports 1xPS2-KB/1xLPT/1xVGA/1xDVI-D/1xHDMI/1xSPDIF-Out/4xUSB2.0/1xLAN/3xAudio USB Type USB2.0 Form Factor Micro ATX >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From hselasky at c2i.net Sat Sep 13 10:13:05 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 13 10:13:16 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> Message-ID: <200809131214.49314.hselasky@c2i.net> On Friday 12 September 2008, Olivier SMEDTS wrote: > Hi, > > Since the new usb2 stack announcement in > http://lists.freebsd.org/pipermail/freebsd-current/2008-August/087610.html > I haven't seen any patch update (on freebsd-usb or freebsd-current) > for use in CURRENT and its MPSAFE TTY layer. Code in i4b's anoncvs > seems old too. > > Where can I find (if there are) usb2 diffs for use with latest CURRENT > src tree ? > > Olivier Hi Oliver, I will do an integrate on my tree to cach up with the MPSAFE TTY changes today. I just wrapped up an install script so that you are always up to date with my USB2 branch: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb2 make all # and read the instructions make install # and read the instructions in the end --HPS From hselasky at c2i.net Sat Sep 13 11:08:50 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 13 11:09:00 2008 Subject: Openmoko phones and USB on FreeBSD Message-ID: <200809131310.33495.hselasky@c2i.net> Hi, There are some problems using the dfu-util to flash Openmoko phones from FreeBSD. The problem resides in the USB stack on the phone, which does not support the libusb-0.1 string requests. I'm planning to work around this in the kernel to avoid future problems. I have tested patches for this, but they have not committed yet. Secondly I plan to add support for RNDIS so that you can access the OpenMoko phone through USB ethernet. I'm currently awaiting approval from the Linux people to port their RNDIS driver to the new USB stack under a BSD license. Really they should have used CDC ethernet, but there are too many Windows users out there I guess :-) --HPS From guru at unixarea.de Sat Sep 13 12:25:17 2008 From: guru at unixarea.de (Matthias Apitz) Date: Sat Sep 13 12:25:29 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <200809131310.33495.hselasky@c2i.net> References: <200809131310.33495.hselasky@c2i.net> Message-ID: <20080913122220.GA3162@rebelion.Sisis.de> El d?a Saturday, September 13, 2008 a las 01:10:32PM +0200, Hans Petter Selasky escribi?: > Hi, > > There are some problems using the dfu-util to flash Openmoko phones from > FreeBSD. The problem resides in the USB stack on the phone, which does not > support the libusb-0.1 string requests. I'm planning to work around this in > the kernel to avoid future problems. I have tested patches for this, but they > have not committed yet. Hi Hans, I'm using FreeBSD on my normal laptop and my eeePC 900 gadget; my Openmoko will arrive next week (hopefully) and so I'm interested and willing to test your stuff (hoping that it is based on RELENG_7); > Secondly I plan to add support for RNDIS so that you can access the OpenMoko > phone through USB ethernet. I'm currently awaiting approval from the Linux > people to port their RNDIS driver to the new USB stack under a BSD license. > Really they should have used CDC ethernet, but there are too many Windows > users out there I guess :-) Concerning accessing the Openmoko through USB I thought that this is possible, at least the Openmoko's Wiki says this: http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD or are you talking about running FreeBSD on the Openmoko at all (this would be great news :-)) Thx matthias PD: I'm only subscribed to -arm, not to -usb; -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows From olivier at gid0.org Sat Sep 13 13:53:13 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Sat Sep 13 13:53:20 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <200809131214.49314.hselasky@c2i.net> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809131214.49314.hselasky@c2i.net> Message-ID: <367b2c980809130653m1ac21a79l95f4def1323c9c7d@mail.gmail.com> 2008/9/13 Hans Petter Selasky : > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b > > cd i4b/trunk/i4b/FreeBSD.usb2 > make all # and read the instructions > make install # and read the instructions in the end Ok, that works. Previously I was using "i4b/trunk/i4b/FreeBSD.usb" (found that on http://turbocat.net/~hselasky/usb4bsd/index.html). Now I'm using usb2, without usb2_serial and usb2_sound. I only use an USB mouse. % dmesg | grep GIANT atkbd0: [GIANT-LOCKED] Wow, I'm going to buy an USB keyboard too :) Thanks for the great work ! Olivier -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From hselasky at c2i.net Sat Sep 13 14:31:35 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 13 14:31:43 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <20080913122220.GA3162@rebelion.Sisis.de> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> Message-ID: <200809131633.21922.hselasky@c2i.net> Hi Matthias, The OpenMoko distributions I've tried so far does not come with CDC-ethernet like default. The network page you are referring to assumes that the OpenMoko software is programmed for CDC ethernet on the device side. No, I'm not talking about FreeBSD on the OpenMoko itself. --HPS On Saturday 13 September 2008, Matthias Apitz wrote: > El d?a Saturday, September 13, 2008 a las 01:10:32PM +0200, Hans Petter Selasky escribi?: > > Hi, > > > > There are some problems using the dfu-util to flash Openmoko phones from > > FreeBSD. The problem resides in the USB stack on the phone, which does > > not support the libusb-0.1 string requests. I'm planning to work around > > this in the kernel to avoid future problems. I have tested patches for > > this, but they have not committed yet. > > Hi Hans, > > I'm using FreeBSD on my normal laptop and my eeePC 900 gadget; my > Openmoko will arrive next week (hopefully) and so I'm interested and > willing to test your stuff (hoping that it is based on RELENG_7); > > > Secondly I plan to add support for RNDIS so that you can access the > > OpenMoko phone through USB ethernet. I'm currently awaiting approval from > > the Linux people to port their RNDIS driver to the new USB stack under a > > BSD license. Really they should have used CDC ethernet, but there are too > > many Windows users out there I guess :-) > > Concerning accessing the Openmoko through USB I thought that this is > possible, at least the Openmoko's Wiki says this: > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD > > or are you talking about running FreeBSD on the Openmoko at all (this > would be great news :-)) > > Thx > > matthias From ticso at cicely7.cicely.de Sat Sep 13 17:36:28 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Sat Sep 13 17:36:47 2008 Subject: "legacy" usb stack fixes In-Reply-To: <48CB3D09.4050908@elischer.org> References: <200809112044.43749.hselasky@c2i.net> <48C9977C.2030104@samsco.org> <48CAB37F.50002@samsco.org> <20080912.145724.-1750800872.imp@bsdimp.com> <20080912150630.C39726@pooker.samsco.org> <48CB3D09.4050908@elischer.org> Message-ID: <20080913170845.GT1147@cicely7.cicely.de> On Fri, Sep 12, 2008 at 09:09:45PM -0700, Julian Elischer wrote: > Scott Long wrote: > >On Fri, 12 Sep 2008, M. Warner Losh wrote: > >>Yes. A SIM will serialize all operations, and the most logical place > >>for that is the computer <-> usb interface, which is the host > >>controller. So having one SIM per host controller would be the > >>optimal placement. Having one SIM per usb device doesn't result in > >>any more real parallelism because the host controller necessarily > >>serializes things because of how USB is defined... > > > >Correct. Another argument for having a SIM per controller/bus and not > >per target is that the SIM is responsible for managing all resources on a > >controller. USB is still a bus topology, and thus certain resources are > >finite and shared, be they bandwidth, arbitration, or concurrency. > >Granted, USB is simple enough that it doesn't give you much control over > >these resources, but having the SIM be at the target level gives the > >system even less control and visibility. If a future enhancement to USB > >grows the ability to do useful things like more concurrency, it'll be > >essential for the SIM to have a controller-wide view of this. > > cam/umass used to have a SIM per USB bus but it got changed sometime > around 1999-2001 from memory. It was haled at the time as a great step > forward when each device got its own SIM but I could never work out why. I did the change at that time and it was not fully agreed by everyone. There was a single global SIM for all umass devices. One of the limitations was that each umass device was represented with a single ID and the maxid was hardcoded. The reason for the change however was that the SIM wasn't reprobed correctly and a manual camcontrol rescan was required under some conditions - especially with multi LUN devices. None of the persons who disagreed with the change switched it back to single SIM with a better fix. > it did solve some problems though I forget what they where. Yes it did, but it could have been fixed in a different way with a single SIM as well. At that time I thought multi SIM would be good idea, but I'm not that sure anymore, since there are also some good arguments against. One of the positive effects is that it is a bit easier to get from the USB device notified by devd to the CAM device to automatically handle things if e.g. your picture camera is connected or start syncing important data if your backup disk gets connected. Another point that I saw was using USB to SCSI converters, where you can have a single USB device owning a complete SCSI bus, but those devices are rare and not umass compliant. All in all the multi SIM as we have today is more a workaround for different other problems. In short: the original reasons for the change are not strong enough to keep it that way. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From hselasky at c2i.net Sat Sep 13 18:14:25 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 13 18:14:32 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809130653m1ac21a79l95f4def1323c9c7d@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809131214.49314.hselasky@c2i.net> <367b2c980809130653m1ac21a79l95f4def1323c9c7d@mail.gmail.com> Message-ID: <200809132016.10604.hselasky@c2i.net> On Saturday 13 September 2008, Olivier SMEDTS wrote: > 2008/9/13 Hans Petter Selasky : > > svn --username anonsvn --password anonsvn \ > > checkout svn://svn.turbocat.net/i4b > > > > cd i4b/trunk/i4b/FreeBSD.usb2 > > make all # and read the instructions > > make install # and read the instructions in the end > > Ok, that works. Previously I was using "i4b/trunk/i4b/FreeBSD.usb" > (found that on http://turbocat.net/~hselasky/usb4bsd/index.html). > Now I'm using usb2, without usb2_serial and usb2_sound. I only use an USB > mouse. Yes, I need to update my hompage :-) BTW: If you do a SVN update now on my tree, it should be up to date with mpsafe TTY so usb2_serial should build fine. --HPS > > % dmesg | grep GIANT > atkbd0: [GIANT-LOCKED] > > Wow, I'm going to buy an USB keyboard too :) > > Thanks for the great work ! > > Olivier From torfinn.ingolfsen at broadpark.no Sat Sep 13 19:46:55 2008 From: torfinn.ingolfsen at broadpark.no (Torfinn Ingolfsen) Date: Sat Sep 13 19:47:04 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <20080913122220.GA3162@rebelion.Sisis.de> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> Message-ID: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> On Sat, 13 Sep 2008 14:22:20 +0200 Matthias Apitz wrote: > Concerning accessing the Openmoko through USB I thought that this is > possible, at least the Openmoko's Wiki says this: > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD Yes, this is possible. When I plug in my Neo FreeRunner into this FreeeBSD workstation, I get this in /var/log/messages: Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 20:36:15 kg-work2 kernel: cdce0: Ethernet address: 2a:fd:05:61:9b:00 Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant This machine is running: tingo@kg-work2$ uname -a FreeBSD kg-work2.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 21 20:40:31 CEST 2008 root@kg-work2.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 Lets set up the interface: root@kg-work2# ifconfig cdce0 inet 192.168.0.200 netmask 255.255.255.0 root@kg-work2# ifconfig cdce0 cdce0: flags=108843 metric 0 mtu 1500 ether 2a:fd:05:61:9b:00 inet 192.168.0.200 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet 10baseT/UTP status: active root@kg-work2# ping 192.168.0.202 PING 192.168.0.202 (192.168.0.202): 56 data bytes 64 bytes from 192.168.0.202: icmp_seq=0 ttl=64 time=5.501 ms 64 bytes from 192.168.0.202: icmp_seq=1 ttl=64 time=0.856 ms 64 bytes from 192.168.0.202: icmp_seq=2 ttl=64 time=1.672 ms ^C --- 192.168.0.202 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.856/2.676/5.501/2.025 ms Ok, try ssh now: root@kg-work2# ssh 192.168.0.202 root@192.168.0.202's password: root@om-gta02:~# uptime 20:43:48 up 7 days, 22:36, 2 users, load average: 0.28, 0.37, 0.45 root@om-gta02:~# uname -a Linux om-gta02 2.6.24 #1 PREEMPT Tue Aug 26 08:33:29 CST 2008 armv4tl unknown root@om-gta02:~# cat /etc/angstrom-version Angstrom P1-Snapshot-20080902 HTH -- Regards, Torfinn Ingolfsen From olivier at gid0.org Sat Sep 13 20:32:42 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Sat Sep 13 20:32:50 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <200809132016.10604.hselasky@c2i.net> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809131214.49314.hselasky@c2i.net> <367b2c980809130653m1ac21a79l95f4def1323c9c7d@mail.gmail.com> <200809132016.10604.hselasky@c2i.net> Message-ID: <367b2c980809131332l1d07ff8ah7072f912e357782@mail.gmail.com> 2008/9/13 Hans Petter Selasky : > BTW: If you do a SVN update now on my tree, it should be up to date with > mpsafe TTY so usb2_serial should build fine. What are the needed patchs in order to build usb2_sound ? I use latest HDA patchs from ariff. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From hselasky at c2i.net Sat Sep 13 20:43:31 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 13 20:43:38 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809131332l1d07ff8ah7072f912e357782@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132016.10604.hselasky@c2i.net> <367b2c980809131332l1d07ff8ah7072f912e357782@mail.gmail.com> Message-ID: <200809132245.14748.hselasky@c2i.net> On Saturday 13 September 2008, Olivier SMEDTS wrote: > 2008/9/13 Hans Petter Selasky : > > BTW: If you do a SVN update now on my tree, it should be up to date with > > mpsafe TTY so usb2_serial should build fine. > > What are the needed patchs in order to build usb2_sound ? > I use latest HDA patchs from ariff. Hi, You need the following three additional patches: ==== src/sys/dev/sound/pcm/channel.c @@ -570,13 +570,26 @@ void chn_intr(struct pcm_channel *c) { - CHN_LOCK(c); + uint8_t do_unlock; + if (CHN_LOCK_OWNED(c)) { + /* + * Allow sound drivers to call this function with + * "CHN_LOCK()" locked: + */ + do_unlock = 0; + } else { + do_unlock = 1; + CHN_LOCK(c); + } c->interrupts++; if (c->direction == PCMDIR_PLAY) chn_wrintr(c); else chn_rdintr(c); - CHN_UNLOCK(c); + if (do_unlock) { + CHN_UNLOCK(c); + } + return; } u_int32_t ==== src/sys/dev/sound/pcm/channel.h @@ -258,11 +258,13 @@ #endif #ifdef USING_MUTEX +#define CHN_LOCK_OWNED(c) mtx_owned((struct mtx *)((c)->lock)) #define CHN_LOCK(c) mtx_lock((struct mtx *)((c)->lock)) #define CHN_UNLOCK(c) mtx_unlock((struct mtx *)((c)->lock)) #define CHN_TRYLOCK(c) mtx_trylock((struct mtx *)((c)->lock)) #define CHN_LOCKASSERT(c) mtx_assert((struct mtx *)((c)->lock), MA_OWNED) #else +#define CHN_LOCK_OWNED(c) 0 #define CHN_LOCK(c) #define CHN_UNLOCK(c) #define CHN_TRYLOCK(c) ==== //depot/vendor/freebsd/src/sys/dev/sound/pcm/mixer.c#41 (text+ko) - //depot/projects/usb/src/sys/dev/sound/pcm/mixer.c#11 (text+ko) ==== content @@ -589,7 +589,7 @@ KASSERT(m->type == MIXER_TYPE_SECONDARY, ("%s(): illegal mixer type=%d", __func__, m->type)); - snd_mtxlock(m->lock); + /* mixer uninit can sleep --hps */ MIXER_UNINIT(m); @@ -704,14 +704,24 @@ return EBUSY; } + /* destroy dev can sleep --hps */ + + snd_mtxunlock(m->lock); + pdev->si_drv1 = NULL; destroy_dev(pdev); + snd_mtxlock(m->lock); + for (i = 0; i < SOUND_MIXER_NRDEVICES; i++) mixer_set(m, i, 0); mixer_setrecsrc(m, SOUND_MASK_MIC); + snd_mtxunlock(m->lock); + + /* mixer uninit can sleep --hps */ + MIXER_UNINIT(m); snd_mtxfree(m->lock); @@ -1280,3 +1290,16 @@ return (EINVAL); } + +/* + * Allow the sound driver to use the mixer lock to protect its mixer + * data: + */ +struct mtx * +mixer_get_lock(struct snd_mixer *m) +{ + if (m->lock == NULL) { + return (&Giant); + } + return (m->lock); +} ==== src/sys/dev/sound/pcm/mixer.h @@ -56,6 +56,7 @@ u_int32_t mix_getparent(struct snd_mixer *m, u_int32_t dev); u_int32_t mix_getchild(struct snd_mixer *m, u_int32_t dev); void *mix_getdevinfo(struct snd_mixer *m); +struct mtx *mixer_get_lock(struct snd_mixer *m); extern int mixer_count; --HPS From olivier at gid0.org Sat Sep 13 23:47:02 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Sat Sep 13 23:47:09 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <200809132245.14748.hselasky@c2i.net> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132016.10604.hselasky@c2i.net> <367b2c980809131332l1d07ff8ah7072f912e357782@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> Message-ID: <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> Thanks for the patchs. I've got it working, no problem with my usb mouse and FAT32 formatted usb flash key. One glitch though : a warning in usb2_serial with latest CURRENT, which made gcc fail with -Werror : cc -O2 -pipe -march=native -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /work/src/sys/modules/usb2/serial/../../../dev/usb2/serial/usb2_serial.c cc1: warnings being treated as errors /work/src/sys/modules/usb2/serial/../../../dev/usb2/serial/usb2_serial.c: In function 'usb2_com_put_data': /work/src/sys/modules/usb2/serial/../../../dev/usb2/serial/usb2_serial.c:1043: warning: 'cnt' may be used uninitialized in this function I had to compile it without -Werror. Olivier 2008/9/13 Hans Petter Selasky : > On Saturday 13 September 2008, Olivier SMEDTS wrote: >> 2008/9/13 Hans Petter Selasky : >> > BTW: If you do a SVN update now on my tree, it should be up to date with >> > mpsafe TTY so usb2_serial should build fine. >> >> What are the needed patchs in order to build usb2_sound ? >> I use latest HDA patchs from ariff. > > Hi, > > You need the following three additional patches: > > ==== src/sys/dev/sound/pcm/channel.c > @@ -570,13 +570,26 @@ > void > chn_intr(struct pcm_channel *c) > { > - CHN_LOCK(c); > + uint8_t do_unlock; > + if (CHN_LOCK_OWNED(c)) { > + /* > + * Allow sound drivers to call this function with > + * "CHN_LOCK()" locked: > + */ > + do_unlock = 0; > + } else { > + do_unlock = 1; > + CHN_LOCK(c); > + } > c->interrupts++; > if (c->direction == PCMDIR_PLAY) > chn_wrintr(c); > else > chn_rdintr(c); > - CHN_UNLOCK(c); > + if (do_unlock) { > + CHN_UNLOCK(c); > + } > + return; > } > > u_int32_t > ==== src/sys/dev/sound/pcm/channel.h > @@ -258,11 +258,13 @@ > #endif > > #ifdef USING_MUTEX > +#define CHN_LOCK_OWNED(c) mtx_owned((struct mtx *)((c)->lock)) > #define CHN_LOCK(c) mtx_lock((struct mtx *)((c)->lock)) > #define CHN_UNLOCK(c) mtx_unlock((struct mtx *)((c)->lock)) > #define CHN_TRYLOCK(c) mtx_trylock((struct mtx *)((c)->lock)) > #define CHN_LOCKASSERT(c) mtx_assert((struct mtx *)((c)->lock), MA_OWNED) > #else > +#define CHN_LOCK_OWNED(c) 0 > #define CHN_LOCK(c) > #define CHN_UNLOCK(c) > #define CHN_TRYLOCK(c) > ==== //depot/vendor/freebsd/src/sys/dev/sound/pcm/mixer.c#41 (text+ko) - //depot/projects/usb/src/sys/dev/sound/pcm/mixer.c#11 (text+ko) ==== content > @@ -589,7 +589,7 @@ > KASSERT(m->type == MIXER_TYPE_SECONDARY, > ("%s(): illegal mixer type=%d", __func__, m->type)); > > - snd_mtxlock(m->lock); > + /* mixer uninit can sleep --hps */ > > MIXER_UNINIT(m); > > @@ -704,14 +704,24 @@ > return EBUSY; > } > > + /* destroy dev can sleep --hps */ > + > + snd_mtxunlock(m->lock); > + > pdev->si_drv1 = NULL; > destroy_dev(pdev); > > + snd_mtxlock(m->lock); > + > for (i = 0; i < SOUND_MIXER_NRDEVICES; i++) > mixer_set(m, i, 0); > > mixer_setrecsrc(m, SOUND_MASK_MIC); > > + snd_mtxunlock(m->lock); > + > + /* mixer uninit can sleep --hps */ > + > MIXER_UNINIT(m); > > snd_mtxfree(m->lock); > @@ -1280,3 +1290,16 @@ > > return (EINVAL); > } > + > +/* > + * Allow the sound driver to use the mixer lock to protect its mixer > + * data: > + */ > +struct mtx * > +mixer_get_lock(struct snd_mixer *m) > +{ > + if (m->lock == NULL) { > + return (&Giant); > + } > + return (m->lock); > +} > ==== src/sys/dev/sound/pcm/mixer.h > @@ -56,6 +56,7 @@ > u_int32_t mix_getparent(struct snd_mixer *m, u_int32_t dev); > u_int32_t mix_getchild(struct snd_mixer *m, u_int32_t dev); > void *mix_getdevinfo(struct snd_mixer *m); > +struct mtx *mixer_get_lock(struct snd_mixer *m); > > extern int mixer_count; > > > > > --HPS > -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From hselasky at c2i.net Sun Sep 14 00:20:40 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Sep 14 00:20:47 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> Message-ID: <200809140222.30008.hselasky@c2i.net> On Sunday 14 September 2008, Olivier SMEDTS wrote: > Thanks for the patchs. I've got it working, no problem with my usb > mouse and FAT32 formatted usb flash key. What does: dd if=/dev/da0 of=/dev/null bs=65535 Output for your memory stick? > I had to compile it without -Werror. > It is fixed now. There was a bug there. --HPS From olivier at gid0.org Sun Sep 14 00:44:54 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Sun Sep 14 00:45:01 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <200809140222.30008.hselasky@c2i.net> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> Message-ID: <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> 2008/9/14 Hans Petter Selasky : > What does: > > dd if=/dev/da0 of=/dev/null bs=65535 > > Output for your memory stick? [2:24] root@q 173 ~# dd if=/dev/da0 of=/dev/null bs=65535 dd: /dev/da0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000040 secs (0 bytes/sec) [2:24] root@q 174 ~# dd if=/dev/da0 of=/dev/null bs=64K 15480+0 records in 15480+0 records out 1014497280 bytes transferred in 106.596679 secs (9517157 bytes/sec) I'm copying files to it (mount -t msdosfs) at a speed of 4MB/s. Is there a way to know which ports handle USB2.0 (EHCI), and devices wattage (like with the usbdevs command) ? Before usb2, I had the following kernel output : usb0: on uhci0 usb0: USB revision 1.0 usb1: on uhci1 usb1: USB revision 1.0 usb2: on uhci2 usb2: USB revision 1.0 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 The line "companion controllers, 2 ports each: usb0 usb1 usb2" was quite useful. Any way, I'm running GIANT-free now :) Great work ! -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From olivier at gid0.org Sun Sep 14 00:50:28 2008 From: olivier at gid0.org (Olivier SMEDTS) Date: Sun Sep 14 00:50:34 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <200809140222.30008.hselasky@c2i.net> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> Message-ID: <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> 2008/9/14 Hans Petter Selasky : > What does: > > dd if=/dev/da0 of=/dev/null bs=65535 > > Output for your memory stick? Not related, I did not notice before, the device seems to read the first sectors slower : [2:45] root@q 206 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=10000 100+0 records in 100+0 records out 6553600 bytes transferred in 0.688921 secs (9512847 bytes/sec) [2:46] root@q 207 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=1000 100+0 records in 100+0 records out 6553600 bytes transferred in 0.688662 secs (9516427 bytes/sec) [2:46] root@q 208 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.687537 secs (9531997 bytes/sec) [2:46] root@q 209 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=10 100+0 records in 100+0 records out 6553600 bytes transferred in 0.722788 secs (9067111 bytes/sec) [2:46] root@q 210 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 skip=1 100+0 records in 100+0 records out 6553600 bytes transferred in 0.753043 secs (8702821 bytes/sec) [2:46] root@q 211 /work/i4b/trunk# dd if=/dev/da0 of=/dev/null bs=65536 count=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.757550 secs (8651046 bytes/sec) -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From hselasky at c2i.net Sun Sep 14 02:48:54 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Sep 14 02:49:01 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> Message-ID: <200809140450.43940.hselasky@c2i.net> On Saturday 13 September 2008, Torfinn Ingolfsen wrote: > On Sat, 13 Sep 2008 14:22:20 +0200 > > Matthias Apitz wrote: > > Concerning accessing the Openmoko through USB I thought that this is > > possible, at least the Openmoko's Wiki says this: > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD > > Yes, this is possible. When I plug in my Neo FreeRunner into this > FreeeBSD workstation, I get this in /var/log/messages: > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product > 0x5122 bus uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: 2.6.24/s3c2410_udc RNDIS/Ethernet Gadget, class 2/0, rev 2.00/2.12, addr 2> > on uhub1 Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 > 20:36:15 kg-work2 kernel: cdce0: Ethernet address: 2a:fd:05:61:9b:00 > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant > Hi, I figured it it now: My new USB stack selects configuration index 0 first, which is RNDIS. When I ran: usbconfig -u 2 -a 2 set_config 1 I got: cdce0: on usbus2 cdce0: Ethernet address: 5a:a0:96:da:00:00 --HPS From hselasky at c2i.net Sun Sep 14 02:54:53 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Sep 14 02:54:59 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> <367b2c980809131744k6e76f862t104af653c5214ae2@mail.gmail.com> Message-ID: <200809140456.43055.hselasky@c2i.net> On Sunday 14 September 2008, Olivier SMEDTS wrote: > 2008/9/14 Hans Petter Selasky : > > What does: > > > > dd if=/dev/da0 of=/dev/null bs=65535 > > > > Output for your memory stick? > > [2:24] root@q 173 ~# dd if=/dev/da0 of=/dev/null bs=65535 > dd: /dev/da0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000040 secs (0 bytes/sec) > [2:24] root@q 174 ~# dd if=/dev/da0 of=/dev/null bs=64K > 15480+0 records in > 15480+0 records out > 1014497280 bytes transferred in 106.596679 secs (9517157 bytes/sec) > > I'm copying files to it (mount -t msdosfs) at a speed of 4MB/s. > > > Is there a way to know which ports handle USB2.0 (EHCI), and devices > wattage (like with the usbdevs command) ? Before usb2, I had the > following kernel output : Hi, The wattage can be read from the device descriptor. See "bMaxPower" or something like that, which uses 2mA units. I just added a "usbconfig" utility to my SVN repository. The output can probably be better and comments are welcome. The companion printouts are gone :-( --HPS From peterjeremy at optushome.com.au Sun Sep 14 04:38:28 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sun Sep 14 04:38:36 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <200809132245.14748.hselasky@c2i.net> <367b2c980809131646n2b5bd8e9gc44a22147dacbd5@mail.gmail.com> <200809140222.30008.hselasky@c2i.net> <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> Message-ID: <20080914043818.GT15376@server.vk2pj.dyndns.org> On 2008-Sep-14 02:50:25 +0200, Olivier SMEDTS wrote: >2008/9/14 Hans Petter Selasky : >> What does: >> >> dd if=/dev/da0 of=/dev/null bs=65535 >> >> Output for your memory stick? I thought you needed to do IO in multiples of the blocksize - which 65535 is unlikely to be. >Not related, I did not notice before, the device seems to read the >first sectors slower : This may be related to the magic wear-levelling algorithm in your stick - the first few sectors are more critical and presumably have more error detection and correction overheads. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20080914/a496e5f3/attachment.pgp From hselasky at c2i.net Sun Sep 14 10:45:24 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Sep 14 10:45:32 2008 Subject: new usb2 stack : -current patch with mpsafe tty layer available ? In-Reply-To: <20080914043818.GT15376@server.vk2pj.dyndns.org> References: <367b2c980809121246j16fba781s29c0da806f555ebe@mail.gmail.com> <367b2c980809131750gaa617cfp223f8bf9a5016e88@mail.gmail.com> <20080914043818.GT15376@server.vk2pj.dyndns.org> Message-ID: <200809141247.13633.hselasky@c2i.net> On Sunday 14 September 2008, Peter Jeremy wrote: > On 2008-Sep-14 02:50:25 +0200, Olivier SMEDTS wrote: > >2008/9/14 Hans Petter Selasky : > >> What does: > >> > >> dd if=/dev/da0 of=/dev/null bs=65535 > >> > >> Output for your memory stick? Hi Peter, > > I thought you needed to do IO in multiples of the blocksize - which > 65535 is unlikely to be. You are right: Should be 65536, but I think the CAM layer will handle that. Blocksize is typically 512 bytes for USB sticks. > > >Not related, I did not notice before, the device seems to read the > >first sectors slower : > --HPS From bugmaster at FreeBSD.org Mon Sep 15 15:18:57 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 15 15:21:19 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200809151518.m8FFIvS1019065@freefall.freebsd.org> 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/127342 usb cannot enable usb keyboard and mouse support in the bi o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af 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 [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l 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 Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod 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 Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card 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 Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) 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 [patch] uscanner does not attach to Epson RX620 printe 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] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o 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 Kernel panic when forced umount of a dettached USB Har 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei 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/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 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 o 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 s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um 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/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N 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 HP printer is not detected by kernel when ACPI ena 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] 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] [patch] [request] usbhidctl: add ability t 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 f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on 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 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 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 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 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 a 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 o bin/57255 usb 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 conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 277 problems total. From hselasky at c2i.net Mon Sep 15 20:27:39 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Mon Sep 15 20:27:45 2008 Subject: "legacy" usb stack fixes In-Reply-To: <20080913170845.GT1147@cicely7.cicely.de> References: <200809112044.43749.hselasky@c2i.net> <48CB3D09.4050908@elischer.org> <20080913170845.GT1147@cicely7.cicely.de> Message-ID: <200809152229.28590.hselasky@c2i.net> Hi, Please find a link to my implementation. Panics when unplugging USB Mass Storage Devices is now a thing of the past, I hope. Any comments ? http://perforce.freebsd.org/chv.cgi?CH=149821 --HPS From scottl at samsco.org Mon Sep 15 21:32:27 2008 From: scottl at samsco.org (Scott Long) Date: Mon Sep 15 21:32:39 2008 Subject: "legacy" usb stack fixes In-Reply-To: <200809152229.28590.hselasky@c2i.net> References: <200809112044.43749.hselasky@c2i.net> <48CB3D09.4050908@elischer.org> <20080913170845.GT1147@cicely7.cicely.de> <200809152229.28590.hselasky@c2i.net> Message-ID: <48CED452.6020709@samsco.org> Hans Petter Selasky wrote: > Hi, > > Please find a link to my implementation. Panics when unplugging USB Mass > Storage Devices is now a thing of the past, I hope. Any comments ? > > http://perforce.freebsd.org/chv.cgi?CH=149821 > > --HPS So you're sticking with a SIM per umass target, and adding a global lock? Scott From hselasky at c2i.net Tue Sep 16 07:35:31 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Sep 16 07:35:38 2008 Subject: "legacy" usb stack fixes In-Reply-To: <48CED452.6020709@samsco.org> References: <200809112044.43749.hselasky@c2i.net> <200809152229.28590.hselasky@c2i.net> <48CED452.6020709@samsco.org> Message-ID: <200809160937.17718.hselasky@c2i.net> On Monday 15 September 2008, Scott Long wrote: > Hans Petter Selasky wrote: > > Hi, > > > > Please find a link to my implementation. Panics when unplugging USB Mass > > Storage Devices is now a thing of the past, I hope. Any comments ? > > > > http://perforce.freebsd.org/chv.cgi?CH=149821 > > > > --HPS > > So you're sticking with a SIM per umass target, and adding a global lock? > Yes, and I don't free the SIM until unloading the "umass" module. --HPS From guru at unixarea.de Tue Sep 16 10:44:05 2008 From: guru at unixarea.de (Matthias Apitz) Date: Tue Sep 16 10:44:11 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> Message-ID: <20080916103159.GA17166@rebelion.Sisis.de> El d?a Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn Ingolfsen escribi?: > On Sat, 13 Sep 2008 14:22:20 +0200 > Matthias Apitz wrote: > > > Concerning accessing the Openmoko through USB I thought that this is > > possible, at least the Openmoko's Wiki says this: > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD > > Yes, this is possible. When I plug in my Neo FreeRunner into this > FreeeBSD workstation, I get this in /var/log/messages: > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub1 > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 20:36:15 kg-work2 kernel: cdce0: Ethernet address: > 2a:fd:05:61:9b:00 > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant ... To prepare things a bit while still waiting for my Openmoko Gadget, I've pulled out 'dfu-util' from SVN as described in the Openmoko Wiki: http://wiki.openmoko.org/wiki/Dfu-util $ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/ $ cd dfu-util $ ./autogen.sh $ ./configure $ make but it does not compile because of missing header files: main.c:29:22: error: byteswap.h: No such file or directory main.c:30:20: error: endian.h: No such file or directory before digging into the details, is there already a port of 'dfu-util' to FreeBSD? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows From imp at bsdimp.com Tue Sep 16 11:00:55 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Tue Sep 16 11:03:31 2008 Subject: Openmoko phones and USB on FreeBSD In-Reply-To: <20080916103159.GA17166@rebelion.Sisis.de> References: <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> <20080916103159.GA17166@rebelion.Sisis.de> Message-ID: <20080916.045915.117918889.imp@bsdimp.com> In message: <20080916103159.GA17166@rebelion.Sisis.de> Matthias Apitz writes: : El d?a Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn Ingolfsen escribi?: : : > On Sat, 13 Sep 2008 14:22:20 +0200 : > Matthias Apitz wrote: : > : > > Concerning accessing the Openmoko through USB I thought that this is : > > possible, at least the Openmoko's Wiki says this: : > > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD : > : > Yes, this is possible. When I plug in my Neo FreeRunner into this : > FreeeBSD workstation, I get this in /var/log/messages: : > Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub1 : > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 : > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 20:36:15 kg-work2 kernel: cdce0: Ethernet address: : > 2a:fd:05:61:9b:00 : > Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant : : ... : : To prepare things a bit while still waiting for my Openmoko Gadget, I've : pulled out 'dfu-util' from SVN as described in the Openmoko Wiki: : : http://wiki.openmoko.org/wiki/Dfu-util : : $ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/ : $ cd dfu-util : $ ./autogen.sh : $ ./configure : $ make : : but it does not compile because of missing header files: : : main.c:29:22: error: byteswap.h: No such file or directory : main.c:30:20: error: endian.h: No such file or directory : : before digging into the details, is there already a port of 'dfu-util' : to FreeBSD? Looks like somebody didn't do their homework right: and are Linuxisms not protected by proper autoconf goo. Warner From mcvd at argentina.com Tue Sep 16 17:00:07 2008 From: mcvd at argentina.com (Michiel) Date: Tue Sep 16 17:01:21 2008 Subject: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 Message-ID: <200809161655.m8GGtEY6070507@www.freebsd.org> >Number: 127423 >Category: usb >Synopsis: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 17:00:06 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Michiel >Release: 6.3 >Organization: >Environment: Not possible, machine halts during boot >Description: When I try to boot the machine from a USB stick with FreeBSD 6.3 on it, I get a dump and the message BTX halted. Tried both x32 and AMD64 version, both crash. This is the dump (x32 version, haven't written down message of the AMD64 version, could be the same): int=0000000d err=00000000 eff=00030046 eip=00003e9f eax=00000900 ebx=000055aa ecx=00000000 edx=00000180 esi=00000000 edi=00000000 ebp=000003f0 esp=000003d8 cs=f000 ds=9e02 es=1400 fs=0000 gs=0000 ss=9e02 cs:eip=2e 0f 01 16 28 3f 0f 20-c0 0c 01 0f 22 c0 b8 20 00 8e d8 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=02 9e 00 00 5f 36 01 41-00 14 02 9e 36 9e 0f 08 00 00 46 02 80 01 3a 07-10 00 01 00 00 00 00 14 Connected to the Gigabyte GA-MA69VM-S2 mainboard are 2 Western Digital PATA harddisks and 1 Samsung SATA harddisk. Memory is 1 stick of 1 GB DDR2. >How-To-Repeat: Boot machine with FreeBSD on USB stick. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From rink at FreeBSD.org Tue Sep 16 17:20:04 2008 From: rink at FreeBSD.org (Rink Springer) Date: Tue Sep 16 17:20:10 2008 Subject: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 Message-ID: <200809161720.m8GHK4bQ012435@freefall.freebsd.org> The following reply was made to PR usb/127423; it has been noted by GNATS. From: Rink Springer To: Michiel Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/127423: BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempron LE-1250 Date: Tue, 16 Sep 2008 19:15:09 +0200 Hi Michiel, On Tue, Sep 16, 2008 at 04:55:14PM +0000, Michiel wrote: > Boot machine with FreeBSD on USB stick. This is a known issue - it should be fixed in the upcoming 7.1 release. Can you try a recent 7-STABLE to confirm? Thanks, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From yerenkow at uct.ua Wed Sep 17 10:01:14 2008 From: yerenkow at uct.ua (A.Y.) Date: Wed Sep 17 10:01:26 2008 Subject: Genius g-pen 4500 Message-ID: <48D0CF9F.2080700@uct.ua> I'm using 7-stable; Genius g-pen 4500 is a USB-device, DIGITIZER actually. It's detected as stalled and disabled device; xorg input driver wizardpen compiles succesfully under freebsd; this driver is compatible with device under linux. So i wonder, could I change detection rules of this device, so device wouldn't be stalled and disabled via some conf files, or tweaking usb-source code? Or should I wait for new usb-stack? Thank you. From linimon at FreeBSD.org Thu Sep 18 03:18:47 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Thu Sep 18 03:18:59 2008 Subject: usb/127453: [request] ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser Message-ID: <200809180318.m8I3Ild5046452@freefall.freebsd.org> Old Synopsis: ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser New Synopsis: [request] ubsa, uark, ubser, uftdi, and friends should all be put in one big bag, usbser State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Thu Sep 18 03:18:03 UTC 2008 State-Changed-Why: Probably going to become irrelevant when the new USB stack comes in. Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Sep 18 03:18:03 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=127453 From olivier at gid0.org Fri Sep 19 15:20:15 2008 From: olivier at gid0.org (Olivier Smedts) Date: Fri Sep 19 15:20:24 2008 Subject: [usb2] new usb stack and suser in CURRENT Message-ID: <20080919145320.GA2444@q.gid0.org> Since the suser interface has been removed from HEAD (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) I use the following patch to use the new usb2 stack with latest CURRENT. Of course, PRIV_ROOT is not the right one to use, see include/sys/priv.h. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From olivier at gid0.org Fri Sep 19 15:34:38 2008 From: olivier at gid0.org (Olivier Smedts) Date: Fri Sep 19 15:34:42 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: <20080919145320.GA2444@q.gid0.org> References: <20080919145320.GA2444@q.gid0.org> Message-ID: <20080919153415.GA1178@q.gid0.org> On Fri, Sep 19, 2008 at 04:53:22PM +0200, Olivier Smedts wrote: > Since the suser interface has been removed from HEAD > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) > I use the following patch to use the new usb2 stack with > latest CURRENT. Of course, PRIV_ROOT is not the right one to use, > see include/sys/priv.h. Attachment seems to have been removed. Retrying with a different content-type and disposition (mutt is so great). -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier at gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." -------------- next part -------------- Index: i4b/src/sys/dev/usb2/core/usb2_dev.c =================================================================== --- i4b/src/sys/dev/usb2/core/usb2_dev.c (r?vision 880) +++ i4b/src/sys/dev/usb2/core/usb2_dev.c (copie de travail) @@ -262,7 +262,7 @@ int error; /* only super-user can set permissions */ - error = suser(curthread); + error = priv_check(curthread, PRIV_ROOT); if (error) { return (error); } Index: i4b/src/sys/dev/usb2/core/usb2_generic.c =================================================================== --- i4b/src/sys/dev/usb2/core/usb2_generic.c (r?vision 880) +++ i4b/src/sys/dev/usb2/core/usb2_generic.c (copie de travail) @@ -878,7 +878,7 @@ (req->bRequest == UR_SET_CONFIG)) || ((req->bmRequestType == UT_WRITE_INTERFACE) && (req->bRequest == UR_SET_INTERFACE))) { - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } } @@ -887,7 +887,7 @@ * not update the data toggle value in "struct usb2_pipe" ! */ if (req->bmRequestType == UT_WRITE_ENDPOINT) { - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } } @@ -946,7 +946,7 @@ /* control endpoint only */ return (EINVAL); } - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } mtx_lock(f->priv_mtx); @@ -1738,7 +1738,7 @@ (udev->parent_hub == NULL)) { return (EINVAL); } - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } switch (mode) { @@ -1805,7 +1805,7 @@ struct usb2_hub *hub; int err; - if (suser(curthread)) { + if (priv_check(curthread, PRIV_ROOT)) { return (EPERM); } if (port_no == 0) { @@ -2115,7 +2115,7 @@ case USB_IFACE_DRIVER_DETACH: /* TODO */ - if (suser(curthread)) + if (priv_check(curthread, PRIV_ROOT)) error = EPERM; else error = EINVAL; From aragon at phat.za.net Sat Sep 20 03:10:23 2008 From: aragon at phat.za.net (Aragon Gouveia) Date: Sat Sep 20 03:10:27 2008 Subject: host controller process error Message-ID: <20080920024721.GA87570@phat.za.net> Hi, On a 3 month old 7.0-STABLE system I find myself occasionally experiencing this: Sep 18 01:02:47 igor kernel: usb2: host controller process error Sep 18 01:02:47 igor kernel: usb2: host controller halted My only permanently attached USB devices are my keyboard and mouse. It's happened most frequently on the bus to which my mouse is attached. It's been completely random so far - it'll happen for no apparent reason while I'm using my workstation, particularly the mouse. The only workaround I've found so far is to reboot or plug the affected device(s) into a different USB port. Any ideas if this is a hardware issue or a software bug? Anyone have suggestions to try reproduce the problem? Any point even spending time on this with USB2 'round the corner? Thanks, Aragon From hselasky at c2i.net Sat Sep 20 08:57:35 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 20 08:57:39 2008 Subject: host controller process error In-Reply-To: <20080920024721.GA87570@phat.za.net> References: <20080920024721.GA87570@phat.za.net> Message-ID: <200809201059.28343.hselasky@c2i.net> On Saturday 20 September 2008, Aragon Gouveia wrote: > Hi, > > On a 3 month old 7.0-STABLE system I find myself occasionally experiencing > this: > > Sep 18 01:02:47 igor kernel: usb2: host controller process > error Sep 18 01:02:47 igor kernel: usb2: host controller halted > > My only permanently attached USB devices are my keyboard and mouse. It's > happened most frequently on the bus to which my mouse is attached. It's > been completely random so far - it'll happen for no apparent reason while > I'm using my workstation, particularly the mouse. The only workaround I've > found so far is to reboot or plug the affected device(s) into a different > USB port. > > Any ideas if this is a hardware issue or a software bug? Anyone have > suggestions to try reproduce the problem? Any point even spending time on > this with USB2 'round the corner? > What kind of CPU are you using? --HPS From intron at intron.ac Sat Sep 20 09:36:36 2008 From: intron at intron.ac (Intron is my alias on the Internet) Date: Sat Sep 20 09:36:51 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: <20080919153415.GA1178@q.gid0.org> References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> Message-ID: olivier wrote: > On Fri, Sep 19, 2008 at 04:53:22PM +0200, Olivier Smedts wrote: >> Since the suser interface has been removed from HEAD >> (http://www.freebsd.org/cgi/getmsg.cgi?fetch=284102+0+current/cvs-src) >> I use the following patch to use the new usb2 stack with >> latest CURRENT. Of course, PRIV_ROOT is not the right one to use, >> see include/sys/priv.h. > > Attachment seems to have been removed. Retrying with a different content-type > and disposition (mutt is so great). > > -- > Olivier Smedts _ > ASCII ribbon campaign ( ) > e-mail: olivier at gid0.org - against HTML email & vCards X > www: http://www.gid0.org - against proprietary attachments / \ > > "Il y a seulement 10 sortes de gens dans le monde : > ceux qui comprennent le binaire, > et ceux qui ne le comprennent pas." > -------------- next part -------------- > Index: i4b/src/sys/dev/usb2/core/usb2_dev.c > =================================================================== > --- i4b/src/sys/dev/usb2/core/usb2_dev.c (r?vision 880) > +++ i4b/src/sys/dev/usb2/core/usb2_dev.c (copie de travail) > @@ -262,7 +262,7 @@ > int error; > > /* only super-user can set permissions */ > - error = suser(curthread); > + error = priv_check(curthread, PRIV_ROOT); > if (error) { > return (error); > } > Index: i4b/src/sys/dev/usb2/core/usb2_generic.c > =================================================================== > --- i4b/src/sys/dev/usb2/core/usb2_generic.c (r?vision 880) > +++ i4b/src/sys/dev/usb2/core/usb2_generic.c (copie de travail) > @@ -878,7 +878,7 @@ > (req->bRequest == UR_SET_CONFIG)) || > ((req->bmRequestType == UT_WRITE_INTERFACE) && > (req->bRequest == UR_SET_INTERFACE))) { > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > } > @@ -887,7 +887,7 @@ > * not update the data toggle value in "struct usb2_pipe" ! > */ > if (req->bmRequestType == UT_WRITE_ENDPOINT) { > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > } > @@ -946,7 +946,7 @@ > /* control endpoint only */ > return (EINVAL); > } > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > mtx_lock(f->priv_mtx); > @@ -1738,7 +1738,7 @@ > (udev->parent_hub == NULL)) { > return (EINVAL); > } > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > switch (mode) { > @@ -1805,7 +1805,7 @@ > struct usb2_hub *hub; > int err; > > - if (suser(curthread)) { > + if (priv_check(curthread, PRIV_ROOT)) { > return (EPERM); > } > if (port_no == 0) { > @@ -2115,7 +2115,7 @@ > > case USB_IFACE_DRIVER_DETACH: > /* TODO */ > - if (suser(curthread)) > + if (priv_check(curthread, PRIV_ROOT)) > error = EPERM; > else > error = EINVAL; > Maybe PRIV_DRIVER is a more appropriate one for this case. ------------------------------------------------------------------------ From Beijing, China From intron at intron.ac Sat Sep 20 10:04:26 2008 From: intron at intron.ac (Intron is my alias on the Internet) Date: Sat Sep 20 10:04:30 2008 Subject: Which Userland Interface for USB Video Class Driver? Message-ID: I would write/port a driver for USB video class for FreeBSD's new USB stack (usb2). OpenBSD and NetBSD both has had their own implementations for the device class as some people referred to recently. But which userland interface, bktr(4) or V4L2, should I use for the driver? I have noticed that Julian has done some work for V4L2: http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/julian/julian%5fv4l/sys/dev/video/framework&HIDEDEL=NO But I wonder how soon Julian's code can be committed into the main source tree. I wouldn't see the driver sleeps outside the main source tree. ------------------------------------------------------------------------ From Beijing, China From hselasky at c2i.net Sat Sep 20 13:03:19 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 20 13:03:24 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> Message-ID: <200809201505.07947.hselasky@c2i.net> Hi, > > Maybe PRIV_DRIVER is a more appropriate one for this case. > This issue has been fixed now in (SVN + P4). Some places PRIV_DRIVER has been used. Most places PRIV_ROOT is used, because we need specific USB privileges in these cases, for example related to USB power management. --HPS From intron at intron.ac Sat Sep 20 13:59:12 2008 From: intron at intron.ac (Intron is my alias on the Internet) Date: Sat Sep 20 13:59:19 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: <200809201505.07947.hselasky@c2i.net> References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> <200809201505.07947.hselasky@c2i.net> Message-ID: How soon will the new USB stack be committed to the main source tree? Since it can peacefully co-exist with the old one in a source tree, why not commit it at once? For a driver writer/porter, a "standard" version of the new USB stack is needed for compiling/debugging. ------------------------------------------------------------------------ From Beijing, China Hans Petter Selasky ??: > Hi, > >> >> Maybe PRIV_DRIVER is a more appropriate one for this case. >> > > This issue has been fixed now in (SVN + P4). Some places PRIV_DRIVER has been > used. Most places PRIV_ROOT is used, because we need specific USB privileges > in these cases, for example related to USB power management. > > --HPS From rink at FreeBSD.org Sat Sep 20 17:08:27 2008 From: rink at FreeBSD.org (Rink Springer) Date: Sat Sep 20 17:08:30 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: References: <20080919145320.GA2444@q.gid0.org> <20080919153415.GA1178@q.gid0.org> <200809201505.07947.hselasky@c2i.net> Message-ID: <20080920171021.GA42549@rink.nu> On Sat, Sep 20, 2008 at 09:59:09PM +0800, Intron is my alias on the Internet wrote: > How soon will the new USB stack be committed to the main source tree? > Since it can peacefully co-exist with the old one in a source tree, > why not commit it at once? > For a driver writer/porter, a "standard" version of the new USB stack > is needed for compiling/debugging. The main problem was that the new stack would be imported just days after the new TTY layer was committed, which caused a lot of resistance (which makes sense, as debugging problems would become much harder). I believe Alfred, who would be doing the import, went on vacation a few weeks after. Personally, since we have the new TTY layer for some time now, I think it would be good if Alfred (CC'ed) would attempt to request this import again, if his time permits. Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From aragon at phat.za.net Sat Sep 20 20:28:39 2008 From: aragon at phat.za.net (Aragon Gouveia) Date: Sat Sep 20 20:28:43 2008 Subject: host controller process error In-Reply-To: <200809201059.28343.hselasky@c2i.net> References: <20080920024721.GA87570@phat.za.net> <200809201059.28343.hselasky@c2i.net> Message-ID: <20080920202836.GB55292@phat.za.net> Hi, | By Hans Petter Selasky | [ 2008-09-20 10:57 +0200 ] > What kind of CPU are you using? Core 2 Duo E8500. Full dmesg attached too. :) Thanks, Aragon Copyright (c) 1992-2008 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 7.0-STABLE #5: Thu May 15 21:13:01 SAST 2008 root@igor.geek.sh:/usr/obj/usr/src/sys/IGOR Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (3185.31-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 8509808640 (8115 MB) avail memory = 8225095680 (7844 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 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 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est0: Setting 3163 MHz p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est1: Setting 3163 MHz p4tcc1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x2000-0x20ff mem 0xd0000000-0xdfffffff,0xe0200000-0xe020ffff irq 16 at device 0.0 on pci1 pci1: at device 0.1 (no driver attached) pci0: at device 3.0 (no driver attached) em0: port 0x3400-0x341f mem 0xe0300000-0xe031ffff,0xe0324000-0xe0324fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: Ethernet address: 00:1c:c0:30:9b:91 em0: [FILTER] uhci0: port 0x30e0-0x30ff irq 18 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 0x30c0-0x30df irq 21 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 uhci2: port 0x30a0-0x30bf irq 17 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe0325c00-0xe0325fff irq 17 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pci0: at device 27.0 (no driver attached) pcib2: at device 28.0 on pci0 pci2: on pcib2 pcib3: at device 28.1 on pci0 pci3: on pcib3 atapci0: port 0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f mem 0xe0100000-0xe01001ff irq 17 at device 0.0 on pci3 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] pcib4: at device 28.2 on pci0 pci4: on pcib4 pcib5: at device 28.3 on pci0 pci5: on pcib5 pcib6: at device 28.4 on pci0 pci6: on pcib6 uhci3: port 0x3080-0x309f irq 23 at device 29.0 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 0x3060-0x307f irq 19 at device 29.1 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 uhci5: port 0x3040-0x305f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xe0325800-0xe0325bff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered pcib7: at device 30.0 on pci0 pci7: on pcib7 pci7: at device 3.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x3428-0x342f,0x3434-0x3437,0x3420-0x3427,0x3430-0x3433,0x3020-0x303f mem 0xe0325000-0xe03257ff irq 21 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.20 controller with 6 ports detected ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] ata7: on atapci1 ata7: [ITHREAD] ata8: on atapci1 ata8: [ITHREAD] pci0: at device 31.3 (no driver attached) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 ums0: on uhub2 ums0: 5 buttons and Z dir. ugen0: on uhub6 Timecounters tick every 1.000 msec acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDR at ata2-master UDMA33 ad6: 715404MB at ata3-master SATA300 ad8: 715404MB at ata4-master SATA300 SMP: AP CPU #1 Launched! From hselasky at c2i.net Sat Sep 20 20:44:26 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Sep 20 20:44:29 2008 Subject: host controller process error In-Reply-To: <20080920202836.GB55292@phat.za.net> References: <20080920024721.GA87570@phat.za.net> <200809201059.28343.hselasky@c2i.net> <20080920202836.GB55292@phat.za.net> Message-ID: <200809202246.15796.hselasky@c2i.net> On Saturday 20 September 2008, Aragon Gouveia wrote: > Hi, > > | By Hans Petter Selasky > | [ 2008-09-20 10:57 +0200 ] > | > > What kind of CPU are you using? > > Core 2 Duo E8500. Full dmesg attached too. :) > > > Thanks, > Aragon Hi, It is not very common, but I think I remember that sometimes the ukbd driver gets called without Giant locked, which I have documented. And there is no check for this in the old USB stack. Maybe there is a race there. Do you see the same problem when you force single CPU? --HPS From imp at bsdimp.com Sun Sep 21 03:24:14 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Sun Sep 21 03:24:17 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: <20080920171021.GA42549@rink.nu> References: <200809201505.07947.hselasky@c2i.net> <20080920171021.GA42549@rink.nu> Message-ID: <20080920.212458.1649778615.imp@bsdimp.com> In message: <20080920171021.GA42549@rink.nu> Rink Springer writes: : On Sat, Sep 20, 2008 at 09:59:09PM +0800, Intron is my alias on the Internet wrote: : > How soon will the new USB stack be committed to the main source tree? : > Since it can peacefully co-exist with the old one in a source tree, : > why not commit it at once? : > For a driver writer/porter, a "standard" version of the new USB stack : > is needed for compiling/debugging. : : The main problem was that the new stack would be imported just days : after the new TTY layer was committed, which caused a lot of resistance : (which makes sense, as debugging problems would become much harder). I : believe Alfred, who would be doing the import, went on vacation a few : weeks after. This timeline isn't quite right. The concerns over the new TTY drivers and usb weren't relevant. There were a number of other issues that ran out the clock for Alfred's free time to commit this before his vacation. After he got back, he hasn't had the time to commit. I personally said I'd deal with the new TTY layer and usb (at least ucom). I fixed a few nits that ed overlooked in a couple devices he didn't have in the old stack. : Personally, since we have the new TTY layer for some time now, I think : it would be good if Alfred (CC'ed) would attempt to request this import : again, if his time permits. I'd like to see this. I know he's very busy at work, but hope he has some time to cope with this. I'd do it, but all my FreeBSD time these days is booked up with MIPS, ARM and a paper for EuroBSDCon. Warner From u2227 at academ.org Sun Sep 21 08:40:01 2008 From: u2227 at academ.org (yakov) Date: Sun Sep 21 08:40:04 2008 Subject: usb/127516: after csup src-all RELENG_7 Message-ID: <200809210839.m8L8d0RK022483@www.freebsd.org> >Number: 127516 >Category: usb >Synopsis: after csup src-all RELENG_7 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 21 08:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: yakov >Release: RELENG_7 >Organization: >Environment: sorry can't provude uname -a, not without mouse.. but csup was made September 21 2008, TAG=RELENG_7 >Description: moused -t auto -p /dev/ums1 or simply moused -p /dev/ums1 Segmentation fault but /ums0 is there, I can cat /dev/ums1 them move mouse and see some output. I tried "gdb moused" "run /dev/ums1" after the crash "bt" reported last function was in glibc, a second was in kld are somewhere, I believe "kldquery" or something. if needed I can reboot and repeat debugging and send full outputs. maybe I need to rebuild kernel with symbolic support though and I am not sure how to do that. I also have ums0, but that's a joystick builtin in the usb keyboard. moused /dev/ums0 crashes as well. I tried -d -f to moused, got no difference. tried different mouse types, same crash. motherboard: ASUS P5W DH DELUXE quite generic usb mouse logitec 5 years old btc wireless usb keyboard with builtin mouse, maybe it has something to do with the bug? >How-To-Repeat: just type "moused /dev/ums1" or "moused /dev/ums0" >Fix: use older kernel. >Release-Note: >Audit-Trail: >Unformatted: From bugmaster at FreeBSD.org Mon Sep 22 11:07:06 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 22 11:07:57 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200809221107.m8MB75VQ015543@freefall.freebsd.org> 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/127516 usb after csup src-all RELENG_7 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] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af 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 [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l 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 Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod 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 Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card 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 Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) 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 [patch] uscanner does not attach to Epson RX620 printe 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] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o 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 Kernel panic when forced umount of a dettached USB Har 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei 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/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 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 o 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 s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um 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/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N 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 HP printer is not detected by kernel when ACPI ena 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] 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] [patch] [request] usbhidctl: add ability t 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 f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on 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 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 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 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 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 a 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 o bin/57255 usb 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 conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 280 problems total. From gavin at FreeBSD.org Mon Sep 22 15:30:03 2008 From: gavin at FreeBSD.org (Gavin Atkinson) Date: Mon Sep 22 15:30:09 2008 Subject: usb/127543: [patch] [ubsa] Support Option Globetrotter HSDPA modem Message-ID: <200809221453.m8MErXZe043745@blade32.york.ac.uk> >Number: 127543 >Category: usb >Synopsis: [patch] [ubsa] Support Option Globetrotter HSDPA modem >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: Mon Sep 22 15:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gavin Atkinson >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD blade32.york.ac.uk 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Aug 18 14:12:25 BST 2008 root@blade32.york.ac.uk:/usr/obj/usr/src/sys/B32 amd64 >Description: Add support for the USB HSDPA modem found in the Sony VGN-TZ31WN laptop, amongst others. >How-To-Repeat: N/A >Fix: Note that I've taken the name "Scorpion" from the Linux driver, which also contains a multitude of other product IDs we may want to port across wholesale. Note also that this patch is against -HEAD but has actually only been tested against RELENG_7. I don't believe there are any changes between the two that would mean this didn't work on -HEAD, however. --- hsdpa.diff begins here --- Index: src/sys/dev/usb/ubsa.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/ubsa.c,v retrieving revision 1.40 diff -u -r1.40 ubsa.c --- src/sys/dev/usb/ubsa.c 14 Sep 2008 15:21:22 -0000 1.40 +++ src/sys/dev/usb/ubsa.c 22 Sep 2008 12:49:27 -0000 @@ -238,6 +238,8 @@ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS }, /* Option GlobeTrotter Max 3.6 */ { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX36 }, + /* Option GlobeTrotter HSDPA */ + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_SCORPION }, /* Huawei Mobile */ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E270 }, Index: src/sys/dev/usb/usbdevs =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.372 diff -u -r1.372 usbdevs --- src/sys/dev/usb/usbdevs 19 Sep 2008 09:04:06 -0000 1.372 +++ src/sys/dev/usb/usbdevs 22 Sep 2008 12:49:27 -0000 @@ -1871,6 +1871,7 @@ product OPTION GT3GQUAD 0x6300 GlobeTrotter 3G QUAD datacard product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem +product OPTION SCORPION 0x6901 GlobeTrotter HSDPA Modem /* OQO */ product OQO WIFI01 0x0002 model 01 WiFi interface --- hsdpa.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From freebsd.alex at spamfoodie.com Mon Sep 22 22:00:08 2008 From: freebsd.alex at spamfoodie.com (Alex) Date: Mon Sep 22 22:00:11 2008 Subject: usb/127549: Meizu MiniPlayer M6 (SL) requires some quirks Message-ID: <200809222157.m8MLvcT0038488@www.freebsd.org> >Number: 127549 >Category: usb >Synopsis: Meizu MiniPlayer M6 (SL) requires some quirks >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: Mon Sep 22 22:00:08 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex >Release: 7-STABLE >Organization: >Environment: FreeBSD moshnroll 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Sep 22 22:13:07 CEST 2008 root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL i386 >Description: attaching this device: umass0: on uhub3 result in the following error: (cd0:umass-sim0:0:0:0): got CAM status 0x4 (cd0:umass-sim0:0:0:0): fatal error, failed to attach to device (cd0:umass-sim0:0:0:0): lost device here's the output of usbdevs -v port 2 addr 2: high speed, power 100 mA, config 1, MiniPlayer(0x0140), Meizu Electronics(0x0492), rev 1.00 >How-To-Repeat: simply attach the device to a usb port >Fix: apply the following patch. please replace the line "PR: XYZ" in scsi_da.c with this PR-number. thanks. Patch attached with submission follows: --- sys/cam/scsi/scsi_da.c 2008-09-22 23:19:05.000000000 +0200 +++ sys/cam/scsi/scsi_da.c.new 2008-09-22 23:43:16.000000000 +0200 @@ -546,7 +546,16 @@ { {T_DIRECT, SIP_MEDIA_REMOVABLE, "Netac", "OnlyDisk*", "2000"}, /*quirks*/ DA_Q_NO_SYNC_CACHE - } + }, + { + /* + * Meizu MiniPlayer M6 (SL) + * PR: XYZ + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "MEIZU", "MiniPlayer M6 (SL)", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + } + }; static disk_strategy_t dastrategy; --- sys/dev/usb/umass.c 2008-09-22 23:17:35.000000000 +0200 +++ sys/dev/usb/umass.c.new 2008-09-22 23:35:24.000000000 +0200 @@ -518,6 +518,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_QUIRKS }, + { USB_VENDOR_MEIZU, USB_PRODUCT_MEIZU_M6_SL, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_INQUIRY | NO_SYNCHRONIZE_CACHE + }, { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_DUBPXXG, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE --- sys/dev/usb/usbdevs 2008-09-22 23:18:26.000000000 +0200 +++ sys/dev/usb/usbdevs.new 2008-09-22 23:33:37.000000000 +0200 @@ -151,6 +151,7 @@ vendor KYOCERA 0x0482 Kyocera Wireless Corp. vendor STMICRO 0x0483 STMicroelectronics vendor FOXCONN 0x0489 Foxconn +vendor MEIZU 0x0492 Meizu Electronics vendor YAMAHA 0x0499 YAMAHA vendor COMPAQ 0x049f Compaq vendor HITACHI 0x04a4 Hitachi @@ -1609,6 +1610,9 @@ product MCT USB232 0x0210 USB-232 Interface product MCT SITECOM_USB232 0x0230 Sitecom USB-232 Products +/* Meizu Electronics */ +product MEIZU M6_SL 0x0140 MiniPlayer M6 (SL) + /* Melco, Inc products */ product MELCO LUATX1 0x0001 LUA-TX Ethernet product MELCO LUATX5 0x0005 LUA-TX Ethernet >Release-Note: >Audit-Trail: >Unformatted: From freebsd.alex at spamfoodie.com Mon Sep 22 22:30:05 2008 From: freebsd.alex at spamfoodie.com (Alex) Date: Mon Sep 22 22:30:07 2008 Subject: usb/104830: [umass] system crashes when copying data to umass devices Message-ID: <200809222230.m8MMU56e022730@freefall.freebsd.org> The following reply was made to PR usb/104830; it has been noted by GNATS. From: Alex To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: usb/104830: [umass] system crashes when copying data to umass devices Date: Mon, 22 Sep 2008 22:21:38 GMT >Submitter-Id: current-users >Originator: Alex >Organization: >Confidential: no >Synopsis: Re: usb/104830: [umass] system crashes when copying data to umass devices >Severity: non-critical >Priority: low >Category: misc >Class: sw-bug >Release: 7-STABLE >Environment: FreeBSD moshnroll 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Sep 22 22:13:07 CEST 2008 root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL i386 >Description: i filed this PR 2 years ago. the problems i had back then completely dissapeared after i upgraded to RELENG_7. so i guess this PR can be closed. cheers. >How-To-Repeat: >Fix: From torfinn.ingolfsen at broadpark.no Mon Sep 22 23:42:17 2008 From: torfinn.ingolfsen at broadpark.no (Torfinn Ingolfsen) Date: Mon Sep 22 23:42:20 2008 Subject: HPLIP and usb printers again Message-ID: <20080923014214.72569a64.torfinn.ingolfsen@broadpark.no> Hello, I recently changef workstations and had the pleasure (and pain) of setting up all my stuff again. This also incldues my HP Photosmart 8250 printer, connected via usb. The printer have been working (connected to my old workstation) since the days of the initial port of HPLIP to FreeBSD. So on my new workstation I just installed cups and hplip, and preceeded to set up the printer. No go. hp-probe reported the serial number of the printer as zero, and that I *knew* was wrong: Device URI Model --------------------------------------- ------------------------- hp:/usb/Photosmart_8200_series?serial=0 HP Photosmart 8200 series Then I found this thread[1], and this patch[2]. When I checked the port after 'make patch', the patch was laready in the musb.c file, so I took my chancesd and reversed (-R) the patch. After that I found out that hp-probe reported the printer correctly: Device URI Model ---------------------------------------------------- ------------------------- hp:/usb/Photosmart_8200_series?serial=MY61B3X1NC04KJ HP Photosmart 8200 series hp-setup still fails to setup the printer, ending with this error message: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed hp-toolbox reports the same error message. I set up my printer via the cups web interface, and it now prints and works. My new workstation runs FreeBSD 7.0-stable: tingo@kg-work2$ uname -a FreeBSD kg-work2.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Sep 22 23:02:46 CEST 2008 root@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270 i386 I will not be able to follow up on this for the next two weeks. References: 1) http://lists.freebsd.org/pipermail/freebsd-questions/2008-March/171994.html 2) http://lists.freebsd.org/pipermail/freebsd-questions/2008-March/172250.html -- Regards, Torfinn Ingolfsen From blersia at gmail.com Wed Sep 24 09:38:27 2008 From: blersia at gmail.com (blersia) Date: Wed Sep 24 09:38:32 2008 Subject: Motorola A41x/V32x driver In-Reply-To: <000001c6e005$9914bfd0$eacc27be@SERVIDOR> References: <000001c6e005$9914bfd0$eacc27be@SERVIDOR> Message-ID: <19645067.post@talk.nabble.com> AMYSE wrote: > > Please could you send me the Motorola A41x/V32x driver, because I can not > find it. On the off-chance it does actually exist and someone has found it... yeah, I'm in need too. Thanks. -- View this message in context: http://www.nabble.com/Motorola-A41x-V32x-driver-tp6475854p19645067.html Sent from the freebsd-usb mailing list archive at Nabble.com. From alfred at freebsd.org Thu Sep 25 00:34:01 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Thu Sep 25 00:34:07 2008 Subject: [usb2] new usb stack and suser in CURRENT In-Reply-To: <20080920.212458.1649778615.imp@bsdimp.com> References: <200809201505.07947.hselasky@c2i.net> <20080920171021.GA42549@rink.nu> <20080920.212458.1649778615.imp@bsdimp.com> Message-ID: <20080925003400.GJ36572@elvis.mu.org> Warner is right. Apologies for being brief, I am quite busy, however, I'm trying to coordinate with Hans, I'm hoping we can try again next week. thank you, -Alfred * M. Warner Losh [080920 20:24] wrote: > In message: <20080920171021.GA42549@rink.nu> > Rink Springer writes: > : On Sat, Sep 20, 2008 at 09:59:09PM +0800, Intron is my alias on the Internet wrote: > : > How soon will the new USB stack be committed to the main source tree? > : > Since it can peacefully co-exist with the old one in a source tree, > : > why not commit it at once? > : > For a driver writer/porter, a "standard" version of the new USB stack > : > is needed for compiling/debugging. > : > : The main problem was that the new stack would be imported just days > : after the new TTY layer was committed, which caused a lot of resistance > : (which makes sense, as debugging problems would become much harder). I > : believe Alfred, who would be doing the import, went on vacation a few > : weeks after. > > This timeline isn't quite right. > > The concerns over the new TTY drivers and usb weren't relevant. There > were a number of other issues that ran out the clock for Alfred's free > time to commit this before his vacation. After he got back, he hasn't > had the time to commit. I personally said I'd deal with the new TTY > layer and usb (at least ucom). I fixed a few nits that ed overlooked > in a couple devices he didn't have in the old stack. > > : Personally, since we have the new TTY layer for some time now, I think > : it would be good if Alfred (CC'ed) would attempt to request this import > : again, if his time permits. > > I'd like to see this. I know he's very busy at work, but hope he has > some time to cope with this. I'd do it, but all my FreeBSD time these > days is booked up with MIPS, ARM and a paper for EuroBSDCon. > > Warner > _______________________________________________ > 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" -- - Alfred Perlstein From freebsd at sopwith.solgatos.com Thu Sep 25 17:38:58 2008 From: freebsd at sopwith.solgatos.com (Dieter) Date: Thu Sep 25 17:39:04 2008 Subject: alpha/127248: System crashes when many (7) serial port terminals (vt320-vt510) connected to the server via com to usb adapter and 2-usb hubs. In-Reply-To: Your message of "Thu, 25 Sep 2008 14:54:17 +0200." <20080925125417.GQ93308@cicely7.cicely.de> Message-ID: <200809251701.RAA18993@sopwith.solgatos.com> [ -usb@ added to existing thread ] > > > This is because USB is absolutely crap for this purpose. > > > RS232 terminals, especially with long cables, can produce several kind > > > of spikes and ground loops, which USB is very very sensitive about. > > > > Many things about USB are crap (thanks, inthell), but if a USB to RS-232 > > bridge cannot handle normal spikes and ground loops, I'd blame the > > bridge, not USB itself. If the problem is spikes and ground loops > > there is probably some RS-232 filter/isolator available to clean them > > up. There could be a bug in the bridge which needs a software workaround. > > In any case the system shouldn't crash. > > > > Are there specific make&model USB to RS-232 bridges that people > > have had good luck with? > > USB can't handle spikes and ground loops. > As said: use isolated devices, so you don't have the loops and spikes. > You can blame the device for not being isolated, but you expect every > device to provide expensive workaround for a design failure. > USB is designed for cheap stuff - that's all about it. Surely a "good" USB to RS-232 bridge (if one exists?) or a RS-232 filter/isolator (assuming they exist?) would be *far* less expensive than the server class alpha you suggest below. And IIRC it is just speculation that the original poster's problem is caused by spikes or ground loops. > Yes - the system shouldn't crash, but don't expect it ever being fixed > for FreeBSD-alpha. There is a 6.4 coming out, yes? It is unlikely that the problem is alpha specific. If an alpha crashes, other archs will likely crash. > > > My advise is to use a completely other technology to connect the terminals. > > > A galvanic isolated USB device might work, but there are lot of PCI and > > > Ethernet devices on the market which are more solid by design than USB. > > > > The problem with PCI is the limited number of slots. :-( > > Well - not realy with server class alphas... In my world, a "server" means 1-4 full height 19" racks with quite large price tags and power&cooling requirements. Some people think a server is a pee-cee. So I'm not sure what you mean by "server class alphas". I have what I would call a "workstation" class alpha, which cost an obscene amount to get 6 PCI slots instead of 4, and at times they are all full. So I can't use up a slot just to get a couple more RS-232 ports. How many PCI slots does a server class alpha have? RS-232 doesn't require PCI levels of bandwidth. Something like a USB to RS-232 bridge could be a good solution, if I knew which make&model of bridge worked well with *BSD. Poking around on the web I can't even find what chip they have inside. Do these bridges actually work properly, or do they have gotchas like the USB to SATA/PATA bridges? > > Ethernet could be a good solution for some applications, if you > > can get the software to deal with it. NFS is crap, *real* distributed > > file systems handled devices transparently. (thanks, Sun) > > This is a different topic. > For RS232 Ethernet is quite reasonable. For some applications yes. But some apps want to open /dev/ttyXX and do ioctls on it. How does one use such an app on Free/Net/OpenBSD with the RS-232 device on some Ethernet connected RS-232 port? > > Does anyone make firewire to RS-232 bridges? > > Or stay with the old DEC devices - they are rock solid even after all > those years. It is not obvious what "old DEC devices" you are referring to. From koitsu at FreeBSD.org Thu Sep 25 17:54:41 2008 From: koitsu at FreeBSD.org (Jeremy Chadwick) Date: Thu Sep 25 17:54:53 2008 Subject: alpha/127248: System crashes when many (7) serial port terminals (vt320-vt510) connected to the server via com to usb adapter and 2-usb hubs. In-Reply-To: <200809251701.RAA18993@sopwith.solgatos.com> References: <20080925125417.GQ93308@cicely7.cicely.de> <200809251701.RAA18993@sopwith.solgatos.com> Message-ID: <20080925173837.GA3415@icarus.home.lan> On Thu, Sep 25, 2008 at 10:01:51AM +0100, Dieter wrote: > [ -usb@ added to existing thread ] > > > > > This is because USB is absolutely crap for this purpose. > > > > RS232 terminals, especially with long cables, can produce several kind > > > > of spikes and ground loops, which USB is very very sensitive about. > > > > > > Many things about USB are crap (thanks, inthell), but if a USB to RS-232 > > > bridge cannot handle normal spikes and ground loops, I'd blame the > > > bridge, not USB itself. If the problem is spikes and ground loops > > > there is probably some RS-232 filter/isolator available to clean them > > > up. There could be a bug in the bridge which needs a software workaround. > > > In any case the system shouldn't crash. > > > > > > Are there specific make&model USB to RS-232 bridges that people > > > have had good luck with? > > > > USB can't handle spikes and ground loops. > > As said: use isolated devices, so you don't have the loops and spikes. > > You can blame the device for not being isolated, but you expect every > > device to provide expensive workaround for a design failure. > > USB is designed for cheap stuff - that's all about it. > > Surely a "good" USB to RS-232 bridge (if one exists?) or a RS-232 > filter/isolator (assuming they exist?) would be *far* less expensive > than the server class alpha you suggest below. I'm coming into this conversation late, so my apologies. If by "bridge" you mean a USB adapter that supports RS232 serial, then yes, there are some which work quite nicely with FreeBSD. Anything that uses a Prolific chip will work well (supports custom serial rates, and does not drop/lose characters). The uplcom(4) driver is for this chip, and the man page lists off some consumer models/devices available. I can refer you to numerous people who have spoken to me privately or publicly on lists, praising the Prolific stuff. I have no idea if this driver works on Alphas. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From ticso at cicely7.cicely.de Thu Sep 25 19:00:33 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Thu Sep 25 19:00:53 2008 Subject: alpha/127248: System crashes when many (7) serial port terminals (vt320-vt510) connected to the server via com to usb adapter and 2-usb hubs. In-Reply-To: <200809251701.RAA18993@sopwith.solgatos.com> References: <20080925125417.GQ93308@cicely7.cicely.de> <200809251701.RAA18993@sopwith.solgatos.com> Message-ID: <20080925190022.GB93308@cicely7.cicely.de> On Thu, Sep 25, 2008 at 10:01:51AM +0100, Dieter wrote: > [ -usb@ added to existing thread ] > > > > > This is because USB is absolutely crap for this purpose. > > > > RS232 terminals, especially with long cables, can produce several kind > > > > of spikes and ground loops, which USB is very very sensitive about. > > > > > > Many things about USB are crap (thanks, inthell), but if a USB to RS-232 > > > bridge cannot handle normal spikes and ground loops, I'd blame the > > > bridge, not USB itself. If the problem is spikes and ground loops > > > there is probably some RS-232 filter/isolator available to clean them > > > up. There could be a bug in the bridge which needs a software workaround. > > > In any case the system shouldn't crash. > > > > > > Are there specific make&model USB to RS-232 bridges that people > > > have had good luck with? > > > > USB can't handle spikes and ground loops. > > As said: use isolated devices, so you don't have the loops and spikes. > > You can blame the device for not being isolated, but you expect every > > device to provide expensive workaround for a design failure. > > USB is designed for cheap stuff - that's all about it. > > Surely a "good" USB to RS-232 bridge (if one exists?) or a RS-232 > filter/isolator (assuming they exist?) would be *far* less expensive > than the server class alpha you suggest below. It depend on how much RS232 you need and how many slots the OP has free. Nevertheless a "good" RS232 bridge if needed in number are not cheap either - ntoe that you can get affordable PCI extenders as well. > And IIRC it is just speculation that the original poster's problem is > caused by spikes or ground loops. No it is not speculation - I know USB very well and the device disconnected, which is very typical for electrical problems caused by ground loops. > > Yes - the system shouldn't crash, but don't expect it ever being fixed > > for FreeBSD-alpha. > > There is a 6.4 coming out, yes? It is unlikely that the problem is alpha specific. > If an alpha crashes, other archs will likely crash. This is a design problem with our USB stack, which is likely to be handled by the HPS stack which is going into current. The problems are way too old that there is a real chance that anyone will ever fix it in the old stack and the new one will not be backported to 6.x, since the changes for a stable branch are too invasive. > > > > My advise is to use a completely other technology to connect the terminals. > > > > A galvanic isolated USB device might work, but there are lot of PCI and > > > > Ethernet devices on the market which are more solid by design than USB. > > > > > > The problem with PCI is the limited number of slots. :-( > > > > Well - not realy with server class alphas... > > In my world, a "server" means 1-4 full height 19" racks with quite large > price tags and power&cooling requirements. Some people think a server > is a pee-cee. So I'm not sure what you mean by "server class alphas". Server doesn't mean rack, but beside from a few OEM boards and small 19" system all alphas have lots of free slots available. > I have what I would call a "workstation" class alpha, which cost an > obscene amount to get 6 PCI slots instead of 4, and at times they are > all full. So I can't use up a slot just to get a couple more RS-232 > ports. How many PCI slots does a server class alpha have? Well the AS4100 I have already has 8 slots which is not that uncommon for alpha servers. The real big ones can even have a few hundred slots. > RS-232 doesn't require PCI levels of bandwidth. Something like a It doesn't need high bandwidth, but it doesn't hurt either. For terminals it needs the ability to accept ground loops. For other purposes it needs low latency - USB has a latency of 1-2ms, which is a few thousand times higher than ISA. You can get better results with any kind of cheap ISA RS232 card. > USB to RS-232 bridge could be a good solution, if I knew which > make&model of bridge worked well with *BSD. Poking around on the web > I can't even find what chip they have inside. Really forget about USB to RS232. It is not the chip which is the problem it is the principal. You really need galvanic isolation, because USB can't handle ground loops, which no cheap device has. You can use any kind of chip with propper isolation, but then it is likely more expensive than any other kind of solution. > Do these bridges actually work properly, or do they have gotchas > like the USB to SATA/PATA bridges? The prolific bridges work well enough if you don't have a ground loop and FTDI chips are better IMHO. > > > Ethernet could be a good solution for some applications, if you > > > can get the software to deal with it. NFS is crap, *real* distributed > > > file systems handled devices transparently. (thanks, Sun) > > > > This is a different topic. > > For RS232 Ethernet is quite reasonable. > > For some applications yes. But some apps want to open /dev/ttyXX > and do ioctls on it. How does one use such an app on Free/Net/OpenBSD > with the RS-232 device on some Ethernet connected RS-232 port? It depend on the way you use it. In most cases you just use raw connection and configure it out of band. In some cases you use telnet encapsulation to allow break handling. But you are free to use other protocoll. Anyway: this doesn't apply to terminal use, since you don't need to change the communication parameters after initial setup. > > > Does anyone make firewire to RS-232 bridges? > > > > Or stay with the old DEC devices - they are rock solid even after all > > those years. > > It is not obvious what "old DEC devices" you are referring to. Reread the original post - it was about replacing a solid DEC ethernet terminal concentrator with a bunch of crappy USB-RS232 adapters. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From likemandrake at o2.pl Sat Sep 27 12:31:31 2008 From: likemandrake at o2.pl (Piotr Minkina) Date: Sat Sep 27 12:31:38 2008 Subject: Problem with installing FreeBSD 7.0 Stable Message-ID: <48DE2795.4080201@o2.pl> Hello I'd like install FreeBSD 7.0 stable on my Compaq Evo N800c laptop. Install CD booting process freeze in the same place every boot. When I select option 1 (default) on boot process, I see messages from 'Option 1.JPG' attachment. When I select option 2 (Without ACPI) or 3 (Safe Mode), I see messages from 'Option 2 or 3.JPG' attachment. 'lspci -v -nn' in linux Ubuntu shows messages like 'hardware.txt' attachment. I shoot fotos on my camera, when boot process is freezing. So, I have problem with USB controller, I think. I try some booting kernel options, like usb_load="no", hint.acpi.0.disabled="1", hint.ehci.0.disabled="1" and some one, but I don't see any effects. Best regards! PS: I'm really sorry for my English... -------------- next part -------------- 00:00.0 Host bridge [0600]: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge [8086:1a30] (rev 04) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, fast devsel, latency 0 Memory at a0000000 (32-bit, prefetchable) [size=256M] Capabilities: [e4] Vendor Specific Information Capabilities: [a0] AGP version 2.0 00:01.0 PCI bridge [0604]: Intel Corporation 82845 845 [Brookdale] Chipset AGP B ridge [8086:1a31] (rev 04) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: 80300000-803fffff Prefetchable memory behind bridge: 88000000-900fffff 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 42) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=06, sec-latency=32 I/O behind bridge: 00002000-00002fff 00:1f.0 ISA bridge [0601]: Intel Corporation 82801CAM ISA Bridge (LPC) [8086:248 c] (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface [0101]: Intel Corporation 82801CAM IDE U100 Controller [80 86:248a] (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 4440 [size=16] Memory at 90100000 (32-bit, non-prefetchable) [size=1K] 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801CA/CAM AC'97 Audio Controller [8086:2485] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 5 I/O ports at 4000 [size=256] I/O ports at 4400 [size=64] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M 7 LW [Radeon Mobility 7500] [1002:4c57] (prog-if 00 [VGA controller]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, stepping, 66MHz, medium devsel, latency 66, IRQ 11 Memory at 88000000 (32-bit, prefetchable) [size=128M] I/O ports at 3000 [size=256] Memory at 80380000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at 90000000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 02:04.0 Communication controller [0780]: Agere Systems LT WinModem [11c1:0450] ( rev 02) Subsystem: AMBIT Microsystem Corp. Evo N600c [1468:0450] Flags: bus master, medium devsel, latency 66, IRQ 5 Memory at 80280000 (32-bit, non-prefetchable) [size=256] I/O ports at 2440 [size=8] I/O ports at 2000 [size=256] Capabilities: [f8] Power Management version 2 02:06.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus Control ler [104c:ac50] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 80080000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 94000000-97fff000 (prefetchable) Memory window 1: 98000000-9bfff000 I/O window 0: 00002800-000028ff I/O window 1: 00002c00-00002cff 16-bit legacy interface ports at 0001 02:08.0 Ethernet controller [0200]: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller [8086:1031] (rev 42) Subsystem: Compaq Computer Corporation Unknown device [0e11:0093] Flags: bus master, medium devsel, latency 66, IRQ 10 Memory at 80100000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2400 [size=64] Capabilities: [dc] Power Management version 2 02:0e.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80180000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80200000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (pro g-if 20 [EHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 90100400 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 root@piotrek-laptop:~# lspci -v -nn 00:00.0 Host bridge [0600]: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge [8086:1a30] (rev 04) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, fast devsel, latency 0 Memory at a0000000 (32-bit, prefetchable) [size=256M] Capabilities: [e4] Vendor Specific Information Capabilities: [a0] AGP version 2.0 00:01.0 PCI bridge [0604]: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge [8086:1a31] (rev 04) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: 80300000-803fffff Prefetchable memory behind bridge: 88000000-900fffff 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 42) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=06, sec-latency=32 I/O behind bridge: 00002000-00002fff 00:1f.0 ISA bridge [0601]: Intel Corporation 82801CAM ISA Bridge (LPC) [8086:248c] (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface [0101]: Intel Corporation 82801CAM IDE U100 Controller [8086:248a] (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 4440 [size=16] Memory at 90100000 (32-bit, non-prefetchable) [size=1K] 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801CA/CAM AC'97 Audio Controller [8086:2485] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 5 I/O ports at 4000 [size=256] I/O ports at 4400 [size=64] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] [1002:4c57] (prog-if 00 [VGA controller]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, stepping, 66MHz, medium devsel, latency 66, IRQ 11 Memory at 88000000 (32-bit, prefetchable) [size=128M] I/O ports at 3000 [size=256] Memory at 80380000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at 90000000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 02:04.0 Communication controller [0780]: Agere Systems LT WinModem [11c1:0450] (rev 02) Subsystem: AMBIT Microsystem Corp. Evo N600c [1468:0450] Flags: bus master, medium devsel, latency 66, IRQ 5 Memory at 80280000 (32-bit, non-prefetchable) [size=256] I/O ports at 2440 [size=8] I/O ports at 2000 [size=256] Capabilities: [f8] Power Management version 2 02:06.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus Controller [104c:ac50] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 80080000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 94000000-97fff000 (prefetchable) Memory window 1: 98000000-9bfff000 I/O window 0: 00002800-000028ff I/O window 1: 00002c00-00002cff 16-bit legacy interface ports at 0001 02:08.0 Ethernet controller [0200]: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller [8086:1031] (rev 42) Subsystem: Compaq Computer Corporation Unknown device [0e11:0093] Flags: bus master, medium devsel, latency 66, IRQ 10 Memory at 80100000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2400 [size=64] Capabilities: [dc] Power Management version 2 02:0e.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80180000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80200000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (prog-if 20 [EHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 90100400 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 From tut at nhamon.com.ua Sun Sep 28 01:59:36 2008 From: tut at nhamon.com.ua (Artem Naluzhnyy) Date: Sun Sep 28 01:59:43 2008 Subject: [umass] Need help with quirks for SD-card reader Message-ID: <65dfa4fc0809271835w2c1b8af9rbc2408b32ec0dd99@mail.gmail.com> Hi, I have following xD/SDMMC/MS/Pro card reader: port 5 addr 2: high speed, power 500 mA, config 1, USB2.0-CRW(0x0116), Generic(0x0bda), rev 16.10 Which quirk(s) should I configure for it to use cards without umass module reload? I tried 'camcontrol rescan 0' without success. ----------------------------------------------------------------------------- SD card had been inserted before 'kldload umass' - card works just fine: kernel: umass0 on uhub1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 kernel: umass0:0:0:-1: Attached to scbus0 kernel: pass0 at umass-sim0 bus 0 target 0 lun 0 kernel: pass0: Removable Direct Access SCSI-0 device kernel: pass0: 40.000MB/s transfers kernel: GEOM: new disk da0 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: Removable Direct Access SCSI-0 device kernel: da0: 40.000MB/s transfers kernel: da0: 972MB (1990656 512 byte sectors: 64H 32S/T 972C) ----------------------------------------------------------------------------- umass was loaded without SD card inserted: kernel: umass0 on uhub1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 kernel: umass0:0:0:-1: Attached to scbus0 kernel: pass0 at umass-sim0 bus 0 target 0 lun 0 kernel: pass0: Removable Direct Access SCSI-0 device kernel: pass0: 40.000MB/s transfers kernel: GEOM: new disk da0 kernel: (da0:umass-sim0:0:0:0): error 6 kernel: (da0:umass-sim0:0:0:0): Unretryable Error kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: Removable Direct Access SCSI-0 device kernel: da0: 40.000MB/s transfers kernel: da0: Attempt to query device size failed: NOT READY, Medium not present kernel: (da0:umass-sim0:0:0:0): error 6 kernel: (da0:umass-sim0:0:0:0): Unretryable Error kernel: Opened disk da0 -> 6 kernel: (da0:umass-sim0:0:0:0): error 6 kernel: (da0:umass-sim0:0:0:0): Unretryable Error kernel: Opened disk da0 -> 6 kernel: (da0:umass-sim0:0:0:0): error 6 kernel: (da0:umass-sim0:0:0:0): Unretryable Error kernel: Opened disk da0 -> 6 kernel: (da0:umass-sim0:0:0:0): error 6 kernel: (da0:umass-sim0:0:0:0): Unretryable Error kernel: Opened disk da0 -> 6 ----------------------------------------------------------------------------- Following 'camcontrol rescan 0' result: kernel: (probe0:umass-sim0:0:0:0): error 6 kernel: (probe0:umass-sim0:0:0:0): Unretryable Error kernel: cam_periph_alloc: attempt to re-allocate valid device da0 rejected kernel: daasync: Unable to attach to new device due to status 0x6 kernel: cam_periph_alloc: attempt to re-allocate valid device pass0 rejected kernel: passasync: Unable to attach new device due to status 0x6: CCB request was invalid ----------------------------------------------------------------------------- -- Artem Naluzhnyy From bugmaster at FreeBSD.org Mon Sep 29 11:06:59 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 29 11:09:06 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200809291106.m8TB6x5T040973@freefall.freebsd.org> 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/127549 usb Meizu MiniPlayer M6 (SL) requires some quirks o usb/127543 usb [patch] [ubsa] Support Option Globetrotter HSDPA modem o usb/127516 usb after csup src-all RELENG_7 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] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126776 usb [umass/geom] confusing mixed output (but no panic!) af 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 [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l 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 Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod 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 Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card 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 Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) 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 [patch] uscanner does not attach to Epson RX620 printe 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] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o 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 Kernel panic when forced umount of a dettached USB Har 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei 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/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 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 o 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 s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um 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/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N 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 HP printer is not detected by kernel when ACPI ena 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] 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 f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on 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 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 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 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 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 a 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 o bin/57255 usb 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 conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 282 problems total. From likemandrake at o2.pl Mon Sep 29 15:37:00 2008 From: likemandrake at o2.pl (Piotr Minkina) Date: Mon Sep 29 15:37:08 2008 Subject: Problem with installing FreeBSD 7.0 Stable Message-ID: <48E0F613.70502@o2.pl> Hello I couldn't install FreeBSD 7.0 stable on my Compaq Evo N800c laptop. Install CD booting process freeze in the same place every time. When I choose option 1 (default) on boot menu, I see messages like http://link.imgshare.us/9sjMxr. When I choose option 2 (Without ACPI) or 3 (Safe Mode), I see messages like http://link.imgshare.us/9sjM70. I shoot all fotos on my camera, when boot process is freezing. So, I have problem with USB controller, I think. I try some booting kernel options, like usb_load="no", hint.acpi.0.disabled="1", hint.ehci.0.disabled="1" and some one, but I don't see any effects. Best regards! PS: I'm really sorry for my English... PS2: 'lspci -v -nn' in linux Ubuntu shows: 00:00.0 Host bridge [0600]: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge [8086:1a30] (rev 04) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, fast devsel, latency 0 Memory at a0000000 (32-bit, prefetchable) [size=256M] Capabilities: [e4] Vendor Specific Information Capabilities: [a0] AGP version 2.0 00:01.0 PCI bridge [0604]: Intel Corporation 82845 845 [Brookdale] Chipset AGP B ridge [8086:1a31] (rev 04) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: 80300000-803fffff Prefetchable memory behind bridge: 88000000-900fffff 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 42) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=06, sec-latency=32 I/O behind bridge: 00002000-00002fff 00:1f.0 ISA bridge [0601]: Intel Corporation 82801CAM ISA Bridge (LPC) [8086:248 c] (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface [0101]: Intel Corporation 82801CAM IDE U100 Controller [80 86:248a] (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 4440 [size=16] Memory at 90100000 (32-bit, non-prefetchable) [size=1K] 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801CA/CAM AC'97 Audio Controller [8086:2485] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 5 I/O ports at 4000 [size=256] I/O ports at 4400 [size=64] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M 7 LW [Radeon Mobility 7500] [1002:4c57] (prog-if 00 [VGA controller]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, stepping, 66MHz, medium devsel, latency 66, IRQ 11 Memory at 88000000 (32-bit, prefetchable) [size=128M] I/O ports at 3000 [size=256] Memory at 80380000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at 90000000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 02:04.0 Communication controller [0780]: Agere Systems LT WinModem [11c1:0450] ( rev 02) Subsystem: AMBIT Microsystem Corp. Evo N600c [1468:0450] Flags: bus master, medium devsel, latency 66, IRQ 5 Memory at 80280000 (32-bit, non-prefetchable) [size=256] I/O ports at 2440 [size=8] I/O ports at 2000 [size=256] Capabilities: [f8] Power Management version 2 02:06.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus Control ler [104c:ac50] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 80080000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 94000000-97fff000 (prefetchable) Memory window 1: 98000000-9bfff000 I/O window 0: 00002800-000028ff I/O window 1: 00002c00-00002cff 16-bit legacy interface ports at 0001 02:08.0 Ethernet controller [0200]: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller [8086:1031] (rev 42) Subsystem: Compaq Computer Corporation Unknown device [0e11:0093] Flags: bus master, medium devsel, latency 66, IRQ 10 Memory at 80100000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2400 [size=64] Capabilities: [dc] Power Management version 2 02:0e.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80180000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80200000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (pro g-if 20 [EHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 90100400 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 root@piotrek-laptop:~# lspci -v -nn 00:00.0 Host bridge [0600]: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge [8086:1a30] (rev 04) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, fast devsel, latency 0 Memory at a0000000 (32-bit, prefetchable) [size=256M] Capabilities: [e4] Vendor Specific Information Capabilities: [a0] AGP version 2.0 00:01.0 PCI bridge [0604]: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge [8086:1a31] (rev 04) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: 80300000-803fffff Prefetchable memory behind bridge: 88000000-900fffff 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 42) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=06, sec-latency=32 I/O behind bridge: 00002000-00002fff 00:1f.0 ISA bridge [0601]: Intel Corporation 82801CAM ISA Bridge (LPC) [8086:248c] (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface [0101]: Intel Corporation 82801CAM IDE U100 Controller [8086:248a] (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 4440 [size=16] Memory at 90100000 (32-bit, non-prefetchable) [size=1K] 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801CA/CAM AC'97 Audio Controller [8086:2485] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 0, IRQ 5 I/O ports at 4000 [size=256] I/O ports at 4400 [size=64] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] [1002:4c57] (prog-if 00 [VGA controller]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, stepping, 66MHz, medium devsel, latency 66, IRQ 11 Memory at 88000000 (32-bit, prefetchable) [size=128M] I/O ports at 3000 [size=256] Memory at 80380000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at 90000000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 02:04.0 Communication controller [0780]: Agere Systems LT WinModem [11c1:0450] (rev 02) Subsystem: AMBIT Microsystem Corp. Evo N600c [1468:0450] Flags: bus master, medium devsel, latency 66, IRQ 5 Memory at 80280000 (32-bit, non-prefetchable) [size=256] I/O ports at 2440 [size=8] I/O ports at 2000 [size=256] Capabilities: [f8] Power Management version 2 02:06.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus Controller [104c:ac50] (rev 02) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 80080000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 94000000-97fff000 (prefetchable) Memory window 1: 98000000-9bfff000 I/O window 0: 00002800-000028ff I/O window 1: 00002c00-00002cff 16-bit legacy interface ports at 0001 02:08.0 Ethernet controller [0200]: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller [8086:1031] (rev 42) Subsystem: Compaq Computer Corporation Unknown device [0e11:0093] Flags: bus master, medium devsel, latency 66, IRQ 10 Memory at 80100000 (32-bit, non-prefetchable) [size=4K] I/O ports at 2400 [size=64] Capabilities: [dc] Power Management version 2 02:0e.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80180000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 80200000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 02:0e.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (prog-if 20 [EHCI]) Subsystem: Compaq Computer Corporation Unknown device [0e11:004a] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 90100400 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2