From owner-freebsd-usb@FreeBSD.ORG Mon Apr 11 06:18:32 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 71B991065772 for ; Mon, 11 Apr 2011 06:18:32 +0000 (UTC) (envelope-from perlcat@windstream.net) Received: from pacmmta51.windstream.net (pacmmta51.windstream.net [162.39.147.110]) by mx1.freebsd.org (Postfix) with ESMTP id 306DB8FC16 for ; Mon, 11 Apr 2011 06:18:31 +0000 (UTC) X-WS-COS: WSOB804 X-Cloudmark-Category: Undefined:Undefined X-Cloudmark-Analysis: v=1.1 cv=Mne46L7caC4LfLXKf+rrNdN36Wn0c3ZH5AdyqtfKqL0= c=1 sm=0 a=GkERD3UmGQgA:10 a=hXEbJFA6NZEA:10 a=UT_QgiwtmQIA:10 a=IkcTkHD0fZMA:10 a=aSqzoybuAAAA:8 a=oFQZGMyIAAAA:8 a=FkwOHg_ZtpWzgdFvyvMA:9 a=EWoIQVDVyMELkNel_VIA:7 a=QEXdDO2ut3YA:10 a=kOHBrKKHCrUA:10 a=ARmPNzDHfvMaWNUrLUDlNw==:117 X-Cloudmark-Score: 0 Authentication-Results: pacmmta51 smtp.user=perlcat; auth=pass (PLAIN) Received: from [98.16.169.131] ([98.16.169.131:60573] helo=poot.rtfmcomputing.com) by pacmmta51 (envelope-from ) (ecelerity 2.2.2.45 r()) with ESMTPA id 59/AD-29963-63D92AD4; Mon, 11 Apr 2011 02:18:31 -0400 Message-ID: <4DA29CE0.6010109@windstream.net> Date: Mon, 11 Apr 2011 01:17:04 -0500 From: Tyson Boellstorff User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110322 Thunderbird/3.1.9 MIME-Version: 1.0 To: Michael Fuckner References: <4D9FCE24.20201@windstream.net> <5064547b820109f85e4c8fd40fec80c2@net> In-Reply-To: <5064547b820109f85e4c8fd40fec80c2@net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org Subject: Re: cellular modems and amd64 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: Mon, 11 Apr 2011 06:18:32 -0000 On 04/09/11 01:28, Michael Fuckner wrote: > > Wireless USB devices show as CDROMS, but there are a lot of ugly > possibilities to implement this. Usually it is something like a > SCSI-eject command telling the device to change it's class. > Most devices today are switched by u3g, but there also is a manual way > with usb_modeswitch (http://www.draisberghof.de/usb_modeswitch/) to > understand what is really happening. > > My own experiences are written down here (in german, but the commands > should be enough to understand what I am doing): > > http://michael.fuckner.net/me/blog/index.php?/archives/471-UMTS-mit-FreeBSD8.html > > > Regards, > Michael! > Thank you, Michael. I was able to make it work. To whoever is reading this and wanting to try it, the install for usb_modeswitch is based upon linux' USB device handling, and so the install will (and should) fail. You can run make and get a binary. You can even download the device list at the main web page -- but the information there will not get you what you want. Here's how I did that: 1) install tcl. I got by with 8.5.9 2) extract and make the executable. 3) After you have done a make in the extracted directory for usb_modeswitch, copy it (usb_modeswitch) to /usr/sbin, copy the usb_modeswitch.conf to /etc, and copy the manpage (usb_modeswitch.1) to /usr/share/man/man1. 4) This tool can be ran manually, and that is how you need to do it at first. 5) Run lsusb before plugging your device in and make a note of what is not there. (your device) 6) Plug your device in, run lsusb, and then you will see what your new device Vendor ID and Device ID is. (In my case, a Sierra Wireless Overdrive is reported as a Vendor0x1199, and the device is 0x0fff) 7) Review the device_reference.txt file in the extracted directory above for any hints as to what to do to your device. In my case, there is a SierraMode switch. If your vendor is listed, and there is a special switch, then the manpage ought to have a command line switch for it -- in my case, '-S'. In Michael's case, he would probably have had to do a '-M ' where the string in his case is "5553424312345678000000000000061b000000020000000000000000000000". The string is probably listed by your usb device vendor in the device_reference.txt file. Most vendors reuse the same code. If not, you need to get the latest data page, go to the usb_modeswitch forum, or get a usb sniffer, boot to windows, and see what it puts in. 8) run usb_modeswitch -v -d 9) run lsusb again. You should now have your device id. (In my case, 0x0029). You now should have enough to populate the /etc/usb_modeswitch.conf with the values to make it work. The text I appended to mine looks like this: default vendor = 0x1199 default product = 0x0fff target vendor = 0x1199 target product = 0x0029 SierraMode=1 CheckSuccess=10 #got these from the 1199:0fff file that I got when I extracted the NoDriverLoading=1 #lastest usb-modeswitch-data file at the usb_modeswitch homepage. I do not know if those last two lines are essential -- but I do know that now my wireless works, which is where I stop troubleshooting. While what I did was crude, it works, and now I will see if I can make it work automatically. A final note: This utility and this doc is intended to change the install mode to the working mode of your usb device. It will not load the driver for it. That is beyond the scope of this -- my driver (ue) loaded automatically. Good luck! From owner-freebsd-usb@FreeBSD.ORG Mon Apr 11 08:30:15 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34A8B106566C for ; Mon, 11 Apr 2011 08:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7FA8FC1A for ; Mon, 11 Apr 2011 08:30:15 +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 p3B8UEGR075855 for ; Mon, 11 Apr 2011 08:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3B8UE9A075852; Mon, 11 Apr 2011 08:30:14 GMT (envelope-from gnats) Date: Mon, 11 Apr 2011 08:30:14 GMT Message-Id: <201104110830.p3B8UE9A075852@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/150401: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:30:15 -0000 The following reply was made to PR usb/150401; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/150401: commit references a PR Date: Mon, 11 Apr 2011 08:23:41 +0000 (UTC) Author: mav Date: Mon Apr 11 08:23:27 2011 New Revision: 220535 URL: http://svn.freebsd.org/changeset/base/220535 Log: Rework change made at r203146. Instead of reporting all wire errors as SCSI status errors to CAM (that was wrong, as it too often turned retriable wire errors into non-retriable REQUEST SENSE errors), do it only for STALL errors on control pipe of the CBI devices. STALL on control pipe is just a one of the ways to report error for CBI devices. PR: usb/150401, usb/154593. Reviewed by: hselasky MFC after: 1 week Modified: head/sys/dev/usb/storage/umass.c Modified: head/sys/dev/usb/storage/umass.c ============================================================================== --- head/sys/dev/usb/storage/umass.c Mon Apr 11 06:53:45 2011 (r220534) +++ head/sys/dev/usb/storage/umass.c Mon Apr 11 08:23:27 2011 (r220535) @@ -1849,9 +1849,23 @@ umass_t_cbi_command_callback(struct usb_ break; default: /* Error */ - umass_tr_error(xfer, error); - /* skip reset */ - sc->sc_last_xfer_index = UMASS_T_CBI_COMMAND; + /* + * STALL on the control pipe can be result of the command error. + * Attempt to clear this STALL same as for bulk pipe also + * results in command completion interrupt, but ASC/ASCQ there + * look like not always valid, so don't bother about it. + */ + if ((error == USB_ERR_STALLED) || + (sc->sc_transfer.callback == &umass_cam_cb)) { + sc->sc_transfer.ccb = NULL; + (sc->sc_transfer.callback) + (sc, ccb, sc->sc_transfer.data_len, + STATUS_CMD_UNKNOWN); + } else { + umass_tr_error(xfer, error); + /* skip reset */ + sc->sc_last_xfer_index = UMASS_T_CBI_COMMAND; + } break; } } @@ -2605,17 +2619,9 @@ umass_cam_cb(struct umass_softc *sc, uni /* * The wire protocol failed and will hopefully have * recovered. We return an error to CAM and let CAM - * retry the command if necessary. In case of SCSI IO - * commands we ask the CAM layer to check the - * condition first. This is a quick hack to make - * certain devices work. + * retry the command if necessary. */ - if (ccb->ccb_h.func_code == XPT_SCSI_IO) { - ccb->ccb_h.status = CAM_SCSI_STATUS_ERROR; - ccb->csio.scsi_status = SCSI_STATUS_CHECK_COND; - } else { - ccb->ccb_h.status = CAM_REQ_CMP_ERR; - } + ccb->ccb_h.status = CAM_REQ_CMP_ERR; xpt_done(ccb); break; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Apr 11 11:07:13 2011 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234091065679 for ; Mon, 11 Apr 2011 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 125D98FC17 for ; Mon, 11 Apr 2011 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BB7C0v026032 for ; Mon, 11 Apr 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BB7CC1026030 for freebsd-usb@FreeBSD.org; Mon, 11 Apr 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Apr 2011 11:07:12 GMT Message-Id: <201104111107.p3BB7CC1026030@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, 11 Apr 2011 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/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/154593 usb [umass] Input/output error writing to external USB dri 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/150401 usb [umass] [usb8] [patch] Errors from USB drives mixed be 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/149528 usb [zyd] Wireless USB stick not detected - vendor id 0x08 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 o usb/141777 usb [usb8] [usbdevs] [rum] [patch] Support usbdevs / rum(4 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 f usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work 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/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/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 Apr 11 23:01:48 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5C481065674; Mon, 11 Apr 2011 23:01:48 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB3FF8FC20; Mon, 11 Apr 2011 23:01:48 +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 p3BN1mEl081785; Mon, 11 Apr 2011 23:01:48 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BN1mbV081781; Mon, 11 Apr 2011 23:01:48 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:01:48 GMT Message-Id: <201104112301.p3BN1mbV081781@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-usb@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/119513: [ath] [irq] inserting dlink dwl-g630 wireless card results in interrupt storm [regression] 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, 11 Apr 2011 23:01:48 -0000 Old Synopsis: [irq] inserting dlink dwl-g630 wireless card results in interrupt storm [regression] New Synopsis: [ath] [irq] inserting dlink dwl-g630 wireless card results in interrupt storm [regression] Responsible-Changed-From-To: freebsd-usb->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 22:58:05 UTC 2011 Responsible-Changed-Why: Tag ath; change category to kern; change resp. to new wireless mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=119513 From owner-freebsd-usb@FreeBSD.ORG Mon Apr 11 23:17:20 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21270106566C; Mon, 11 Apr 2011 23:17:20 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8BC98FC0C; Mon, 11 Apr 2011 23:17:19 +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 p3BNHJXh092134; Mon, 11 Apr 2011 23:17:19 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNHJpF092130; Mon, 11 Apr 2011 23:17:19 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:17:19 GMT Message-Id: <201104112317.p3BNHJpF092130@freefall.freebsd.org> To: drpatton@embarqmail.com, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/124604: [ums] Microsoft combo wireless mouse doesn't work 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, 11 Apr 2011 23:17:20 -0000 Synopsis: [ums] Microsoft combo wireless mouse doesn't work State-Changed-From-To: feedback->closed State-Changed-By: eadler State-Changed-When: Mon Apr 11 23:17:19 UTC 2011 State-Changed-Why: feedback timeout - not enough info to debug http://www.freebsd.org/cgi/query-pr.cgi?pr=124604 From owner-freebsd-usb@FreeBSD.ORG Tue Apr 12 14:40:31 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 C71A1106566C; Tue, 12 Apr 2011 14:40:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B85D8FC19; Tue, 12 Apr 2011 14:40:31 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p3CEeE15013871; Tue, 12 Apr 2011 16:40:29 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3CEeEsK013870; Tue, 12 Apr 2011 16:40:14 +0200 (CEST) (envelope-from olli) Date: Tue, 12 Apr 2011 16:40:14 +0200 (CEST) Message-Id: <201104121440.p3CEeEsK013870@lurza.secnetix.de> From: Oliver Fromme To: freebsd-usb@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG X-Newsgroups: list.freebsd-usb User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Tue, 12 Apr 2011 16:40:29 +0200 (CEST) Cc: Subject: USB microphone problems 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, 12 Apr 2011 14:40:32 -0000 Sorry for posting to both usb@ and multimedia@, but I'm not sure if the problem is related to usb(4) or snd(4). I'm trying to get the microphone of a webcam working (it's a Logitech C210). When I load snd_uaudio(4), it is found as follows: uaudio0: on usbus3 uaudio0: No playback! uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer pcm5: on uaudio0 Interestingly, I got only a new mixer device, but no new dsp device: crw-rw-rw- 1 root wheel 0, 144 Apr 11 22:39 mixer5 And /dev/sndstat says this ("pcm5" is the cam's microphone): FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play) pcm1: (play/rec) default pcm2: (play/rec) pcm3: (play) pcm4: (play) pcm5: (rec) And finally, mixer -f /dev/mixer5 says: Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 There seems to be no recording source configured: "mixer -f /dev/mixer5 recsrc" produces no output. Also, I cannot set any recording source. But I guess that's OK because there really is only _one_ fixed recording source supported by that device. Strangely, after a few minutes, a dsp device appeared. Something must have triggered that, but I have no idea what. Maybe it just took that long because something hung inside the driver and finally ran into a timeout ... But that's just a guess. crw-rw-rw- 1 root wheel 0, 145 Apr 11 22:48 dsp5.0 However, the device doesn't work. When I tried to do a test recording with skype, nothing got recorded, and the following was logged: pcm5: chn_read(): pcm5:virtual:dsp5.vr0: record interrupt timeout, channel dead Does anyone have an idea what to do to get it working? I'm running a fairly new FreeBSD/i386 8-stable (2011-03-19). Alternatively, any recommendation for a new USB microphone to buy that works well with FreeBSD 8? (By the way, I tried connecting an old analog microphone to my mainboard's mic input, but it records only silence, except when I blow directly into the microphone, no matter what mixer settings I've tried. So I guess that that mic input of my mainboard doesn't work correctly with FreeBSD either.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz From owner-freebsd-usb@FreeBSD.ORG Tue Apr 12 22:00: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 DCE8D1065672; Tue, 12 Apr 2011 22:00:24 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews10.kpnxchange.com (cpsmtpb-ews10.kpnxchange.com [213.75.39.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6674A8FC1B; Tue, 12 Apr 2011 22:00:24 +0000 (UTC) Received: from cpbrm-ews21.kpnxchange.com ([10.94.84.152]) by cpsmtpb-ews10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 12 Apr 2011 23:48:19 +0200 Received: from CPSMTPM-CMT101.kpnxchange.com ([195.121.3.17]) by cpbrm-ews21.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 12 Apr 2011 23:48:19 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-CMT101.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Tue, 12 Apr 2011 23:48:18 +0200 Received: from hillary.lan (unknown [81.207.207.222]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by uitsmijter.van-laarhoven.org (Postfix) with ESMTPSA id 8723E40E2; Tue, 12 Apr 2011 23:48:18 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: <4D9B473F.8020607@FreeBSD.org> Date: Tue, 12 Apr 2011 23:48:17 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <87909196-8EAB-4255-A1C7-6AAB22FA46E8@van-laarhoven.org> References: <201104051321.56319.hselasky@freebsd.org> <4D9B1023.7020407@FreeBSD.org> <201104051455.33853.hselasky@freebsd.org> <4D9B473F.8020607@FreeBSD.org> To: Hans Petter Selasky , Andriy Gapon X-Mailer: Apple Mail (2.1084) X-OriginalArrivalTime: 12 Apr 2011 21:48:18.0852 (UTC) FILETIME=[55E3BE40:01CBF95B] X-RcptDomain: freebsd.org Cc: =?windows-1252?Q?=93FreeBSD_Current_Mailing_List=93?= , =?windows-1252?Q?=93FreeBSD_USB_Mailing_List=93?= Subject: Re: use_generic and usb probing 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, 12 Apr 2011 22:00:25 -0000 > Well, I think that that's what probe priorities actually for. > I also think that typically ivars should be set by a bus driver. So = maybe it's > not such a good idea to pass data from probe to attach via ivars in = child drivers. > But I could be mistaken about that. >=20 > Practically speaking, you most likely don't have to worry about that = for drivers > that return BUS_PROBE_SPECIFIC (=3D0) from their probe methods. And = there is only a > few "generic" drivers that can be handled on a case by case basis. Newbus priorities where specifically implemented on my request by Doug = Rabson to cater for fallback attachments: usb.h (the old code) contained = a list of priorities. ugen had the lowest priority and attached if no = one else did. An example was a keyboard with a built-in mouse on one = interface. It would be attached by either mouse or keyboard but not = both. An additional driver could probide both devices. We ended up = implementing that differently though: attachment to interfaces instead = of devices. A probe should not pass any information to the attach phase if it can at = all avoid it. Or at least that is the assumption. If a driver needs info = in both phases, it needs to regenerate it again. The fact that usb_probe = is called again is a kludge, specifically for the description. I guess that documenting this kludge and updating the comment to state = this fact would be sufficient to solve the problem. Nick= From owner-freebsd-usb@FreeBSD.ORG Wed Apr 13 10:10: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 23142106564A; Wed, 13 Apr 2011 10:10:16 +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 834468FC17; Wed, 13 Apr 2011 10:10:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=IU0TiZmyZPMA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=ev9qzYlmKIQDNtcvXdQA:9 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 113961190; Wed, 13 Apr 2011 12:10:13 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 13 Apr 2011 12:09:11 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201104121440.p3CEeEsK013870@lurza.secnetix.de> In-Reply-To: <201104121440.p3CEeEsK013870@lurza.secnetix.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104131209.11451.hselasky@c2i.net> Cc: Oliver Fromme , freebsd-usb@freebsd.org Subject: Re: USB microphone problems 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, 13 Apr 2011 10:10:16 -0000 On Tuesday 12 April 2011 16:40:14 Oliver Fromme wrote: > Sorry for posting to both usb@ and multimedia@, but I'm not > sure if the problem is related to usb(4) or snd(4). > > I'm trying to get the microphone of a webcam working (it's > a Logitech C210). When I load snd_uaudio(4), it is found > as follows: > > uaudio0: 2> on usbus3 uaudio0: No playback! > uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format > uaudio0: No midi sequencer > pcm5: on uaudio0 > > Interestingly, I got only a new mixer device, but no new > dsp device: > > crw-rw-rw- 1 root wheel 0, 144 Apr 11 22:39 mixer5 > > And /dev/sndstat says this ("pcm5" is the cam's microphone): > > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > pcm0: (play) > pcm1: (play/rec) default > pcm2: (play/rec) > pcm3: (play) > pcm4: (play) > pcm5: (rec) > > And finally, mixer -f /dev/mixer5 says: > > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > > There seems to be no recording source configured: > "mixer -f /dev/mixer5 recsrc" produces no output. Also, > I cannot set any recording source. But I guess that's OK > because there really is only _one_ fixed recording source > supported by that device. > > Strangely, after a few minutes, a dsp device appeared. > Something must have triggered that, but I have no idea what. > Maybe it just took that long because something hung inside > the driver and finally ran into a timeout ... But that's > just a guess. > > crw-rw-rw- 1 root wheel 0, 145 Apr 11 22:48 dsp5.0 > > However, the device doesn't work. When I tried to do a > test recording with skype, nothing got recorded, and the > following was logged: > > pcm5: chn_read(): pcm5:virtual:dsp5.vr0: record interrupt timeout, > channel dead > > Does anyone have an idea what to do to get it working? > I'm running a fairly new FreeBSD/i386 8-stable (2011-03-19). > Try the following command on your device after it is plugged: usbconfig -d X.Y do_request 0x22 0x01 0x100 0x86 0x03 0x80 0xBB 0x00 Does it help? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Apr 13 14:24:02 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 3E1331065673; Wed, 13 Apr 2011 14:24:02 +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 445628FC12; Wed, 13 Apr 2011 14:24:00 +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 RAA18424; Wed, 13 Apr 2011 17:22:37 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DA5B1AD.5070703@FreeBSD.org> Date: Wed, 13 Apr 2011 17:22:37 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Nick Hibma References: <201104051321.56319.hselasky@freebsd.org> <4D9B1023.7020407@FreeBSD.org> <201104051455.33853.hselasky@freebsd.org> <4D9B473F.8020607@FreeBSD.org> <87909196-8EAB-4255-A1C7-6AAB22FA46E8@van-laarhoven.org> In-Reply-To: <87909196-8EAB-4255-A1C7-6AAB22FA46E8@van-laarhoven.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: =?windows-1252?Q?Current_Mailing_List=93?= , =?windows-1252?Q?=93FreeBSD_USB_Mailing_List=93?= , =?windows-1252?Q?=93FreeBSD_?= Subject: Re: use_generic and usb probing 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, 13 Apr 2011 14:24:02 -0000 on 13/04/2011 00:48 Nick Hibma said the following: >> Well, I think that that's what probe priorities actually for. I also think >> that typically ivars should be set by a bus driver. So maybe it's not such a >> good idea to pass data from probe to attach via ivars in child drivers. But I >> could be mistaken about that. >> >> Practically speaking, you most likely don't have to worry about that for >> drivers that return BUS_PROBE_SPECIFIC (=0) from their probe methods. And >> there is only a few "generic" drivers that can be handled on a case by case >> basis. > > Newbus priorities where specifically implemented on my request by Doug Rabson > to cater for fallback attachments: usb.h (the old code) contained a list of > priorities. ugen had the lowest priority and attached if no one else did. An > example was a keyboard with a built-in mouse on one interface. It would be > attached by either mouse or keyboard but not both. An additional driver could > probide both devices. We ended up implementing that differently though: > attachment to interfaces instead of devices. OK. Though I don't see how that is related to the question that I raised. > A probe should not pass any information to the attach phase if it can at all > avoid it. Or at least that is the assumption. If a driver needs info in both > phases, it needs to regenerate it again. The fact that usb_probe is called > again is a kludge, specifically for the description. I am not sure that I understood this part. > I guess that documenting this kludge and updating the comment to state this > fact would be sufficient to solve the problem. I don't see how this follows from what you've written above. -- Andriy Gapon From owner-freebsd-usb@FreeBSD.ORG Wed Apr 13 21:15:27 2011 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9FC1106566B; Wed, 13 Apr 2011 21:15:27 +0000 (UTC) (envelope-from jille@quis.cx) Received: from istud.quis.cx (10-64-223.ftth.xms.internl.net [85.223.64.10]) by mx1.freebsd.org (Postfix) with ESMTP id A508B8FC18; Wed, 13 Apr 2011 21:15:27 +0000 (UTC) Received: from boom-ubuntu.quis.cx (unknown [192.168.1.5]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by istud.quis.cx (Postfix) with ESMTPSA id B21A11395F; Wed, 13 Apr 2011 22:58:37 +0200 (CEST) Message-ID: <4DA60E7D.7000901@quis.cx> Date: Wed, 13 Apr 2011 22:58:37 +0200 From: Jille Timmermans User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ed Schouten Subject: Finding the right ttyU* 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, 13 Apr 2011 21:15:27 -0000 Hello, I'm looking for a way to automatically determine to which ttyU* my telephone is connected. The tty is created by ucom(4). My telephone is listed in `usbconfig list` but nothing seems to be pointing to the tty. With kind regards, Jille Timmermans From owner-freebsd-usb@FreeBSD.ORG Fri Apr 15 08:10:16 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60FE0106566B for ; Fri, 15 Apr 2011 08:10:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4DF8FC08 for ; Fri, 15 Apr 2011 08:10:16 +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 p3F8AGUZ034294 for ; Fri, 15 Apr 2011 08:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3F8AGhD034293; Fri, 15 Apr 2011 08:10:16 GMT (envelope-from gnats) Date: Fri, 15 Apr 2011 08:10:16 GMT Message-Id: <201104150810.p3F8AGhD034293@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Dennis Yusupoff Cc: Subject: Re: usb/138798: [boot] [usb8] 8.0-BETA4 can't boot from USB flash drive [regression] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dennis Yusupoff List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 08:10:16 -0000 The following reply was made to PR usb/138798; it has been noted by GNATS. From: Dennis Yusupoff To: bug-followup@FreeBSD.org, sweetnavelorange@gmail.com Cc: Subject: Re: usb/138798: [boot] [usb8] 8.0-BETA4 can't boot from USB flash drive [regression] Date: Fri, 15 Apr 2011 11:42:35 +0400 Looks like FreeBSD team is dead[-ly sleeping]. "Wake up, Neo"! However, for other - some guys in maillist say what this kind of problem can be fixed by simply increasing "kern.cam.boot_delay" in /boot/loader.conf. So in any case this PR should we closed and, by the way, why don't increase kern.cam.boot_delay by default? --- With best regards, Dennis Yusupoff, network engineer of Smart-Telecom ISP Russia, Saint-Petersburg