From owner-freebsd-usb@FreeBSD.ORG Sun Aug 5 08:51:48 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CD76106564A; Sun, 5 Aug 2012 08:51:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 754F78FC0A; Sun, 5 Aug 2012 08:51:47 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 305336268; Sun, 05 Aug 2012 10:46:38 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 5 Aug 2012 10:47:06 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201208031850.q73IoEAe008140@red.freebsd.org> In-Reply-To: <201208031850.q73IoEAe008140@red.freebsd.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208051047.06297.hselasky@c2i.net> Cc: Tomek , freebsd-gnats-submit@freebsd.org Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers 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, 05 Aug 2012 08:51:48 -0000 On Friday 03 August 2012 20:50:14 Tomek wrote: > >Number: 170358 > >Category: usb > >Synopsis: [ums] Wrong (duplicate) button numbers > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Aug 03 19:00:16 UTC 2012 > >Closed-Date: > >Last-Modified: > >Originator: Tomek > >Release: FeeBSD 9 RELEASE amd64 > >Organization: > > >Environment: > FreeBSD valis.pl 9.0-RELEASE FreeBSD 9.0-RELEASE #2: Thu Aug 2 14:27:17 > CEST 2012 teo@valis.pl:/usr/obj/usr/src/sys/JAJO amd64 > > >Description: > Mouse Logitech M510 has, besides standard, two additional side buttons and > tilt wheel. All buttons are recognized but the side buttons ('back' and > 'forward') have the same numbers as tilt wheel ('left' and 'right') - > moused reports them as 4 and 5, in X xev numbers them as 8 and 9. > > >How-To-Repeat: > Attach the mouse and run "moused -d -f -p /dev/ums0" and press 'back' and > then tilt wheel left - the output will be the same. Hi, What does: dmesg | grep -C 4 ums say? Please also dump the HID descriptor of your USB mouse: usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Aug 5 09:00:05 2012 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2895E106566C for ; Sun, 5 Aug 2012 09:00:05 +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 032F38FC0C for ; Sun, 5 Aug 2012 09:00:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7590499082854 for ; Sun, 5 Aug 2012 09:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q75904Mw082853; Sun, 5 Aug 2012 09:00:04 GMT (envelope-from gnats) Date: Sun, 5 Aug 2012 09:00:04 GMT Message-Id: <201208050900.q75904Mw082853@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2012 09:00:05 -0000 The following reply was made to PR usb/170358; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Tomek , freebsd-gnats-submit@freebsd.org Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers Date: Sun, 5 Aug 2012 10:47:06 +0200 On Friday 03 August 2012 20:50:14 Tomek wrote: > >Number: 170358 > >Category: usb > >Synopsis: [ums] Wrong (duplicate) button numbers > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Aug 03 19:00:16 UTC 2012 > >Closed-Date: > >Last-Modified: > >Originator: Tomek > >Release: FeeBSD 9 RELEASE amd64 > >Organization: > > >Environment: > FreeBSD valis.pl 9.0-RELEASE FreeBSD 9.0-RELEASE #2: Thu Aug 2 14:27:17 > CEST 2012 teo@valis.pl:/usr/obj/usr/src/sys/JAJO amd64 > > >Description: > Mouse Logitech M510 has, besides standard, two additional side buttons and > tilt wheel. All buttons are recognized but the side buttons ('back' and > 'forward') have the same numbers as tilt wheel ('left' and 'right') - > moused reports them as 4 and 5, in X xev numbers them as 8 and 9. > > >How-To-Repeat: > Attach the mouse and run "moused -d -f -p /dev/ums0" and press 'back' and > then tilt wheel left - the output will be the same. Hi, What does: dmesg | grep -C 4 ums say? Please also dump the HID descriptor of your USB mouse: usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Aug 5 17:55:12 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D897106566C for ; Sun, 5 Aug 2012 17:55:12 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.freebsd.org (Postfix) with ESMTP id 06C968FC1B for ; Sun, 5 Aug 2012 17:55:11 +0000 (UTC) Received: from [IPv6:::1] (proxy6.corp.yahoo.com [216.145.48.19]) by mrout1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q75HilOo033724 for ; Sun, 5 Aug 2012 10:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1344188688; bh=7MZibOyva1IVIT1541+1o9KYyINrO4Iz135vjT41+sQ=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=xa8LdWSToWBZuupBit+Osoh1VD9xOOQdfkxMwxejrOL+ucK6Wemh0ZzgLYT2BABg5 Rq2PE1MHOAQcTNZlyCS2bFjcTJ6P4ErxGeFL9qdG86b9j1igEiJ7Q44ScGhwD+vs4j xOVjjnvJ3LXWrpqc2VXfOlOF3vy1HVLVM+oFsz2M= From: Sean Bruno To: "freebsd-usb@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Sun, 05 Aug 2012 10:44:47 -0700 Message-ID: <1344188687.10817.5.camel@powernoodle> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Milter-Version: master.31+4-gbc07cd5+ X-CLX-ID: 188688001 Subject: qemu hw/usb/host-bsd.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2012 17:55:12 -0000 Trying to update the qemu port this weekend and I see there are a lot of legacy usb things going on inside of host-bsd.c that need to be updated. I've started with the qemu git tree at git://git.qemu.org/qemu.git Specifically, I'm staring at hw/usb/host-bsd.c The main issues seem to be wrapped around its handling and setup of "SHORT_XFER" and its abuse of the old udi_devnames[] data in the deviceinfo structs. I've started with the attached diff. I'm pretty sure this is wrong. Let start with the abuse of udi_devnames in this code. What's the best way for in usb-land to setup its emulated usb nonsense? http://people.freebsd.org/~sbruno/host-bsd.c.txt sean From owner-freebsd-usb@FreeBSD.ORG Sun Aug 5 20:10:54 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23163106564A; Sun, 5 Aug 2012 20:10:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8DC8FC12; Sun, 5 Aug 2012 20:10:52 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 307238171; Sun, 05 Aug 2012 22:10:45 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, sbruno@freebsd.org Date: Sun, 5 Aug 2012 22:11:12 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <1344188687.10817.5.camel@powernoodle> In-Reply-To: <1344188687.10817.5.camel@powernoodle> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201208052211.12399.hselasky@c2i.net> Cc: Subject: Re: qemu hw/usb/host-bsd.c 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, 05 Aug 2012 20:10:54 -0000 On Sunday 05 August 2012 19:44:47 Sean Bruno wrote: > Trying to update the qemu port this weekend and I see there are a lot of > legacy usb things going on inside of host-bsd.c that need to be updated. > > I've started with the qemu git tree at git://git.qemu.org/qemu.git > > Specifically, I'm staring at hw/usb/host-bsd.c > > The main issues seem to be wrapped around its handling and setup of > "SHORT_XFER" and its abuse of the old udi_devnames[] data in the > deviceinfo structs. > > I've started with the attached diff. I'm pretty sure this is wrong. > > Let start with the abuse of udi_devnames in this code. What's the best > way for in usb-land to setup its emulated usb nonsense? > > http://people.freebsd.org/~sbruno/host-bsd.c.txt > > sean Hi, You should try to use libusb for USB access, like the recently added XHCI driver in qemu. libusb20 is gives you the full power of the FreeBSD USB API. libusb10 is also good and also works under Linux ++. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 6 08:40:03 2012 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 BAB9F1065675 for ; Mon, 6 Aug 2012 08:40: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 A10FC8FC0A for ; Mon, 6 Aug 2012 08:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q768e3NQ093094 for ; Mon, 6 Aug 2012 08:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q768e3UX093093; Mon, 6 Aug 2012 08:40:03 GMT (envelope-from gnats) Date: Mon, 6 Aug 2012 08:40:03 GMT Message-Id: <201208060840.q768e3UX093093@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Tomasz Olejniczak Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Olejniczak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2012 08:40:03 -0000 The following reply was made to PR usb/170358; it has been noted by GNATS. From: Tomasz Olejniczak To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers Date: Mon, 6 Aug 2012 10:31:05 +0200 Hi, Thanks for answer. > What does: > dmesg | grep -C 4 ums ugen0.4: at usbus0 ukbd1: on usbus0 kbd3 at ukbd1 ums0: on usbus0 ums0: 16 buttons and [XYZT] coordinates ID=2 uhid1: on usbus0 > Please also dump the HID descriptor of your USB mouse: > usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 REQUEST = <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x81 0x03 0x95 0x05 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01 0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xa4 0x00 0x05 0x07 0x19 0x00 0x2a 0xa4 0x00 0x81 0x00 0xc0><)%u)uu&*> -- Tomek From owner-freebsd-usb@FreeBSD.ORG Mon Aug 6 11:07:24 2012 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 41A501065672 for ; Mon, 6 Aug 2012 11:07:24 +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 2A5048FC19 for ; Mon, 6 Aug 2012 11:07:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q76B7OJj021950 for ; Mon, 6 Aug 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q76B7Nuw021948 for freebsd-usb@FreeBSD.org; Mon, 6 Aug 2012 11:07:23 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Aug 2012 11:07:23 GMT Message-Id: <201208061107.q76B7Nuw021948@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, 06 Aug 2012 11:07:24 -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/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/166848 usb [umass] [patch] Buffalo RUF2 requires quirk o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159611 usb [PATCH] USB stick extrememory Snippy needs quirks o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f 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/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153599 usb [usbdevs] [patch] Feiya Elango USB MicroSD reader sync o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E 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 f 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 p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT 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 f 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 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/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu 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 o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa s usb/122819 usb [usb67] [patch] Patch to provide dynamic additions to o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/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 o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/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 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 s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/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 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? 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 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/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device f usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 305 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 7 16:07:48 2012 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 51AFD1065670; Tue, 7 Aug 2012 16:07:48 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id A4A5C8FC0C; Tue, 7 Aug 2012 16:07:47 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 301860478; Tue, 07 Aug 2012 18:02:38 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Tomasz Olejniczak , freebsd-gnats-submit@freebsd.org Date: Tue, 7 Aug 2012 18:03:08 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201208060840.q768e3UX093093@freefall.freebsd.org> In-Reply-To: <201208060840.q768e3UX093093@freefall.freebsd.org> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208071803.08444.hselasky@c2i.net> Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers 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, 07 Aug 2012 16:07:48 -0000 On Monday 06 August 2012 10:40:03 Tomasz Olejniczak wrote: > The following reply was made to PR usb/170358; it has been noted by GNATS. > > From: Tomasz Olejniczak > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers > Date: Mon, 6 Aug 2012 10:31:05 +0200 > > Hi, > > Thanks for answer. > > > What does: > > dmesg | grep -C 4 ums > > ugen0.4: at usbus0 > ukbd1: on > usbus0 kbd3 at ukbd1 > ums0: on usbus0 > ums0: 16 buttons and [XYZT] coordinates ID=2 > uhid1: on > usbus0 > > > Please also dump the HID descriptor of your USB mouse: > > usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 > > REQUEST = <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 > 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x81 0x03 0x95 0x05 > 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01 > 0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xa4 0x00 0x05 0x07 0x19 0x00 0x2a > 0xa4 0x00 0x81 0x00 0xc0><)%u)uu&*> > Hi, I see that your mouse has many buttons. The order might be hardcoded by the hardware. Only if the HID descriptor has the information we need to distinguish the buttons, we can fix this issue. The request in question is for the keyboard. I see you have a dual- keyboard/mouse device. Re-run command like this: usbconfig -d X.Y do_request 0x81 0x06 0x2200 1 0x100 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 7 16:10:07 2012 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF8D2106564A for ; Tue, 7 Aug 2012 16:10:07 +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 B1F828FC0A for ; Tue, 7 Aug 2012 16:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q77GA7ab083252 for ; Tue, 7 Aug 2012 16:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q77GA73p083251; Tue, 7 Aug 2012 16:10:07 GMT (envelope-from gnats) Date: Tue, 7 Aug 2012 16:10:07 GMT Message-Id: <201208071610.q77GA73p083251@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 16:10:07 -0000 The following reply was made to PR usb/170358; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Tomasz Olejniczak , freebsd-gnats-submit@freebsd.org Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers Date: Tue, 7 Aug 2012 18:03:08 +0200 On Monday 06 August 2012 10:40:03 Tomasz Olejniczak wrote: > The following reply was made to PR usb/170358; it has been noted by GNATS. > > From: Tomasz Olejniczak > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers > Date: Mon, 6 Aug 2012 10:31:05 +0200 > > Hi, > > Thanks for answer. > > > What does: > > dmesg | grep -C 4 ums > > ugen0.4: at usbus0 > ukbd1: on > usbus0 kbd3 at ukbd1 > ums0: on usbus0 > ums0: 16 buttons and [XYZT] coordinates ID=2 > uhid1: on > usbus0 > > > Please also dump the HID descriptor of your USB mouse: > > usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 > > REQUEST = <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7 > 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x81 0x03 0x95 0x05 > 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01 > 0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xa4 0x00 0x05 0x07 0x19 0x00 0x2a > 0xa4 0x00 0x81 0x00 0xc0><)%u)uu&*> > Hi, I see that your mouse has many buttons. The order might be hardcoded by the hardware. Only if the HID descriptor has the information we need to distinguish the buttons, we can fix this issue. The request in question is for the keyboard. I see you have a dual- keyboard/mouse device. Re-run command like this: usbconfig -d X.Y do_request 0x81 0x06 0x2200 1 0x100 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 7 18:40:03 2012 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 6600B1065677 for ; Tue, 7 Aug 2012 18:40: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 31E578FC17 for ; Tue, 7 Aug 2012 18:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q77Ie34G004147 for ; Tue, 7 Aug 2012 18:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q77Ie3Ef004146; Tue, 7 Aug 2012 18:40:03 GMT (envelope-from gnats) Date: Tue, 7 Aug 2012 18:40:03 GMT Message-Id: <201208071840.q77Ie3Ef004146@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Tomasz Olejniczak Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Olejniczak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 18:40:03 -0000 The following reply was made to PR usb/170358; it has been noted by GNATS. From: Tomasz Olejniczak To: bug-followup@FreeBSD.org, tomek.apostata@gmail.com Cc: Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers Date: Tue, 7 Aug 2012 20:32:49 +0200 Hi, > The request in question is for the keyboard. I see you have a dual- > keyboard/mouse device. To be exact - This is Logitech M510 with 'Unifying' usb dongle which allows to connect several devices (from logitech). > Re-run command like this: # usbconfig -d 3.2 do_request 0x81 0x06 0x2200 1 0x100 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01 0x81 0x02 0x05 0x01 0x16 0x01 0xf8 0x26 0xff 0x07 0x75 0x0c 0x95 0x02 0x09 0x30 0x09 0x31 0x81 0x06 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x09 0x38 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x00 0xc0 0x05 0x01 0x09 0x80 0xa1 0x01 0x85 0x04 0x75 0x02 0x95 0x01 0x15 0x01 0x25 0x03 0x09 0x82 0x09 0x81 0x09 0x83 0x81 0x60 0x75 0x06 0x81 0x03 0xc0 0x06 0xbc 0xff 0x09 0x88 0xa1 0x01 0x85 0x08 0x19 0x01 0x29 0xff 0x15 0x01 0x26 0xff 0x00 0x75 0x08 0x95 0x01 0x81 0x00 0xc0><)%u&u01%u88u&*u%`u)&u> If it helps I have also older Logitech LX7 mouse with tilt wheel which worked fine in FreeBSD 8.0 RELEASE. But with 9.0 it behaves even stranger - the buttons are duplicated the same as with M510 - "tilt left" and "back" emits press and release for button 4 but release emits also button 7. So tilting emits button 4 when pressing and button 4 and 7 when releasing. Below is the info about Logitech LX7. ugen1.2: at usbus1 ums2: on usbus1 ums2: 16 buttons and [XYZT] coordinates ID=0 And the descriptor: REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x03 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0x05 0x01 0x09 0x3c 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0xb1 0x22 0x95 0x07 0xb1 0x01 0x05 0x08 0x09 0x4b 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0x05 0x09 0x19 0x09 0x29 0x10 0x81 0x02 0xc0><)%u018%u8%u"K%u)> -- Tomek From owner-freebsd-usb@FreeBSD.ORG Sat Aug 11 09:25:33 2012 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 71AC7106564A for ; Sat, 11 Aug 2012 09:25:33 +0000 (UTC) (envelope-from kraotn@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id E03268FC12 for ; Sat, 11 Aug 2012 09:25:32 +0000 (UTC) Received: by wicr5 with SMTP id r5so863220wic.13 for ; Sat, 11 Aug 2012 02:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dZsclOLIAigs/T+ixdX2DAPdY6N/nQqLKynSDVVGMC4=; b=KFRZCBYtwCmKgv9UDmms8HSMGm39u3mHInsGo3AsPMG2mrJsIqGsbMtjkq7dTOiWav EovxgeyKBWcGG69ewoqbuKgBN9bN7NUArw2vEkKXxpjzo9OvMp4AuG1mC0bqR6WBKCu8 ug38Hh+EWWYWOQUumhMLvfdrq0Cz1zbpIMZx0dcoqMc2NqCgsNYcG1bNnYtZ9Jt84Tu3 Gq0lRJV/Zp9BKDTuhZjReVB4ypLViEVztntOVNWSnUSz7+2kp+UfOtBpDBVMnqbrrQ8/ xkQFQILqw8ejsN9dUJJFfcXCYc1HKJ1eWALSvhRzZlLcHqOGdOpSkH5vLx7x9wktByNA UCxw== MIME-Version: 1.0 Received: by 10.180.103.136 with SMTP id fw8mr2659244wib.20.1344677125675; Sat, 11 Aug 2012 02:25:25 -0700 (PDT) Received: by 10.223.70.200 with HTTP; Sat, 11 Aug 2012 02:25:25 -0700 (PDT) Date: Sat, 11 Aug 2012 11:25:25 +0200 Message-ID: From: Kra OTN To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: USB keyboard partially functioning 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, 11 Aug 2012 09:25:33 -0000 Hi guys, I'm currently facing a problem with my Corsair K60 USB keyboard on a system that is running FreeBSD9 with a standard kernel (9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64) The keyboard is detected with the following device nodes: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- *syslog:* Aug 11 11:05:47 desktop kernel: ugen0.3: at usbus0 Aug 11 11:05:47 desktop kernel: ukbd_probe: Aug 11 11:05:47 desktop kernel: ukbd_probe: Aug 11 11:05:47 desktop kernel: ukbd0: on usbus0 Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 65 bytes Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard numlock Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard capslock Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard scrolllock Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 Aug 11 11:05:47 desktop kernel: kbd2 at ukbd0 Aug 11 11:05:47 desktop kernel: ukbd_probe: Aug 11 11:05:47 desktop kernel: ukbd_set_leds_callback: len=1, id=0 Aug 11 11:05:47 desktop kernel: uhid0: on usbus0 Aug 11 11:05:47 desktop kernel: ukbd_probe: Aug 11 11:05:47 desktop kernel: ukbd_probe: Aug 11 11:05:47 desktop kernel: ukbd1: on usbus0 Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 37 bytes Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 Aug 11 11:05:47 desktop kernel: kbd3 at ukbd1 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- *usbconfig:* ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- As the syslog suggests right/left shift, ctrl and alt keys are working correctly. But those keys are the _only_ functioning keys. Debugging ukbd (sysctl hw.usb.ukbd.debug=15) gives me the following output on a working key: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ukbd_put_key: 0xe2 (226) pressed ukbd_intr_callback: actlen=15 bytes ukbd_intr_callback: modifiers = 0x0004 ukbd_put_key: 0x4e0 (1248) released -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- But when pressing a key that is not working, the "a" for example I get the following output: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Aug 11 11:12:45 desktop kernel: ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:45 desktop kernel: ukbd_intr_callback: modifiers = 0x0000 Aug 11 11:12:46 desktop kernel: ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:46 desktop kernel: ukbd_intr_callback: modifiers = 0x0000 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I want to remind you that _all_ keys are not working except those parsed by ukbd_parse_hid. The USB keyboard is functioning correctly on a Linux machine, so it's not a hardware defect. Can someone help me out troubleshooting this problem? Regards, M. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 11 09:52:12 2012 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 574F4106566B for ; Sat, 11 Aug 2012 09:52:12 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id BF7498FC15 for ; Sat, 11 Aug 2012 09:52:11 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 303254936; Sat, 11 Aug 2012 11:52:02 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 11 Aug 2012 11:52:35 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201208111152.35966.hselasky@c2i.net> Cc: Subject: Re: USB keyboard partially functioning 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, 11 Aug 2012 09:52:12 -0000 On Saturday 11 August 2012 11:25:25 Kra OTN wrote: > Hi guys, > > I'm currently facing a problem with my Corsair K60 USB keyboard on a system > that is running FreeBSD9 with a standard kernel (9.0-RELEASE FreeBSD > 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64) > > The keyboard is detected with the following device nodes: > > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- *syslog:* > Aug 11 11:05:47 desktop kernel: ugen0.3: at usbus0 > Aug 11 11:05:47 desktop kernel: ukbd_probe: > Aug 11 11:05:47 desktop kernel: ukbd_probe: > Aug 11 11:05:47 desktop kernel: ukbd0: Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 65 > bytes > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard numlock > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard capslock > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard scrolllock > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 > Aug 11 11:05:47 desktop kernel: kbd2 at ukbd0 > Aug 11 11:05:47 desktop kernel: ukbd_probe: > Aug 11 11:05:47 desktop kernel: ukbd_set_leds_callback: len=1, id=0 > Aug 11 11:05:47 desktop kernel: uhid0: Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > Aug 11 11:05:47 desktop kernel: ukbd_probe: > Aug 11 11:05:47 desktop kernel: ukbd_probe: > Aug 11 11:05:47 desktop kernel: ukbd1: Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 37 > bytes > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 > Aug 11 11:05:47 desktop kernel: kbd3 at ukbd1 > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- *usbconfig:* > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE > ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE > ugen2.1: at usbus2, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > ugen0.3: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- > > As the syslog suggests right/left shift, ctrl and alt keys are working > correctly. But those keys are the _only_ functioning keys. Debugging ukbd > (sysctl hw.usb.ukbd.debug=15) gives me the following output on a working > key: > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- ukbd_put_key: 0xe2 (226) pressed > ukbd_intr_callback: actlen=15 bytes > ukbd_intr_callback: modifiers = 0x0004 > ukbd_put_key: 0x4e0 (1248) released > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- > > But when pressing a key that is not working, the "a" for example I get the > following output: > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -------------------------- Aug 11 11:12:45 desktop kernel: > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:45 desktop kernel: > ukbd_intr_callback: modifiers = 0x0000 Aug 11 11:12:46 desktop kernel: > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:46 desktop kernel: > ukbd_intr_callback: modifiers = 0x0000 > -------------------------------------------------------------------------- > --------------------------------------------------------------------------- > --------------------------- > > I want to remind you that _all_ keys are not working except those parsed > by ukbd_parse_hid. > > The USB keyboard is functioning correctly on a Linux machine, so it's not a > hardware defect. Can someone help me out troubleshooting this problem? Hi, Usually the actlen should be only 8-bytes. ukbd makes certain assumptions about where the key-data is supposed to be placed. Try using: usbdump -i usbusX -f Y -vvv To capture the data. There is also a quirk to set the BOOT protocol: usbconfig -d X.Y add_quirk UQ_KBD_BOOTPROTO Then re-plug the device. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 11 11:02:34 2012 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 69C5E106566B for ; Sat, 11 Aug 2012 11:02:34 +0000 (UTC) (envelope-from kraotn@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D7A7E8FC08 for ; Sat, 11 Aug 2012 11:02:33 +0000 (UTC) Received: by weyx56 with SMTP id x56so1844077wey.13 for ; Sat, 11 Aug 2012 04:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J1ljhTSIvAVK9ejygev4PQ+JvKvhso316pOmqkQy+i8=; b=g6pMfqiAaonuBq+9TlxoapU+QWAy5UL9ftD4muPz9tR2sCd3FwGDgLLzONJXr4ASbj ld2CNGkTPM+ruUWj13k7xu6Gb2fwQ9RXD/G23bCZsqTobDDceHfcU/CSkbruC7UNrDN7 NGOF90+XNEmUMXExCMxcdr289vGwepzC08D+8RrXyNz5Wjc1QCxTlhcVkdWLvITW4Lfc yu/iarKn7q6cC6t05nQr356J3UhnMxtGX2qdeOHwoBkBLUA+qG50wePYu03GX9mRdwgg HSHRdSS71TahByH1tymtGJaMq6unLorMxa2XEA8zS0zOA/MBbg7ZrjL3gQo/ErwLEXz8 jL7A== MIME-Version: 1.0 Received: by 10.216.221.74 with SMTP id q52mr2950339wep.181.1344682951987; Sat, 11 Aug 2012 04:02:31 -0700 (PDT) Received: by 10.223.70.200 with HTTP; Sat, 11 Aug 2012 04:02:31 -0700 (PDT) In-Reply-To: <201208111152.35966.hselasky@c2i.net> References: <201208111152.35966.hselasky@c2i.net> Date: Sat, 11 Aug 2012 13:02:31 +0200 Message-ID: From: Kra OTN To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: USB keyboard partially functioning 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, 11 Aug 2012 11:02:34 -0000 Hans, Thank you for your support. Executing the "usbconfig -d x.y add_quirk UQ_KBD_BOOTPROTO" -command did the trick once but after a warm reboot and executing the above command again results in a, what it looks like, a bus error / conflict. The keyboard LEDs are flashing rapidly and my USB mouse has stopped working also (rapidly flashing light). Debugging gives me the following error messages: ------------------------------------------------------------------------------------- Aug 11 12:33:35 desktop kernel: uhid0: at uhub5, port 1, addr 3 (disconnected) Aug 11 12:33:35 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED Aug 11 12:33:35 desktop last message repeated 3 times Aug 11 12:33:35 desktop kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) Aug 11 12:33:35 desktop kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED Aug 11 12:33:35 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED Aug 11 12:33:36 desktop last message repeated 8 times Aug 11 12:33:36 desktop kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) Aug 11 12:33:36 desktop kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED Aug 11 12:33:36 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED Aug 11 12:58:09 desktop kernel: ugen3.4: at usbus3 (disconnected) Aug 11 12:58:09 desktop kernel: uhub_reattach_port: could not allocate new device ------------------------------------------------------------------------------------- Is it possible to auto quirk at boot? Many thanks, M. On Sat, Aug 11, 2012 at 11:52 AM, Hans Petter Selasky wrote: > On Saturday 11 August 2012 11:25:25 Kra OTN wrote: > > Hi guys, > > > > I'm currently facing a problem with my Corsair K60 USB keyboard on a > system > > that is running FreeBSD9 with a standard kernel (9.0-RELEASE FreeBSD > > 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 > > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64) > > > > The keyboard is detected with the following device nodes: > > > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- *syslog:* > > Aug 11 11:05:47 desktop kernel: ugen0.3: at usbus0 > > Aug 11 11:05:47 desktop kernel: ukbd_probe: > > Aug 11 11:05:47 desktop kernel: ukbd_probe: > > Aug 11 11:05:47 desktop kernel: ukbd0: > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 65 > > bytes > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard numlock > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard capslock > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard scrolllock > > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 > > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 > > Aug 11 11:05:47 desktop kernel: kbd2 at ukbd0 > > Aug 11 11:05:47 desktop kernel: ukbd_probe: > > Aug 11 11:05:47 desktop kernel: ukbd_set_leds_callback: len=1, id=0 > > Aug 11 11:05:47 desktop kernel: uhid0: > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > > Aug 11 11:05:47 desktop kernel: ukbd_probe: > > Aug 11 11:05:47 desktop kernel: ukbd_probe: > > Aug 11 11:05:47 desktop kernel: ukbd1: > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 > > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of 37 > > bytes > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI > > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events > > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 > > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 > > Aug 11 11:05:47 desktop kernel: kbd3 at ukbd1 > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- *usbconfig:* > > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) > > pwr=SAVE > > ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER > > (5.0Gbps) pwr=SAVE > > ugen2.1: at usbus2, cfg=0 md=HOST spd=SUPER > > (5.0Gbps) pwr=SAVE > > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH > (480Mbps) > > pwr=SAVE > > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH > > (480Mbps) pwr=SAVE > > ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH > > (480Mbps) pwr=SAVE > > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON > > ugen0.3: at usbus0, cfg=0 > md=HOST > > spd=FULL (12Mbps) pwr=ON > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- > > > > As the syslog suggests right/left shift, ctrl and alt keys are working > > correctly. But those keys are the _only_ functioning keys. Debugging ukbd > > (sysctl hw.usb.ukbd.debug=15) gives me the following output on a working > > key: > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- ukbd_put_key: 0xe2 (226) pressed > > ukbd_intr_callback: actlen=15 bytes > > ukbd_intr_callback: modifiers = 0x0004 > > ukbd_put_key: 0x4e0 (1248) released > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- > > > > But when pressing a key that is not working, the "a" for example I get > the > > following output: > > > --------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > -------------------------- Aug 11 11:12:45 desktop kernel: > > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:45 desktop kernel: > > ukbd_intr_callback: modifiers = 0x0000 Aug 11 11:12:46 desktop kernel: > > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:46 desktop kernel: > > ukbd_intr_callback: modifiers = 0x0000 > > > -------------------------------------------------------------------------- > > > --------------------------------------------------------------------------- > > --------------------------- > > > > I want to remind you that _all_ keys are not working except those parsed > > by ukbd_parse_hid. > > > > The USB keyboard is functioning correctly on a Linux machine, so it's > not a > > hardware defect. Can someone help me out troubleshooting this problem? > > Hi, > > Usually the actlen should be only 8-bytes. ukbd makes certain assumptions > about where the key-data is supposed to be placed. > > Try using: > > usbdump -i usbusX -f Y -vvv > > To capture the data. There is also a quirk to set the BOOT protocol: > > usbconfig -d X.Y add_quirk UQ_KBD_BOOTPROTO > > Then re-plug the device. > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Sat Aug 11 11:55:16 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 945B11065679 for ; Sat, 11 Aug 2012 11:55:16 +0000 (UTC) (envelope-from kraotn@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 179EC8FC0A for ; Sat, 11 Aug 2012 11:55:15 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1634547wib.13 for ; Sat, 11 Aug 2012 04:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4jk6m41Y9H9OTfIj0rcsgLZMIcQw5rikeiM68fUnUwM=; b=HO5CPF92sVna6AYhgfOGNgV31CEVTcMPoBGxHvBATdzOassaLGorEnM24z3boewiSk 7Da5JT0N8OEFqhw4GMDhwJZBIMCmeV+p0t7NmfB8wxLHbHYdeS56C9Mo6UtvkCFi+tnf xloo82ZEve/n3nphk2lRMbBbKP663gvjswGSJZuMicld/Dp6QQx/u+TnlZcqeDPZrYZL voZhg8UQHGDlxZZVH4qGB8ffscUiMtvEgMlLrizciEpxEKmODivKMRBgdRijU4OhvDGl 4lRB5obGhhX9f+epKWrQXC8WzTy7hEb2J8JrGtBj4NQOXKbyE5QhoiGq101dvJNiigi8 g5pw== MIME-Version: 1.0 Received: by 10.180.84.104 with SMTP id x8mr3364372wiy.20.1344686114988; Sat, 11 Aug 2012 04:55:14 -0700 (PDT) Received: by 10.223.70.200 with HTTP; Sat, 11 Aug 2012 04:55:14 -0700 (PDT) In-Reply-To: References: <201208111152.35966.hselasky@c2i.net> Date: Sat, 11 Aug 2012 13:55:14 +0200 Message-ID: From: Kra OTN To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: USB keyboard partially functioning 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, 11 Aug 2012 11:55:16 -0000 *Output of usbdump (at time of problem, it loops):* ------------------------------------------------------------------- 13:49:38.646846 usbus3.2 DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 01 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... | flags 0x10 status 0xea1a1 13:49:38.646855 usbus3.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 A3 00 00 00 02 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes flags 0x10 status 0xea1a3 13:49:38.646971 usbus3.2 DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 01 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... | flags 0x10 status 0xca1a1 13:49:38.646974 usbus3.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 A3 00 00 00 03 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes flags 0x10 status 0xca1a3 13:49:38.647095 usbus3.2 DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 00 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... | flags 0x10 status 0xea1a1 13:49:38.647098 usbus3.2 SUBM-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 A3 00 00 00 04 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes flags 0x10 status 0xea1a3 13:49:38.647220 usbus3.2 DONE-CTRL-EP=00000080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 00 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... | flags 0x10 status 0xca1a1 ------------------------------------------------------------------- *output of usbconfig (i have manually set the pwr to OFF)* ------------------------------------------------------------------- [root@desktop ~]# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.5: at usbus3, cfg=255 md=HOST spd=FULL (12Mbps) pwr=OFF ugen3.3: at usbus3, cfg=255 md=HOST spd=FULL (12Mbps) pwr=OFF ugen3.4: at usbus3, cfg=255 md=HOST spd=FULL (12Mbps) pwr=OFF ------------------------------------------------------------------- On Sat, Aug 11, 2012 at 1:02 PM, Kra OTN wrote: > Hans, > > Thank you for your support. Executing the "usbconfig -d x.y add_quirk > UQ_KBD_BOOTPROTO" -command did the trick once but after a warm reboot and > executing the above command again results in a, what it looks like, a bus > error / conflict. > > The keyboard LEDs are flashing rapidly and my USB mouse has stopped > working also (rapidly flashing light). > > Debugging gives me the following error messages: > > ------------------------------------------------------------------------------------- > Aug 11 12:33:35 desktop kernel: uhid0: at uhub5, port 1, addr 3 > (disconnected) > Aug 11 12:33:35 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED > Aug 11 12:33:35 desktop last message repeated 3 times > Aug 11 12:33:35 desktop kernel: usbd_req_re_enumerate: addr=3, set address > failed! (USB_ERR_STALLED, ignored) > Aug 11 12:33:35 desktop kernel: usbd_setup_device_desc: getting device > descriptor at addr 3 failed, USB_ERR_STALLED > Aug 11 12:33:35 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED > Aug 11 12:33:36 desktop last message repeated 8 times > Aug 11 12:33:36 desktop kernel: usbd_req_re_enumerate: addr=3, set address > failed! (USB_ERR_STALLED, ignored) > Aug 11 12:33:36 desktop kernel: usbd_setup_device_desc: getting device > descriptor at addr 3 failed, USB_ERR_STALLED > Aug 11 12:33:36 desktop kernel: ukbd_intr_callback: error=USB_ERR_STALLED > Aug 11 12:58:09 desktop kernel: ugen3.4: at usbus3 (disconnected) > Aug 11 12:58:09 desktop kernel: uhub_reattach_port: could not allocate new > device > > ------------------------------------------------------------------------------------- > > Is it possible to auto quirk at boot? > > > Many thanks, > > M. > > > > > On Sat, Aug 11, 2012 at 11:52 AM, Hans Petter Selasky wrote: > >> On Saturday 11 August 2012 11:25:25 Kra OTN wrote: >> > Hi guys, >> > >> > I'm currently facing a problem with my Corsair K60 USB keyboard on a >> system >> > that is running FreeBSD9 with a standard kernel (9.0-RELEASE FreeBSD >> > 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 >> > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64) >> > >> > The keyboard is detected with the following device nodes: >> > >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- *syslog:* >> > Aug 11 11:05:47 desktop kernel: ugen0.3: at usbus0 >> > Aug 11 11:05:47 desktop kernel: ukbd_probe: >> > Aug 11 11:05:47 desktop kernel: ukbd_probe: >> > Aug 11 11:05:47 desktop kernel: ukbd0: > > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 >> > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of >> 65 >> > bytes >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard numlock >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard capslock >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard >> scrolllock >> > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 >> > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 >> > Aug 11 11:05:47 desktop kernel: kbd2 at ukbd0 >> > Aug 11 11:05:47 desktop kernel: ukbd_probe: >> > Aug 11 11:05:47 desktop kernel: ukbd_set_leds_callback: len=1, id=0 >> > Aug 11 11:05:47 desktop kernel: uhid0: > > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 >> > Aug 11 11:05:47 desktop kernel: ukbd_probe: >> > Aug 11 11:05:47 desktop kernel: ukbd_probe: >> > Aug 11 11:05:47 desktop kernel: ukbd1: > > Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus0 >> > Aug 11 11:05:47 desktop kernel: ukbd_attach: Parsing HID descriptor of >> 37 >> > bytes >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left control >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right control >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left shift >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right shift >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left alt >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right alt >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found left GUI >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found right GUI >> > Aug 11 11:05:47 desktop kernel: ukbd_parse_hid: Found keyboard events >> > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x00 >> > Aug 11 11:05:47 desktop kernel: ukbd_set_leds: leds=0x02 >> > Aug 11 11:05:47 desktop kernel: kbd3 at ukbd1 >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- *usbconfig:* >> > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH >> (480Mbps) >> > pwr=SAVE >> > ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER >> > (5.0Gbps) pwr=SAVE >> > ugen2.1: at usbus2, cfg=0 md=HOST spd=SUPER >> > (5.0Gbps) pwr=SAVE >> > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH >> (480Mbps) >> > pwr=SAVE >> > ugen0.2: at usbus0, cfg=0 md=HOST >> spd=HIGH >> > (480Mbps) pwr=SAVE >> > ugen3.2: at usbus3, cfg=0 md=HOST >> spd=HIGH >> > (480Mbps) pwr=SAVE >> > ugen3.3: at usbus3, cfg=0 md=HOST >> spd=FULL >> > (12Mbps) pwr=ON >> > ugen0.3: at usbus0, cfg=0 >> md=HOST >> > spd=FULL (12Mbps) pwr=ON >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- >> > >> > As the syslog suggests right/left shift, ctrl and alt keys are working >> > correctly. But those keys are the _only_ functioning keys. Debugging >> ukbd >> > (sysctl hw.usb.ukbd.debug=15) gives me the following output on a working >> > key: >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- ukbd_put_key: 0xe2 (226) pressed >> > ukbd_intr_callback: actlen=15 bytes >> > ukbd_intr_callback: modifiers = 0x0004 >> > ukbd_put_key: 0x4e0 (1248) released >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- >> > >> > But when pressing a key that is not working, the "a" for example I get >> the >> > following output: >> > >> --------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > -------------------------- Aug 11 11:12:45 desktop kernel: >> > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:45 desktop kernel: >> > ukbd_intr_callback: modifiers = 0x0000 Aug 11 11:12:46 desktop kernel: >> > ukbd_intr_callback: actlen=15 bytes Aug 11 11:12:46 desktop kernel: >> > ukbd_intr_callback: modifiers = 0x0000 >> > >> -------------------------------------------------------------------------- >> > >> --------------------------------------------------------------------------- >> > --------------------------- >> > >> > I want to remind you that _all_ keys are not working except those parsed >> > by ukbd_parse_hid. >> > >> > The USB keyboard is functioning correctly on a Linux machine, so it's >> not a >> > hardware defect. Can someone help me out troubleshooting this problem? >> >> Hi, >> >> Usually the actlen should be only 8-bytes. ukbd makes certain assumptions >> about where the key-data is supposed to be placed. >> >> Try using: >> >> usbdump -i usbusX -f Y -vvv >> >> To capture the data. There is also a quirk to set the BOOT protocol: >> >> usbconfig -d X.Y add_quirk UQ_KBD_BOOTPROTO >> >> Then re-plug the device. >> >> --HPS >> > >