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.