Re: USB_VERBOSE and vendor-/productnames
On Thu Sep 16 10, Nick Hibma wrote: > From: > > http://www.linux-usb.org/usb-ids.html > > "The contents of the database and the generated files can be distributed > under the terms of either the GNU General Public License (version 2 or later) > or of the 3-clause BSD License." > > Do you want me make this list available in our source tree? any progress on this task? ;) cheers. alex > > Steps: > 1) Write a script to download it and convert it to our usbdevs*.h files. > 2) Match the entries with our own and add usbdevs*_legacy.h for FBSD8 > systems, so recompilation of existing drivers is straightforward. > 3) Test. Review. Bikeshed. Rinse. Repeat. > 4) Commit. > > Nick > > > On 14 Sep 2010, at 22:31, Hans Petter Selasky wrote: > > > On Tuesday 14 September 2010 22:25:46 Alexander Best wrote: > >> also i've been wondering why freebsd keeps its own set of a usb device db? > >> the databse at http://www.linux-usb.org/usb-ids.html seems very active. > >> can't we just use a script to create usbdevs from that db? that's how pci > >> ids are mapped to vendors/products on freebsd (see > >> http://www.mail-archive.com/freebsd-curr...@freebsd.org/msg124948.html). > > > > If we don't have to GPL the resulting .h and .c files. > > > > --HPS > > ___ > > freebsd-usb@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org" > -- a13x ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: USB_VERBOSE and vendor-/productnames
On Tue Sep 14 10, Hans Petter Selasky wrote: > On Tuesday 14 September 2010 02:20:17 Alexander Best wrote: > > hi there, > > > > a lot of people report issues where usbconfig doesn't show a vendor or > > device name, although an usbdevs entry exists. i found a few replies to > > those reports by hps@ stating that USB_VERBOSE needs to be enabled. > > > > could anybody explain why? if that option needs to be enabled in order to > > see vendor and device names in usbconfig how come that even without it i > > see most of the vendor and device names with usbconfig: > > Hi, > > The reason the option is not default, is that the verbose database consume a > couple of hundred kilobytes. does "usbdevs" actually get compiled into the kernel if USB_VERBOSE has been defined? that would explain the extra size. why not do it like the pci database? simply add usbdevs to /usr/share/misc and look for entries in that file for each request. cheers. alex > > > > > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > > pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST > > spd=FULL (12Mbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 > > md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen4.1: at > > usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: > Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen6.1: > root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > > ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) > > pwr=SAVE ugen3.2: at usbus3, cfg=0 md=HOST > > spd=HIGH (480Mbps) pwr=SAVE ugen1.2: at usbus1, > > cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen1.3: > Razer> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > > > my guess would be that these devices are missing the iManufacturer and/or > > iProduct string, but that's just a wild guess. > > > > if that is the case wouldn't it be possible to check for a usbdevs entry in > > case one of those strings don't exist and if there's an entry in usbdevs > > use it? > > > > i think the option USB_VERBOSE is not really accurate in this particular > > case. people who want usbconfig to output the vendor and product name > > actually want less verbosity (i.e. no product/vendor hex ids). > > I'm not sure if compiling this information into usbdevs will be any better. > > --HPS -- a13x ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Current problem reports assigned to freebsd-usb@FreeBSD.org
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description o usb/151043 usbPlease add USB device MELCO WLR-UC-G o usb/150989 usb[patch] Add Netgear WG111V2_2 support to upgt(4) o usb/150892 usb[zyd] Whenever network contacted in any shape, way or p usb/150546 usblibusb(3) libusb_control_transfer() prototype is incor o usb/150401 usb[umass] [usb8] Errors from USB drives mixed between UF o usb/150189 usb[run] [usb8] [patch] if_run appears to corrupt IP traf o usb/149934 usb[patch] [usb8] Transcend JetFlash V85 poor performance o usb/149900 usb[uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb o usb/149764 usb[u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149675 usb[uftdi] [usb_serial] doesn't react to break properly 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 o usb/149039 usb[uhso] [patch] Binding problem with uhso s usb/148702 usb[usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usbusbconfig(8) sometimes does not turn off the device o usb/147516 usb[umass] [usb67] kernel unable to deal with Olympus USB o 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 o 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 usbGENERIC 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 o usb/143790 usb[boot] 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 f 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/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[usb] Encrypted root, geli password at boot; enter key 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 f usb/140883 usb[axe] [usb8] USB gigabit ethernet hangs after short pe 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