From bugmaster at FreeBSD.org Mon Dec 1 03:07:05 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Dec 1 03:09:30 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200812011107.mB1B74vT052721@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/129311 usb Instant crash with an USB card reader o usb/129251 usb Liebert UPS being assigned uhid and not ugen o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/129129 usb panic with device Meizu MiniPlayer M6 (SL) under usb2 o usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb uaudio is not full duplex o usb/128847 usb Detachment of mounted USB flash drive causes system fr o usb/128803 usb [patch] [quirk] Quirk for I-Tuner Networks USBLCD4X20 o usb/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f 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/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/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 a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID 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 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 s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 293 problems total. From jrhett at netconsonance.com Mon Dec 1 10:48:07 2008 From: jrhett at netconsonance.com (Jo Rhett) Date: Mon Dec 1 10:48:18 2008 Subject: usb keyboard dying at loader prompt In-Reply-To: <492FF127.807@icyb.net.ua> References: <4912E462.4090608@icyb.net.ua> <491586B9.2020303@vwsoft.com> <4919851B.7050800@icyb.net.ua> <492FF127.807@icyb.net.ua> Message-ID: <31DE68A5-D3CB-4C33-86E6-515581B425E1@netconsonance.com> Just FYI we are seeing the exact same problem with PS/2 keyboards and the 6.4 loader, so this may not be a USB-only issue. The complete lack of response to serious bug reports about 6.4-REL is fairly shocking. On Nov 28, 2008, at 5:24 AM, Andriy Gapon wrote: > I did more testing and it seems that our loader does have something to > do with the problem. > > If I boot to memtest86 the keyboard keeps working. > If I pause boot menu, wait for many minutes, the keyboard still works. > If I escape to loader prompt, this when the keyboard stops working > after > a few seconds. > > Not sure how to explain this. > I think I've seen some changes to reduce memory usage of loader, I > will > try them to see if that would make any difference for my situation. > > > -- > Andriy Gapon > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From gnn at neville-neil.com Mon Dec 1 12:40:47 2008 From: gnn at neville-neil.com (George V. Neville-Neil) Date: Mon Dec 1 12:41:03 2008 Subject: usb keyboard dying at loader prompt In-Reply-To: <31DE68A5-D3CB-4C33-86E6-515581B425E1@netconsonance.com> References: <4912E462.4090608@icyb.net.ua> <491586B9.2020303@vwsoft.com> <4919851B.7050800@icyb.net.ua> <492FF127.807@icyb.net.ua> <31DE68A5-D3CB-4C33-86E6-515581B425E1@netconsonance.com> Message-ID: At Mon, 1 Dec 2008 10:22:31 -0800, Jo Rhett wrote: > > Just FYI we are seeing the exact same problem with PS/2 keyboards and > the 6.4 loader, so this may not be a USB-only issue. > > The complete lack of response to serious bug reports about 6.4-REL is > fairly shocking. > Jo, I have mostly stayed away from these threads because they've often devolved into unproductive finger pointing. Please leave the hyperbole out of your posts, or at least attempt to cut it back. People on these lists are working quite hard to solve problems for the whole of the FreeBSD community and your posts, such as this one, are not helping us to move forward. Thanks, George Neville-Neil From janm at transactionware.com Mon Dec 1 14:53:57 2008 From: janm at transactionware.com (Jan Mikkelsen) Date: Mon Dec 1 14:54:10 2008 Subject: usb keyboard dying at loader prompt In-Reply-To: <31DE68A5-D3CB-4C33-86E6-515581B425E1@netconsonance.com> Message-ID: <459EF5063D85400CB8D57DE9529A4D04@STUDYPC> Hi, > Just FYI we are seeing the exact same problem with PS/2 > keyboards and > the 6.4 loader, so this may not be a USB-only issue. > > [ ... ] > > On Nov 28, 2008, at 5:24 AM, Andriy Gapon wrote: > > I did more testing and it seems that our loader does have > something to > > do with the problem. > > > > If I boot to memtest86 the keyboard keeps working. > > If I pause boot menu, wait for many minutes, the keyboard > still works. > > If I escape to loader prompt, this when the keyboard stops working > > after > > a few seconds. > > > > Not sure how to explain this. > > I think I've seen some changes to reduce memory usage of loader, I > > will > > try them to see if that would make any difference for my situation. I have seen a similar problem on a Sun X4240 with 7.1-PRE. Using the ILOM remote keyboard works at the loader prompt but fails at the root filesystem prompt. I could work around the problem by attaching a different keyboard to the front USB port. Have you tried different keyboards? Regards, Jan. From freebsdusb at bindone.de Mon Dec 1 15:18:01 2008 From: freebsdusb at bindone.de (Michael) Date: Mon Dec 1 15:18:08 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <200811261953.04517.hselasky@c2i.net> References: <492D6E0D.7020500@bindone.de> <200811261734.27627.hselasky@c2i.net> <492D8A71.10709@bindone.de> <200811261953.04517.hselasky@c2i.net> Message-ID: <49347075.4080605@bindone.de> Hans Petter Selasky wrote: > On Wednesday 26 November 2008, Michael wrote: > >> Sorry, this contains some off-topic questions, maybe you have answers >> anyway... >> >> Hans Petter Selasky wrote: >> >>> On Wednesday 26 November 2008, Michael wrote: >>> >>>> Hans Petter Selasky wrote: >>>> >>>>> On Wednesday 26 November 2008, Michael wrote: >>>>> >>>>>> + >>>>>> + /* OEM Sierra MC8775 */ >>>>>> + {{ USB_VENDOR_HP, USB_PRODUCT_HP_HS2300 >>>>>> }, U3GSP_UMTS, U3GFL_NONE }, // XXX >>>>>> + >>>>>> >>>>> The ID table in USB2 has been moved to: >>>>> >>>>> core/usb2_msctest.c >>>>> >>>>> --HPS >>>>> >>>> When? I have a 10 day old checkout here, and the sierra wireless device >>>> appears in core/usbdevs, include/usb2_devid.h include/usb2_devtable.h >>>> and serial/ugensa2.c. Any hint were to find details about what to put >>>> where (seems like amoving target :) >>>> >>> Do you have serial/u3g2.c ? >>> >>> --HPS >>> >> Nope. I used csup to get HEAD on the 15th. CVSWeb says that u3g2.c has >> been checked in 33 hours ago. I would assume that using cvs isn't really >> recommended for current anymore. What is the best way to follow current >> nowadays (SVN/perforce)? My problem is, that I'm actually performing >> work on this machine, so I'm not too keen to upgrade constantly (but I >> required current for various devices) and usb1 works okay right now. So >> maybe somebody can just bring in the devive ids into current that are >> proven to work in USB1 (which works okay for me right now), since >> obviously I'm not authorized to submit changes anyway - if I have some >> extra time I might checkout the usb2 changes of the last couple of >> weeks and test if it actually works with this device entry and report >> back to you. Who is repsonsible for checking in the patches to usb1? >> > > Hi Michael, > > I think SVN is more up to date. Just give it some time and CVS will be updated > aswell. > > >> Btw, are there any advantages of using USB2 in terms of power management >> on a laptop (even with no external devices attached)? >> > > Not yet. Probably I will add some simple power management support after > new-year. Be aware that many USB devices have broken suspend/resume support > and can fail, so leaving the power on is sometimes better. > > When no devices are attached, I am going to add support so that the HC is > turned off. That will save some power. > > Remember that suspend/resume cycles introduce extra latency getting the system > up and running again. > > >> (this might >> actually motivate me to play a little bit more with it - right now the >> overall power consumption is about 40% higher compared to using products >> made in Redmond). >> > > >> I'm also developing a special acpi driver for HP >> machines right now I will most likely submit in a few weeks. Do you >> think it is appropriate to submit this to freebsd-acpi for review? >> > > Yes, and CC "Nate Lawson " > > --HPS > Thanks for the info regarding acpi. I've got my HSDPA enabled SIM card today and have a couple of questions: 1. The Sierra MC8775 chipsets are defined as U3GSP_HSDPA in u3g.c, which matches their marketing (vendor and provider) name, but it seems that based on the downstream definition this means only 1.2MBit/s, while chipset and network are supposed to deliver at least 3.6MBit/s (or optional 7.2), so I think they should be defined as HSPA (7.2MBit up/384kbit down) 2. I tried the card using basically the same ppp profile as before, but at any reasonable amount of traffic (reasonable could by typing ls on a remote host), I get "ucom0: ucomreadcb: IOERROR" and the port stalls. I'm wondering if this is some kind of side-effect of rate switching (I know nothing about the technology, so all I can do is guess). It's just interesting, because it's the same machine, same configuration, the ony differences are a) Different SIM card/provider (E-Plus before, vodafone now) b) HSDPA instead of UMTS (and a higher port speed of course 1.2MBit/7.2Mbit - tried both settings) Using the UMTS SIM I had before I've been able to use the internet at approx. 45KByte/s for >1hour, now it crashes within seconds. 3. I tried using a current checkout of usb2 (and added all the device IDs necessary), but serial_3g is missing (and therefore commented out in sys/modules/usb2/Makefile), so I'm stuck there as well. Is there actual hope that the problem might not appear when using usb2? (all I know about usb2 is that it's supposed to be giant-free, no idea if it can handle these issues any better - seems like at least 50% of USB devices are violating the standard in one way or another anyway). Is there anything else I can do to debug the issue (all I found online were people with issues using motorola and nokia phones and a workaround that basically ignores io erros in ucom, which sounds dirty to me)? /Michael From nick at anywi.com Tue Dec 2 01:24:34 2008 From: nick at anywi.com (Nick Hibma) Date: Tue Dec 2 01:24:41 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <49347075.4080605@bindone.de> References: <492D6E0D.7020500@bindone.de> <200811261953.04517.hselasky@c2i.net> <49347075.4080605@bindone.de> Message-ID: <200812021024.29364.nick@anywi.com> > 1. The Sierra MC8775 chipsets are defined as U3GSP_HSDPA in u3g.c, > which matches their marketing > (vendor and provider) name, but it seems that based on the > downstream definition this means only 1.2MBit/s, > while chipset and network are supposed to deliver at least 3.6MBit/s > (or optional 7.2), so I think > they should be defined as HSPA (7.2MBit up/384kbit down) Those definition set the buffering but anything above 384k (UMTS) is capped anyway. Unless real performance is lower than expected this is not something to worry about. Nick -- AnyWi Technologies From nick at anywi.com Tue Dec 2 02:18:58 2008 From: nick at anywi.com (Nick Hibma) Date: Tue Dec 2 02:19:04 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <200812021024.29364.nick@anywi.com> References: <492D6E0D.7020500@bindone.de> <49347075.4080605@bindone.de> <200812021024.29364.nick@anywi.com> Message-ID: <200812021118.53540.nick@anywi.com> File a PR if you would like to have it changed. Update all the entries you would have changed. Nick > > 1. The Sierra MC8775 chipsets are defined as U3GSP_HSDPA in u3g.c, > > which matches their marketing > > (vendor and provider) name, but it seems that based on the > > downstream definition this means only 1.2MBit/s, > > while chipset and network are supposed to deliver at least > > 3.6MBit/s (or optional 7.2), so I think > > they should be defined as HSPA (7.2MBit up/384kbit down) > > Those definition set the buffering but anything above 384k (UMTS) is > capped anyway. Unless real performance is lower than expected this is not > something to worry about. > > Nick -- AnyWi Technologies From hselasky at c2i.net Tue Dec 2 06:52:04 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Dec 2 06:55:07 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <49347075.4080605@bindone.de> References: <492D6E0D.7020500@bindone.de> <200811261953.04517.hselasky@c2i.net> <49347075.4080605@bindone.de> Message-ID: <200812021554.17516.hselasky@c2i.net> On Tuesday 02 December 2008, Michael wrote: > 3. I tried using a current checkout of usb2 (and added all the device > IDs necessary), but serial_3g is missing (and therefore > ? ?commented out in sys/modules/usb2/Makefile), so I'm stuck there as > well. Is there actual hope that the problem > ? might not appear when using usb2? (all I know about usb2 is that it's > supposed to be giant-free, no idea if it can > ? handle these issues any better - seems like at least 50% of USB > devices are violating the standard in one way or > ? another anyway). Alfred forgot to add the Makefile. The 3g id's are now in core/usb2_msctest.c . I've sent him a patch to fix this, but have not heard from him yet, assuming he is very busy. Just copy one of the other serial driver Makefiles and add "u3g2.c". --HPS From freebsdusb at bindone.de Tue Dec 2 15:58:15 2008 From: freebsdusb at bindone.de (Michael) Date: Tue Dec 2 15:58:21 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <200812021554.17516.hselasky@c2i.net> References: <492D6E0D.7020500@bindone.de> <200811261953.04517.hselasky@c2i.net> <49347075.4080605@bindone.de> <200812021554.17516.hselasky@c2i.net> Message-ID: <4935CB2E.2020801@bindone.de> Hans Petter Selasky wrote: > On Tuesday 02 December 2008, Michael wrote: > >> 3. I tried using a current checkout of usb2 (and added all the device >> IDs necessary), but serial_3g is missing (and therefore >> commented out in sys/modules/usb2/Makefile), so I'm stuck there as >> well. Is there actual hope that the problem >> might not appear when using usb2? (all I know about usb2 is that it's >> supposed to be giant-free, no idea if it can >> handle these issues any better - seems like at least 50% of USB >> devices are violating the standard in one way or >> another anyway). >> > > Alfred forgot to add the Makefile. The 3g id's are now in > core/usb2_msctest.c . I've sent him a patch to fix this, but have not heard > from him yet, assuming he is very busy. > > Just copy one of the other serial driver Makefiles and add "u3g2.c". > > --HPS > Ok, essentially this seems to work, even so there are some caveats: 1. usb2_serial_3g has to be loaded before of usb2_controller_ehci 2. When I disable the device (button or bios command) it is detached correctly, but reattaching it fails 9 out of 10 times with the following error: kernel: usb2_alloc_device:1421: set address 2 failed (ignored) kernel: usb2_alloc_device:1456: getting device descriptor at addr 2 failed! kernel: uhub_reattach_port:402: could not allocate new device! If I kldunload usb2_controller_ehci and reload it, its detected ok. usb1 has no issues performing the same operation. 3. The machine crashed once after reenabling the device. No crashdumps here, mostly because I'm stupid :( 4. There is only one serial device created (/dev/cuaU0), which represents the data interface. The control interface is not detected. (usb1 creates two interfaces /dev/cuaU0.0 for data and /dev/cuaU0.2 for control). This is essential, because even so the data interface supports most commands, it doesn't accept the PIN code entry cmomand (or other maintenance commands). For testing purposes I disabled the PIN entry requirement on the SIM and was able to get reasonable stable service (up to 250kb/s). Let me know if there is anything I can do to help debugging the issues above. I attached the patches for the HS2300 device. br michael -------------- next part -------------- --- sys/dev/usb2/include/usb2_devid.h.orig 2008-12-01 22:21:57.000000000 +0100 +++ sys/dev/usb2/include/usb2_devid.h 2008-12-01 22:21:57.000000000 +0100 @@ -1436,6 +1436,7 @@ #define USB_PRODUCT_HP_OJ4215 0x3d11 /* OfficeJet 4215 */ #define USB_PRODUCT_HP_HN210E 0x811c /* Ethernet HN210E */ #define USB_PRODUCT_HP2_C500 0x6002 /* PhotoSmart C500 */ +#define USB_PRODUCT_HP_HS2300 0x1e1d /* MC8775 */ /* HTC products */ #define USB_PRODUCT_HTC_WINMOBILE 0x00ce /* HTC USB Sync */ -------------- next part -------------- --- sys/dev/usb2/include/usb2_devtable.h.orig 2008-12-01 22:22:40.000000000 +0100 +++ sys/dev/usb2/include/usb2_devtable.h 2008-12-01 22:22:40.000000000 +0100 @@ -3125,6 +3125,12 @@ "PhotoSmart C500", }, { + USB_VENDOR_HP, USB_PRODUCT_HP_HS2300, + 0, + "Hewlett Packard", + "HS2300", + }, + { USB_VENDOR_HTC, USB_PRODUCT_HTC_WINMOBILE, 0, "HTC", -------------- next part -------------- --- sys/dev/usb2/core/usb2_msctest.c.orig 2008-12-03 00:51:17.000000000 +0100 +++ sys/dev/usb2/core/usb2_msctest.c 2008-12-03 00:52:20.000000000 +0100 @@ -649,6 +649,7 @@ {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8775_2, U3GINFO(U3GSP_UMTS, U3GFL_NONE))}, /* XXX */ {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8780, U3GINFO(U3GSP_UMTS, U3GFL_NONE))}, /* XXX */ {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8781, U3GINFO(U3GSP_UMTS, U3GFL_NONE))}, /* XXX */ + {USB_VPI(USB_VENDOR_HP, USB_PRODUCT_HP_HS2300, U3GINFO(U3GSP_HSPA, U3GFL_NONE))}, /* XXX */ /* Sierra TruInstaller device ID */ {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_TRUINSTALL, U3GINFO(U3GSP_UMTS, U3GFL_SIERRA_INIT))}, }; From thierry.herbelot at free.fr Wed Dec 3 07:00:03 2008 From: thierry.herbelot at free.fr (Thierry Herbelot) Date: Wed Dec 3 07:00:15 2008 Subject: Asynchronous bulk transfers in usb2 ? Message-ID: <200812031559.54335.thierry.herbelot@free.fr> Hello, I've been looking at the usb2 code, and from what I've understood, only synchronous transfers are possible : a read (for exemple) is only scheduled when the userland program calls usb_bulk_read(). Furthermore, only fixed size buffers are used : only one buffer of 32 kbyte per transfer. This seems sub-optimal when reading (or writing) from userland blocks bigger than 32 kbytes, as multiple kernel-to-userland switches are necessary, and there is a latency window where no buffer exists to accept data between the arrival of one block and the posting of the next transfer. One way to work around this kind of limitations is to provide in advance a certain number of transfers, arranged in a ring, where the callback function at the end of a transfer schedules the next, without any further userland intervention. Is there any project for adding asynchronous bulk reads and/or writes to the fine usb2 stack ? TfH From hselasky at c2i.net Wed Dec 3 07:29:47 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Wed Dec 3 07:29:54 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <4935CB2E.2020801@bindone.de> References: <492D6E0D.7020500@bindone.de> <200812021554.17516.hselasky@c2i.net> <4935CB2E.2020801@bindone.de> Message-ID: <200812031631.59515.hselasky@c2i.net> On Wednesday 03 December 2008, Michael wrote: > Hans Petter Selasky wrote: > > On Tuesday 02 December 2008, Michael wrote: > >> 3. I tried using a current checkout of usb2 (and added all the device > >> IDs necessary), but serial_3g is missing (and therefore > >> commented out in sys/modules/usb2/Makefile), so I'm stuck there as > >> well. Is there actual hope that the problem > >> might not appear when using usb2? (all I know about usb2 is that it's > >> supposed to be giant-free, no idea if it can > >> handle these issues any better - seems like at least 50% of USB > >> devices are violating the standard in one way or > >> another anyway). > > > > Alfred forgot to add the Makefile. The 3g id's are now in > > core/usb2_msctest.c . I've sent him a patch to fix this, but have not > > heard from him yet, assuming he is very busy. > > > > Just copy one of the other serial driver Makefiles and add "u3g2.c". > > > > --HPS > > Ok, essentially this seems to work, even so there are some caveats: > 1. usb2_serial_3g has to be loaded before of usb2_controller_ehci > 2. When I disable the device (button or bios command) it is detached > correctly, > but reattaching it fails 9 out of 10 times with the following error: > kernel: usb2_alloc_device:1421: set address 2 failed (ignored) > kernel: usb2_alloc_device:1456: getting device descriptor at addr 2 failed! > kernel: uhub_reattach_port:402: could not allocate new device! > If I kldunload usb2_controller_ehci and reload it, its detected ok. > usb1 has no issues performing the same operation. > 3. The machine crashed once after reenabling the device. No crashdumps > here, mostly because I'm stupid :( > 4. There is only one serial device created (/dev/cuaU0), which > represents the data interface. The control interface is not detected. > (usb1 creates two interfaces /dev/cuaU0.0 for data and /dev/cuaU0.2 for > control). This is essential, because even so the data interface supports > most commands, it doesn't accept the PIN code entry cmomand (or other > maintenance commands). For testing purposes I disabled the PIN entry > requirement on the SIM and was able to get reasonable stable service (up > to 250kb/s). > > Let me know if there is anything I can do to help debugging the issues > above. I attached the patches for the HS2300 device. > > br > michael Hi, Try tuning the following knobs, one at a time. sysctl hw.usb2.ehci.no_hs=1 This will disable hooking on devices to high speed. I think there is a problem with your device! Another thing you can try before re-plugging: sysctl hw.usb2.ss_delay=2 Also try: sysctl hw.usb2.pr_recovery_delay=500 --HPS From gabor at sentex.net Wed Dec 3 12:09:57 2008 From: gabor at sentex.net (Gabor) Date: Wed Dec 3 12:10:03 2008 Subject: ucom serial bug? Message-ID: <4936DF1D.8000405@sentex.net> Hi USB developers, We have a program that communicates through serial ports with a legacy Windows application that we do not control. Using onboard serial ports, everything works fine. When we try to use a USB to serial converter(type doesn't matter, UFTDI or Prolific) we run into problems. The first time we start up our side, everything works. The second time we don't get carrier(DCD). The other side is always running. Since we have no control over the legacy Windows program as it was written by another company we need carrier to be asserted to work. I am including two little programs that illustrate the issue. Also, we do not encounter this issue when using NetBSD and its USB drivers. To illustrate connect one machine to another using a null modem cable and on the end where you use check-carrier.c use the USB dongle. Run the server.c on the other end. Both take as argument the name of the device. Start server.c first. We have reproduced this problem on both CURRENT and RELENG_7. Thanks for any insight. -- Success is the result when preparation meets opportunity. -------------- next part -------------- #include #include #include #include #include #include int main(int argc, char **argv) { int fd, ctl, state = 0, val; struct termios t; if (argc < 2) { fprintf(stderr, "Usage: %s \n", argv[0]); return 1; } if ((fd = open(argv[1], O_RDWR)) < 0) { fprintf(stderr, "errno: %d, error: %s\n", errno, strerror(errno)); return 1; } if (tcgetattr(fd, &t) >= 0) { t.c_ispeed = 1200; t.c_ospeed = 1200; t.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHOKE | ECHONL | ECHOCTL | ECHOPRT | ALTWERASE | NOFLSH | TOSTOP | FLUSHO | PENDIN | NOKERNINFO | EXTPROC); t.c_iflag &= ~(ISTRIP | ICRNL | INLCR | IGNCR | IXON | IXOFF | IXANY | IMAXBEL | IGNBRK | BRKINT | INPCK | IGNPAR | PARMRK); t.c_iflag |= IGNBRK; t.c_oflag &= ~(OPOST | ONLCR | OCRNL | OXTABS | ONOEOT | ONOCR | ONLRET); t.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CCTS_OFLOW | CRTS_IFLOW | CDTR_IFLOW | CDSR_OFLOW | CCAR_OFLOW); t.c_cflag |= (CS8|CREAD); t.c_cc[VMIN] = 1; t.c_cc[VTIME] = 0; tcsetattr(fd, TCSANOW, &t); val = fcntl(fd, F_GETFL, 0); if (val >= 0) { fcntl(fd, F_SETFL, val | O_NONBLOCK); } } else { fprintf(stderr, "errno: %d, error: %s\n", errno, strerror(errno)); return 1; } if ((ctl = ioctl(fd, TIOCMGET, &state)) < 0) { fprintf(stderr, "errno: %d, error: %s\n", errno, strerror(errno)); return 1; } if ((ctl = ioctl(fd, TIOCMGET, &state)) < 0) { fprintf(stderr, "errno: %d, error: %s\n", errno, strerror(errno)); return 1; } state |= TIOCM_DCD; ioctl(fd, TIOCMSET, &state); if ((ctl = ioctl(fd, TIOCMGET, &state)) < 0) { fprintf(stderr, "errno: %d, error: %s\n", errno, strerror(errno)); return 1; } if ((state & TIOCM_DCD)) { printf("got carrier\n"); } else { printf("%d\n", state); } if ((state & TIOCM_LE)) { printf("TIOCM_LE\n"); } if ((state & TIOCM_DTR)) { printf("TIOCM_DTR\n"); } if ((state & TIOCM_RTS)) { printf("TIOCM_RTS\n"); } if ((state & TIOCM_ST)) { printf("TIOCM_ST\n"); } if ((state & TIOCM_SR)) { printf("TIOCM_SR\n"); } if ((state & TIOCM_CTS)) { printf("TIOCM_CTS\n"); } if ((state & TIOCM_DCD)) { printf("TIOCM_DCD\n"); } if ((state & TIOCM_RI)) { printf("TIOCM_RI\n"); } if ((state & TIOCM_DSR)) { printf("TIOCM_DSR\n"); } return 0; } -------------- next part -------------- #include #include #include #include #include #include #include #include int main(int argc, char **argv) { int fd = -1, val, n, len; unsigned char buf[80]; struct termios t; fd_set rin; struct timeval tv; if (argc < 2) { fprintf(stderr, "Usage: %s \n", argv[0]); return 1; } REDO: if (fd > -1) { close(fd); } fd = open(argv[1], O_RDWR); if (fd > 0) { if (tcgetattr(fd, &t) >= 0) { t.c_ispeed = 1200; t.c_ospeed = 1200; t.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHOKE | ECHONL | ECHOCTL | ECHOPRT | ALTWERASE | NOFLSH | TOSTOP | FLUSHO | PENDIN | NOKERNINFO | EXTPROC); t.c_iflag &= ~(ISTRIP | ICRNL | INLCR | IGNCR | IXON | IXOFF | IXANY | IMAXBEL | IGNBRK | BRKINT | INPCK | IGNPAR | PARMRK); t.c_oflag &= ~(OPOST | ONLCR | OCRNL | OXTABS | ONOEOT | ONOCR | ONLRET); t.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CCTS_OFLOW | CRTS_IFLOW | CDTR_IFLOW | CDSR_OFLOW | CCAR_OFLOW); t.c_cflag |= (CS8); t.c_cc[VMIN] = 1; t.c_cc[VTIME] = 0; tcsetattr(fd, TCSANOW, &t); val = fcntl(fd, F_GETFL, 0); if (val >= 0) { fcntl(fd, F_SETFL, val | O_NONBLOCK); } } while (1) { FD_ZERO(&rin); FD_SET(fd, &rin); n = select(fd + 1, &rin, 0, 0, 0); len = 0; if (n > 0 && FD_ISSET(fd, &rin)) { n = read(fd, buf, 1); if (n <= 0) { goto REDO; } len = n; while (1) { FD_ZERO(&rin); FD_SET(fd, &rin); tv.tv_sec = 0; tv.tv_usec = 80000L; n = select(fd + 1, &rin, 0, 0, &tv); if (n > 0 && FD_ISSET(fd, &rin)) { n = read(fd, buf + len, 80); if (n <= 0) { goto REDO; } len += n; if (len == 3) { if (isatty(fileno(stdout))) fprintf(stderr, "."); buf[0] = 0x04 | 0x80; write(fd, buf, 1); break; } } else { goto REDO; } } } else { goto REDO; } } } else { fprintf(stderr, "Unable to open %s: %s\n", argv[1], strerror(errno)); return 1; } return 0; } From freebsdusb at bindone.de Thu Dec 4 01:16:52 2008 From: freebsdusb at bindone.de (Michael) Date: Thu Dec 4 01:17:00 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <200812031631.59515.hselasky@c2i.net> References: <492D6E0D.7020500@bindone.de> <200812021554.17516.hselasky@c2i.net> <4935CB2E.2020801@bindone.de> <200812031631.59515.hselasky@c2i.net> Message-ID: <49379FFF.6000007@bindone.de> Hans Petter Selasky wrote: > On Wednesday 03 December 2008, Michael wrote: > >> Hans Petter Selasky wrote: >> >>> On Tuesday 02 December 2008, Michael wrote: >>> >>>> 3. I tried using a current checkout of usb2 (and added all the device >>>> IDs necessary), but serial_3g is missing (and therefore >>>> commented out in sys/modules/usb2/Makefile), so I'm stuck there as >>>> well. Is there actual hope that the problem >>>> might not appear when using usb2? (all I know about usb2 is that it's >>>> supposed to be giant-free, no idea if it can >>>> handle these issues any better - seems like at least 50% of USB >>>> devices are violating the standard in one way or >>>> another anyway). >>>> >>> Alfred forgot to add the Makefile. The 3g id's are now in >>> core/usb2_msctest.c . I've sent him a patch to fix this, but have not >>> heard from him yet, assuming he is very busy. >>> >>> Just copy one of the other serial driver Makefiles and add "u3g2.c". >>> >>> --HPS >>> >> Ok, essentially this seems to work, even so there are some caveats: >> 1. usb2_serial_3g has to be loaded before of usb2_controller_ehci >> 2. When I disable the device (button or bios command) it is detached >> correctly, >> but reattaching it fails 9 out of 10 times with the following error: >> kernel: usb2_alloc_device:1421: set address 2 failed (ignored) >> kernel: usb2_alloc_device:1456: getting device descriptor at addr 2 failed! >> kernel: uhub_reattach_port:402: could not allocate new device! >> If I kldunload usb2_controller_ehci and reload it, its detected ok. >> usb1 has no issues performing the same operation. >> 3. The machine crashed once after reenabling the device. No crashdumps >> here, mostly because I'm stupid :( >> 4. There is only one serial device created (/dev/cuaU0), which >> represents the data interface. The control interface is not detected. >> (usb1 creates two interfaces /dev/cuaU0.0 for data and /dev/cuaU0.2 for >> control). This is essential, because even so the data interface supports >> most commands, it doesn't accept the PIN code entry cmomand (or other >> maintenance commands). For testing purposes I disabled the PIN entry >> requirement on the SIM and was able to get reasonable stable service (up >> to 250kb/s). >> >> Let me know if there is anything I can do to help debugging the issues >> above. I attached the patches for the HS2300 device. >> >> br >> michael >> > > Hi, > > Try tuning the following knobs, one at a time. > > sysctl hw.usb2.ehci.no_hs=1 > > This will disable hooking on devices to high speed. > > I think there is a problem with your device! > > Another thing you can try before re-plugging: > > sysctl hw.usb2.ss_delay=2 > > Also try: > > sysctl hw.usb2.pr_recovery_delay=500 > > --HPS > None of these knobs have a lasting effect. Sometimes it works, sometimes it doesn't. Disconnecting/reconnecting at a fast pace confuses it completely (missing the event completely). That's intersting because usb1 seems to be able to keep track of that ok, so it should be possible. Do you think this relates to caveat 1 (because I think normally loading 3g after ehci should work)? Are there any debugging knobs I should use to get more useful traces? What about 4, is there anything I can do or anybody to contact to figure why the control device doesn't show up at all? (or is more a missing feature than a bug?) thanks michael From hselasky at c2i.net Thu Dec 4 06:42:45 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 06:42:52 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <49379FFF.6000007@bindone.de> References: <492D6E0D.7020500@bindone.de> <200812031631.59515.hselasky@c2i.net> <49379FFF.6000007@bindone.de> Message-ID: <200812041544.57108.hselasky@c2i.net> On Thursday 04 December 2008, Michael wrote: > Hans Petter Selasky wrote: > > On Wednesday 03 December 2008, Michael wrote: > >> Hans Petter Selasky wrote: > >>> On Tuesday 02 December 2008, Michael wrote: > >>>> 3. I tried using a current checkout of usb2 (and added all the device > >>>> IDs necessary), but serial_3g is missing (and therefore > >>>> commented out in sys/modules/usb2/Makefile), so I'm stuck there as > >>>> well. Is there actual hope that the problem > >>>> might not appear when using usb2? (all I know about usb2 is that > >>>> it's supposed to be giant-free, no idea if it can > >>>> handle these issues any better - seems like at least 50% of USB > >>>> devices are violating the standard in one way or > >>>> another anyway). > >>> > >>> Alfred forgot to add the Makefile. The 3g id's are now in > >>> core/usb2_msctest.c . I've sent him a patch to fix this, but have not > >>> heard from him yet, assuming he is very busy. > >>> > >>> Just copy one of the other serial driver Makefiles and add "u3g2.c". > >>> > >>> --HPS > >> > >> Ok, essentially this seems to work, even so there are some caveats: > >> 1. usb2_serial_3g has to be loaded before of usb2_controller_ehci > >> 2. When I disable the device (button or bios command) it is detached > >> correctly, > >> but reattaching it fails 9 out of 10 times with the following error: > >> kernel: usb2_alloc_device:1421: set address 2 failed (ignored) > >> kernel: usb2_alloc_device:1456: getting device descriptor at addr 2 > >> failed! kernel: uhub_reattach_port:402: could not allocate new device! > >> If I kldunload usb2_controller_ehci and reload it, its detected ok. > >> usb1 has no issues performing the same operation. > >> 3. The machine crashed once after reenabling the device. No crashdumps > >> here, mostly because I'm stupid :( > >> 4. There is only one serial device created (/dev/cuaU0), which > >> represents the data interface. The control interface is not detected. > >> (usb1 creates two interfaces /dev/cuaU0.0 for data and /dev/cuaU0.2 for > >> control). This is essential, because even so the data interface supports > >> most commands, it doesn't accept the PIN code entry cmomand (or other > >> maintenance commands). For testing purposes I disabled the PIN entry > >> requirement on the SIM and was able to get reasonable stable service (up > >> to 250kb/s). > >> > >> Let me know if there is anything I can do to help debugging the issues > >> above. I attached the patches for the HS2300 device. > >> > >> br > >> michael > > > > Hi, > > > > Try tuning the following knobs, one at a time. > > > > sysctl hw.usb2.ehci.no_hs=1 > > > > This will disable hooking on devices to high speed. > > > > I think there is a problem with your device! > > > > Another thing you can try before re-plugging: > > > > sysctl hw.usb2.ss_delay=2 > > > > Also try: > > > > sysctl hw.usb2.pr_recovery_delay=500 > > > > --HPS > > None of these knobs have a lasting effect. Sometimes it works, sometimes > it doesn't. Disconnecting/reconnecting at a fast pace confuses it > completely (missing the event completely). That's intersting because > usb1 seems to be able to keep track of that ok, so it should be > possible. Do you think this relates to caveat 1 (because I think > normally loading 3g after ehci should work)? Are there any debugging > knobs I should use to get more useful traces? See "sysctl hw.usb2" > What about 4, is there anything I can do or anybody to contact to figure > why the control device doesn't show up at all? (or is more a missing > feature than a bug?) Send me a dump of the usb-descriptors using: usbconfig -u xxx -a yyy dump_curr_config_desc And I will have a look at it. I suspect that the device is there, but has another unit ID than you expect. --HPS From hselasky at c2i.net Thu Dec 4 08:02:18 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 08:02:28 2008 Subject: Asynchronous bulk transfers in usb2 ? In-Reply-To: <200812031559.54335.thierry.herbelot@free.fr> References: <200812031559.54335.thierry.herbelot@free.fr> Message-ID: <200812041704.28290.hselasky@c2i.net> On Wednesday 03 December 2008, Thierry Herbelot wrote: > Hello, > > I've been looking at the usb2 code, and from what I've understood, only > synchronous transfers are possible : a read (for exemple) is only scheduled > when the userland program calls usb_bulk_read(). > > Furthermore, only fixed size buffers are used : only one buffer of 32 kbyte > per transfer. This seems sub-optimal when reading (or writing) from > userland blocks bigger than 32 kbytes, as multiple kernel-to-userland > switches are necessary, and there is a latency window where no buffer > exists to accept data between the arrival of one block and the posting of > the next transfer. > > One way to work around this kind of limitations is to provide in advance a > certain number of transfers, arranged in a ring, where the callback > function at the end of a transfer schedules the next, without any further > userland intervention. > > Is there any project for adding asynchronous bulk reads and/or writes to > the fine usb2 stack ? Hi Thierry, There are two USB API's in the USB2 library. See man libusb20. The other API supports all of what you want to do. I.E. all of the USB functionality which is present in the kernel. --HPS Example code for the other USB API: struct libusb20_backend *pbe = libusb20_be_alloc_default(); struct libusb20_device *pdev = NULL; while ((pdev = libusb20_be_device_foreach(pbe, pdev))) { if (strstr(libusb20_dev_get_desc(pdev), argv[1])) { libusb20_be_dequeue_device(pbe, pdev); break; } } /* release data */ libusb20_be_free(pbe); if (pdev == NULL) { printf("No such device\n"); return (0); } printf("Trying to attach ...\n"); if (libusb20_dev_open(pdev, 2)) { err(1, "could not open device"); } xfer_in = libusb20_tr_get_pointer(pdev, 0); ep = 0x81; error = libusb20_tr_open(xfer_in, 65536 /* max block size */, 1 /* # of transfers */, ep /* endpoint */); if (error) { err(1, "could not open endpoint %u, %d", ep, error); } xfer_out = libusb20_tr_get_pointer(pdev, 1); ep = 0x01; error = libusb20_tr_open(xfer_out, 65536, 1, ep); if (error) { err(1, "could not open endpoint %u, %d", ep, error); } usb_pdev = pdev; libusb20_tr_clear_stall_sync(xfer_in); libusb20_tr_clear_stall_sync(xfer_out); do_io(struct libusb20_transfer *xfer, void *buf, uint32_t len, uint32_t timeout) { struct libusb20_device *pdev = usb_pdev; uint32_t max; uint32_t alen; uint32_t slen = 0; if (libusb20_tr_pending(xfer)) { return (-1); /* error */ } repeat: max = libusb20_tr_get_max_total_length(xfer); if (max > len) max = len; //There is also a function to setup multiple bulk transfers at the //same time. See man libusb20 libusb20_tr_setup_bulk(xfer, buf, max, timeout); libusb20_tr_start(xfer); while (libusb20_dev_process(pdev) == 0) { if (libusb20_tr_pending(xfer) == 0) { break; } // there is also an FD that you can poll! // See the libusb20_dev_wait_process() code. libusb20_dev_wait_process(pdev, -1); } if (libusb20_tr_get_status(xfer)) return (-1); alen = libusb20_tr_get_actual_length(xfer); slen += alen; if (alen == max) { len -= alen; if (len) goto repeat; } return (slen); } From mike at sentex.net Thu Dec 4 09:34:31 2008 From: mike at sentex.net (Mike Tancsa) Date: Thu Dec 4 09:34:39 2008 Subject: ucom serial bug? In-Reply-To: <4936DF1D.8000405@sentex.net> References: <4936DF1D.8000405@sentex.net> Message-ID: <200812041720.mB4HKdJP017318@lava.sentex.ca> At 02:33 PM 12/3/2008, Gabor wrote: >everything works fine. When we try to use a USB to serial >converter(type doesn't matter, UFTDI or Prolific) we run into >problems. The first time we start up our side, everything >works. The second time we don't get carrier(DCD). The other side >is always running. Since we have no control Also tried with the usb2 development stack, and we never see carrier. Id Refs Address Size Name 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko (/boot/kernel/usb2_serial_ftdi.ko) 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 6 2 0xc4cbe000 3000 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 7 1 0xc4d50000 d000 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) ---Mike From hselasky at c2i.net Thu Dec 4 09:51:24 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 09:51:30 2008 Subject: ucom serial bug? In-Reply-To: <200812041720.mB4HKdJP017318@lava.sentex.ca> References: <4936DF1D.8000405@sentex.net> <200812041720.mB4HKdJP017318@lava.sentex.ca> Message-ID: <200812041853.35539.hselasky@c2i.net> On Thursday 04 December 2008, Mike Tancsa wrote: > At 02:33 PM 12/3/2008, Gabor wrote: > >everything works fine. When we try to use a USB to serial > >converter(type doesn't matter, UFTDI or Prolific) we run into > >problems. The first time we start up our side, everything > >works. The second time we don't get carrier(DCD). The other side > >is always running. Since we have no control > > Also tried with the usb2 development stack, and we never see carrier. > > Id Refs Address Size Name > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko > (/boot/kernel/usb2_serial_ftdi.ko) > 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) > 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko > (/boot/kernel/usb2_controller_uhci.ko) > 6 2 0xc4cbe000 3000 usb2_controller.ko > (/boot/kernel/usb2_controller.ko) > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko > (/boot/kernel/usb2_controller_ehci.ko) > Hi, I think this event is not implemented in the driver. Try to diff the NetBSD and FreeBSD uftdi.c files. --HPS From imp at bsdimp.com Thu Dec 4 10:18:34 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Dec 4 10:18:41 2008 Subject: ucom serial bug? In-Reply-To: <200812041853.35539.hselasky@c2i.net> References: <4936DF1D.8000405@sentex.net> <200812041720.mB4HKdJP017318@lava.sentex.ca> <200812041853.35539.hselasky@c2i.net> Message-ID: <20081204.111528.1723218601.imp@bsdimp.com> In message: <200812041853.35539.hselasky@c2i.net> Hans Petter Selasky writes: : On Thursday 04 December 2008, Mike Tancsa wrote: : > At 02:33 PM 12/3/2008, Gabor wrote: : > >everything works fine. When we try to use a USB to serial : > >converter(type doesn't matter, UFTDI or Prolific) we run into : > >problems. The first time we start up our side, everything : > >works. The second time we don't get carrier(DCD). The other side : > >is always running. Since we have no control : > : > Also tried with the usb2 development stack, and we never see carrier. : > : > Id Refs Address Size Name : > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) : > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko : > (/boot/kernel/usb2_serial_ftdi.ko) : > 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) : > 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) : > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko : > (/boot/kernel/usb2_controller_uhci.ko) : > 6 2 0xc4cbe000 3000 usb2_controller.ko : > (/boot/kernel/usb2_controller.ko) : > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko : > (/boot/kernel/usb2_controller_ehci.ko) : > : : Hi, : : I think this event is not implemented in the driver. Try to diff the NetBSD : and FreeBSD uftdi.c files. I have some diffs in my inbox from someone that was trying to implement modem control for uftdi chips. Let me see if they make sense... Warner From gabor at sentex.net Thu Dec 4 10:37:00 2008 From: gabor at sentex.net (Gabor) Date: Thu Dec 4 10:37:07 2008 Subject: ucom serial bug? In-Reply-To: <20081204.111528.1723218601.imp@bsdimp.com> References: <4936DF1D.8000405@sentex.net> <200812041720.mB4HKdJP017318@lava.sentex.ca> <200812041853.35539.hselasky@c2i.net> <20081204.111528.1723218601.imp@bsdimp.com> Message-ID: <49382349.5040804@sentex.net> Hi, thanks for looking at this issue. Are you guys saying that this was not meant to work? As in I shouldn't expect to see carrier? On 12/4/08 1:15 PM, M. Warner Losh wrote: > In message: <200812041853.35539.hselasky@c2i.net> > Hans Petter Selasky writes: > : On Thursday 04 December 2008, Mike Tancsa wrote: > : > At 02:33 PM 12/3/2008, Gabor wrote: > : > >everything works fine. When we try to use a USB to serial > : > >converter(type doesn't matter, UFTDI or Prolific) we run into > : > >problems. The first time we start up our side, everything > : > >works. The second time we don't get carrier(DCD). The other side > : > >is always running. Since we have no control > : > > : > Also tried with the usb2 development stack, and we never see carrier. > : > > : > Id Refs Address Size Name > : > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) > : > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko > : > (/boot/kernel/usb2_serial_ftdi.ko) > : > 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) > : > 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) > : > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko > : > (/boot/kernel/usb2_controller_uhci.ko) > : > 6 2 0xc4cbe000 3000 usb2_controller.ko > : > (/boot/kernel/usb2_controller.ko) > : > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko > : > (/boot/kernel/usb2_controller_ehci.ko) > : > > : > : Hi, > : > : I think this event is not implemented in the driver. Try to diff the NetBSD > : and FreeBSD uftdi.c files. > > I have some diffs in my inbox from someone that was trying to > implement modem control for uftdi chips. Let me see if they make > sense... > > 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" > -- Success is the result when preparation meets opportunity. From imp at bsdimp.com Thu Dec 4 10:51:13 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Dec 4 10:51:18 2008 Subject: ucom serial bug? In-Reply-To: <49382349.5040804@sentex.net> References: <200812041853.35539.hselasky@c2i.net> <20081204.111528.1723218601.imp@bsdimp.com> <49382349.5040804@sentex.net> Message-ID: <20081204.114842.-1540410064.imp@bsdimp.com> In message: <49382349.5040804@sentex.net> Gabor writes: : Hi, : : thanks for looking at this issue. Are you guys saying that this was not meant to work? As in I shouldn't expect to see carrier? Ian Lepore sent me this patch a little while ago. I've not had time to look into it. If you could test it and let me know, then I'll be able to commit it more quickly. It is against a slightly hacked version of 6.1, but should translate right over. Warner Index: uftdi.c =================================================================== RCS file: /base/FreeBSD-tsc-6/sys/dev/usb/uftdi.c,v retrieving revision 1.2 diff -u -r1.2 uftdi.c --- uftdi.c 24 Sep 2007 21:37:33 -0000 1.2 +++ uftdi.c 14 Nov 2008 18:17:02 -0000 @@ -457,13 +457,24 @@ { struct uftdi_softc *sc = vsc; u_char msr, lsr; + u_char ftdi_msr; DPRINTFN(15,("uftdi_read: sc=%p, port=%d count=%d\n", sc, portno, *count)); - msr = FTDI_GET_MSR(*ptr); + ftdi_msr = FTDI_GET_MSR(*ptr); lsr = FTDI_GET_LSR(*ptr); + msr = 0; + if (ftdi_msr & FTDI_SIO_CTS_MASK) + msr |= SER_CTS; + if (ftdi_msr & FTDI_SIO_DSR_MASK) + msr |= SER_DSR; + if (ftdi_msr & FTDI_SIO_RI_MASK) + msr |= SER_RI; + if (ftdi_msr & FTDI_SIO_RLSD_MASK) + msr |= SER_DCD; + #ifdef USB_DEBUG if (*count != 2) DPRINTFN(10,("uftdi_read: sc=%p, port=%d count=%d data[0]=" : : On 12/4/08 1:15 PM, M. Warner Losh wrote: : > In message: <200812041853.35539.hselasky@c2i.net> : > Hans Petter Selasky writes: : > : On Thursday 04 December 2008, Mike Tancsa wrote: : > : > At 02:33 PM 12/3/2008, Gabor wrote: : > : > >everything works fine. When we try to use a USB to serial : > : > >converter(type doesn't matter, UFTDI or Prolific) we run into : > : > >problems. The first time we start up our side, everything : > : > >works. The second time we don't get carrier(DCD). The other side : > : > >is always running. Since we have no control : > : > : > : > Also tried with the usb2 development stack, and we never see carrier. : > : > : > : > Id Refs Address Size Name : > : > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) : > : > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko : > : > (/boot/kernel/usb2_serial_ftdi.ko) : > : > 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) : > : > 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) : > : > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko : > : > (/boot/kernel/usb2_controller_uhci.ko) : > : > 6 2 0xc4cbe000 3000 usb2_controller.ko : > : > (/boot/kernel/usb2_controller.ko) : > : > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko : > : > (/boot/kernel/usb2_controller_ehci.ko) : > : > : > : : > : Hi, : > : : > : I think this event is not implemented in the driver. Try to diff the NetBSD : > : and FreeBSD uftdi.c files. : > : > I have some diffs in my inbox from someone that was trying to : > implement modem control for uftdi chips. Let me see if they make : > sense... : > : > 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" : > : : -- : Success is the result when preparation meets opportunity. : _______________________________________________ : 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 hselasky at c2i.net Thu Dec 4 11:00:08 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 11:00:15 2008 Subject: ucom serial bug? In-Reply-To: <20081204.114842.-1540410064.imp@bsdimp.com> References: <200812041853.35539.hselasky@c2i.net> <49382349.5040804@sentex.net> <20081204.114842.-1540410064.imp@bsdimp.com> Message-ID: <200812042002.09860.hselasky@c2i.net> On Thursday 04 December 2008, M. Warner Losh wrote: > Ian Lepore Here is the patch for USB2: http://perforce.freebsd.org/chv.cgi?CH=154057 --HPS From gabor at sentex.net Thu Dec 4 11:20:27 2008 From: gabor at sentex.net (Gabor) Date: Thu Dec 4 11:20:32 2008 Subject: ucom serial bug? In-Reply-To: <20081204.114842.-1540410064.imp@bsdimp.com> References: <200812041853.35539.hselasky@c2i.net> <20081204.111528.1723218601.imp@bsdimp.com> <49382349.5040804@sentex.net> <20081204.114842.-1540410064.imp@bsdimp.com> Message-ID: <49382D74.1030907@sentex.net> Hi Warner, this patch did not seem to fix the issue. In fact this time after unloading the module and reloading it, and then checking the carrier doesn't raise carrier even on the first try. On 12/4/08 1:48 PM, M. Warner Losh wrote: > In message: <49382349.5040804@sentex.net> > Gabor writes: > : Hi, > : > : thanks for looking at this issue. Are you guys saying that this was not meant to work? As in I shouldn't expect to see carrier? > > Ian Lepore sent me this patch a little while ago. I've not had time > to look into it. If you could test it and let me know, then I'll be > able to commit it more quickly. It is against a slightly hacked > version of 6.1, but should translate right over. > > Warner > > Index: uftdi.c > =================================================================== > RCS file: /base/FreeBSD-tsc-6/sys/dev/usb/uftdi.c,v > retrieving revision 1.2 > diff -u -r1.2 uftdi.c > --- uftdi.c 24 Sep 2007 21:37:33 -0000 1.2 > +++ uftdi.c 14 Nov 2008 18:17:02 -0000 > @@ -457,13 +457,24 @@ > { > struct uftdi_softc *sc = vsc; > u_char msr, lsr; > + u_char ftdi_msr; > > DPRINTFN(15,("uftdi_read: sc=%p, port=%d count=%d\n", sc, portno, > *count)); > > - msr = FTDI_GET_MSR(*ptr); > + ftdi_msr = FTDI_GET_MSR(*ptr); > lsr = FTDI_GET_LSR(*ptr); > > + msr = 0; > + if (ftdi_msr & FTDI_SIO_CTS_MASK) > + msr |= SER_CTS; > + if (ftdi_msr & FTDI_SIO_DSR_MASK) > + msr |= SER_DSR; > + if (ftdi_msr & FTDI_SIO_RI_MASK) > + msr |= SER_RI; > + if (ftdi_msr & FTDI_SIO_RLSD_MASK) > + msr |= SER_DCD; > + > #ifdef USB_DEBUG > if (*count != 2) > DPRINTFN(10,("uftdi_read: sc=%p, port=%d count=%d data[0]=" > > : > : On 12/4/08 1:15 PM, M. Warner Losh wrote: > : > In message: <200812041853.35539.hselasky@c2i.net> > : > Hans Petter Selasky writes: > : > : On Thursday 04 December 2008, Mike Tancsa wrote: > : > : > At 02:33 PM 12/3/2008, Gabor wrote: > : > : > >everything works fine. When we try to use a USB to serial > : > : > >converter(type doesn't matter, UFTDI or Prolific) we run into > : > : > >problems. The first time we start up our side, everything > : > : > >works. The second time we don't get carrier(DCD). The other side > : > : > >is always running. Since we have no control > : > : > > : > : > Also tried with the usb2 development stack, and we never see carrier. > : > : > > : > : > Id Refs Address Size Name > : > : > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) > : > : > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko > : > : > (/boot/kernel/usb2_serial_ftdi.ko) > : > : > 3 5 0xc4b99000 36000 usb2_core.ko (/boot/kernel/usb2_core.ko) > : > : > 4 1 0xc4c56000 4000 usb2_serial.ko (/boot/kernel/usb2_serial.ko) > : > : > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko > : > : > (/boot/kernel/usb2_controller_uhci.ko) > : > : > 6 2 0xc4cbe000 3000 usb2_controller.ko > : > : > (/boot/kernel/usb2_controller.ko) > : > : > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko > : > : > (/boot/kernel/usb2_controller_ehci.ko) > : > : > > : > : > : > : Hi, > : > : > : > : I think this event is not implemented in the driver. Try to diff the NetBSD > : > : and FreeBSD uftdi.c files. > : > > : > I have some diffs in my inbox from someone that was trying to > : > implement modem control for uftdi chips. Let me see if they make > : > sense... > : > > : > 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" > : > > : > : -- > : Success is the result when preparation meets opportunity. > : _______________________________________________ > : 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" > : > : > -- Success is the result when preparation meets opportunity. From hselasky at c2i.net Thu Dec 4 12:39:12 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 12:39:17 2008 Subject: ucom serial bug? In-Reply-To: <49382D74.1030907@sentex.net> References: <200812041853.35539.hselasky@c2i.net> <20081204.114842.-1540410064.imp@bsdimp.com> <49382D74.1030907@sentex.net> Message-ID: <200812042141.20836.hselasky@c2i.net> On Thursday 04 December 2008, Gabor wrote: > Hi Warner, > > this patch did not seem to fix the issue. In fact this time after > unloading the module and reloading it, and then checking the carrier > doesn't raise carrier even on the first try. > Can it be that the new mpsafetty layer does not remember the TTY state (MSR bits) betweeen two open/close sessions ? The uftdi driver will only report deltas in the MSR register. --HPS From gabor at sentex.net Thu Dec 4 13:15:05 2008 From: gabor at sentex.net (Gabor) Date: Thu Dec 4 13:15:12 2008 Subject: ucom serial bug? In-Reply-To: <200812042141.20836.hselasky@c2i.net> References: <200812041853.35539.hselasky@c2i.net> <20081204.114842.-1540410064.imp@bsdimp.com> <49382D74.1030907@sentex.net> <200812042141.20836.hselasky@c2i.net> Message-ID: <49384854.8000008@sentex.net> Hi Hans, we just tested against RELENG_7 with the patch and we get the same behaviour. First time we get carrier but not on the second or subsequent try. Here is the patch we used. --- uftdi.c.orig 2008-12-04 15:54:42.000000000 -0500 +++ uftdi.c 2008-12-04 15:54:45.000000000 -0500 @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -457,13 +458,25 @@ { struct uftdi_softc *sc = vsc; u_char msr, lsr; + u_char ftdi_msr; DPRINTFN(15,("uftdi_read: sc=%p, port=%d count=%d\n", sc, portno, *count)); - msr = FTDI_GET_MSR(*ptr); + ftdi_msr = FTDI_GET_MSR(*ptr); lsr = FTDI_GET_LSR(*ptr); + msr = 0; + if (ftdi_msr & FTDI_SIO_CTS_MASK) + msr |= SER_CTS; + if (ftdi_msr & FTDI_SIO_DSR_MASK) + msr |= SER_DSR; + if (ftdi_msr & FTDI_SIO_RI_MASK) + msr |= SER_RI; + if (ftdi_msr & FTDI_SIO_RLSD_MASK) + msr |= SER_DCD; + + #ifdef USB_DEBUG if (*count != 2) DPRINTFN(10,("uftdi_read: sc=%p, port=%d count=%d data[0]=" On 12/4/08 3:41 PM, Hans Petter Selasky wrote: > On Thursday 04 December 2008, Gabor wrote: >> Hi Warner, >> >> this patch did not seem to fix the issue. In fact this time after >> unloading the module and reloading it, and then checking the carrier >> doesn't raise carrier even on the first try. >> > > Can it be that the new mpsafetty layer does not remember the TTY state (MSR > bits) betweeen two open/close sessions ? > > The uftdi driver will only report deltas in the MSR register. > > --HPS > -- Success is the result when preparation meets opportunity. From gabor at sentex.net Thu Dec 4 13:54:02 2008 From: gabor at sentex.net (Gabor) Date: Thu Dec 4 13:54:08 2008 Subject: ucom serial bug? In-Reply-To: <49382D74.1030907@sentex.net> References: <200812041853.35539.hselasky@c2i.net> <20081204.111528.1723218601.imp@bsdimp.com> <49382349.5040804@sentex.net> <20081204.114842.-1540410064.imp@bsdimp.com> <49382D74.1030907@sentex.net> Message-ID: <49385176.3070104@sentex.net> Some more twists to this. As I said if I kill off our program and restart it, it never sees carrier unless the module was reloaded. However, if I unplug the serial cable from the Windows box and re-plug it, carrier goes and comes back as expected but only as long as our software is running. If our software is not running and we unplug the serial cable from the Windows box, carrier does not come back when we start up our program with the cable plugged back in. On 12/4/08 2:20 PM, Gabor wrote: > Hi Warner, > > this patch did not seem to fix the issue. In fact this time after > unloading the module and reloading it, and then checking the carrier > doesn't raise carrier even on the first try. > > On 12/4/08 1:48 PM, M. Warner Losh wrote: >> In message: <49382349.5040804@sentex.net> >> Gabor writes: >> : Hi, >> : : thanks for looking at this issue. Are you guys saying that this >> was not meant to work? As in I shouldn't expect to see carrier? >> >> Ian Lepore sent me this patch a little while ago. I've not had time >> to look into it. If you could test it and let me know, then I'll be >> able to commit it more quickly. It is against a slightly hacked >> version of 6.1, but should translate right over. >> >> Warner >> >> Index: uftdi.c >> =================================================================== >> RCS file: /base/FreeBSD-tsc-6/sys/dev/usb/uftdi.c,v >> retrieving revision 1.2 >> diff -u -r1.2 uftdi.c >> --- uftdi.c 24 Sep 2007 21:37:33 -0000 1.2 >> +++ uftdi.c 14 Nov 2008 18:17:02 -0000 >> @@ -457,13 +457,24 @@ >> { >> struct uftdi_softc *sc = vsc; >> u_char msr, lsr; >> + u_char ftdi_msr; >> >> DPRINTFN(15,("uftdi_read: sc=%p, port=%d count=%d\n", sc, portno, >> *count)); >> >> - msr = FTDI_GET_MSR(*ptr); >> + ftdi_msr = FTDI_GET_MSR(*ptr); >> lsr = FTDI_GET_LSR(*ptr); >> >> + msr = 0; >> + if (ftdi_msr & FTDI_SIO_CTS_MASK) >> + msr |= SER_CTS; >> + if (ftdi_msr & FTDI_SIO_DSR_MASK) >> + msr |= SER_DSR; >> + if (ftdi_msr & FTDI_SIO_RI_MASK) >> + msr |= SER_RI; >> + if (ftdi_msr & FTDI_SIO_RLSD_MASK) >> + msr |= SER_DCD; >> + >> #ifdef USB_DEBUG >> if (*count != 2) >> DPRINTFN(10,("uftdi_read: sc=%p, port=%d count=%d data[0]=" >> >> : : On 12/4/08 1:15 PM, M. Warner Losh wrote: >> : > In message: <200812041853.35539.hselasky@c2i.net> >> : > Hans Petter Selasky writes: >> : > : On Thursday 04 December 2008, Mike Tancsa wrote: >> : > : > At 02:33 PM 12/3/2008, Gabor wrote: >> : > : > >everything works fine. When we try to use a USB to serial >> : > : > >converter(type doesn't matter, UFTDI or Prolific) we run into >> : > : > >problems. The first time we start up our side, everything >> : > : > >works. The second time we don't get carrier(DCD). The other >> side >> : > : > >is always running. Since we have no control >> : > : > >> : > : > Also tried with the usb2 development stack, and we never see >> carrier. >> : > : > >> : > : > Id Refs Address Size Name >> : > : > 1 20 0xc0400000 9f8014 kernel (/boot/kernel/kernel) >> : > : > 2 1 0xc4b95000 3000 usb2_serial_ftdi.ko >> : > : > (/boot/kernel/usb2_serial_ftdi.ko) >> : > : > 3 5 0xc4b99000 36000 usb2_core.ko >> (/boot/kernel/usb2_core.ko) >> : > : > 4 1 0xc4c56000 4000 usb2_serial.ko >> (/boot/kernel/usb2_serial.ko) >> : > : > 5 1 0xc4cb4000 a000 usb2_controller_uhci.ko >> : > : > (/boot/kernel/usb2_controller_uhci.ko) >> : > : > 6 2 0xc4cbe000 3000 usb2_controller.ko >> : > : > (/boot/kernel/usb2_controller.ko) >> : > : > 7 1 0xc4d50000 d000 usb2_controller_ehci.ko >> : > : > (/boot/kernel/usb2_controller_ehci.ko) >> : > : > >> : > : : > : Hi, >> : > : : > : I think this event is not implemented in the driver. Try >> to diff the NetBSD : > : and FreeBSD uftdi.c files. >> : > : > I have some diffs in my inbox from someone that was trying to >> : > implement modem control for uftdi chips. Let me see if they make >> : > sense... >> : > : > 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" >> : > : : -- : Success is the result when preparation meets opportunity. >> : _______________________________________________ >> : 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" >> : : > -- Success is the result when preparation meets opportunity. From hselasky at c2i.net Thu Dec 4 14:18:36 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Dec 4 14:18:43 2008 Subject: ucom serial bug? In-Reply-To: <49385176.3070104@sentex.net> References: <200812041853.35539.hselasky@c2i.net> <49382D74.1030907@sentex.net> <49385176.3070104@sentex.net> Message-ID: <200812042320.48818.hselasky@c2i.net> On Thursday 04 December 2008, Gabor wrote: > Some more twists to this. As I said if I kill off our program and restart > it, it never sees carrier unless the module was reloaded. However, if I > unplug the serial cable from the Windows box and re-plug it, carrier goes > and comes back as expected but only as long as our software is running. If > our software is not running and we unplug the serial cable from the Windows > box, carrier does not come back when we start up our program with the cable > plugged back in. Maybe you can try setting the MSR to zero when the modem is opened in the uftdi.c driver file. In USB2 there is also a sysctl for UFTDI debugging which you can check. --HPS From mike at sentex.net Thu Dec 4 14:37:35 2008 From: mike at sentex.net (Mike Tancsa) Date: Thu Dec 4 14:37:42 2008 Subject: ucom serial bug? In-Reply-To: <200812042320.48818.hselasky@c2i.net> References: <200812041853.35539.hselasky@c2i.net> <49382D74.1030907@sentex.net> <49385176.3070104@sentex.net> <200812042320.48818.hselasky@c2i.net> Message-ID: <200812042237.mB4MbWLK018707@lava.sentex.ca> At 05:20 PM 12/4/2008, Hans Petter Selasky wrote: >On Thursday 04 December 2008, Gabor wrote: > > Some more twists to this. As I said if I kill off our program and restart > > it, it never sees carrier unless the module was reloaded. However, if I > > unplug the serial cable from the Windows box and re-plug it, carrier goes > > and comes back as expected but only as long as our software is running. If > > our software is not running and we unplug the serial cable from the Windows > > box, carrier does not come back when we start up our program with the cable > > plugged back in. > >Maybe you can try setting the MSR to zero when the modem is opened in the >uftdi.c driver file. > >In USB2 there is also a sysctl for UFTDI debugging which you can check. Hi, In the regular USB stack, I did run it with some debugging enabled. The diff between the first run and the second run is below using Gabor's check carrier program I havent tried with debugging enabled and just pulling the serial cable out yet. I will try that tomorrow when back at the office! In terms of setting the MSR to zero, do you mean in static int uftdi_open(void *vsc, int portno) ? First run where the program sees carrier : ucom0 on uhub3 : ucomtty_param: sc = 0xc47faa80 : ucomstopread: enter : ucomstopread: bulkin pipe NULL : uftdi_param: sc=0xc47faa80 : ucomstartread: start : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucom0: ucomtty_open: tp = 0xc4c7c800 : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : uftdi_open: sc=0xc47faa80 : uftdi_param: sc=0xc47faa80 : ucomtty_open: open pipes in = 129 out = 2 : ucomstartread: start : ucomioctl: cmd = 0x402c7413 : ucomioctl: cmd = 0x802c7414 : ucomtty_param: sc = 0xc47faa80 : ucomstopread: enter : ucomreadcb: status = 6 : ucomstopread: leave : uftdi_param: sc=0xc47faa80 : ucomstartread: start : ucomioctl: cmd = 0x8004667e : ucomioctl: cmd = 0x8004667d : ucomioctl: cmd = 0x4004746a : ucomioctl: cmd = 0x4004746a : ucomioctl: cmd = 0x8004746d : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x00) : uftdi_status: msr=0xb0 lsr=0x60 : ucom_status_change: about to check sc->sc_poll it is 1 : ucom_status_change: DCD changed to 1 : ucomstartread: start : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucomioctl: cmd = 0x4004746a : ucom0: ucomtty_close : ucom_cleanup: closing pipes : ucom_shutdown : ucom_dtr: onoff = 0 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=0 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : uftdi_read: status change msr=0x00(0xb0) lsr=0x60(0x60) : uftdi_status: msr=0x00 lsr=0x60 : ucom_status_change: about to check sc->sc_poll it is 1 : ucom_status_change: DCD changed to 0 : ucomstartread: start : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x60) : uftdi_status: msr=0xb0 lsr=0x60 : ucom_status_change: about to check sc->sc_poll it is 1 : ucom_status_change: DCD changed to 1 : ucomstartread: start : ucomreadcb: status = 6 and second run, where it does not : ucomtty_param: sc = 0xc47faa80 : ucomstopread: enter : ucomstopread: leave : uftdi_param: sc=0xc47faa80 : ucomstartread: start : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucom0: ucomtty_open: tp = 0xc4c7c800 : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : uftdi_open: sc=0xc47faa80 : uftdi_param: sc=0xc47faa80 : ucomtty_open: open pipes in = 129 out = 2 : ucomstartread: start : ucomioctl: cmd = 0x402c7413 : ucomioctl: cmd = 0x802c7414 : ucomtty_param: sc = 0xc47faa80 : ucomstopread: enter : ucomreadcb: status = 6 : ucomstopread: leave : uftdi_param: sc=0xc47faa80 : ucomstartread: start : ucomioctl: cmd = 0x8004667e : ucomioctl: cmd = 0x8004667d : ucomioctl: cmd = 0x4004746a : ucomioctl: cmd = 0x4004746a : ucomioctl: cmd = 0x8004746d : ucom_dtr: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : ucomstartread: start : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucomioctl: cmd = 0x4004746a : ucom0: ucomtty_close : ucom_cleanup: closing pipes : ucom_shutdown : ucom_dtr: onoff = 0 : uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=0 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : uftdi_read: status change msr=0x00(0xb0) lsr=0x60(0x60) : uftdi_status: msr=0x00 lsr=0x60 : ucomstartread: start : ucom_rts: onoff = 1 : uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 : ucomreadcb: status = 0 : ucomreadcb: got 2 chars, tp = 0xc4c7c800 : uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x60) : uftdi_status: msr=0xb0 lsr=0x60 : ucom_status_change: about to check sc->sc_poll it is 1 : ucom_status_change: DCD changed to 1 : ucomstartread: start : ucomreadcb: status = 6 % diff a b 2d1 < : ucom0 on uhub3 5c4 < : ucomstopread: bulkin pipe NULL --- > : ucomstopread: leave 38,41d36 < : uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x00) < : uftdi_status: msr=0xb0 lsr=0x60 < : ucom_status_change: about to check sc->sc_poll it is 1 < : ucom_status_change: DCD changed to 1 55,56d49 < : ucom_status_change: about to check sc->sc_poll it is 1 < : ucom_status_change: DCD changed to 0 From mike at sentex.net Fri Dec 5 13:38:24 2008 From: mike at sentex.net (Mike Tancsa) Date: Fri Dec 5 13:38:31 2008 Subject: ucom serial bug? In-Reply-To: <7.1.0.9.0.20081204172610.16c1d868@sentex.net> References: <200812041853.35539.hselasky@c2i.net> <49382D74.1030907@sentex.net> <49385176.3070104@sentex.net> <200812042320.48818.hselasky@c2i.net> <7.1.0.9.0.20081204172610.16c1d868@sentex.net> Message-ID: <200812052138.mB5LcId3024797@lava.sentex.ca> At 05:37 PM 12/4/2008, Mike Tancsa wrote: >At 05:20 PM 12/4/2008, Hans Petter Selasky wrote: >>On Thursday 04 December 2008, Gabor wrote: >> > Some more twists to this. As I said if I kill off our program and restart >> > it, it never sees carrier unless the module was reloaded. However, if I >> > unplug the serial cable from the Windows box and re-plug it, carrier goes >> > and comes back as expected but only as long as our software is >> running. If >> > our software is not running and we unplug the serial cable from >> the Windows >> > box, carrier does not come back when we start up our program >> with the cable >> > plugged back in. >> >>Maybe you can try setting the MSR to zero when the modem is opened in the >>uftdi.c driver file. >> >>In USB2 there is also a sysctl for UFTDI debugging which you can check. > >Hi, > In the regular USB stack, I did run it with some debugging > enabled. The diff between the first run and the second run is > below using Gabor's check carrier program > >I havent tried with debugging enabled and just pulling the serial >cable out yet. I will try that tomorrow when back at the office! While the program is running and has /dev/cuaU0 open and NOT seeing carrier (when it should) its just a series of Dec 5 15:56:50 current kernel: ucomstartread: start Dec 5 15:56:50 current kernel: ucomreadcb: status = 0 Dec 5 15:56:50 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:50 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:50 current kernel: ucomstartread: start with 4 ioctls in a 1 second span # grep 15:56:50 all.log | grep ioc Dec 5 15:56:50 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:50 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:50 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:50 current kernel: ucomioctl: cmd = 0x4004746a When I go and unplug the serial cable and then plug it back in I see Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: uftdi_read: status change msr=0x20(0x00) lsr=0x60(0x60) Dec 5 15:56:52 current kernel: uftdi_status: msr=0x20 lsr=0x60 Dec 5 15:56:52 current kernel: ucom_status_change: DCD changed to 1 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: uftdi_read: status change msr=0xa0(0x20) lsr=0x60(0x60) Dec 5 15:56:52 current kernel: uftdi_status: msr=0xa0 lsr=0x60 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomtty_outwakeup: sc = 0xc4568d80 Dec 5 15:56:52 current kernel: uftdi_write: sc=0xc4568d80, port=1 tp=0xc4d19000, count=64 Dec 5 15:56:52 current kernel: ucomtty_outwakeup: 3 chars Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:52 current kernel: ucomwritecb: status = 0 Dec 5 15:56:52 current kernel: ucomwritecb: cc = 3 Dec 5 15:56:52 current kernel: ucomtty_outwakeup: sc = 0xc4568d80 Dec 5 15:56:52 current kernel: uftdi_write: sc=0xc4568d80, port=1 tp=0xc4d19000, count=64 Dec 5 15:56:52 current kernel: ucomtty_outwakeup: cnt == 0 Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: uftdi_read: status change msr=0xb0(0xa0) lsr=0x60(0x60) Dec 5 15:56:52 current kernel: uftdi_status: msr=0xb0 lsr=0x60 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 3 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=3 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=3 data[0]=0x84 Dec 5 15:56:52 current kernel: ucomreadcb: char = 0x84 Dec 5 15:56:52 current kernel: ucomstartread: start Dec 5 15:56:52 current kernel: ucomreadcb: status = 0 Dec 5 15:56:52 current kernel: ucomreadcb: got 2 chars, tp = 0xc4d19000 Dec 5 15:56:52 current kernel: uftdi_read: sc=0xc4568d80, port=1 count=2 Dec 5 15:56:52 current kernel: uftdi_read: status change msr=0xa0(0xb0) lsr=0x60(0x60) Dec 5 15:56:52 current kernel: uftdi_status: msr=0xa0 lsr=0x60 Dec 5 15:56:52 current kernel: ucomstartread: start # grep "15:56:5[1-4]" all.log | grep ioc Dec 5 15:56:51 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:51 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:51 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:51 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:52 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:53 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x2000745e Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x4004746a Dec 5 15:56:54 current kernel: ucomioctl: cmd = 0x2000745e Any ideas ? ---Mike >In terms of setting the MSR to zero, do you mean in > >static int uftdi_open(void *vsc, int portno) > >? > > > > >First run where the program sees carrier > >: ucom0 on uhub3 >: ucomtty_param: sc = 0xc47faa80 >: ucomstopread: enter >: ucomstopread: bulkin pipe NULL >: uftdi_param: sc=0xc47faa80 >: ucomstartread: start >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucom0: ucomtty_open: tp = 0xc4c7c800 >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: uftdi_open: sc=0xc47faa80 >: uftdi_param: sc=0xc47faa80 >: ucomtty_open: open pipes in = 129 out = 2 >: ucomstartread: start >: ucomioctl: cmd = 0x402c7413 >: ucomioctl: cmd = 0x802c7414 >: ucomtty_param: sc = 0xc47faa80 >: ucomstopread: enter >: ucomreadcb: status = 6 >: ucomstopread: leave >: uftdi_param: sc=0xc47faa80 >: ucomstartread: start >: ucomioctl: cmd = 0x8004667e >: ucomioctl: cmd = 0x8004667d >: ucomioctl: cmd = 0x4004746a >: ucomioctl: cmd = 0x4004746a >: ucomioctl: cmd = 0x8004746d >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x00) >: uftdi_status: msr=0xb0 lsr=0x60 >: ucom_status_change: about to check sc->sc_poll it is 1 >: ucom_status_change: DCD changed to 1 >: ucomstartread: start >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucomioctl: cmd = 0x4004746a >: ucom0: ucomtty_close >: ucom_cleanup: closing pipes >: ucom_shutdown >: ucom_dtr: onoff = 0 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=0 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: uftdi_read: status change msr=0x00(0xb0) lsr=0x60(0x60) >: uftdi_status: msr=0x00 lsr=0x60 >: ucom_status_change: about to check sc->sc_poll it is 1 >: ucom_status_change: DCD changed to 0 >: ucomstartread: start >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x60) >: uftdi_status: msr=0xb0 lsr=0x60 >: ucom_status_change: about to check sc->sc_poll it is 1 >: ucom_status_change: DCD changed to 1 >: ucomstartread: start >: ucomreadcb: status = 6 > >and second run, where it does not > > > >: ucomtty_param: sc = 0xc47faa80 >: ucomstopread: enter >: ucomstopread: leave >: uftdi_param: sc=0xc47faa80 >: ucomstartread: start >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucom0: ucomtty_open: tp = 0xc4c7c800 >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: uftdi_open: sc=0xc47faa80 >: uftdi_param: sc=0xc47faa80 >: ucomtty_open: open pipes in = 129 out = 2 >: ucomstartread: start >: ucomioctl: cmd = 0x402c7413 >: ucomioctl: cmd = 0x802c7414 >: ucomtty_param: sc = 0xc47faa80 >: ucomstopread: enter >: ucomreadcb: status = 6 >: ucomstopread: leave >: uftdi_param: sc=0xc47faa80 >: ucomstartread: start >: ucomioctl: cmd = 0x8004667e >: ucomioctl: cmd = 0x8004667d >: ucomioctl: cmd = 0x4004746a >: ucomioctl: cmd = 0x4004746a >: ucomioctl: cmd = 0x8004746d >: ucom_dtr: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=1 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: ucomstartread: start >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucomioctl: cmd = 0x4004746a >: ucom0: ucomtty_close >: ucom_cleanup: closing pipes >: ucom_shutdown >: ucom_dtr: onoff = 0 >: uftdi_set: sc=0xc47faa80, port=1 reg=1 onoff=0 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: uftdi_read: status change msr=0x00(0xb0) lsr=0x60(0x60) >: uftdi_status: msr=0x00 lsr=0x60 >: ucomstartread: start >: ucom_rts: onoff = 1 >: uftdi_set: sc=0xc47faa80, port=1 reg=2 onoff=1 >: ucomreadcb: status = 0 >: ucomreadcb: got 2 chars, tp = 0xc4c7c800 >: uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x60) >: uftdi_status: msr=0xb0 lsr=0x60 >: ucom_status_change: about to check sc->sc_poll it is 1 >: ucom_status_change: DCD changed to 1 >: ucomstartread: start >: ucomreadcb: status = 6 > > > > >% diff a b >2d1 >< : ucom0 on uhub3 >5c4 >< : ucomstopread: bulkin pipe NULL >--- > > : ucomstopread: leave >38,41d36 >< : uftdi_read: status change msr=0xb0(0x00) lsr=0x60(0x00) >< : uftdi_status: msr=0xb0 lsr=0x60 >< : ucom_status_change: about to check sc->sc_poll it is 1 >< : ucom_status_change: DCD changed to 1 >55,56d49 >< : ucom_status_change: about to check sc->sc_poll it is 1 >< : ucom_status_change: DCD changed to 0 From hselasky at c2i.net Sat Dec 6 01:46:02 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 6 01:46:09 2008 Subject: ucom serial bug? In-Reply-To: <200812042237.mB4MbWLK018707@lava.sentex.ca> References: <200812041853.35539.hselasky@c2i.net> <200812042320.48818.hselasky@c2i.net> <200812042237.mB4MbWLK018707@lava.sentex.ca> Message-ID: <200812061048.13136.hselasky@c2i.net> On Thursday 04 December 2008, Mike Tancsa wrote: > At 05:20 PM 12/4/2008, Hans Petter Selasky wrote: > >On Thursday 04 December 2008, Gabor wrote: > > In terms of setting the MSR to zero, do you mean in > > static int uftdi_open(void *vsc, int portno) > > ? Yes. Do you have MSN/AIM/ICQ/Skype or something like that so that we can debug this issue rapidly? --HPS From hselasky at c2i.net Sat Dec 6 02:19:01 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 6 02:19:13 2008 Subject: Device IDs for HP hs2300 HSDPA modem In-Reply-To: <4935CB2E.2020801@bindone.de> References: <492D6E0D.7020500@bindone.de> <200812021554.17516.hselasky@c2i.net> <4935CB2E.2020801@bindone.de> Message-ID: <200812061121.13760.hselasky@c2i.net> On Wednesday 03 December 2008, Michael wrote: > +???????{USB_VPI(USB_VENDOR_HP, USB_PRODUCT_HP_HS2300, U3GINFO(U3GSP_HSPA, > U3GFL_NONE))},???????????????/* XXX */ Comitted to P4: http://perforce.freebsd.org/chv.cgi?CH=154173 --HPS From hselasky at c2i.net Sat Dec 6 04:32:44 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 6 04:32:50 2008 Subject: [Serious] busdma bug in -current in relation to USB hardware - review wanted In-Reply-To: <200811161408.21562.hselasky@c2i.net> References: <20081107082740.GA1334@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811161408.21562.hselasky@c2i.net> Message-ID: <200812061334.55365.hselasky@c2i.net> Hi, After various feedback from several people I have made a new patch proposal that will fix the busdma problem. See: http://perforce.freebsd.org/chv.cgi?CH=154181 Review wanted! I don't know how to patch the psyco interface for SUN. Maybe there is nothing that needs to be patched? --HPS From xcllnt at mac.com Sat Dec 6 09:45:06 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Sat Dec 6 09:45:19 2008 Subject: [Serious] busdma bug in -current in relation to USB hardware - review wanted In-Reply-To: <200812061334.55365.hselasky@c2i.net> References: <20081107082740.GA1334@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811161408.21562.hselasky@c2i.net> <200812061334.55365.hselasky@c2i.net> Message-ID: <031DE609-3E5B-4508-BAB0-95800B7F02F4@mac.com> On Dec 6, 2008, at 4:34 AM, Hans Petter Selasky wrote: > Hi, > > After various feedback from several people I have made a new patch > proposal > that will fix the busdma problem. > > See: > > http://perforce.freebsd.org/chv.cgi?CH=154181 > > Review wanted! The USB stack has a fixed page size of 4K. On our 64-bit platforms PAGE_SIZE is at least 8K. Your change is sloppy in that respect and doesn't make the distinction. That makes the patch a kluge. The definition of BUS_DMA_NO_REALIGN is based on circumstantial evidence only and as such, works as a side-effect. I don't think that's a good design. I don't think there's any reason not to preserve the page offset in all cases. So far all hardware worked whether or not their DMA pages were bounced and the non-bounced pages would have a possible non-zero page offset, whereas the bounced pages would always have a zero page offset. In short: it works either way. In particular, it works with the page offset preserved. Why not preserve it always? What's the downside? -- Marcel Moolenaar xcllnt@mac.com From hselasky at c2i.net Sun Dec 7 01:23:49 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Dec 7 01:23:56 2008 Subject: [Serious] busdma bug in -current in relation to USB hardware - review wanted In-Reply-To: <031DE609-3E5B-4508-BAB0-95800B7F02F4@mac.com> References: <20081107082740.GA1334@icarus.home.lan> <200812061334.55365.hselasky@c2i.net> <031DE609-3E5B-4508-BAB0-95800B7F02F4@mac.com> Message-ID: <200812071026.00497.hselasky@c2i.net> On Saturday 06 December 2008, Marcel Moolenaar wrote: > On Dec 6, 2008, at 4:34 AM, Hans Petter Selasky wrote: > > Hi, > > > > After various feedback from several people I have made a new patch > > proposal > > that will fix the busdma problem. > > > > See: > > > > http://perforce.freebsd.org/chv.cgi?CH=154181 > > > > Review wanted! > > The USB stack has a fixed page size of 4K. On our 64-bit platforms > PAGE_SIZE is at least 8K. Your change is sloppy in that respect > and doesn't make the distinction. That makes the patch a kluge. > The definition of BUS_DMA_NO_REALIGN is based on circumstantial > evidence only and as such, works as a side-effect. I don't think > that's a good design. > > I don't think there's any reason not to preserve the page offset > in all cases. So far all hardware worked whether or not their > DMA pages were bounced and the non-bounced pages would have a > possible non-zero page offset, whereas the bounced pages would > always have a zero page offset. In short: it works either way. > In particular, it works with the page offset preserved. Why not > preserve it always? What's the downside? Hi Marcel, I think you might be right there. There is one case in which I don't understand what is the correct busdma behaviour. If the DMA tag has an alignment of 4 bytes, and the memory loaded is not aligned to four bytes, then should a bounce page be used? If yes, then you will need to clear the page offset. Else not. NOTE: We are not talking about allocating DMA memory, only loading it. --HPS From marius at alchemy.franken.de Sun Dec 7 08:54:05 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Sun Dec 7 08:54:11 2008 Subject: [Serious] busdma bug in -current in relation to USB hardware - review wanted In-Reply-To: <200812061334.55365.hselasky@c2i.net> References: <20081107082740.GA1334@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811161408.21562.hselasky@c2i.net> <200812061334.55365.hselasky@c2i.net> Message-ID: <20081207161947.GA82662@alchemy.franken.de> On Sat, Dec 06, 2008 at 01:34:54PM +0100, Hans Petter Selasky wrote: > Hi, > > After various feedback from several people I have made a new patch proposal > that will fix the busdma problem. > > See: > > http://perforce.freebsd.org/chv.cgi?CH=154181 > > Review wanted! > > I don't know how to patch the psyco interface for SUN. Maybe there is nothing > that needs to be patched? Neither sparc64 nor sun4u has support for bounce buffers; it's not really worth the effort to implement IOMMU-bypass and bounce buffers for the few devices only doing < 32-bit DMA and for >= 32-bit DMA the IOMMU takes care of the address translation for all practical purposes. In any case this isn't specific to psycho(4). Marius From bugmaster at FreeBSD.org Mon Dec 8 03:07:05 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Dec 8 03:09:22 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200812081107.mB8B74wP014434@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/129311 usb Instant crash with an USB card reader o usb/129251 usb [patch] Liebert UPS being assigned uhid and not ugen o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/129129 usb panic with device Meizu MiniPlayer M6 (SL) under usb2 o usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb uaudio is not full duplex o usb/128847 usb Detachment of mounted USB flash drive causes system fr o usb/128803 usb [patch] [quirk] Quirk for I-Tuner Networks USBLCD4X20 o usb/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f 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/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/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 a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID 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 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 s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 293 problems total. From schmidt at ze.tum.de Mon Dec 8 06:10:02 2008 From: schmidt at ze.tum.de (Gerhard Schmidt) Date: Mon Dec 8 06:10:08 2008 Subject: usb/129500: FreeBSD Crashes wenn connecting SanDisk Sensa e280 Message-ID: <200812081353.mB8DrSoU001746@etustar.ze.tum.de> >Number: 129500 >Category: usb >Synopsis: FreeBSD Crashes wenn connecting SanDisk Sensa e280 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 08 14:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gerhard Schmidt >Release: FreeBSD 7.1-PRERELEASE amd64 >Organization: Technische Universität München - WWW und Online Services >Environment: System: FreeBSD etustar.ze.tum.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #7: Mon Dec 1 08:23:20 CET 2008 root@etustar.ze.tum.de:/usr/src/sys/amd64/compile/ETUSTAR amd64 >Description: When i try to connect my SanDisk Sansa e280 MP3 Player to my FreeBSD Box. It panics. umass0: on uhub2 umass0: at uhub2 port 2 (addr 7) disconnected umass0: detached umass0: on uhub2 umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: at uhub2 port 2 (addr 7) disconnected Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write data, page not present instruction pointer = 0x8:0xffffffff8015c751 stack pointer = 0x10:0xffffffffae0273e0 frame pointer = 0x10:0xffffff0001535400 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 35 (usb2) trap number = 12 panic: page fault cpuid = 0 Uptime: 7m7s Physical memory: 4087 MB Dumping 492 MB: The Corefile is stored please contact me if you need it. >How-To-Repeat: >Fix: n/k >Release-Note: >Audit-Trail: >Unformatted: From avg at icyb.net.ua Mon Dec 8 07:06:07 2008 From: avg at icyb.net.ua (Andriy Gapon) Date: Mon Dec 8 07:06:15 2008 Subject: usb keyboard dying at loader prompt In-Reply-To: <20081128134802.GA75900@onelab2.iet.unipi.it> References: <4912E462.4090608@icyb.net.ua> <491586B9.2020303@vwsoft.com> <4919851B.7050800@icyb.net.ua> <492FF127.807@icyb.net.ua> <20081128134802.GA75900@onelab2.iet.unipi.it> Message-ID: <493D37DB.6030902@icyb.net.ua> [forwarded to the lists] on 28/11/2008 15:48 Luigi Rizzo said the following: > just as a test, can you check if /boot/loader from 6.2 (or sometime > before jan.2008 - e.g. you could take one from a 6.3 CD) which you > can also find at > > http://info.iet.unipi.it/~luigi/doc/20081128-freebsd-6.3-boot-loader > > gives the same behaviour ? > > I was seeing bugs related to the loader with pxeboot and > the behaviour that you mention below sounds related. > > It also sounds related to a problem that i a started having > recently with an usb keyboard after i upgraded to 7.x .... > in fact i am going to try this old loader myself! > > let me know how the old loader works and if it fixes the > problem i will relate the two issues and bring them up > on the lists for discussion Luigi, thank you very much for this! With your loader the things are much much better. The keyboard doesn't die anymore at the loader prompt! All in all, it seems that this is right direction. -- Andriy Gapon From noor at comrax.com Mon Dec 8 07:33:14 2008 From: noor at comrax.com (=?windows-1255?B?8OX4IOPg5eM=?=) Date: Mon Dec 8 07:33:22 2008 Subject: USB Keyboard is not working with a custom kernel Message-ID: <5646C960E487E84C8307CF11C1EC0B3D01830E44@comrax-dom.CORPORATE.LOCAL> Hello list, I've custom-built a kernel for a FreeBSD 7.0-STABLE amd64 system. The kernel file (/sys/amd64/conf/KERNEL) is shown below: *********************************************************** START OF FILE ** machine amd64 cpu HAMMER ident KERNEL maxusers 1024 # Mandatory options options SCHED_ULE # SMP options SMP # CPU frequency control device cpufreq # Memory (Adjusted for 4GB RAM for AMD64) options MAXDSIZ="(1536UL*1024*1024)" # 1.5GB for data options MAXSSIZ="(256UL*1024*1024)" # 256MB for stack options DFLDSIZ="(1536UL*1024*1024)" # Set default data size to 1.5GB # Configuration options KSE options PREEMPTION options PANIC_REBOOT_WAIT_TIME=30 options COMPAT_43 options SYSVSHM options SYSVSEM options SYSVMSG options _KPOSIX_PRIORITY_SCHEDULING options ADAPTIVE_GIANT # Screen, Keyboard & Mouse options MAXCONS=4 # File System options FFS options CD9660 options PROCFS options PSEUDOFS options SOFTUPDATES options UFS_DIRHASH options UFS_GJOURNAL # Filesystems, Samba/CIFS shares options NETSMB # SMB/CIFS requester options LIBMCHAIN # mbuf management library options LIBICONV options SMBFS options NFSSERVER options NFSCLIENT options NFSLOCKD # Networking options INET options ACCEPT_FILTER_DATA # All devices (Network, SCSI, Disks, Interface, ...) device miibus device bge device sio device fdc device ata device atadisk device atapicd device atapifd device loop device ether device isa device eisa device pci device agp device random device scbus device da device cd device ciss # Screen, Keyboard & Mouse device atkbdc device atkbd device psm device vga device sc device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ukbd # Keyboard device ugen # Generic device uhid # "Human Interface Devices" # Misc device acpi device pass device pty device snp device speaker ************************************************************* END OF FILE ** With this kernel, whenever I connect a USB keyboard, I see on the console an alert ("USB keyboard device this and that, connected to ....") and even the make/model of the keyboard is shown, but the keyboard doesn't work. The Num/Caps locks work (I mean, the light on the keyboard alternates between ON/OFF whenever press on the keys). Anyone knows what's the problem? And how to fix it? Thanks in advance. Noor From sk.paix at gmail.com Tue Dec 9 05:30:01 2008 From: sk.paix at gmail.com (Sergej Kandyla) Date: Tue Dec 9 05:30:08 2008 Subject: usb/129522: ubsa driver does not recognize ZTE AC8700 modem Message-ID: <200812091322.mB9DMXgv056124@www.freebsd.org> >Number: 129522 >Category: usb >Synopsis: ubsa driver does not recognize ZTE AC8700 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: Tue Dec 09 13:30:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sergej Kandyla >Release: 6 STABLE, 7 STABLE >Organization: xitexsoftware >Environment: FreeBSD zero 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0: Thu Nov 13 22:12:42 EET 2008 root@zero:/usr/obj/usr/src/sys/PAIX1 i386 >Description: ubsa driver does not recognize ZTE AC8700 EVDO modem >How-To-Repeat: just attached the device gets recognized by ugen instead of ubsa driver >Fix: cd / && patch -p < ac8700_ubsa.patch.txt Patch attached with submission follows: --- /usr/src/sys/dev/usb/usbdevs.orig 2008-12-05 17:53:19.000000000 +0200 +++ /usr/src/sys/dev/usb/usbdevs 2008-12-05 17:54:46.000000000 +0200 @@ -1464,6 +1464,7 @@ product QUALCOMM CDMA_MSM 0x3196 CDMA Technologies MSM modem product QUALCOMM2 CDMA_MSM 0x6000 CDMA Technologies MSM phone product QUALCOMMINC CDMA_MSM 0x0001 CDMA Technologies MSM modem +product QUALCOMMINC AC8700 0xfffe AC8700 CDMA USB modem /* Qtronix products */ product QTRONIX 980N 0x2011 Scorpion-980N keyboard --- /usr/src/sys/dev/usb/ubsa.c.orig 2008-12-05 17:44:43.000000000 +0200 +++ /usr/src/sys/dev/usb/ubsa.c 2008-12-05 17:46:23.000000000 +0200 @@ -234,6 +234,7 @@ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, /* Qualcomm, Inc. ZTE CDMA */ { USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM }, + { USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_AC8700 }, { 0, 0 } }; --- /usr/src/share/man/man4/ubsa.4.orig 2008-12-05 18:44:24.000000000 +0200 +++ /usr/src/share/man/man4/ubsa.4 2008-12-05 18:45:27.000000000 +0200 @@ -98,6 +98,8 @@ Peracom single port serial adapter .It Qualcomm, Inc. ZTE CDMA Technologies MSM +.It +Qualcomm, Inc. ZTE CDMA Technologies AC8700 .El .Pp The supported 3G cards provide the necessary modem port for ppp, >Release-Note: >Audit-Trail: >Unformatted: From mike at sentex.net Tue Dec 9 08:52:37 2008 From: mike at sentex.net (Mike Tancsa) Date: Tue Dec 9 08:52:44 2008 Subject: uftdi buffer size and latency Message-ID: <200812091652.mB9GqWSk048070@lava.sentex.ca> Hi, Based on what we found in http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001052.html I hacked up the following patch to uftdi which allows the recv/xmit buffer size to be tuned at bootup time. This allows our app which is low speed (1200bps), but very timing sensitive to work using a usb serial adaptor based on the uftdi chipset. For us, adding hint.uftdi.0.buffersize="9" to /boot/device.hints does the trick. Is there a better way to do this ? Are there any other side effects anyone can think of ? --- sys/dev/usb/uftdi.c.orig 2008-12-09 11:47:02.000000000 -0500 +++ sys/dev/usb/uftdi.c 2008-12-09 11:47:05.000000000 -0500 @@ -198,6 +198,7 @@ usb_interface_descriptor_t *id; usb_endpoint_descriptor_t *ed; int i; + unsigned int ivar; usbd_status err; struct ucom_softc *ucom = &sc->sc_ucom; DPRINTFN(10,("\nuftdi_attach: sc=%p\n", sc)); @@ -353,11 +354,27 @@ ucom->sc_portno = FTDI_PIT_SIOA; else ucom->sc_portno = FTDI_PIT_SIOA + id->bInterfaceNumber; - /* bulkin, bulkout set above */ - ucom->sc_ibufsize = UFTDIIBUFSIZE; - ucom->sc_obufsize = UFTDIOBUFSIZE - sc->sc_hdrlen; - ucom->sc_ibufsizepad = UFTDIIBUFSIZE; + /* For certain low speed / timing sensitive applications having the buffers too large causes + data to be stuck in the queue too long. By adding a tuneable, users can lower the buffer + size to what works for their application + */ + + if (!resource_int_value( + "uftdi", device_get_unit(ucom->sc_dev), "buffersize", &ivar) && (ivar > sc->sc_hdrlen && ivar <= UFTDIIBUFSIZE) ) { + ucom->sc_ibufsize = ivar; + ucom->sc_obufsize = ivar - sc->sc_hdrlen; + ucom->sc_ibufsizepad = ivar;; + device_printf(ucom->sc_dev, "Setting buffers to %d\n",ivar); + } + else + { + ucom->sc_ibufsize = UFTDIIBUFSIZE; + ucom->sc_obufsize = UFTDIOBUFSIZE - sc->sc_hdrlen; + ucom->sc_ibufsizepad = UFTDIIBUFSIZE; + device_printf(ucom->sc_dev, "Setting buffers to default of %d\n",UFTDIIBUFSIZE); + + } ucom->sc_opkthdrlen = sc->sc_hdrlen; ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From chrisc at vmunix.com Tue Dec 9 13:32:48 2008 From: chrisc at vmunix.com (Chris Coleman) Date: Tue Dec 9 13:32:54 2008 Subject: Losing keyboard after extended wait on USB KVM Message-ID: <8f6775e00812091311y47dab40t1e102112441c4e0@mail.gmail.com> I've got a 16 port USB IP KVM switch that I've got about 8 FBSD 7.0 machines plugged into. When I first plug them in, everything is great. However, after a couple of days, or maybe less, I switch back to one of the FBSD machines to do some maintenance and it is unresponsive. There is nothing wrong with the machine, because I can use the VPN and ssh into them. It appears that the USB connection to the KVM switch has disappeared. Unplugging and re-plugging in the USB connection fixes the problem, but that is problematic since I have to call the datacenter and have them do it each time I need KVM access. Any thoughts on where I would start troubleshooting this problem? -- Chris Coleman -- http://songnumbers.com From alexbestms at math.uni-muenster.de Wed Dec 10 03:17:56 2008 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Dec 10 03:18:02 2008 Subject: hardcoded usb1 modules in certain binaries Message-ID: hi there, i talked to Petter a while ago, because binaries like moused have certain usb1 modules hardcoded into them. moused e.g. relies on ums.ko. if it is unable to detect the module it will load it, thus also loading usb.ko (even if we're running the usb2 stack). this line in moused is responsible for loading ums.ko and usb.ko: return (kld_isloaded("uhub/ums") || kld_load("ums") != -1); changing the line to return (kld_isloaded("ushub/ums") || kld_load("usb2_input_ms") != -1 || kld_isloaded("uhub/ums") || kld_load("ums") != -1); fixes the issue where ums.ko and usb.ko get loaded although usb2 with input_ms is present, but isn't more that a quick hack. how about this: let's introduce a new sysctl variable. if the kernel gets compiled with usb1 support we set the variable to 0. it it is compiled with the usb2 stack we set the variable to 1. that way we could check to see which stack the user is running. if he's running the usb1 stack we check for "uhub/ums" and in case we're running the usb2 stack we rely on "ushub/ums". if the kernel doesn't include any of the usb stacks we set to variable to 0 so the usb1 stack gets loaded as kernel module. if at some point we want usb2 to become the standard usb stack we can change the default settings from 0 to 1 so that usb2.ko get's loaded if no usb stack got compiled into the kernel. what are your thoughts on this one? another way of taking care of the problem would be to adjust kld_isloaded so that it includes aliases for all the usb2 modules. calling kld_isloaded with "uhub/ums" would first check for "ushub/ums" and then for "uhub/ums". this solution wouldn't require any changes to the actual binaries that have usb1 modules hardcoded into them. imo this is the best solution. a third way would be to get rid of all the kld_isloaded calls and instead check to see if /dev/ums0 exists, but that's far from being a clean solution. cheers. From alfred at freebsd.org Wed Dec 10 08:03:45 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Wed Dec 10 08:03:51 2008 Subject: Losing keyboard after extended wait on USB KVM In-Reply-To: <8f6775e00812091311y47dab40t1e102112441c4e0@mail.gmail.com> References: <8f6775e00812091311y47dab40t1e102112441c4e0@mail.gmail.com> Message-ID: <20081210160344.GK27096@elvis.mu.org> * Chris Coleman [081209 13:32] wrote: > I've got a 16 port USB IP KVM switch that I've got about 8 FBSD 7.0 > machines plugged into. When I first plug them in, everything is great. > However, after a couple of days, or maybe less, I switch back to one > of the FBSD machines to do some maintenance and it is unresponsive. > There is nothing wrong with the machine, because I can use the VPN and > ssh into them. It appears that the USB connection to the KVM switch > has disappeared. Unplugging and re-plugging in the USB connection > fixes the problem, but that is problematic since I have to call the > datacenter and have them do it each time I need KVM access. > > Any thoughts on where I would start troubleshooting this problem? any chance you can give the new usb stack a shot? it might be installable on -stable. -- - Alfred Perlstein From olli at lurza.secnetix.de Fri Dec 12 12:27:30 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 12 12:27:42 2008 Subject: usb2 + scanner HP ScanJet 4300C Message-ID: <200812122027.mBCKRRZt011007@lurza.secnetix.de> Hi, I've got a HP ScanJet 4300C that seems to be a little bit stubborn. It doesn't work with the old USB code, so I updated to 8-current and compiled a kernel with the new usb2 drivers. Now I get: usb2_alloc_device:1590: Failure selecting configuration index 0: USB_ERR_TIMEOUT, port 2, addr 2 ugen0.2: at usbus0 uhub_reattach_port:402: could not allocate new device! "usbconfig list" says: ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Is there anything I can do, except for forgetting about this scanner alltogether? (The scanner does have an LPT connector, but the computer does not. I assume that the scanner wouldn't work with a USB-printer adapter either, because SANE probably only works with "real" LPT ports.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth From hselasky at c2i.net Fri Dec 12 12:36:33 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Fri Dec 12 12:36:45 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812122027.mBCKRRZt011007@lurza.secnetix.de> References: <200812122027.mBCKRRZt011007@lurza.secnetix.de> Message-ID: <200812122138.45325.hselasky@c2i.net> On Friday 12 December 2008, Oliver Fromme wrote: > usb2_alloc_device: You could try to edit the code in "sys/dev/usb2/core/usb2_device.c" and loop two times on the set_config command in "usb2_alloc_device()". Or you can try to make the code ignore the return value from the failing set_config command. Also try to turn on more debugging: sysctl hw.usb2.debug=15 --HPS From rizzo at iet.unipi.it Fri Dec 12 14:15:05 2008 From: rizzo at iet.unipi.it (Luigi Rizzo) Date: Fri Dec 12 14:15:12 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812122027.mBCKRRZt011007@lurza.secnetix.de> References: <200812122027.mBCKRRZt011007@lurza.secnetix.de> Message-ID: <20081212220428.GB64751@onelab2.iet.unipi.it> On Fri, Dec 12, 2008 at 09:27:27PM +0100, Oliver Fromme wrote: > Hi, > > I've got a HP ScanJet 4300C that seems to be a little bit > stubborn. > ... > Is there anything I can do, except for forgetting about > this scanner alltogether? one option is to put the device IDs in uscanner.c and see if it is recognised. But other than that, i wouldn't waste much time: for 50..80 euro you can get one of the Epson multifunction printer scanners (i have personally tried DX4400 to DX7050) which are well supported and extremely reliable. see http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html cheers luigi From olli at lurza.secnetix.de Fri Dec 12 15:15:14 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 12 15:15:31 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: Message-ID: <200812122315.mBCNFBTj018007@lurza.secnetix.de> Hans Petter Selasky wrote: > On Friday 12 December 2008, Oliver Fromme wrote: > > usb2_alloc_device: > > You could try to edit the code in "sys/dev/usb2/core/usb2_device.c" and loop > two times on the set_config command in "usb2_alloc_device()". > > Or you can try to make the code ignore the return value from the failing > set_config command. Also try to turn on more debugging: > > sysctl hw.usb2.debug=15 Thank you! That got me a step forward. Looping two or even three times didn't help, the set_config just continued to time out and fail. Then I followed your second advice and inserted "err = 0;" so the error was ignored. Now the device attaches! ?usbconfig list? says: ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON Does that mean this device needs a quirk entry or something like that? I mean, setting err = 0 is a hack, it's not the proper solution. Unfortunately I wasn't able to check whether it works with SANE because I had to catch the train ... I'll continue with that next week. I hope I can finally make this scanner work ... The uscanner(4) manpage claims the 4300C is supported (for years already), but that wasn't true until now. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie From olli at lurza.secnetix.de Fri Dec 12 15:28:10 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 12 15:28:22 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: Message-ID: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> Luigi Rizzo wrote: > On Fri, Dec 12, 2008 at 09:27:27PM +0100, Oliver Fromme wrote: > > Hi, > > > > I've got a HP ScanJet 4300C that seems to be a little bit > > stubborn. > > > ... > > Is there anything I can do, except for forgetting about > > this scanner alltogether? > > one option is to put the device IDs in uscanner.c and see if > it is recognised. Thanks for the advice, but the device IDs _are_ already in uscanner.c. I checked that when I was experimenting with the old USB stack. The probe fails much earlier, before the uscanner code has a chance to do anything. So the problem isn't in uscanner.c. > But other than that, i wouldn't waste much time: > for 50..80 euro you can get one of the > Epson multifunction printer scanners (i have personally > tried DX4400 to DX7050) which are well supported and > extremely reliable. I bought this ScanJet 4300 C specifically because it is listed as supported by FreeBSD in the uscanner(4) manpage. I'm not going to spend more money on anything else (which wouldn't be guaranteed to work either). Either I get this beast to work somehow with FreeBSD, or I will have to use a different OS to drive the scanner. Fortunately Hans Petter's advice seems to help, although I still have to test whether SANE will work. (But I'm optimistic, now that the device attaches.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "... there are two ways of constructing a software design: One way is to make it so simple that there are _obviously_ no deficiencies and the other way is to make it so complicated that there are no _obvious_ deficiencies." -- C.A.R. Hoare, ACM Turing Award Lecture, 1980 From dorian.buettner at gmx.de Sun Dec 14 01:29:52 2008 From: dorian.buettner at gmx.de (=?ISO-8859-15?Q?Dorian_B=FCttner?=) Date: Sun Dec 14 01:29:59 2008 Subject: kernel panic during boot with Logitech G15 gaming keyboard Message-ID: <4944CBCE.4020408@gmx.de> Hi list, issue is as stated in sthe subject. I'm using 7.1-Prerelease on an amd64 system. Is there any step-by-step description on how to capture the debug information? I believe, but this is really a wild guess, this has something to do with the built-in hub of the kbd. Error message says something about an address not found. Propably a not-so-good thing is, that when redirecting output to serial I'd need to use an usb converter, since the mainboard doesn't really have a serial connector. Any hints on this? Thanks, Dorian From bugmaster at FreeBSD.org Mon Dec 15 03:07:03 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Dec 15 03:09:28 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200812151107.mBFB726d004509@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/129522 usb [patch][ubsa] add support for ZTE AC8700 modem o usb/129500 usb FreeBSD Crashes wenn connecting SanDisk Sensa e280 o usb/129311 usb Instant crash with an USB card reader o usb/129251 usb [patch] Liebert UPS being assigned uhid and not ugen o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/129129 usb panic with device Meizu MiniPlayer M6 (SL) under usb2 o usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb uaudio is not full duplex o usb/128847 usb Detachment of mounted USB flash drive causes system fr o usb/128803 usb [patch] [quirk] Quirk for I-Tuner Networks USBLCD4X20 o usb/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f 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/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/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 a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID 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 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 s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 295 problems total. From nick at anywi.com Tue Dec 16 05:32:02 2008 From: nick at anywi.com (Nick Hibma) Date: Tue Dec 16 05:32:08 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> References: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> Message-ID: <200812161431.50151.nick@anywi.com> > > But other than that, i wouldn't waste much time: > > for 50..80 euro you can get one of the > > Epson multifunction printer scanners (i have personally > > tried DX4400 to DX7050) which are well supported and > > extremely reliable. > > I bought this ScanJet 4300 C specifically because it is > listed as supported by FreeBSD in the uscanner(4) manpage. > I'm not going to spend more money on anything else (which > wouldn't be guaranteed to work either). Either I get this > beast to work somehow with FreeBSD, or I will have to use > a different OS to drive the scanner. > > Fortunately Hans Petter's advice seems to help, although > I still have to test whether SANE will work. (But I'm > optimistic, now that the device attaches.) The uscanner driver for USB1 is very simple and does not do a set config index. HPS: set config index is not guarantueed to work on all devices. It's also normally not necessary, unless you want to change the configuration. There are of course devices that require it. An option is to ignore failure to set the configuration if the configuration index is the same as the current one. Or ignore the set configurationo if setting the same index unless a force flag is passed. Welcome to cheapo hardware. When you have the protocol analyzer you might want to check whether Windows sends set config index commands in all cases, or just when needed. Nick -- AnyWi Technologies From hselasky at c2i.net Tue Dec 16 07:57:07 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Dec 16 07:57:13 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812161431.50151.nick@anywi.com> References: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> <200812161431.50151.nick@anywi.com> Message-ID: <200812161659.22450.hselasky@c2i.net> On Tuesday 16 December 2008, Nick Hibma wrote: > > > But other than that, i wouldn't waste much time: > > > for 50..80 euro you can get one of the > > > Epson multifunction printer scanners (i have personally > > > tried DX4400 to DX7050) which are well supported and > > > extremely reliable. > > > > I bought this ScanJet 4300 C specifically because it is > > listed as supported by FreeBSD in the uscanner(4) manpage. > > I'm not going to spend more money on anything else (which > > wouldn't be guaranteed to work either). Either I get this > > beast to work somehow with FreeBSD, or I will have to use > > a different OS to drive the scanner. > > > > Fortunately Hans Petter's advice seems to help, although > > I still have to test whether SANE will work. (But I'm > > optimistic, now that the device attaches.) > > The uscanner driver for USB1 is very simple and does not do a set config > index. > > HPS: set config index is not guarantueed to work on all devices. It's also > normally not necessary, unless you want to change the configuration. There > are of course devices that require it. Is the number of configurations field zero in the device descriptor? > > An option is to ignore failure to set the configuration if the > configuration index is the same as the current one. Or ignore the set > configurationo if setting the same index unless a force flag is passed. > Welcome to cheapo hardware. Right. > > When you have the protocol analyzer you might want to check whether Windows > sends set config index commands in all cases, or just when needed. > > Nick Committed: http://perforce.freebsd.org/chv.cgi?CH=154796 --HPS From scuppers at gmail.com Tue Dec 16 14:09:36 2008 From: scuppers at gmail.com (Scott Spare) Date: Tue Dec 16 14:09:43 2008 Subject: USB KVM - works in PC-BSD, not FreeBSD with X.Org Message-ID: Just an update on my USB KVM woes: http://lists.freebsd.org/pipermail/freebsd-usb/2008-November/005743.html I discovered completely by accident that PC-BSD somehow handles switching the IOGear USB KVM switch fine, but FreeBSD 7 with X.Org on its own does not. Maybe this is a window manager issue. From linimon at FreeBSD.org Wed Dec 17 22:59:01 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 17 22:59:07 2008 Subject: usb/129673: [uhci] uhci (uhub) confused on replugging USB 1.1 scanner Message-ID: <200812180659.mBI6x1xo074881@freefall.freebsd.org> Old Synopsis: uhci (uhub) confused on replugging USB 1.1 scanner New Synopsis: [uhci] uhci (uhub) confused on replugging USB 1.1 scanner Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 18 06:58:38 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129673 From martin.drtina at cro.cz Thu Dec 18 22:20:05 2008 From: martin.drtina at cro.cz (Martin Drtina) Date: Thu Dec 18 22:20:11 2008 Subject: usb/127926: [boot] USB Timeout during bootup Message-ID: <200812190620.mBJ6K54C064392@freefall.freebsd.org> The following reply was made to PR usb/127926; it has been noted by GNATS. From: "Martin Drtina" To: , Cc: Subject: Re: usb/127926: [boot] USB Timeout during bootup Date: Fri, 19 Dec 2008 06:44:31 +0100 Same motherboard (GA-MA69GM-S2H), same problem. Bootup with plugged USB printer (Minolta) and mouse generates disabling usb port. :( Martin From linimon at FreeBSD.org Fri Dec 19 03:08:13 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Fri Dec 19 03:08:25 2008 Subject: usb/129758: [usb] [patch] add Pyramid LCD usb support Message-ID: <200812191108.mBJB8Dd3099176@freefall.freebsd.org> Old Synopsis: Pyramid LCD usb support New Synopsis: [usb] [patch] add Pyramid LCD usb support Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Dec 19 11:07:30 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129758 From olli at lurza.secnetix.de Fri Dec 19 07:38:58 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 19 07:39:04 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812161659.22450.hselasky@c2i.net> Message-ID: <200812191538.mBJFcsdE001580@lurza.secnetix.de> Hans Petter Selasky wrote: > Nick Hibma wrote: > > The uscanner driver for USB1 is very simple and does not do a set config > > index. JFYI, usb1 didn't work with this scanner at all. That's why I installed 8-current with usb2 on this workstation after all. > > HPS: set config index is not guarantueed to work on all devices. It's also > > normally not necessary, unless you want to change the configuration. There > > are of course devices that require it. > > Is the number of configurations field zero in the device descriptor? No, it seems to be 1: # usbconfig -u 0 -a 2 dump_device_desc ugen0.2: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x03f0 idProduct = 0x0305 bcdDevice = 0x0000 [*** long pause here! ***] iManufacturer = 0x000a [*** long pause here! ***] iProduct = 0x000b [*** long pause here! ***] iSerialNumber = 0x000c bNumConfigurations = 0x0001 This is with the patch that makes the scanner attach (i.e. "err = 0"). If you need more information, please let me know. Unfortunately, the scanner attaches to ugen, not uscanner. So there is no /dev/uscanner*, so SANE doesn't find it. :-( The scanner is listed in uscanner2.c, product ID and vendor ID match. Looks like more debugging is needed. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Being really good at C++ is like being really good at using rocks to sharpen sticks." -- Thant Tessman From olli at lurza.secnetix.de Fri Dec 19 07:57:33 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 19 07:57:40 2008 Subject: usb2 + HP ScanJet 4300C -- more information Message-ID: <200812191557.mBJFvUkO002359@lurza.secnetix.de> Hello, As I wrote recently, the scanner attaches to ugen instead of uscanner. There is no device in /dev, and SANE doesn't find the scanner. I've set theses sysctls: hw.usb2.debug=15 hw.usb2.uscannerdebug=15 The full kernel output (plugging in the scanner) is here: http://www.secnetix.de/olli/tmp/usb2-scanner-log.txt The word "scan" doesn't appear anywhere, so I wonder if the failure is in the uscanner code at all. Is there anything else I can do? Best regards Oliver PS: Just for reference, this is the output from usbconfig dump_device_desc: ugen0.2: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x03f0 idProduct = 0x0305 bcdDevice = 0x0000 iManufacturer = 0x000a iProduct = 0x000b iSerialNumber = 0x000c bNumConfigurations = 0x0001 Oh by the way, the command "usbconfig -u 0 -a 2 set_config 255" seems to work successfully (it returns immediately without any message). Trying to set any other config number results in "I/O error" after a few seconds. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is over-complicated nonsense. And Bjorn Shoestrap's book a danger to public health. I tried reading it once, I was in recovery for months." -- Cliff Sarginson From olli at lurza.secnetix.de Fri Dec 19 09:11:15 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Dec 19 09:11:21 2008 Subject: usb2 + HP ScanJet 4300C -- more information In-Reply-To: Message-ID: <200812191711.mBJHBBI7005513@lurza.secnetix.de> Warren Block wrote: > Oliver Fromme wrote: > > > As I wrote recently, the scanner attaches to ugen instead > > of uscanner. There is no device in /dev, > > My Epson will work with SANE as either uscanner0 or ugen0. uscanner0 is > the normal way, but ugen0 lets the scanner's single button be seen by > other software. This is all with the old/standard USB code. The new USB code does not provide a /dev entry for devices attached to ugen. > It'd be nice if uscanner made scanner buttons visible, but I haven't > investigated further. Maybe try ports/sysutils/scanbuttond. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "File names are infinite in length, where infinity is set to 255 characters." -- Peter Collinson, "The Unix File System" From wblock at wonkity.com Fri Dec 19 09:19:43 2008 From: wblock at wonkity.com (Warren Block) Date: Fri Dec 19 09:19:50 2008 Subject: usb2 + HP ScanJet 4300C -- more information In-Reply-To: <200812191557.mBJFvUkO002359@lurza.secnetix.de> References: <200812191557.mBJFvUkO002359@lurza.secnetix.de> Message-ID: On Fri, 19 Dec 2008, Oliver Fromme wrote: > As I wrote recently, the scanner attaches to ugen instead > of uscanner. There is no device in /dev, My Epson will work with SANE as either uscanner0 or ugen0. uscanner0 is the normal way, but ugen0 lets the scanner's single button be seen by other software. This is all with the old/standard USB code. It'd be nice if uscanner made scanner buttons visible, but I haven't investigated further. -Warren Block * Rapid City, South Dakota USA From me at hotmail.com Fri Dec 19 09:50:01 2008 From: me at hotmail.com (Michel Elland) Date: Fri Dec 19 09:50:08 2008 Subject: usb/129766: usb modem HUAWEI E226 Message-ID: <200812191740.mBJHeeK0002491@www.freebsd.org> >Number: 129766 >Category: usb >Synopsis: usb modem HUAWEI E226 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 19 17:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Michel Elland >Release: FreeBSD 7 >Organization: >Environment: cannot dump device restarting in 15 seconds >Description: When the usb modem is pluged the machine just restart. >How-To-Repeat: Plug an usb modem HUAWEI E226. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From wblock at wonkity.com Fri Dec 19 10:47:41 2008 From: wblock at wonkity.com (Warren Block) Date: Fri Dec 19 10:47:47 2008 Subject: Scanner buttons (was Re: usb2 + HP ScanJet 4300C -- more information) In-Reply-To: <200812191711.mBJHBBI7005513@lurza.secnetix.de> References: <200812191711.mBJHBBI7005513@lurza.secnetix.de> Message-ID: On Fri, 19 Dec 2008, Oliver Fromme wrote: > Warren Block wrote: > > Oliver Fromme wrote: > > > > > As I wrote recently, the scanner attaches to ugen instead > > > of uscanner. There is no device in /dev, > > > > My Epson will work with SANE as either uscanner0 or ugen0. uscanner0 is > > the normal way, but ugen0 lets the scanner's single button be seen by > > other software. This is all with the old/standard USB code. > > The new USB code does not provide a /dev entry for devices > attached to ugen. > > > It'd be nice if uscanner made scanner buttons visible, but I haven't > > investigated further. > > Maybe try ports/sysutils/scanbuttond. That's why I noticed the scanner button could be seen by ugen but not uscanner. 8-) -Warren Block * Rapid City, South Dakota USA From hselasky at c2i.net Fri Dec 19 14:58:56 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Fri Dec 19 14:59:04 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812191538.mBJFcsdE001580@lurza.secnetix.de> References: <200812191538.mBJFcsdE001580@lurza.secnetix.de> Message-ID: <200812200001.11394.hselasky@c2i.net> On Friday 19 December 2008, Oliver Fromme wrote: > Hans Petter Selasky wrote: > > Nick Hibma wrote: > > > The uscanner driver for USB1 is very simple and does not do a set > > > config index. > > JFYI, usb1 didn't work with this scanner at all. That's > why I installed 8-current with usb2 on this workstation > after all. > > > > HPS: set config index is not guarantueed to work on all devices. It's > > > also normally not necessary, unless you want to change the > > > configuration. There are of course devices that require it. > > > > Is the number of configurations field zero in the device descriptor? > > No, it seems to be 1: > > # usbconfig -u 0 -a 2 dump_device_desc > ugen0.2: at usbus0, cfg=255 md=HOST > spd=FULL (12Mbps) pwr=ON bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0100 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x03f0 > idProduct = 0x0305 > bcdDevice = 0x0000 > [*** long pause here! ***] > iManufacturer = 0x000a > [*** long pause here! ***] > iProduct = 0x000b > [*** long pause here! ***] > iSerialNumber = 0x000c > bNumConfigurations = 0x0001 > > This is with the patch that makes the scanner attach > (i.e. "err = 0"). If you need more information, please > let me know. > > Unfortunately, the scanner attaches to ugen, not uscanner. > So there is no /dev/uscanner*, so SANE doesn't find it. :-( > The scanner is listed in uscanner2.c, product ID and > vendor ID match. Looks like more debugging is needed. Try to run: usbconfig -u xxx -a yyy reset --HPS From hselasky at c2i.net Sat Dec 20 04:41:43 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 20 04:41:55 2008 Subject: USB power save, battery life and laptops Message-ID: <200812201343.59663.hselasky@c2i.net> Hi, I'm going to implement USB power save for USB2 shortly. If you have a laptop and want to do some battery life measurements, please stay tuned. I expect the patches to be complete and ready for testing within a few days. --HPS From grafan at gmail.com Sat Dec 20 06:25:59 2008 From: grafan at gmail.com (Rong-en Fan) Date: Sat Dec 20 06:26:06 2008 Subject: USB power save, battery life and laptops In-Reply-To: <200812201343.59663.hselasky@c2i.net> References: <200812201343.59663.hselasky@c2i.net> Message-ID: <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> On Sat, Dec 20, 2008 at 8:43 PM, Hans Petter Selasky wrote: > Hi, > > I'm going to implement USB power save for USB2 shortly. > > If you have a laptop and want to do some battery life measurements, please > stay tuned. I expect the patches to be complete and ready for testing > within > a few days. > Does this allow CPU to enter C2 or C3 when USB2 module is loaded? Regards, Rong-En Fan From hselasky at c2i.net Sat Dec 20 08:02:50 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 20 08:02:57 2008 Subject: USB power save, battery life and laptops In-Reply-To: <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> Message-ID: <200812201705.05713.hselasky@c2i.net> On Saturday 20 December 2008, Rong-en Fan wrote: > On Sat, Dec 20, 2008 at 8:43 PM, Hans Petter Selasky wrote: > > Hi, > > > > I'm going to implement USB power save for USB2 shortly. > > > > If you have a laptop and want to do some battery life measurements, > > please stay tuned. I expect the patches to be complete and ready for > > testing within > > a few days. > > Does this allow CPU to enter C2 or C3 when USB2 module is loaded? > > Regards, > Rong-En Fan Yes, that is correctly guessed! --HPS From olli at lurza.secnetix.de Sat Dec 20 13:13:38 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Sat Dec 20 13:13:45 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812200001.11394.hselasky@c2i.net> Message-ID: <200812202113.mBKLDY4s072052@lurza.secnetix.de> Hans Petter Selasky wrote: > On Friday 19 December 2008, Oliver Fromme wrote: > > > > Unfortunately, the scanner attaches to ugen, not uscanner. > > So there is no /dev/uscanner*, so SANE doesn't find it. :-( > > The scanner is listed in uscanner2.c, product ID and > > vendor ID match. Looks like more debugging is needed. > > Try to run: > > usbconfig -u xxx -a yyy reset OK, thanks. That seems to get me yet another small step forward. After the reset, dmesg reports: uscanner0: on usbus0 Symlink: uscanner0 -> usb0.2.0.18 However, "usbconfig list" still lists it as ugen: ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Now trying "sane-find-scanner /dev/usb0.2.0.18": searching for USB scanners: checking /dev/usb0.2.0.18... failed to open (Invalid argument) ignoring libusb devices I noticed that SANE is linked against libusb from ports (/usr/local/lib/libusb-0.1.so.8). Is this a problem? Do I have to link it against /usr/lib/libusb20? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "FreeBSD is Yoda, Linux is Luke Skywalker" -- Daniel C. Sobral From hselasky at c2i.net Sun Dec 21 07:42:04 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Dec 21 07:42:10 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812202113.mBKLDY4s072052@lurza.secnetix.de> References: <200812202113.mBKLDY4s072052@lurza.secnetix.de> Message-ID: <200812211644.20263.hselasky@c2i.net> On Saturday 20 December 2008, Oliver Fromme wrote: > Hans Petter Selasky wrote: > > On Friday 19 December 2008, Oliver Fromme wrote: > > > Unfortunately, the scanner attaches to ugen, not uscanner. > > > So there is no /dev/uscanner*, so SANE doesn't find it. :-( > > > The scanner is listed in uscanner2.c, product ID and > > > vendor ID match. Looks like more debugging is needed. > > > > Try to run: > > > > usbconfig -u xxx -a yyy reset > > OK, thanks. That seems to get me yet another small step > forward. After the reset, dmesg reports: > > uscanner0: 2> on usbus0 Symlink: uscanner0 -> usb0.2.0.18 > > However, "usbconfig list" still lists it as ugen: > > ugen0.2: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > > Now trying "sane-find-scanner /dev/usb0.2.0.18": > > searching for USB scanners: > checking /dev/usb0.2.0.18... failed to open (Invalid argument) > ignoring libusb devices You need to copy libusb20 (installed by default) over libusb0.1xxx. The libusb from sourceforge does not know how to talk with the new UGEN. --HPS From hselasky at c2i.net Sun Dec 21 07:54:24 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Dec 21 07:54:36 2008 Subject: USB power save, battery life and laptops - testers wanted In-Reply-To: <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> Message-ID: <200812211656.38478.hselasky@c2i.net> Hi, I need some help testing out my USB powersave implementation. There are now multiple levels of USB power save: 1) Turn off USB controller schedules when there are no transactions (1-4 seconds, not tuneable) 2) Suspend actual USB device (30 seconds, tuneable) Powersave is enabled by default. Tuneables: ========== How to set power save delay in seconds: sysctl hw.usb2.power_timeout=10 How to disable power save for the given USB device: usbconfig -u xxx -a yyy power_on How to enable power save for the given USB device: usbconfig -u xxx -a yyy power_save Known to work: ============== EHCI+UHCI OHCI - not tested yet How to install on FreeBSD -current (8.x) ======================================== svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/src/sys/dev cp -r usb2 /sys/dev/ make -C /sys/modules/usb2 clean all install --HPS From hselasky at c2i.net Sun Dec 21 07:57:46 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Dec 21 07:57:53 2008 Subject: USB power save, battery life and laptops - testers wanted In-Reply-To: <200812211656.38478.hselasky@c2i.net> References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> <200812211656.38478.hselasky@c2i.net> Message-ID: <200812211700.02605.hselasky@c2i.net> For those who are interested, here is the patch: http://perforce.freebsd.org/chv.cgi?CH=155086 --HPS From bugmaster at FreeBSD.org Mon Dec 22 03:07:01 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Dec 22 03:09:28 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200812221107.mBMB70vY060746@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/129766 usb usb modem HUAWEI E226 o usb/129758 usb [usb] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [patch][ubsa] add support for ZTE AC8700 modem o usb/129500 usb FreeBSD Crashes wenn connecting SanDisk Sensa e280 o usb/129311 usb Instant crash with an USB card reader o usb/129251 usb [patch] Liebert UPS being assigned uhid and not ugen o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a o usb/129129 usb panic with device Meizu MiniPlayer M6 (SL) under usb2 o usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb uaudio is not full duplex o usb/128847 usb Detachment of mounted USB flash drive causes system fr o usb/128803 usb [patch] [quirk] Quirk for I-Tuner Networks USBLCD4X20 o usb/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f 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/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/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 a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID 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 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 s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 298 problems total. From olli at lurza.secnetix.de Mon Dec 22 06:49:17 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Dec 22 06:49:24 2008 Subject: usb2 + scanner HP ScanJet 4300C In-Reply-To: <200812211644.20263.hselasky@c2i.net> Message-ID: <200812221449.mBMEnDO7063572@lurza.secnetix.de> Hans Petter Selasky wrote: > > You need to copy libusb20 (installed by default) over libusb0.1xxx. The libusb > from sourceforge does not know how to talk with the new UGEN. YES! That did it. Thank you very much! # sane-find-scanner [...] found USB scanner (vendor=0x03f0, product=0x0305) at libusb:/dev/usb:/dev/ugen0.2 # scanimage -L device `niash:libusb:/dev/usb:/dev/ugen0.2' is a Hewlett-Packard ScanJet 4300C flatbed scanner # scanimage -v > foo.pnm scanimage: scanning image of size 1240x1712 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 51/255 scanimage: read 6368640 bytes in total # pnmfile foo.pnm foo.pnm: PPM raw, 1240 by 1712 maxval 255 However, it takes a _long_ time until the scanning starts (about one minute). Then the actual scnaning takes only a few seconds. The delay is independent from resolution, scanning mode and size. I'll need to investigate what's causing this. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn From ino-news at spotteswoode.dnsalias.org Mon Dec 22 10:05:03 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Mon Dec 22 10:05:09 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot References: Message-ID: On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: [ re. a bootable CURRENT backup system on a USB stick] > I am very sorry for this inaccurate information. As it turns out, > only the GENERIC kernel is bootable, my custom configuration doesn't. > On the bright side, this indicates some feature missing from my > normally very lean kernels, nothing is kaputt beyond repair. I'll > just have to find out which module just has to be in the kernel to > make it boot from an USB stick. The "custom configuration" uses the new USB2 stack, whereas GENERIC still includes the older one. When replacing USB2 with the old stack, I can reliably boot the system from the stick. I have another backup on a MMC card in a $5 card reader, but that one boots with USB2. The USB stick which only runs on the old stack identifies as: ugen1.2: at usbus1 umass0: on usbus1 pass0: Removable Direct Access SCSI-0 device da0: Removable Direct Access SCSI-0 device umass0: SCSI over Bulk-Only; quirks = 0x0000 I don't know if any quirks would make this product work. To me it seems as if it has to do with bulk handling? -c From hselasky at c2i.net Mon Dec 22 10:42:04 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Mon Dec 22 10:42:17 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot In-Reply-To: References: Message-ID: <200812221944.17694.hselasky@c2i.net> Hi, Try the attached patch to "sys/kern/vfs_mount.c" Thanks for reporting. I have been aware about this issue for some time now, but the patch has not been committed to current yet. I have FreeSBIE reliably up and running with USB2. --HPS On Monday 22 December 2008, clemens fischer wrote: > On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: > > [ re. a bootable CURRENT backup system on a USB stick] > > > I am very sorry for this inaccurate information. As it turns out, > > only the GENERIC kernel is bootable, my custom configuration doesn't. > > On the bright side, this indicates some feature missing from my > > normally very lean kernels, nothing is kaputt beyond repair. I'll > > just have to find out which module just has to be in the kernel to > > make it boot from an USB stick. > > The "custom configuration" uses the new USB2 stack, whereas GENERIC > still includes the older one. When replacing USB2 with the old stack, > I can reliably boot the system from the stick. > > I have another backup on a MMC card in a $5 card reader, but that one > boots with USB2. > > The USB stick which only runs on the old stack identifies as: > > ugen1.2: at usbus1 > umass0: on > usbus1 pass0: Removable Direct Access SCSI-0 > device da0: Removable Direct Access SCSI-0 > device umass0: SCSI over Bulk-Only; quirks = 0x0000 > > I don't know if any quirks would make this product work. To me it seems > as if it has to do with bulk handling? > > -c > > _______________________________________________ > 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 linimon at FreeBSD.org Mon Dec 22 13:42:54 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Mon Dec 22 13:42:59 2008 Subject: usb/129858: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Message-ID: <200812222142.mBMLgrNY048452@freefall.freebsd.org> Old Synopsis: Need to add quirk to da_scsi.c to support StorCase SAN devices New Synopsis: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 22 21:42:14 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129858 From weongyo.jeong at gmail.com Mon Dec 22 22:41:30 2008 From: weongyo.jeong at gmail.com (Weongyo Jeong) Date: Mon Dec 22 22:41:37 2008 Subject: HEADSUP: NDIS USB support to be merged soon Message-ID: <20081223060928.GA19471@freebsd.weongyo.org> Hello, Before several months ago I'd requested CFT about NDIS USB support. Now I'd like to merge the result into HEAD and want to hear opinions and problems from users because many problems have fixed now and I think it's stable to use. If no objections, I would like to merge it by the end of the week or the next week. For those of you wanting to test, please rebuild/reinstall ndiscvt(8) after applying the patch which can be found as follows: http://people.freebsd.org/~weongyo/patch_ndisusb_20081223.diff This work is based on USB1 framework so I'm also looking for a person to port this from USB1 to USB2. regards, Weongyo Jeong From remko at FreeBSD.org Tue Dec 23 01:11:18 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Tue Dec 23 01:11:29 2008 Subject: usb/129858: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Message-ID: <200812230911.mBN9BIH4022977@freefall.freebsd.org> Synopsis: [usb] [patch] Need to add quirk to da_scsi.c to support StorCase SAN devices Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 09:11:18 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=129858 From remko at FreeBSD.org Tue Dec 23 04:15:36 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Tue Dec 23 04:15:42 2008 Subject: usb/119150: [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices Message-ID: <200812231215.mBNCFaS5068491@freefall.freebsd.org> Synopsis: [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 12:15:35 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=119150 From remko at FreeBSD.org Tue Dec 23 04:44:34 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Tue Dec 23 04:44:46 2008 Subject: usb/117546: [uftdi] [patch] Add MaxStream ZigBee product ID to uftdi/usbdevs Message-ID: <200812231244.mBNCiYGf092580@freefall.freebsd.org> Synopsis: [uftdi] [patch] Add MaxStream ZigBee product ID to uftdi/usbdevs Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 12:44:34 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=117546 From remko at FreeBSD.org Tue Dec 23 05:09:28 2008 From: remko at FreeBSD.org (remko@FreeBSD.org) Date: Tue Dec 23 05:09:34 2008 Subject: usb/117205: [uscanner] [patch] uscanner support for HP ScanJet 4470c Message-ID: <200812231309.mBND9SZ3006836@freefall.freebsd.org> Synopsis: [uscanner] [patch] uscanner support for HP ScanJet 4470c Responsible-Changed-From-To: freebsd-usb->remko Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 23 13:09:27 UTC 2008 Responsible-Changed-Why: MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=117205 From alfred at freebsd.org Tue Dec 23 07:31:08 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Tue Dec 23 07:31:15 2008 Subject: HEADSUP: NDIS USB support to be merged soon In-Reply-To: <20081223060928.GA19471@freebsd.weongyo.org> References: <20081223060928.GA19471@freebsd.weongyo.org> Message-ID: <20081223153108.GQ18389@elvis.mu.org> [[ Moved to -usb. ]] Hans, can you look at this for the usb4bsd switchover, it doesn't look that challenging to port. thank you, -Alfred * Weongyo Jeong [081222 22:41] wrote: > Hello, > > Before several months ago I'd requested CFT about NDIS USB support. Now > I'd like to merge the result into HEAD and want to hear opinions and > problems from users because many problems have fixed now and I think > it's stable to use. > > If no objections, I would like to merge it by the end of the week or the > next week. > > For those of you wanting to test, please rebuild/reinstall ndiscvt(8) > after applying the patch which can be found as follows: > > http://people.freebsd.org/~weongyo/patch_ndisusb_20081223.diff > > This work is based on USB1 framework so I'm also looking for a person to > port this from USB1 to USB2. > > regards, > Weongyo Jeong > > _______________________________________________ > 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 hselasky at c2i.net Tue Dec 23 08:15:47 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Dec 23 08:15:53 2008 Subject: HEADSUP: NDIS USB support to be merged soon In-Reply-To: <20081223153108.GQ18389@elvis.mu.org> References: <20081223060928.GA19471@freebsd.weongyo.org> <20081223153108.GQ18389@elvis.mu.org> Message-ID: <200812231718.01897.hselasky@c2i.net> On Tuesday 23 December 2008, Alfred Perlstein wrote: > [[ Moved to -usb. ]] > > Hans, can you look at this for the usb4bsd switchover, it doesn't > look that challenging to port. > > thank you, > -Alfred I will have a look at it. Meanwhile, can Weongyo have a look at the following file: /usr/src/sys/dev/usb2/core/usb2_compat_linux.c I suppose we have to do NDIS in a similar way. --HPS From ed at 80386.nl Tue Dec 23 09:59:13 2008 From: ed at 80386.nl (Ed Schouten) Date: Tue Dec 23 09:59:20 2008 Subject: Giant on serial devices in USB2? Message-ID: <20081223175911.GZ1176@hoeg.nl> Hello HPS, others, I was just running a grep on the USB2 code and saw the following: $ grep -r Giant sys/dev/usb2/serial | wc -l 70 WHat's the exact reason USB2 still uses Giant on TTY related drivers? Couldn't it just use the per-TTY mutex? If not, maybe it should create a custom system-wide mutex, instead of using Giant? Yours, -- Ed Schouten WWW: http://80386.nl/ -------------- 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/20081223/e791df28/attachment.pgp From rink at FreeBSD.org Tue Dec 23 10:14:07 2008 From: rink at FreeBSD.org (Rink Springer) Date: Tue Dec 23 10:14:21 2008 Subject: Giant on serial devices in USB2? In-Reply-To: <20081223175911.GZ1176@hoeg.nl> References: <20081223175911.GZ1176@hoeg.nl> Message-ID: <20081223180416.GB77652@rink.nu> On Tue, Dec 23, 2008 at 06:59:11PM +0100, Ed Schouten wrote: > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > custom system-wide mutex, instead of using Giant? I think this is mostly leftover crud from the pre-TTY-MP safe days. As long as it uses the proper TTY interfaces, nothing should stop it from ditching Giant. -- Rink P.W. Springer - http://rink.nu "Chance favours the prepared mind" - Penn From hselasky at c2i.net Tue Dec 23 10:54:05 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Dec 23 10:54:11 2008 Subject: Giant on serial devices in USB2? In-Reply-To: <20081223175911.GZ1176@hoeg.nl> References: <20081223175911.GZ1176@hoeg.nl> Message-ID: <200812231956.21666.hselasky@c2i.net> On Tuesday 23 December 2008, Ed Schouten wrote: > Hello HPS, others, > > I was just running a grep on the USB2 code and saw the following: > > $ grep -r Giant sys/dev/usb2/serial | wc -l > 70 > > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > custom system-wide mutex, instead of using Giant? > > Yours, Hi, I don't have all those USB devices at hand, so I simply cannot test if the driver still works without Giant. BTW: It should be trivial to remove Giant from the drivers. I think Andrew Thompson has already done some drivers Giant-free. --HPS From alexbestms at math.uni-muenster.de Tue Dec 23 12:10:04 2008 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Tue Dec 23 12:10:11 2008 Subject: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 Message-ID: <200812232010.mBNKA4kn021007@freefall.freebsd.org> The following reply was made to PR usb/129129; it has been noted by GNATS. From: Alexander Best To: Cc: Subject: Re: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 Date: Tue, 23 Dec 2008 21:07:07 +0100 (CET) --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit this issue got fixed. i'm currently running FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #3 r186374M: Sun Dec 21 20:10:18 CET 2008 the panic no longer occurs. cheers. --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQDVAwUASVFE6yo8gGMXfm+ZAQLAAAX/fbfDxKOUT+RyJbbNw/1fEaiU0X/Z/46i Aj0lGJSC3qXEden1g7h9k3/iYJDMAh/M7MVkKsDNd7RNYD8Go8HbyrAmncIkpaO1 Ogg4oXkHJtUnrvayHQSZA/Z5VyIIm+OETvL8k81jzFKwuQj1jRi5B82Fdo/LFCwz mtFogbcLS8sgPFgcijiNG5ZmMPViXe5zUU+KCIaAgUYDZ/y+1xUHFrzo8mJZ5HkA MmcUn9mr7mxdoMGJ/4iaUJRk5XdAJwVJ =71sl -----END PGP SIGNATURE----- --+permail-20081223200707f7e55a9d00007dba-a_best01+signed+-- From thompsa at FreeBSD.org Tue Dec 23 12:29:42 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Tue Dec 23 12:29:47 2008 Subject: Giant on serial devices in USB2? In-Reply-To: <200812231956.21666.hselasky@c2i.net> References: <20081223175911.GZ1176@hoeg.nl> <200812231956.21666.hselasky@c2i.net> Message-ID: <20081223195558.GL89448@citylink.fud.org.nz> On Tue, Dec 23, 2008 at 07:56:21PM +0100, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Ed Schouten wrote: > > Hello HPS, others, > > > > I was just running a grep on the USB2 code and saw the following: > > > > $ grep -r Giant sys/dev/usb2/serial | wc -l > > 70 > > > > WHat's the exact reason USB2 still uses Giant on TTY related drivers? > > Couldn't it just use the per-TTY mutex? If not, maybe it should create a > > custom system-wide mutex, instead of using Giant? > > > > Yours, > > Hi, > > I don't have all those USB devices at hand, so I simply cannot test if the > driver still works without Giant. > > BTW: It should be trivial to remove Giant from the drivers. I think Andrew > Thompson has already done some drivers Giant-free. Its just a mechanical change, it works fine for the couple of driver I have converted. Andrew From ino-news at spotteswoode.dnsalias.org Tue Dec 23 12:32:21 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Tue Dec 23 12:32:29 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot In-Reply-To: <200812221944.17694.hselasky@c2i.net> References: <200812221944.17694.hselasky@c2i.net> Message-ID: <20081223201023.GB3469@spotteswoode.de.eu.org> > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. Sorry, currently I get build errors, possibly unrelated: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c 1 error *** Error code 2 1 error *** Error code 2 1 error I'll svn the repo (to HEAD of CURRENT) and try again. regards, clemens From alexbestms at math.uni-muenster.de Tue Dec 23 13:33:09 2008 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Tue Dec 23 13:33:16 2008 Subject: usb2 quirks Message-ID: hi there, could somebody tell me where i can find info about the quirk settings used in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual doesn't contain any information concerning usb quirks. cheers. From hselasky at c2i.net Tue Dec 23 13:55:14 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Tue Dec 23 13:55:21 2008 Subject: usb2 quirks In-Reply-To: References: Message-ID: <200812232242.30638.hselasky@c2i.net> On Tuesday 23 December 2008, Alexander Best wrote: > hi there, > > could somebody tell me where i can find info about the quirk settings used > in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual > doesn't contain any information concerning usb quirks. > Hi, If you type: usbconfig -h You see that you have the following quirk commands available: add_dev_quirk_vplh remove_dev_quirk_vplh dump_quirk_names dump_device_quirks Before you can use quirks you need to: kldload usb2_quirk --HPS From grafan at gmail.com Tue Dec 23 17:45:33 2008 From: grafan at gmail.com (Rong-en Fan) Date: Tue Dec 23 17:45:40 2008 Subject: usb2 quirks In-Reply-To: <200812232242.30638.hselasky@c2i.net> References: <200812232242.30638.hselasky@c2i.net> Message-ID: <6eb82e0812231745y1d2c4663l799cebeb671d7899@mail.gmail.com> On Wed, Dec 24, 2008 at 5:42 AM, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Alexander Best wrote: >> hi there, >> >> could somebody tell me where i can find info about the quirk settings used >> in usbconfig (usb2) please? i had a look at usbconfig(8), but the manual >> doesn't contain any information concerning usb quirks. >> > > Hi, > > If you type: > > usbconfig -h > > You see that you have the following quirk commands available: > > add_dev_quirk_vplh > remove_dev_quirk_vplh > dump_quirk_names > dump_device_quirks > > Before you can use quirks you need to: > > kldload usb2_quirk It would nice if this can be configured at boot time. Thanks, Rong-En Fan From ino-news at spotteswoode.dnsalias.org Wed Dec 24 05:39:48 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Wed Dec 24 05:39:53 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot References: <200812221944.17694.hselasky@c2i.net> <20081223201023.GB3469@spotteswoode.de.eu.org> Message-ID: On Tue, 23 Dec 2008 21:10:23 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. > > Sorry, currently I get build errors, possibly unrelated: > > ===> zyd (depend) > @ -> /usr/src-main/sys > machine -> /usr/src-main/sys/i386/include > ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > I'll svn the repo (to HEAD of CURRENT) and try again. In the meantime the repo is updated to r186477. An old-school USB kernel compiles, but USB2 does not: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c machine -> /usr/src-main/sys/i386/include awk -f /usr/src-main/sys/tools/vnode_if.awk /usr/src-main/sys/kern/vnode_if.src -c ... /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -march=athlon-mp -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src-main/sys -I/usr/src-main/sys/contrib/altq -I/usr/src-main/sys/contrib/ipfilter -I/usr/src-main/sys/contrib/pf -I/usr/src-main/sys/dev/ath -I/usr/src-main/sys/dev/ath/ath_hal -I/usr/src-main/sys/contrib/ngatm -I/usr/src-main/sys/dev/twa -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src-main/sys/gnu/fs/xfs -I/usr/src-main/sys/contrib/opensolaris/compat -I/usr/src-main/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stac k-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector /usr/src-main/sys/dev/usb/ucom.c:92:21: error: usbdevs.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error The manual page to zyd(4) indicates that it wants "device usb", so it may be an error in zyd, not USB2. A few questions question though: do I need to specify "nodevice usb" in an USB2 kernel config as well? In the comments, it says: "USB Bus (required)", and the compile error says: "error: usbdevs.h: No such file or directory". Next, I'll try to exclude the zyd module from building. The kernel doesn't contain it, anyway. -c From ino-news at spotteswoode.dnsalias.org Wed Dec 24 06:05:44 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Wed Dec 24 06:05:51 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot In-Reply-To: <200812221944.17694.hselasky@c2i.net> References: <200812221944.17694.hselasky@c2i.net> Message-ID: <20081224140532.GB2099@spotteswoode.de.eu.org> > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. > > I have FreeSBIE reliably up and running with USB2. Can you tell me what to do to the kernel configuration? Maybe I don't have to compile any USB functions into the kernel and can put them into loader.conf? I always get these dependency problems. regards, clemens From ino-news at spotteswoode.dnsalias.org Wed Dec 24 08:06:04 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Wed Dec 24 08:06:11 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> Message-ID: On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. >> >> I have FreeSBIE reliably up and running with USB2. > > Can you tell me what to do to the kernel configuration? Maybe I don't > have to compile any USB functions into the kernel and can put them into > loader.conf? I always get these dependency problems. I think I've found my problem. The kernel configuration really needs the line marked "required", which builds support for the USB bus: "device usb". Except this line, every usb related item is a "nodevice" now. The USB2 modules needed are kldload'ed in boot/loader.conf from the USB-stick, and this really works. Hans Petter: although I am not sure if my USB-stick needs it, the kernel was built using your patch. So the least I can say about it: It doesn't hurt, and it might sure help with more restive devices. -c From linimon at FreeBSD.org Wed Dec 24 19:44:45 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 19:44:51 2008 Subject: usb/128847: Detachment of mounted USB flash drive causes system freeze Message-ID: <200812250344.mBP3ij93039505@freefall.freebsd.org> Synopsis: Detachment of mounted USB flash drive causes system freeze State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:41:36 UTC 2008 State-Changed-Why: Well-known problem; see, for instance, http://people.freebsd.org/~linimon/studies/prs/well_known_prs.html. Responsible-Changed-From-To: freebsd-usb->linimon Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 03:41:36 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=128847 From linimon at FreeBSD.org Wed Dec 24 19:45:31 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 19:45:37 2008 Subject: usb/129129: panic with device Meizu MiniPlayer M6 (SL) under usb2 Message-ID: <200812250345.mBP3jU0t039555@freefall.freebsd.org> Synopsis: panic with device Meizu MiniPlayer M6 (SL) under usb2 State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:44:58 UTC 2008 State-Changed-Why: Apparently fixed in -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=129129 From linimon at FreeBSD.org Wed Dec 24 19:57:52 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 19:57:58 2008 Subject: usb/127516: after csup src-all RELENG_7 Message-ID: <200812250357.mBP3vptC047019@freefall.freebsd.org> Synopsis: after csup src-all RELENG_7 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 03:57:19 UTC 2008 State-Changed-Why: Feedback timeout (2 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=127516 From linimon at FreeBSD.org Wed Dec 24 20:01:27 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:01:33 2008 Subject: usb/128990: [usb] u3g does not handle RTS/CTS available on for example Sierra cards Message-ID: <200812250401.mBP41Rw1054066@freefall.freebsd.org> Old Synopsis: [usb] u3g does not handle RTS/CTS available on for example Sierra carsds New Synopsis: [usb] u3g does not handle RTS/CTS available on for example Sierra cards State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:00:49 UTC 2008 State-Changed-Why: Mark suspended awaiting patches. http://www.freebsd.org/cgi/query-pr.cgi?pr=128990 From linimon at FreeBSD.org Wed Dec 24 20:08:22 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:08:28 2008 Subject: usb/123211: [udav] if_udav driver doesn't support Davicom 9601 USB ethernet adapter Message-ID: <200812250408.mBP48LpZ054319@freefall.freebsd.org> Synopsis: [udav] if_udav driver doesn't support Davicom 9601 USB ethernet adapter Responsible-Changed-From-To: freebsd-usb->imp Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:06:32 UTC 2008 Responsible-Changed-Why: Set as MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=123211 From linimon at FreeBSD.org Wed Dec 24 20:08:54 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:09:00 2008 Subject: usb/123148: [uscanner] [patch] Epson DX8400/50 needs uscanner to scan. Message-ID: <200812250408.mBP48sdV054365@freefall.freebsd.org> Synopsis: [uscanner] [patch] Epson DX8400/50 needs uscanner to scan. Responsible-Changed-From-To: freebsd-usb->imp Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:08:39 UTC 2008 Responsible-Changed-Why: Set as MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=123148 From linimon at FreeBSD.org Wed Dec 24 20:09:39 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:09:45 2008 Subject: usb/122610: Add Verizon v740 support to ubsa(4) Message-ID: <200812250409.mBP49cwJ054416@freefall.freebsd.org> Synopsis: Add Verizon v740 support to ubsa(4) State-Changed-From-To: patched->closed State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:09:06 UTC 2008 State-Changed-Why: Already merged to -7. Responsible-Changed-From-To: freebsd-usb->flz Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:09:06 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=122610 From linimon at FreeBSD.org Wed Dec 24 20:12:05 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:12:11 2008 Subject: usb/128115: [uplcom] [patch] USB-RS232 circuets on chip PL2303HX no correct detemine uplcom as PL2303 Message-ID: <200812250412.mBP4C4ts061328@freefall.freebsd.org> Synopsis: [uplcom] [patch] USB-RS232 circuets on chip PL2303HX no correct detemine uplcom as PL2303 Responsible-Changed-From-To: freebsd-usb->stas Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 25 04:10:07 UTC 2008 Responsible-Changed-Why: Set as remdiner for MFC to -6. (Please close if this is not intended.) http://www.freebsd.org/cgi/query-pr.cgi?pr=128115 From weongyo.jeong at gmail.com Wed Dec 24 20:13:35 2008 From: weongyo.jeong at gmail.com (Weongyo Jeong) Date: Wed Dec 24 20:13:42 2008 Subject: HEADSUP: NDIS USB support to be merged soon In-Reply-To: <200812231718.01897.hselasky@c2i.net> References: <20081223060928.GA19471@freebsd.weongyo.org> <20081223153108.GQ18389@elvis.mu.org> <200812231718.01897.hselasky@c2i.net> Message-ID: <20081225041309.GC20759@freebsd.weongyo.org> On Tue, Dec 23, 2008 at 05:18:00PM +0100, Hans Petter Selasky wrote: > On Tuesday 23 December 2008, Alfred Perlstein wrote: > > [[ Moved to -usb. ]] > > > > Hans, can you look at this for the usb4bsd switchover, it doesn't > > look that challenging to port. > > > > thank you, > > -Alfred > > I will have a look at it. Meanwhile, can Weongyo have a look at the following > file: > > /usr/src/sys/dev/usb2/core/usb2_compat_linux.c > > I suppose we have to do NDIS in a similar way. Sorry I couldn't follow. Could you please elaborate it? IIRC NDIS's approach to support Windows Binary and a approach to support Linux Binary Compatibility are different. I'm not sure we can do it like what the linuxulator is doing. regards, Weongyo Jeong From linimon at FreeBSD.org Wed Dec 24 20:21:57 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Wed Dec 24 20:22:03 2008 Subject: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.c Message-ID: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Thu Dec 25 04:21:42 UTC 2008 State-Changed-Why: Is this patch against the new USB stack, or the existing one? http://www.freebsd.org/cgi/query-pr.cgi?pr=126884 From Daan at vehosting.nl Thu Dec 25 04:08:53 2008 From: Daan at vehosting.nl (Daan Vreeken) Date: Thu Dec 25 04:09:25 2008 Subject: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.c In-Reply-To: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> References: <200812250421.mBP4Lu2c069361@freefall.freebsd.org> Message-ID: <200812251308.34061.Daan@vehosting.nl> On Thursday 25 December 2008 05:21:56 linimon@freebsd.org wrote: > Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Thu Dec 25 04:21:42 UTC 2008 > State-Changed-Why: > > Is this patch against the new USB stack, or the existing one? The patch is against the existing stack. -- Daan Vreeken VEHosting http://VEHosting.nl tel: +31-(0)40-7113050 / +31-(0)6-46210825 KvK nr: 17174380 From linimon at FreeBSD.org Thu Dec 25 12:09:00 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Thu Dec 25 12:09:06 2008 Subject: usb/126884: [ugen] [patch] Bug in buffer handling in ugen.c Message-ID: <200812252008.mBPK8x2n028195@freefall.freebsd.org> Synopsis: [ugen] [patch] Bug in buffer handling in ugen.c State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Thu Dec 25 20:08:36 UTC 2008 State-Changed-Why: Submitter has clarified that this a patch against the older USB stack. http://www.freebsd.org/cgi/query-pr.cgi?pr=126884 From avahilario at gmail.com Fri Dec 26 02:10:02 2008 From: avahilario at gmail.com (Antonio Hilario) Date: Fri Dec 26 02:10:08 2008 Subject: usb/129945: u3g supports Longcheer WM66 USB HSDPA Modem Message-ID: <200812261005.mBQA5Kv4025182@www.freebsd.org> >Number: 129945 >Category: usb >Synopsis: u3g supports Longcheer WM66 USB HSDPA Modem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Dec 26 10:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Antonio Hilario >Release: 7.1-RC2 >Organization: >Environment: FreeBSD emily.avltrees.strangled.net 7.1-RC2 FreeBSD 7.1-RC2 #23 r186493M: Fri Dec 26 15:29:10 PHT 2008 root@emily.avltrees.strangled.net:/usr/obj/usr/src/sys/FELICITY i386 >Description: Hello all, I managed to get my LongCheer WM66 HSDPA modem working using the u3g driver, after several weeks of getting by with ubsa. The device is a ZeroCD device which uses these vendor IDs: Mass storage mode: vendor 0x1c9e product 0x1001 HSDPA mode: vendoer 0x1c9e product 0x6061 The device is put into modem mode using usb_modeswitch (http://www.draisberghof.de/usb_modeswitch), with a usb_modeswitch.conf containing these lines, which were originally contributed by Aleksandar Samardzic: ------SNIP-------- ######################################################## # Alcatel OT-X020 (aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC # Also Longcheer WM66 # # Contributor: Aleksandar Samardzic DefaultVendor= 0x1c9e DefaultProduct= 0x1001 TargetVendor= 0x1c9e TargetProduct= 0x6061 MessageEndpoint=0x05 MessageContent="55534243123456780000000000000606f50402527000000000000000000000" ------SNIP-------- In my case I invoke usb_modeswitch using a devd.conf rule pair, below: ------SNIP-------- # Add these lines to devd.conf # # Requires patched u3g driver (add product and vendor codes to usbdevs, modify u3g.c) attach 20 { match "vendor" "0x1c9e"; match "product" "0x1001"; action "/sbin/usb_modeswitch; \ /bin/sleep 2; \ /sbin/kldload u3g; \ logger -t 'devd' 'Attached Longcheer WM66 Modem umass Mode; switching';"; }; attach 20 { match "vendor" "0x1c9e"; match "product" "0x6061"; action "logger -t 'devd' 'Attached Longcheer WM66 Modem in Modem Mode'"; }; ------SNIP-------- Building a WM66-aware u3g.ko requires patching /usr/src/sys/dev/usb/u3g.c: {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, U3GSP_HSDPA, U3GFL_HUAWEI_INIT }, + {{ USB_VENDOR_LONGCHEER, USB_PRODUCT_LONGCHEER_WM66 }, U3GSP_HSDPA, U3GFL_HUAWEI_INIT | U3GFL_SCSI_EJECT }, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, U3GSP_HSPA, U3GFL_HUAWEI_INIT }, as well as /usr/src/sys/dev/usb/usbdevs, taken from 7.1-RELENG vendor LONGCHEER 0x1c9e Longcheer Holdings, Ltd. product LONGCHEER WM66 0x6061 WM66 HSDPA USB Modem The driver creates three devices /dev/ttyU0.%d, of which the first is used as the device's AT command interface: ---------SYSLOG OUTPUT------------ Dec 26 17:59:56 emily ugen0: on uhub2 Dec 26 17:59:56 emily root: Unknown weird USB device: vendor 0x1c9e product 0x1001 bus uhub2 Dec 26 17:59:56 emily ugen0: at uhub2 port 1 (addr 2) disconnected Dec 26 17:59:56 emily ugen0: detached Dec 26 17:59:58 emily devd: Attached Longcheer WM66 Modem umass Mode; switching Dec 26 17:59:58 emily root: Unknown weird USB device: vendor 0x1c9e product 0x6061 bus uhub2 Dec 26 17:59:58 emily ucom0: on uhub2 Dec 26 17:59:58 emily ucom0: port=0 iface=0 in=0x82 out=0x2 Dec 26 17:59:58 emily ucom0: port=1 iface=1 in=0x84 out=0x4 Dec 26 17:59:58 emily ucom0: port=2 iface=2 in=0x85 out=0x5 Dec 26 17:59:58 emily ucom0: configured 3 serial ports (U0.%d) Dec 26 17:59:58 emily devd: Attached Longcheer WM66 Modem in Modem Mode ---------SYSLOG OUTPUT------------ My thanks for the work done on u3g! Device works beautifully under minicom and with ppp, and am able to attain ~ 40kBps with our carrier - *without* those annoying stalls I got under UBSA. >How-To-Repeat: >Fix: Patch attached with submission follows: Property changes on: sys/modules ___________________________________________________________________ Added: svn:externals + u3g http://svn.freebsd.org/base/head/sys/modules/u3g Index: sys/modules/Makefile =================================================================== --- sys/modules/Makefile (revision 186493) +++ sys/modules/Makefile (working copy) @@ -275,6 +275,7 @@ twe \ tx \ txp \ + u3g \ uark \ uart \ ubsa \ Index: sys/dev/usb/usbdevs =================================================================== --- sys/dev/usb/usbdevs (revision 186493) +++ sys/dev/usb/usbdevs (working copy) @@ -615,6 +615,7 @@ vendor QCOM 0x18e8 Qcom vendor LINKSYS3 0x1915 Linksys vendor QUALCOMMINC 0x19d2 Qualcomm, Incorporated +vendor LONGCHEER 0x1c9e Longcheer Holdings, Ltd. vendor DLINK 0x2001 D-Link vendor PLANEX2 0x2019 Planex Communications vendor ERICSSON 0x2282 Ericsson @@ -1941,6 +1942,8 @@ product QCOM RT2573 0x6196 RT2573 product QCOM RT2573_2 0x6229 RT2573 +/* Longcheer Holdings, Ltd. */ +product LONGCHEER WM66 0x6061 Longcheer WM66 HSDPA USB modem /* Qualcomm products */ product QUALCOMM CDMA_MSM 0x6000 CDMA Technologies MSM phone product QUALCOMM2 RWT_FCT 0x3100 RWT FCT-CDMA 2000 1xRTT modem >Release-Note: >Audit-Trail: >Unformatted: From robbak at robbak.com Fri Dec 26 05:50:06 2008 From: robbak at robbak.com (Robert Backhaus) Date: Fri Dec 26 05:50:12 2008 Subject: usb/127926: [boot] USB Timeout during bootup Message-ID: <200812261350.mBQDo5JX048865@freefall.freebsd.org> The following reply was made to PR usb/127926; it has been noted by GNATS. From: "Robert Backhaus" To: bug-followup@freebsd.org, kris@pcbsd.com Cc: Subject: Re: usb/127926: [boot] USB Timeout during bootup Date: Fri, 26 Dec 2008 23:15:18 +1000 Here is a link with patch to a similar issue on linux. Will a similar solution work? https://kerneltrap.org/mailarchive/linux-usb/2008/12/1/4274374 It looks like broken hardware that we must kludge around, again. The only thing I can add is that the front mounted usb port connected with old, unshielded cables (which should prevent it using USB2) does work with devices connected to it at boot. From ino-news at spotteswoode.dnsalias.org Fri Dec 26 07:48:10 2008 From: ino-news at spotteswoode.dnsalias.org (clemens fischer) Date: Fri Dec 26 07:48:17 2008 Subject: [solved] Re: usb-stick accessible, but doesn't boot References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> Message-ID: On Wed, 24 Dec 2008 16:53:00 +0100 clemens fischer wrote: > On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: > >>> Hans Petter Selasky: >> >>> Try the attached patch to "sys/kern/vfs_mount.c" >>> >>> Thanks for reporting. I have been aware about this issue for some >>> time now, but the patch has not been committed to current yet. >>> >>> I have FreeSBIE reliably up and running with USB2. >> >> Can you tell me what to do to the kernel configuration? Maybe I >> don't have to compile any USB functions into the kernel and can put >> them into loader.conf? I always get these dependency problems. > > I think I've found my problem. The kernel configuration really > needs the line marked "required", which builds support for the > USB bus: "device usb". Except this line, every usb related item > is a "nodevice" now. The USB2 modules needed are kldload'ed in > boot/loader.conf from the USB-stick, and this really works. > > Hans Petter: although I am not sure if my USB-stick needs it, the > kernel was built using your patch. So the least I can say about it: > It doesn't hurt, and it might sure help with more restive devices. Hans Petter pointed to me to the _real_ solution of my problem, and I want to set the record straight: The USB2 stack works fine, the patch to vfs_mount.c makes the booting process more robust. The easiest way to make a system booting from USB mass storage is to exclude every usb- related device from the kernel and kldload the needed modules in boot/loader.conf: # /boot/loader.conf usb2_controller_ehci_load="YES" usb2_controller_ohci_load="YES" usb2_controller_uhci_load="YES" usb2_storage_mass_load="YES" My problem was a left-over "device ucom" in the kernel configuration, or actually, since I have "include GENERIC" at the top, the missing "nodevice ucom" line. It pulled in dependencies on the old USB stack. -c From linimon at FreeBSD.org Fri Dec 26 15:00:59 2008 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Fri Dec 26 15:01:11 2008 Subject: usb/129964: [newusb] disconnection of ugen devices isn't logged Message-ID: <200812262300.mBQN0xYN067844@freefall.freebsd.org> Synopsis: [newusb] disconnection of ugen devices isn't logged Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Dec 26 23:00:49 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129964 From hselasky at c2i.net Sat Dec 27 01:45:01 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 27 01:45:07 2008 Subject: usb/129964: [newusb] disconnection of ugen devices isn't logged In-Reply-To: <200812262300.mBQN0xYN067844@freefall.freebsd.org> References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> Message-ID: <200812271047.19826.hselasky@c2i.net> On Saturday 27 December 2008, linimon@freebsd.org wrote: > usb/129964 This issue is now patched. Please test and close. http://perforce.freebsd.org/chv.cgi?CH=155314 --HPS From bruce at cran.org.uk Sat Dec 27 01:56:36 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Sat Dec 27 01:56:47 2008 Subject: usb/129964: [newusb] disconnection of ugen devices isn't logged In-Reply-To: <200812271047.19826.hselasky@c2i.net> References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> <200812271047.19826.hselasky@c2i.net> Message-ID: <20081227095607.6b9415ed@gluon> On Sat, 27 Dec 2008 10:47:19 +0100 Hans Petter Selasky wrote: > On Saturday 27 December 2008, linimon@freebsd.org wrote: > > usb/129964 > > This issue is now patched. Please test and close. > > http://perforce.freebsd.org/chv.cgi?CH=155314 Thanks. Has it been fixed in the main SVN repository too? I've been fetching code from svn.freebsd.org and svn.turbocat.net but most users can't fetch from the Perforce repository since there's no anonymous access. -- Bruce Cran From hselasky at c2i.net Sat Dec 27 01:58:59 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 27 01:59:06 2008 Subject: usb/129964: [newusb] disconnection of ugen devices isn't logged In-Reply-To: <20081227095607.6b9415ed@gluon> References: <200812262300.mBQN0xYN067844@freefall.freebsd.org> <200812271047.19826.hselasky@c2i.net> <20081227095607.6b9415ed@gluon> Message-ID: <200812271101.17179.hselasky@c2i.net> On Saturday 27 December 2008, Bruce Cran wrote: > On Sat, 27 Dec 2008 10:47:19 +0100 > > Hans Petter Selasky wrote: > > On Saturday 27 December 2008, linimon@freebsd.org wrote: > > > usb/129964 > > > > This issue is now patched. Please test and close. > > > > http://perforce.freebsd.org/chv.cgi?CH=155314 > > Thanks. Has it been fixed in the main SVN repository too? I've been > fetching code from svn.freebsd.org and svn.turbocat.net but most users > can't fetch from the Perforce repository since there's no anonymous > access. It's fixed in "svn.turbocat.net", not "svn.freebsd.org" yet. --HPS From weongyo.jeong at gmail.com Sat Dec 27 02:04:04 2008 From: weongyo.jeong at gmail.com (Weongyo Jeong) Date: Sat Dec 27 02:04:17 2008 Subject: HEADSUP: NDIS USB code has been committed Message-ID: <20081227100349.GB1815@freebsd.weongyo.org> Hello, Just for information. The code for supporting NDIS USB drivers has been committed into HEAD. Please tell me if you encounter problems. regards, Weongyo Jeong From weongyo.jeong at gmail.com Sat Dec 27 02:13:18 2008 From: weongyo.jeong at gmail.com (Weongyo Jeong) Date: Sat Dec 27 02:13:24 2008 Subject: HEADSUP: NDIS USB code has been committed In-Reply-To: <4955FEE1.6000201@elischer.org> References: <20081227100349.GB1815@freebsd.weongyo.org> <4955FEE1.6000201@elischer.org> Message-ID: <20081227101304.GA2198@freebsd.weongyo.org> On Sat, Dec 27, 2008 at 02:09:37AM -0800, Julian Elischer wrote: > Weongyo Jeong wrote: > >Hello, > > > >Just for information. The code for supporting NDIS USB drivers has been > >committed into HEAD. Please tell me if you encounter problems. > > > >regards, > >Weongyo Jeong > > using the original USB code, right? Yes. regards, Weongyo Jeong From julian at elischer.org Sat Dec 27 02:20:12 2008 From: julian at elischer.org (Julian Elischer) Date: Sat Dec 27 02:20:18 2008 Subject: HEADSUP: NDIS USB code has been committed In-Reply-To: <20081227100349.GB1815@freebsd.weongyo.org> References: <20081227100349.GB1815@freebsd.weongyo.org> Message-ID: <4955FEE1.6000201@elischer.org> Weongyo Jeong wrote: > Hello, > > Just for information. The code for supporting NDIS USB drivers has been > committed into HEAD. Please tell me if you encounter problems. > > regards, > Weongyo Jeong > > _______________________________________________ > 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" using the original USB code, right? From hselasky at c2i.net Sat Dec 27 02:49:18 2008 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Dec 27 02:49:25 2008 Subject: HEADSUP: NDIS USB code has been committed In-Reply-To: <49560548.4040406@micom.mng.net> References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> Message-ID: <200812271151.36293.hselasky@c2i.net> On Saturday 27 December 2008, Ganbold wrote: > Weongyo Jeong wrote: > > Hello, > > > > Just for information. The code for supporting NDIS USB drivers has been > > committed into HEAD. Please tell me if you encounter problems. > > Tried to compile kernel, but gives error. Is it related to your commit? > ... > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c > In file included from > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: > @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list > before 'usbd_xfer_handle' > @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list > before 'usbd_pipe_handle' > *** Error code 1 > 1 error > *** Error code 2 > ... > Looks like the USB2 NDIS module needs to be decoupled from the default build until further. --HPS From ganbold at micom.mng.net Sat Dec 27 03:10:26 2008 From: ganbold at micom.mng.net (Ganbold) Date: Sat Dec 27 03:10:33 2008 Subject: HEADSUP: NDIS USB code has been committed In-Reply-To: <20081227100349.GB1815@freebsd.weongyo.org> References: <20081227100349.GB1815@freebsd.weongyo.org> Message-ID: <49560548.4040406@micom.mng.net> Weongyo Jeong wrote: > Hello, > > Just for information. The code for supporting NDIS USB drivers has been > committed into HEAD. Please tell me if you encounter problems. > Tried to compile kernel, but gives error. Is it related to your commit? ... cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c In file included from /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list before 'usbd_xfer_handle' @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list before 'usbd_pipe_handle' *** Error code 1 1 error *** Error code 2 ... Ganbold > regards, > Weongyo Jeong > > _______________________________________________ > 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" > > > > -- So far as I can remember, there is not one word in the Gospels in praise of intelligence. -- Bertrand Russell From weongyo.jeong at gmail.com Sat Dec 27 04:44:21 2008 From: weongyo.jeong at gmail.com (Weongyo Jeong) Date: Sat Dec 27 04:44:28 2008 Subject: HEADSUP: NDIS USB code has been committed In-Reply-To: <49560548.4040406@micom.mng.net> References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> Message-ID: <20081227124407.GB2561@freebsd.weongyo.org> On Sat, Dec 27, 2008 at 06:36:56PM +0800, Ganbold wrote: > Weongyo Jeong wrote: > > Hello, > > > > Just for information. The code for supporting NDIS USB drivers has been > > committed into HEAD. Please tell me if you encounter problems. > > > Tried to compile kernel, but gives error. Is it related to your commit? > ... > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c > In file included from > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: > @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list > before 'usbd_xfer_handle' > @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list > before 'usbd_pipe_handle' > *** Error code 1 > 1 error > *** Error code 2 > ... Yes. It's related with my commit that now if_ndisvar.h has some structures referring to the original USB framework so it breaks on the newusb. Now building NDIS part on the newusb have decoupled from the default build. I hope now the builds are recovered. regards, Weongyo Jeong From imp at bsdimp.com Sat Dec 27 17:09:53 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Sat Dec 27 17:09:59 2008 Subject: usb/129964: [newusb] disconnection of ugen devices isn't logged In-Reply-To: <200812271101.17179.hselasky@c2i.net> References: <200812271047.19826.hselasky@c2i.net> <20081227095607.6b9415ed@gluon> <200812271101.17179.hselasky@c2i.net> Message-ID: <20081227.180704.-1877556536.imp@bsdimp.com> In message: <200812271101.17179.hselasky@c2i.net> Hans Petter Selasky writes: : On Saturday 27 December 2008, Bruce Cran wrote: : > On Sat, 27 Dec 2008 10:47:19 +0100 : > : > Hans Petter Selasky wrote: : > > On Saturday 27 December 2008, linimon@freebsd.org wrote: : > > > usb/129964 : > > : > > This issue is now patched. Please test and close. : > > : > > http://perforce.freebsd.org/chv.cgi?CH=155314 : > : > Thanks. Has it been fixed in the main SVN repository too? I've been : > fetching code from svn.freebsd.org and svn.turbocat.net but most users : > can't fetch from the Perforce repository since there's no anonymous : > access. : : It's fixed in "svn.turbocat.net", not "svn.freebsd.org" yet. No, it isn't part of the base FreeBSD yet, so the bug should remain open. Warner From bugmaster at FreeBSD.org Mon Dec 29 03:07:04 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Dec 29 03:09:25 2008 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org Message-ID: <200812291107.mBTB73Hc024614@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/129964 usb [newusb] disconnection of ugen devices isn't logged o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] 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 [ugen] [patch] Bug in buffer handling in ugen.c f usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/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] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s 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 [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/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] 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/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/117313 usb [umass] [panic] panic on usb camera insertion 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 a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID 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] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe 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 [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 290 problems total. From gavin at FreeBSD.org Mon Dec 29 18:39:02 2008 From: gavin at FreeBSD.org (gavin@FreeBSD.org) Date: Mon Dec 29 18:39:09 2008 Subject: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 Message-ID: <200812291839.mBTId2On038869@freefall.freebsd.org> Old Synopsis: Sun Type 7 Unix keyboard doesn't work with usb2 New Synopsis: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: gavin Responsible-Changed-When: Mon Dec 29 18:36:20 UTC 2008 Responsible-Changed-Why: New USB stack issue. Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=130024 From simon at FreeBSD.org Tue Dec 30 22:40:02 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Tue Dec 30 22:40:09 2008 Subject: usb/130066: [newusb] Serial adaptor use fail with 'unsupported speed XXX' Message-ID: <20081230223057.BA8075C86@arthur.nitro.dk> >Number: 130066 >Category: usb >Synopsis: [newusb] Serial adaptor use fail with 'unsupported speed XXX' >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 22:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Simon L. Nielsen >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD eddie.nitro.dk 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue Dec 30 22:28:33 CET 2008 simon@eddie.nitro.dk:/FreeBSD/obj/FreeBSD/system-CURRENT/sys/EDDIE i386 >Description: When I try to use my USB to serial adaptors they fail when I try to use the ports. cu and tip complain about problems setting the speed to 9600 (or other speeds). Using the old USB stack the adaptors work fine. # cu -l /dev/cuaU0 cu: unsupported speed 9600 # cu -l /dev/cuaU1 cu: unsupported speed 9600 # cu -s 115200 -l /dev/cuaU1 cu: unsupported speed 115200 # tip ucom2 tip: bad baud rate 9600 Debug info: >From dmesg/boot: ugen0.2: at usbus0 uplcom0: on usbus0 ugen6.2: at usbus6 uplcom1: on usbus6 ugen6.3: at usbus6 # usbconfig list ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen5.1: at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.2: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.3: at usbus6, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON # usbconfig dump_device_desc ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen5.1: at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x067b idProduct = 0x2303 bcdDevice = 0x0300 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen6.2: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x067b idProduct = 0x2303 bcdDevice = 0x0202 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 ugen6.3: at usbus6, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x051d idProduct = 0x0002 bcdDevice = 0x0006 iManufacturer = 0x0003 iProduct = 0x0001 iSerialNumber = 0x0002 bNumConfigurations = 0x0001 >From my kernel config: # USB Support device usb2_core # USB Core (required) # USB Controllers device usb2_controller # USB Controller (required) device usb2_controller_uhci # UHCI PCI->USB interface device usb2_controller_ohci # OHCI PCI->USB interface device usb2_controller_ehci # EHCI PCI->USB interface (USB 2.0) #device usb2_misc # USB Misc. (required) #device usb2_misc_dbp # USB Double Bulk Pipe devices # USB Input device usb2_input # USB Input (required) device usb2_input_hid # "Human Interface Devices" device usb2_input_kbd # Keyboard device usb2_input_ms # Mouse # USB Storage device usb2_storage device usb2_storage_mass # Disks/Mass storage - Requires scbus and da #device usb2_storage_rio # Diamond Rio 500 MP3 player # USB WLAN device usb2_wlan # USB Wlan (required) device usb2_wlan_rum # Ralink Technology RT2501USB wireless NICs device usb2_wlan_ral # Ralink Technology RT2500USB wireless NICs device usb2_wlan_zyd # ZyDAS zb1211/zb1211b wireless NICs # USB Scanners device usb2_image # USB image (required by scanners) device usb2_scanner # Scanners # USB Serial devices device usb2_serial # USB Serial (Required) device usb2_serial_lpt # Printer #device usb2_serial_3g # USB-based 3G modems (Option, Huawei, Sierra) device usb2_serial_ark # Technologies ARK3116 based serial adapters device usb2_serial_bsa # Belkin F5U103 and compatible serial adapters device usb2_serial_bser device usb2_serial_chcom device usb2_serial_cycom device usb2_serial_foma device usb2_serial_ftdi # For FTDI USB serial adapters device usb2_serial_gensa # Generic Serial Adapters device usb2_serial_ipaq # Some WinCE based devices device usb2_serial_mct device usb2_serial_modem # Generic USB modems device usb2_serial_moscom device usb2_serial_plcom # Prolific PL-2303 serial adapters #device usb2_serial_slcom # SI Labs CP2101/CP2102 serial adapters device usb2_serial_visor # Visor and Palm devices device usb2_serial_vscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus device usb2_ethernet # USB Ethernet (required) device usb2_ethernet_aue # ADMtek USB Ethernet device usb2_ethernet_axe # ASIX Electronics USB Ethernet device usb2_ethernet_cdce # Generic USB over Ethernet device usb2_ethernet_cue # CATC USB Ethernet device usb2_ethernet_kue # Kawasaki LSI USB Ethernet device usb2_ethernet_rue # RealTek RTL8150 USB Ethernet #device usb2_ethernet_dav # Davicom DM9601E USB >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From jmc-fbsdpr at milibyte.co.uk Wed Dec 31 12:00:08 2008 From: jmc-fbsdpr at milibyte.co.uk (Mike Clarke) Date: Wed Dec 31 12:00:27 2008 Subject: usb/130076: Panic when connecting USB camera Message-ID: >Number: 130076 >Category: usb >Synopsis: Panic when connecting USB camera >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 31 12:00:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mike Clarke >Release: FreeBSD 7.1-RC2 i386 >Organization: >Environment: System: FreeBSD curlew.lan 7.1-RC2 FreeBSD 7.1-RC2 #0: Tue Dec 23 15:18:30 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 System was installed from CDROM created from 7.1-RC2-i386-disc1.iso. The full installation option was selected for all sources, binaries and X windows, no other ports have been addded. >Description: Connecting one of my USB cameras (Olympus C-2040Z) consistently causes an instant panic. Other devices (e.g. Nikon Coolpix 3100, Logitech USB mouse, Kingston memory stick, Canon printer) never cause any problems. The panic occurs immediately the camera is connected and before any information about the device could be displayed on the console I regularly use the Olympus camera with 6.4-RELEASE on the same hardware with no problems but cannot use it with 7.1. Another PC running version 7 and with a different chipset shows the same problem and panics if I connect this camera. >How-To-Repeat: Although I can consistently repeat the problem by just plugging in the camera I appreciate this will be dificult to diagnose without having the same or similar model camera. Please let me know if there are any further diagnostics I can run to provide more information, I would be happy to apply any suggested experimental patches if this would help . >Fix: --- crashdump begins here --- Script started on Tue Dec 30 17:02:50 2008 curlew# cd /boot/kernel/ curlew# kgdb kernel.symbols /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xe55ed698 frame pointer = 0x28:0xe55ed6d8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 14 (swi4: clock sio) trap number = 12 panic: page fault cpuid = 0 Uptime: 2m50s Physical memory: 1971 MB Dumping 70 MB: 55 39 23 7 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc0795627 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07958f9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0aa7b0c in trap_fatal (frame=0xe55ed658, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0aa7d90 in trap_pfault (frame=0xe55ed658, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0aa874c in trap (frame=0xe55ed658) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0a8e5bb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0x00000000 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) quit curlew# curlew# ^Dexit Script done on Tue Dec 30 17:06:25 2008 --- crashdump ends here --- --- pciconf begins here --- none0@pci0:0:0:0: class=0x050000 card=0x0d04105b chip=0x02f010de rev=0xa2 hdr=0x00 none1@pci0:0:0:1: class=0x050000 card=0x0d04105b chip=0x02fa10de rev=0xa2 hdr=0x00 none2@pci0:0:0:2: class=0x050000 card=0x0d04105b chip=0x02fe10de rev=0xa2 hdr=0x00 none3@pci0:0:0:3: class=0x050000 card=0x0d04105b chip=0x02f810de rev=0xa2 hdr=0x00 none4@pci0:0:0:4: class=0x050000 card=0x0d04105b chip=0x02f910de rev=0xa2 hdr=0x00 none5@pci0:0:0:5: class=0x050000 card=0x0d04105b chip=0x02ff10de rev=0xa2 hdr=0x00 none6@pci0:0:0:6: class=0x050000 card=0x0d04105b chip=0x027f10de rev=0xa2 hdr=0x00 none7@pci0:0:0:7: class=0x050000 card=0x0d04105b chip=0x027e10de rev=0xa2 hdr=0x00 pcib1@pci0:0:2:0: class=0x060400 card=0x000010de chip=0x02fc10de rev=0xa1 hdr=0x01 pcib2@pci0:0:3:0: class=0x060400 card=0x000010de chip=0x02fd10de rev=0xa1 hdr=0x01 pcib3@pci0:0:4:0: class=0x060400 card=0x000010de chip=0x02fb10de rev=0xa1 hdr=0x01 vgapci0@pci0:0:5:0: class=0x030000 card=0x0d04105b chip=0x024010de rev=0xa2 hdr=0x00 none8@pci0:0:9:0: class=0x050000 card=0x0d04105b chip=0x027010de rev=0xa2 hdr=0x00 isab0@pci0:0:10:0: class=0x060100 card=0x0d04105b chip=0x026010de rev=0xa2 hdr=0x00 none9@pci0:0:10:1: class=0x0c0500 card=0x0d04105b chip=0x026410de rev=0xa2 hdr=0x00 none10@pci0:0:10:2: class=0x050000 card=0x0d04105b chip=0x027210de rev=0xa2 hdr=0x00 ohci0@pci0:0:11:0: class=0x0c0310 card=0x0d04105b chip=0x026d10de rev=0xa2 hdr=0x00 ehci0@pci0:0:11:1: class=0x0c0320 card=0x0d04105b chip=0x026e10de rev=0xa2 hdr=0x00 atapci0@pci0:0:13:0: class=0x01018a card=0x0d04105b chip=0x026510de rev=0xa1 hdr=0x00 atapci1@pci0:0:14:0: class=0x010185 card=0x0d04105b chip=0x026610de rev=0xa1 hdr=0x00 atapci2@pci0:0:15:0: class=0x010185 card=0x0d04105b chip=0x026710de rev=0xa1 hdr=0x00 pcib4@pci0:0:16:0: class=0x060401 card=0x00000000 chip=0x026f10de rev=0xa2 hdr=0x01 none11@pci0:0:16:2: class=0x040100 card=0x0d04105b chip=0x026b10de rev=0xa2 hdr=0x00 nfe0@pci0:0:20:0: class=0x068000 card=0x0d04105b chip=0x026910de rev=0xa1 hdr=0x00 hostb0@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 hostb1@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 hostb2@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 hostb3@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 ahc0@pci0:4:7:0: class=0x010000 card=0x78509004 chip=0x50789004 rev=0x03 hdr=0x00 --- pciconf ends here --- --- dmesg.boot begins here --- 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.1-RC2 #0: Tue Dec 23 15:18:30 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e0e000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e0e188. Calibrating clock(s) ... i8254 clock: 1193287 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 2511444242 Hz CPU: AMD Athlon(tm) Dual Core Processor 4850e (2511.44-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 Data TLB: 32 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 2080309248 (1983 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000001025000 - 0x0000000079cbffff, 2026483712 bytes (494747 pages) avail memory = 2025852928 (1932 MB) Table 'FACP' at 0x7bff30c0 Table 'SSDT' at 0x7bff9740 Table 'HPET' at 0x7bff9a40 Table 'MCFG' at 0x7bff9ac0 Table 'APIC' at 0x7bff9680 MADT: Found table at 0x7bff9680 MP Configuration Table version 1.4 found at 0xc00f2084 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 0: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 1: enabled SMP: Added CPU 1 (AP) ACPI APIC Table: INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 bios32: Found BIOS32 Service Directory header at 0xc00fa310 bios32: Entry = 0xfa920 (c00fa920) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xa950 pnpbios: Found PnP BIOS data at 0xc00fb4f0 pnpbios: Entry = f0000:b520 Rev = 1.0 Other BIOS signatures found: APIC: CPU 0 has ACPI ID 0 APIC: CPU 1 has ACPI ID 1 ULE: setup cpu group 0 ULE: setup cpu 0 ULE: adding cpu 0 to group 0: cpus 1 mask 0x1 ULE: setup cpu group 1 ULE: setup cpu 1 ULE: adding cpu 1 to group 1: cpus 1 mask 0x2 ACPI: RSDP @ 0x0xf7ee0/0x0014 (v 0 Nvidia) ACPI: RSDT @ 0x0x7bff3040/0x0038 (v 1 Nvidia NVDAACPI 0x42302E31 NVDA 0x00000000) ACPI: FACP @ 0x0x7bff30c0/0x0074 (v 1 Nvidia NVDAACPI 0x42302E31 NVDA 0x00000000) ACPI: DSDT @ 0x0x7bff3180/0x6498 (v 1 NVIDIA NVDAACPI 0x00001000 MSFT 0x0100000E) ACPI: FACS @ 0x0x7bff0000/0x0040 ACPI: SSDT @ 0x0x7bff9740/0x028A (v 1 PTLTD POWERNOW 0x00000001 LTP 0x00000001) ACPI: HPET @ 0x0x7bff9a40/0x0038 (v 1 Nvidia NVDAACPI 0x42302E31 NVDA 0x00000098) ACPI: MCFG @ 0x0x7bff9ac0/0x003C (v 1 Nvidia NVDAACPI 0x42302E31 NVDA 0x00000000) ACPI: APIC @ 0x0x7bff9680/0x007C (v 1 Nvidia NVDAACPI 0x42302E31 NVDA 0x00000000) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 ioapic0: Changing APIC ID to 2 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level MADT: Interrupt override: source 14, irq 14 MADT: Interrupt override: source 15, irq 15 lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high lapic1: Routing NMI -> LINT1 lapic1: LINT1 trigger: edge lapic1: LINT1 polarity: high ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000 ath_rate: version 1.2 wlan_amrr: wlan: <802.11 Link Layer> random: nfslock: pseudo-device io: kbd: new array size 4 kbd1 at kbdmux0 mem: Pentium Pro MTRR support enabled null: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 (Dec 23 2008 15:18:05) npx0: INT 16 interface acpi0: on motherboard ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: wakeup code va 0xd8f7a000 pa 0x1000 pci_open(1): mode 1 addr port (0x0cf8) is 0x80005088 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=050000] [hdr=80] is there (id=02f010de) pcibios: BIOS version 3.00 AcpiOsDerivePciId: \\_SB_.PCI0.K801.K181 -> bus 0 dev 24 func 1 AcpiOsDerivePciId: \\_SB_.PCI0.SMB0.PCG_ -> bus 0 dev 10 func 1 AcpiOsDerivePciId: \\_SB_.PCI0.SMB0.SMC_ -> bus 0 dev 10 func 1 AcpiOsDerivePciId: \\_SB_.PCI0.IGPU.GPUR -> bus 0 dev 5 func 0 AcpiOsDerivePciId: \\_SB_.PCI0.LEG0.PIO1 -> bus 0 dev 10 func 0 AcpiOsDerivePciId: \\_SB_.PCI0.LEG0.PIRQ -> bus 0 dev 10 func 0 acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7bef0000 (3) failed ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 5 7 9 10 11 14 15 Validation 0 11 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 5 7 9 10 11 14 15 Validation 0 5 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link8: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 5 7 9 10 11 14 15 Validation 0 11 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link9: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link10: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 5 7 9 10 11 14 15 Validation 0 10 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link11: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 5 7 9 10 11 14 15 Validation 0 11 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link12: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link13: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 5 7 9 10 11 14 15 Validation 0 11 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link14: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link15: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 5 7 9 10 11 14 15 Validation 0 5 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link16: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 5 7 9 10 11 14 15 Validation 0 5 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link17: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 7 9 10 11 14 15 Validation 0 255 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link18: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 5 7 9 10 11 14 15 Validation 0 11 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link19: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 5 7 9 10 11 14 15 Validation 0 5 N 0 5 7 9 10 11 14 15 After Disable 0 255 N 0 5 7 9 10 11 14 15 pci_link20: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link21: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 17 Validation 0 255 N 0 17 After Disable 0 255 N 0 17 pci_link22: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 18 Validation 0 255 N 0 18 After Disable 0 255 N 0 18 pci_link23: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 19 Validation 0 255 N 0 19 After Disable 0 255 N 0 19 pci_link24: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link25: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link26: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link27: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 16 Validation 0 255 N 0 16 After Disable 0 255 N 0 16 pci_link28: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link29: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link30: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link31: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link32: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link33: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link34: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link35: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link36: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link37: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link38: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link39: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 pci_link40: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 20 21 22 23 Validation 0 255 N 0 20 21 22 23 After Disable 0 255 N 0 20 21 22 23 acpi_hpet0: iomem 0xfeff0000-0xfeff03ff on acpi0 device_attach: acpi_hpet0 attach returned 12 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x10de, dev=0x02f0, revid=0xa2 domain=0, bus=0, slot=0, func=0 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02fa, revid=0xa2 domain=0, bus=0, slot=0, func=1 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0100, statreg=0x4020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02fe, revid=0xa2 domain=0, bus=0, slot=0, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02f8, revid=0xa2 domain=0, bus=0, slot=0, func=3 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02f9, revid=0xa2 domain=0, bus=0, slot=0, func=4 class=05-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02ff, revid=0xa2 domain=0, bus=0, slot=0, func=5 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x027f, revid=0xa2 domain=0, bus=0, slot=0, func=6 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0100, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x027e, revid=0xa2 domain=0, bus=0, slot=0, func=7 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x02fc, revid=0xa1 domain=0, bus=0, slot=2, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x02fd, revid=0xa1 domain=0, bus=0, slot=3, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x02fb, revid=0xa1 domain=0, bus=0, slot=4, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 MSI supports 2 messages, 64 bit found-> vendor=0x10de, dev=0x0240, revid=0xa2 domain=0, bus=0, slot=5, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xfc000000, size 24, enabled map[14]: type Prefetchable Memory, range 64, base 0xe0000000, size 28, enabled map[1c]: type Memory, range 64, base 0xfb000000, size 24, enabled pcib0: matched entry for 0.5.INTA (src \\_SB_.PCI0.APC7:0) pci_link26: Picked IRQ 16 with weight 0 pcib0: slot 5 INTA routed to irq 16 via \\_SB_.PCI0.APC7 found-> vendor=0x10de, dev=0x0270, revid=0xa2 domain=0, bus=0, slot=9, func=0 class=05-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0260, revid=0xa2 domain=0, bus=0, slot=10, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0264, revid=0xa2 domain=0, bus=0, slot=10, func=1 class=0c-05-00, hdrtype=0x00, mfdev=1 cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 2 supports D0 D3 current D0 map[20]: type I/O Port, range 32, base 0x1c00, size 6, enabled map[24]: type I/O Port, range 32, base 0x1c40, size 6, enabled pcib0: matched entry for 0.10.INTA (src \\_SB_.PCI0.APCS:0) pci_link35: Picked IRQ 20 with weight 0 pcib0: slot 10 INTA routed to irq 20 via \\_SB_.PCI0.APCS found-> vendor=0x10de, dev=0x0272, revid=0xa2 domain=0, bus=0, slot=10, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0400, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x026d, revid=0xa2 domain=0, bus=0, slot=11, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xfe02f000, size 12, enabled pcib0: matched entry for 0.11.INTA (src \\_SB_.PCI0.APCF:0) pci_link28: Picked IRQ 21 with weight 0 pcib0: slot 11 INTA routed to irq 21 via \\_SB_.PCI0.APCF found-> vendor=0x10de, dev=0x026e, revid=0xa2 domain=0, bus=0, slot=11, func=1 class=0c-03-20, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=b, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xfe02e000, size 8, enabled pcib0: matched entry for 0.11.INTB (src \\_SB_.PCI0.APCL:0) pci_link36: Picked IRQ 22 with weight 0 pcib0: slot 11 INTB routed to irq 22 via \\_SB_.PCI0.APCL found-> vendor=0x10de, dev=0x0265, revid=0xa1 domain=0, bus=0, slot=13, func=0 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) powerspec 2 supports D0 D3 current D0 map[20]: type I/O Port, range 32, base 0xf400, size 4, enabled found-> vendor=0x10de, dev=0x0266, revid=0xa1 domain=0, bus=0, slot=14, func=0 class=01-01-85, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 MSI supports 4 messages, 64 bit map[10]: type I/O Port, range 32, base 0x9f0, size 3, enabled map[14]: type I/O Port, range 32, base 0xbf0, size 2, enabled map[18]: type I/O Port, range 32, base 0x970, size 3, enabled map[1c]: type I/O Port, range 32, base 0xb70, size 2, enabled map[20]: type I/O Port, range 32, base 0xe000, size 4, enabled map[24]: type Memory, range 32, base 0xfe02d000, size 12, enabled pcib0: matched entry for 0.14.INTA (src \\_SB_.PCI0.APSI:0) pci_link39: Picked IRQ 23 with weight 0 pcib0: slot 14 INTA routed to irq 23 via \\_SB_.PCI0.APSI found-> vendor=0x10de, dev=0x0267, revid=0xa1 domain=0, bus=0, slot=15, func=0 class=01-01-85, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=5 powerspec 2 supports D0 D3 current D0 MSI supports 4 messages, 64 bit map[10]: type I/O Port, range 32, base 0x9e0, size 3, enabled map[14]: type I/O Port, range 32, base 0xbe0, size 2, enabled map[18]: type I/O Port, range 32, base 0x960, size 3, enabled map[1c]: type I/O Port, range 32, base 0xb60, size 2, enabled map[20]: type I/O Port, range 32, base 0xcc00, size 4, enabled map[24]: type Memory, range 32, base 0xfe02c000, size 12, enabled pcib0: matched entry for 0.15.INTA (src \\_SB_.PCI0.APSJ:0) pci_link40: Picked IRQ 20 with weight 1 pcib0: slot 15 INTA routed to irq 20 via \\_SB_.PCI0.APSJ found-> vendor=0x10de, dev=0x026f, revid=0xa2 domain=0, bus=0, slot=16, func=0 class=06-04-01, hdrtype=0x01, mfdev=1 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x02 (500 ns) found-> vendor=0x10de, dev=0x026b, revid=0xa2 domain=0, bus=0, slot=16, func=2 class=04-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x05 (1250 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type I/O Port, range 32, base 0xc800, size 8, enabled map[14]: type I/O Port, range 32, base 0xc400, size 8, enabled map[18]: type Memory, range 32, base 0xfe02b000, size 12, enabled pcib0: matched entry for 0.16.INTC (src \\_SB_.PCI0.APCJ:0) pci_link31: Picked IRQ 21 with weight 1 pcib0: slot 16 INTC routed to irq 21 via \\_SB_.PCI0.APCJ found-> vendor=0x10de, dev=0x0269, revid=0xa1 domain=0, bus=0, slot=20, func=0 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x14 (5000 ns) intpin=a, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xfe02a000, size 12, enabled map[14]: type I/O Port, range 32, base 0xc000, size 3, enabled pcib0: matched entry for 0.20.INTA (src \\_SB_.PCI0.APCH:0) pci_link30: Picked IRQ 22 with weight 1 pcib0: slot 20 INTA routed to irq 22 via \\_SB_.PCI0.APCH found-> vendor=0x1022, dev=0x1100, revid=0x00 domain=0, bus=0, slot=24, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1101, revid=0x00 domain=0, bus=0, slot=24, func=1 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1102, revid=0x00 domain=0, bus=0, slot=24, func=2 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x1103, revid=0x00 domain=0, bus=0, slot=24, func=3 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pcib1: domain 0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x8000-0x8fff pcib1: memory decode 0xfd800000-0xfd8fffff pcib1: prefetched decode 0xfd700000-0xfd7fffff pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.XVRC - AE_NOT_FOUND pci1: on pcib1 pci1: domain=0, physical bus=1 pcib2: at device 3.0 on pci0 pcib2: domain 0 pcib2: secondary bus 2 pcib2: subordinate bus 2 pcib2: I/O decode 0xa000-0xafff pcib2: memory decode 0xfde00000-0xfdefffff pcib2: prefetched decode 0xfdd00000-0xfddfffff pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.XVRB - AE_NOT_FOUND pci2: on pcib2 pci2: domain=0, physical bus=2 pcib3: at device 4.0 on pci0 pcib3: domain 0 pcib3: secondary bus 3 pcib3: subordinate bus 3 pcib3: I/O decode 0x9000-0x9fff pcib3: memory decode 0xfdc00000-0xfdcfffff pcib3: prefetched decode 0xfd900000-0xfd9fffff pcib3: could not get PCI interrupt routing table for \\_SB_.PCI0.XVRA - AE_NOT_FOUND pci3: on pcib3 pci3: domain=0, physical bus=3 vgapci0: mem 0xfc000000-0xfcffffff,0xe0000000-0xefffffff,0xfb000000-0xfbffffff irq 16 at device 5.0 on pci0 pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) pci0: at device 10.2 (no driver attached) ohci0: mem 0xfe02f000-0xfe02ffff irq 21 at device 11.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe02f000 ioapic0: routing intpin 21 (PCI IRQ 21) to vector 49 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 8 ports with 8 removable, self powered ehci0: mem 0xfe02e000-0xfe02e0ff irq 22 at device 11.1 on pci0 ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfe02e000 ioapic0: routing intpin 22 (PCI IRQ 22) to vector 50 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 8 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 8 ports with 8 removable, self powered ulpt0: on uhub1 ulpt0: using bi-directional mode atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf400 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=01 ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata0: stat1=0x00 err=0x04 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=00 stat1=00 devices=0x4 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 51 ata0: [MPSAFE] ata0: [ITHREAD] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=50 stat1=00 devices=0x1 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 52 ata1: [MPSAFE] ata1: [ITHREAD] atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfe02d000-0xfe02dfff irq 23 at device 14.0 on pci0 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xe000 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 53 atapci1: [MPSAFE] atapci1: [ITHREAD] atapci1: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfe02d000 ata2: on atapci1 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0x9f0 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xbf0 ata2: SATA connect time=0ms ata2: reset tp1 mask=01 ostat0=50 ostat1=00 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata2: reset tp2 stat0=50 stat1=00 devices=0x1 ata2: [MPSAFE] ata2: [ITHREAD] ata3: on atapci1 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0x970 atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb70 ata3: SATA connect status=00000000 ata3: [MPSAFE] ata3: [ITHREAD] atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem 0xfe02c000-0xfe02cfff irq 20 at device 15.0 on pci0 atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at 0xcc00 ioapic0: routing intpin 20 (PCI IRQ 20) to vector 54 atapci2: [MPSAFE] atapci2: [ITHREAD] atapci2: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfe02c000 ata4: on atapci2 atapci2: Reserved 0x8 bytes for rid 0x10 type 4 at 0x9e0 atapci2: Reserved 0x4 bytes for rid 0x14 type 4 at 0xbe0 ata4: SATA connect status=00000000 ata4: [MPSAFE] ata4: [ITHREAD] ata5: on atapci2 atapci2: Reserved 0x8 bytes for rid 0x18 type 4 at 0x960 atapci2: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb60 ata5: SATA connect status=00000000 ata5: [MPSAFE] ata5: [ITHREAD] pcib4: at device 16.0 on pci0 pcib4: domain 0 pcib4: secondary bus 4 pcib4: subordinate bus 4 pcib4: I/O decode 0xb000-0xbfff pcib4: memory decode 0xfdb00000-0xfdbfffff pcib4: prefetched decode 0xfda00000-0xfdafffff pcib4: Subtractively decoded bridge. pci4: on pcib4 pci4: domain=0, physical bus=4 found-> vendor=0x9004, dev=0x5078, revid=0x03 domain=0, bus=4, slot=7, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0290, cachelnsz=16 (dwords) lattimer=0x04 (120 ns), mingnt=0x04 (1000 ns), maxlat=0x04 (1000 ns) intpin=a, irq=11 powerspec 1 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0xbc00, size 8, enabled pcib4: requested I/O range 0xbc00-0xbcff: in range map[14]: type Memory, range 32, base 0xfdbff000, size 12, enabled pcib4: requested memory range 0xfdbff000-0xfdbfffff: good pcib4: matched entry for 4.7.INTA (src \\_SB_.PCI0.APC1:0) pci_link20: Picked IRQ 16 with weight 4 pcib4: slot 7 INTA routed to irq 16 via \\_SB_.PCI0.APC1 ahc0: port 0xbc00-0xbcff mem 0xfdbff000-0xfdbfffff irq 16 at device 7.0 on pci4 ahc0: Defaulting to MEMIO off ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xbc00 ahc0: No SEEPROM available. ahc0: Host Adapter Bios disabled. Using default SCSI device parameters ahc0: Downloading Sequencer Program... 457 instructions downloaded ahc0: Features 0x10100, Bugs 0x35, Flags 0x8401f44 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 55 ahc0: [MPSAFE] ahc0: [ITHREAD] aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs pci0: at device 16.2 (no driver attached) nfe0: port 0xc000-0xc007 mem 0xfe02a000-0xfe02afff irq 22 at device 20.0 on pci0 nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe02a000 miibus0: on nfe0 e1000phy0: PHY 1 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto nfe0: bpf attached nfe0: Ethernet address: 00:1c:25:35:5d:a7 nfe0: [MPSAFE] nfe0: [FILTER] acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: ic_type 90 part_id 80 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 56 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0xc21 0xc31 0xc21 0xc21 sio0: irq maps: 0xc21 0xc31 0xc21 0xc21 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ioapic0: routing intpin 4 (ISA IRQ 4) to vector 57 sio0: [FILTER] sio1: irq maps: 0xc21 0xc29 0xc21 0xc21 sio1: irq maps: 0xc21 0xc29 0xc21 0xc21 sio1: port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ioapic0: routing intpin 3 (ISA IRQ 3) to vector 58 sio1: [FILTER] psmcpnp0: irq 12 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 59 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: current command byte:0047 psm0: irq 12 on atkbdc0 ioapic0: routing intpin 12 (ISA IRQ 12) to vector 60 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4-00, 5 buttons psm0: config:00000000, flags:00000008, packet size:4 psm0: syncmask:08, syncbits:00 cpu0: on acpi0 cpu0: switching to generic Cx mode powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 acpi_hpet0: iomem 0xfeff0000-0xfeff03ff on acpi0 device_attach: acpi_hpet0 attach returned 12 unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff ahc_isa_probe 0: ioport 0xc00 alloc failed ahc_isa_probe 1: ioport 0x1c00 alloc failed ahc_isa_probe 11: ioport 0xbc00 alloc failed ahc_isa_probe 12: ioport 0xcc00 alloc failed ex_isa_identify() ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd3fff pnpid ORM0000 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fe0: not probed (disabled) ie0: not probed (disabled) le0: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ioapic0: routing intpin 7 (ISA IRQ 7) to vector 61 ppbus0: [MPSAFE] ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag plip0: bpf attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal) sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. Reducing kern.maxvnodes 130082 -> 100000 procfs registered lapic: Divisor 2, Frequency 100457780 hz Timecounter "TSC" frequency 2511444242 Hz quality -100 Timecounters tick every 1.000 msec lo0: bpf attached hptrr: no controller detected. ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=80 wire acd0: setting PIO4 on nForce MCP51 chip acd0: setting UDMA66 on nForce MCP51 chip acd0: DVDR drive at ata0 as master acd0: read 6890KB/s (6890KB/s) write 5511KB/s (6890KB/s), 2000KB buffer, UDMA66 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet acd0: Writes: CDR, CDRW, DVDR, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=80 wire ad2: setting PIO4 on nForce MCP51 chip ad2: setting UDMA66 on nForce MCP51 chip ad2: 19464MB at ata1-master UDMA66 ad2: 39862368 sectors [39546C/16H/63S] 16 sectors/interrupt 1 depth queue ad2: nVidia check1 failed ad2: Adaptec check1 failed ad2: LSI (v3) check1 failed ad2: LSI (v2) check1 failed ad2: FreeBSD check1 failed ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire ad4: 238475MB at ata2-master SATA150 ad4: 488397168 sectors [484521C/16H/63S] 16 sectors/interrupt 1 depth queue ad4: nVidia check1 failed ad4: Adaptec check1 failed ad4: LSI (v3) check1 failed ad4: LSI (v2) check1 failed ad4: FreeBSD check1 failed Waiting 5 seconds for SCSI devices to settle (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. GEOM: new disk ad2 GEOM: new disk ad4 ahc0: Selection Timeout on A:2. 0 SCBs aborted ahc0: Selection Timeout on A:0. 0 SCBs aborted ahc0: Selection Timeout on A:1. 0 SCBs aborted ahc0: Selection Timeout on A:3. 0 SCBs aborted ahc0: Selection Timeout on A:4. 0 SCBs aborted ahc0: Selection Timeout on A:5. 0 SCBs aborted ahc0: Selection Timeout on A:6. 0 SCBs aborted ATA PseudoRAID loaded SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000 ioapic0: Assigning ISA IRQ 1 to local APIC 0 ioapic0: Assigning ISA IRQ 3 to local APIC 1 ioapic0: Assigning ISA IRQ 4 to local APIC 0 ioapic0: Assigning ISA IRQ 6 to local APIC 1 ioapic0: Assigning ISA IRQ 7 to local APIC 0 ioapic0: Assigning ISA IRQ 9 to local APIC 1 ioapic0: Assigning ISA IRQ 12 to local APIC 0 ioapic0: Assigning ISA IRQ 14 to local APIC 1 ioapic0: Assigning ISA IRQ 15 to local APIC 0 ioapic0: Assigning PCI IRQ 16 to local APIC 1 ioapic0: Assigning PCI IRQ 20 to local APIC 0 ioapic0: Assigning PCI IRQ 21 to local APIC 1 ioapic0: Assigning PCI IRQ 22 to local APIC 0 ioapic0: Assigning PCI IRQ 23 to local APIC 1 Trying to mount root from ufs:/dev/ad4s2a start_init: trying /sbin/init Linux ELF exec handler installed --- dmesg.boot ends here --- >Release-Note: >Audit-Trail: >Unformatted: From vwe at FreeBSD.org Wed Dec 31 12:36:12 2008 From: vwe at FreeBSD.org (vwe@FreeBSD.org) Date: Wed Dec 31 12:36:17 2008 Subject: usb/130076: Panic when connecting USB camera Message-ID: <200812311236.mBVCaBe6082225@freefall.freebsd.org> Synopsis: Panic when connecting USB camera State-Changed-From-To: open->feedback State-Changed-By: vwe State-Changed-When: Wed Dec 31 12:33:31 UTC 2008 State-Changed-Why: Mike, the backtrace is of no use as the fault occurs in a loaded module. Please use asf(8) output to load the modules into kgdb and send us a more useful backtrace. Thank you very much for your effort! http://www.freebsd.org/cgi/query-pr.cgi?pr=130076 From vwe at FreeBSD.org Wed Dec 31 12:56:21 2008 From: vwe at FreeBSD.org (vwe@FreeBSD.org) Date: Wed Dec 31 12:56:33 2008 Subject: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user Message-ID: <200812311256.mBVCuLT9096976@freefall.freebsd.org> Synopsis: [newusb] usbconfig(8) fails with misleading error when run as a normal user Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: vwe Responsible-Changed-When: Wed Dec 31 12:55:52 UTC 2008 Responsible-Changed-Why: reassign http://www.freebsd.org/cgi/query-pr.cgi?pr=129963 From brucec at FreeBSD.org Wed Dec 31 14:49:17 2008 From: brucec at FreeBSD.org (brucec@FreeBSD.org) Date: Wed Dec 31 14:49:28 2008 Subject: docs/129962: [newusb] usbconfig(8) refers to non-existant usb2_core(4) Message-ID: <200812311449.mBVEnGVl081836@freefall.freebsd.org> Synopsis: [newusb] usbconfig(8) refers to non-existant usb2_core(4) Responsible-Changed-From-To: freebsd-doc->freebsd-usb Responsible-Changed-By: brucec Responsible-Changed-When: Wed Dec 31 14:48:47 UTC 2008 Responsible-Changed-Why: reassign http://www.freebsd.org/cgi/query-pr.cgi?pr=129962 From vwe at FreeBSD.org Wed Dec 31 16:13:53 2008 From: vwe at FreeBSD.org (vwe@FreeBSD.org) Date: Wed Dec 31 16:13:59 2008 Subject: usb/130076: Panic when connecting USB camera Message-ID: <200812311613.mBVGDrTs049407@freefall.freebsd.org> Synopsis: Panic when connecting USB camera Responsible-Changed-From-To: freebsd-usb->vwe Responsible-Changed-By: vwe Responsible-Changed-When: Wed Dec 31 16:12:45 UTC 2008 Responsible-Changed-Why: Mike, I'm wondering if you can put the core dump somewhere for downloading? http://www.freebsd.org/cgi/query-pr.cgi?pr=130076