From owner-freebsd-usb@FreeBSD.ORG Mon Aug 15 11:07:13 2011 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCD64106566C for ; Mon, 15 Aug 2011 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BAFFA8FC15 for ; Mon, 15 Aug 2011 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7FB7Dvw014893 for ; Mon, 15 Aug 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7FB7Dd0014891 for freebsd-usb@FreeBSD.org; Mon, 15 Aug 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Aug 2011 11:07:13 GMT Message-Id: <201108151107.p7FB7Dd0014891@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/159611 usb [PATCH] USB stick extrememory Snippy needs quirks o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 o usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke o usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/155496 usb [usb][patch] support BUFFALO WLI-U2-SG54HG wireless o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154710 usb [ugen] Conexant USB Modem is not working in 8.x. In 7. o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153599 usb [usbdevs] [patch] Feiya Elango USB MicroSD reader sync o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149934 usb [patch] [usb8] Transcend JetFlash V85 poor performance p usb/149900 usb [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E p usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT s usb/138570 usb [usb67] [panic] USB mass device panics current 7.2-STA o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device f 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/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir 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/130230 usb [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p 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 o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa s usb/122819 usb [usb67] [patch] Patch to provide dynamic additions to o usb/122813 usb [udbp] [request] udbp driver should be removed in favo 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/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/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s f usb/121232 usb [usb67] [panic] USB CardBus card removal causes reboot o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a p usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th 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 [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [usb67] SMP-Kernel crashes reliably when Bluetooth con 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 f 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/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? 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. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a 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 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. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device f 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/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f 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 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s 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 usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 305 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 15 20:48:43 2011 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2662C1065677 for ; Mon, 15 Aug 2011 20:48:43 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id DDFAA8FC12 for ; Mon, 15 Aug 2011 20:48:42 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2B3B11E000E0; Mon, 15 Aug 2011 22:29:36 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p7FKQv9m095547; Mon, 15 Aug 2011 22:26:57 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p7FKQvRl095546; Mon, 15 Aug 2011 22:26:57 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 15 Aug 2011 22:26:56 +0200 To: freebsd-emulation@FreeBSD.org Message-ID: <20110815202656.GA94934@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: hselasky@FreeBSD.org, freebsd-usb@FreeBSD.org, qemu-devel@nongnu.org Subject: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 20:48:43 -0000 Hi! I just prepared a preliminary update of the emulators/qemu-devel port to 0.15.0 [1], and among other things it now also has a usb network redirection feature using usbredir [2], which uses libusb 1.0 and a function that is missing in our version, libusb_get_device_speed(). I added a stub to the code that always returns LIBUSB_SPEED_UNKNOWN (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), question for Hans (I guess), would there be an easy way to make a `proper' implementation? If anyone wants to help me test qemu 0.15.0, thanx! I also updated the net.c and net.h udp patches for gns3 for this qemu version: (the other gns3 patchfiles for qemu 0.14 still apply) http://people.freebsd.org/~nox/qemu/qemu-0.15.0-gns3-patches/ I added this note to the qemu-devel pkg-message about the usb redirection [1]: ------------snip------ - If you want to test the new (in 0.15.0) usb network redirection (USBREDIR option) see this thread by Hans de Goede redhat.com>: http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183 Quote: Example usage: 1) Start usbredirserver for a usb device: sudo usbredirserver 045e:0772 2) Start qemu with usb2 support + a chardev talking to usbredirserver + a usb-redir device using this chardev: qemu ... \ -readconfig docs/ich9-ehci-uhci.cfg \ -chardev socket,id=usbredirchardev,host=localhost,port=4000 \ -device usb-redir,chardev=usbredirchardev,id=usbredirdev [you would replace docs/ich9-ehci-uhci.cfg with e.g. /usr/local/share/doc/qemu/docs/ich9-ehci-uhci.cfg, but turns out ehci seems broken for me here with FreeBSD guests at least, I get: FETCHENTRY: entry at 22C5484 is of type 2 which is not supported yet processing error - resetting ehci HC Assertion failed: (0), function ehci_advance_state, file /data/ports/emulators/qemu-devel/work/qemu-0.15.0/hw/usb-ehci.c, line 2045. Starting the same without ehci (-readconfig) works, tho usbredirserver crashes when qemu exits.] ------------snip------ Thanx! :) Juergen [1] Changelog: http://wiki.qemu.org/ChangeLog/0.15 Preliminary port: http://people.freebsd.org/~nox/qemu/qemu-devel-0.15.0.shar Patch against current qemu-devel port: http://people.freebsd.org/~nox/qemu/qemu-devel-0.15.0.patch [2] usbredir 0.3: http://cgit.freedesktop.org/~jwrdegoede/usbredir/ Preliminary port: http://people.freebsd.org/~nox/qemu/usbredir.shar From owner-freebsd-usb@FreeBSD.ORG Tue Aug 16 07:40:04 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBDA8106564A for ; Tue, 16 Aug 2011 07:40:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 461488FC1A for ; Tue, 16 Aug 2011 07:40:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=b20eX9+WwT+rchjRp65q2r9rWd5NV3fsbYwDDw8k8E8= c=1 sm=1 a=fJEGAQ7EGC8A:10 a=WQU8e4WWZSUA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=4dUV7anAB9YGbLdZuTQA:9 a=4NtnIaRTLMHL91dE4QwA:7 a=pILNOxqGKmIA:10 a=8PRmaPxWSHiRE86-vQ4A:9 a=GIi2Wv7FhjRqQxNC:21 a=NSU_4XTvM9YSOr7i:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 164351699; Tue, 16 Aug 2011 09:40:02 +0200 To: Juergen Lock From: Hans Petter Selasky X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-15?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-15?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= Date: Tue, 16 Aug 2011 09:37:39 +0200 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_D5hSOoqXjo4E+bg" Message-Id: <201108160937.39168.hselasky@c2i.net> Cc: "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 07:40:05 -0000 --Boundary-00=_D5hSOoqXjo4E+bg Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > Hi! > > I just prepared a preliminary update of the emulators/qemu-devel > port to 0.15.0 [1], and among other things it now also has a > usb network redirection feature using usbredir [2], which uses > libusb 1.0 and a function that is missing in our version, > libusb_get_device_speed(). I added a stub to the code that > always returns LIBUSB_SPEED_UNKNOWN > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > question for Hans (I guess), would there be an easy way to make a > `proper' implementation? > > If anyone wants to help me test qemu 0.15.0, thanx! Please try the attached patch to libusb in /usr/src/lib/libusb . You only need to rebuild libusb: make all install clean > FETCHENTRY: entry at 22C5484 is of type 2 which is not supported > yet processing error - resetting ehci HC Try my patch first. EHCI needs to know device speed. --HPS --Boundary-00=_D5hSOoqXjo4E+bg Content-Type: text/plain; charset="windows-1252"; name="libusb_speed.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libusb_speed.txt" === libusb.h ================================================================== --- libusb.h (revision 224768) +++ libusb.h (local) @@ -151,6 +151,14 @@ LIBUSB_ERROR_OTHER = -99, }; +enum libusb_speed { + LIBUSB_SPEED_UNKNOWN = 0, + LIBUSB_SPEED_LOW = 1, + LIBUSB_SPEED_FULL = 2, + LIBUSB_SPEED_HIGH = 3, + LIBUSB_SPEED_SUPER = 4, +}; + enum libusb_transfer_status { LIBUSB_TRANSFER_COMPLETED, LIBUSB_TRANSFER_ERROR, @@ -304,6 +312,7 @@ void libusb_free_device_list(libusb_device ** list, int unref_devices); uint8_t libusb_get_bus_number(libusb_device * dev); uint8_t libusb_get_device_address(libusb_device * dev); +enum libusb_speed libusb_get_device_speed(libusb_device * dev); int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint); int libusb_get_max_packet_size(libusb_device * dev, uint8_t endpoint); libusb_device *libusb_ref_device(libusb_device * dev); === libusb10.c ================================================================== --- libusb10.c (revision 224768) +++ libusb10.c (local) @@ -272,6 +272,27 @@ return (libusb20_dev_get_address(dev->os_priv)); } +enum libusb_speed +libusb_get_device_speed(libusb_device *dev) +{ + if (dev == NULL) + return (0); /* should not happen */ + + switch (libusb20_dev_get_speed(dev->os_priv)) { + case LIBUSB20_SPEED_LOW: + return (LIBUSB_SPEED_LOW); + case LIBUSB20_SPEED_FULL: + return (LIBUSB_SPEED_FULL); + case LIBUSB20_SPEED_HIGH: + return (LIBUSB_SPEED_HIGH); + case LIBUSB20_SPEED_SUPER: + return (LIBUSB_SPEED_SUPER); + default: + break; + } + return (LIBUSB_SPEED_UNKNOWN); +} + int libusb_get_max_packet_size(libusb_device *dev, uint8_t endpoint) { --Boundary-00=_D5hSOoqXjo4E+bg-- From owner-freebsd-usb@FreeBSD.ORG Tue Aug 16 07:49:55 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA85B1065670; Tue, 16 Aug 2011 07:49:54 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE4D8FC15; Tue, 16 Aug 2011 07:49:53 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0STrgBBJ/IeSzGUncdVPgrlXwYQACyAaeTEJnWJdz8Q= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fJEGAQ7EGC8A:10 a=dBRESv0yCI8A:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=4dUV7anAB9YGbLdZuTQA:9 a=4NtnIaRTLMHL91dE4QwA:7 a=pILNOxqGKmIA:10 a=8PRmaPxWSHiRE86-vQ4A:9 a=GIi2Wv7FhjRqQxNC:21 a=NSU_4XTvM9YSOr7i:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 166471043; Tue, 16 Aug 2011 09:39:51 +0200 Received-SPF: softfail receiver=mailfe08.swip.net; client-ip=188.126.198.129; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: Juergen Lock Date: Tue, 16 Aug 2011 09:37:27 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20110815202656.GA94934@triton8.kn-bremen.de> In-Reply-To: <20110815202656.GA94934@triton8.kn-bremen.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_34hSO7DjUed8dDm" Message-Id: <201108160937.27850.hselasky@freebsd.org> Cc: "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 07:49:55 -0000 --Boundary-00=_34hSO7DjUed8dDm Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > Hi! > > I just prepared a preliminary update of the emulators/qemu-devel > port to 0.15.0 [1], and among other things it now also has a > usb network redirection feature using usbredir [2], which uses > libusb 1.0 and a function that is missing in our version, > libusb_get_device_speed(). I added a stub to the code that > always returns LIBUSB_SPEED_UNKNOWN > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > question for Hans (I guess), would there be an easy way to make a > `proper' implementation? > > If anyone wants to help me test qemu 0.15.0, thanx! Please try the attached patch to libusb in /usr/src/lib/libusb . You only need to rebuild libusb: make all install clean > FETCHENTRY: entry at 22C5484 is of type 2 which is not supported > yet processing error - resetting ehci HC Try my patch first. EHCI needs to know device speed. --HPS --Boundary-00=_34hSO7DjUed8dDm Content-Type: text/plain; charset="windows-1252"; name="libusb_speed.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libusb_speed.txt" === libusb.h ================================================================== --- libusb.h (revision 224768) +++ libusb.h (local) @@ -151,6 +151,14 @@ LIBUSB_ERROR_OTHER = -99, }; +enum libusb_speed { + LIBUSB_SPEED_UNKNOWN = 0, + LIBUSB_SPEED_LOW = 1, + LIBUSB_SPEED_FULL = 2, + LIBUSB_SPEED_HIGH = 3, + LIBUSB_SPEED_SUPER = 4, +}; + enum libusb_transfer_status { LIBUSB_TRANSFER_COMPLETED, LIBUSB_TRANSFER_ERROR, @@ -304,6 +312,7 @@ void libusb_free_device_list(libusb_device ** list, int unref_devices); uint8_t libusb_get_bus_number(libusb_device * dev); uint8_t libusb_get_device_address(libusb_device * dev); +enum libusb_speed libusb_get_device_speed(libusb_device * dev); int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint); int libusb_get_max_packet_size(libusb_device * dev, uint8_t endpoint); libusb_device *libusb_ref_device(libusb_device * dev); === libusb10.c ================================================================== --- libusb10.c (revision 224768) +++ libusb10.c (local) @@ -272,6 +272,27 @@ return (libusb20_dev_get_address(dev->os_priv)); } +enum libusb_speed +libusb_get_device_speed(libusb_device *dev) +{ + if (dev == NULL) + return (0); /* should not happen */ + + switch (libusb20_dev_get_speed(dev->os_priv)) { + case LIBUSB20_SPEED_LOW: + return (LIBUSB_SPEED_LOW); + case LIBUSB20_SPEED_FULL: + return (LIBUSB_SPEED_FULL); + case LIBUSB20_SPEED_HIGH: + return (LIBUSB_SPEED_HIGH); + case LIBUSB20_SPEED_SUPER: + return (LIBUSB_SPEED_SUPER); + default: + break; + } + return (LIBUSB_SPEED_UNKNOWN); +} + int libusb_get_max_packet_size(libusb_device *dev, uint8_t endpoint) { --Boundary-00=_34hSO7DjUed8dDm-- From owner-freebsd-usb@FreeBSD.ORG Tue Aug 16 17:30:25 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E071065673; Tue, 16 Aug 2011 17:30:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id CD30C8FC17; Tue, 16 Aug 2011 17:30:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=b20eX9+WwT+rchjRp65q2r9rWd5NV3fsbYwDDw8k8E8= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fJEGAQ7EGC8A:10 a=WQU8e4WWZSUA:10 a=N659UExz7-8A:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=20KFwNOVAAAA:8 a=TSbVqHtbAAAA:8 a=voznR72gjcC1rhOVUJ4A:9 a=pILNOxqGKmIA:10 a=akYS_eu778kA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 164683112; Tue, 16 Aug 2011 19:30:22 +0200 From: Hans Petter Selasky To: Juergen Lock Date: Tue, 16 Aug 2011 19:27:57 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20110815202656.GA94934@triton8.kn-bremen.de> In-Reply-To: <20110815202656.GA94934@triton8.kn-bremen.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <201108161927.57212.hselasky@c2i.net> Cc: Hans de Goede , "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 17:30:25 -0000 On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > Hi! > > I just prepared a preliminary update of the emulators/qemu-devel > port to 0.15.0 [1], and among other things it now also has a > usb network redirection feature using usbredir [2], which uses > libusb 1.0 and a function that is missing in our version, > libusb_get_device_speed(). I added a stub to the code that > always returns LIBUSB_SPEED_UNKNOWN > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > question for Hans (I guess), would there be an easy way to make a > `proper' implementation? > > If anyone wants to help me test qemu 0.15.0, thanx! > > I also updated the net.c and net.h udp patches for gns3 for this qemu > version: (the other gns3 patchfiles for qemu 0.14 still apply) > > http://people.freebsd.org/~nox/qemu/qemu-0.15.0-gns3-patches/ > > I added this note to the qemu-devel pkg-message about the usb > redirection [1]: > > ------------snip------ > - If you want to test the new (in 0.15.0) usb network redirection (USBREDIR > option) see this thread by Hans de Goede redhat.com>: > > > http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183 Hi, It is also crashing here: usbredirserver 0c76:1607 usbredirparser info: Peer version: qemu usb-redir guest 0.15.0 Bus error (core dumped) qemu -cdrom xxx.iso -readconfig /usr/local/share/doc/qemu/docs/ich9-ehci- uhci.cfg -chardev socket,id=usbredirchardev,host=localhost,port=4000 -device usb-redir,chardev=usbredirchardev,id=usbredirdev *** EHCI support is under development *** FETCHENTRY: entry at 3DBFD04 is of type 2 which is not supported yet processing error - resetting ehci HC Assertion failed: (0), function ehci_advance_state, file /usr/ports/emulators/qemu-devel/work/qemu-0.15.0/hw/usb-ehci.c, line 2045. Abort (core dumped) Maybe Hans de Goede should do some testing with FreeBSD-current ? I just submitted the patch for FreeBSD-current that implements libusb_get_device_speed(). --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 16 20:23:58 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22035106566C; Tue, 16 Aug 2011 20:23:58 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id CFCC18FC0C; Tue, 16 Aug 2011 20:23:57 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D7A231E00259; Tue, 16 Aug 2011 22:23:56 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p7GJsNcY084701; Tue, 16 Aug 2011 21:54:23 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p7GJsNvi084700; Tue, 16 Aug 2011 21:54:23 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 16 Aug 2011 21:54:23 +0200 To: Hans Petter Selasky Message-ID: <20110816195422.GB84056@triton8.kn-bremen.de> References: <201108160937.39168.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201108160937.39168.hselasky@c2i.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Hans de Goede , "freebsd-emulation@FreeBSD.org" , Juergen Lock , "freebsd-usb@FreeBSD.org" , "qemu-devel@nongnu.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 20:23:58 -0000 On Tue, Aug 16, 2011 at 09:37:39AM +0200, Hans Petter Selasky wrote: > On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > > Hi! > > > > I just prepared a preliminary update of the emulators/qemu-devel > > port to 0.15.0 [1], and among other things it now also has a > > usb network redirection feature using usbredir [2], which uses > > libusb 1.0 and a function that is missing in our version, > > libusb_get_device_speed(). I added a stub to the code that > > always returns LIBUSB_SPEED_UNKNOWN > > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > > question for Hans (I guess), would there be an easy way to make a > > `proper' implementation? > > > > If anyone wants to help me test qemu 0.15.0, thanx! > > Please try the attached patch to libusb in /usr/src/lib/libusb . > > You only need to rebuild libusb: make all install clean > > > FETCHENTRY: entry at 22C5484 is of type 2 which is not supported > > yet processing error - resetting ehci HC > > Try my patch first. EHCI needs to know device speed. Thanx, tho it turns out: a) the FETCHENTRY:.. crash also happens without any device redirection with FreeBSD 8.2 (at least) guests and ehci enabled (-readconfig docs/ich9-ehci-uhci.cfg), and b) if I test this with your patch (working libusb_get_device_speed() that doesn't just always return LIBUSB_SPEED_UNKNOWN) and redirecting an usb 2.0 device with ehci enabled using usbredir then qemu complains like: qemu: Warning: speed mismatch trying to attach usb device USB Redirectio n Device to bus usb.0 and ignores the redirected device. So for now I have added a #define IGNORE_LIBUSB_GET_DEVICE_SPEED to the (updated) preliminary usbredir FreeBSD port, http://people.freebsd.org/~nox/qemu/usbredir.shar so that usbredirhost_open() now always works with: device_connect.speed = usb_redir_speed_unknown; Question: do people also see this problem on Linux? This post has an usage example: http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183 Or is the problem just that with the example usage, sudo usbredirserver 045e:0772 ... qemu ... \ -readconfig docs/ich9-ehci-uhci.cfg \ -chardev socket,id=usbredirchardev,host=localhost,port=4000 \ -device usb-redir,chardev=usbredirchardev,id=usbredirdev qemu 0.15.0 tries to attach the redirected usb 2.0 device to the uhci bus instead of to the ehci one and if yes, how can I fix that? Thanx! :) Juergen From owner-freebsd-usb@FreeBSD.ORG Tue Aug 16 20:24:06 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF351065670; Tue, 16 Aug 2011 20:24:06 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 3987B8FC15; Tue, 16 Aug 2011 20:24:06 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 803ED1E00078; Tue, 16 Aug 2011 22:24:05 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p7GKMmDd087005; Tue, 16 Aug 2011 22:22:48 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p7GKMmUH087004; Tue, 16 Aug 2011 22:22:48 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 16 Aug 2011 22:22:48 +0200 To: Juergen Lock Message-ID: <20110816202248.GA86610@triton8.kn-bremen.de> References: <201108160937.39168.hselasky@c2i.net> <20110816195422.GB84056@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110816195422.GB84056@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Hans de Goede , "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 20:24:06 -0000 On Tue, Aug 16, 2011 at 09:54:23PM +0200, Juergen Lock wrote: > On Tue, Aug 16, 2011 at 09:37:39AM +0200, Hans Petter Selasky wrote: > > On Monday 15 August 2011 22:26:56 Juergen Lock wrote: > > > Hi! > > > > > > I just prepared a preliminary update of the emulators/qemu-devel > > > port to 0.15.0 [1], and among other things it now also has a > > > usb network redirection feature using usbredir [2], which uses > > > libusb 1.0 and a function that is missing in our version, > > > libusb_get_device_speed(). I added a stub to the code that > > > always returns LIBUSB_SPEED_UNKNOWN > > > (files/patch-usbredirhost-usbredirhost.c in the usbredir port [2]), > > > question for Hans (I guess), would there be an easy way to make a > > > `proper' implementation? > > > > > > If anyone wants to help me test qemu 0.15.0, thanx! > > > > Please try the attached patch to libusb in /usr/src/lib/libusb . > > > > You only need to rebuild libusb: make all install clean > > > > > FETCHENTRY: entry at 22C5484 is of type 2 which is not supported > > > yet processing error - resetting ehci HC > > > > Try my patch first. EHCI needs to know device speed. > > Thanx, tho it turns out: > > a) the FETCHENTRY:.. crash also happens without any device redirection > with FreeBSD 8.2 (at least) guests and ehci enabled (-readconfig > docs/ich9-ehci-uhci.cfg), and > > b) if I test this with your patch (working libusb_get_device_speed() > that doesn't just always return LIBUSB_SPEED_UNKNOWN) and redirecting > an usb 2.0 device with ehci enabled using usbredir then qemu > complains like: > > qemu: Warning: speed mismatch trying to attach usb device USB Redirectio > n Device to bus usb.0 > > and ignores the redirected device. So for now I have added a > #define IGNORE_LIBUSB_GET_DEVICE_SPEED to the (updated) preliminary > usbredir FreeBSD port, > > http://people.freebsd.org/~nox/qemu/usbredir.shar > > so that usbredirhost_open() now always works with: > > device_connect.speed = usb_redir_speed_unknown; > > Question: do people also see this problem on Linux? This post has > an usage example: > > http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183 > > Or is the problem just that with the example usage, > > sudo usbredirserver 045e:0772 > ... > qemu ... \ > -readconfig docs/ich9-ehci-uhci.cfg \ > -chardev socket,id=usbredirchardev,host=localhost,port=4000 \ > -device usb-redir,chardev=usbredirchardev,id=usbredirdev > > qemu 0.15.0 tries to attach the redirected usb 2.0 device to the > uhci bus instead of to the ehci one and if yes, how can I fix that? Nevermind, I didn't actually put the -readconfig parameter first. :( (It didn't occur to me that the order would matter...) But now I found that: a) seabios hangs at boot when I redirect an usb 2.0 flashkey with ehci enabled (at least with -cdrom), and b) with ehci disabled I still get the speed mismatch warning and the device is ignored. Maybe the speed mismatch check should be relaxed if there isn't a bus as fast as the device, and the device be attached to the fastest available bus instead? (i.e. also the same is likely to happen with usb 3.0 devices?) Thanx, Juergen (who will leave the FreeBSD usbredir port using usb_redir_speed_unknown for now I guess...) From owner-freebsd-usb@FreeBSD.ORG Wed Aug 17 11:29:10 2011 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138A71065673; Wed, 17 Aug 2011 11:29:10 +0000 (UTC) (envelope-from saper@saper.info) Received: from l.saper.info (l.saper.info [IPv6:2001:41d0:1:d467::1000]) by mx1.freebsd.org (Postfix) with ESMTP id 923258FC12; Wed, 17 Aug 2011 11:29:09 +0000 (UTC) Received: from l.saper.info (uucp@localhost [127.0.0.1]) by l.saper.info (8.14.4/8.14.4) with ESMTP id p7HBSknQ033311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2011 11:28:47 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Mar2008; t=1313580527; bh=p8LeEmr0QqYX4ihoqVNpgLfm0b94Kq1UKx+T6Qn7P70=; h=Date:Message-Id:To:Subject:From:Reply-To:Cc; b=18RCCLbYsxm8/UTKQIrszEaCDJZVzbpbAk2XnzWnSNAibcHxTiimUbWXFhOALoc2e JrKLGjJ9/PxlkvlRNxOCMvo/GKbJyT5EBQJBffakdz5Oc31ElWiFpqseuYEMJfL/EN Mv11x1H/WAhiSV+RtFDcv4Gkls0oLwdlN6he7QCU= Received: (from uucp@localhost) by l.saper.info (8.14.4/8.14.4/Submit) with UUCP id p7HBSkIH033310; Wed, 17 Aug 2011 11:28:46 GMT (envelope-from saper@saper.info) Received: from radziecki.saper.info (localhost [127.0.0.1]) by radziecki.saper.info (8.14.5/8.14.5) with ESMTP id p7HBQODB018308; Wed, 17 Aug 2011 13:26:24 +0200 (CEST) (envelope-from saper@radziecki.saper.info) Received: (from saper@localhost) by radziecki.saper.info (8.14.5/8.14.5/Submit) id p7HBQNVS018307; Wed, 17 Aug 2011 13:26:23 +0200 (CEST) (envelope-from saper) Date: Wed, 17 Aug 2011 13:26:23 +0200 (CEST) Message-Id: <201108171126.p7HBQNVS018307@radziecki.saper.info> To: FreeBSD-gnats-submit@freebsd.org From: Marcin Cieslak X-send-pr-version: 3.113 X-GNATS-Notify: Cc: usb@freebsd.org, hselasky@freebsd.org Subject: [patch] Add support for Option GlobeTrotter Max 7.2 with new firmware (0x0af0/0x6711) to uhso(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 11:29:10 -0000 >Submitter-Id: current-users >Originator: Marcin Cieslak >Confidential: no >Synopsis: [patch] Add support for Option GlobeTrotter Max 7.2 with new firmware (0x0af0/0x6711) to uhso(4) >Severity: non-critical >Priority: medium >Category: usb >Class: change-request >Release: FreeBSD 9.0-BETA1 amd64 >Environment: System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #2 r224912M: Tue Aug 16 23:05:15 CEST 2011 root@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 >Description: Newer firmware revisions of Option GlobeTrotter Max 7.2 (HSDPA-ready) a.k.a. GX0201 have a different product ID to indicate support for the high-speed network interface as provided by uhso(4). >How-To-Repeat: >Fix: --- uhso.patch begins here --- Index: usbdevs =================================================================== --- usbdevs (wersja 224912) +++ usbdevs (kopia robocza) @@ -2448,6 +2448,7 @@ product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard product OPTION GTICON322 0xd033 GlobeTrotter Icon322 storage product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem +product OPTION GTMAX72 0x6711 GlobeTrotter Max 7.2 HSDPA product OPTION GTHSDPA 0x6971 GlobeTrotter HSDPA product OPTION GTMAXHSUPA 0x7001 GlobeTrotter HSUPA product OPTION GTMAXHSUPAE 0x6901 GlobeTrotter HSUPA PCIe Index: net/uhso.c =================================================================== --- net/uhso.c (wersja 224912) +++ net/uhso.c (kopia robocza) @@ -249,6 +249,8 @@ static const STRUCT_USB_HOST_ID uhso_devs[] = { #define UHSO_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) } + /* Option GlobeTrotter MAX 7.2 with upgraded firmware */ + UHSO_DEV(OPTION, GTMAX72, UHSO_STATIC_IFACE), /* Option GlobeSurfer iCON 7.2 */ UHSO_DEV(OPTION, GSICON72, UHSO_STATIC_IFACE), /* Option iCON 225 */ Index: /usr/src/share/man/man4/uhso.4 =================================================================== --- /usr/src/share/man/man4/uhso.4 (wersja 224912) +++ /usr/src/share/man/man4/uhso.4 (kopia robocza) @@ -79,6 +79,8 @@ .It Option GlobeSurfer iCON 7.2 (new firmware) .It +Option GlobeTrotter Max 7.2 (new firmware) +.It Option iCON 225 .It Option iCON 452 --- uhso.patch ends here --- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 17 11:30:12 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0AA41065672 for ; Wed, 17 Aug 2011 11:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7733E8FC08 for ; Wed, 17 Aug 2011 11:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7HBUCN1066413 for ; Wed, 17 Aug 2011 11:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7HBUC7B066408; Wed, 17 Aug 2011 11:30:12 GMT (envelope-from gnats) Resent-Date: Wed, 17 Aug 2011 11:30:12 GMT Resent-Message-Id: <201108171130.p7HBUC7B066408@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Cieslak Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138A71065673; Wed, 17 Aug 2011 11:29:10 +0000 (UTC) (envelope-from saper@saper.info) Received: from l.saper.info (l.saper.info [IPv6:2001:41d0:1:d467::1000]) by mx1.freebsd.org (Postfix) with ESMTP id 923258FC12; Wed, 17 Aug 2011 11:29:09 +0000 (UTC) Received: from l.saper.info (uucp@localhost [127.0.0.1]) by l.saper.info (8.14.4/8.14.4) with ESMTP id p7HBSknQ033311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2011 11:28:47 GMT (envelope-from saper@saper.info) Received: (from uucp@localhost) by l.saper.info (8.14.4/8.14.4/Submit) with UUCP id p7HBSkIH033310; Wed, 17 Aug 2011 11:28:46 GMT (envelope-from saper@saper.info) Received: from radziecki.saper.info (localhost [127.0.0.1]) by radziecki.saper.info (8.14.5/8.14.5) with ESMTP id p7HBQODB018308; Wed, 17 Aug 2011 13:26:24 +0200 (CEST) (envelope-from saper@radziecki.saper.info) Received: (from saper@localhost) by radziecki.saper.info (8.14.5/8.14.5/Submit) id p7HBQNVS018307; Wed, 17 Aug 2011 13:26:23 +0200 (CEST) (envelope-from saper) Message-Id: <201108171126.p7HBQNVS018307@radziecki.saper.info> Date: Wed, 17 Aug 2011 13:26:23 +0200 (CEST) From: Marcin Cieslak To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: usb@FreeBSD.org, hselasky@FreeBSD.org Subject: usb/159836: [patch] Add support for Option GlobeTrotter Max 7.2 with new firmware (0x0af0/0x6711) to uhso(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 11:30:12 -0000 >Number: 159836 >Category: usb >Synopsis: [patch] Add support for Option GlobeTrotter Max 7.2 with new firmware (0x0af0/0x6711) to uhso(4) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 17 11:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Marcin Cieslak >Release: FreeBSD 9.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #2 r224912M: Tue Aug 16 23:05:15 CEST 2011 root@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 >Description: Newer firmware revisions of Option GlobeTrotter Max 7.2 (HSDPA-ready) a.k.a. GX0201 have a different product ID to indicate support for the high-speed network interface as provided by uhso(4). >How-To-Repeat: >Fix: --- uhso.patch begins here --- Index: usbdevs =================================================================== --- usbdevs (wersja 224912) +++ usbdevs (kopia robocza) @@ -2448,6 +2448,7 @@ product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard product OPTION GTICON322 0xd033 GlobeTrotter Icon322 storage product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem +product OPTION GTMAX72 0x6711 GlobeTrotter Max 7.2 HSDPA product OPTION GTHSDPA 0x6971 GlobeTrotter HSDPA product OPTION GTMAXHSUPA 0x7001 GlobeTrotter HSUPA product OPTION GTMAXHSUPAE 0x6901 GlobeTrotter HSUPA PCIe Index: net/uhso.c =================================================================== --- net/uhso.c (wersja 224912) +++ net/uhso.c (kopia robocza) @@ -249,6 +249,8 @@ static const STRUCT_USB_HOST_ID uhso_devs[] = { #define UHSO_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) } + /* Option GlobeTrotter MAX 7.2 with upgraded firmware */ + UHSO_DEV(OPTION, GTMAX72, UHSO_STATIC_IFACE), /* Option GlobeSurfer iCON 7.2 */ UHSO_DEV(OPTION, GSICON72, UHSO_STATIC_IFACE), /* Option iCON 225 */ Index: /usr/src/share/man/man4/uhso.4 =================================================================== --- /usr/src/share/man/man4/uhso.4 (wersja 224912) +++ /usr/src/share/man/man4/uhso.4 (kopia robocza) @@ -79,6 +79,8 @@ .It Option GlobeSurfer iCON 7.2 (new firmware) .It +Option GlobeTrotter Max 7.2 (new firmware) +.It Option iCON 225 .It Option iCON 452 --- uhso.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Aug 17 21:14:57 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD4101065674; Wed, 17 Aug 2011 21:14:57 +0000 (UTC) (envelope-from kraxel@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1.freebsd.org (Postfix) with ESMTP id B81028FC0C; Wed, 17 Aug 2011 21:14:57 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7HLEqMJ021742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Aug 2011 17:14:52 -0400 Received: from rincewind.home.kraxel.org (ovpn-113-66.phx2.redhat.com [10.3.113.66]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7HLEp3n002561; Wed, 17 Aug 2011 17:14:51 -0400 Message-ID: <4E4C2F4A.8080207@redhat.com> Date: Wed, 17 Aug 2011 23:14:50 +0200 From: Gerd Hoffmann User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110805 Red Hat/3.1.12-1.el6_1 Thunderbird/3.1.12 MIME-Version: 1.0 To: Juergen Lock References: <201108160937.39168.hselasky@c2i.net> <20110816195422.GB84056@triton8.kn-bremen.de> In-Reply-To: <20110816195422.GB84056@triton8.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Cc: Hans de Goede , "freebsd-emulation@FreeBSD.org" , "qemu-devel@nongnu.org" , "freebsd-usb@FreeBSD.org" Subject: Re: [Qemu-devel] qemu 0.15.0 testing, usb redirection, and libusb_get_device_speed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 21:14:58 -0000 Hi, > a) the FETCHENTRY:.. crash also happens without any device redirection > with FreeBSD 8.2 (at least) guests and ehci enabled (-readconfig > docs/ich9-ehci-uhci.cfg), and That will likely happen with a freebsd guest on a linux host too, looks like freebsd asks ehci to do something which isn't (fully) implemented in the emulation code. Will have a look. > qemu ... \ > -readconfig docs/ich9-ehci-uhci.cfg \ > -chardev socket,id=usbredirchardev,host=localhost,port=4000 \ > -device usb-redir,chardev=usbredirchardev,id=usbredirdev > > qemu 0.15.0 tries to attach the redirected usb 2.0 device to the > uhci bus instead of to the ehci one and if yes, how can I fix that? -device usb-redir,bus=ehci.0,... HTH, Gerd From owner-freebsd-usb@FreeBSD.ORG Thu Aug 18 06:52:15 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC495106566C for ; Thu, 18 Aug 2011 06:52:15 +0000 (UTC) (envelope-from bounces+31775-8da8-freebsd-usb=freebsd.org@email.skillpagesmail.com) Received: from o1.email.skillpagesmail.com (o1.email.skillpagesmail.com [173.193.133.23]) by mx1.freebsd.org (Postfix) with SMTP id 9118F8FC15 for ; Thu, 18 Aug 2011 06:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=skillpagesmail.com; h= mime-version:date:subject:from:to:sender:message-id :list-unsubscribe:content-type:reply-to; s=smtpapi; bh=k30TfFg01 42/v00NhKaSVhhFP3Y=; b=xTvzCntBodubqW+Qu8aTmeF2LvfNvTGJLQ1p8H+qj PiiEIi+5+XAD+xVzGmLMd/5V+yh+t7k7KRpu3qCTxwX3/lHm/yui8XXaUMjSLqIu BsDvem5HWzoAATmdGyDFoYMH5n2/ztRyWvuT5x5w6itNxt2cnS1F0uqehCjZv4TE n0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=skillpagesmail.com; h= mime-version:date:subject:from:to:sender:message-id :list-unsubscribe:content-type:reply-to; q=dns; s=smtpapi; b=S/x 0V3/vlNv2kbU29pRSa5I1rZ8pY0bmJy9MDbOoyVgvR+G/sTK4/wvMmJ/Wz6XMXbJ QylvMcLGA443lp91ms/2jpQDfMpsKQ6YM1Fab6YHEeQYE7nYG3nAEZUdH+3RLJzT 7RDEN6lskuMiZ4Sui8RSH+gfhSdWwflvADjvGAoI= Received: by 10.16.69.78 with SMTP id mf38.17702.4E4CB25A4 Thu, 18 Aug 2011 01:34:02 -0500 (CDT) Received: from USProdSvc001 (unknown [10.9.180.5]) by mi8 (SG) with ESMTP id 4e4cb25a.4034.58805b7 for ; Thu, 18 Aug 2011 01:34:02 -0500 (CST) MIME-Version: 1.0 Date: Thu, 18 Aug 2011 07:34:01 +0100 X-Priority: 3 (Normal) From: "Gaurav Gupta" To: freebsd-usb@freebsd.org X-Mailer: www.skillpages.com Sender: "Gaurav Gupta via SkillPages" Message-ID: Errors-To: DgC45clkEeC9OLchVlENCg2@skillpagesmail.com X-Sendgrid-EID: 6GZ5SVK6gPTTKp6AOv7rty7ZGHdarWM4Ru3ZdfUnf2nu87tlatzBD1f8S45L8d+vOu+JfYktSRtW6x+Krvbioze2eXSfKUq0zKp3mxgeEj/IE9SnvbXKmkFkkHO3/rHRnrIImEZTbu1XUYZq32+ezplAHsgA2g1nfw+YZ7PGieWaesskcMTI/fY/TEgtHq5D X-Sendgrid-ID: WV9yp9L9X+yDps0UeUYkqHejpmFM5NnWxUVqU4eI5kA= Content-Type: text/plain; format="flowed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Invitation from gaurav gupta X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gaurav Gupta List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2011 06:52:15 -0000 skillpages Hi, Please join my Trusted Network on SkillPages. SkillPages makes it easy to find skilled people who are trusted by your fri= ends. Once you join, you'll be able to see gaurav's skills and thousands of other= s. gaurav gupta Gallery -Gift Item Join SkillPages or Join using facebook freebsd-usb@freebsd.org was invited to join SkillPages by gaurav gupta. If = you don't want to receive these emails from SkillPages in the future, you can unsubscribe . SkillPag= es, Blackrock Business Park, Dublin, Ireland and 228 Hamilton Avenue, 3rd Floor, Palo Alto, CA 94301 From owner-freebsd-usb@FreeBSD.ORG Fri Aug 19 16:20:11 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C63B1065673 for ; Fri, 19 Aug 2011 16:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 653BA8FC21 for ; Fri, 19 Aug 2011 16:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7JGKBJt083843 for ; Fri, 19 Aug 2011 16:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7JGKB5R083842; Fri, 19 Aug 2011 16:20:11 GMT (envelope-from gnats) Resent-Date: Fri, 19 Aug 2011 16:20:11 GMT Resent-Message-Id: <201108191620.p7JGKB5R083842@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Poul-Henning Kamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6ED106566B for ; Fri, 19 Aug 2011 16:17:39 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE798FC13 for ; Fri, 19 Aug 2011 16:17:38 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 8BAFB5DB3 for ; Fri, 19 Aug 2011 16:01:29 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p7JG1TCc002880 for ; Fri, 19 Aug 2011 16:01:29 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.14.5/8.14.5/Submit) id p7JG1TTd002879; Fri, 19 Aug 2011 16:01:29 GMT (envelope-from phk) Message-Id: <201108191601.p7JG1TTd002879@critter.freebsd.dk> Date: Fri, 19 Aug 2011 16:01:29 GMT From: Poul-Henning Kamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 16:20:11 -0000 >Number: 159919 >Category: usb >Synopsis: Patch for HUAWEI E173 (u3g/umodem) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 19 16:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224239M: Fri Aug 19 14:35:16 UTC 2011 phk@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64 >Description: With this patch I can get a Huawei E173 3G dongle to work. I'm not sure why I have to teach umodem about it specifically. It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] >How-To-Repeat: Plug an Huawei E173 in. >Fix: Index: dev/usb/serial/u3g.c =================================================================== --- dev/usb/serial/u3g.c (revision 224265) +++ dev/usb/serial/u3g.c (working copy) @@ -280,6 +280,7 @@ U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI), + U3G_DEV(HUAWEI, E173_INIT, U3GINIT_HUAWEISCSI), U3G_DEV(HUAWEI, E180V, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220BIS, U3GINIT_HUAWEI), Index: dev/usb/serial/umodem.c =================================================================== --- dev/usb/serial/umodem.c (revision 224265) +++ dev/usb/serial/umodem.c (working copy) @@ -132,6 +132,7 @@ {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)}, {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)}, {USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)}, + {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173, 1)}, }; /* Index: dev/usb/usbdevs =================================================================== --- dev/usb/usbdevs (revision 224265) +++ dev/usb/usbdevs (working copy) @@ -1874,6 +1874,8 @@ product HUAWEI K3765 0x1465 3G modem product HUAWEI E1820 0x14ac E1820 HSPA+ USB Slider product HUAWEI K3765_INIT 0x1520 K3765 Initial +product HUAWEI E173 0x1c05 3G modem +product HUAWEI E173_INIT 0x1c0b 3G modem /* HUAWEI 3com products */ product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 13:30:29 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A658106566B for ; Sat, 20 Aug 2011 13:30:29 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1D22A8FC08 for ; Sat, 20 Aug 2011 13:30:28 +0000 (UTC) Received: by bkat8 with SMTP id t8so3727313bka.13 for ; Sat, 20 Aug 2011 06:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=KpQP/UNMQzFqhvo1eRqm7l3dG/AvW/DxmuCRVw+wpJc=; b=WPdclVKzlyvTmkQ9QWuCDALjoyMpchHLRwvNvVXr08NOcRXeKrzpVwTAl7Ef1x+Zkj xbFCvG1JdKfPN7Hu4iA82L+IZAWm0M04YW0K2vh2Xo9yvtkHkves3WhzIUx8K0NFi6fx ZqRCZZhi8OO1w0qWfQUCxjMozBVbs5DtCdV4Q= Received: by 10.204.142.91 with SMTP id p27mr179982bku.242.1313845716997; Sat, 20 Aug 2011 06:08:36 -0700 (PDT) Received: from [192.168.0.31] (chello089173013225.chello.sk [89.173.13.225]) by mx.google.com with ESMTPS id s7sm1146740fah.0.2011.08.20.06.08.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 20 Aug 2011 06:08:36 -0700 (PDT) Message-ID: <4E4FB1CD.8030702@gmail.com> Date: Sat, 20 Aug 2011 15:08:29 +0200 From: umage User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: cam scsi status error logged at startup X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 13:30:29 -0000 This is from /var/log/messages on yesterday's 9-CURRENT, in case it's of use to the developers (quirks or w/e). It happens on every reboot. The error messages weren't there in 8.2-RELEASE. kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 kernel: da0: Removable Direct Access SCSI-5 device kernel: da0: 40.000MB/s transfers kernel: da0: 15080MB (30883840 512 byte sectors: 255H 63S/T 1922C) kernel: Trying to mount root from ufs:/dev/da0s1a [rw,noatime]... kernel: . From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 13:57:35 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 304F5106566C; Sat, 20 Aug 2011 13:57:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 837348FC1C; Sat, 20 Aug 2011 13:57:34 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=b20eX9+WwT+rchjRp65q2r9rWd5NV3fsbYwDDw8k8E8= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=jC7VuaC2Ft0A:10 a=WQU8e4WWZSUA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=F_X789EStFtG9l0k-8kA:9 a=PUjeQqilurYA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 166582004; Sat, 20 Aug 2011 15:57:32 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "Poul-Henning Kamp" Date: Sat, 20 Aug 2011 15:55:04 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201108191601.p7JG1TTd002879@critter.freebsd.dk> In-Reply-To: <201108191601.p7JG1TTd002879@critter.freebsd.dk> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108201555.04355.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 13:57:35 -0000 On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: > With this patch I can get a Huawei E173 3G dongle to work. > I'm not sure why I have to teach umodem about it specifically. > It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] Hi, What happens if you leave out the u3g.c patch? Could you post dmesg and output from: usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 14:00:22 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E97F106566C for ; Sat, 20 Aug 2011 14:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00BB48FC15 for ; Sat, 20 Aug 2011 14:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7KE0LBJ016392 for ; Sat, 20 Aug 2011 14:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7KE0LF5016391; Sat, 20 Aug 2011 14:00:21 GMT (envelope-from gnats) Date: Sat, 20 Aug 2011 14:00:21 GMT Message-Id: <201108201400.p7KE0LF5016391@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 14:00:22 -0000 The following reply was made to PR usb/159919; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "Poul-Henning Kamp" Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 15:55:04 +0200 On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: > With this patch I can get a Huawei E173 3G dongle to work. > I'm not sure why I have to teach umodem about it specifically. > It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] Hi, What happens if you leave out the u3g.c patch? Could you post dmesg and output from: usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 14:22:40 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128DE1065674; Sat, 20 Aug 2011 14:22:40 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id C623F8FC14; Sat, 20 Aug 2011 14:22:39 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 5D1F15DB8; Sat, 20 Aug 2011 14:07:26 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p7KE7Pqp005256; Sat, 20 Aug 2011 14:07:26 GMT (envelope-from phk@phk.freebsd.dk) To: Hans Petter Selasky From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 20 Aug 2011 15:55:04 +0200." <201108201555.04355.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Sat, 20 Aug 2011 14:07:25 +0000 Message-ID: <5255.1313849245@critter.freebsd.dk> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 14:22:40 -0000 In message <201108201555.04355.hselasky@c2i.net>, Hans Petter Selasky writes: >On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: >> With this patch I can get a Huawei E173 3G dongle to work. >> I'm not sure why I have to teach umodem about it specifically. >> It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] > >Hi, > >What happens if you leave out the u3g.c patch? > >Could you post dmesg and output from: > >usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv Dang, I should have thought of including that. It's too late now the E173 just passed through my lab for a few hours and it probably won't be back in the forseeable future. Without any patches it comes up with the E173_INIT product-id and da0/cd0 attaches. The HUAWEI_INIT mode just hangs the device, nothing happens or attaches afterwards. With the HUAWEI_INITSCSI it disaspears, then comes back with the E173 product-id, da0/cd0 attaches, but umodem for some reason does not. The patch makes umodem find it, but as three separate devices, not as one device with three subdevices. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 14:30:14 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97CF11065670 for ; Sat, 20 Aug 2011 14:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB118FC0A for ; Sat, 20 Aug 2011 14:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7KEUEOf043707 for ; Sat, 20 Aug 2011 14:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7KEUEEw043701; Sat, 20 Aug 2011 14:30:14 GMT (envelope-from gnats) Date: Sat, 20 Aug 2011 14:30:14 GMT Message-Id: <201108201430.p7KEUEEw043701@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/159836: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 14:30:14 -0000 The following reply was made to PR usb/159836; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/159836: commit references a PR Date: Sat, 20 Aug 2011 14:21:53 +0000 (UTC) Author: hselasky Date: Sat Aug 20 14:21:32 2011 New Revision: 225037 URL: http://svn.freebsd.org/changeset/base/225037 Log: Add new USB ID. Approved by: re (kib) MFC after: 1 week PR: usb/159836 Modified: head/share/man/man4/uhso.4 head/sys/dev/usb/net/uhso.c head/sys/dev/usb/usbdevs Modified: head/share/man/man4/uhso.4 ============================================================================== --- head/share/man/man4/uhso.4 Sat Aug 20 14:20:36 2011 (r225036) +++ head/share/man/man4/uhso.4 Sat Aug 20 14:21:32 2011 (r225037) @@ -79,6 +79,8 @@ The following devices have been verified .It Option GlobeSurfer iCON 7.2 (new firmware) .It +Option GlobeTrotter Max 7.2 (new firmware) +.It Option iCON 225 .It Option iCON 452 Modified: head/sys/dev/usb/net/uhso.c ============================================================================== --- head/sys/dev/usb/net/uhso.c Sat Aug 20 14:20:36 2011 (r225036) +++ head/sys/dev/usb/net/uhso.c Sat Aug 20 14:21:32 2011 (r225037) @@ -249,6 +249,8 @@ static struct unrhdr *uhso_ifnet_unit = static const STRUCT_USB_HOST_ID uhso_devs[] = { #define UHSO_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) } + /* Option GlobeTrotter MAX 7.2 with upgraded firmware */ + UHSO_DEV(OPTION, GTMAX72, UHSO_STATIC_IFACE), /* Option GlobeSurfer iCON 7.2 */ UHSO_DEV(OPTION, GSICON72, UHSO_STATIC_IFACE), /* Option iCON 225 */ Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Sat Aug 20 14:20:36 2011 (r225036) +++ head/sys/dev/usb/usbdevs Sat Aug 20 14:21:32 2011 (r225037) @@ -2448,6 +2448,7 @@ product OPTION GT3GQUAD 0x6300 GlobeTro product OPTION GT3GPLUS 0x6600 GlobeTrotter 3G+ datacard product OPTION GTICON322 0xd033 GlobeTrotter Icon322 storage product OPTION GTMAX36 0x6701 GlobeTrotter Max 3.6 Modem +product OPTION GTMAX72 0x6711 GlobeTrotter Max 7.2 HSDPA product OPTION GTHSDPA 0x6971 GlobeTrotter HSDPA product OPTION GTMAXHSUPA 0x7001 GlobeTrotter HSUPA product OPTION GTMAXHSUPAE 0x6901 GlobeTrotter HSUPA PCIe _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 14:30:17 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B88106564A for ; Sat, 20 Aug 2011 14:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C8BC18FC0C for ; Sat, 20 Aug 2011 14:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7KEUHTN043847 for ; Sat, 20 Aug 2011 14:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7KEUHXN043843; Sat, 20 Aug 2011 14:30:17 GMT (envelope-from gnats) Date: Sat, 20 Aug 2011 14:30:17 GMT Message-Id: <201108201430.p7KEUHXN043843@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Poul-Henning Kamp" Cc: Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 14:30:17 -0000 The following reply was made to PR usb/159919; it has been noted by GNATS. From: "Poul-Henning Kamp" To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 14:07:25 +0000 In message <201108201555.04355.hselasky@c2i.net>, Hans Petter Selasky writes: >On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: >> With this patch I can get a Huawei E173 3G dongle to work. >> I'm not sure why I have to teach umodem about it specifically. >> It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] > >Hi, > >What happens if you leave out the u3g.c patch? > >Could you post dmesg and output from: > >usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv Dang, I should have thought of including that. It's too late now the E173 just passed through my lab for a few hours and it probably won't be back in the forseeable future. Without any patches it comes up with the E173_INIT product-id and da0/cd0 attaches. The HUAWEI_INIT mode just hangs the device, nothing happens or attaches afterwards. With the HUAWEI_INITSCSI it disaspears, then comes back with the E173 product-id, da0/cd0 attaches, but umodem for some reason does not. The patch makes umodem find it, but as three separate devices, not as one device with three subdevices. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 15:46:44 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE277106564A for ; Sat, 20 Aug 2011 15:46:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 728218FC0A for ; Sat, 20 Aug 2011 15:46:44 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=xmFjUGIb0+Qtkw36JMBkZ4MjFvRoLuHFC3dFHsXsG5g= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=jC7VuaC2Ft0A:10 a=WQU8e4WWZSUA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=aSqzoybuAAAA:8 a=sMv46CJ-z1ebAyoNIBQA:9 a=jFG0PI62fyH7MuGTcQkA:7 a=PUjeQqilurYA:10 a=la2EVL20DFMA:10 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 a=h97PluesjcLegxRM:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 168807010; Sat, 20 Aug 2011 17:46:39 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "Poul-Henning Kamp" Date: Sat, 20 Aug 2011 17:44:11 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201108201430.p7KEUHXN043843@freefall.freebsd.org> In-Reply-To: <201108201430.p7KEUHXN043843@freefall.freebsd.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108201744.11986.hselasky@c2i.net> Cc: Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 15:46:45 -0000 On Saturday 20 August 2011 16:30:17 Poul-Henning Kamp wrote: > The following reply was made to PR usb/159919; it has been noted by GNATS. > > From: "Poul-Henning Kamp" > To: Hans Petter Selasky > Cc: freebsd-usb@freebsd.org, FreeBSD-gnats-submit@freebsd.org > Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) > Date: Sat, 20 Aug 2011 14:07:25 +0000 > > In message <201108201555.04355.hselasky@c2i.net>, Hans Petter Selasky writes: > >On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: > >> With this patch I can get a Huawei E173 3G dongle to work. > >> I'm not sure why I have to teach umodem about it specifically. > >> It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] > > > >Hi, > > > >What happens if you leave out the u3g.c patch? > > > >Could you post dmesg and output from: > > > >usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv > > Dang, I should have thought of including that. > > It's too late now the E173 just passed through my lab for a few > hours and it probably won't be back in the forseeable future. > > Without any patches it comes up with the E173_INIT product-id and > da0/cd0 attaches. > > The HUAWEI_INIT mode just hangs the device, nothing happens or > attaches afterwards. > > With the HUAWEI_INITSCSI it disaspears, then comes back with the E173 > product-id, da0/cd0 attaches, but umodem for some reason does not. > > The patch makes umodem find it, but as three separate devices, > not as one device with three subdevices. I found a descriptor dump here: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552 I see now why the u3g.c driver is not attaching, because "bDeviceClass = 0" and we expect 0xFF. Nick, do you have any comments on this? PHK: Are you on #bsdusb on EF-net? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 16:26:07 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D89D1106564A for ; Sat, 20 Aug 2011 16:26:07 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 9A0648FC0C for ; Sat, 20 Aug 2011 16:26:07 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 12D1B5DF8; Sat, 20 Aug 2011 16:26:06 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p7KGQ5wr006932; Sat, 20 Aug 2011 16:26:05 GMT (envelope-from phk@phk.freebsd.dk) To: Hans Petter Selasky From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 20 Aug 2011 17:44:11 +0200." <201108201744.11986.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Sat, 20 Aug 2011 16:26:05 +0000 Message-ID: <6931.1313857565@critter.freebsd.dk> Cc: freebsd-usb@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 16:26:07 -0000 In message <201108201744.11986.hselasky@c2i.net>, Hans Petter Selasky writes: >PHK: Are you on #bsdusb on EF-net? Sorry, no. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 16:30:14 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5400D106566C for ; Sat, 20 Aug 2011 16:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 444B88FC0A for ; Sat, 20 Aug 2011 16:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7KGUEfW053311 for ; Sat, 20 Aug 2011 16:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7KGUEIv053309; Sat, 20 Aug 2011 16:30:14 GMT (envelope-from gnats) Date: Sat, 20 Aug 2011 16:30:14 GMT Message-Id: <201108201630.p7KGUEIv053309@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/159919: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 16:30:14 -0000 The following reply was made to PR usb/159919; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/159919: commit references a PR Date: Sat, 20 Aug 2011 16:21:55 +0000 (UTC) Author: hselasky Date: Sat Aug 20 16:21:40 2011 New Revision: 225041 URL: http://svn.freebsd.org/changeset/base/225041 Log: Add new USB ID to u3g driver. Approved by: re (kib) MFC after: 1 week PR: usb/159919 Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/serial/u3g.c ============================================================================== --- head/sys/dev/usb/serial/u3g.c Sat Aug 20 16:12:29 2011 (r225040) +++ head/sys/dev/usb/serial/u3g.c Sat Aug 20 16:21:40 2011 (r225041) @@ -280,6 +280,8 @@ static const STRUCT_USB_HOST_ID u3g_devs U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI), + U3G_DEV(HUAWEI, E173, 0), + U3G_DEV(HUAWEI, E173_INIT, U3GINIT_HUAWEISCSI), U3G_DEV(HUAWEI, E180V, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220BIS, U3GINIT_HUAWEI), Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Sat Aug 20 16:12:29 2011 (r225040) +++ head/sys/dev/usb/usbdevs Sat Aug 20 16:21:40 2011 (r225041) @@ -1874,6 +1874,8 @@ product HUAWEI E1752 0x1446 3G modem product HUAWEI K3765 0x1465 3G modem product HUAWEI E1820 0x14ac E1820 HSPA+ USB Slider product HUAWEI K3765_INIT 0x1520 K3765 Initial +product HUAWEI E173 0x1c05 3G modem +product HUAWEI E173_INIT 0x1c0b 3G modem initial /* HUAWEI 3com products */ product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"