From owner-freebsd-usb@FreeBSD.ORG Sun May 18 03:10:03 2008 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 5C793106566C for ; Sun, 18 May 2008 03:10:03 +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 449DD8FC0A for ; Sun, 18 May 2008 03:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4I3A3Fn084125 for ; Sun, 18 May 2008 03:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4I3A3to084124; Sun, 18 May 2008 03:10:03 GMT (envelope-from gnats) Date: Sun, 18 May 2008 03:10:03 GMT Message-Id: <200805180310.m4I3A3to084124@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/118391: 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: Sun, 18 May 2008 03:10:03 -0000 The following reply was made to PR usb/118391; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/118391: commit references a PR Date: Sun, 18 May 2008 03:07:45 +0000 (UTC) remko 2008-05-18 03:07:40 UTC FreeBSD src repository Modified files: sys/dev/usb usbdevs uscanner.c Log: Add support for the Epson 4800 scanner. PR: 118391 Submitted by: "Pedro F. Giffuni" Approved by: imp (mentor, implicit) MFC after: 3 days Committed at: BSDCan 2008 Revision Changes Path 1.355 +1 -0 src/sys/dev/usb/usbdevs 1.92 +1 -0 src/sys/dev/usb/uscanner.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sun May 18 12:30:23 2008 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 127F2106567A for ; Sun, 18 May 2008 12:30:23 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5DE8FC15 for ; Sun, 18 May 2008 12:30:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4I7etNN009354 for ; Sun, 18 May 2008 17:40:55 +1000 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4I7epuZ008389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 May 2008 17:40:52 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m4I7epac001610; Sun, 18 May 2008 17:40:51 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m4I7em50001609; Sun, 18 May 2008 17:40:48 +1000 (EST) (envelope-from peter) Date: Sun, 18 May 2008 17:40:48 +1000 From: Peter Jeremy To: Chuck Robey Message-ID: <20080518074048.GC1469@server.vk2pj.dyndns.org> References: <482B4C79.3030100@telenix.org> <200805142321.08246.freebsd-usb@dino.sk> <482B8D96.2090409@telenix.org> <20080515092911.a4ab2e5b.torfinn.ingolfsen@broadpark.no> <482F2839.2050008@telenix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <482F2839.2050008@telenix.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-usb@freebsd.org Subject: Re: USB HID parser 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: Sun, 18 May 2008 12:30:23 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-17 14:47:21 -0400, Chuck Robey wrote: >OK, let me cover all the suggestions. First, the name, fine, I renamed it= to >uhidParser, and the current version is 0.2 (will hit 1.0 if I ever get any >feedback, else it's stay where it is). OK. How do you drive it? What do you need (other than Python) to use it? There's an internal reference to krepdump.ko but I can't quickly find that. >Lastly, the port. I have, for a great long time, really felt very wrong, = that >items that needed no adaptation (or 'porting') received ports. The other thing that the ports infrastructure gives me is a record of what version(s) of what software I have installed and what other software requires or is required by that software. This means that I can go to a random port, type "make install" and have the system automagically install any dependencies. >I can't stop you from porting it, I know that, but I wish you wouldn't. I= t's >just not port material. Your tarball doesn't tell me what other tools I need to install to make the contents of your tarball do something. Hopefully, a port would. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgv3YAACgkQ/opHv/APuIfSSwCgk0zKCg+qsfW1C2EgeIovNlI2 B/kAn1JhpjLPn0cq7lObpaOHarvnJJ5N =hBkm -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-usb@FreeBSD.ORG Sun May 18 22:07:29 2008 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 7D4511065671 for ; Sun, 18 May 2008 22:07:29 +0000 (UTC) (envelope-from StevenFriedrich@InsightBB.com) Received: from mxsf09.insightbb.com (mxsf09.insightbb.com [74.128.0.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4D28E8FC16 for ; Sun, 18 May 2008 22:07:29 +0000 (UTC) (envelope-from StevenFriedrich@InsightBB.com) X-IronPort-AV: E=Sophos;i="4.27,505,1204520400"; d="scan'208";a="370825977" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.124]) by mxsf09.insightbb.com with ESMTP; 18 May 2008 18:07:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMBAHpFMEhKjMu0/2dsb2JhbAAIq2Y X-IronPort-AV: E=Sophos;i="4.27,505,1204520400"; d="scan'208";a="143404612" Received: from 74-140-203-180.dhcp.insightbb.com (HELO [192.168.45.146]) ([74.140.203.180]) by asavout01.insightbb.com with ESMTP; 18 May 2008 18:07:28 -0400 Message-ID: <4830A89E.7040004@InsightBB.com> Date: Sun, 18 May 2008 18:07:26 -0400 From: Steven Friedrich User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Fwd: Re: Belkin F5D9050 ver 4000] 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: Sun, 18 May 2008 22:07:29 -0000 -------- Original Message -------- Subject: Re: Belkin F5D9050 ver 4000 Date: Sun, 18 May 2008 18:05:47 -0400 From: Steven Friedrich To: perryh@pluto.rain.com CC: questions@freebsd.org References: <482CC777.8060309@InsightBB.com> <482cda0c.vqeNxjersEZzdru+%perryh@pluto.rain.com> <482CE28D.3080107@InsightBB.com> <482d121f.1u3/tzXb60SdNrbc%perryh@pluto.rain.com> perryh@pluto.rain.com wrote: >>> Doing a descriptor dump, and posting the results to freebsd-usb@, >>> might find someone who knows how to get that particular device to >>> work. >>> >> Ok, I'll bite. How do you do a descriptor dump? > > One way is to use sysutils/udesc_dump, from ports, as recommended here: > http://lists.freebsd.org/pipermail/freebsd-usb/2008-January/004308.html > Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0200 bDeviceClass 00 bDeviceSubClass 00 bDeviceProtocol 00 bMaxPacketSize 64 idVendor 050d idProduct 905c bcdDevice 0001 iManufacturer 1 iProduct 2 iSerialNumber 0 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 53 bNumInterface 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 80 bMaxPower 150 (300 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 5 bInterfaceClass ff bInterfaceSubClass ff bInterfaceProtocol ff iInterface 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 01 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 03 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 04 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): Belkin -- Steven Friedrich Fairdale, KY 40118 -- Steven Friedrich Fairdale, KY 40118 From owner-freebsd-usb@FreeBSD.ORG Sun May 18 22:30:04 2008 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 C931310656BB for ; Sun, 18 May 2008 22:30:04 +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 A09798FC17 for ; Sun, 18 May 2008 22:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4IMU4ta013688 for ; Sun, 18 May 2008 22:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4IMU4rT013687; Sun, 18 May 2008 22:30:04 GMT (envelope-from gnats) Date: Sun, 18 May 2008 22:30:04 GMT Message-Id: <200805182230.m4IMU4rT013687@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Merritt Draney Cc: Subject: Re: kern/123510: [ums] Mouse Wheel Fails to Work [regression] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Merritt Draney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 22:30:04 -0000 The following reply was made to PR kern/123510; it has been noted by GNATS. From: Merritt Draney To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/123510: [ums] Mouse Wheel Fails to Work [regression] Date: Sun, 18 May 2008 17:23:30 -0400 It worked. Thanks. Volker wrote: > Merrit, > > can you please check out /usr/src/sys/dev/usb/ums.c rev 1.96.2.1 from > cvs, recompile and install kernel and see if that restores expected > behavior? > > Volker > > From owner-freebsd-usb@FreeBSD.ORG Mon May 19 11:07:02 2008 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 09C8B10656CA for ; Mon, 19 May 2008 11:07:02 +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 E48748FC0C for ; Mon, 19 May 2008 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4JB71hb011759 for ; Mon, 19 May 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4JB71SG011755 for freebsd-usb@FreeBSD.org; Mon, 19 May 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 May 2008 11:07:01 GMT Message-Id: <200805191107.m4JB71SG011755@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, 19 May 2008 11:07:02 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o bin/57255 usb usbd and multi-function devices o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] [hang] mounting write-protected umass device a o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa a usb/79656 usb [ehci] RHSC interrupts lost o usb/79722 usb [ehci] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80829 usb [modules] [panic] possible panic when loading USB-modu o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg p usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/94166 usb [umass] [boot] btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 s usb/96120 usb [ums] [request] USB mouse not always detected o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync o usb/96457 usb [umass] [panic] fatback on umass = reboot s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] [request] FreeBSD could not start on Core2Duo n s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114682 usb [umass] generic USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116947 usb [ukbd] [patch] enable boot protocol on the USB keyboar o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118391 usb [usbdevs] [patch] Add uscanner ID for Epson CX4800 o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/119018 usb [usbd] HP ScanJet 4300C found as knowndev but not reco o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119509 usb USB flaky on Dell Optiplex 755 o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120786 usb Kernelpanik when forced umount of a dettached USB Hard f usb/120873 usb [zyd] [panic] if_zyd and if_rum panic in usb_transfer_ o usb/121232 usb remove PCCARD rebooted system o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121861 usb [keyboard] Don't work Fn keys on USB Microsoft Natural o usb/122462 usb [boot] Fails to boot from an usb harddrive o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122803 usb Add usbdevs and ubsa support for Dell internal CDMA Mo o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/123508 usb [umass] damaged files (mp3,txt , etc) on flash-drive o kern/123510 usb [ums] Mouse Wheel Fails to Work [regression] o usb/123690 usb Panic on USB device insertion when usb loaded as a mod o usb/123714 usb Panic when hald-storage-probe runs with umass device i 139 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/48342 usb [usbd] [patch] usbd dynamic device list. s usb/51958 usb [urio] [patch] update for urio driver s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [umass] Slow USB umass performance of 5.3 s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R a usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ s usb/80777 usb [request] usb_rem_task() should wait for callback to c o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103418 usb [usbhidctl] [patch] [request] usbhidctl: add ability t o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/105065 usb [ata] SATA - USB Bridge o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107665 usb [usbdevs] [patch] uscanner support for epson stylus DX s usb/107701 usb [usbd] [request] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o usb/115080 usb [usbdevs] [patch] allow using a Hercules HWGUSB2-54-V2 o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117546 usb [usbdevs] [patch] Add MaxStream ZigBee product ID to u o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/118374 usb [usbdevs] [patch] support Option GlobeTrotter Max 3.6 o usb/118479 usb [ubsa] [patch] ubsa driver does not recognize AnyDATA o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround s usb/118571 usb [boot] [request] fix BTX issues when booting FreeBSD 7 o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119981 usb [usbdevs] [patch] add support for LOGITEC LAN-GTJ/U2 g o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/121052 usb [ums] Microsoft Notebook Optical Mouse 3000 (model 104 o usb/121169 usb Issues with usb mp3 player o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/122025 usb [patch] uscanner does not attach to Epson RX620 printe o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122547 usb [ehci] USB Printer not being recognized after reboot p usb/122610 usb Add Verizon v740 support to ubsa(4) o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US o usb/122712 usb [usbdevs] [patch] Sony Vaio RF keyboard/mouse receiver o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122819 usb Patch to provide dynamic additions to the usb quirks t o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122956 usb Support for Novatel Wireless XU870 3G Card o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. p usb/123148 usb [usbdevs] [patch] Epson DX8400/50 needs uscanner to sc o usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB o kern/123224 usb [ums] Scroll wheel breakage w/ USB MS Wireless Intelli o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie o usb/123352 usb Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123691 usb usbd(8): usbd hangs 136 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue May 20 04:01:12 2008 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 02219106564A for ; Tue, 20 May 2008 04:01:12 +0000 (UTC) (envelope-from chris.anderson@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id D380E8FC16 for ; Tue, 20 May 2008 04:01:11 +0000 (UTC) (envelope-from chris.anderson@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1908899rvf.43 for ; Mon, 19 May 2008 21:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=UYUDUhe3PnaXDczPVNRZLC/gCJ9AmCdlKZM4z6VpoEo=; b=RPzEq3VSmj5iwbw+6+yPyzKIUwfsikj5OlpmjXrdINkiSawzDH9EOoxJUsDfogMH58+XX9NiRo+kjIF2jOWbdkUfPPD3EDLyGWPofZTm4Bt4tjY9AnamajklZYj5wmz8q1rEGj6PQx2zJ7HQpZdCFnXCEoSKdMW6Z7lNz4GhYSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=AyS3Dh0BfkNuc1ZbluVP6arZbS6ioMVdyFcpqiENC2hgK1UQLtQHE7UZri3vBXgtW/O5iL63sWYgHttuTAgULNE0y8LQgtvKynqhPYttflTS9EALIQN5P2dJGyzi9XyUJ/yhZZ1slAiUEevsGf/sTRtJvxuvQXlFlmQmIgvrmLY= Received: by 10.141.43.5 with SMTP id v5mr4122381rvj.216.1211254631582; Mon, 19 May 2008 20:37:11 -0700 (PDT) Received: by 10.140.135.5 with HTTP; Mon, 19 May 2008 20:37:11 -0700 (PDT) Message-ID: <254cbb760805192037u1ecec39y49fb36366c9ddf8b@mail.gmail.com> Date: Mon, 19 May 2008 20:37:11 -0700 From: "Chris Anderson" Sender: chris.anderson@gmail.com To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 44ea22b6be232149 Subject: device timeout on boot (but not when inserted after boot) 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, 20 May 2008 04:01:12 -0000 I've been playing with an APC Back-UPS ES 450 and experiencing a strange problem. If I plug the UPS into the box after it has completely booted, it is recognized by the kernel and mapped to a ugen device: kernel: ugen0: on uhub0 However, if I have the device plugged in when the box boots, a ugen device is not created and the only error I see in dmesg is: uhub0: device problem (TIMEOUT), disabling port 2 Would this be related to a USB problem in FreeBSD, or is it the fault of the UPS? Are there some additional tools I can use to debug this further? cva # uname -a FreeBSD blah.aloof.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # dmesg | egrep '^(usb|uhub)' usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: on ohci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered usb4: OHCI version 1.0, legacy support usb4: SMM does not respond, resetting usb4: on ohci4 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: on usb5 uhub5: 10 ports with 10 removable, self powered uhub0: device problem (TIMEOUT), disabling port 2 From owner-freebsd-usb@FreeBSD.ORG Tue May 20 19:23:21 2008 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 BB3FD106566B for ; Tue, 20 May 2008 19:23:21 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8B08FC13 for ; Tue, 20 May 2008 19:23:21 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95]) by solow.pil.dk (Postfix) with ESMTP id CE2FC1CC151 for ; Tue, 20 May 2008 21:06:56 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 0FB4611420; Tue, 20 May 2008 21:06:56 +0200 (CEST) Date: Tue, 20 May 2008 21:06:55 +0200 From: Henrik Brix Andersen To: freebsd-usb@freebsd.org Message-ID: <20080520190655.GA20926@tirith.brixandersen.dk> Mail-Followup-To: freebsd-usb@freebsd.org References: <20071202182521.GA38887@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <20071202182521.GA38887@tirith.brixandersen.dk> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Dying disk or missing quirk? 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, 20 May 2008 19:23:21 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 02, 2007 at 07:25:21PM +0100, Henrik Brix Andersen wrote: > I recently acquired a Revoltec Alu Book USB mass storage enclosure for > a 2.5" PATA HDD, which is based on the Myson CE8818 chipset and > therefore matched by the (wrongly named, as this matches all CE8818 > based devices) following USB quirk in -current: >=20 > { USB_VENDOR_MYSON, USB_PRODUCT_MYSON_HEDEN, RID_WILDCARD, > UMASS_PROTO_SCSI | UMASS_PROTO_BBB, > NO_INQUIRY | IGNORE_RESIDUE > }, >=20 > The enclosure works fine under low disk I/O, but under heavy disk > activity, I get the following: >=20 > kernel: umass0: on uhub4 > root: Unknown USB device: vendor 0x04cf product 0x8818 bus uhub4 > kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > kernel: da0: < > Removable Direct Access SCSI-2 device=20 > kernel: da0: 40.000MB/s transfers > kernel: da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) > ... > kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 8 45 78 6f 0 0 48 0= =20 > kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > kernel: (da0:umass-sim0:0:0:0): Invalid command operation code > kernel: (da0:umass-sim0:0:0:0): Unretryable error > kernel: g_vfs_done():da0s1a[READ(offset=3D71050477568, length=3D36864)]er= ror =3D 22 > kernel: vnode_pager_getpages: I/O read error > kernel: vm_fault: pager read error, pid 27989 (cp) >=20 > cp(1) says the following, and the destination file is corrupt: > cp: /foo/bar/baz.txt: Bad address >=20 > Question is, what is causing this? A dying disk? A quirky chipset? or > something else? Eventually, it turned out to be a dying USB HDD enclosure. Close examination of the PCB showed that some of the lines connecting the HDD connector to the chipset had clearly been repaired before shipping this unit, but no coat of varnish had been given afterwards - leading to corrosion of the PCB over time. I have just replaced the USB HDD enclosure with a new one (from a different vendor, of course) - and I can no longer reproduce the above problem with the same HDD installed. Brix --=20 Henrik Brix Andersen --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: GnuPG signed iEYEARECAAYFAkgzIU8ACgkQv+Q4flTiePiF5wCfbZzv3zJQ4Ye0TDF2ouBQ93hk QTsAoLIi12T8LflBoC4aW/rtoXUeESVB =7+G2 -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-usb@FreeBSD.ORG Wed May 21 16:33:41 2008 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 5B318106564A for ; Wed, 21 May 2008 16:33:41 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA0E8FC1A for ; Wed, 21 May 2008 16:33:40 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so791585ana.13 for ; Wed, 21 May 2008 09:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:mime-version:content-type:x-google-sender-auth; bh=igsdazVHOG0kvC1yKsqbhnOs3KfYWghIuVFHHorRO64=; b=g67hg9RwgYmePMjPcdLzxdvzOFk8RmnrYkD6pmw5n/nuADv1GttrKU7MLkR9F6VCnIz1wCFkPBhuMuv2HiBFB4g5v7z1UnqZMqkewAkMSPjfeDKMgkgCJkBrMw8Otl4XeTj98GShPxqb0eTuigvptt6IkJePd7Pjm684Jqy2W3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:mime-version:content-type:x-google-sender-auth; b=i9n1led3RR/MAzBe2XuRqqWR83ZVqE2h/tA/2kavQlUi27+kginKjWEW+jeURpdBavriSpghsl+rUek5y58S25OV1OvcZFcGhx1z281srnMFN41L7TK49ZVdjxBoepltrq1GO7KHPj0oP6YuYrrond+ftLNNQDwgMNi+pPie3vM= Received: by 10.100.190.14 with SMTP id n14mr624991anf.142.1211387618337; Wed, 21 May 2008 09:33:38 -0700 (PDT) Received: by 10.100.239.17 with HTTP; Wed, 21 May 2008 09:33:38 -0700 (PDT) Message-ID: <539c60b90805210933l6f0ee304q7ed6e88145bbc27e@mail.gmail.com> Date: Wed, 21 May 2008 09:33:38 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: bridd@bridd.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_11529_14857475.1211387618335" X-Google-Sender-Auth: 3985dbdd3a97a7af Cc: ports@freebsd.org, mcampos@bpsw.biz, FreeBSD Mailing List , freebsd-usb@freebsd.org Subject: Re: fxload (ports/misc/ezload for usb firmware loading) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 16:33:41 -0000 ------=_Part_11529_14857475.1211387618335 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, May 21, 2008 at 5:28 AM, bridd wrote: > Hi Steve, > > I saw your thread > http://lists.freebsd.org/pipermail/freebsd-usb/2008-April/004753.html > via googling for FreeBSD fxload equivalents. Did you get any further > with it? > > I'm wondering, because I've got an m-audio USB midi keyboard, and under > linux it's possible to use it, using a combo of fxload, the firmware and > a nice auto-detect script... It'd be great for me if I could get this up > and running under FreeBSD. > > Anyway, I hope you don't mind the email out of the blue like this, I was > wondering and figured it was easy enough to just ask :) > > Cheers, > > Dave // bridd > > Dave, FreeBSD has an equivalent program in ports/misc called ezload. I just had to add one line to it to recognize the newer hardware and it works like a charm. Annoyingly, the installed binary is called ezdownload, so it took awhile to find the thing after it installed. Included is the patch to add the line, tell me if you don't understand patches (patch file.c < file.patch) - basically just open it and add the line that starts with "+" manually to the mentioned file - everyone always assumes everyone with a *nix box is a super-hacker, and I sure ain't. I tried pestering the ezdownload maintainer/author (can't remember which) to add my patch and make a new release, but I never heard back. Guess I will have to follow up on that - don't love patching 20 programs every time I bring up a new box, and I haven't heard of old hardware in several years, making ezload pretty much irrelevant without the patch - everything uses the "fx2" cypress usb devices now. I'll ask you a question in return - what software & drivers do you use with the m-audio stuff? I've got an m-audio UNO USB<->MIDI dongle I've never attempted to plug in - maybe you can point me in the direction of the apps I need to make it go! Steve ------=_Part_11529_14857475.1211387618335 Content-Type: text/x-patch; name=ezdownload-0.4.1.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fgi4nhno0 Content-Disposition: attachment; filename=ezdownload-0.4.1.patch LS0tIC4vZXpkb3dubG9hZC0wLjQuMC9lemRvd25sb2FkLmMJMjAwNC0xMi0yMyAxNjoxNDo0My4w MDAwMDAwMDAgLTA3MDAKKysrIGV6ZG93bmxvYWQuYwkyMDA4LTA0LTA3IDEzOjQ5OjEwLjAwMDAw MDAwMCAtMDcwMApAQCAtOTYsNyArOTYsNyBAQAogLyogU2VlIGh0dHA6Ly93d3cuYW5jaG9yY2hp cHMuY29tIGZvciB0aGUKICAqIEVaLVVTQiBUZWNobmljYWwgUmVmZXJlbmNlIE1hbnVhbCAoRVpV U0JfVFJNLnBkZikuCiAgKi8KLSNkZWZpbmUgQ1BVQ1MgMHg3ZjkyCitzdGF0aWMgdW5zaWduZWQg aW50IENQVUNTID0gMHg3ZjkyOwogI2RlZmluZSBVU0JTQyAweDdmZDYKIAogLyogVGhpcyB3aG9s ZSByZWFkaW5nIHJvdXRpbmUgc3Vja3MuIHlvdSBjb3VsZCBkbyBpdCBpbgpAQCAtMzQwLDcgKzM0 MCw3IEBACiBjaGFyICogcHJvZ25hbWU7CiB2b2lkIHVzYWdlKCkgCiB7Ci0JZnByaW50ZihzdGRl cnIsICJTeW50YXg6ICVzIFstcl0gWy12XSBbLWYgaGV4ZmlsZV0gZGV2aWNlXG4iLCBwcm9nbmFt ZSk7CisJZnByaW50ZihzdGRlcnIsICJTeW50YXg6ICVzIFstcl0gWy12XSBbLTJdIFstZiBoZXhm aWxlXSBkZXZpY2VcbiIsIHByb2duYW1lKTsKIAlleGl0KDEpOwogfQogCkBAIC0zNjMsNyArMzYz LDcgQEAKIAlwcm9nbmFtZSA9IGFyZ3ZbMF07CiAKIAkvKiBoYW5kbGUgdGhlIGFyZ3VtZW50cyAq LwotCXdoaWxlKChjaCA9IGdldG9wdChhcmdjLCBhcmd2LCAieHJ2ZjoiKSkgIT0gLTEpIAorCXdo aWxlKChjaCA9IGdldG9wdChhcmdjLCBhcmd2LCAiMnhydmY6IikpICE9IC0xKSAKIAkJc3dpdGNo IChjaCkgewogCQljYXNlICd2JzoKIAkJCXZlcmJvc2UrKzsKQEAgLTM3NCw2ICszNzQsOSBAQAog CQljYXNlICdmJzoKIAkJCWhleGZpbGUgPSBvcHRhcmc7CiAJCQlicmVhazsKKwkJY2FzZSAnMic6 CisJCQlDUFVDUyAgPSAweGU2MDA7CisJCQlicmVhazsKIAkJY2FzZSAneCc6CiAJCQlmb3JjZSA9 IDE7CiAJCQlicmVhazsK ------=_Part_11529_14857475.1211387618335-- From owner-freebsd-usb@FreeBSD.ORG Fri May 23 08:10:03 2008 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 F01DA106564A for ; Fri, 23 May 2008 08:10:03 +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 E381B8FC13 for ; Fri, 23 May 2008 08:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4N8A3v1008303 for ; Fri, 23 May 2008 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4N8A3Gd008302; Fri, 23 May 2008 08:10:03 GMT (envelope-from gnats) Date: Fri, 23 May 2008 08:10:03 GMT Message-Id: <200805230810.m4N8A3Gd008302@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Oliver Fromme Cc: Subject: Re: usb/85067: [uscanner] Cannot attach ScanJet 4300C to usb device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 08:10:04 -0000 The following reply was made to PR usb/85067; it has been noted by GNATS. From: Oliver Fromme To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/85067: [uscanner] Cannot attach ScanJet 4300C to usb device Date: Fri, 23 May 2008 10:02:15 +0200 (CEST) Just a small follow-up: The ScanJet 4300C *still* doesn't work with an up-to-date 7-stable. Same dmesg messages. Since this is a long-standing problem and it doesn't seem to be fixed anytime soon, I *strongly* recommend that the ScanJet 4300C entry should be removed from the uscanner(4) manual page, or marked as "currently broken" or similar, so people don't go buy that scanner, believing that it will work because it's explicitely listed in the manpage, like I did. :-( Best regards Oliver PS: From my reading of the code, the problem is not in uscanner(4) but rather in the non-device-specific USB bus code. It seems to disable the port before it ever reaches uscanner's attach function. However, I'm not a USB expert, so I can't tell for sure. -- 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 In my experience the term "transparent proxy" is an oxymoron (like jumbo shrimp). "Transparent" proxies seem to vary from the distortions of a funhouse mirror to barely translucent. I really, really dislike them when trying to figure out the corrective lenses needed with each of them. -- R. Kevin Oberman, Network Engineer From owner-freebsd-usb@FreeBSD.ORG Fri May 23 22:09:24 2008 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 B4F691065682; Fri, 23 May 2008 22:09:24 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 75C478FC19; Fri, 23 May 2008 22:09:24 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (vwe@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4NM9Osq081801; Fri, 23 May 2008 22:09:24 GMT (envelope-from vwe@freefall.freebsd.org) Received: (from vwe@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4NM9Ngt081797; Fri, 23 May 2008 22:09:23 GMT (envelope-from vwe) Date: Fri, 23 May 2008 22:09:23 GMT Message-Id: <200805232209.m4NM9Ngt081797@freefall.freebsd.org> To: nobodydead@inbox.ru, vwe@FreeBSD.org, freebsd-usb@FreeBSD.org, vwe@FreeBSD.org From: vwe@FreeBSD.org Cc: Subject: Re: usb/123508: [umass] [msdosfs] damaged files (mp3, txt , etc) on flash-drive 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, 23 May 2008 22:09:24 -0000 Synopsis: [umass] [msdosfs] damaged files (mp3,txt , etc) on flash-drive State-Changed-From-To: open->feedback State-Changed-By: vwe State-Changed-When: Fri May 23 22:08:32 UTC 2008 State-Changed-Why: still some further information is needed to investigate this. Responsible-Changed-From-To: freebsd-usb->vwe Responsible-Changed-By: vwe Responsible-Changed-When: Fri May 23 22:08:32 UTC 2008 Responsible-Changed-Why: track for followup http://www.freebsd.org/cgi/query-pr.cgi?pr=123508 From owner-freebsd-usb@FreeBSD.ORG Sat May 24 12:34:12 2008 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 0E1751065671; Sat, 24 May 2008 12:34:12 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2E758FC14; Sat, 24 May 2008 12:34:11 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4OCYBhf086981; Sat, 24 May 2008 12:34:11 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4OCYBs6086977; Sat, 24 May 2008 12:34:11 GMT (envelope-from gavin) Date: Sat, 24 May 2008 12:34:11 GMT Message-Id: <200805241234.m4OCYBs6086977@freefall.freebsd.org> To: zach@centrum.cz, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/94813: [umass] mounting write-protected umass device freezes computer 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, 24 May 2008 12:34:12 -0000 Synopsis: [umass] mounting write-protected umass device freezes computer State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Sat May 24 12:33:43 UTC 2008 State-Changed-Why: Duplicate of usb/74771 http://www.freebsd.org/cgi/query-pr.cgi?pr=94813 From owner-freebsd-usb@FreeBSD.ORG Sat May 24 15:40:01 2008 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 E5F741065670 for ; Sat, 24 May 2008 15:40:00 +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 CE8978FC0C for ; Sat, 24 May 2008 15:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4OFe089002264 for ; Sat, 24 May 2008 15:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4OFe0Wc002263; Sat, 24 May 2008 15:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 24 May 2008 15:40:00 GMT Resent-Message-Id: <200805241540.m4OFe0Wc002263@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6320106564A for ; Sat, 24 May 2008 15:32:47 +0000 (UTC) (envelope-from ehaupt@dyn.critical.ch) Received: from mx.critical.ch (mx.critical.ch [62.2.45.171]) by mx1.freebsd.org (Postfix) with ESMTP id 26E878FC2E for ; Sat, 24 May 2008 15:32:46 +0000 (UTC) (envelope-from ehaupt@dyn.critical.ch) Received: from alaska.critical.ch (84-72-48-221.dclient.hispeed.ch [84.72.48.221]) (authenticated bits=0) by mx.critical.ch (8.14.2/8.14.2/critical-1.0) with ESMTP id m4OF7nik056721 for ; Sat, 24 May 2008 17:07:50 +0200 (CEST) (envelope-from ehaupt@dyn.critical.ch) Received: from alaska.home.critical.ch (localhost [127.0.0.1]) by alaska.home.critical.ch (8.14.2/8.14.2) with ESMTP id m4OF7ngb032260 for ; Sat, 24 May 2008 15:07:49 GMT (envelope-from ehaupt@alaska.home.critical.ch) Received: (from ehaupt@localhost) by alaska.home.critical.ch (8.14.2/8.14.2/Submit) id m4OF7noP032259; Sat, 24 May 2008 17:07:49 +0200 (CEST) (envelope-from ehaupt) Message-Id: <200805241507.m4OF7noP032259@alaska.home.critical.ch> Date: Sat, 24 May 2008 17:07:49 +0200 (CEST) From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/123959: [usb][mouse] add support for Razer Lachesis 4000dpi usb mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 15:40:01 -0000 >Number: 123959 >Category: usb >Synopsis: [usb][mouse] add support for Razer Lachesis 4000dpi usb mouse >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 24 15:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD beaver.home.critical.ch 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Sat May 24 02:45:31 CEST 2008 root@beaver.home.critical.ch:/usr/obj/usr/src/sys/GENERIC i386 >Description: The following patch found at [1] adds support for the Razer Lachesis 4000dpi usb mouse. root@beaver:~ # usbdevs -v | grep -i razer port 2 addr 4: full speed, power 100 mA, config 1, Razer Lachesis(0x000c), Razer(0x1532), rev 21.00 [1] http://wp.lando.cc/wp-content/files/2008/01/copperhead.diff >How-To-Repeat: >Fix: - Apply the following patch (RELENG_7_0) - cd /usr/src/sys/modules/ums; make all install clean --- patch-src-sys-dev-usb-ums.c begins here --- Index: src/sys/dev/usb/ums.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/ums.c,v retrieving revision 1.96 diff -u -r1.96 ums.c --- src/sys/dev/usb/ums.c 25 Jul 2007 06:43:06 -0000 1.96 +++ src/sys/dev/usb/ums.c 24 May 2008 14:59:16 -0000 @@ -198,7 +198,8 @@ return (UMATCH_NONE); if (id->bInterfaceClass == UICLASS_HID && - id->bInterfaceSubClass == UISUBCLASS_BOOT && + (id->bInterfaceSubClass == UISUBCLASS_NONE || + id->bInterfaceSubClass == UISUBCLASS_BOOT) && id->bInterfaceProtocol == UIPROTO_MOUSE) ret = UMATCH_IFACECLASS; else Index: src/sys/dev/usb/usb.h =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usb.h,v retrieving revision 1.47 diff -u -r1.47 usb.h --- src/sys/dev/usb/usb.h 30 Jun 2007 02:40:21 -0000 1.47 +++ src/sys/dev/usb/usb.h 24 May 2008 14:59:16 -0000 @@ -433,6 +433,7 @@ #define UIPROTO_CDC_AT 1 #define UICLASS_HID 0x03 +#define UISUBCLASS_NONE 0 #define UISUBCLASS_BOOT 1 #define UIPROTO_BOOT_KEYBOARD 1 #define UIPROTO_MOUSE 2 --- patch-src-sys-dev-usb-ums.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat May 24 16:53:29 2008 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 25EF6106568E for ; Sat, 24 May 2008 16:53:29 +0000 (UTC) (envelope-from starbuck797@yahoo.es) Received: from web26307.mail.ukl.yahoo.com (web26307.mail.ukl.yahoo.com [217.146.176.18]) by mx1.freebsd.org (Postfix) with SMTP id 8FC548FC1E for ; Sat, 24 May 2008 16:53:28 +0000 (UTC) (envelope-from starbuck797@yahoo.es) Received: (qmail 44318 invoked by uid 60001); 24 May 2008 16:26:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=B0Dr4rncjONrmycXHtonhh6gNOVMaJQY7lGbhugCXT0RcdH5GAWL9DOQpwzCZQg4A/PF7qph9QpUtcv+QmXt9e8JosfUA+WNhoi9Le7gcHbb273IUjOvNcxqSozWKzfcxeBnGHrvU4/KT+JUWWrKD8Wjb+wFLmNXxNH2KwrjPhQ=; Received: from [190.76.2.238] by web26307.mail.ukl.yahoo.com via HTTP; Sat, 24 May 2008 16:26:47 GMT X-Mailer: YahooMailRC/975.41 YahooMailWebService/0.7.199 Date: Sat, 24 May 2008 16:26:47 +0000 (GMT) From: =?iso-8859-1?Q?Miguel_V=E1squez=2E?= To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <319842.44217.qm@web26307.mail.ukl.yahoo.com> Subject: Problem with Usb Modem CMOTECH CCU550 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, 24 May 2008 16:53:29 -0000 =0A Hello everybody.=0A=0A=0AHi, I am a novice FreeBSD, I use FreeBSD 6.3 = in one laptop Acer Aspire=0A5570z, I have tried to use my modem CMOTECH CCU= 550 but I am not=0Asuccessful, Can you Help me??=0A=0A=0A=0AUntil now, I di= d the following thing:=0A=0A1) I added the line of code: =0A=0Aproduct CMOT= ECH CCU550 0x5533 CDMA 2000 1xRTT/1xEVDO USB modem=0A=0Ain line 780 of the= file /usr/src/sys/dev/usb/usbdevs.=0A=0A=0A2)later, I added the line of co= de:=0A=0A{ USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CCU550, =0A ANY,{ UQ_= ASSUME_CM_OVER_DATA }},=0A=0Ain line 85 and 86 of the file /usr/src/sys/dev= /usb/usb_quirks.c=0A=0A3) later, it executes the following thing:=0A=0A# cd= /usr/src/sys/i386/conf=0A# mkdir /root/kernels=0A# cp GENERIC /root/kernel= s/MYKERNEL=0A# ln -s /root/kernels/MYKERNEL=0A# cd /usr/src=0A# make buildk= ernel KERNCONF=3DMYKERNEL=0A# make installkernel KERNCONF=3DMYKERNEL=0A# sh= utdown -r now=0A=0AWhen it starts (boot) The FreeBSD 6.3 system, it takes m= y modem as they ugen0=0A=0AWhy?=0A=0A=0AI hope you can help me!!=0A=0ANote:= My English is not good.=0A=0A=0AMiguel.=0A=0A=0A=0A _________________= _____________________________ =0AEnviado desde Correo Yahoo! La bandeja de = entrada m=E1s inteligente. From owner-freebsd-usb@FreeBSD.ORG Sat May 24 16:55:26 2008 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 7D6C4106567C for ; Sat, 24 May 2008 16:55:26 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 71BD68FC1B for ; Sat, 24 May 2008 16:55:26 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 28408 invoked from network); 24 May 2008 16:55:26 -0000 Received: from april.chuckr.org (HELO chuckr.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 24 May 2008 16:55:25 -0000 Message-ID: <48384699.7030604@telenix.org> Date: Sat, 24 May 2008 12:47:21 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-usb@freebsd.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: problem with libusbhid? 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, 24 May 2008 16:55:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not totally sure, I could well just be using the library wrong (I had a lot of trouble making sense of the man page), but I'm going to suggest that I might have found a problem, and *IF* it *IS* a problem, I'm going to suggest how I would fix it. I wrote a little C program, to list out all of the usb hid_item struct, and it nicely printed out all the fields, one by one, with the single exception of the _usage page. My device is a graphic tablet, and it should have given me the usage page (DIGITIZER), but instead it gave me "13" which is the decimal value of that page. I think that the code in usage.c ought to be patched as I did below, so that it correctly lists the name of the usage page, and not it's number: cvs diff: Diffing . Index: usage.c =================================================================== RCS file: /home/ncvs/src/lib/libusbhid/usage.c,v retrieving revision 1.8 diff -u -r1.8 usage.c - --- usage.c 9 Apr 2003 01:52:48 -0000 1.8 +++ usage.c 24 May 2008 16:34:17 -0000 @@ -164,7 +164,7 @@ errx(1, "no hid table"); for (k = 0; k < npages; k++) - - if (pages[k].usage == i) + if (pages[k].usage == HID_PAGE(i)) return pages[k].name; sprintf(b, "0x%04x", i); return b; I have a test program I wrote for it, I might as well stick it in the end here because it's pretty small (I couldn't get that last printf to compile, anyone know why?) Normally I would have attached the program and diff, but I've found that attachments get stripped out of mail, so sorry about the mailer folding lines: #include #include #include #include void printhid( hid_item_t ); void runparse(report_desc_t, int); int main( int argc, char *argv[] ){ int udev, hidItem, hsize, i; report_desc_t hidrpt; hid_init("/usr/share/misc/usb_hid_usages"); udev = open("/dev/uhid0", O_RDWR); hidrpt = hid_get_report_desc(udev); for(i=7; i<10; i++) runparse(hidrpt, i); exit(hidItem); } void runparse(report_desc_t h, int id) { hid_data_t hs; hid_item_t gs; int hidItem; hs = hid_start_parse(h, 31, id ); printf("\tBeginning parse run for %d\n", id); while(hidItem = hid_get_item(hs, &gs)!= 0) printhid(gs); hid_end_parse(hs); printf("\tEnding parse run for %d\n\n\n", id); } void printhid(hid_item_t gs) { printf("\tGlobal:\n"); printf("hid_data_t._usage_page %d:%s\n",gs._usage_page, hid_usage_page(gs._usage_page)); printf("hid_data_t.logical_minimum %d\n",gs.logical_minimum); printf("hid_data_t.logical_maximum %d\n",gs.logical_maximum); printf("hid_data_t.physical_minimum %d\n",gs.physical_minimum); printf("hid_data_t.unit_exponent %d\n",gs.unit_exponent); printf("hid_data_t.unit %d\n",gs.unit); printf("hid_data_t.report_ID %d\n",gs.report_ID); printf("\tLocal:\n"); printf("hid_data_t.usage %d:%s\n",gs.usage, hid_usage_in_page(gs.usage)); printf("hid_data_t.usage_minimum %d\n",gs.usage_minimum); printf("hid_data_t.usage_maximum %d\n",gs.usage_maximum); printf("hid_data_t.designator_index %d\n",gs.designator_index); printf("hid_data_t.designator_minimum %d\n",gs.designator_minimum); printf("hid_data_t.designator_maximum %d\n",gs.designator_maximum); printf("hid_data_t.logical_minimum %d\n",gs.logical_minimum); printf("hid_data_t.string_index %d\n",gs.string_index); printf("hid_data_t.string_minimum %d\n",gs.string_minimum); printf("hid_data_t.string_maximum %d\n",gs.string_maximum); printf("hid_data_t.set_delimiter %d\n",gs.set_delimiter); printf("\tMisc:\n"); printf("hid_data_t.collection %d\n",gs.collection); printf("hid_data_t.collevel %d\n",gs.collevel); printf("hid_data_t.kind %d\n",gs.kind); printf("hid_data_t.flags %d\n",gs.flags); //printf("hid_data_t.loc.size %X\n",gs.loc.size); } -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIOEaZz62J6PPcoOkRAuacAJ4595hESS1ya25/0Nk79EHh04GTrgCfSUti gfxSB2MhYBbEF/HcBVhN3nQ= =pb5w -----END PGP SIGNATURE-----