From bugmaster at FreeBSD.org Mon Jun 1 11:07:05 2009
From: bugmaster at FreeBSD.org (FreeBSD bugmaster)
Date: Mon Jun 1 11:09:48 2009
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
Message-ID: <200906011107.n51B71RO021270@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/134950 usb Lowering DTR for USB-modem via ubsa is not possible
o usb/134633 usb Add support for WILLCOM03(SHARP smart phone)
o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak
o usb/134476 usb [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx
o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g
o usb/134193 usb System freeze on usb MP3 player insertion
o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod
o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive
o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt
f usb/133545 usb [usb] [panic] Kernel crash in usb2_intr_schedule_adjus
o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache
o usb/133296 usb rum driver not working properly in hostap mode
p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA
o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as
o usb/132594 usb USB subsystem causes page fault and crashes
o usb/132312 usb Xorg 7.4 halts USB controller
o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c
o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760
o usb/132036 usb [panic] page fault when connecting Olympus C740 camera
o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips
o usb/131900 usb [usbdevs] [patch] Additional product identification co
o usb/131583 usb [umass] Failure when detaching umass Device
o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data
o usb/131521 usb Registering Belkin UPS to usb_quirks.c
f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk
o usb/131074 usb no run-time detection of usb devices plugged into exte
o usb/130736 usb Page fault unplugging USB stick
o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh
o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA
o usb/130208 usb Boot process severely hampered by umass0 error
o usb/130122 usb [newusb] DVD drive detects as 'da' device
o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core
o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U
o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system
o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support
o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan
o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem
o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis
o usb/129311 usb [usb] [panic] Instant crash with an USB card reader
o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and
o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a
s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa
o usb/128977 usb [usb] [patch] uaudio is not full duplex
o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2
o usb/128485 usb [umodem] [patch] Nokia N80 modem support
o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive
f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like
o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23
o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an
o usb/127926 usb [boot] USB Timeout during bootup
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 usb/127248 usb [ucom] panic while uplcom devices attaach and detach
o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver
o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c
f usb/126848 usb [usb]: USB Keyboard hangs during Installation
o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be
o usb/126519 usb [usb] [panic] panic when plugging in an iphone
o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device
o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if
o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite
o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d
o usb/125450 usb [panic] Removing USB flash card while being accessed c
o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for
o usb/125238 usb [ums] Habu Mouse turns off in X
o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U
o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi
o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe
o usb/124758 usb [rum] [panic] rum panics SMP kernel
o usb/124708 usb [panic] Kernel panic on USB KVM reattach
o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work
o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile
o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with
o usb/123691 usb usbd(8): usbd hangs
o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l
o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U
o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone
o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom
o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2
o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um
o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870
o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt
o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa
o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th
o usb/122813 usb [udbp] [request] udbp driver should be removed in favo
o usb/122621 usb [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
p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a
o usb/121169 usb [umass] Issues with usb mp3 player
o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS
o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det
o usb/120729 usb [panic] fault while in kernel mode with connecting USB
o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a
o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo
o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou
o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5
o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab
o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou
o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch
o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression]
o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i
o usb/119509 usb [usb] USB flaky on Dell Optiplex 755
o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas
o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress
o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun
o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and
o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround
o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer
o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se
o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread
o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi
o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin
o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS
o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE
o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS
o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work
o usb/117893 usb [umass] Lacie USB DVD writing failing
o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory
o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni
o usb/117313 usb [umass] [panic] panic on usb camera insertion
o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach
o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a
o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th
o usb/116699 usb [usbhid] USB HID devices do not initialize at system b
o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee
o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300
o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches
o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI
o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel
o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui
o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco
o usb/114682 usb [umass] generic USB media-card reader unusable
o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker
o usb/114068 usb [umass] [patch] Problems with connection of the umass
o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff
s usb/113977 usb [request] Need a way to set mode of USB disk's write c
o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971
s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6
o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af
a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir
o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10
o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an
o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount
s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla
o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an
o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4
o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID
o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu
o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC
o usb/109397 usb [panic] on boot from USB flash
o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu
o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr
s usb/108344 usb [panic] kernel with atausb panics when unplugging USB
o usb/108056 usb [ohci] Mouse gets powered off during device probe when
o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0
o usb/107924 usb [patch] usbd(8) does not call detach
o usb/107848 usb [umass] [request] cannot access Samsung flash disk
o usb/107827 usb [ohci] [panic] ohci_add_done addr not found
o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [
o usb/107388 usb [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 kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth
o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3
o usb/97472 usb [cam] [patch] add support for Olympus C150,D390
s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2.
o usb/97175 usb [umass] [hang] USB cardreader hangs system
o usb/96457 usb [umass] [panic] fatback on umass = reboot
o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram
o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync
s usb/96120 usb [ums] [request] USB mouse not always detected
s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620
o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb
s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen
o usb/95037 usb [umass] USB disk not recognized on hot-plug.
o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk
o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94384 usb [panic] kernel panic with usb2 hardware
o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB
o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion
o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes
o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work
o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w
o usb/92852 usb [ums] [patch] Vertical scroll not working properly on
o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb
o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand
o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg
o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n
o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return "
o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop
o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91283 usb [boot] [regression] booting very slow with usb devices
o usb/91238 usb [umass] USB tape unit fails to write a second tape fil
o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas
o usb/89954 usb [umass] [panic] USB Disk driver race condition?
s usb/89003 usb [request] LaCie Firewire drive not properly supported
o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg
o usb/88408 usb [axe] axe0 read PHY failed
o usb/87648 usb [mouse] Logitech USB-optical mouse problem.
o usb/87224 usb [usb] Cannot mount USB Zip750
o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the
o usb/86298 usb [mouse] Known good USB mouse won't work with correct s
s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device
f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa
s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a
o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US
o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/83863 usb [ugen] Communication problem between opensc/openct via
o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d
o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent
o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic
s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy
o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected
o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack
o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci
o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55.
o usb/80862 usb [patch] USB locking issues: missing some Giant calls
o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me
o usb/80829 usb [modules] [panic] possible panic when loading USB-modu
s usb/80777 usb [request] usb_rem_task() should wait for callback to c
s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_
o usb/80774 usb [patch] have "usbd_find_desc" in line with the other "
o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails
o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua
o usb/79723 usb [usb] [request] prepare for high speed isochronous tra
o usb/79722 usb [ehci] wrong alignments in ehci.h
a usb/79656 usb [ehci] RHSC interrupts lost
o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa
o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer
o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc
o usb/78984 usb [umass] [patch] Creative MUVO umass failure
o usb/77294 usb [ucom] [panic] ucom + ulpcom panic
o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect,
o usb/76732 usb [ums] Mouse problems with USB KVM Switch
o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device
o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by
o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0
s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade
o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn
o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c
o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for
o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace)
o usb/74771 usb [umass] [hang] mounting write-protected umass device a
s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL
o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R
o usb/73307 usb [panic] Kernel panics on USB disconnect
s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl
o usb/71455 usb [umass] Slow USB umass performance of 5.3
o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes
o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters
o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports
o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction
o usb/67301 usb [uftdi] [panic] RTS and system panic
o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct
o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes
s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s
o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans
s bin/57255 usb [patch] usbd(8) and multi-function devices
s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2
s usb/51958 usb [urio] [patch] update for urio driver
o i386/46371 usb USB controller cannot be initialized on IBM Netfinity
o usb/40948 usb [umass] [request] USB HP CDW8200 does not work
o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem
314 problems total.
From hselasky at c2i.net Tue Jun 2 07:33:14 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Tue Jun 2 07:33:20 2009
Subject: How to add support for Macbook Pro (USB) keyboard?
In-Reply-To: <4A0F25C5.9020706@rosenkeller.org>
References: <4A0DC89C.6010708@rosenkeller.org>
<200905162158.22210.hselasky@c2i.net>
<4A0F25C5.9020706@rosenkeller.org>
Message-ID: <200906020937.20466.hselasky@c2i.net>
Hi Christoph!
Rui Paulo has an additional patch for ukbd.c. Can you look at it and verify?
--HPS
Here's how it worked:
http://wiki.freebsd.org/AppleMacbook#head-7eab3730c3bf3d04bdfb0d1d3649eaddf2fed595
If there's any problem with the userland approach, I would like to know.
If there isn't, please consider removing the kenrel support for the
eject key.
From wojtek at tensor.gdynia.pl Tue Jun 2 16:00:12 2009
From: wojtek at tensor.gdynia.pl (Wojciech Puchar)
Date: Tue Jun 2 16:00:20 2009
Subject: usb/135182: UMASS quirk - Olympus FE20 camera
Message-ID: <200906021555.n52FtpVu069657@www.freebsd.org>
>Number: 135182
>Category: usb
>Synopsis: UMASS quirk - Olympus FE20 camera
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 02 16:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wojciech Puchar
>Release: 7.2-BETA1
>Organization:
TENSOR ap
>Environment:
FreeBSD wojtek.tensor.gdynia.pl 7.2-BETA1 FreeBSD 7.2-BETA1 #0: Mon Apr 6 14:14:29 CEST 2009 root@wojtek.tensor.gdynia.pl:/tmp/k i386
>Description:
Olympus FE-20 camera when connected to USB, works fine as a USB disk but produces LOTs of messages like
Jun 2 16:59:07 wojtek kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
>How-To-Repeat:
connect Olympus FE-20 camera to USB and try to use it
>Fix:
Patch attached with submission follows:
--- usbdevs.orig 2009-06-02 16:40:40.000000000 +0200
+++ usbdevs 2009-06-02 16:40:40.000000000 +0200
@@ -1891,6 +1891,7 @@
/* Olympus products */
product OLYMPUS C1 0x0102 C-1 Digital Camera
product OLYMPUS C700 0x0105 C-700 Ultra Zoom
+product OLYMPUS FE20 0x0109 FE-20
/* OmniVision Technologies, Inc. products */
product OMNIVISION OV511 0x0511 OV511 Camera
--- umass.c.orig 2009-06-02 17:04:39.000000000 +0200
+++ umass.c 2009-06-02 17:37:46.000000000 +0200
@@ -603,6 +603,10 @@
UMASS_PROTO_SCSI,
NO_GETMAXLUN
},
+ { USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_FE20, RID_WILDCARD,
+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+ NO_SYNCHRONIZE_CACHE
+ },
{ USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_CFMS_RW, RID_WILDCARD,
UMASS_PROTO_SCSI,
NO_QUIRKS
>Release-Note:
>Audit-Trail:
>Unformatted:
From credo8 at yandex.ru Wed Jun 3 04:10:02 2009
From: credo8 at yandex.ru (Sergey Teryoshkin)
Date: Wed Jun 3 04:10:08 2009
Subject: usb/135200: SAMSUNG i740 usb mass: Synchronize cache failed,
status == 0x39, scsi status == 0x0
Message-ID: <200906030403.n5343oNR046657@www.freebsd.org>
>Number: 135200
>Category: usb
>Synopsis: SAMSUNG i740 usb mass: Synchronize cache failed, status == 0x39, scsi status == 0x0
>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: Wed Jun 03 04:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sergey Teryoshkin
>Release: 7.2 RELEASE
>Organization:
Svyaz-Service
>Environment:
FreeBSD st.svzserv.kuzbass.ru 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed Jun 3 10:01:40 KRAST 2009 root@st.svzserv.kuzbass.ru:/usr/obj/home/src/sys/GENERIC i386
>Description:
It defines the sections connecting the Samsung i740 as a mass storage, dmesg shows the following: Synchronize cache failed, status == 0x39, scsi status == 0x0
>How-To-Repeat:
>Fix:
NO_SYNCHRONIZE_CACHE for device
Patch attached with submission follows:
*** umass.c.orig Wed Jun 3 09:48:46 2009
--- umass.c Wed Jun 3 09:53:52 2009
*************** static struct umass_devdescr_t umass_dev
*** 675,680 ****
--- 675,684 ----
UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
NO_INQUIRY
},
+ { USB_VENDOR_SAMSUNG, USB_PRODUCT_SAMSUNG_I740, RID_WILDCARD,
+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+ NO_SYNCHRONIZE_CACHE
+ },
{ USB_VENDOR_SANDISK, USB_PRODUCT_SANDISK_SDDR05A, RID_WILDCARD,
UMASS_PROTO_SCSI | UMASS_PROTO_CBI,
READ_CAPACITY_OFFBY1 | NO_GETMAXLUN
*** usbdevs.orig Wed Jun 3 09:51:33 2009
--- usbdevs Wed Jun 3 09:53:07 2009
*************** product SAGEM XG76NA 0x0062 XG-76NA
*** 2095,2100 ****
--- 2095,2101 ----
product SAMSUNG ML6060 0x3008 ML-6060 laser printer
product SAMSUNG YP_U2 0x5050 YP-U2 MP3 Player
product SAMSUNG I500 0x6601 I500 Palm USB Phone
+ product SAMSUNG I740 0x6663 I740 Windows Mobile USB Phone
/* Samsung Techwin products */
product SAMSUNG_TECHWIN DIGIMAX_410 0x000a Digimax 410
>Release-Note:
>Audit-Trail:
>Unformatted:
From toga at puyo.org Wed Jun 3 11:10:01 2009
From: toga at puyo.org (Satoshi Togawa)
Date: Wed Jun 3 11:10:08 2009
Subject: usb/135206: machine reboots when inserted USB device
Message-ID: <200906031104.n53B4jpx040863@www.freebsd.org>
>Number: 135206
>Category: usb
>Synopsis: machine reboots when inserted USB device
>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: Wed Jun 03 11:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Satoshi Togawa
>Release: 8-current
>Organization:
>Environment:
FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI i386
>Description:
When I insert USB device on DELL Inspiron mini 9, machine hangs up and reboot.
I can see this with USB reader/writer of microSD and modem card.
dmesg is here (after reboot with USB memory):
----
Copyright (c) 1992-2009 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 8.0-CURRENT #22: Sun May 31 23:11:59 JST 2009
togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2
Features=0xbfe9fbff
Features2=0x40c39d>
AMD Features=0x100000
AMD Features2=0x1
TSC: P-state invariant
real memory = 2147483648 (2048 MB)
avail memory = 2076233728 (1980 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
This module (opensolaris) contains code covered by the
Common Development and Distribution License (CDDL)
see http://opensolaris.org/os/licensing/opensolaris_license/
ioapic0: Changing APIC ID to 1
ioapic0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: port 0x62,0x66 on acpi0
acpi_lid0: on acpi0
acpi_button0: on acpi0
acpi_button1: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
vgapci0: port 0x1800-0x1807 mem 0xf0000000-0xf007ffff,0xd0000000-0xdfffffff,0xf0300000-0xf033ffff irq 16 at device 2.0 on pci0
agp0: on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1: mem 0xf0080000-0xf00fffff at device 2.1 on pci0
hdac0: mem 0xf0540000-0xf0543fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090401_0132
hdac0: [ITHREAD]
pcib1: irq 17 at device 28.0 on pci0
pci2: on pcib1
pci2: at device 0.0 (no driver attached)
sdhci0: mem 0xf0100400-0xf01004ff irq 16 at device 0.2 on pci2
sdhci0: 1 slot(s) allocated
sdhci0: [ITHREAD]
mmc0: on sdhci0
pci2: at device 0.3 (no driver attached)
pcib2: irq 16 at device 28.1 on pci0
pci3: on pcib2
iwn0: mem 0xf0200000-0xf0201fff irq 17 at device 0.0 on pci3
iwn0: Reg Domain: JPN, address 00:1f:3b:66:15:dd
iwn0: [ITHREAD]
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11na MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps
iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps
pcib3: irq 18 at device 28.2 on pci0
pci4: on pcib3
re0: port 0x2000-0x20ff mem 0xf0610000-0xf0610fff,0xf0600000-0xf060ffff irq 18 at device 0.0 on pci4
re0: Using 1 MSI messages
re0: Chip rev. 0x24800000
re0: MAC rev. 0x00000000
miibus0: on re0
rlphy0: PHY 1 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:21:70:d5:9e:9d
re0: [FILTER]
uhci0: port 0x1820-0x183f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x003b
usbus0: on uhci0
uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0010
usbus1: on uhci1
uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0010
usbus2: on uhci2
uhci3: port 0x1880-0x189f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0010
usbus3: on uhci3
ehci0: mem 0xf0544000-0xf05443ff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: on ehci0
pcib4: at device 30.0 on pci0
pci5: on pcib4
isab0: at device 31.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
pci0: at device 31.3 (no driver attached)
acpi_tz0: on acpi0
acpi_acad0: on acpi0
atrtc0: port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
battery0: on acpi0
atkbdc0: port 0x60,0x64 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
cpu0: on acpi0
est0: on cpu0
p4tcc0: on cpu0
cpu1: on acpi0
est1: on cpu1
p4tcc1: on cpu1
pmtimer0 on isa0
orm0: at iomem 0xcf000-0xcffff,0xe0000-0xe17ff pnpid ORM0000 on isa0
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ZFS filesystem version 13
ZFS storage pool version 13
ad0: FAILURE - SETFEATURES ENABLE RCACHE status=51 error=1 at usbus0
uhub0: on usbus0
ugen1.1: at usbus1
uhub1: on usbus1
ugen2.1: at usbus2
uhub2: on usbus2
ugen3.1: at usbus3
uhub3: on usbus3
ugen4.1: at usbus4
uhub4: on usbus4
EGAL_LENGTH>
ad0: 29389MB at ata0-master UDMA100
hdac0: HDA Codec #0: Realtek ALC268
pcm0: at cad 0 nid 1 on hdac0
pcm1: at cad 0 nid 1 on hdac0
GEOM_LABEL: Label for provider ad0s1a is ufsid/496440b894f6de1c.
mmcsd0: 3781MB at mmc0 25MHz/4bit
SMP: AP CPU #1 Launched!
GEOM: mmcsd0: partition 1 does not start on a track boundary.
GEOM: mmcsd0: partition 1 does not end on a track boundary.
GEOM_LABEL: Label for provider mmcsd0s1 is msdosfs/\M^C{\M^C\M^J\M^C\M^E\M^A[\M^C\M^@.
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Root mount waiting for: usbus4
ugen4.2: at usbus4
umass0: on usbus4
umass0: SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus4
ugen3.2: at usbus3
ubt0: on usbus3
umass0:0:0:-1: Attached to scbus0
Trying to mount root from zfs:tank/root
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 1947MB (3987456 512 byte sectors: 255H 63S/T 248C)
GEOM: da0: partition 1 does not start on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.
GEOM_LABEL: Label for provider da0s1 is msdosfs/WX340K.
GEOM_LABEL: Label ufsid/496440b894f6de1c removed.
GEOM_LABEL: Label for provider ad0s1a is ufsid/496440b894f6de1c.
GEOM_LABEL: Label ufsid/496440b894f6de1c removed.
wlan0: Ethernet address: 00:1f:3b:66:15:dd
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
GEOM_LABEL: Label for provider md0 is ufsid/4a265751b1244b1f.
GEOM_LABEL: Label ufsid/4a265751b1244b1f removed.
link_elf: symbol kern_socketpair undefined
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
link_elf: symbol kern_socketpair undefined
KLD linprocfs.ko: depends on linux - not available
drm0: on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730
drm0: [ITHREAD]
>How-To-Repeat:
Inserting USB device.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
From hselasky at c2i.net Wed Jun 3 11:23:45 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Wed Jun 3 11:23:52 2009
Subject: usb/135206: machine reboots when inserted USB device
In-Reply-To: <200906031104.n53B4jpx040863@www.freebsd.org>
References: <200906031104.n53B4jpx040863@www.freebsd.org>
Message-ID: <200906031327.53143.hselasky@c2i.net>
On Wednesday 03 June 2009, Satoshi Togawa wrote:
> >Number: 135206
> >Category: usb
> >Synopsis: machine reboots when inserted USB device
> >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: Wed Jun 03 11:10:00 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator: Satoshi Togawa
> >Release: 8-current
> >Organization:
> >Environment:
>
> FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
> 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
> i386
>
> >Description:
>
> When I insert USB device on DELL Inspiron mini 9, machine hangs up and
> reboot. I can see this with USB reader/writer of microSD and modem card.
>
Do you have any old modules in /boot/modules ?
--HPS
From hselasky at c2i.net Wed Jun 3 11:30:04 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Wed Jun 3 11:30:14 2009
Subject: usb/135206: machine reboots when inserted USB device
Message-ID: <200906031130.n53BU4qR028807@freefall.freebsd.org>
The following reply was made to PR usb/135206; it has been noted by GNATS.
From: Hans Petter Selasky
To: freebsd-usb@freebsd.org
Cc: Satoshi Togawa ,
freebsd-gnats-submit@freebsd.org
Subject: Re: usb/135206: machine reboots when inserted USB device
Date: Wed, 3 Jun 2009 13:27:52 +0200
On Wednesday 03 June 2009, Satoshi Togawa wrote:
> >Number: 135206
> >Category: usb
> >Synopsis: machine reboots when inserted USB device
> >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: Wed Jun 03 11:10:00 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator: Satoshi Togawa
> >Release: 8-current
> >Organization:
> >Environment:
>
> FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
> 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
> i386
>
> >Description:
>
> When I insert USB device on DELL Inspiron mini 9, machine hangs up and
> reboot. I can see this with USB reader/writer of microSD and modem card.
>
Do you have any old modules in /boot/modules ?
--HPS
From toga at puyo.org Wed Jun 3 12:29:02 2009
From: toga at puyo.org (TOGAWA Satoshi)
Date: Wed Jun 3 12:29:37 2009
Subject: usb/135206: machine reboots when inserted USB device
In-Reply-To: <200906031327.53143.hselasky@c2i.net>
References: <200906031104.n53B4jpx040863@www.freebsd.org>
<200906031327.53143.hselasky@c2i.net>
Message-ID: <200906031133.n53BXTNr095466@akane.vegalta.org>
On Wed, 3 Jun 2009 13:27:52 +0200
Hans Petter Selasky wrote:
> On Wednesday 03 June 2009, Satoshi Togawa wrote:
> > >Number: 135206
> > >Category: usb
> > >Synopsis: machine reboots when inserted USB device
> > >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: Wed Jun 03 11:10:00 UTC 2009
> > >Closed-Date:
> > >Last-Modified:
> > >Originator: Satoshi Togawa
> > >Release: 8-current
> > >Organization:
> > >Environment:
> >
> > FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
> > 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
> > i386
> >
> > >Description:
> >
> > When I insert USB device on DELL Inspiron mini 9, machine hangs up and
> > reboot. I can see this with USB reader/writer of microSD and modem card.
> >
>
> Do you have any old modules in /boot/modules ?
>
> --HPS
>
>
My /boot/modules is empty and there isn't directory /boot/kernel.old .
--
toga@puyo.org
From toga at puyo.org Wed Jun 3 12:30:05 2009
From: toga at puyo.org (TOGAWA Satoshi)
Date: Wed Jun 3 12:30:11 2009
Subject: usb/135206: machine reboots when inserted USB device
Message-ID: <200906031230.n53CU5hj076175@freefall.freebsd.org>
The following reply was made to PR usb/135206; it has been noted by GNATS.
From: TOGAWA Satoshi
To: Hans Petter Selasky
Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org
Subject: Re: usb/135206: machine reboots when inserted USB device
Date: Wed, 3 Jun 2009 20:33:28 +0900
On Wed, 3 Jun 2009 13:27:52 +0200
Hans Petter Selasky wrote:
> On Wednesday 03 June 2009, Satoshi Togawa wrote:
> > >Number: 135206
> > >Category: usb
> > >Synopsis: machine reboots when inserted USB device
> > >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: Wed Jun 03 11:10:00 UTC 2009
> > >Closed-Date:
> > >Last-Modified:
> > >Originator: Satoshi Togawa
> > >Release: 8-current
> > >Organization:
> > >Environment:
> >
> > FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
> > 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
> > i386
> >
> > >Description:
> >
> > When I insert USB device on DELL Inspiron mini 9, machine hangs up and
> > reboot. I can see this with USB reader/writer of microSD and modem card.
> >
>
> Do you have any old modules in /boot/modules ?
>
> --HPS
>
>
My /boot/modules is empty and there isn't directory /boot/kernel.old .
--
toga@puyo.org
From hselasky at c2i.net Thu Jun 4 20:32:34 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Thu Jun 4 20:32:42 2009
Subject: USB sound driver status was diffrent from 8-current and
7.2-RELEASE
In-Reply-To: <20090523.001201.52222678.sanpei@sanpei.org>
References: <200905221438.12911.hselasky@c2i.net>
<200905221527.58395.hselasky@c2i.net>
<20090523.001201.52222678.sanpei@sanpei.org>
Message-ID: <200906042236.42050.hselasky@c2i.net>
On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
> >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
> >> http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current
> >
> >Could you send me output from:
> >
> >usbconfig -u X -a Y dump_curr_config_desc
> >
> >Number X and Y are the numbers after ugen for your Audio device.
>
> I got it.
> http://www3.sanpei.org/~sanpei/tmp/dump_curr_config_desc_ABC-sound-card
>
Hi,
I have had to revert the patch for your device, because it breaks other USB
sound devices. Your sound device does not have a mono or stero only
configuration, and we currently only support either of that. Else try buying
another brand of USB sound device!
--HPS
From volker at vwsoft.com Thu Jun 4 21:44:22 2009
From: volker at vwsoft.com (Volker)
Date: Thu Jun 4 21:44:30 2009
Subject: usb/135206: machine reboots when inserted USB device
In-Reply-To: <200906031133.n53BXTNr095466@akane.vegalta.org>
References: <200906031104.n53B4jpx040863@www.freebsd.org> <200906031327.53143.hselasky@c2i.net>
<200906031133.n53BXTNr095466@akane.vegalta.org>
Message-ID: <4A281695.8060206@vwsoft.com>
On 12/23/-58 20:59, TOGAWA Satoshi wrote:
> On Wed, 3 Jun 2009 13:27:52 +0200
> Hans Petter Selasky wrote:
>
>> On Wednesday 03 June 2009, Satoshi Togawa wrote:
>>>> Number: 135206
>>>> Category: usb
>>>> Synopsis: machine reboots when inserted USB device
>>>> 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: Wed Jun 03 11:10:00 UTC 2009
>>>> Closed-Date:
>>>> Last-Modified:
>>>> Originator: Satoshi Togawa
>>>> Release: 8-current
>>>> Organization:
>>>> Environment:
>>> FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
>>> 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
>>> i386
>>>
>>>> Description:
>>> When I insert USB device on DELL Inspiron mini 9, machine hangs up and
>>> reboot. I can see this with USB reader/writer of microSD and modem card.
>>>
>> Do you have any old modules in /boot/modules ?
>>
>> --HPS
>>
>>
>
> My /boot/modules is empty and there isn't directory /boot/kernel.old .
>
Togawa,
at first, it may eventually make sense to see a kernel panic backtrace -
without that, it's guesswork (tm). Can you show us your kernel config?
But please try to sync your binaries (kernel + kld's + world) first.
Not related to your problem, you should fix your thumb drive / sdhc
module slices and fix filesystem labels.
Volker
From volker at vwsoft.com Thu Jun 4 23:00:11 2009
From: volker at vwsoft.com (Volker)
Date: Thu Jun 4 23:00:17 2009
Subject: usb/135206: machine reboots when inserted USB device
Message-ID: <200906042300.n54N0ASD086933@freefall.freebsd.org>
The following reply was made to PR usb/135206; it has been noted by GNATS.
From: Volker
To: TOGAWA Satoshi
Cc: Hans Petter Selasky ,
freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org
Subject: Re: Re: usb/135206: machine reboots when inserted USB device
Date: Thu, 04 Jun 2009 20:46:45 +0200
On 12/23/-58 20:59, TOGAWA Satoshi wrote:
> On Wed, 3 Jun 2009 13:27:52 +0200
> Hans Petter Selasky wrote:
>
>> On Wednesday 03 June 2009, Satoshi Togawa wrote:
>>>> Number: 135206
>>>> Category: usb
>>>> Synopsis: machine reboots when inserted USB device
>>>> 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: Wed Jun 03 11:10:00 UTC 2009
>>>> Closed-Date:
>>>> Last-Modified:
>>>> Originator: Satoshi Togawa
>>>> Release: 8-current
>>>> Organization:
>>>> Environment:
>>> FreeBSD nayuki.vegalta.org 8.0-CURRENT FreeBSD 8.0-CURRENT #22: Sun May 31
>>> 23:11:59 JST 2009 togawa@nayuki.vegalta.org:/usr/obj/usr/src/sys/NAYUKI
>>> i386
>>>
>>>> Description:
>>> When I insert USB device on DELL Inspiron mini 9, machine hangs up and
>>> reboot. I can see this with USB reader/writer of microSD and modem card.
>>>
>> Do you have any old modules in /boot/modules ?
>>
>> --HPS
>>
>>
>
> My /boot/modules is empty and there isn't directory /boot/kernel.old .
>
Togawa,
at first, it may eventually make sense to see a kernel panic backtrace -
without that, it's guesswork (tm). Can you show us your kernel config?
But please try to sync your binaries (kernel + kld's + world) first.
Not related to your problem, you should fix your thumb drive / sdhc
module slices and fix filesystem labels.
Volker
From sanpei at sanpei.org Fri Jun 5 11:24:44 2009
From: sanpei at sanpei.org (MIHIRA Sanpei Yoshiro)
Date: Fri Jun 5 11:24:52 2009
Subject: USB sound driver status was diffrent from 8-current and
7.2-RELEASE
In-Reply-To: <200906042236.42050.hselasky@c2i.net>
References: <200905221527.58395.hselasky@c2i.net>
<20090523.001201.52222678.sanpei@sanpei.org>
<200906042236.42050.hselasky@c2i.net>
Message-ID: <20090605.202438.15238723.sanpei@sanpei.org>
>On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
>> >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
>> >> http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current
>> >
>> >Could you send me output from:
>> >
>> >usbconfig -u X -a Y dump_curr_config_desc
>> >
>> >Number X and Y are the numbers after ugen for your Audio device.
>>
>> I got it.
>> http://www3.sanpei.org/~sanpei/tmp/dump_curr_config_desc_ABC-sound-card
>>
>
>Hi,
>
>I have had to revert the patch for your device, because it breaks other USB
>sound devices. Your sound device does not have a mono or stero only
>configuration, and we currently only support either of that. Else try buying
>another brand of USB sound device!
OK. I will buy 2ch USB audio device..
Cheers.
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
From ariff at FreeBSD.org Fri Jun 5 11:31:28 2009
From: ariff at FreeBSD.org (Ariff Abdullah)
Date: Fri Jun 5 11:31:34 2009
Subject: USB sound driver status was diffrent from 8-current and
7.2-RELEASE
In-Reply-To: <20090605.202438.15238723.sanpei@sanpei.org>
References: <200905221527.58395.hselasky@c2i.net>
<20090523.001201.52222678.sanpei@sanpei.org>
<200906042236.42050.hselasky@c2i.net>
<20090605.202438.15238723.sanpei@sanpei.org>
Message-ID: <20090605193115.2dd21754.ariff@FreeBSD.org>
On Fri, 05 Jun 2009 20:24:38 +0900 (JST)
MIHIRA Sanpei Yoshiro wrote:
> >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
> >> >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote:
> >> >> http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current
> >> >
> >> >Could you send me output from:
> >> >
> >> >usbconfig -u X -a Y dump_curr_config_desc
> >> >
> >> >Number X and Y are the numbers after ugen for your Audio device.
> >>
> >> I got it.
> >>
> >http://www3.sanpei.org/~sanpei/tmp/dump_curr_config_desc_ABC-sound
> >-card >
> >
> >Hi,
> >
> >I have had to revert the patch for your device, because it breaks
> >other USB sound devices. Your sound device does not have a mono or
> >stero only configuration, and we currently only support either of
> >that. Else try buying another brand of USB sound device!
>
> OK. I will buy 2ch USB audio device..
>
But don't throw away anything yet. Multichannel support is
going to come, soon enough.
--
Ariff Abdullah
FreeBSD
... Recording in stereo is obviously too advanced
and confusing for us idiot ***** users :P ........
... Going with the standard and orthodox
is the death of intellect ..............
-------------- 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/20090605/a5fd723c/attachment.pgp
From sanpei at sanpei.org Fri Jun 5 22:55:41 2009
From: sanpei at sanpei.org (MIHIRA Sanpei Yoshiro)
Date: Fri Jun 5 22:55:54 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
Message-ID: <20090606.075537.116369290.sanpei@sanpei.org>
Hi.
I have USB Radio(*1).
There is a application for channel selector, amfm.c which is
for linux and use libhid.
I compile it with ports/devel/libhid. But it was some errors
in 8-current and 7.2-RELEASE.
How can I fix this problem?
* amfm.c(amfm.c was based on shard USB Radio)
http://mixallow.blogdns.net/amfm/amfm.c
*1 USB Radio (writtin in Japanese)
http://www.thanko.jp/usbamfmradio/
compile options for amfm.c
cc -o amfm -I/usr/local/include -L/usr/local/lib -lhid amfm.c
*****
on 8-current
NOTICE: hid_init(): libhid 0.2.16.0.0 is being initialized.
TRACE: hid_init(): initialising USB subsystem...
TRACE: hid_init(): scanning for USB busses...
TRACE: hid_init(): scanning for USB devices...
NOTICE: hid_init(): successfully initialised HID library.
TRACE: hid_new_HIDInterface(): creating a new HIDInterface instance...
TRACE: hid_force_open(): forcefully opening a device interface according to matching criteria...
TRACE: hid_get_usb_handle(): acquiring handle for a USB device...
TRACE: hid_find_usb_device(): enumerating USB busses...
TRACE: hid_find_usb_device(): enumerating USB devices on bus /dev/usb...
TRACE: hid_find_usb_device(): inspecting USB device /dev/usb//dev/ugen0.3[0]...
TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
TRACE: hid_compare_usb_device(): inspecting vendor ID...
TRACE: hid_compare_usb_device(): no match on vendor ID.
TRACE: hid_compare_usb_device(): inspecting product ID...
TRACE: hid_compare_usb_device(): no match on product ID.
TRACE: hid_compare_usb_device(): no custom matching function supplied.
NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device /dev/usb//dev/ugen0.3[0] does not match 0x03b4.
TRACE: hid_find_usb_device(): inspecting USB device /dev/usb//dev/ugen0.2[0]...
TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
TRACE: hid_compare_usb_device(): inspecting vendor ID...
TRACE: hid_compare_usb_device(): match on vendor ID: 0x03b4.
TRACE: hid_compare_usb_device(): inspecting product ID...
TRACE: hid_compare_usb_device(): match on product ID: 0x3113.
TRACE: hid_compare_usb_device(): no custom matching function supplied.
NOTICE: hid_find_usb_device(): found a matching USB device /dev/usb//dev/ugen0.2[0].
TRACE: hid_force_open(): claiming USB device /dev/usb//dev/ugen0.2[0].
WARNING: hid_os_force_claim(): code not tested on the BSD platform!
TRACE: hid_os_force_claim(): claiming USB device /dev/usb//dev/ugen0.2[0]...
WARNING: hid_os_force_claim(): failed to claim USB device /dev/usb//dev/ugen0.2[0]...
WARNING: hid_force_open(): failed to claim USB device /dev/usb//dev/ugen0.2[0].
TRACE: hid_close(): closing USB device /dev/usb//dev/ugen0.2[0]...
TRACE: hid_close(): closing handle of USB device /dev/usb//dev/ugen0.2[0]...
NOTICE: hid_close(): successfully closed USB device /dev/usb//dev/ugen0.2[0].
TRACE: hid_close(): freeing memory allocated for HID parser...
TRACE: hid_close(): resetting HIDInterface...
hid_force_open failed with return code 11
-----------------------------------------------------------
on 7.2-RELEASE
cherry# ./amfm -f81.3
2
NOTICE: hid_init(): libhid 0.2.16.0.0 is being initialized.
TRACE: hid_init(): initialising USB subsystem...
TRACE: hid_init(): scanning for USB busses...
TRACE: hid_init(): scanning for USB devices...
NOTICE: hid_init(): successfully initialised HID library.
3
TRACE: hid_new_HIDInterface(): creating a new HIDInterface instance...
4
TRACE: hid_force_open(): forcefully opening a device interface according to matching criteria...
TRACE: hid_get_usb_handle(): acquiring handle for a USB device...
TRACE: hid_find_usb_device(): enumerating USB busses...
TRACE: hid_find_usb_device(): enumerating USB devices on bus /dev/usb0...
TRACE: hid_find_usb_device(): enumerating USB devices on bus /dev/usb1...
TRACE: hid_find_usb_device(): inspecting USB device /dev/usb1//dev/ugen0[0]...
TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
TRACE: hid_compare_usb_device(): inspecting vendor ID...
TRACE: hid_compare_usb_device(): match on vendor ID: 0x03b4.
TRACE: hid_compare_usb_device(): inspecting product ID...
TRACE: hid_compare_usb_device(): match on product ID: 0x3113.
TRACE: hid_compare_usb_device(): no custom matching function supplied.
NOTICE: hid_find_usb_device(): found a matching USB device /dev/usb1//dev/ugen0[0].
TRACE: hid_force_open(): claiming USB device /dev/usb1//dev/ugen0[0].
WARNING: hid_os_force_claim(): code not tested on the BSD platform!
TRACE: hid_os_force_claim(): claiming USB device /dev/usb1//dev/ugen0[0]...
NOTICE: hid_force_open(): successfully claimed USB device /dev/usb1//dev/ugen0[0].
TRACE: hid_init_parser(): initialising the HID parser for USB Device /dev/usb1//dev/ugen0[0]...
TRACE: hid_init_parser(): allocating space for HIDData structure...
TRACE: hid_init_parser(): successfully allocated memory for HIDData strcture.
TRACE: hid_init_parser(): allocating space for HIDParser structure...
TRACE: hid_init_parser(): successfully allocated memory for HIDParser strcture.
NOTICE: hid_init_parser(): successfully initialised the HID parser for USB Device /dev/usb1//dev/ugen0[0].
TRACE: hid_prepare_hid_descriptor(): initialising the HID descriptor for USB device /dev/usb1//dev/ugen0[0]...
TRACE: hid_prepare_hid_descriptor(): retrieving HID descriptor for USB device /dev/usb1//dev/ugen0[0]...
NOTICE: hid_prepare_hid_descriptor(): successfully initialised HID descriptor for USB device /dev/usb1//dev/ugen0[0] (48 bytes).
TRACE: hid_prepare_report_descriptor(): initialising the report descriptor for USB device /dev/usb1//dev/ugen0[0]...
TRACE: hid_prepare_report_descriptor(): retrieving report descriptor for USB device /dev/usb1//dev/ugen0[0]...
NOTICE: hid_prepare_report_descriptor(): successfully initialised report descriptor for USB device /dev/usb1//dev/ugen0[0].
TRACE: hid_prepare_parser(): setting up the HID parser for USB device /dev/usb1//dev/ugen0[0]...
TRACE: hid_reset_parser(): resetting the HID parser for USB device /dev/usb1//dev/ugen0[0]...
TRACE: hid_prepare_parser(): dumping the raw report descriptor
TRACE: hid_prepare_parser(): 0x000: 0x06 0xa0 0xff 0x09 0x01 0xa1 0x01 0x09
TRACE: hid_prepare_parser(): 0x008: 0x02 0xa1 0x00 0x06 0xa1 0xff 0x09 0x03
TRACE: hid_prepare_parser(): 0x010: 0x15 0x80 0x25 0x7f 0x35 0x00 0x45 0xff
TRACE: hid_prepare_parser(): 0x018: 0x75 0x08 0x95 0x08 0x81 0x02 0x09 0x04
TRACE: hid_prepare_parser(): 0x020: 0x15 0x80 0x25 0x7f 0x35 0x00 0x45 0xff
TRACE: hid_prepare_parser(): 0x028: 0x75 0x08 0x95 0x08 0x91 0x02 0xc0 0xc0
TRACE: hid_prepare_parser(): parsing the HID tree of USB device /dev/usb1//dev/ugen0[0]...
NOTICE: hid_prepare_parser(): successfully set up the HID parser for USB device /dev/usb1//dev/ugen0[0].
NOTICE: hid_force_open(): successfully opened USB device /dev/usb1//dev/ugen0[0].
5
TRACE: hid_interrupt_write(): writing interrupt report to device /dev/usb1//dev/ugen0[0] ...
never return from above method.
Cheers
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
From jmt at twilley.org Sun Jun 7 03:03:22 2009
From: jmt at twilley.org (Jack Twilley)
Date: Sun Jun 7 03:03:29 2009
Subject: How to retrieve iManufacturer/iProduct information from libusb20?
Message-ID: <4A2B29C0.7020709@twilley.org>
I have been looking through the source to usbconfig and other tools
trying to figure out how to retrieve the iManufacturer and iProduct
strings. The libusb20 man page describes the
libusb20_dev_get_device_desc() function but there's no useful
information on the struct it returns. The include file looks as if the
struct is automagically generated by macros within macros which is too
complicated for me to figure out without help. Any ideas? There's
gotta be a better way than using LIBUSB20_DEVICE_DESC()...
Jack.
From ccna.syl at gmail.com Sun Jun 7 14:16:45 2009
From: ccna.syl at gmail.com (Sylvestre Gallon)
Date: Sun Jun 7 14:16:52 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <4A2B29C0.7020709@twilley.org>
References: <4A2B29C0.7020709@twilley.org>
Message-ID: <164b4c9c0906070648gb7abd54o967c2daebf6e8032@mail.gmail.com>
On Sun, Jun 7, 2009 at 4:45 AM, Jack Twilley wrote:
> I have been looking through the source to usbconfig and other tools trying
> to figure out how to retrieve the iManufacturer and iProduct strings. ?The
> libusb20 man page describes the libusb20_dev_get_device_desc() function but
> there's no useful information on the struct it returns. ?The include file
> looks as if the struct is automagically generated by macros within macros
> which is too complicated for me to figure out without help. ?Any ideas?
> ?There's gotta be a better way than using LIBUSB20_DEVICE_DESC()...
>
> Jack.
You can use the function libusb20_dev_get_device_desc() that
returns a struct LIBUSB20_DEVICE_DESC_DECODED *. The field
idVendor and idProduct in the struct LIBUSB20_DEVICE_DESC_DECODED
are what you are looking for :)
Cheers,
--
Sylvestre Gallon (http://devsyl.blogspot.com)
Fifth Grade Student @ Epitech & Researcher @ LSE
R&D @ Rathaxes (http://www.rathaxes.org)
From gldisater at gmail.com Sun Jun 7 22:52:45 2009
From: gldisater at gmail.com (Jeremy Faulkner)
Date: Sun Jun 7 22:52:51 2009
Subject: Yubikey
Message-ID: <4A2C0510.9060701@gmail.com>
Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
uhid device on both 7 and 8.
ugen5.5: at usbus5
uhid0:
on usbus5
For those not familiar with a Yubikey it is a usb device that attaches
as a keyboard and when the button is pressed it generates a 44
character One Time Password (OTP) and inputted into the computer as if
it were typed. Unfortunately with FreeBSD 7 & 8 I'm not able to get
that output. Under NetBSD the Yubikey does get attached as a keyboard
and works perfectly. Any thoughts on how to get the Yubikey to attach
as a keyboard under FreeBSD?
I've attached the output of 'lsusb -d 1050:0010 -v >
~/yubikey-lsusb.txt' from the ports/sysutils/usbutils port
--
Jeremy Faulkner
-------------- next part --------------
Bus /dev/usb Device /dev/ugen5.5: ID 1050:0010
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1050
idProduct 0x0010
bcdDevice 1.32
iManufacturer 1 Yubico
iProduct 2 Yubico Yubikey Touch
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 30mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 71
Report Descriptor: (length is 71)
Item(Global): Usage Page, data= [ 0x01 ] 1
Generic Desktop Controls
Item(Local ): Usage, data= [ 0x06 ] 6
Keyboard
Item(Main ): Collection, data= [ 0x01 ] 1
Application
Item(Global): Usage Page, data= [ 0x07 ] 7
Keyboard
Item(Local ): Usage Minimum, data= [ 0xe0 ] 224
Control Left
Item(Local ): Usage Maximum, data= [ 0xe7 ] 231
GUI Right
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x01 ] 1
Item(Global): Report Count, data= [ 0x08 ] 8
Item(Main ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Count, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Main ): Input, data= [ 0x01 ] 1
Constant Array Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Count, data= [ 0x05 ] 5
Item(Global): Report Size, data= [ 0x01 ] 1
Item(Global): Usage Page, data= [ 0x08 ] 8
LEDs
Item(Local ): Usage Minimum, data= [ 0x01 ] 1
NumLock
Item(Local ): Usage Maximum, data= [ 0x05 ] 5
Kana
Item(Main ): Output, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Count, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x03 ] 3
Item(Main ): Output, data= [ 0x01 ] 1
Constant Array Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Count, data= [ 0x06 ] 6
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0x65 ] 101
Item(Global): Usage Page, data= [ 0x07 ] 7
Keyboard
Item(Local ): Usage Minimum, data= [ 0x00 ] 0
No Event
Item(Local ): Usage Maximum, data= [ 0x65 ] 101
Keyboard Application (Windows Key for Win95 or Compose)
Item(Main ): Input, data= [ 0x00 ] 0
Data Array Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Local ): Usage, data= [ 0x03 ] 3
Keyboard Error Undefined
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x08 ] 8
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
From hselasky at c2i.net Sun Jun 7 23:05:32 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Sun Jun 7 23:05:44 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <4A2B29C0.7020709@twilley.org>
References: <4A2B29C0.7020709@twilley.org>
Message-ID: <200906080030.53822.hselasky@c2i.net>
On Sunday 07 June 2009 04:45:20 Jack Twilley
wrote:
> I have been looking through the source to
usbconfig and other tools
> trying to figure out how to retrieve the
iManufacturer and iProduct
> strings. The libusb20 man page describes the
> libusb20_dev_get_device_desc() function but
there's no useful
> information on the struct it returns. The
include file looks as if the
> struct is automagically generated by macros
within macros which is too
> complicated for me to figure out without
help. Any ideas? There's
> gotta be a better way than using
LIBUSB20_DEVICE_DESC()...
After you find the string index, you can use the
following function to get strings:
int
libusb20_dev_req_string_simple_sync(struct
libusb20_device *pdev,
uint8_t index, void *ptr, uint16_t len);
--HPS
From hselasky at c2i.net Sun Jun 7 23:05:33 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Sun Jun 7 23:05:44 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <20090606.075537.116369290.sanpei@sanpei.org>
References: <20090606.075537.116369290.sanpei@sanpei.org>
Message-ID: <200906080037.43588.hselasky@c2i.net>
On Saturday 06 June 2009 00:55:37 MIHIRA Sanpei Yoshiro wrote:
> Hi.
>
> I have USB Radio(*1).
>
> There is a application for channel selector, amfm.c which is
> for linux and use libhid.
> I compile it with ports/devel/libhid. But it was some errors
> in 8-current and 7.2-RELEASE.
>
> How can I fix this problem?
>
> * amfm.c(amfm.c was based on shard USB Radio)
> http://mixallow.blogdns.net/amfm/amfm.c
>
> *1 USB Radio (writtin in Japanese)
> http://www.thanko.jp/usbamfmradio/
>
> compile options for amfm.c
> cc -o amfm -I/usr/local/include -L/usr/local/lib -lhid amfm.c
>
Hi,
If your application and the HID library is linked with libusb, it will work.
Can you check the source code for the HID library and find out what backend it
is using?
--HPS
From hselasky at c2i.net Sun Jun 7 23:27:08 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Sun Jun 7 23:27:14 2009
Subject: Yubikey
In-Reply-To: <4A2C0510.9060701@gmail.com>
References: <4A2C0510.9060701@gmail.com>
Message-ID: <200906080129.32610.hselasky@c2i.net>
On Sunday 07 June 2009 20:21:04 Jeremy Faulkner wrote:
> Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
> uhid device on both 7 and 8.
>
> ugen5.5: at usbus5
> uhid0:
> on usbus5
If you "cat /dev/usb/5.5.1 | hexdump C"
Do you get anything?
5.5 is the number after ugen.
--HPS
>
> For those not familiar with a Yubikey it is a usb device that attaches
> as a keyboard and when the button is pressed it generates a 44
> character One Time Password (OTP) and inputted into the computer as if
> it were typed. Unfortunately with FreeBSD 7 & 8 I'm not able to get
> that output. Under NetBSD the Yubikey does get attached as a keyboard
> and works perfectly. Any thoughts on how to get the Yubikey to attach
> as a keyboard under FreeBSD?
>
> I've attached the output of 'lsusb -d 1050:0010 -v >
> ~/yubikey-lsusb.txt' from the ports/sysutils/usbutils port
From gldisater at gmail.com Mon Jun 8 00:07:33 2009
From: gldisater at gmail.com (Jeremy Faulkner)
Date: Mon Jun 8 00:07:39 2009
Subject: Yubikey - cont'd
Message-ID:
Thanks for the reply Hans. I can't reply to the original thread as I
wasn't subscribed to usb@ and didn't mention that in my previous
email. I'm subscribed now.
I assume you meant 'cat /dev/usb/5.5.1 | hexdump -C' as 'hexdump C'
expects C to be a file. I've attached the output of hexdump when the
Yubikey is triggered.
--
Jeremy Faulkner
-------------- next part --------------
%cat /dev/usb/5.5.1 | hexdump -C
00000000 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 17 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 17 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 17 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 0f 00 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 |................|
00000100 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 15 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 0f 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 18 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 17 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 |................|
000001c0 00 00 00 00 00 00 00 00 00 00 18 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 |................|
00000200 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 |................|
00000210 00 00 00 00 00 00 00 00 00 00 19 00 00 00 00 00 |................|
00000220 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
00000230 00 00 00 00 00 00 00 00 00 00 19 00 00 00 00 00 |................|
00000240 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 |................|
00000250 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 00 00 |................|
00000260 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 |................|
00000270 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
00000280 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 |................|
00000290 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 |................|
000002a0 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00 00 |................|
000002b0 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 |................|
000002c0 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 00 |..........(.....|
From hselasky at c2i.net Mon Jun 8 06:58:44 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Mon Jun 8 06:58:57 2009
Subject: Temporary patch to fix USB in kdebase4
Message-ID: <200906080902.43391.hselasky@c2i.net>
See attachment.
--HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase4.diff
Type: text/x-patch
Size: 5884 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20090608/3558137c/kdebase4.bin
From bugmaster at FreeBSD.org Mon Jun 8 11:07:04 2009
From: bugmaster at FreeBSD.org (FreeBSD bugmaster)
Date: Mon Jun 8 11:09:58 2009
Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org
Message-ID: <200906081107.n58B73Xv020836@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/135206 usb machine reboots when inserted USB device
o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu
o usb/135182 usb UMASS quirk - Olympus FE20 camera
o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible
o usb/134633 usb Add support for WILLCOM03(SHARP smart phone)
o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak
o usb/134476 usb [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx
o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g
o usb/134193 usb System freeze on usb MP3 player insertion
o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod
o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive
o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt
f usb/133545 usb [usb] [panic] Kernel crash in usb2_intr_schedule_adjus
o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache
o usb/133296 usb rum driver not working properly in hostap mode
p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA
o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as
o usb/132594 usb USB subsystem causes page fault and crashes
o usb/132312 usb Xorg 7.4 halts USB controller
o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c
o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760
o usb/132036 usb [panic] page fault when connecting Olympus C740 camera
o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips
o usb/131900 usb [usbdevs] [patch] Additional product identification co
o usb/131583 usb [umass] Failure when detaching umass Device
o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data
o usb/131521 usb Registering Belkin UPS to usb_quirks.c
f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk
o usb/131074 usb no run-time detection of usb devices plugged into exte
o usb/130736 usb Page fault unplugging USB stick
o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh
o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA
o usb/130208 usb Boot process severely hampered by umass0 error
o usb/130122 usb [newusb] DVD drive detects as 'da' device
o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core
o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U
o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system
o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support
o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan
o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem
o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis
o usb/129311 usb [usb] [panic] Instant crash with an USB card reader
o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and
o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a
s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa
o usb/128977 usb [usb] [patch] uaudio is not full duplex
o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2
o usb/128485 usb [umodem] [patch] Nokia N80 modem support
o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive
f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like
o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23
o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an
o usb/127926 usb [boot] USB Timeout during bootup
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 usb/127248 usb [ucom] panic while uplcom devices attaach and detach
o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver
o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c
f usb/126848 usb [usb]: USB Keyboard hangs during Installation
o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be
o usb/126519 usb [usb] [panic] panic when plugging in an iphone
o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device
o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if
o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite
o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d
o usb/125450 usb [panic] Removing USB flash card while being accessed c
o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for
o usb/125238 usb [ums] Habu Mouse turns off in X
o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U
o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi
o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe
o usb/124758 usb [rum] [panic] rum panics SMP kernel
o usb/124708 usb [panic] Kernel panic on USB KVM reattach
o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work
o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile
o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with
o usb/123691 usb usbd(8): usbd hangs
o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l
o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U
o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone
o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom
o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2
o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um
o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870
o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt
o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa
o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th
o usb/122813 usb [udbp] [request] udbp driver should be removed in favo
o usb/122621 usb [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
p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a
o usb/121169 usb [umass] Issues with usb mp3 player
o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS
o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det
o usb/120729 usb [panic] fault while in kernel mode with connecting USB
o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a
o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo
o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou
o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5
o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab
o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou
o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch
o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression]
o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i
o usb/119509 usb [usb] USB flaky on Dell Optiplex 755
o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas
o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress
o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun
o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and
o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround
o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer
o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se
o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread
o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi
o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin
o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS
o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE
o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS
o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work
o usb/117893 usb [umass] Lacie USB DVD writing failing
o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory
o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni
o usb/117313 usb [umass] [panic] panic on usb camera insertion
o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach
o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a
o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th
o usb/116699 usb [usbhid] USB HID devices do not initialize at system b
o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee
o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300
o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches
o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter
o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI
o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel
o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui
o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco
o usb/114682 usb [umass] generic USB media-card reader unusable
o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker
o usb/114068 usb [umass] [patch] Problems with connection of the umass
o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff
s usb/113977 usb [request] Need a way to set mode of USB disk's write c
o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971
s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6
o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af
a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir
o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10
o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an
o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount
s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla
o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an
o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4
o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID
o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu
o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC
o usb/109397 usb [panic] on boot from USB flash
o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu
o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr
s usb/108344 usb [panic] kernel with atausb panics when unplugging USB
o usb/108056 usb [ohci] Mouse gets powered off during device probe when
o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0
o usb/107924 usb [patch] usbd(8) does not call detach
o usb/107848 usb [umass] [request] cannot access Samsung flash disk
o usb/107827 usb [ohci] [panic] ohci_add_done addr not found
o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [
o usb/107388 usb [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 kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth
o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3
o usb/97472 usb [cam] [patch] add support for Olympus C150,D390
s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2.
o usb/97175 usb [umass] [hang] USB cardreader hangs system
o usb/96457 usb [umass] [panic] fatback on umass = reboot
o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram
o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync
s usb/96120 usb [ums] [request] USB mouse not always detected
s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620
o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb
s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen
o usb/95037 usb [umass] USB disk not recognized on hot-plug.
o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk
o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI
o usb/94384 usb [panic] kernel panic with usb2 hardware
o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB
o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion
o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes
o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work
o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w
o usb/92852 usb [ums] [patch] Vertical scroll not working properly on
o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS
o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb
o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE
o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand
o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg
o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n
o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return "
o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop
o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work
o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500
o usb/91283 usb [boot] [regression] booting very slow with usb devices
o usb/91238 usb [umass] USB tape unit fails to write a second tape fil
o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas
o usb/89954 usb [umass] [panic] USB Disk driver race condition?
s usb/89003 usb [request] LaCie Firewire drive not properly supported
o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg
o usb/88408 usb [axe] axe0 read PHY failed
o usb/87648 usb [mouse] Logitech USB-optical mouse problem.
o usb/87224 usb [usb] Cannot mount USB Zip750
o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the
o usb/86298 usb [mouse] Known good USB mouse won't work with correct s
s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device
f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa
s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a
o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US
o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN
o usb/83863 usb [ugen] Communication problem between opensc/openct via
o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe
o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d
o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent
o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic
s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy
o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected
o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack
o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci
o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55.
o usb/80862 usb [patch] USB locking issues: missing some Giant calls
o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me
o usb/80829 usb [modules] [panic] possible panic when loading USB-modu
s usb/80777 usb [request] usb_rem_task() should wait for callback to c
s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_
o usb/80774 usb [patch] have "usbd_find_desc" in line with the other "
o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails
o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua
o usb/79723 usb [usb] [request] prepare for high speed isochronous tra
o usb/79722 usb [ehci] wrong alignments in ehci.h
a usb/79656 usb [ehci] RHSC interrupts lost
o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa
o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer
o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc
o usb/78984 usb [umass] [patch] Creative MUVO umass failure
o usb/77294 usb [ucom] [panic] ucom + ulpcom panic
o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect,
o usb/76732 usb [ums] Mouse problems with USB KVM Switch
o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device
o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by
o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0
s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade
o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn
o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c
o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for
o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace)
o usb/74771 usb [umass] [hang] mounting write-protected umass device a
s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL
o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R
o usb/73307 usb [panic] Kernel panics on USB disconnect
s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl
o usb/71455 usb [umass] Slow USB umass performance of 5.3
o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati
o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n
o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1
o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes
o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters
o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports
o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction
o usb/67301 usb [uftdi] [panic] RTS and system panic
o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct
o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes
s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s
o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans
s bin/57255 usb [patch] usbd(8) and multi-function devices
s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2
s usb/51958 usb [urio] [patch] update for urio driver
o i386/46371 usb USB controller cannot be initialized on IBM Netfinity
o usb/40948 usb [umass] [request] USB HP CDW8200 does not work
o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem
317 problems total.
From jdbca at clix.pt Mon Jun 8 14:20:06 2009
From: jdbca at clix.pt (Duncan Bertwistle)
Date: Mon Jun 8 14:20:19 2009
Subject: usb/135372: Quirk report for Teclast TL-C300 usb media player
Message-ID: <200906081411.n58EBF9U006904@www.freebsd.org>
>Number: 135372
>Category: usb
>Synopsis: Quirk report for Teclast TL-C300 usb media player
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 08 14:20:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Duncan Bertwistle
>Release: 7.2 - stable
>Organization:
>Environment:
FreeBSD devil.homenet 7.2-STABLE FreeBSD 7.2-STABLE #6: Sun Jun 7 10:14:46 BST 2009 root@devil.homenet:/usr/obj/usr/src/sys/DEVIL i386
>Description:
Teclast TL-C300 usb media player not properly recognized. Failed to create /dev entry on plugin and froze startup if present during boot. Found to require 2 quirks:- NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
Also - no usbdevs entries for Emtec 2GB memory stick or Mustek DV5000 camera
>How-To-Repeat:
>Fix:
Following mods for usbdevs & umass.c:-
usbdevs:-
/*### added for Teclast TL-C300 media player support */
vendor TECLAST 0x071b Teclast
/* Teclast products */
product TECLAST TLC300 0x3203 USB Media Player
/*### added for Emtec 2GB memory stick support */
vendor EMTEC 0x13fe Emtec 2GB memory stick
/* EMTEC products */
product EMTEC MEMORYSTICK2GB 0x1e00 Emtec 2GB memory stick
umass.c:-
/*### added for Teclast TL-C300 media player support */
{ USB_VENDOR_TECLAST, USB_PRODUCT_TECLAST_TLC300, RID_WILDCARD,
UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
},
>Release-Note:
>Audit-Trail:
>Unformatted:
From jmt at twilley.org Mon Jun 8 17:17:16 2009
From: jmt at twilley.org (Jack Twilley)
Date: Mon Jun 8 17:17:23 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <164b4c9c0906070648gb7abd54o967c2daebf6e8032@mail.gmail.com>
References: <4A2B29C0.7020709@twilley.org>
<164b4c9c0906070648gb7abd54o967c2daebf6e8032@mail.gmail.com>
Message-ID: <4A2D476B.20100@twilley.org>
Sylvestre Gallon wrote:
> On Sun, Jun 7, 2009 at 4:45 AM, Jack Twilley wrote:
>> I have been looking through the source to usbconfig and other tools trying
>> to figure out how to retrieve the iManufacturer and iProduct strings. The
>> libusb20 man page describes the libusb20_dev_get_device_desc() function but
>> there's no useful information on the struct it returns. The include file
>> looks as if the struct is automagically generated by macros within macros
>> which is too complicated for me to figure out without help. Any ideas?
>> There's gotta be a better way than using LIBUSB20_DEVICE_DESC()...
>>
>> Jack.
>
>
> You can use the function libusb20_dev_get_device_desc() that
> returns a struct LIBUSB20_DEVICE_DESC_DECODED *. The field
> idVendor and idProduct in the struct LIBUSB20_DEVICE_DESC_DECODED
> are what you are looking for :)
idVendor and idProduct look good according to the output of usbconfig,
but whenever I try to refer to ddesc->idVendor (or anything else in that
structure) I get "error: dereferencing pointer to incomplete type".
This is what sent me looking through the includes for the actual type
definition.
Other than the usbconfig code that uses the LIBUSB20_DEVICE_DESC()
macro, is there any other example code out there that does what I'm
trying to do?
>
> Cheers,
>
Thanks!
Jack.
From jmt at twilley.org Mon Jun 8 17:18:59 2009
From: jmt at twilley.org (Jack Twilley)
Date: Mon Jun 8 17:19:05 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <200906080030.53822.hselasky@c2i.net>
References: <4A2B29C0.7020709@twilley.org>
<200906080030.53822.hselasky@c2i.net>
Message-ID: <4A2D47FF.8040209@twilley.org>
Hans Petter Selasky wrote:
> On Sunday 07 June 2009 04:45:20 Jack Twilley
> wrote:
>> I have been looking through the source to
> usbconfig and other tools
>> trying to figure out how to retrieve the
> iManufacturer and iProduct
>> strings. The libusb20 man page describes the
>> libusb20_dev_get_device_desc() function but
> there's no useful
>> information on the struct it returns. The
> include file looks as if the
>> struct is automagically generated by macros
> within macros which is too
>> complicated for me to figure out without
> help. Any ideas? There's
>> gotta be a better way than using
> LIBUSB20_DEVICE_DESC()...
>
> After you find the string index, you can use the
> following function to get strings:
>
> int
> libusb20_dev_req_string_simple_sync(struct
> libusb20_device *pdev,
> uint8_t index, void *ptr, uint16_t len);
Finding the string index was harder than I expected, since I can't get
anything useful out of what libusb20_dev_get_device_desc() returns.
Heck, I even tried a short for loop from 0 to 15 just to see if the
values I saw in usbconfig were magic values pointing to the string.
How do I find the string index?
>
>
> --HPS
Thanks!
Jack.
From hselasky at c2i.net Mon Jun 8 17:38:18 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Mon Jun 8 17:38:25 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <4A2D47FF.8040209@twilley.org>
References: <4A2B29C0.7020709@twilley.org>
<200906080030.53822.hselasky@c2i.net>
<4A2D47FF.8040209@twilley.org>
Message-ID: <200906081942.26220.hselasky@c2i.net>
On Monday 08 June 2009 19:18:55 Jack Twilley wrote:
> Hans Petter Selasky wrote:
> > On Sunday 07 June 2009 04:45:20 Jack Twilley
> >
> > wrote:
> >> I have been looking through the source to
> >
> > usbconfig and other tools
> >
> >> trying to figure out how to retrieve the
> >
> > iManufacturer and iProduct
> >
> >> strings. The libusb20 man page describes the
> >> libusb20_dev_get_device_desc() function but
> >
> > there's no useful
> >
> >> information on the struct it returns. The
> >
> > include file looks as if the
> >
> >> struct is automagically generated by macros
> >
> > within macros which is too
> >
> >> complicated for me to figure out without
> >
> > help. Any ideas? There's
> >
> >> gotta be a better way than using
> >
> > LIBUSB20_DEVICE_DESC()...
> >
> > After you find the string index, you can use the
> > following function to get strings:
> >
> > int
> > libusb20_dev_req_string_simple_sync(struct
> > libusb20_device *pdev,
> > uint8_t index, void *ptr, uint16_t len);
>
> Finding the string index was harder than I expected, since I can't get
> anything useful out of what libusb20_dev_get_device_desc() returns.
> Heck, I even tried a short for loop from 0 to 15 just to see if the
> values I saw in usbconfig were magic values pointing to the string.
>
> How do I find the string index?
>
struct LIBUSB20_DEVICE_DESC_DECODED *pdesc;
pdesc = libusb20_dev_get_device_desc(pdev);
printf("Vendor string is %u\n", pdesc->iVendor);
if zero, the string is not present.
--HPS
From hselasky at c2i.net Mon Jun 8 17:40:04 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Mon Jun 8 17:40:11 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <4A2D476B.20100@twilley.org>
References: <4A2B29C0.7020709@twilley.org>
<164b4c9c0906070648gb7abd54o967c2daebf6e8032@mail.gmail.com>
<4A2D476B.20100@twilley.org>
Message-ID: <200906081944.12638.hselasky@c2i.net>
On Monday 08 June 2009 19:16:27 Jack Twilley wrote:
> "error: dereferencing pointer to incomplete type"
Maybe not obvious:
You need to include:
#include
--HPS
From jmt at twilley.org Mon Jun 8 17:50:15 2009
From: jmt at twilley.org (Jack Twilley)
Date: Mon Jun 8 17:50:21 2009
Subject: How to retrieve iManufacturer/iProduct information from
libusb20?
In-Reply-To: <200906081944.12638.hselasky@c2i.net>
References: <4A2B29C0.7020709@twilley.org>
<164b4c9c0906070648gb7abd54o967c2daebf6e8032@mail.gmail.com>
<4A2D476B.20100@twilley.org> <200906081944.12638.hselasky@c2i.net>
Message-ID: <4A2D4F53.6070706@twilley.org>
Hans Petter Selasky wrote:
> On Monday 08 June 2009 19:16:27 Jack Twilley wrote:
>> "error: dereferencing pointer to incomplete type"
>
> Maybe not obvious:
>
> You need to include:
>
> #include
This was the key. Everything's working now. Thank you both!
>
> --HPS
Jack.
From hselasky at c2i.net Mon Jun 8 19:23:25 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Mon Jun 8 19:23:36 2009
Subject: Yubikey - cont'd
In-Reply-To:
References:
Message-ID: <200906082127.35793.hselasky@c2i.net>
On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote:
> Thanks for the reply Hans. I can't reply to the original thread as I
> wasn't subscribed to usb@ and didn't mention that in my previous
> email. I'm subscribed now.
>
> I assume you meant 'cat /dev/usb/5.5.1 | hexdump -C' as 'hexdump C'
> expects C to be a file. I've attached the output of hexdump when the
> Yubikey is triggered.
Your Yubikey input looks like the input of a keyboard. I'm a little bit
busy at the moment. What needs to be done is to search for Yubikey in the
NetBSD ukbd.c driver (sys/dev/usb) and port those changes to the FreeBSD
ukbd.c driver (sys/dev/usb/input). Is that something you can do?
You might find the following link useful:
http://fxr.watson.org
--HPS
From gldisater at gmail.com Tue Jun 9 02:21:14 2009
From: gldisater at gmail.com (Jeremy Faulkner)
Date: Tue Jun 9 02:21:21 2009
Subject: Yubikey - cont'd
In-Reply-To: <200906082127.35793.hselasky@c2i.net>
References:
<200906082127.35793.hselasky@c2i.net>
Message-ID: <4A2D8EB7.4050305@gmail.com>
Hans Petter Selasky wrote:
> On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote:
>> Thanks for the reply Hans. I can't reply to the original thread as I
>> wasn't subscribed to usb@ and didn't mention that in my previous
>> email. I'm subscribed now.
>>
>> I assume you meant 'cat /dev/usb/5.5.1 | hexdump -C' as 'hexdump C'
>> expects C to be a file. I've attached the output of hexdump when the
>> Yubikey is triggered.
>
> Your Yubikey input looks like the input of a keyboard. I'm a little bit
> busy at the moment. What needs to be done is to search for Yubikey in the
> NetBSD ukbd.c driver (sys/dev/usb) and port those changes to the FreeBSD
> ukbd.c driver (sys/dev/usb/input). Is that something you can do?
>
> You might find the following link useful:
>
> http://fxr.watson.org
>
> --HPS
There were no occurances of Yubikey in fxr.watson.org so I checked the
FreeBSD ukbd.c to see if it was rejecting the Yubikey for some reason. I
found in ukbd_probe() that it required that the keyboard have
InterfaceSubClass == UISUBCLASS_BOOT and InterfaceProtocol ==
UPROTO_BOOT_KEYBOARD in order to attach.
I don't know what they're for but the Yubikey has no subclass or
interface protocol set. To test this I hacked it to return 0 if the
idVendor is that of Yubico (0x1050) and it attached as ukbd0 (kbd2) and
worked. Perhaps it would be better to create a USB Quirk for forced ukbd
attach than to have the Yubico vendor id in ukbd_probe()
Also, I don't know what the difference between UPROTO_BOOT_KEYBOARD
(defined in ukbd.c) and UIPROTO_BOOT_KEYBOARD (defined in usb.h)
--
Jeremy Faulkner
From hselasky at c2i.net Tue Jun 9 08:36:11 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Tue Jun 9 08:37:18 2009
Subject: Yubikey - cont'd
In-Reply-To: <4A2D8EB7.4050305@gmail.com>
References:
<200906082127.35793.hselasky@c2i.net> <4A2D8EB7.4050305@gmail.com>
Message-ID: <200906090940.15488.hselasky@c2i.net>
On Tuesday 09 June 2009 00:20:39 Jeremy Faulkner wrote:
> Hans Petter Selasky wrote:
> > On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote:
> >> Thanks for the reply Hans. I can't reply to the original thread as I
> >> wasn't subscribed to usb@ and didn't mention that in my previous
> >> email. I'm subscribed now.
> >>
> >> I assume you meant 'cat /dev/usb/5.5.1 | hexdump -C' as 'hexdump C'
> >> expects C to be a file. I've attached the output of hexdump when the
> >> Yubikey is triggered.
> >
> > Your Yubikey input looks like the input of a keyboard. I'm a little bit
> > busy at the moment. What needs to be done is to search for Yubikey in the
> > NetBSD ukbd.c driver (sys/dev/usb) and port those changes to the FreeBSD
> > ukbd.c driver (sys/dev/usb/input). Is that something you can do?
> >
> > You might find the following link useful:
> >
> > http://fxr.watson.org
> >
> > --HPS
>
> There were no occurances of Yubikey in fxr.watson.org so I checked the
> FreeBSD ukbd.c to see if it was rejecting the Yubikey for some reason. I
> found in ukbd_probe() that it required that the keyboard have
> InterfaceSubClass == UISUBCLASS_BOOT and InterfaceProtocol ==
> UPROTO_BOOT_KEYBOARD in order to attach.
>
> I don't know what they're for but the Yubikey has no subclass or
> interface protocol set. To test this I hacked it to return 0 if the
> idVendor is that of Yubico (0x1050) and it attached as ukbd0 (kbd2) and
> worked. Perhaps it would be better to create a USB Quirk for forced ukbd
> attach than to have the Yubico vendor id in ukbd_probe()
>
> Also, I don't know what the difference between UPROTO_BOOT_KEYBOARD
> (defined in ukbd.c) and UIPROTO_BOOT_KEYBOARD (defined in usb.h)
>
Then you need to compare the ukbd.c in NetBSD anb the ukbd.c in FreeBSD. You
can use usbconfig dump_device_desc to get the fields that are matched against.
--HPS
From gldisater at gmail.com Tue Jun 9 12:39:20 2009
From: gldisater at gmail.com (Jeremy Faulkner)
Date: Tue Jun 9 12:39:40 2009
Subject: Yubikey
In-Reply-To: <200906091022.41813.hselasky@c2i.net>
References:
<200906081924.24901.mel.flynn+fbsd.current@mailing.thruhere.net>
<200906091022.41813.hselasky@c2i.net>
Message-ID:
On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky wrote:
> On Tuesday 09 June 2009 05:24:24 Mel Flynn wrote:
>> On Saturday 06 June 2009 10:02:05 Jeremy Faulkner wrote:
>> > Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
>> > uhid device on both 7 and 8.
>> >
>> > ugen5.5: at usbus5
>> > uhid0: on
>> > usbus5
>> >
>
> Hi,
>
>>
>> Attachment copied.
>
> The subclass and protocol are not correct, so the device is not detected like
> a keyboard. Probably we could add an additional check there to verify that the
> HID descriptor contains Keyboard descriptions.
>
> ? ? ?bInterfaceClass ? ? ? ? 3 Human Interface Device
> ? ? ?bInterfaceSubClass ? ? ?0 No Subclass
> ? ? ?bInterfaceProtocol ? ? ?0 None
> ? ? ?iInterface ? ? ? ? ? ? ?0
>
> --HPS
>
The NetBSD kbd checks the Report Descriptors for Generic Desktop
Controls (0x01) and Keyboard (0x06). It doesn't check for the sub
class or interface protocol.
--
Jeremy Faulkner
From sanpei at sanpei.org Tue Jun 9 13:41:19 2009
From: sanpei at sanpei.org (MIHIRA Sanpei Yoshiro)
Date: Tue Jun 9 13:41:27 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <200906080037.43588.hselasky@c2i.net>
References: <20090606.075537.116369290.sanpei@sanpei.org>
<200906080037.43588.hselasky@c2i.net>
Message-ID: <20090609.224115.35811802.sanpei@sanpei.org>
>If your application and the HID library is linked with libusb, it will work.
>Can you check the source code for the HID library and find out what backend it
>is using?
I check latest 8-current enviroment.
I think libhid uses /usr/lib/libusb.
# ldd amfm
amfm:
libhid.so.0 => /usr/local/lib/libhid.so.0 (0x2808d000)
libc.so.7 => /lib/libc.so.7 (0x2809a000)
libusb.so.1 => /usr/lib/libusb.so.1 (0x281ad000)
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
From hselasky at c2i.net Tue Jun 9 14:59:23 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Tue Jun 9 14:59:30 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <20090609.224115.35811802.sanpei@sanpei.org>
References: <20090606.075537.116369290.sanpei@sanpei.org>
<200906080037.43588.hselasky@c2i.net>
<20090609.224115.35811802.sanpei@sanpei.org>
Message-ID: <200906091703.35094.hselasky@c2i.net>
On Tuesday 09 June 2009 15:41:15 MIHIRA Sanpei Yoshiro wrote:
> >If your application and the HID library is linked with libusb, it will
> > work. Can you check the source code for the HID library and find out
what
> > backend it is using?
>
> I check latest 8-current enviroment.
> I think libhid uses /usr/lib/libusb.
>
> # ldd amfm
> amfm:
> libhid.so.0 => /usr/local/lib/libhid.so.0 (0x2808d000)
> libc.so.7 => /lib/libc.so.7 (0x2809a000)
> libusb.so.1 => /usr/lib/libusb.so.1 (0x281ad000)
>
Hi,
Are you sure the USB device is accessible to the application.
chown or chmod /dev/usb/X.Y.* according to output from usbconfig.
--HPS
From v.velox at vvelox.net Tue Jun 9 15:48:35 2009
From: v.velox at vvelox.net (Zane C.B.)
Date: Tue Jun 9 15:48:42 2009
Subject: media changes and umass flash card readers
Message-ID: <20090609103029.70a488a9@vixen42>
This machine here has a USB flash card reader integrated into it. It
works with out issue, minus re-reading the partition and slice info
upon disk change. Is there any way to actually force it to re-read
that information?
Currently the only thing I've come across that works is to either
power cycle the machine or try mounting something on that device,
which will fail even if the specified partition does actually exist.
After it fails I will see the proper dev entries for it and will work
the second time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20090609/e7b34f04/signature.pgp
From hselasky at c2i.net Tue Jun 9 16:37:32 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Tue Jun 9 16:37:38 2009
Subject: media changes and umass flash card readers
In-Reply-To: <20090609103029.70a488a9@vixen42>
References: <20090609103029.70a488a9@vixen42>
Message-ID: <200906091841.45108.hselasky@c2i.net>
On Tuesday 09 June 2009 17:30:29 Zane C.B. wrote:
> This machine here has a USB flash card reader integrated into it. It
> works with out issue, minus re-reading the partition and slice info
> upon disk change. Is there any way to actually force it to re-read
> that information?
>
> Currently the only thing I've come across that works is to either
> power cycle the machine or try mounting something on that device,
> which will fail even if the specified partition does actually exist.
> After it fails I will see the proper dev entries for it and will work
> the second time.
In 8-current you can use the usbconfig utility to re-enumerate the
device. Else "cat /dev/null > /dev/daX" usually does the trick. Note
/dev/null is not /dev/zero !
--HPS
From sanpei at sanpei.org Tue Jun 9 22:32:34 2009
From: sanpei at sanpei.org (MIHIRA Sanpei Yoshiro)
Date: Tue Jun 9 22:32:40 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <200906091703.35094.hselasky@c2i.net>
References: <200906080037.43588.hselasky@c2i.net>
<20090609.224115.35811802.sanpei@sanpei.org>
<200906091703.35094.hselasky@c2i.net>
Message-ID: <20090610.073229.85408943.sanpei@sanpei.org>
>> amfm:
>> libhid.so.0 => /usr/local/lib/libhid.so.0 (0x2808d000)
>> libc.so.7 => /lib/libc.so.7 (0x2809a000)
>> libusb.so.1 => /usr/lib/libusb.so.1 (0x281ad000)
>>
>
>Hi,
>
>Are you sure the USB device is accessible to the application.
>
>chown or chmod /dev/usb/X.Y.* according to output from usbconfig.
I run application(amfm) on root user. I think it is accesible, isn't it?
ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
crw------- 1 root operator 0, 103 Jun 10 16:08 /dev/usb/0.2.0
crw------- 1 root operator 0, 105 Jun 10 16:08 /dev/usb/0.2.1
crw------- 1 root operator 0, 106 Jun 10 16:08 /dev/usb/0.2.2
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
From hselasky at c2i.net Wed Jun 10 11:08:29 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Wed Jun 10 11:08:37 2009
Subject: Yubikey
In-Reply-To:
References:
<200906091022.41813.hselasky@c2i.net>
Message-ID: <200906101312.38132.hselasky@c2i.net>
On Tuesday 09 June 2009 14:39:19 Jeremy Faulkner wrote:
> On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky wrote:
> > On Tuesday 09 June 2009 05:24:24 Mel Flynn wrote:
> >> On Saturday 06 June 2009 10:02:05 Jeremy Faulkner wrote:
> >> > Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
> >> > uhid device on both 7 and 8.
> >> >
> >> > ugen5.5: at usbus5
> >> > uhid0:
> >> > on usbus5
> >
> > Hi,
> >
> >> Attachment copied.
> >
> > The subclass and protocol are not correct, so the device is not detected
> > like a keyboard. Probably we could add an additional check there to
> > verify that the HID descriptor contains Keyboard descriptions.
> >
> > bInterfaceClass 3 Human Interface Device
> > bInterfaceSubClass 0 No Subclass
> > bInterfaceProtocol 0 None
> > iInterface 0
> >
> > --HPS
>
> The NetBSD kbd checks the Report Descriptors for Generic Desktop
> Controls (0x01) and Keyboard (0x06). It doesn't check for the sub
> class or interface protocol.
I will make a patch for this. Stay tuned.
--HPS
From dlangille at myyearbook.com Wed Jun 10 18:41:28 2009
From: dlangille at myyearbook.com (Dan Langille)
Date: Wed Jun 10 18:41:35 2009
Subject: MS USB mouse does not work
Message-ID: <6dd019370906101118k6c26ccat5596dbe1ba03ebe5@mail.gmail.com>
I'm running FreeBSD 7.2-STABLE from Tue May 26.
I have an MS keyboard and mouse, both of which are wireless and
operate through the same USB transceiver. The keyboard works. The
mouse does not.
>From /var/run/dmesg.boot:
ukbd0: on uhub7
kbd2 at ukbd0
uhid0: on uhub7
I see nothing related to the mouse. Any ideas. It's a really nice
mouse, otherwise. ;)
Is there anything I can run to gather more information?
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-STABLE #0: Tue May 26 14:09:07 EDT 2009
dan@my.example.com:/usr/obj/usr/src/sys/DTM
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (2992.14-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x1067a Stepping = 10
Features=0xbfebfbff
Features2=0x408e3fd,XSAVE>
AMD Features=0x20100800
AMD Features2=0x1
Cores per package: 2
usable memory = 2097774592 (2000 MB)
avail memory = 2022559744 (1928 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 8
ioapic0 irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
kbd1 at kbdmux0
kqemu version 0x00010300
kqemu: KQEMU installed, max_locked_mem=1024304kB.
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: irq 16 at device 1.0 on pci0
pci1: on pcib1
vgapci0: port 0xdc00-0xdcff mem
0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on
pci1
pci0: at device 3.0 (no driver attached)
atapci0: port
0xfe80-0xfe87,0xfe90-0xfe93,0xfea0-0xfea7,0xfeb0-0xfeb3,0xfef0-0xfeff
irq 18 at device 3.2 on pci0
atapci0: [ITHREAD]
ata2: on atapci0
ata2: [ITHREAD]
ata3: on atapci0
ata3: [ITHREAD]
pci0: at device 3.3 (no driver attached)
em0: port 0xecc0-0xecdf
mem 0xfebe0000-0xfebfffff,0xfebdb000-0xfebdbfff irq 21 at device 25.0
on pci0
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:23:ae:78:ae:a8
uhci0: port 0xff20-0xff3f irq 16 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: on uhci0
usb0: USB revision 1.0
uhub0: on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: port 0xff00-0xff1f irq 17 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: on uhci1
usb1: USB revision 1.0
uhub1: on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: mem 0xfebd9c00-0xfebd9fff
irq 22 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: on ehci0
usb2: USB revision 2.0
uhub2: on usb2
uhub2: 6 ports with 6 removable, self powered
hdac0: mem
0xfebdc000-0xfebdffff irq 16 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090329_0131
hdac0: [ITHREAD]
pcib2: irq 16 at device 28.0 on pci0
pci2: on pcib2
uhci2: port 0xff80-0xff9f irq 23 at
device 29.0 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3: on uhci2
usb3: USB revision 1.0
uhub3: on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3: port 0xff60-0xff7f irq 17 at
device 29.1 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: on uhci3
usb4: USB revision 1.0
uhub4: on usb4
uhub4: 2 ports with 2 removable, self powered
uhci4: port 0xff40-0xff5f irq 18 at
device 29.2 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5: on uhci4
usb5: USB revision 1.0
uhub5: on usb5
uhub5: 2 ports with 2 removable, self powered
ehci1: mem 0xff980800-0xff980bff
irq 23 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: on ehci1
usb6: USB revision 2.0
uhub6: on usb6
uhub6: 6 ports with 6 removable, self powered
uhub7: on uhub6
uhub7: multiple transaction translators
uhub7: 4 ports with 4 removable, self powered
ukbd0: on uhub7
kbd2 at ukbd0
uhid0: on uhub7
pcib3: at device 30.0 on pci0
pci3: on pcib3
isab0: at device 31.0 on pci0
isa0: on isab0
atapci1: port
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf
mem 0xff970000-0xff9707ff irq 18 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI Version 01.20 controller with 6 ports detected
ata4: on atapci1
ata4: [ITHREAD]
ata5: on atapci1
ata5: [ITHREAD]
ata6: on atapci1
ata6: [ITHREAD]
ata7: on atapci1
ata7: [ITHREAD]
ata8: on atapci1
ata8: port not implemented
ata8: [ITHREAD]
ata9: on atapci1
ata9: [ITHREAD]
pci0: at device 31.3 (no driver attached)
ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: on ppc0
ppbus0: [ITHREAD]
plip0: on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: on ppbus0
lpt0: Interrupt-driven port
ppi0: on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
cpu0: on acpi0
est0: on cpu0
p4tcc0: on cpu0
cpu1: on acpi0
est1: on cpu1
p4tcc1: on cpu1
orm0: at iomem
0xc0000-0xcefff,0xcf000-0xd0fff,0xd1000-0xd37ff,0xd3800-0xd3fff on
isa0
atkbdc0: at port 0x60,0x64 on isa0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
sc0: at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd1: on uhub4
kbd3 at ukbd1
Timecounters tick every 1.000 msec
ad8: 152587MB at ata4-master SATA300
acd0: DVDROM at ata5-master SATA150
ad14: 152587MB at ata7-master SATA300
ad18: 152587MB at ata9-master SATA300
hdac0: HDA Codec #0: Analog Devices AD1984
pcm0: at cad 0 nid 1 on hdac0
pcm1: at cad 0 nid 1 on hdac0
lapic1: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device mirror/gm0 launched (2/2).
GEOM_LABEL: Label for provider ad18s1 is msdosfs/DellUtility.
GEOM_LABEL: Label for provider ad18s2 is ntfs/OS.
GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/49db8904c3603ff2.
GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/49db890b18be1fd1.
GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/49db89049055faa1.
GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/49db8904754be6b8.
Trying to mount root from ufs:/dev/mirror/gm0s1a
GEOM_LABEL: Label ufsid/49db8904c3603ff2 removed.
GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/49db8904c3603ff2.
GEOM_LABEL: Label ufsid/49db89049055faa1 removed.
GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/49db89049055faa1.
GEOM_LABEL: Label ufsid/49db8904754be6b8 removed.
GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/49db8904754be6b8.
GEOM_LABEL: Label ufsid/49db890b18be1fd1 removed.
GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/49db890b18be1fd1.
GEOM_LABEL: Label ufsid/49db8904c3603ff2 removed.
GEOM_LABEL: Label ufsid/49db89049055faa1 removed.
GEOM_LABEL: Label ufsid/49db8904754be6b8 removed.
GEOM_LABEL: Label ufsid/49db890b18be1fd1 removed.
--
Dan Langille
myYearbook.com
From hselasky at c2i.net Thu Jun 11 20:48:53 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Thu Jun 11 20:49:05 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <20090610.073229.85408943.sanpei@sanpei.org>
References: <200906080037.43588.hselasky@c2i.net>
<200906091703.35094.hselasky@c2i.net>
<20090610.073229.85408943.sanpei@sanpei.org>
Message-ID: <200906112253.02670.hselasky@c2i.net>
Hi,
Sorry for late reply. Can you try the following patch on 8-current, and report
back?
http://perforce.freebsd.org/chv.cgi?CH=164142
You have to download + replace the patched files. Then "make clean all
install" in the libusb directory.
There is no need to recompile your application.
--HPS
From hselasky at c2i.net Thu Jun 11 21:06:01 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Thu Jun 11 21:06:08 2009
Subject: Yubikey
In-Reply-To:
References:
<200906091022.41813.hselasky@c2i.net>
Message-ID: <200906112210.13313.hselasky@c2i.net>
Hi,
Can you try the following patch and report back:
http://perforce.freebsd.org/chv.cgi?CH=164141
--HPS
From linimon at FreeBSD.org Fri Jun 12 05:45:08 2009
From: linimon at FreeBSD.org (linimon@FreeBSD.org)
Date: Fri Jun 12 05:45:19 2009
Subject: usb/135348: [usbdevs] USB Drive Hangs with ZFS (JMicron
USB2/eSata)
Message-ID: <200906120545.n5C5j8gG059829@freefall.freebsd.org>
Old Synopsis: USB Drive Hangs with ZFS (JMicron USB2/eSata)
New Synopsis: [usbdevs] USB Drive Hangs with ZFS (JMicron USB2/eSata)
Responsible-Changed-From-To: freebsd-bugs->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Jun 12 05:44:31 UTC 2009
Responsible-Changed-Why:
Over to maintainer(s).
http://www.freebsd.org/cgi/query-pr.cgi?pr=135348
From ivan at ivangelion.tw Fri Jun 12 05:45:20 2009
From: ivan at ivangelion.tw (Chun-fan Ivan Liao)
Date: Fri Jun 12 05:45:31 2009
Subject: 2 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE AMD64
Message-ID: <173f52ec0906112215o4a17788fp9ebc121f39575ebe@mail.gmail.com>
MB: GIGABYTE GA-MA78GM-US2H
OS version: FreeBSD 7.2 RELEASE amd64
apcupsd version: 3.14.5
UPS model: APC-MGE Back-UPS RS 1000VA (BR1000TW)
UPS cable type: usb
3 important lines in /usr/local/etc/apcupsd/apcupsd.conf:
---------
UPSCABLE usb
UPSTYPE usb
DEVICE ((using "DEVICE ugen0" yields the same problem))
---------
Other lines are default.
Problem Description:
1.
The APC box cannot be detected when connected to the FreeBSD system on
system boot. (apcupsd_enable="YES" is set in /etc/rc.conf )
The associated messages in /var/log/messages:
---------
May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd FATAL ERROR in
bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed
USB trouble shooting information, please see
.
May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd error shutdown completed
---------
But if APC UPS is connected to the system after the system has been
started, it can be identified by the system, and running apcupsd start
or apctest is just ok.
Also, if I disable all USB-related configuraton in kernel and load
usb.ko & ugen.ko manually after the sytem has been started, the APC
UPS can be identified and running "apcupsd start" now will do just
fine. (if using /boot/loader.conf to automatically load 2 modules, the
problem still occurs)
2.
Continuing 1, if I don't use those ad-hoc, and unplug the connecting
USB then re-plug it to the same port, the USB cannot be identified.
The associated message in /var/log/messages:
---------
May 10 16:36:17 aura-cosmetics kernel: uhub0: device problem
(TIMEOUT), disabling port 3
---------
Here is my system information:
# less /var/run/dmesg.boot:
http://www.ivangelion.tw/~cfliao/dmesg.boot
# pciconf -vl > pciconf
http://www.ivangelion.tw/~cfliao/pciconf
# acpidump -dt > aura-acpidump.asl
http://www.ivangelion.tw/~cfliao/aura-acpidump.asl
Any help will be greatly appreciated.
Best Regards,
Chun-fan Ivan Liao
http://ivangelion.tw
From gldisater at gmail.com Fri Jun 12 12:11:03 2009
From: gldisater at gmail.com (Jeremy Faulkner)
Date: Fri Jun 12 12:11:19 2009
Subject: Yubikey
In-Reply-To: <200906112210.13313.hselasky@c2i.net>
References:
<200906091022.41813.hselasky@c2i.net>
<200906112210.13313.hselasky@c2i.net>
Message-ID:
On Thu, Jun 11, 2009 at 8:10 PM, Hans Petter Selasky wrote:
> Hi,
>
> Can you try the following patch and report back:
>
> http://perforce.freebsd.org/chv.cgi?CH=164141
>
> --HPS
>
My Yubikey attaches to ukbd and works. Thanks.
--
Jeremy Faulkner
From sanpei at sanpei.org Fri Jun 12 13:02:21 2009
From: sanpei at sanpei.org (MIHIRA Sanpei Yoshiro)
Date: Fri Jun 12 13:02:27 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <200906112253.02670.hselasky@c2i.net>
References: <200906091703.35094.hselasky@c2i.net>
<20090610.073229.85408943.sanpei@sanpei.org>
<200906112253.02670.hselasky@c2i.net>
Message-ID: <20090612.220217.257516061.sanpei@sanpei.org>
Hi.
>Sorry for late reply. Can you try the following patch on 8-current, and report
>back?
>
>http://perforce.freebsd.org/chv.cgi?CH=164142
>
>You have to download + replace the patched files. Then "make clean all
>install" in the libusb directory.
>
>There is no need to recompile your application.
I apply the above patch to src/lib/libusb.
I could control USB Radio!!. Thank you.
I will add ports collection.
But 7.2-RELEASE still has another problem with this application. Will you
fix that problem??
Cheers.
---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.
From hselasky at c2i.net Fri Jun 12 13:38:40 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Fri Jun 12 13:38:47 2009
Subject: libhid is not run on 8-current and 7.2-RELEASE
In-Reply-To: <20090612.220217.257516061.sanpei@sanpei.org>
References: <200906091703.35094.hselasky@c2i.net>
<200906112253.02670.hselasky@c2i.net>
<20090612.220217.257516061.sanpei@sanpei.org>
Message-ID: <200906121542.53738.hselasky@c2i.net>
On Friday 12 June 2009 15:02:17 MIHIRA Sanpei Yoshiro wrote:
> Hi.
>
> >Sorry for late reply. Can you try the following patch on 8-current, and
> > report back?
> >
> >http://perforce.freebsd.org/chv.cgi?CH=164142
> >
> >You have to download + replace the patched files. Then "make clean all
> >install" in the libusb directory.
> >
> >There is no need to recompile your application.
>
> I apply the above patch to src/lib/libusb.
>
> I could control USB Radio!!. Thank you.
> I will add ports collection.
Hi,
Andrew will get the patch in. The patch does not belong in the ports
collection. 7.2-RELEASE uses a different USB library than 8.0-CURRENT.
>
> But 7.2-RELEASE still has another problem with this application. Will you
> fix that problem??
No, I'm only fixing stuff in 8.0-current currently.
--HPS
From linimon at FreeBSD.org Fri Jun 12 20:43:12 2009
From: linimon at FreeBSD.org (linimon@FreeBSD.org)
Date: Fri Jun 12 20:43:18 2009
Subject: usb/135519: Re: usb/119633: [umass] umass0: BBB reset failed,
IOERROR [regression]
Message-ID: <200906122043.n5CKhBWc084606@freefall.freebsd.org>
Old Synopsis: Re:%20usb/119633:%20%5Bumass%5D%20umass%30%3A%20BBB%20reset%20failed%2
New Synopsis: Re: usb/119633: [umass] umass0: BBB reset failed, IOERROR [regression]
State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Fri Jun 12 20:41:04 UTC 2009
State-Changed-Why:
Misfiled followup to usb/119633; content migrated.
Responsible-Changed-From-To: gnats-admin->freebsd-usb
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Jun 12 20:41:04 UTC 2009
Responsible-Changed-Why:
http://www.freebsd.org/cgi/query-pr.cgi?pr=135519
From vehemens at verizon.com Sat Jun 13 09:30:03 2009
From: vehemens at verizon.com (vehemens)
Date: Sat Jun 13 09:30:09 2009
Subject: usb/135542: boot loader does not work with a usb keyboard
Message-ID: <200906130920.n5D9KbMu063250@www.freebsd.org>
>Number: 135542
>Category: usb
>Synopsis: boot loader does not work with a usb keyboard
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 13 09:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: vehemens
>Release: 7.2 stable
>Organization:
>Environment:
FreeBSD fred.dsl-verizon.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 13 00:49:51 PDT 2009 vehemens@fred.dsl-verizon.net:/usr/obj/usr/src/sys/FRED amd64
>Description:
On two different machines (both ASUS M2A-VM), I'm unable to configure the system to use a USB keyboard and have the boot loader respond to keyboard input.
If I enable USB legacy support, the kernel panics with a ohci_add_done. If I disable USB legacy support, the boot loader will not respond to keyboard input.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
From alexbestms at math.uni-muenster.de Sat Jun 13 17:40:03 2009
From: alexbestms at math.uni-muenster.de (Alexander Best)
Date: Sat Jun 13 17:40:10 2009
Subject: usb/127549: [umass] [patch] Meizu MiniPlayer M6 (SL) requires
some quirks
Message-ID: <200906131740.n5DHe3kW060775@freefall.freebsd.org>
The following reply was made to PR usb/127549; it has been noted by GNATS.
From: Alexander Best
To:
Cc:
Subject: Re: usb/127549: [umass] [patch] Meizu MiniPlayer M6 (SL) requires
some quirks
Date: Sat, 13 Jun 2009 19:32:00 +0200 (CEST)
the patch is in -CURRENT and probably -STABLE. the PR can be closed.
From lioux at FreeBSD.org Sun Jun 14 11:10:02 2009
From: lioux at FreeBSD.org (Mario Sergio Fujikawa Ferreira)
Date: Sun Jun 14 11:10:34 2009
Subject: usb/135575: [usbdevs & uipaq.c] [patch] Add HTC Wizard phone
vid/pid information
Message-ID: <20090614110306.29681.qmail@exxodus.fedaykin.here>
>Number: 135575
>Category: usb
>Synopsis: [usbdevs & uipaq.c] [patch] Add HTC Wizard phone vid/pid information
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 14 11:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Mario Sergio Fujikawa Ferreira
>Release: FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 7.2-STABLE FreeBSD 7.2-STABLE #88: Tue Jun 9 04:31:11 BRT 2009 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386
>Description:
Add HTC Wizard phone vid/pid information to enable uipaq(4) driver detection.
>How-To-Repeat:
Apply the following patch against both src/sys/dev/usb/usbdevs and src/sys/dev/usb/uipaq.c
>Fix:
--- patch-sys__dev__usb__uipaq.c begins here ---
--- sys/dev/usb/uipaq.c.orig 2009-06-14 00:18:33.000000000 -0300
+++ sys/dev/usb/uipaq.c 2009-06-14 00:23:14.000000000 -0300
@@ -125,6 +125,7 @@
{{ USB_VENDOR_HTC, USB_PRODUCT_HTC_WINMOBILE }, 0},
{{ USB_VENDOR_HTC, USB_PRODUCT_HTC_PPC6700MODEM }, 0},
{{ USB_VENDOR_HTC, USB_PRODUCT_HTC_SMARTPHONE }, 0},
+ {{ USB_VENDOR_HTC, USB_PRODUCT_HTC_WIZARD }, 0},
{{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_IPAQPOCKETPC } , 0},
{{ USB_VENDOR_CASIO, USB_PRODUCT_CASIO_BE300 } , 0},
{{ USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WZERO3ES }, 0},
--- patch-sys__dev__usb__uipaq.c ends here ---
--- patch-sys__dev__usb__usbdevs begins here ---
--- sys/dev/usb/usbdevs.orig 2009-06-14 00:20:36.000000000 -0300
+++ sys/dev/usb/usbdevs 2009-06-14 00:21:59.000000000 -0300
@@ -1456,6 +1456,7 @@
product HTC WINMOBILE 0x00ce HTC USB Sync
product HTC PPC6700MODEM 0x00cf PPC6700 Modem
product HTC SMARTPHONE 0x0a51 SmartPhone USB Sync
+product HTC WIZARD 0x0bce HTC Wizard USB Sync
/* HUAWEI products */
product HUAWEI MOBILE 0x1001 Huawei Mobile
--- patch-sys__dev__usb__usbdevs ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
From nork at FreeBSD.org Sun Jun 14 14:02:34 2009
From: nork at FreeBSD.org (Norikatsu Shigemura)
Date: Sun Jun 14 14:02:41 2009
Subject: u3g? SoftBank C01SW (Sierra Wireless HSDPA modem)
Message-ID: <20090614230224.c5be0d66.nork@FreeBSD.org>
Hi
I'm evaluating Softbank C01SW (Sierra Wireless HSDPA modem).
Maybe, its driver is u3g(4). But I can't use it. So I research
its information, and I found that it was supported on OpenBSD.
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/umsm.c.diff?r1=1.45;r2=1.46;f=h
I read u3g.c, I think already supported Tru-install, but no
information of C01SW. I don't know that how should I fix.
So please fix to support, and I can test patch.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# usbconfig -u 1 -a 2 dump_all_config_desc
ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x00dd
bNumInterfaces = 0x0008
bConfigurationValue = 0x0001
iConfiguration = 0x0003 <4*>
bmAttributes = 0x00e0
bMaxPower = 0x0000
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0002
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 2
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0002
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0083
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0003
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 3
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0003
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0084
bmAttributes = 0x0003
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0085
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0004
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 4
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0004
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0086
bmAttributes = 0x0003
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0087
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0005
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 5
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0005
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0088
bmAttributes = 0x0003
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0089
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0006
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 6
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0006
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x00ff
bInterfaceProtocol = 0x00ff
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x008a
bmAttributes = 0x0003
wMaxPacketSize = 0x0040
bInterval = 0x0005
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x008b
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0007
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0020
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 7
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0007
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0008
bInterfaceSubClass = 0x0006
bInterfaceProtocol = 0x0050
iInterface = 0x0000
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0008
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x008c
bmAttributes = 0x0002
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jun 14 22:24:07 melfina kernel: u3g_sierra_init:233:
Jun 14 22:24:08 melfina kernel: usb2_alloc_device:1762: Found Huawei auto-install disk!
Jun 14 22:24:08 melfina kernel: ugen1.2: at usbus1
Jun 14 22:24:08 melfina kernel: ugen1.2: at usbus1 (disconnected)
Jun 14 22:24:08 melfina kernel: uhub_reattach_port:416: could not allocate new device!
Jun 14 22:24:09 melfina kernel: ugen1.2: at usbus1
Jun 14 22:24:09 melfina kernel: umass0: on usbus1
Jun 14 22:24:09 melfina kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
Jun 14 22:24:09 melfina root: Unknown USB device: vendor 0x1199 product 0x6890 bus uhub1
Jun 14 22:24:10 melfina kernel: umass0:0:0:-1: Attached to scbus0
Jun 14 22:24:10 melfina kernel: (probe0:umass-sim0:0:0:0): error 22
Jun 14 22:24:10 melfina kernel: (probe0:umass-sim0:0:0:0): Unretryable Error
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: Unretryable error
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): error 6
Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Unretryable Error
Jun 14 22:24:11 melfina kernel: pass0 at umass-sim0 bus 0 target 0 lun 0
Jun 14 22:24:11 melfina kernel: pass0: Fixed Direct Access SCSI-2 device
Jun 14 22:24:11 melfina kernel: pass0: 40.000MB/s transfers
Jun 14 22:24:11 melfina kernel: GEOM: new disk da0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
Jun 14 22:24:11 melfina kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jun 14 22:24:11 melfina kernel: da0: Fixed Direct Access SCSI-2 device
Jun 14 22:24:11 melfina kernel: da0: 40.000MB/s transfers
Jun 14 22:24:11 melfina kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: Unretryable error
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
Jun 14 22:24:11 melfina kernel: Opened disk da0 -> 6
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present
Jun 14 22:24:11 melfina kernel: Unretryable error
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
Jun 14 22:24:11 melfina kernel: Opened disk da0 -> 6
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From hselasky at c2i.net Sun Jun 14 14:15:19 2009
From: hselasky at c2i.net (Hans Petter Selasky)
Date: Sun Jun 14 14:15:27 2009
Subject: u3g? SoftBank C01SW (Sierra Wireless HSDPA modem)
In-Reply-To: <20090614230224.c5be0d66.nork@FreeBSD.org>
References: <20090614230224.c5be0d66.nork@FreeBSD.org>
Message-ID: <200906141619.32495.hselasky@c2i.net>
On Sunday 14 June 2009 16:02:24 Norikatsu Shigemura wrote:
> Hi
>
> I'm evaluating Softbank C01SW (Sierra Wireless HSDPA modem).
> Maybe, its driver is u3g(4). But I can't use it. So I research
> its information, and I found that it was supported on OpenBSD.
>
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/umsm.c.diff?r1=1.45;r
>2=1.46;f=h
>
> I read u3g.c, I think already supported Tru-install, but no
> information of C01SW. I don't know that how should I fix.
> So please fix to support, and I can test patch.
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - # usbconfig -u 1 -a 2 dump_all_config_desc
> ugen1.2: at usbus1, cfg=0
> md=HOST spd=HIGH (480Mbps) pwr=ON
>
>
> Configuration index 0
>
> bLength = 0x0009
> bDescriptorType = 0x0002
> wTotalLength = 0x00dd
> bNumInterfaces = 0x0008
> bConfigurationValue = 0x0001
> iConfiguration = 0x0003 <4*>
> bmAttributes = 0x00e0
> bMaxPower = 0x0000
>
> Interface 0
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0000
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0002
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0081
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0001
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 1
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0001
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0002
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0082
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0002
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 2
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0002
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0002
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0083
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0003
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 3
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0003
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0003
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0084
> bmAttributes = 0x0003
> wMaxPacketSize = 0x0040
> bInterval = 0x0005
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0085
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 2
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0004
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 4
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0004
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0003
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0086
> bmAttributes = 0x0003
> wMaxPacketSize = 0x0040
> bInterval = 0x0005
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0087
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 2
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0005
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 5
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0005
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0003
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0088
> bmAttributes = 0x0003
> wMaxPacketSize = 0x0040
> bInterval = 0x0005
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0089
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 2
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0006
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 6
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0006
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0003
> bInterfaceClass = 0x00ff
> bInterfaceSubClass = 0x00ff
> bInterfaceProtocol = 0x00ff
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x008a
> bmAttributes = 0x0003
> wMaxPacketSize = 0x0040
> bInterval = 0x0005
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x008b
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 2
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0007
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0020
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
>
> Interface 7
> bLength = 0x0009
> bDescriptorType = 0x0004
> bInterfaceNumber = 0x0007
> bAlternateSetting = 0x0000
> bNumEndpoints = 0x0002
> bInterfaceClass = 0x0008
> bInterfaceSubClass = 0x0006
> bInterfaceProtocol = 0x0050
> iInterface = 0x0000
>
> Endpoint 0
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x0008
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0000
> bRefresh = 0x0000
> bSynchAddress = 0x0000
>
> Endpoint 1
> bLength = 0x0007
> bDescriptorType = 0x0005
> bEndpointAddress = 0x008c
> bmAttributes = 0x0002
> wMaxPacketSize = 0x0200
> bInterval = 0x0000
> bRefresh = 0x0000
> bSynchAddress = 0x0000
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - -
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - Jun 14 22:24:07 melfina kernel: u3g_sierra_init:233:
> Jun 14 22:24:08 melfina kernel: usb2_alloc_device:1762: Found Huawei
> auto-install disk! Jun 14 22:24:08 melfina kernel: ugen1.2: Wireless, Incorporated> at usbus1 Jun 14 22:24:08 melfina kernel: ugen1.2:
> at usbus1 (disconnected) Jun 14 22:24:08
> melfina kernel: uhub_reattach_port:416: could not allocate new device! Jun
> 14 22:24:09 melfina kernel: ugen1.2: at
> usbus1 Jun 14 22:24:09 melfina kernel: umass0: Incorporated HSPA Modem, class 0/0, rev 2.00/0.05, addr 2> on usbus1 Jun 14
> 22:24:09 melfina kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Jun
> 14 22:24:09 melfina root: Unknown USB device: vendor 0x1199 product 0x6890
> bus uhub1 Jun 14 22:24:10 melfina kernel: umass0:0:0:-1: Attached to scbus0
> Jun 14 22:24:10 melfina kernel: (probe0:umass-sim0:0:0:0): error 22
> Jun 14 22:24:10 melfina kernel: (probe0:umass-sim0:0:0:0): Unretryable
> Error Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): TEST UNIT
> READY. CDB: 0 0 0 0 0 0 Jun 14 22:24:11 melfina kernel:
> (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jun 14 22:24:11
> melfina kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Jun
> 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0
> Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Medium not
> present Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0):
> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jun 14
> 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jun
> 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Medium not present
> Jun 14 22:24:11 melfina kernel: Unretryable error
> Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): error 6
> Jun 14 22:24:11 melfina kernel: (probe0:umass-sim0:0:0:0): Unretryable
> Error Jun 14 22:24:11 melfina kernel: pass0 at umass-sim0 bus 0 target 0
> lun 0 Jun 14 22:24:11 melfina kernel: pass0: Fixed
> Direct Access SCSI-2 device Jun 14 22:24:11 melfina kernel: pass0:
> 40.000MB/s transfers
> Jun 14 22:24:11 melfina kernel: GEOM: new disk da0
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
> Jun 14 22:24:11 melfina kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Jun 14 22:24:11 melfina kernel: da0: Fixed Direct
> Access SCSI-2 device Jun 14 22:24:11 melfina kernel: da0: 40.000MB/s
> transfers
> Jun 14 22:24:11 melfina kernel: da0: Attempt to query device size failed:
> NOT READY, Medium not present Jun 14 22:24:11 melfina kernel:
> (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status
> Error Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): SCSI Status:
> Check Condition Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT
> READY asc:3a,0 Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0):
> Medium not present Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0):
> (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present Jun 14
> 22:24:11 melfina kernel: Unretryable error
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
> Jun 14 22:24:11 melfina kernel: Opened disk da0 -> 6
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10).
> CDB: 25 0 0 0 0 0 0 0 0 0 Jun 14 22:24:11 melfina kernel:
> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jun 14 22:24:11
> melfina kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Medium not present Jun 14
> 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): (da0:umass-sim0:0:0:0):
> READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jun 14 22:24:11 melfina
> kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Jun 14 22:24:11 melfina
> kernel: (da0:umass-sim0:0:0:0): Medium not present Jun 14 22:24:11 melfina
> kernel: Unretryable error
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): error 6
> Jun 14 22:24:11 melfina kernel: (da0:umass-sim0:0:0:0): Unretryable Error
> Jun 14 22:24:11 melfina kernel: Opened disk da0 -> 6
Did you kldload u3g before plugging the device?
You can use usbconfig -u X -a Y do_request
to issue the eject control request to the device.
--HPS
From freebsdusb at bindone.de Sun Jun 14 15:15:30 2009
From: freebsdusb at bindone.de (Michael)
Date: Sun Jun 14 15:15:38 2009
Subject: u3g? SoftBank C01SW (Sierra Wireless HSDPA modem)
In-Reply-To: <200906141619.32495.hselasky@c2i.net>
References: <20090614230224.c5be0d66.nork@FreeBSD.org>
<200906141619.32495.hselasky@c2i.net>
Message-ID: <4A350DBD.9090705@bindone.de>
Hans Petter Selasky wrote:
> On Sunday 14 June 2009 16:02:24 Norikatsu Shigemura wrote:
>> Hi
>>
>> I'm evaluating Softbank C01SW (Sierra Wireless HSDPA modem).
>> Maybe, its driver is u3g(4). But I can't use it. So I research
>> its information, and I found that it was supported on OpenBSD.
>>
>> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/umsm.c.diff?r1=1.45;r
>> 2=1.46;f=h
>>
>> I read u3g.c, I think already supported Tru-install, but no
>> information of C01SW. I don't know that how should I fix.
>> So please fix to support, and I can test patch.
>>
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - - - - - - - - # usbconfig -u 1 -a 2 dump_all_config_desc
>> ugen1.2: at usbus1, cfg=0
>> md=HOST spd=HIGH (480Mbps) pwr=ON
>>
>>
>> Configuration index 0
>>
>> bLength = 0x0009
>> bDescriptorType = 0x0002
>> wTotalLength = 0x00dd
>> bNumInterfaces = 0x0008
>> bConfigurationValue = 0x0001
>> iConfiguration = 0x0003 <4*>
>> bmAttributes = 0x00e0
>> bMaxPower = 0x0000
>>
>> Interface 0
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0000
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0002
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0081
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0001
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 1
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0001
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0002
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0082
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0002
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 2
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0002
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0002
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0083
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0003
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 3
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0003
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0003
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0084
>> bmAttributes = 0x0003
>> wMaxPacketSize = 0x0040
>> bInterval = 0x0005
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0085
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 2
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0004
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 4
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0004
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0003
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0086
>> bmAttributes = 0x0003
>> wMaxPacketSize = 0x0040
>> bInterval = 0x0005
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0087
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 2
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0005
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 5
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0005
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0003
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0088
>> bmAttributes = 0x0003
>> wMaxPacketSize = 0x0040
>> bInterval = 0x0005
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0089
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 2
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0006
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 6
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0006
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0003
>> bInterfaceClass = 0x00ff
>> bInterfaceSubClass = 0x00ff
>> bInterfaceProtocol = 0x00ff
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x008a
>> bmAttributes = 0x0003
>> wMaxPacketSize = 0x0040
>> bInterval = 0x0005
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x008b
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 2
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0007
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0020
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>>
>> Interface 7
>> bLength = 0x0009
>> bDescriptorType = 0x0004
>> bInterfaceNumber = 0x0007
>> bAlternateSetting = 0x0000
>> bNumEndpoints = 0x0002
>> bInterfaceClass = 0x0008
>> bInterfaceSubClass = 0x0006
>> bInterfaceProtocol = 0x0050
>> iInterface = 0x0000
>>
>> Endpoint 0
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x0008
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0000
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>>
>> Endpoint 1
>> bLength = 0x0007
>> bDescriptorType = 0x0005
>> bEndpointAddress = 0x008c
>> bmAttributes = 0x0002
>> wMaxPacketSize = 0x0200
>> bInterval = 0x0000
>> bRefresh = 0x0000
>> bSynchAddress = 0x0000
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - - - - - - - -
>>
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - - - - - - - - Jun 14 22:24:07 melfina kernel: u3g_sierra_init:233:
>> Jun 14 22:24:08 melfina kernel: usb2_alloc_device:1762: Found Huawei
>> auto-install disk! Jun 14 22:24:08 melfina kernel: ugen1.2: