From owner-freebsd-usb@FreeBSD.ORG Wed Dec 6 14:57:42 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 D4DFE16A407 for ; Wed, 6 Dec 2006 14:57:42 +0000 (UTC) (envelope-from paul@pboehmer.com) Received: from netfoo.net (netfoo.net [206.162.201.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A347F43CB8 for ; Wed, 6 Dec 2006 14:56:54 +0000 (GMT) (envelope-from paul@pboehmer.com) Received: from netfoo.net (netfoo.net [206.162.201.200]) by netfoo.net (8.13.8/8.13.8) with ESMTP id kB6Ev7vG053135 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Dec 2006 09:57:11 -0500 (EST) (envelope-from paul@pboehmer.com) Date: Wed, 6 Dec 2006 09:57:06 -0500 (EST) From: Paul Boehmer X-X-Sender: paul@netfoo.net To: freebsd-usb@freebsd.org Message-ID: <20061206092503.A52050@netfoo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (netfoo.net [206.162.201.200]); Wed, 06 Dec 2006 09:57:11 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.6, clamav-milter version 0.88.6 on vulcan.netfoo.net X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,TW_KB autolearn=no version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on vulcan.netfoo.net Subject: Need help with wireless joystick/keyboard combo X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 14:57:42 -0000 I purchased a Ione Scorpius-P20 2.4GHz wireless joystick keyboard for use with a media PC (EPIA EN12000EG board) that I am building. The box is currently running 6.2-Prerelease. When the system boots up, the joystick is detected and installed as ums0 (great!), but the keyboard gets the following error: ukbd0: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 ukbd: set protocol failed device_attach: ukbd0 attach returned 6 For grins, I then booted the box with a Knoppix live CD and noticed that the keyboard and joystick are detected as uhid devices. The rebuilt the kernel once again, omitting the ums and ukbd drivers. Rebooted the box and now I see: uhid0: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 uhid1: Itron Presenter, rev 2.00/1.00, addr 2, iclass 3/1 usbd_transfer_cb: short transfer 0<2 >From a ssh connection, I run the following: > usbhidctl -f /dev/uhid0 -a Generic_Desktop:Pointer.Button:Button_1=1 Generic_Desktop:Pointer.Button:Button_2=1 Generic_Desktop:Pointer.Button:Button_3=1 Generic_Desktop:Pointer.Button:Button_4=1 Generic_Desktop:Pointer.Button:Button_5=1 Generic_Desktop:Pointer.Button:Button_6=1 Generic_Desktop:Pointer.Button:Button_7=1 Generic_Desktop:Pointer.Generic_Desktop:X=0 Generic_Desktop:Pointer.Generic_Desktop:Y=0 Generic_Desktop:Pointer.Generic_Desktop:Wheel=0 > usbhidctl -f /dev/uhid1 -a Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftControl=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftShift=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_LeftAlt=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_Left_GUI=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightControl=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightShift=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_RightAlt=0 Generic_Desktop:Keyboard.Keyboard:Keyboard_Right_GUI=0 Generic_Desktop:Keyboard.Keyboard:Reserved_(no_event_indicated)=000000 This looks promising, but seems my keyboard is missing a few keys. I am a little green on USB debugging (actually a lot). I have USB debugging enabled in the kernel, I am just not sure where to proceed from here. I can provide full dmesg's if needed. Any help greatly appreciated. Thanks in advance! -- Paul Boehmer paul@pboehmer.com