From owner-freebsd-usb@FreeBSD.ORG Mon Feb 4 11:06:53 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8081A9C6 for ; Mon, 4 Feb 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 72401D23 for ; Mon, 4 Feb 2013 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14B6rRH028959 for ; Mon, 4 Feb 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14B6rTr028957 for freebsd-usb@FreeBSD.org; Mon, 4 Feb 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Feb 2013 11:06:53 GMT Message-Id: <201302041106.r14B6rTr028957@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175454 usb update usbdevs and usb_quirk.c for SanDisk SDDR-289 o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb XHCI driver bug after suspend to ram (ACPI S3 mode) o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct 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 s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 289 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 4 11:13:17 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DF86440A for ; Mon, 4 Feb 2013 11:13:17 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id C8D93F0B for ; Mon, 4 Feb 2013 11:13:17 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U2JzA-0005Vw-Qh for freebsd-usb@freebsd.org; Mon, 04 Feb 2013 03:13:16 -0800 Date: Mon, 4 Feb 2013 03:13:16 -0800 (PST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1359976396747-5783672.post@n5.nabble.com> Subject: microsd to usb adpater on FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 11:13:17 -0000 I've got such adapter with microsd purchase, http://www.trueaccessories.com/images/MicroSD-USB-Adapter.jpg it appears to me it's missing come active component to constitute a proper usb disk, (it's only pin rewire thing) and as such is not detected at all by FreeBSD. How could I amend this? Card itself is ok, I can mount it when it's inserted in another device. -- View this message in context: http://freebsd.1045724.n5.nabble.com/microsd-to-usb-adpater-on-FreeBSD-tp5783672.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 4 11:14:40 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DF8B450 for ; Mon, 4 Feb 2013 11:14:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 3720EF1E for ; Mon, 4 Feb 2013 11:14:39 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 373671442; Mon, 04 Feb 2013 12:14:31 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: microsd to usb adpater on FreeBSD Date: Mon, 4 Feb 2013 12:15:45 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <1359976396747-5783672.post@n5.nabble.com> In-Reply-To: <1359976396747-5783672.post@n5.nabble.com> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Jakub Lach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 11:14:40 -0000 On Monday 04 February 2013 12:13:16 Jakub Lach wrote: > I've got such adapter with microsd purchase, > > http://www.trueaccessories.com/images/MicroSD-USB-Adapter.jpg > > it appears to me it's missing come active component to constitute > a proper usb disk, (it's only pin rewire thing) and as such is not > detected at all by FreeBSD. How could I amend this? > > Card itself is ok, I can mount it when it's inserted in another device. > What does "dmesg" and "usbconfig" say? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Feb 4 11:31:36 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 31EF0925 for ; Mon, 4 Feb 2013 11:31:36 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 06299118E for ; Mon, 4 Feb 2013 11:31:35 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U2KGt-00079F-Kp for freebsd-usb@freebsd.org; Mon, 04 Feb 2013 03:31:35 -0800 Date: Mon, 4 Feb 2013 03:31:35 -0800 (PST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1359977495635-5783674.post@n5.nabble.com> In-Reply-To: <1359976396747-5783672.post@n5.nabble.com> References: <1359976396747-5783672.post@n5.nabble.com> Subject: Re: microsd to usb adpater on FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 11:31:36 -0000 I overthinked it, it was a matter of simply loading uhci driver, and I was used to ehci getting care of all usb drives :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/microsd-to-usb-adpater-on-FreeBSD-tp5783672p5783674.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 5 21:51:04 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 216C55BF for ; Tue, 5 Feb 2013 21:51:04 +0000 (UTC) (envelope-from mailinglists@martinlaabs.de) Received: from relay04.alfahosting-server.de (relay04.alfahosting-server.de [109.237.142.240]) by mx1.freebsd.org (Postfix) with ESMTP id C7C35A31 for ; Tue, 5 Feb 2013 21:51:03 +0000 (UTC) Received: by relay03.alfahosting-server.de (Postfix, from userid 1001) id 2A20232C0044; Tue, 5 Feb 2013 22:21:50 +0100 (CET) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50 autolearn=disabled version=3.2.5 Received: from alfa3018.alfahosting-server.de (alfa3018.alfahosting-server.de [109.237.140.30]) by relay03.alfahosting-server.de (Postfix) with ESMTP id AE60032C00FB for ; Tue, 5 Feb 2013 22:21:48 +0100 (CET) Received: from pc.martinlaabs.de (p54B3361D.dip.t-dialin.net [84.179.54.29]) by alfa3018.alfahosting-server.de (Postfix) with ESMTPSA id 834BA515C655 for ; Tue, 5 Feb 2013 22:21:48 +0100 (CET) Message-ID: <511177E8.8050009@martinlaabs.de> Date: Tue, 05 Feb 2013 22:21:44 +0100 From: Martin Laabs User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Get the USB descriptor string from uhid device Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/16632/Tue Feb 5 17:47:06 2013 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 21:51:04 -0000 Hi, currently I am writing an (linux compatible) UBS Joystick driver based on the libusbhid and the cuse4bsd framework. For the user I would like to get the sting from the usb device (that string which is also printed in the dmesg output) Do you have an idea how I can obtain this string with the libusbhid functions? Thank you, Martin Laabs From owner-freebsd-usb@FreeBSD.ORG Wed Feb 6 11:54:06 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 890D6DC8 for ; Wed, 6 Feb 2013 11:54:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 08D38313 for ; Wed, 6 Feb 2013 11:54:05 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 208099469; Wed, 06 Feb 2013 12:48:56 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: Get the USB descriptor string from uhid device Date: Wed, 6 Feb 2013 12:50:07 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <511177E8.8050009@martinlaabs.de> In-Reply-To: <511177E8.8050009@martinlaabs.de> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Martin Laabs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 11:54:06 -0000 On Tuesday 05 February 2013 22:21:44 Martin Laabs wrote: > Hi, > > currently I am writing an (linux compatible) UBS Joystick driver based on > the libusbhid and the cuse4bsd framework. > For the user I would like to get the sting from the usb device (that string > which is also printed in the dmesg output) > Do you have an idea how I can obtain this string with the libusbhid > functions? > Hi, This is not supported. Thought you could suggest a patch. Or if you are using a devd script, you can possibly get it from there and pass it on as an argument to your software. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 7 12:10:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28926E8D for ; Thu, 7 Feb 2013 12:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 00C109C4 for ; Thu, 7 Feb 2013 12:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17CA1Te091862 for ; Thu, 7 Feb 2013 12:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17CA1xw091861; Thu, 7 Feb 2013 12:10:01 GMT (envelope-from gnats) Date: Thu, 7 Feb 2013 12:10:01 GMT Message-Id: <201302071210.r17CA1xw091861@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Norbert Koch Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Norbert Koch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 12:10:02 -0000 The following reply was made to PR usb/175731; it has been noted by GNATS. From: Norbert Koch To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 07 Feb 2013 13:01:01 +0100 Same problem with FreeBSD-9.1-RELEASE. From owner-freebsd-usb@FreeBSD.ORG Thu Feb 7 21:25:16 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CFEA7FA1; Thu, 7 Feb 2013 21:25:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 138BDF19; Thu, 7 Feb 2013 21:25:15 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 376530984; Thu, 07 Feb 2013 22:25:07 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Norbert Koch Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 7 Feb 2013 22:26:17 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302071210.r17CA1xw091861@freefall.freebsd.org> In-Reply-To: <201302071210.r17CA1xw091861@freefall.freebsd.org> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: imp@freebsd.org, bug-followup@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 21:25:16 -0000 On Thursday 07 February 2013 13:10:01 Norbert Koch wrote: > The following reply was made to PR usb/175731; it has been noted by GNATS. > > From: Norbert Koch > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards > Date: Thu, 07 Feb 2013 13:01:01 +0100 > > Same problem with FreeBSD-9.1-RELEASE. Hi, In /etc/devd.conf there are a few lines of code: # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; }; detach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; }; Can you try to uncomment these? Then restart devd or reboot and try again and see what happens. I believe the devd.conf lines above should be removed. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 7 21:30:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE17FB18 for ; Thu, 7 Feb 2013 21:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BE8FBF90 for ; Thu, 7 Feb 2013 21:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17LU2ex096914 for ; Thu, 7 Feb 2013 21:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17LU2hI096913; Thu, 7 Feb 2013 21:30:02 GMT (envelope-from gnats) Date: Thu, 7 Feb 2013 21:30:02 GMT Message-Id: <201302072130.r17LU2hI096913@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 21:30:02 -0000 The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Norbert Koch Cc: bug-followup@freebsd.org, imp@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 7 Feb 2013 22:26:17 +0100 On Thursday 07 February 2013 13:10:01 Norbert Koch wrote: > The following reply was made to PR usb/175731; it has been noted by GNATS. > > From: Norbert Koch > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards > Date: Thu, 07 Feb 2013 13:01:01 +0100 > > Same problem with FreeBSD-9.1-RELEASE. Hi, In /etc/devd.conf there are a few lines of code: # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; }; detach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; }; Can you try to uncomment these? Then restart devd or reboot and try again and see what happens. I believe the devd.conf lines above should be removed. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 7 21:34:30 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91188230; Thu, 7 Feb 2013 21:34:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id AFA38FF0; Thu, 7 Feb 2013 21:34:29 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 201873729; Thu, 07 Feb 2013 22:29:20 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 7 Feb 2013 22:30:31 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302071210.r17CA1xw091861@freefall.freebsd.org> <201302072226.17824.hselasky@c2i.net> In-Reply-To: <201302072226.17824.hselasky@c2i.net> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Norbert Koch , imp@freebsd.org, bug-followup@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 21:34:30 -0000 On Thursday 07 February 2013 22:26:17 Hans Petter Selasky wrote: > Can you try to uncomment these? I mean en-comment by adding # in front of every line. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Feb 7 21:40:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A560350 for ; Thu, 7 Feb 2013 21:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 622B59B for ; Thu, 7 Feb 2013 21:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17Le1XU098492 for ; Thu, 7 Feb 2013 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17Le1MG098491; Thu, 7 Feb 2013 21:40:01 GMT (envelope-from gnats) Date: Thu, 7 Feb 2013 21:40:01 GMT Message-Id: <201302072140.r17Le1MG098491@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 21:40:01 -0000 The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Norbert Koch , imp@freebsd.org, bug-followup@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 7 Feb 2013 22:30:31 +0100 On Thursday 07 February 2013 22:26:17 Hans Petter Selasky wrote: > Can you try to uncomment these? I mean en-comment by adding # in front of every line. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 10:15:50 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1079EC6F for ; Fri, 8 Feb 2013 10:15:50 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-f54.google.com (mail-qe0-f54.google.com [209.85.128.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF0359C8 for ; Fri, 8 Feb 2013 10:15:49 +0000 (UTC) Received: by mail-qe0-f54.google.com with SMTP id 1so1627248qeb.27 for ; Fri, 08 Feb 2013 02:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=n21ojtgjkpGRmEHQixwoaAUK+HWspk4WCBTyzvORx9s=; b=wPQSIwFO6aD6um9teLiR2oprGKU1UHYWkfwmYcVoBSVncZTMZWM3ROsBiXSCweIBbZ g7O97Lj2QzolmpNpBCJx26OCRj8QCf0u54twi7gZreXmVupv3m7memdl20F7osgRqLX5 LYIg5vTp1M+cReU4uW8L8S5fj2W14AkL3gjEOjLvuGp8dCyybK/4q3V2VuHYEHc27jkM h4DH7ROoodsUXMGVMTejFplMfyhDPUQGR+ADgAblEjj4PwQqhS1+zyq4vMLe5IL4dpom LM7tIp6IvvCxlhtETqw0JxTTxKZFk3KwR2PoD6NSGXUObf5lYc6sG2p9xWioP87FCDRj ptxQ== MIME-Version: 1.0 X-Received: by 10.49.127.238 with SMTP id nj14mr2060277qeb.9.1360318543057; Fri, 08 Feb 2013 02:15:43 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.49.71.204 with HTTP; Fri, 8 Feb 2013 02:15:42 -0800 (PST) Date: Fri, 8 Feb 2013 11:15:42 +0100 X-Google-Sender-Auth: 0wTNNCcqfCCTsWaNc8-jf7a5czA Message-ID: Subject: hp usb mass storage issues From: CeDeROM To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 10:15:50 -0000 Hello :-) I got a pendrive that does not want to detect on FreeBSD 9.1 and 9.1-RC3, here is what I get: ugen1.7: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:5:0:-1: Attached to scbus5 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command Please advise :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 10:17:26 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A5339CCD for ; Fri, 8 Feb 2013 10:17:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF359D7 for ; Fri, 8 Feb 2013 10:17:25 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 202027945; Fri, 08 Feb 2013 11:17:23 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: hp usb mass storage issues Date: Fri, 8 Feb 2013 11:18:34 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 10:17:26 -0000 On Friday 08 February 2013 11:15:42 CeDeROM wrote: > Hello :-) > > I got a pendrive that does not want to detect on FreeBSD 9.1 and > 9.1-RC3, here is what I get: > > ugen1.7: at usbus1 > umass0: on usbus1 > umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:5:0:-1: Attached to scbus5 > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > Hi, Try to set the no synchronize cache quirk using usbconfig. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 10:36:06 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D069A872 for ; Fri, 8 Feb 2013 10:36:06 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by mx1.freebsd.org (Postfix) with ESMTP id 98A6DAA2 for ; Fri, 8 Feb 2013 10:36:06 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id z4so247371qan.12 for ; Fri, 08 Feb 2013 02:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=NY/eQIBF11Q3E5XXZXMMAhM/qH+d+3rVQgnASAb0O88=; b=XToJHPmM9Ovl37uR7IdkdhJYugKQfigv5ChzlQrKzU3g1Z7B02xaBodlpzwTW6K4OW LejuT30w1zJFRvnUYFmNSDgAIZF/wyNitR3ADv908ZGxuqR1cv2MjRwui1kD6vU0e3/l WtSTfVp+Yh78ohhgmUK1/z99aNqic7xlr6QyhY4wRW+u59cVtOOHHqCuydJfoqd5lwDj nd7ZQVgrFFPoDdk26EQKRW6hmu/dpZMqTS+8+WC9ZCDFpL3Hc4ku4xohtgL0KAlT66e2 BIvj8ExMthWhWUOjWL8pXgfzyt1dcm47yvlbDwPifml6esCy3y6nY4pGqEblCe4/A7WR 4DCg== MIME-Version: 1.0 X-Received: by 10.224.222.15 with SMTP id ie15mr1985483qab.75.1360319759922; Fri, 08 Feb 2013 02:35:59 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.49.71.204 with HTTP; Fri, 8 Feb 2013 02:35:59 -0800 (PST) In-Reply-To: <201302081118.34206.hselasky@c2i.net> References: <201302081118.34206.hselasky@c2i.net> Date: Fri, 8 Feb 2013 11:35:59 +0100 X-Google-Sender-Auth: BzxPenbEq0w0ux3kVFIxiH8zyTo Message-ID: Subject: Re: hp usb mass storage issues From: CeDeROM To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 10:36:06 -0000 On Fri, Feb 8, 2013 at 11:18 AM, Hans Petter Selasky wrote: > Try to set the no synchronize cache quirk using usbconfig. Hello Hans :-) Yes that helps: ugen1.7: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:5:0:-1: Attached to scbus5 # usbconfig -d 1.7 add_quirk UQ_MSC_NO_SYNC_CACHE da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 7728MB (15826944 512 byte sectors: 255H 63S/T 985C) Thank you! :-) What should I do to avoid this manual intervention in future? I also noticed that with another pendrive I get the device nodes, but in dmesg I get lots of this messages: (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: No sense data present (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: No sense data present (da0:umass-sim0:0:0:0): Retrying command (per sense data) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 11:20:47 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 28DC83C1 for ; Fri, 8 Feb 2013 11:20:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id B0706DBC for ; Fri, 8 Feb 2013 11:20:46 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 374615557; Fri, 08 Feb 2013 12:20:38 +0100 From: Hans Petter Selasky To: CeDeROM Subject: Re: hp usb mass storage issues Date: Fri, 8 Feb 2013 12:21:49 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302081118.34206.hselasky@c2i.net> In-Reply-To: X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 11:20:47 -0000 On Friday 08 February 2013 11:35:59 CeDeROM wrote: > On Fri, Feb 8, 2013 at 11:18 AM, Hans Petter Selasky wrote: > > Try to set the no synchronize cache quirk using usbconfig. > > Hello Hans :-) > > Yes that helps: > > ugen1.7: at usbus1 > umass0: on usbus1 > umass0: SCSI over Bulk-Only; quirks = 0x4000 > umass0:5:0:-1: Attached to scbus5 > > # usbconfig -d 1.7 add_quirk UQ_MSC_NO_SYNC_CACHE > > da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 7728MB (15826944 512 byte sectors: 255H 63S/T 985C) > > Thank you! :-) What should I do to avoid this manual intervention in > future? Send a patch for /sys/dev/usb/quirk/usb_quirk.c --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 21:48:03 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ADF7B5D7 for ; Fri, 8 Feb 2013 21:48:03 +0000 (UTC) (envelope-from aman.sawrup@bluecoat.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 962F02BD for ; Fri, 8 Feb 2013 21:48:03 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U3vne-0006R6-V5 for freebsd-usb@freebsd.org; Fri, 08 Feb 2013 13:48:02 -0800 Date: Fri, 8 Feb 2013 13:48:02 -0800 (PST) From: "aman.sawrup" To: freebsd-usb@freebsd.org Message-ID: <1360360082956-5785167.post@n5.nabble.com> Subject: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 21:48:03 -0000 Hello, We have ported the FreeBSD USB stack to my employers proprietary RTOS. The code was taken from the MAIN branch a little while after RELENG_8_BP tag was created. I'm trying to read data from the following mass storage device umass0: ehci0: [FILTER+ITHREAD] usbus0: EHCI version 1.0 usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 2 ports with 2 removable, self powered ugen0.2: at usbus0 uhub1: on usbus0 uhub1: 8 ports with 8 removable, self powered ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4800 Reading data one frame per transfer works. For example, if I want to read 512 bytes that is physically contiguous and is placed in a single frame, that works fine. However, when attempting to read 1024 bytes, that is not physically contiguous, using 3 frames for the same transfer, I get USB_ERR_STALLED. I have the frames setup as follows: frame[0] = 200 bytes frame[1] = 512 bytes frame[2] = 312 bytes Here's what my code looks like to do this: usb_frcount_t frindex = 0; for ( Storage::Byte_device::Scatter_gather *sg_entry = scb->SC_SG_List->In_progress_SGs(); sg_entry; sg_entry=sg_entry->SG_Link ) { usbd_xfer_set_frame_data( xfer, frindex++, reinterpret_cast(sg_entry->SG_Virtual_address), sg_entry->SG_Length ); } usbd_xfer_set_frames(xfer, frindex); usbd_transfer_submit(xfer); Note, in usbd_transfer_setup, I have set the maximum number of frames to 128 for this transfer (UMASS_T_BBB_DATA_READ). Question: Is it possible to transfer 1024 bytes using the method described above? Thanks Aman -- View this message in context: http://freebsd.1045724.n5.nabble.com/Reading-1024-bytes-from-mass-storage-device-using-3-frames-gives-USB-ERR-STALLED-tp5785167.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 23:00:54 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E1435267 for ; Fri, 8 Feb 2013 23:00:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6F12183B for ; Fri, 8 Feb 2013 23:00:53 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 377296742; Sat, 09 Feb 2013 00:00:46 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED Date: Sat, 9 Feb 2013 00:01:57 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <1360360082956-5785167.post@n5.nabble.com> In-Reply-To: <1360360082956-5785167.post@n5.nabble.com> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: "aman.sawrup" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 23:00:54 -0000 On Friday 08 February 2013 22:48:02 aman.sawrup wrote: > Hello, > > We have ported the FreeBSD USB stack to my employers proprietary RTOS. The > code was taken from the MAIN branch a little while after RELENG_8_BP tag > was created. > > I'm trying to read data from the following mass storage device umass0: > > ehci0: [FILTER+ITHREAD] > usbus0: EHCI version 1.0 > usbus0: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > uhub0: 2 ports with 2 removable, self powered > ugen0.2: at usbus0 > uhub1: on > usbus0 > uhub1: 8 ports with 8 removable, self powered > ugen0.3: at usbus0 > umass0: on > usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x4800 > > Reading data one frame per transfer works. For example, if I want to read > 512 bytes that is physically contiguous and is placed in a single frame, > that works fine. > > However, when attempting to read 1024 bytes, that is not physically > contiguous, using 3 frames for the same transfer, I get USB_ERR_STALLED. I > have the frames setup as follows: > frame[0] = 200 bytes > frame[1] = 512 bytes > frame[2] = 312 bytes Hi, The frame lengths must be a multiple of the wMaxPacketSize (typically 64 or 512). Each frame is encoded like one or more USB packets independent of the next one. I.E. USB packet data may not cross a frame. This is not supported by the EHCI/OHCI and UHCI hardware, and the USB stack will not make a fixup buffer for this. The USB stack returns the device independent multiplier length for this purpose when calling usbd_xfer_max_framelen(). Only when (frame[n] % usbd_xfer_max_framelen() == 0) it will work like you want. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 00:16:24 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 48196968 for ; Sat, 9 Feb 2013 00:16:24 +0000 (UTC) (envelope-from aman.sawrup@bluecoat.com) Received: from synonym.bluecoat.com (synonym.bluecoat.com [199.91.133.5]) by mx1.freebsd.org (Postfix) with ESMTP id 36A38B14 for ; Sat, 9 Feb 2013 00:16:24 +0000 (UTC) Received: from [10.167.9.25] (unknown [10.167.9.25]) by synonym.bluecoat.com (Postfix) with ESMTP id 9950C7FE12C; Fri, 8 Feb 2013 16:06:48 -0800 (PST) Message-ID: <51159317.6030307@bluecoat.com> Date: Fri, 08 Feb 2013 19:06:47 -0500 From: Aman Sawrup User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED References: <1360360082956-5785167.post@n5.nabble.com> <201302090001.57258.hselasky@c2i.net> In-Reply-To: <201302090001.57258.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 00:16:24 -0000 Hi Hans, Thanks very much for your help. This mass storage device does indeed have wMaxPacketSize of 512. (gdb) p *xfer->endpoint->edesc $6 = { bLength = 0x7, bDescriptorType = 0x5, bEndpointAddress = 0x81, bmAttributes = 0x2, wMaxPacketSize = "", bInterval = 0xff } (gdb) x /xh xfer->endpoint->edesc.wMaxPacketSize 0x6dba0616: 0x0200 Thanks again, Aman On 13-02-08 06:01 PM, Hans Petter Selasky wrote: > On Friday 08 February 2013 22:48:02 aman.sawrup wrote: >> Hello, >> >> We have ported the FreeBSD USB stack to my employers proprietary RTOS. The >> code was taken from the MAIN branch a little while after RELENG_8_BP tag >> was created. >> >> I'm trying to read data from the following mass storage device umass0: >> >> ehci0: [FILTER+ITHREAD] >> usbus0: EHCI version 1.0 >> usbus0: 480Mbps High Speed USB v2.0 >> ugen0.1: at usbus0 >> uhub0: on usbus0 >> uhub0: 2 ports with 2 removable, self powered >> ugen0.2: at usbus0 >> uhub1: on >> usbus0 >> uhub1: 8 ports with 8 removable, self powered >> ugen0.3: at usbus0 >> umass0: on >> usbus0 >> umass0: SCSI over Bulk-Only; quirks = 0x4800 >> >> Reading data one frame per transfer works. For example, if I want to read >> 512 bytes that is physically contiguous and is placed in a single frame, >> that works fine. >> >> However, when attempting to read 1024 bytes, that is not physically >> contiguous, using 3 frames for the same transfer, I get USB_ERR_STALLED. I >> have the frames setup as follows: >> frame[0] = 200 bytes >> frame[1] = 512 bytes >> frame[2] = 312 bytes > Hi, > > The frame lengths must be a multiple of the wMaxPacketSize (typically 64 or > 512). Each frame is encoded like one or more USB packets independent of the > next one. I.E. USB packet data may not cross a frame. This is not supported by > the EHCI/OHCI and UHCI hardware, and the USB stack will not make a fixup > buffer for this. The USB stack returns the device independent multiplier > length for this purpose when calling usbd_xfer_max_framelen(). Only when > (frame[n] % usbd_xfer_max_framelen() == 0) it will work like you want. > > --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 12:52:02 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C85EF310 for ; Sat, 9 Feb 2013 12:52:02 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 8595D91F for ; Sat, 9 Feb 2013 12:52:02 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id r19CpuFo015936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 9 Feb 2013 13:52:01 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id r19CpuEr015935 for usb@freebsd.org; Sat, 9 Feb 2013 13:51:56 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Sat, 9 Feb 2013 13:51:56 +0100 From: Paul Schenkeveld To: usb@freebsd.org Subject: Pencam does not attach Message-ID: <20130209125156.GA15557@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 12:52:02 -0000 Hi, I tried to use a USB pen camera with flash drive but get no more than: usbus7: port reset timeout uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 usbd_set_config_index: could not read device status: USB_ERR_STALLED usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) ugen7.3: at usbus7 ugen7.3: at usbus7 (disconnected) It works fine on a Macbook so I know it's not broken. Any chance of getting this to work? BTW I'm running 8.3-STABLE with a kernel built in May 2012. With kind regards, Paul Schenkeveld From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 14:55:51 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B76558F9 for ; Sat, 9 Feb 2013 14:55:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 51E6FE04 for ; Sat, 9 Feb 2013 14:55:50 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 377030576; Sat, 09 Feb 2013 15:55:43 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: Pencam does not attach Date: Sat, 9 Feb 2013 15:56:53 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <20130209125156.GA15557@psconsult.nl> In-Reply-To: <20130209125156.GA15557@psconsult.nl> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 14:55:51 -0000 On Saturday 09 February 2013 13:51:56 Paul Schenkeveld wrote: > Hi, > > I tried to use a USB pen camera with flash drive but get no more than: > > usbus7: port reset timeout > uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 > usbd_set_config_index: could not read device status: USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, > ignored) usbd_req_re_enumerate: addr=3, set address failed! > (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting > configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) ugen7.3: > at usbus7 > ugen7.3: at usbus7 (disconnected) > > It works fine on a Macbook so I know it's not broken. > > Any chance of getting this to work? > > BTW I'm running 8.3-STABLE with a kernel built in May 2012. > Hi, > With kind regards, You should try 8-stable first. There has been some timing fixes in this area. See: sysctl hw.usb.timings --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 20:20:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2A5178B4 for ; Sat, 9 Feb 2013 20:20:46 +0000 (UTC) (envelope-from paul@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id D13B6238 for ; Sat, 9 Feb 2013 20:20:45 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id r19K43YL072373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Feb 2013 21:04:08 +0100 (CET) (envelope-from paul@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id r19K43pD072372; Sat, 9 Feb 2013 21:04:03 +0100 (CET) (envelope-from paul@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to paul@psconsult.nl using -f Date: Sat, 9 Feb 2013 21:04:03 +0100 From: Paul Schenkeveld To: Hans Petter Selasky Subject: Re: Pencam does not attach Message-ID: <20130209200403.GA58311@psconsult.nl> References: <20130209125156.GA15557@psconsult.nl> <201302091556.53324.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201302091556.53324.hselasky@c2i.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 20:20:46 -0000 On Sat, Feb 09, 2013 at 03:56:53PM +0100, Hans Petter Selasky wrote: > On Saturday 09 February 2013 13:51:56 Paul Schenkeveld wrote: > > Hi, > > > > I tried to use a USB pen camera with flash drive but get no more than: > > > > usbus7: port reset timeout > > uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT > > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 > > usbd_set_config_index: could not read device status: USB_ERR_STALLED > > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, > > ignored) usbd_req_re_enumerate: addr=3, set address failed! > > (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting > > configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) ugen7.3: > > at usbus7 > > ugen7.3: at usbus7 (disconnected) > > > > It works fine on a Macbook so I know it's not broken. > > > > Any chance of getting this to work? > > > > BTW I'm running 8.3-STABLE with a kernel built in May 2012. > > > > Hi, > > > With kind regards, > > You should try 8-stable first. There has been some timing fixes in this area. Just compiled a 8-STABLE kernel (svn rev 246578). Initially I get the almost same errors as above: usbus7: port reset timeout uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 usbd_set_config_index: could not read device status: USB_ERR_STALLED usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) ugen7.3: at usbus7 ugen7.3: at usbus7 (disconnected) > See: sysctl hw.usb.timings Could not find documentation but with guessing and trying I got rid of the first three messages using hw.usb.timings.port_powerup_delay=100: usbd_set_config_index: could not read device status: USB_ERR_STALLED usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting configuration index 0:USB_ERR_STALLED, port 2, addr 3 (ignored) ugen7.3: at usbus7 ugen7.3: at usbus7 (disconnected) Anything else I should try? Thanks! Paul Schenkeveld From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 20:34:58 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 49336E56; Sat, 9 Feb 2013 20:34:58 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1BB3F3; Sat, 9 Feb 2013 20:34:56 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id gf7so3816212lbb.18 for ; Sat, 09 Feb 2013 12:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=ZUPvbvhA6ekNgThGQt9R80uDCTaT5SmH1EzR9EMMSQo=; b=sDLnwFflvnJFa5J6Ev9AwBavmAkwqD1zKKuZGrYeAoDnq8myhlmhO/89NWT2CSejGV 20HzKxEWwU5pn+ySOqW0ylCqHT6qpkrsT/gTV+18CKSObHdip+CwSGMR6LM3cMpeWyV1 y5xPL19kXKzZa3K6bYi65I8M3ojxnXBuJ4Hk7RcWvODjNr1cvFK/50g0STc++hBs0u8R vU6Tg36ux8Kx3ED48SS3JTxaGso7Mf96JNY32gJHK0XjeUn+DxETbgbufYm1dhbAY/7H rN/QkllVaSYPzMhs8UafLyfqpp8GcUSewwYYfJQG8OLeiXMOREShM2nqfEOrGbZFe7AC Exvw== X-Received: by 10.112.51.233 with SMTP id n9mr3819878lbo.47.1360432888261; Sat, 09 Feb 2013 10:01:28 -0800 (PST) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru. [78.107.232.239]) by mx.google.com with ESMTPS id fh4sm11318797lbb.7.2013.02.09.10.01.26 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Feb 2013 10:01:27 -0800 (PST) Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.6/8.14.6) with ESMTP id r19I1PYk001852; Sat, 9 Feb 2013 22:01:25 +0400 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.6/8.14.6/Submit) id r19I1PRl001851; Sat, 9 Feb 2013 22:01:25 +0400 (MSK) (envelope-from dchagin) Date: Sat, 9 Feb 2013 22:01:25 +0400 From: Chagin Dmitry To: freebsd-usb@freebsd.org Subject: some usb troubles Message-ID: <20130209180124.GA1783@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 20:34:58 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, trying to run macbookpro10,1 on HEAD: 1) usb3.0 does not work at 9.1 and HEAD (r246587) 2) Between stable/9 and HEAD (r246587) we are lost uhid devices (external keyboard and mouse) and umass. dmesg on the same hw can find here: http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.stable9.txt http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.HEAD.txt pciconf: http://people.freebsd.org/~dchagin/macbookpro/pciconf.txt any help would be greatly apprecated. --=20 Have fun! chd --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEWjvQACgkQ0t2Tb3OO/O3/OACfbQaNVjx/n0ARg7u9ndXgdv5p XrgAoLriL9DpFKgXX08hwXXaoSOKu5ol =AZ2c -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 22:25:54 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BC8C4B63; Sat, 9 Feb 2013 22:25:54 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-la0-x236.google.com (la-in-x0236.1e100.net [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA6CAE0; Sat, 9 Feb 2013 22:25:53 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id gw10so4865093lab.13 for ; Sat, 09 Feb 2013 14:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=o4JvvFIJqtcJwyorFAby46yOzeuXPe4eL/MMkKxb674=; b=u33xKoXDoTUaqhKIFqf0Q40gClDxTM7C3r2iMyqgJ1cjGvfviaSikFHhWQwCMJ+sQz oe7pl9SwJzMj5ODIti0ivepfAYv/ou/lu/pKxelNWjIT+J5tz78clXbtYU97jmLvliRG nSrIfsT+uHOtV8G4n3GtApum/XSIdcgF2MW1fToYvvns9JNcPJ93tfR9AAk5lTLdKTUw rTKag73UnppUMJ2N/71nNrWP7NsIDiyGVOBRWf3ror0fbk4I8XVeDcySZm3vNwK943Bf ExMB/2a26l0K+BDliufjorXQ1LN/PVmtcmoixVYYRGQiiyD1r7bEHe4YnNDCJq4Aqtv7 0Cuw== X-Received: by 10.152.113.6 with SMTP id iu6mr8726917lab.43.1360448312639; Sat, 09 Feb 2013 14:18:32 -0800 (PST) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru. [78.107.232.239]) by mx.google.com with ESMTPS id f4sm2070512lbo.4.2013.02.09.14.18.31 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Feb 2013 14:18:31 -0800 (PST) Sender: Dmitry Chagin Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.6/8.14.6) with ESMTP id r19MIU1g003446; Sun, 10 Feb 2013 02:18:30 +0400 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.6/8.14.6/Submit) id r19MIUR6003445; Sun, 10 Feb 2013 02:18:30 +0400 (MSK) (envelope-from dchagin) Date: Sun, 10 Feb 2013 02:18:29 +0400 From: Chagin Dmitry To: freebsd-usb@freebsd.org Subject: [dchagin@freebsd.org: some usb troubles] Message-ID: <20130209221829.GA3436@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 22:25:54 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, trying to run HEAD on macbookpro10,1: 1) usb3.0 does not work at 9.1 and HEAD (r246587) 2) between stable/9 and HEAD (r246587) we are lost uhid devices (external keyboard and mouse) and umass. dmesg on the same hw can be find h= ere: http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.stable9.txt http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.HEAD.txt pciconf: http://people.freebsd.org/~dchagin/macbookpro/pciconf.txt any help would be greatly apprecated. --=20 Have fun! chd --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEWyzUACgkQ0t2Tb3OO/O1bqwCgts3ORV/ZuV2yIELxXLSuSoAg f0sAnjEjuoRRtpQ27i+vbOOUsOBz0OS6 =uxut -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- From owner-freebsd-usb@FreeBSD.ORG Sat Feb 9 22:35:15 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 37A53F70 for ; Sat, 9 Feb 2013 22:35:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id AA3F0B4C for ; Sat, 9 Feb 2013 22:35:14 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 375235207; Sat, 09 Feb 2013 23:35:06 +0100 From: Hans Petter Selasky To: Paul Schenkeveld Subject: Re: Pencam does not attach Date: Sat, 9 Feb 2013 23:36:15 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <20130209125156.GA15557@psconsult.nl> <201302091556.53324.hselasky@c2i.net> <20130209200403.GA58311@psconsult.nl> In-Reply-To: <20130209200403.GA58311@psconsult.nl> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 22:35:15 -0000 On Saturday 09 February 2013 21:04:03 Paul Schenkeveld wrote: > On Sat, Feb 09, 2013 at 03:56:53PM +0100, Hans Petter Selasky wrote: > > On Saturday 09 February 2013 13:51:56 Paul Schenkeveld wrote: > > > Hi, > > > > > > I tried to use a USB pen camera with flash drive but get no more than: > > > usbus7: port reset timeout > > > uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT > > > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port > > > 1 usbd_set_config_index: could not read device status: > > > USB_ERR_STALLED usbd_req_re_enumerate: addr=3, set address failed! > > > (USB_ERR_STALLED, > > > > > > ignored) usbd_req_re_enumerate: addr=3, set address failed! > > > (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting > > > configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) > > > ugen7.3: at usbus7 > > > > > > ugen7.3: at usbus7 (disconnected) > > > > > > It works fine on a Macbook so I know it's not broken. > > > > > > Any chance of getting this to work? > > > > > > BTW I'm running 8.3-STABLE with a kernel built in May 2012. > > > > Hi, > > > > > With kind regards, > > > > You should try 8-stable first. There has been some timing fixes in this > > area. > > Just compiled a 8-STABLE kernel (svn rev 246578). Initially I get the > almost same errors as above: > > usbus7: port reset timeout > uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 > usbd_set_config_index: could not read device status: USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, > ignored) usbd_req_re_enumerate: addr=3, set address failed! > (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting > configuration index 0:USB_ERR_STALLED, port 1, addr 3 (ignored) ugen7.3: > at usbus7 > ugen7.3: at usbus7 (disconnected) > > > See: sysctl hw.usb.timings > > Could not find documentation but with guessing and trying I got rid of > the first three messages using hw.usb.timings.port_powerup_delay=100: > > usbd_set_config_index: could not read device status: USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, > ignored) usbd_req_re_enumerate: addr=3, set address failed! > (USB_ERR_STALLED, ignored) usb_alloc_device: Failure selecting > configuration index 0:USB_ERR_STALLED, port 2, addr 3 (ignored) ugen7.3: > at usbus7 > ugen7.3: at usbus7 (disconnected) > > Anything else I should try? Hi, Can you identify the limit at which your device works / does not work by using binary search. Also try to play with the other tunables, and see what happens! --HPS