On Feb 4, 2008 7:39 AM, Markus Brueffer <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 30. Januar 2008 20:47:48 schrieb Kevin Downey: > > > I have a wireless xbox (not xbox 360) gamepad that I would like to use > > as a remote control for media stuff in X. I figure a first step in > > that direction is to get it recognized as a uhid device. > > > > I find it hard to believe that I am the first person to do this on a > > freebsd box, yet googling the only hits I get are about xbox360 > > gamepad support. > > > > > > uhub7: <Logitech Wingman Wireless Xbox Controller (hub), class 9/0, > > rev 1.10/1.03, addr 2> on uhub1 > > uhub7: 3 ports with 2 removable, bus powered > > id->bInterfaceClass 0x58 > > ugen0: <vendor 0x046d product 0xca84, class 0/0, rev 1.10/1.03, addr 3> on > > uhub7 > > ... > > My idea was maybe I could just add a case for this controller. > > Does anyone have any pointers(har har), besides "read the source" for > > how to get this working? > > A first start would be to get it recognized by uhid(4). Please provide a > descriptor dump of the device using sysutils/udesc_dump from ports. > > Markus > pasted and incase gmail mangles it, http://thelastcitadel.com/lab/udesc_dump_logitech_wireless_xbox.txt
Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0110 bDeviceClass 00 bDeviceSubClass 00 bDeviceProtocol 00 bMaxPacketSize 8 idVendor 046d idProduct ca84 bcdDevice 0103 iManufacturer 0 iProduct 0 iSerialNumber 0 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 32 bNumInterface 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 80 bMaxPower 50 (100 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 58 bInterfaceSubClass 42 bInterfaceProtocol 00 iInterface 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 03 (Interrupt) wMaxPacketSize 32 bInterval 4 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 03 (Interrupt) wMaxPacketSize 32 bInterval 4 -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"