From owner-freebsd-usb@FreeBSD.ORG Mon Jul 18 09:41: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 0372F106566B for ; Mon, 18 Jul 2011 09:41:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8308FC08 for ; Mon, 18 Jul 2011 09:41:27 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA20086; Mon, 18 Jul 2011 12:41:26 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E23FFC6.3060404@FreeBSD.org> Date: Mon, 18 Jul 2011 12:41:26 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.org X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org Subject: epson perfection v33 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, 18 Jul 2011 09:41:29 -0000 Just trying to find out if anyone got Epson Perfection v33 USB scanner working with SANE on FreeBSD. Or any other similar Epson scanner that requires proprietary drivers from Avasys under Linux. Thanks! -- Andriy Gapon From owner-freebsd-usb@FreeBSD.ORG Mon Jul 18 11:07:14 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 C3330106567B for ; Mon, 18 Jul 2011 11:07:14 +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 B10728FC0C for ; Mon, 18 Jul 2011 11:07: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 p6IB7EIF026941 for ; Mon, 18 Jul 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IB7EnI026939 for freebsd-usb@FreeBSD.org; Mon, 18 Jul 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jul 2011 11:07:14 GMT Message-Id: <201107181107.p6IB7EnI026939@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, 18 Jul 2011 11:07:14 -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/158650 usb uplcom USB To COM Device doesn't transmit data, only 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 a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s 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/127222 usb [ohci] Regression in 7.0 usb storage generic driver 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/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/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 p usb/116699 usb [usb] [usb67] USB HID devices do not initialize at sys 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 p usb/101775 usb [usb67] [libusbhid] [patch] possible error in report d 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 s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/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. o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me 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/76732 usb [ums] Mouse problems with USB KVM Switch 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 s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 314 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jul 18 12:45:48 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 95D4E106566C; Mon, 18 Jul 2011 12:45:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from eterpe-smout.broadpark.no (eterpe-smout.broadpark.no [80.202.8.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2F38FC12; Mon, 18 Jul 2011 12:45:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by eterpe-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LOJ008TQ4P14000@eterpe-smout.broadpark.no>; Mon, 18 Jul 2011 14:44:03 +0200 (CEST) Received: from kg-v2.kg4.no ([80.203.92.230]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LOJ002SR2CZO230@ignis-smin.broadpark.no>; Mon, 18 Jul 2011 13:53:23 +0200 (CEST) Date: Mon, 18 Jul 2011 13:53:23 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20110718135323.418032fe.torfinn.ingolfsen@broadpark.no> In-reply-to: <4E23FFC6.3060404@FreeBSD.org> References: <4E23FFC6.3060404@FreeBSD.org> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: freebsd-usb@FreeBSD.org Subject: Re: epson perfection v33 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, 18 Jul 2011 12:45:48 -0000 Hello, On Mon, 18 Jul 2011 12:41:26 +0300 Andriy Gapon wrote: > Just trying to find out if anyone got Epson Perfection v33 USB scanner working > with SANE on FreeBSD. Or any other similar Epson scanner that requires > proprietary drivers from Avasys under Linux. Well, I have an Epson "all-in-one" Stylus Office BX525WD[1]. It is not connected directly to a machine, it is connected to my LAN (wireless). The scanner part actually works quite ok under FreeBSD, the only problem is that SANE on FreeBSD doesn't detect it automatically (it does on Linux / Xubuntu), so I have to do this like: xsane epson2:net:10.1.161.8 gscan2pdf --device epson2:net:10.1.161.8 As I can't specify the device when using xsane as a GIMP plugin, I can't use the GIMP. For some reason, xscanimage just core dumps: tingo@kg-v2$ xscanimage epson2:net:10.1.161.8 Segmentation fault (core dumped) but it also core dumps under Xubuntu. So far the people at the sane-devel mailing list hasn't suggested anything helpful for getting xscanimage to work. HTH References: 1) http://sites.google.com/site/tingox/epson_bx525wd_freebsd -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 11:34:46 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 85C591065675 for ; Tue, 19 Jul 2011 11:34:46 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id D5C568FC14 for ; Tue, 19 Jul 2011 11:34:45 +0000 (UTC) Received: (qmail invoked by alias); 19 Jul 2011 11:34:43 -0000 Received: from unknown (EHLO [192.168.73.192]) [79.107.186.205] by mail.gmx.com (mp-eu001) with SMTP; 19 Jul 2011 13:34:43 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+vYLZPDliviJPkzJbyryJ7hvS6muOeo7Baes0Q4D i1bJ1hh5yYee+9 Message-ID: <4E256BC3.9000500@gmx.com> Date: Tue, 19 Jul 2011 14:34:27 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 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, 19 Jul 2011 11:34:46 -0000 Hi, I am seeing this message flooding /var/log/messages. There is an APC UPS connected to this port which seems to behave correctly AFAICT. Is there something I can do to fix the warning? Or preferably not, is there a sysctl knob to disable logging messages for unknown USB devices? > Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 > Jul 19 07:58:00 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 > Jul 19 09:32:01 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 > Jul 19 09:38:59 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 > Jul 19 10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 > Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Thanks a lot, Nikos From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 11:37: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 8985A106566B for ; Tue, 19 Jul 2011 11:37:06 +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 1C01C8FC13 for ; Tue, 19 Jul 2011 11:37:05 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=b1OjdpkY_F8A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=yRmdBRbxfZ4942rF6JQA:9 a=uFkK7yAe_bmsG32T5ZEA:7 a=wPNLvfGTeEIA: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 152504074; Tue, 19 Jul 2011 13:37:03 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 19 Jul 2011 13:34:56 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E256BC3.9000500@gmx.com> In-Reply-To: <4E256BC3.9000500@gmx.com> 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107191334.56281.hselasky@c2i.net> Cc: Subject: Re: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 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, 19 Jul 2011 11:37:06 -0000 On Tuesday 19 July 2011 13:34:27 Nikos Vassiliadis wrote: > Hi, > > I am seeing this message flooding /var/log/messages. There is an APC > UPS connected to this port which seems to behave correctly AFAICT. > > Is there something I can do to fix the warning? > > Or preferably not, is there a sysctl knob to disable logging messages > for unknown USB devices? > > > Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product > > 0x0002 bus uhub0 Jul 19 07:58:00 leto root: Unknown USB device: vendor > > 0x051d product 0x0002 bus uhub0 Jul 19 09:32:01 leto root: Unknown USB > > device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 09:38:59 leto > > root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 > > 10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus > > uhub0 Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d > > product 0x0002 bus uhub0 > > Thanks a lot, Nikos Is the HAL port up to date? --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 11:41: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 E2ACA1065675 for ; Tue, 19 Jul 2011 11:41:15 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 3E0A38FC18 for ; Tue, 19 Jul 2011 11:41:15 +0000 (UTC) Received: (qmail invoked by alias); 19 Jul 2011 11:41:14 -0000 Received: from unknown (EHLO [192.168.73.192]) [79.107.186.205] by mail.gmx.com (mp-eu004) with SMTP; 19 Jul 2011 13:41:14 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+6yN8tgZC6yBHO+P6T81YI5JnyutG5/K4FghkGau C3rQlZ14xnfhpI Message-ID: <4E256D4C.10707@gmx.com> Date: Tue, 19 Jul 2011 14:41:00 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Hans Petter Selasky References: <4E256BC3.9000500@gmx.com> <201107191334.56281.hselasky@c2i.net> In-Reply-To: <201107191334.56281.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-usb@freebsd.org Subject: Re: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 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, 19 Jul 2011 11:41:16 -0000 On 7/19/2011 2:34 PM, Hans Petter Selasky wrote: > On Tuesday 19 July 2011 13:34:27 Nikos Vassiliadis wrote: >> Hi, >> >> I am seeing this message flooding /var/log/messages. There is an APC >> UPS connected to this port which seems to behave correctly AFAICT. >> >> Is there something I can do to fix the warning? >> >> Or preferably not, is there a sysctl knob to disable logging messages >> for unknown USB devices? >> >>> Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product >>> 0x0002 bus uhub0 Jul 19 07:58:00 leto root: Unknown USB device: vendor >>> 0x051d product 0x0002 bus uhub0 Jul 19 09:32:01 leto root: Unknown USB >>> device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 09:38:59 leto >>> root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 >>> 10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus >>> uhub0 Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d >>> product 0x0002 bus uhub0 >> >> Thanks a lot, Nikos > > Is the HAL port up to date? There is no HAL port installed. The only thing that's USB related is the nut(network UPS tools) port. Also, this is on 8.2-RELEASE-p1. Nikos From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 11:50:21 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 1C02B1065672 for ; Tue, 19 Jul 2011 11:50:21 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC028FC14 for ; Tue, 19 Jul 2011 11:50:20 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=EIZfbDsN8gr1c4B7uGrP4foh/gtfZ6zZRee2cLtKwTU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=b1OjdpkY_F8A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=_AGr-F3gb-SBy8wcpBsA:9 a=b0hEv-nXePwELyWw730A:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 154779428; Tue, 19 Jul 2011 13:50:18 +0200 From: Hans Petter Selasky To: Nikos Vassiliadis Date: Tue, 19 Jul 2011 13:48:10 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E256BC3.9000500@gmx.com> <201107191334.56281.hselasky@c2i.net> <4E256D4C.10707@gmx.com> In-Reply-To: <4E256D4C.10707@gmx.com> 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107191348.10280.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 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, 19 Jul 2011 11:50:21 -0000 On Tuesday 19 July 2011 13:41:00 Nikos Vassiliadis wrote: > On 7/19/2011 2:34 PM, Hans Petter Selasky wrote: > > On Tuesday 19 July 2011 13:34:27 Nikos Vassiliadis wrote: > >> Hi, > >> > >> I am seeing this message flooding /var/log/messages. There is an APC > >> UPS connected to this port which seems to behave correctly AFAICT. > >> > >> Is there something I can do to fix the warning? > >> > >> Or preferably not, is there a sysctl knob to disable logging messages > >> for unknown USB devices? > >> > >>> Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product > >>> 0x0002 bus uhub0 Jul 19 07:58:00 leto root: Unknown USB device: vendor > >>> 0x051d product 0x0002 bus uhub0 Jul 19 09:32:01 leto root: Unknown USB > >>> device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 09:38:59 leto > >>> root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 > >>> 10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 > >>> bus uhub0 Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d > >>> product 0x0002 bus uhub0 > >> > >> Thanks a lot, Nikos > > > > Is the HAL port up to date? > > There is no HAL port installed. The only thing that's USB related is > the nut(network UPS tools) port. Also, this is on 8.2-RELEASE-p1. Hi, Have you tried 8-stable? I think this issue has been mentioned earlier at this list. Try searching the archives. Also try looking at devd which might give some clues. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 12:20:16 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 E9155106566B for ; Tue, 19 Jul 2011 12:20:16 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 40FA18FC0C for ; Tue, 19 Jul 2011 12:20:16 +0000 (UTC) Received: (qmail invoked by alias); 19 Jul 2011 12:20:14 -0000 Received: from unknown (EHLO [192.168.73.192]) [79.107.186.205] by mail.gmx.com (mp-eu001) with SMTP; 19 Jul 2011 14:20:14 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18L9ig49XYLRkh5l661WcvPBOtFvqPYMTRxQ7E08f 06qL3DGPVHwwHO Message-ID: <4E257671.1080901@gmx.com> Date: Tue, 19 Jul 2011 15:20:01 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Hans Petter Selasky References: <4E256BC3.9000500@gmx.com> <201107191334.56281.hselasky@c2i.net> <4E256D4C.10707@gmx.com> <201107191348.10280.hselasky@c2i.net> In-Reply-To: <201107191348.10280.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-usb@freebsd.org Subject: Re: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 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, 19 Jul 2011 12:20:17 -0000 On 7/19/2011 2:48 PM, Hans Petter Selasky wrote: > Have you tried 8-stable? I think this issue has been mentioned earlier at this > list. Try searching the archives. I did see some references but no solution. I cannot try 8-STABLE at the moment but I'll report back when I'll update it. > Also try looking at devd which might give > some clues. Aha, that was devd logging! It was not that obvious that devd was creating the logging messages! Perhaps it should prepend its name to the log? Thanks a lot HPS! Nikos From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 12:56:45 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 4FCD8106567A for ; Tue, 19 Jul 2011 12:56:45 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:12b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9CBE48FC16 for ; Tue, 19 Jul 2011 12:56:44 +0000 (UTC) Received: from workstation1.localnet (workstation1.local.chronos.org.uk [IPv6:2001:470:1f09:12b::20]) (authenticated bits=0) by chronos.org.uk (8.14.4/8.14.4) with ESMTP id p6JCucHQ044508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Jul 2011 13:56:38 +0100 (BST) (envelope-from matt@chronos.org.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 chronos.org.uk p6JCucHQ044508 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=chronos.org.uk; s=mail; t=1311080198; bh=7C3w6GqGwVxd6oZkIlL+6oT3WuYeL46VXcRFUQVHOEs=; h=From:To:Subject:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id; b=V7SO7msBe1R0b8XM4JvavyAWWOCxVpyE5ljzj0iAN2Xods1ZWjGCeXz0gc7p3FECp VjWA9u18rp8bb5wS4fmhhGA4sEs3pm9Z0fdKpiAgPHi/N523Kf51hLjZPsOagBkYxj 78lKviqF7W76g5SRUQBmG7IgB/g3IsstIC2olG9c= From: Matt Dawson To: freebsd-usb@freebsd.org Date: Tue, 19 Jul 2011 13:56:36 +0100 User-Agent: KMail/1.13.7 (FreeBSD/8.2-RELEASE; KDE/4.6.4; amd64; ; ) X-Face: -a*{KS?gYyH>pt=1?H+(>B2Z'>b6WxX:^O@+VaMV>l\tOh@[x`#&AHSdl`m<-EEhk=1%t9iRthI|; ~8)mN@qxJ}x5l:zhDO(.as NeO!\oL7huHfsoF'I5,0G+Yo[G-G"FG,l`QJ$IgwH/[\a]vRH^'=`;cY+*_{Or` MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201107191356.36832.matt@chronos.org.uk> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (chronos.org.uk [IPv6:2001:470:1f09:12b::1]); Tue, 19 Jul 2011 13:56:38 +0100 (BST) X-Virus-Scanned: clamav-milter 0.97.1 at central.local.chronos.org.uk X-Virus-Status: Clean X-Spam-Status: No, score=-98.8 required=3.0 tests=BAYES_00, DATE_IN_FUTURE_12_24,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_PASS, T_RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on central.local.chronos.org.uk Subject: Porting op to FreeBSD 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, 19 Jul 2011 12:56:45 -0000 Hi all, Apologies if I'm posting to the wrong list, but this one looks to have more USB knowledge than general ports. Just LART me if I'm mistaken and I'll post to ports@. I'm trying to port this: http://sourceforge.net/projects/openprogrammer/files/OP/op_0.7.9.tar.gz to FreeBSD and have run into a brick wall (my lack of knowledge, basically). It uses Linux' hiddev to communicate with the OpenProgrammer hardware, which isn't compatible with our usbhid. The ioctls and structs are very different. The programmer itself has a uhidX device node and seems to be fine under FreeBSD. Can some kind soul give me some pointers? Specifically, some clue as to how to translate from hiddev to usbhid would be most helpful. There's also a GTK based GUI which I suspect will all fall into place once I have the CLI sussed. Any help at all on this would be most gratefully received as this device is much, *much* more reliable and intuitive than the JDM type programmers that picprog supports, along with having some very useful Atmel and I2C device support. It also doesn't rely on the disappearing RS232 port. Thanks in advance, -- Matt Dawson MTD15-RIPE matt@chronos.org.uk From owner-freebsd-usb@FreeBSD.ORG Tue Jul 19 13:15:27 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 ED526106566C for ; Tue, 19 Jul 2011 13:15:27 +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 751148FC15 for ; Tue, 19 Jul 2011 13:15:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=FP58Ms26AAAA:8 a=ndaoGXS1AAAA:8 a=KJTJApWhM0w4li1Q4Y0A:9 a=wPNLvfGTeEIA: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 152542142; Tue, 19 Jul 2011 15:15:25 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 19 Jul 2011 15:13:17 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201107191356.36832.matt@chronos.org.uk> In-Reply-To: <201107191356.36832.matt@chronos.org.uk> 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107191513.17906.hselasky@c2i.net> Cc: Matt Dawson Subject: Re: Porting op to FreeBSD 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, 19 Jul 2011 13:15:28 -0000 On Tuesday 19 July 2011 14:56:36 Matt Dawson wrote: > Hi all, > Apologies if I'm posting to the wrong list, but this one looks to > have more USB knowledge than general ports. Just LART me if I'm > mistaken and I'll post to ports@. I'm trying to port this: > > http://sourceforge.net/projects/openprogrammer/files/OP/op_0.7.9.tar.gz > > to FreeBSD and have run into a brick wall (my lack of knowledge, > basically). It uses Linux' hiddev to communicate with the > OpenProgrammer hardware, which isn't compatible with our usbhid. The > ioctls and structs are very different. The programmer itself has a > uhidX device node and seems to be fine under FreeBSD. Hi, There are many ways to achieve your goal. The simplest one might be to compile the Linux HID layer into the webcamd deamon and have a compatible interface. This means no porting effort. You will have to checkout and install the linux_make tool from the I4B SVN, referred to from the webcamd (/usr/ports/multimedia/webcamd) homepage: http://www.selasky.org/hans_petter/video4bsd/ And add some config entries to the config file for the HID layer, and possibly also resolve a few compile issues. --HPS > Can some kind soul give me some pointers? Specifically, some clue as > to how to translate from hiddev to usbhid would be most helpful. > > There's also a GTK based GUI which I suspect will all fall into place > once I have the CLI sussed. Any help at all on this would be most > gratefully received as this device is much, *much* more reliable and > intuitive than the JDM type programmers that picprog supports, along > with having some very useful Atmel and I2C device support. It also > doesn't rely on the disappearing RS232 port. > > Thanks in advance, From owner-freebsd-usb@FreeBSD.ORG Wed Jul 20 08:59:50 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 5512C106564A for ; Wed, 20 Jul 2011 08:59:50 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:12b::2]) by mx1.freebsd.org (Postfix) with ESMTP id B00A58FC1A for ; Wed, 20 Jul 2011 08:59:48 +0000 (UTC) Received: from workstation1.localnet (workstation1.local.chronos.org.uk [IPv6:2001:470:1f09:12b::20]) (authenticated bits=0) by chronos.org.uk (8.14.4/8.14.4) with ESMTP id p6K8xbud033705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jul 2011 09:59:37 +0100 (BST) (envelope-from matt@chronos.org.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 chronos.org.uk p6K8xbud033705 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=chronos.org.uk; s=mail; t=1311152378; bh=0nmdWO83lI3uON0q+wUh/o8CQTG70yTVMuNem8UaGEQ=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=JGLOw970a6cvs8SPNVIFAUhxJNC1P9KFeZpETNQGnUbJ8MnOxLEii3vwp/8xdhpzn zOaV3jNZ4OgYuWsHlGGAWQo1c9+WwEs1LMX2aCjyKsUV4ICcl8HmfMoCR5Yf0sUv81 DNxBt9tZds7xBuZWgJNDNhMS6FIS8A8meyOtxQk4= From: Matt Dawson To: Hans Petter Selasky Date: Wed, 20 Jul 2011 09:59:35 +0100 User-Agent: KMail/1.13.7 (FreeBSD/8.2-RELEASE; KDE/4.6.4; amd64; ; ) References: <201107191356.36832.matt@chronos.org.uk> <201107191513.17906.hselasky@c2i.net> In-Reply-To: <201107191513.17906.hselasky@c2i.net> X-Face: -a*{KS?gYyH>pt=1?H+(>B2Z'>b6WxX:^O@+VaMV>l\tOh@[x`#&AHSdl`m<-EEhk=1%t9iRthI|; ~8)mN@qxJ}x5l:zhDO( =?iso-8859-1?q?=2Eas=0A?= NeO!\oL7huHfsoF'I5,0G+Yo[G-G"FG,l`QJ$IgwH/[\a]vRH^'=`; cY+*_{Or` MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107200959.36056.matt@chronos.org.uk> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (chronos.org.uk [IPv6:2001:470:1f09:12b::1]); Wed, 20 Jul 2011 09:59:38 +0100 (BST) X-Virus-Scanned: clamav-milter 0.97.1 at central.local.chronos.org.uk X-Virus-Status: Clean X-Spam-Status: No, score=-100.0 required=3.0 tests=BAYES_00, DATE_IN_FUTURE_24_48,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_PASS, T_RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on central.local.chronos.org.uk Cc: freebsd-usb@freebsd.org Subject: Re: Porting op to FreeBSD 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, 20 Jul 2011 08:59:50 -0000 On Tuesday 19 July 2011 14:13:17 Hans Petter Selasky wrote: > > http://sourceforge.net/projects/openprogrammer/files/OP/op_0.7.9. > > tar.gz > > > > to FreeBSD and have run into a brick wall (my lack of knowledge, > > basically). It uses Linux' hiddev to communicate with the > > OpenProgrammer hardware, which isn't compatible with our usbhid. > > The ioctls and structs are very different. The programmer itself > > has a uhidX device node and seems to be fine under FreeBSD. > > There are many ways to achieve your goal. The simplest one might be > to compile the Linux HID layer into the webcamd deamon and have a > compatible interface. This means no porting effort. Interesting, although it does introduce a dependency on webcamd which, for an otherwise small program, seems a little mad. > You will have to checkout and install the linux_make tool from the > I4B SVN, referred to from the webcamd > (/usr/ports/multimedia/webcamd) homepage: > > http://www.selasky.org/hans_petter/video4bsd/ > > And add some config entries to the config file for the HID layer, > and possibly also resolve a few compile issues. I suspect this is going to be the main issue. It pulls in hiddev.h for Linux directly and has no configure stage, so it expects those headers to be where they should be on a vanilla Linux box. It does compile under Windows/Cygwin with a conditional in the defines, so the dependency on hiddev is obviously portable. I'd much rather make it native and throw my changes back upstream. The whole point of this device is that it's open so it needs to run everywhere and that little CLI really is the bare bones. I have been in contact with the developer and he thinks getting read() and write() working is the main step and everything else is trivial. It's just translating those ioctl calls and structs to our usbhid that stumping me, simply because I don't understand what they do in either OS. I have an idea that the ioctls are simply to pull in the packet size for read and write operations but, beyond that, my clue chest is empty. I'll probably have to just bite the bullet, sit down and compare what it does in both Linux and Windows/Cygwin and then try to work out how to get the same results on FreeBSD. There's no being lazy, it seems! -- Matt Dawson MTD15-RIPE matt@chronos.org.uk From owner-freebsd-usb@FreeBSD.ORG Wed Jul 20 12:59:11 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 BDABC1065678 for ; Wed, 20 Jul 2011 12:59:11 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7E61B8FC14 for ; Wed, 20 Jul 2011 12:59:11 +0000 (UTC) Received: by vws18 with SMTP id 18so179501vws.13 for ; Wed, 20 Jul 2011 05:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=tIPD2KE5ib6zWvRF+xOmNcVCGu92kKbM4KhX16/R4YQ=; b=ffPTKMPnLde+knK/dM/zAxmZbxptzLIr45HodnCCLTSu1oVi2rMBa5N1YD1R6hE7bh FioHX6hxCmBluBh9j1xRBuh5MSisl4YLE6ewIyV1u5SthxTTAo6Q2gZ0O/c0zcJwNCaT bHUPisvX05pIOQXAoBKMJfMAH/NMAhFH/c6Sc= MIME-Version: 1.0 Received: by 10.52.29.178 with SMTP id l18mr5651863vdh.90.1311165037996; Wed, 20 Jul 2011 05:30:37 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Wed, 20 Jul 2011 05:30:37 -0700 (PDT) Date: Wed, 20 Jul 2011 14:30:37 +0200 Message-ID: From: Peer Stritzinger To: freebsd-usb Content-Type: text/plain; charset=ISO-8859-1 Subject: Powercycling USB device on hub 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, 20 Jul 2011 12:59:11 -0000 Hi, is ist possible to power-cycle the HUB port of a USB device by programmatic means (via script or libusb or some ioctl)? It would be perfect if I could power-off/on just a certain device but it would also help to power-cycle all devices on a HUB. Cheers, Peer Stritzinger From owner-freebsd-usb@FreeBSD.ORG Wed Jul 20 13:22: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 9D98F106566B for ; Wed, 20 Jul 2011 13:22:07 +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 2DD308FC16 for ; Wed, 20 Jul 2011 13:22:06 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=+LLZvqFYyQMD97787hX2hEPd56rg/J55He15d4DUFUo= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fa5KVJVg6bUA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=1fD-6izRr7WVgPn3Yp4A:9 a=wPNLvfGTeEIA:10 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 155303323; Wed, 20 Jul 2011 15:22:05 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 20 Jul 2011 15:19:55 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107201519.55975.hselasky@c2i.net> Cc: Subject: Re: Powercycling USB device on hub 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, 20 Jul 2011 13:22:07 -0000 On Wednesday 20 July 2011 14:30:37 Peer Stritzinger wrote: > Hi, > > is ist possible to power-cycle the HUB port of a USB device by > programmatic means (via script or libusb or some ioctl)? > > It would be perfect if I could power-off/on just a certain device but > it would also help to power-cycle all devices on a HUB. > Hi, Using the usbconfig utility in 8 stable and 9 current, you can set the configuration to 255 which means unconfigured and then 0 for the root HUB. For non-root HUBs you can BUS-reset the devices usbconfig -d X.Y reset or set_config aswell. There is also a power_off command, but your device might not come back after that. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 10:47:56 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 B973C1065674 for ; Thu, 21 Jul 2011 10:47:56 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 795248FC15 for ; Thu, 21 Jul 2011 10:47:56 +0000 (UTC) Received: by vxg33 with SMTP id 33so1090368vxg.13 for ; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=c1647Yjq08/ppTpR5q2dp96AagD9/S0gtmditabxLv0=; b=H+SzPZJxdwZOuWoQ6QaAUpOT06kN7Ynunjn5G/4G6c73XskVcg2qH86pPuDlhPQcsC MHx15q8z8nhcJzFUKdmHZ8Ece1kWtrRG5NFmE+rG0WiuRSVPWbpp4glfZue8B/0yShzb e9Q/rRF/YuswYm87Kd7cUyY93W78YmdZM47Xg= MIME-Version: 1.0 Received: by 10.52.29.178 with SMTP id l18mr92472vdh.90.1311245275828; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) In-Reply-To: <201107201519.55975.hselasky@c2i.net> References: <201107201519.55975.hselasky@c2i.net> Date: Thu, 21 Jul 2011 12:47:55 +0200 Message-ID: From: Peer Stritzinger To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: Powercycling USB device on hub 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: Thu, 21 Jul 2011 10:47:56 -0000 Hi, On Wed, Jul 20, 2011 at 3:19 PM, Hans Petter Selasky wrote: > On Wednesday 20 July 2011 14:30:37 Peer Stritzinger wrote: >>... > Using the usbconfig utility in 8 stable and 9 current, you can set the > configuration to 255 which means unconfigured and then 0 for the root HUB. For > non-root HUBs you can BUS-reset the devices usbconfig -d X.Y reset or > set_config aswell. Do I understand this right: I reset the USB Hub device to powercycle all devices connected to it? >There is also a power_off command, but your device might > not come back after that. This would probably really not help since I try to reboot a USB device with hung software, so it won't recognize any commands itself. -- Peer From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 10:51:18 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 0375F1065670 for ; Thu, 21 Jul 2011 10:51:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 86DB38FC19 for ; Thu, 21 Jul 2011 10:51:17 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=yfIOS+81wnQIz0UwZPDdWOvE/jQxEvyI9Z1xC25I9wc= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fa5KVJVg6bUA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=m9U9hcouXGd-qSs7-NUA:9 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 156117575; Thu, 21 Jul 2011 12:51:15 +0200 From: Hans Petter Selasky To: Peer Stritzinger Date: Thu, 21 Jul 2011 12:49:03 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201107201519.55975.hselasky@c2i.net> In-Reply-To: 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107211249.03972.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Powercycling USB device on hub 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: Thu, 21 Jul 2011 10:51:18 -0000 On Thursday 21 July 2011 12:47:55 Peer Stritzinger wrote: > Hi, > > On Wed, Jul 20, 2011 at 3:19 PM, Hans Petter Selasky wrote: > > On Wednesday 20 July 2011 14:30:37 Peer Stritzinger wrote: > >>... > >> > > Using the usbconfig utility in 8 stable and 9 current, you can set the > > configuration to 255 which means unconfigured and then 0 for the root > > HUB. For non-root HUBs you can BUS-reset the devices usbconfig -d X.Y > > reset or set_config aswell. > Hi, > Do I understand this right: I reset the USB Hub device to powercycle > all devices connected to it? Yes. That is correct. > > >There is also a power_off command, but your device might > > > > not come back after that. > > This would probably really not help since I try to reboot a USB device > with hung software, so it won't recognize any commands itself. Have you tried usbconfig -d X.Y reset ? Do a power_off command before the parent HUB reset, if the parent HUB reset is not enough. Beware that some motherboards hardwire the powersupply to the USB port. I.E. it is not possible to power-cycle the root HUB USB port. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 12:04:24 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 4E0A41065672 for ; Thu, 21 Jul 2011 12:04:24 +0000 (UTC) (envelope-from uffe@uffe.org) Received: from mail.starion.dk (mx0.starion.dk [93.162.70.34]) by mx1.freebsd.org (Postfix) with SMTP id 91C518FC13 for ; Thu, 21 Jul 2011 12:04:23 +0000 (UTC) Received: (qmail 21973 invoked by uid 1004); 21 Jul 2011 11:37:44 -0000 Message-ID: <4E280986.8020701@uffe.org> Date: Thu, 21 Jul 2011 13:12:06 +0200 From: Uffe Jakobsen X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 12:04:24 -0000 Hi, Apologies if this is a kind of off-topic for this list - since it does not have anything to do with FreeBSD. The external USB-hubs (v2.0) that I've come across comes in two categories: Some are willing to deliver power (500mA pr. connector) even if the hub isn't connected to a computer - and some that doesn't do this - the hubs that I have purchased from Dlink falls into the last category. I looking for an USB hub that is willing to deliver power without it beeing connected to a computer in order to drive some external units - no it is not a mobile-phone ;-) Could anyone give me a hint what specs to look for ? - before I actually buy another hub - the Dlink ones were not a success... Thanks in advance. Kind regards Uffe Jakobsen From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 13:19:47 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 4373D106564A for ; Thu, 21 Jul 2011 13:19:47 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id F37908FC08 for ; Thu, 21 Jul 2011 13:19:46 +0000 (UTC) Received: by qwc9 with SMTP id 9so855718qwc.13 for ; Thu, 21 Jul 2011 06:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lR997lpo9mle23rOc+iqI6GTBylxZnKBFBSsXTNyS4c=; b=WqGglhsJoYJs/LyiqhjEPkjoQCK+52AY7qepX5TchOYWOtgQ+lIqPtWTCedEeMR8Bb 1yi/pwdjDeMdx+0TbYyLS49A6GDsFDmtEKw+LQ55LQUgnL2Kqp8kfUUm9y+hvmuTbPMr 4mrA03T/+ytUSVaQ1xPalJ9DmVehYLoc2R8Hw= MIME-Version: 1.0 Received: by 10.224.207.193 with SMTP id fz1mr150767qab.348.1311252942290; Thu, 21 Jul 2011 05:55:42 -0700 (PDT) Received: by 10.224.11.138 with HTTP; Thu, 21 Jul 2011 05:55:42 -0700 (PDT) In-Reply-To: <4E280986.8020701@uffe.org> References: <4E280986.8020701@uffe.org> Date: Thu, 21 Jul 2011 08:55:42 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Uffe Jakobsen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 13:19:47 -0000 On Thu, Jul 21, 2011 at 7:12 AM, Uffe Jakobsen wrote: > > > Hi, > > Apologies if this is a kind of off-topic for this list - since it does not > have anything to do with FreeBSD. > > The external USB-hubs (v2.0) that I've come across comes in two categories: > > Some are willing to deliver power (500mA pr. connector) even if the hub > isn't connected to a computer - and some that doesn't do this - the hubs > that I have purchased from Dlink falls into the last category. > > I looking for an USB hub that is willing to deliver power without it beeing > connected to a computer in order to drive some external units - no it is not > a mobile-phone ;-) > > Could anyone give me a hint what specs to look for ? - before I actually > buy another hub - the Dlink ones were not a success... > > Thanks in advance. > > Kind regards Uffe Jakobsen > > > For me . it is difficult to understand your question . Any links to actual products in such questions may clarify the subject matter very much . In market , there are mainly two kinds of USB hubs : - without power supply , mostly up to four ports or less : Example : http://www.amazon.com/Connectland-CL-U2MNHUB-4B-Ports-V2-0-Black/dp/B0028Y4F4S/ref=sr_1_3?ie=UTF8&qid=1311251176&sr=8-3 - with power supply , mostly with more than four ports : Example : http://www.amazon.com/Black-Ports-Speed-Power-Adapter/dp/B00475WJEY/ref=sr_1_9?ie=UTF8&qid=1311250656&sr=8-9 If you need power in ports even it is NOT connected to a computer or there is no power from the computer ( it is switched off ) , you need at least a power supply powered USB hub . Also , the following page contains explanations about power in USB hubs : http://en.wikipedia.org/wiki/USB_hub http://en.wikipedia.org/wiki/Category:USB http://en.wikipedia.org/wiki/USB To understand whether a hub is delivering power to ports when it is not connected to the computer or the computer is switched of , you may measure voltages in its port pins ( 1 and 4 ) by powering the hub by its power supply only : If there is NO voltage , the power supply is bogus ( or eye painting ) . If there is sufficient voltage it means that the hub is powering its ports itself without getting power from the computer port . Power level of power supply should be sufficiently powerful to supply 500 mA to each port , means ( Total power rating ) = ( Number of Ports ) x 500 mA . ( This may require to buy another power supply for the hub if its power supply is not sufficiently powerful ) . OR , It is necessary to consciously NOT to exceed the total power of the power supply by attaching less number of devices to ports : ( Power rating of power supply of hub ) / 500 mA = ( Number of devices attachable to Ports ) ( which is NOT a good selection because if this point is forgotten it is possible to easily exceed the capacity of the power supply means destroy of your hub or malfunctioning of data transmission , if I am correct ... ) . I do not know whether the above answer is correct for you or not . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 13:50: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 8A650106564A for ; Thu, 21 Jul 2011 13:50:35 +0000 (UTC) (envelope-from uffe@uffe.org) Received: from mail.starion.dk (mx0.starion.dk [93.162.70.34]) by mx1.freebsd.org (Postfix) with SMTP id DAEEA8FC19 for ; Thu, 21 Jul 2011 13:50:34 +0000 (UTC) Received: (qmail 26139 invoked by uid 1004); 21 Jul 2011 13:50:37 -0000 Message-ID: <4E282DCE.2070403@uffe.org> Date: Thu, 21 Jul 2011 15:50:17 +0200 From: Uffe Jakobsen X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <4E280986.8020701@uffe.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 13:50:35 -0000 On 2011-07-21 14:55, Mehmet Erol Sanliturk wrote: > > > On Thu, Jul 21, 2011 at 7:12 AM, Uffe Jakobsen > wrote: > > Apologies if this is a kind of off-topic for this list - since it > does not have anything to do with FreeBSD. > > The external USB-hubs (v2.0) that I've come across comes in two > categories: > > Some are willing to deliver power (500mA pr. connector) even if the > hub isn't connected to a computer - and some that doesn't do this - > the hubs that I have purchased from Dlink falls into the last category. > > I looking for an USB hub that is willing to deliver power without it > beeing connected to a computer in order to drive some external units > - no it is not a mobile-phone ;-) > > Could anyone give me a hint what specs to look for ? - before I > actually buy another hub - the Dlink ones were not a success... > > > I do not know whether the above answer is correct for you or not . > Hi Mehmet, Thanks for your answer - it has revealed that my initial inquiry was quite inaccurate - my apologies for that. I'll try to fill out the gaps. The product I'm referring to is a Dlink DUB-H7 (http://www.dlink.com/products/?pid=149). A standard USB 2.0 hub with 7 ports that can be powered from an external power supply. I do know how to determine if there is power on an usb connector (pins 1+4) - also I know the math involved in making sure that the hub is not overloaded - but that it not really the issue here. This usb-hub will (apparently like so many other usb-hubs) only apply power to its connectors if it is connected to a computer (that is running) - and that applies even if the external power supply is connected to the usb-hub. Let me give you an example: You want to charge your mobile phone but you haven't brought the charger itself. You've only got the micro-usb cable for the mobile phone and the above mentioned Dlink hub - also you've got no computer at hand. Now connecting the mobile phone to the usb-hub while the usb-hub is connected to the external power supply will not make the mobile phone start charging. This will only happen once you connect the "uplink" usb cable from the usb-hub and to a computer and boot it up. Let me add here that this has nothing to do with the complexity and internal logic of the mobile phone mobile phone and its software - it could be any other device that can drain its power from an usb cable. I've previously owned an usb hub that would deliver power without beeing connected to a running computer - but unfortunately that was lost during relocation - and I do not remember the model/brand. Now I realize that this functionality is a part of the usb standard - and that leads to my original question: It there anyway to determine this habit without unpacking and testing every the usb-hub ? Kind regards Uffe From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 16:36:30 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 E2A40106568A for ; Thu, 21 Jul 2011 16:36:30 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7E78FC17 for ; Thu, 21 Jul 2011 16:36:30 +0000 (UTC) Received: by qyk30 with SMTP id 30so3934484qyk.13 for ; Thu, 21 Jul 2011 09:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cqGMmifjcTf1vVtPTEiLoSAoFFWCrO2meNWBX1gUoM8=; b=pjr4ee6AKBbrbQ8vZvDmH6EMom9B9WvljnlI2YFki+EXY7GNCENqDBcoP9p4LQZqvG yLMGKIBme4FPbSdBom3Md8QfPxcweRofDvni6EZwAP7OLEt3a5Wa4/AOlXr63O0KpJAv Qh6Dx6qRDt4iSd13CcGxTPofMrZsmYHNT5TUM= MIME-Version: 1.0 Received: by 10.224.179.67 with SMTP id bp3mr430935qab.148.1311266189783; Thu, 21 Jul 2011 09:36:29 -0700 (PDT) Received: by 10.224.11.138 with HTTP; Thu, 21 Jul 2011 09:36:29 -0700 (PDT) In-Reply-To: <4E282DCE.2070403@uffe.org> References: <4E280986.8020701@uffe.org> <4E282DCE.2070403@uffe.org> Date: Thu, 21 Jul 2011 12:36:29 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Uffe Jakobsen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 16:36:31 -0000 On Thu, Jul 21, 2011 at 9:50 AM, Uffe Jakobsen wrote: > > > On 2011-07-21 14:55, Mehmet Erol Sanliturk wrote: > >> >> >> On Thu, Jul 21, 2011 at 7:12 AM, Uffe Jakobsen > > wrote: >> >> Apologies if this is a kind of off-topic for this list - since it >> does not have anything to do with FreeBSD. >> >> The external USB-hubs (v2.0) that I've come across comes in two >> categories: >> >> Some are willing to deliver power (500mA pr. connector) even if the >> hub isn't connected to a computer - and some that doesn't do this - >> the hubs that I have purchased from Dlink falls into the last category. >> >> I looking for an USB hub that is willing to deliver power without it >> beeing connected to a computer in order to drive some external units >> - no it is not a mobile-phone ;-) >> >> Could anyone give me a hint what specs to look for ? - before I >> actually buy another hub - the Dlink ones were not a success... >> >> > >> I do not know whether the above answer is correct for you or not . >> >> > Hi Mehmet, > > Thanks for your answer - it has revealed that my initial inquiry was quite > inaccurate - my apologies for that. > > I'll try to fill out the gaps. > > The product I'm referring to is a Dlink DUB-H7 ( > http://www.dlink.com/products/?pid=149). A standard USB 2.0 hub with 7 > ports that can be powered from an external power supply. > > I do know how to determine if there is power on an usb connector (pins 1+4) > - also I know the math involved in making sure that the hub is not > overloaded - but that it not really the issue here. > > This usb-hub will (apparently like so many other usb-hubs) only apply power > to its connectors if it is connected to a computer (that is running) - and > that applies even if the external power supply is connected to the usb-hub. > > Let me give you an example: > You want to charge your mobile phone but you haven't brought the charger > itself. You've only got the micro-usb cable for the mobile phone and the > above mentioned Dlink hub - also you've got no computer at hand. > Now connecting the mobile phone to the usb-hub while the usb-hub is > connected to the external power supply will not make the mobile phone start > charging. This will only happen once you connect the "uplink" usb cable from > the usb-hub and to a computer and boot it up. > > Let me add here that this has nothing to do with the complexity and > internal logic of the mobile phone mobile phone and its software - it could > be any other device that can drain its power from an usb cable. > > I've previously owned an usb hub that would deliver power without beeing > connected to a running computer - but unfortunately that was lost during > relocation - and I do not remember the model/brand. > > Now I realize that this functionality is a part of the usb standard - and > that leads to my original question: > > It there anyway to determine this habit without unpacking and testing every > the usb-hub ? > > Kind regards Uffe > > > >From the Wikipedia page http://en.wikipedia.org/wiki/USB_hub : "However, there are many non-compliant hubs on the market which announce themselves to the host as self-powered despite really being bus-powered ." It seems that the above unit is NOT using the power supply . One way to learn a suitable model is that one of the subscribers of this list knowing that will answer over time . Personally I do not know . <-------- Forget this , please : I have a Targus 7-port Hub USB 2.0 Desktop Hub with a AC Adapter Barcode : 5 024442 863608 ( ACH82EU ) Targus Europe Ltd. http://www.targus.com/uk/ In that site , search Targus 7-Port USB Desktop Hub My unit is different than the above as model number . Therefore I can not say that they are exactly equivalent , but my expectation is that they will be similar with respect to power delivery to pins . I have measured voltage across pins 1 and 4 just only it is connected to AC power line ( without any connection to any computer , even USB connection cable is not plugged ) . It is giving 5.00 volts between these two pins . I checked by reverse measuring ( to see effect of sign ) . It is giving either 5.00 or -5.00 volts when measuring pins are reversed . It is very likely that you will be able to find that model . Unfortunately , within product definition documents , mostly there is no any clue about your question . Another very simple test may to use a USB light . In computer shops it is very likely that it is possible to find "open" units for inspection by customers . Attach a USB light such as http://www.amazon.com/Portable-Flexible-Light-Laptops-Notebooks/dp/B002WI8GG8/ref=sr_1_1?ie=UTF8&qid=1311265897&sr=8-1 If it gives light , means that pins are receiving power directly from AC power supply . My knowledge is so much . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 21:29: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 2E7A91065670 for ; Thu, 21 Jul 2011 21:29:25 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id AB0608FC16 for ; Thu, 21 Jul 2011 21:29:24 +0000 (UTC) Received: by fxe6 with SMTP id 6so3137362fxe.17 for ; Thu, 21 Jul 2011 14:29:23 -0700 (PDT) Received: by 10.223.28.7 with SMTP id k7mr898165fac.70.1311282243933; Thu, 21 Jul 2011 14:04:03 -0700 (PDT) Received: from rnote.ddteam.net (101-14-133-95.pool.ukrtel.net [95.133.14.101]) by mx.google.com with ESMTPS id f7sm892870faa.32.2011.07.21.14.04.01 (version=SSLv3 cipher=OTHER); Thu, 21 Jul 2011 14:04:02 -0700 (PDT) Date: Fri, 22 Jul 2011 00:03:54 +0300 From: Aleksandr Rybalko To: Mehmet Erol Sanliturk Message-Id: <20110722000354.86fb223b.ray@ddteam.net> In-Reply-To: References: <4E280986.8020701@uffe.org> <4E282DCE.2070403@uffe.org> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 21:29:25 -0000 Hi, I don't know which chip used in your D-Link hub Uffe, but I believe this one made with respect of standard. Uffe, can You do simple test with your device: 1. connect your device to active PC and check if it charging. 2. put your PC in StandBy or PowerOff mode(don't remove power cord), reattach your device and also check if device still charging. In both cases most devices will continue charging, but some "smart" device in second case disable charging. (my Sony PRS-600) I was trying to charge my PRS with power supply with USB connector, and reader don't start charging. So charging can start only after some interaction between USB host and device. On Thu, 21 Jul 2011 12:36:29 -0400 Mehmet Erol Sanliturk wrote: > On Thu, Jul 21, 2011 at 9:50 AM, Uffe Jakobsen wrote: > > > > > > > On 2011-07-21 14:55, Mehmet Erol Sanliturk wrote: > > > >> > >> > >> On Thu, Jul 21, 2011 at 7:12 AM, Uffe Jakobsen >> > wrote: > >> > >> Apologies if this is a kind of off-topic for this list - since > >> it does not have anything to do with FreeBSD. > >> > >> The external USB-hubs (v2.0) that I've come across comes in two > >> categories: > >> > >> Some are willing to deliver power (500mA pr. connector) even if > >> the hub isn't connected to a computer - and some that doesn't do > >> this - the hubs that I have purchased from Dlink falls into the > >> last category. > >> > >> I looking for an USB hub that is willing to deliver power > >> without it beeing connected to a computer in order to drive some > >> external units > >> - no it is not a mobile-phone ;-) > >> > >> Could anyone give me a hint what specs to look for ? - before I > >> actually buy another hub - the Dlink ones were not a success... > >> > >> > > > >> I do not know whether the above answer is correct for you or not . > >> > >> > > Hi Mehmet, > > > > Thanks for your answer - it has revealed that my initial inquiry > > was quite inaccurate - my apologies for that. > > > > I'll try to fill out the gaps. > > > > The product I'm referring to is a Dlink DUB-H7 ( > > http://www.dlink.com/products/?pid=149). A standard USB 2.0 hub > > with 7 ports that can be powered from an external power supply. > > > > I do know how to determine if there is power on an usb connector > > (pins 1+4) > > - also I know the math involved in making sure that the hub is not > > overloaded - but that it not really the issue here. > > > > This usb-hub will (apparently like so many other usb-hubs) only > > apply power to its connectors if it is connected to a computer > > (that is running) - and that applies even if the external power > > supply is connected to the usb-hub. > > > > Let me give you an example: > > You want to charge your mobile phone but you haven't brought the > > charger itself. You've only got the micro-usb cable for the mobile > > phone and the above mentioned Dlink hub - also you've got no > > computer at hand. Now connecting the mobile phone to the usb-hub > > while the usb-hub is connected to the external power supply will > > not make the mobile phone start charging. This will only happen > > once you connect the "uplink" usb cable from the usb-hub and to a > > computer and boot it up. > > > > Let me add here that this has nothing to do with the complexity and > > internal logic of the mobile phone mobile phone and its software - > > it could be any other device that can drain its power from an usb > > cable. > > > > I've previously owned an usb hub that would deliver power without > > beeing connected to a running computer - but unfortunately that was > > lost during relocation - and I do not remember the model/brand. > > > > Now I realize that this functionality is a part of the usb standard > > - and that leads to my original question: > > > > It there anyway to determine this habit without unpacking and > > testing every the usb-hub ? > > > > Kind regards Uffe > > > > > > > > > > > >From the Wikipedia page > > http://en.wikipedia.org/wiki/USB_hub : > > "However, there are many non-compliant hubs on the market which > announce themselves to the host as self-powered despite really being > bus-powered ." > > > It seems that the above unit is NOT using the power supply . > > > One way to learn a suitable model is that one of the subscribers of > this list knowing that will answer over time . > > Personally I do not know . <-------- Forget this , please : > > > I have a > > > Targus 7-port Hub > USB 2.0 Desktop Hub with a AC Adapter > Barcode : 5 024442 863608 > ( ACH82EU ) > > > Targus Europe Ltd. > > http://www.targus.com/uk/ > > In that site , search > > > Targus 7-Port USB Desktop Hub > > > > My unit is different than the above as model number . Therefore I can > not say that they are exactly equivalent , but my expectation is that > they will be similar with respect to power delivery to pins . > > I have measured voltage across pins 1 and 4 just only it is > connected to AC power line ( without any connection to any computer , > even USB connection cable is not plugged ) . > > > It is giving 5.00 volts between these two pins . I checked by reverse > measuring ( to see effect of sign ) . It is giving either 5.00 or > -5.00 volts when measuring pins are reversed . > > It is very likely that you will be able to find that model . > > > Unfortunately , within product definition documents , mostly there is > no any clue about your question . > > > Another very simple test may to use a USB light . > In computer shops it is very likely that it is possible to find > "open" units for inspection by customers . > > Attach a USB light such as > > http://www.amazon.com/Portable-Flexible-Light-Laptops-Notebooks/dp/B002WI8GG8/ref=sr_1_1?ie=UTF8&qid=1311265897&sr=8-1 > > If it gives light , means that pins are receiving power directly from > AC power supply . > > > My knowledge is so much . > > > Thank you very much . > > > Mehmet Erol Sanliturk > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" WBW -- Aleksandr Rybalko From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 23:06:01 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 DBCAB106566C for ; Thu, 21 Jul 2011 23:06:01 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99F338FC15 for ; Thu, 21 Jul 2011 23:06:01 +0000 (UTC) Received: by qyk38 with SMTP id 38so1209755qyk.13 for ; Thu, 21 Jul 2011 16:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PKiWAcJpkVP59aRZF4wKltAlvaZM0G21vUjJyDFMF54=; b=NPymdoHNkLuC4WaoYC+nrp0gjvrNomlry19szhov7wP5eG4lUuQwyAaLIJtO4pH1uh x5I2KpnoS8kA9pYAvfmrePkAjK1jbnbSueonvIOXkRUPLQjf6Z6TuhiNBidg5rHwNY2z XO1HEoI+lhGmy7tVTuUAEsCg5bRzVT9pVbTbk= MIME-Version: 1.0 Received: by 10.224.207.193 with SMTP id fz1mr668749qab.348.1311289560791; Thu, 21 Jul 2011 16:06:00 -0700 (PDT) Received: by 10.224.11.138 with HTTP; Thu, 21 Jul 2011 16:06:00 -0700 (PDT) In-Reply-To: <20110722000354.86fb223b.ray@ddteam.net> References: <4E280986.8020701@uffe.org> <4E282DCE.2070403@uffe.org> <20110722000354.86fb223b.ray@ddteam.net> Date: Thu, 21 Jul 2011 19:06:00 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Aleksandr Rybalko Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: Off-Topic: question about usb-hub power 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: Thu, 21 Jul 2011 23:06:01 -0000 On Thu, Jul 21, 2011 at 5:03 PM, Aleksandr Rybalko wrote: > Hi, > > I don't know which chip used in your D-Link hub Uffe, but I believe > this one made with respect of standard. > > Uffe, can You do simple test with your device: > 1. connect your device to active PC and check if it charging. > 2. put your PC in StandBy or PowerOff mode(don't remove power cord), > reattach your device and also check if device still charging. > > In both cases most devices will continue charging, but some "smart" > device in second case disable charging. (my Sony PRS-600) > > I was trying to charge my PRS with power supply with USB connector, and > reader don't start charging. So charging can start only after some > interaction between USB host and device. > > > ... > WBW > -- > Aleksandr Rybalko > There is another kind of devices which it is very likely that some of them can be found in any local computer store : USB AC Chargers : A few sample pages would be : http://jingshuo888.en.made-in-china.com/product/doLQBGEUHIWS/China-2-Port-USB-AC-Charger-JS-ACN037-.html http://www.eforcity.com/universal-usb-travel-charger-adaptor-dothusbtcad1.html http://www.overstock.com/Electronics/AC-USB-Power-Adapter-Charger/2453811/product.html Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 23:38: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 EA8C4106564A for ; Thu, 21 Jul 2011 23:38:35 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id B17F98FC0C for ; Thu, 21 Jul 2011 23:38:35 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p6LNcX7s072607 for ; Thu, 21 Jul 2011 19:38:33 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E28B879.7080707@sentex.net> Date: Thu, 21 Jul 2011 19:38:33 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Subject: boot hang without xhci 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: Thu, 21 Jul 2011 23:38:36 -0000 More for the archives in case anyone else runs into this. We got a new desktop board in that we were testing out netbooting and noticed that without xhci loaded in the kernel the box hangs with the last thing being initialized em0 (full dmesg etc at http://www.tancsa.com/xhci.txt) Its an Intel DQ67SW ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 22.3 (no driver attached) em0: port 0xf080-0xf09f mem 0xfe600000-0xfe61ffff,0xfe628000-0xfe628fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: [FILTER] em0: Ethernet address: 00:22:4d:52:04:46 with usb 3 disabled in the BIOS, or with xhci loaded, all boots fine as shown below. ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 22.3 (no driver attached) em0: port 0xf080-0xf09f mem 0xfe600000-0xfe61ffff,0xfe628000-0xfe628fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: [FILTER] em0: Ethernet address: 00:22:4d:52:04:46 ehci0: mem 0xfe627000-0xfe6273ff irq 16 at device 26.0 on pci0 ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: on ehci0 pci0: at device 27.0 (no driver attached) pcib1: irq 17 at device 28.0 on pci0 pci1: on pcib1 pcib2: irq 18 at device 28.6 on pci0 pci2: on pcib2 xhci0: mem 0xfe500000-0xfe501fff irq 18 at device 0.0 on pci2 xhci0: [ITHREAD] xhci0: 32 byte context size. -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@FreeBSD.ORG Fri Jul 22 08:12: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 C7E451065675 for ; Fri, 22 Jul 2011 08:12:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABAA8FC21 for ; Fri, 22 Jul 2011 08:12:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=XR4AdwVFe5G+K9PtySS1/JOnv6WK/hruile8wX/SUjk= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=WQU8e4WWZSUA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=jhyeloKOAAAA:8 a=B-G0EbpaNDZIYBYEuo0A:9 a=wPNLvfGTeEIA:10 a=eJg08dc81Si69qdiwlIA:9 a=l3uftYnR-8fSCb2oghUA:7 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 154692428; Fri, 22 Jul 2011 10:12:02 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 22 Jul 2011 10:09:48 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E28B879.7080707@sentex.net> In-Reply-To: <4E28B879.7080707@sentex.net> 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=_MBTKOnmAFvWschM" Message-Id: <201107221009.48110.hselasky@c2i.net> Cc: Subject: Re: boot hang without xhci 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: Fri, 22 Jul 2011 08:12:04 -0000 --Boundary-00=_MBTKOnmAFvWschM Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 22 July 2011 01:38:33 Mike Tancsa wrote: > More for the archives in case anyone else runs into this. > > We got a new desktop board in that we were testing out netbooting and > noticed that without xhci loaded in the kernel the box hangs with the > last thing being initialized em0 (full dmesg etc at > http://www.tancsa.com/xhci.txt) > > Its an Intel DQ67SW > > > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > pci0: at device 22.3 (no driver attached) > em0: port 0xf080-0xf09f mem > 0xfe600000-0xfe61ffff,0xfe628000-0xfe628fff irq 20 at device 25.0 on pci0 > em0: Using an MSI interrupt > em0: [FILTER] > em0: Ethernet address: 00:22:4d:52:04:46 > > with usb 3 disabled in the BIOS, or with xhci loaded, all boots fine as > shown below. Please try the attached patch for /sys/dev/pci: --HPS --Boundary-00=_MBTKOnmAFvWschM Content-Type: text/x-patch; charset="iso-8859-1"; name="xhci_early_takeover.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xhci_early_takeover.patch" === pci.c ================================================================== --- pci.c (revision 224243) +++ pci.c (local) @@ -62,6 +62,7 @@ #include #include +#include #include #include #include @@ -2956,6 +2957,63 @@ bus_release_resource(self, SYS_RES_MEMORY, rid, res); } +/* Perform early XHCI takeover from SMM. */ +static void +xhci_early_takeover(device_t self) +{ + struct resource *res; + uint32_t cparams; + uint32_t eec; + uint8_t eecp; + uint8_t bios_sem; + int rid; + int i; + + rid = PCIR_BAR(0); + res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); + if (res == NULL) + return; + + cparams = bus_read_4(res, XHCI_HCSPARAMS0); + + eec = -1; + + /* Synchronise with the BIOS if it owns the controller. */ + for (eecp = XHCI_HCS0_XECP(cparams) << 2; eecp != 0 && XHCI_XECP_NEXT(eec); + eecp += XHCI_XECP_NEXT(eec) << 2) { + eec = bus_read_4(res, eecp); + + if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) + continue; + + bios_sem = bus_read_1(res, eecp + XHCI_XECP_BIOS_SEM); + if (bios_sem == 0) + continue; + + if (bootverbose) + printf("xhci early: " + "SMM active, request owner change\n"); + + bus_write_1(res, eecp + XHCI_XECP_OS_SEM, 1); + + /* wait a maximum of 5 second */ + + for (i = 0; (i < 5000) && (bios_sem != 0); i++) { + DELAY(1000); + bios_sem = bus_read_1(res, eecp + + XHCI_XECP_BIOS_SEM); + } + + if (bios_sem != 0) { + if (bootverbose) + printf("xhci early: " + "SMM does not respond\n"); + } + + } + bus_release_resource(self, SYS_RES_MEMORY, rid, res); +} + void pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask) { @@ -3002,7 +3060,9 @@ if (pci_usb_takeover && pci_get_class(dev) == PCIC_SERIALBUS && pci_get_subclass(dev) == PCIS_SERIALBUS_USB) { - if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_EHCI) + if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_XHCI) + xhci_early_takeover(dev); + else if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_EHCI) ehci_early_takeover(dev); else if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_OHCI) ohci_early_takeover(dev); --Boundary-00=_MBTKOnmAFvWschM-- From owner-freebsd-usb@FreeBSD.ORG Fri Jul 22 08:24: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 3BC74106566C for ; Fri, 22 Jul 2011 08:24:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4268FC0C for ; Fri, 22 Jul 2011 08:24:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0STrgBBJ/IeSzGUncdVPgrlXwYQACyAaeTEJnWJdz8Q= c=1 sm=1 a=B37yEVmeHOAA:10 a=WQU8e4WWZSUA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=jhyeloKOAAAA:8 a=B-G0EbpaNDZIYBYEuo0A:9 a=wPNLvfGTeEIA:10 a=eJg08dc81Si69qdiwlIA:9 a=l3uftYnR-8fSCb2oghUA:7 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 155814927; Fri, 22 Jul 2011 10:24:22 +0200 To: freebsd-usb@freebsd.org 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: Fri, 22 Jul 2011 10:22:09 +0200 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_xMTKOKq+mHA7yQN" Message-Id: <201107221022.09811.hselasky@c2i.net> Cc: Subject: Re: boot hang without xhci [updated patch] 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: Fri, 22 Jul 2011 08:24:25 -0000 --Boundary-00=_xMTKOKq+mHA7yQN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 22 July 2011 01:38:33 Mike Tancsa wrote: > More for the archives in case anyone else runs into this. > > We got a new desktop board in that we were testing out netbooting and > noticed that without xhci loaded in the kernel the box hangs with the > last thing being initialized em0 (full dmesg etc at > http://www.tancsa.com/xhci.txt) > > Its an Intel DQ67SW > > > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > pci0: at device 22.3 (no driver attached) > em0: port 0xf080-0xf09f mem > 0xfe600000-0xfe61ffff,0xfe628000-0xfe628fff irq 20 at device 25.0 on pci0 > em0: Using an MSI interrupt > em0: [FILTER] > em0: Ethernet address: 00:22:4d:52:04:46 > > with usb 3 disabled in the BIOS, or with xhci loaded, all boots fine as > shown below. Please try the attached patch for /sys/dev/pci: --HPS --Boundary-00=_xMTKOKq+mHA7yQN Content-Type: text/x-patch; charset="iso-8859-1"; name="xhci_early_takeover.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xhci_early_takeover.patch" === pci.c ================================================================== --- pci.c (revision 224243) +++ pci.c (local) @@ -62,6 +62,7 @@ #include #include +#include #include #include #include @@ -2956,6 +2957,68 @@ bus_release_resource(self, SYS_RES_MEMORY, rid, res); } +/* Perform early XHCI takeover from SMM. */ +static void +xhci_early_takeover(device_t self) +{ + struct resource *res; + uint32_t cparams; + uint32_t eec; + uint8_t eecp; + uint8_t bios_sem; + uint8_t offs; + int rid; + int i; + + rid = PCIR_BAR(0); + res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE); + if (res == NULL) + return; + + cparams = bus_read_4(res, XHCI_HCSPARAMS0); + + eec = -1; + + /* Synchronise with the BIOS if it owns the controller. */ + for (eecp = XHCI_HCS0_XECP(cparams) << 2; eecp != 0 && XHCI_XECP_NEXT(eec); + eecp += XHCI_XECP_NEXT(eec) << 2) { + eec = bus_read_4(res, eecp); + + if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) + continue; + + bios_sem = bus_read_1(res, eecp + XHCI_XECP_BIOS_SEM); + if (bios_sem == 0) + continue; + + if (bootverbose) + printf("xhci early: " + "SMM active, request owner change\n"); + + bus_write_1(res, eecp + XHCI_XECP_OS_SEM, 1); + + /* wait a maximum of 5 second */ + + for (i = 0; (i < 5000) && (bios_sem != 0); i++) { + DELAY(1000); + bios_sem = bus_read_1(res, eecp + + XHCI_XECP_BIOS_SEM); + } + + if (bios_sem != 0) { + if (bootverbose) + printf("xhci early: " + "SMM does not respond\n"); + } + + /* Disable interrupts */ + offs = bus_read_1(res, XHCI_CAPLENGTH); + bus_write_4(res, offs + XHCI_USBCMD, 0); + bus_read_4(res, offs + XHCI_USBSTS); + } + bus_release_resource(self, SYS_RES_MEMORY, rid, res); +} + void pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask) { @@ -3002,7 +3065,9 @@ if (pci_usb_takeover && pci_get_class(dev) == PCIC_SERIALBUS && pci_get_subclass(dev) == PCIS_SERIALBUS_USB) { - if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_EHCI) + if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_XHCI) + xhci_early_takeover(dev); + else if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_EHCI) ehci_early_takeover(dev); else if (pci_get_progif(dev) == PCIP_SERIALBUS_USB_OHCI) ohci_early_takeover(dev); --Boundary-00=_xMTKOKq+mHA7yQN-- From owner-freebsd-usb@FreeBSD.ORG Fri Jul 22 14:44:01 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 55CDF106564A for ; Fri, 22 Jul 2011 14:44:01 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 19FD68FC08 for ; Fri, 22 Jul 2011 14:44:01 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p6MEhroi050831; Fri, 22 Jul 2011 10:43:53 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E298CA7.7030808@sentex.net> Date: Fri, 22 Jul 2011 10:43:51 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Hans Petter Selasky References: <201107221022.09811.hselasky@c2i.net> In-Reply-To: <201107221022.09811.hselasky@c2i.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-usb@freebsd.org Subject: Re: boot hang without xhci [updated patch] 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: Fri, 22 Jul 2011 14:44:01 -0000 On 7/22/2011 4:22 AM, Hans Petter Selasky wrote: > > Please try the attached patch for /sys/dev/pci: Looks good! Its able to boot up with and without xhci loaded. 0(ich10)# patch < p Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=== pci.c |================================================================== |--- pci.c (revision 224243) |+++ pci.c (local) -------------------------- Patching file pci.c using Plan A... Hunk #1 succeeded at 62. Hunk #2 succeeded at 2782 (offset -175 lines). Hunk #3 succeeded at 2890 (offset -175 lines). Hmm... Ignoring the trailing garbage. done 0(ich10)# none3@pci0:0:31:3: class=0x0c0500 card=0x20088086 chip=0x1c228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus bar [10] = type Memory, range 64, base 0xfe624000, size 256, enabled bar [20] = type I/O Port, range 32, base 0xf040, size 32, enabled none4@pci0:2:0:0: class=0x0c0330 card=0x20088086 chip=0x01941033 rev=0x03 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[70] = MSI supports 8 messages, 64 bit cap 11[90] = MSI-X supports 8 messages in map 0x10 cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 ffffffffffffffff ecap 0018[150] = unknown 1 I can do a kldload post boot of xhci as well as boot with it loaded at boot time from /boot/loader.conf. xhci0@pci0:2:0:0: class=0x0c0330 card=0x20088086 chip=0x01941033 rev=0x03 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[70] = MSI supports 8 messages, 64 bit cap 11[90] = MSI-X supports 8 messages in map 0x10 cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 ffffffffffffffff ecap 0018[150] = unknown 1 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@FreeBSD.ORG Fri Jul 22 15:37:51 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 CCFF7106564A for ; Fri, 22 Jul 2011 15:37:51 +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 5A79F8FC0A for ; Fri, 22 Jul 2011 15:37:50 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=B37yEVmeHOAA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=inxoUT0z2-M6MwrW5Y4A:9 a=wPNLvfGTeEIA: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 153883662; Fri, 22 Jul 2011 17:37:48 +0200 From: Hans Petter Selasky To: Mike Tancsa Date: Fri, 22 Jul 2011 17:35:35 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201107221022.09811.hselasky@c2i.net> <4E298CA7.7030808@sentex.net> In-Reply-To: <4E298CA7.7030808@sentex.net> 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107221735.35748.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: boot hang without xhci [updated patch] 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: Fri, 22 Jul 2011 15:37:51 -0000 On Friday 22 July 2011 16:43:51 Mike Tancsa wrote: > On 7/22/2011 4:22 AM, Hans Petter Selasky wrote: > > Please try the attached patch for /sys/dev/pci: > Looks good! Its able to boot up with and without xhci loaded. Committed! Thanks for testing. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jul 23 15:20:59 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 540BD106566B for ; Sat, 23 Jul 2011 15:20:59 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7038FC12 for ; Sat, 23 Jul 2011 15:20:58 +0000 (UTC) Received: by vws18 with SMTP id 18so2936598vws.13 for ; Sat, 23 Jul 2011 08:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=o0QQXFfCHNlJcNhb/gq4ihsrz7RUOueTrC3/NtIIZI8=; b=Vygxj5YFYHxROpMSS6Ua40D4MQhgrSL/YHrGv9fHuQgDns4D+PeE77IiKhXMjuUsfK +Zl8DhCArWJ5E++wbK8MxbL7tqsVKtec1DVdJ6v7tG0FUAh+b5PjeuCaPBY6IlKzxwEo CceuASxhzGZZg1J/jinMsu8zuSdngYS83voww= MIME-Version: 1.0 Received: by 10.52.66.15 with SMTP id b15mr2443577vdt.425.1311434458338; Sat, 23 Jul 2011 08:20:58 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Sat, 23 Jul 2011 08:20:58 -0700 (PDT) In-Reply-To: References: <201107201519.55975.hselasky@c2i.net> <201107211249.03972.hselasky@c2i.net> Date: Sat, 23 Jul 2011 17:20:58 +0200 Message-ID: From: Peer Stritzinger To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Powercycling USB device on hub 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, 23 Jul 2011 15:20:59 -0000 Hi, On Thu, Jul 21, 2011 at 12:49 PM, Hans Petter Selasky wr= ote: >> > Using the usbconfig utility in 8 stable and 9 current, you can set the >> > configuration to 255 which means unconfigured and then 0 for the root >> > HUB. For non-root HUBs you can BUS-reset the devices usbconfig -d X.Y >> > reset or set_config aswell. > > Have you tried usbconfig -d X.Y reset ? Problem is that the production system where I need to do this is still running 8.0 ... But I got it working with usbconfig -u X -a Y reset, did not work first because I got the wrong device. Not since I'm reseting the correct (non root) HUB I see a powercycle on the USB device, so it works. > Do a power_off command before the parent HUB reset, if the parent HUB res= et is > not enough. Beware that some motherboards hardwire the powersupply to the= USB > port. I.E. it is not possible to power-cycle the root HUB USB port. Even worse: after trying to reset one of the root HUBS I get: =A0$ sudo usbconfig -u 3 -a 1 reset usbconfig: could not reset device: Device not configured and after this all devices hat are on this bus are no longer visible to usbconfig until the next reboot. Cheers -- Peer > --HPS > From owner-freebsd-usb@FreeBSD.ORG Sat Jul 23 15:44:12 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 564801065670 for ; Sat, 23 Jul 2011 15:44:12 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA128FC12 for ; Sat, 23 Jul 2011 15:44:11 +0000 (UTC) Received: by vws18 with SMTP id 18so2945949vws.13 for ; Sat, 23 Jul 2011 08:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=YH6mFELl9xSj2xIEqdXcWKHo6pHQR9KrkTVK004dBQU=; b=LG5Eq61zDOI6rlVRvQhHHQD7K95d/lEs9MM2Rx/Lr0/2u/ePcIWjMz+1eIusjPEiBg AVb8l14LOgeU4N4Z40KdNNpmLoEhD+pJDMjJUQ3F+plVm/KUMfS11yNXiGhPLr16/Yd8 u+xO9bv1podc9Tcne85intpaq/VGCkJFvUyBI= MIME-Version: 1.0 Received: by 10.52.31.38 with SMTP id x6mr2750866vdh.492.1311435851192; Sat, 23 Jul 2011 08:44:11 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Sat, 23 Jul 2011 08:44:11 -0700 (PDT) In-Reply-To: <201107231717.34403.hselasky@c2i.net> References: <201107211249.03972.hselasky@c2i.net> <201107231717.34403.hselasky@c2i.net> Date: Sat, 23 Jul 2011 17:44:11 +0200 Message-ID: From: Peer Stritzinger To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb Subject: Re: Powercycling USB device on hub 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, 23 Jul 2011 15:44:12 -0000 Hi, On Sat, Jul 23, 2011 at 5:17 PM, Hans Petter Selasky wro= te: > On Saturday 23 July 2011 17:18:34 Peer Stritzinger wrote: >> =A0$ sudo usbconfig -u 3 -a 1 reset >> usbconfig: could not reset device: Device not configured >> >> and after this all devices hat are on this bus are no longer visible >> to usbconfig until the next reboot. > > This is a known issue which was fixed in stable. Great. Since power-cycling needs to reset the HUB I now have the problem to find out on which HUB in the system my device hangs. There are two HUB's on the same root HUB and I don't want to power-cycle all devices. Is there a way to learn the physical structure of a USB bus? -- Peer > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Sat Jul 23 15:57:41 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 CCFF4106566B for ; Sat, 23 Jul 2011 15:57:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 53D858FC12 for ; Sat, 23 Jul 2011 15:57:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0STrgBBJ/IeSzGUncdVPgrlXwYQACyAaeTEJnWJdz8Q= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fa5KVJVg6bUA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=AUVexRoa-Ork2mLVinIA:9 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 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 156296767; Sat, 23 Jul 2011 17:57:38 +0200 From: Hans Petter Selasky To: Peer Stritzinger Date: Sat, 23 Jul 2011 17:55:23 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201107231717.34403.hselasky@c2i.net> In-Reply-To: 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107231755.23755.hselasky@c2i.net> Cc: freebsd-usb Subject: Re: Powercycling USB device on hub 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, 23 Jul 2011 15:57:41 -0000 On Saturday 23 July 2011 17:44:11 Peer Stritzinger wrote: > Hi, > > On Sat, Jul 23, 2011 at 5:17 PM, Hans Petter Selasky wrote: > > On Saturday 23 July 2011 17:18:34 Peer Stritzinger wrote: > >> $ sudo usbconfig -u 3 -a 1 reset > >> usbconfig: could not reset device: Device not configured > >> > >> and after this all devices hat are on this bus are no longer visible > >> to usbconfig until the next reboot. > > > > This is a known issue which was fixed in stable. > > Great. > > Since power-cycling needs to reset the HUB I now have the problem to > find out on which HUB in the system my device hangs. > > There are two HUB's on the same root HUB and I don't want to > power-cycle all devices. Is there a way to learn the physical > structure of a USB bus? devinfo Address 1 is always the root HUB. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jul 23 16:53:47 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 7E1BB1065670 for ; Sat, 23 Jul 2011 16:53:47 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4A28FC19 for ; Sat, 23 Jul 2011 16:53:46 +0000 (UTC) Received: by vws18 with SMTP id 18so2972634vws.13 for ; Sat, 23 Jul 2011 09:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ZCVLQHz6LXMia+yrWrRrKE95X3/XUuLJL10hLBZRY4I=; b=Jd0XKoCZwS+5GIplMiDoNvah3kh4v8J2xVojzoF/GBnAdf1hVW4mdPgLnGqM9oMOld PdXRlStCVPMLlVBVz45iV+PV09qRmr6xyYWNbG+NQssaJWlaSNPNEDAD0C8qlWAy+J87 QqNRPgHc7YbndptaprLi2pMQVW1XnfPswXqUA= MIME-Version: 1.0 Received: by 10.52.73.164 with SMTP id m4mr2848388vdv.157.1311440026296; Sat, 23 Jul 2011 09:53:46 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Sat, 23 Jul 2011 09:53:46 -0700 (PDT) In-Reply-To: <201107231755.23755.hselasky@c2i.net> References: <201107231717.34403.hselasky@c2i.net> <201107231755.23755.hselasky@c2i.net> Date: Sat, 23 Jul 2011 18:53:46 +0200 Message-ID: From: Peer Stritzinger To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb Subject: Re: Powercycling USB device on hub 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, 23 Jul 2011 16:53:47 -0000 On Sat, Jul 23, 2011 at 5:55 PM, Hans Petter Selasky wro= te: >> Since power-cycling needs to reset the HUB I now have the problem to >> find out on which HUB in the system my device hangs. >> >> There are two HUB's on the same root HUB and I don't want to >> power-cycle all devices. =A0Is there a way to learn the physical >> structure of a USB bus? > > devinfo > > Address 1 is always the root HUB. Tried this already but it only shows the hubs but none of my devices because they have no driver (custom built USB devices, only talk to them via libusb). e.g. usbus3 uhub3 uhub4 pnpinfo vendor=3D0x0424 product=3D0x2514 devclass=3D0x0= 9 devsubclass=3D0x00 sernum=3D"" release=3D0x0bb3 intclass=3D0x09 intsubclass=3D0x00 at port=3D7 interface=3D0 uhub5 pnpinfo vendor=3D0x0424 product=3D0x2514 devclass=3D0x0= 9 devsubclass=3D0x00 sernum=3D"" release=3D0x0bb3 intclass=3D0x09 intsubclass=3D0x00 at port=3D8 interface=3D0 There is one of the devices attached either to uhub4 or uhub5 (visible in usbconfig) but nothing shown in devinfo (even with -v). -- Peer From owner-freebsd-usb@FreeBSD.ORG Sat Jul 23 21:49: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 495BC106566C for ; Sat, 23 Jul 2011 21:49:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id C28488FC08 for ; Sat, 23 Jul 2011 21:49:39 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=EIZfbDsN8gr1c4B7uGrP4foh/gtfZ6zZRee2cLtKwTU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=fa5KVJVg6bUA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=k8-pEbd4mNSnOSzNDd8A:9 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=CEmdd8RweNuGuMQs:21 a=S_rV1JvW8pfOGQ_4:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 156525334; Sat, 23 Jul 2011 23:49:37 +0200 From: Hans Petter Selasky To: Peer Stritzinger Date: Sat, 23 Jul 2011 23:47:22 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201107231755.23755.hselasky@c2i.net> In-Reply-To: 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201107232347.22310.hselasky@c2i.net> Cc: freebsd-usb Subject: Re: Powercycling USB device on hub 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, 23 Jul 2011 21:49:40 -0000 On Saturday 23 July 2011 18:53:46 Peer Stritzinger wrote: > On Sat, Jul 23, 2011 at 5:55 PM, Hans Petter Selasky wrote: > >> Since power-cycling needs to reset the HUB I now have the problem to > >> find out on which HUB in the system my device hangs. > >> > >> There are two HUB's on the same root HUB and I don't want to > >> power-cycle all devices. Is there a way to learn the physical > >> structure of a USB bus? > > > > devinfo > > > > Address 1 is always the root HUB. > > Tried this already but it only shows the hubs but none of my devices > because they have no driver (custom built USB devices, only talk to > them via libusb). > > e.g. > > usbus3 > uhub3 > uhub4 pnpinfo vendor=0x0424 product=0x2514 devclass=0x09 > devsubclass=0x00 sernum="" release=0x0bb3 intclass=0x09 > intsubclass=0x00 at port=7 interface=0 > uhub5 pnpinfo vendor=0x0424 product=0x2514 devclass=0x09 > devsubclass=0x00 sernum="" release=0x0bb3 intclass=0x09 > intsubclass=0x00 at port=8 interface=0 > > There is one of the devices attached either to uhub4 or uhub5 (visible > in usbconfig) but nothing shown in devinfo (even with -v). > > -- Peer In newer libusb there is a function to get the parent HUB address. --HPS