Re: Problem with USB gamepad...

Jochen Kühner <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
> here is the log from dmesg...
>
> usbcore: deregistering interface driver usbhid
> usbcore: deregistering interface driver hiddev
> usbcore: registered new interface driver hiddev
> drivers/hid/usbhid/hid-core.c: report descriptor (size 106, read 106) 
> =  05 01 09 04 a1 01 09 01 a1 00 09 32 09 35 09 30 09 31 09 36 15 00 
> 26 ff 00 75 08 95 05 81 02 c0 09 39 15 00 25 07 35 00 46 3b 01 65 14 
> 75 04 95 01 81 02 05 09 19 01 29 0a 15 00 25 01 75 01 95 0a 81 02 75 
> 02 95 01 81 01 05 08 09 43 15 00 26 ff 00 35 00 46 ff 00 75 08 95 01 
> 91 82 09 44 91 82 09 45 91 82 09 46 91 82 c0
>  INPUT[INPUT]
>    Field(0)
>      Physical(GenericDesktop.Pointer)
>      Usage(5)
>        GenericDesktop.Z
>        GenericDesktop.Rz
>        GenericDesktop.X
>        GenericDesktop.Y
>        GenericDesktop.Slider
>      Logical Minimum(0)
>      Logical Maximum(255)
>      Report Size(8)
>      Report Count(5)
>      Report Offset(0)
>      Flags( Variable Absolute )
>    Field(1)
>      Usage(1)
>        GenericDesktop.HatSwitch
>      Logical Minimum(0)
>      Logical Maximum(7)
>      Physical Minimum(0)
>      Physical Maximum(315)
>      Unit(English Rotation : Degrees)
>      Report Size(4)
>      Report Count(1)
>      Report Offset(40)
>      Flags( Variable Absolute )
>    Field(2)
>      Usage(10)
>        Button.0001
>        Button.0002
>        Button.0003
>        Button.0004
>        Button.0005
>        Button.0006
>        Button.0007
>        Button.0008
>        Button.0009
>        Button.000a
>      Logical Minimum(0)
>      Logical Maximum(1)
>      Physical Minimum(0)
>      Physical Maximum(315)
>      Unit(English Rotation : Degrees)
>      Report Size(1)
>      Report Count(10)
>      Report Offset(44)
>      Flags( Variable Absolute )
>  OUTPUT[OUTPUT]
>    Field(0)
>      Usage(1)
>        LED.0043
>      Logical Minimum(0)
>      Logical Maximum(255)
>      Physical Minimum(0)
>      Physical Maximum(255)
>      Unit(English Rotation : Degrees)
>      Report Size(8)
>      Report Count(1)
>      Report Offset(0)
>      Flags( Variable Absolute Volatile )
>    Field(1)
>      Usage(1)
>        LED.0044
>      Logical Minimum(0)
>      Logical Maximum(255)
>      Physical Minimum(0)
>      Physical Maximum(255)
>      Unit(English Rotation : Degrees)
>      Report Size(8)
>      Report Count(1)
>      Report Offset(8)
>      Flags( Variable Absolute Volatile )
>    Field(2)
>      Usage(1)
>        LED.0045
>      Logical Minimum(0)
>      Logical Maximum(255)
>      Physical Minimum(0)
>      Physical Maximum(255)
>      Unit(English Rotation : Degrees)
>      Report Size(8)
>      Report Count(1)
>      Report Offset(16)
>      Flags( Variable Absolute Volatile )
>    Field(3)
>      Usage(1)
>        LED.0046
>      Logical Minimum(0)
>      Logical Maximum(255)
>      Physical Minimum(0)
>      Physical Maximum(255)
>      Unit(English Rotation : Degrees)
>      Report Size(8)
>      Report Count(1)
>      Report Offset(24)
>      Flags( Variable Absolute Volatile )
> Mapping: GenericDesktop.Z ---> Absolute.Z
> Mapping: GenericDesktop.Rz ---> Absolute.Rz
> Mapping: GenericDesktop.X ---> Absolute.X
> Mapping: GenericDesktop.Y ---> Absolute.Y
> Mapping: GenericDesktop.Slider ---> Absolute.Throttle
> Mapping: GenericDesktop.HatSwitch ---> Absolute.Hat0X
> Mapping: Button.0001 ---> Key.Trigger
> Mapping: Button.0002 ---> Key.ThumbBtn
> Mapping: Button.0003 ---> Key.ThumbBtn2
> Mapping: Button.0004 ---> Key.TopBtn
> Mapping: Button.0005 ---> Key.TopBtn2
> Mapping: Button.0006 ---> Key.PinkieBtn
> Mapping: Button.0007 ---> Key.BaseBtn
> Mapping: Button.0008 ---> Key.BaseBtn2
> Mapping: Button.0009 ---> Key.BaseBtn3
> Mapping: Button.000a ---> Key.BaseBtn4
> Mapping: LED.0043 ---> IGNORED
> Mapping: LED.0044 ---> IGNORED
> Mapping: LED.0045 ---> IGNORED
> Mapping: LED.0046 ---> IGNORED
> input: ACRUX RF USB GAMEPAD 8206 as /class/input/input3
> input: USB HID v1.00 Joystick [ACRUX RF USB GAMEPAD 8206] on 
> usb-0000:00:0b.0-2
> usbcore: registered new interface driver usbhid
> drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
>
>
>
> Jiri Kosina schrieb:
>> On Tue, 30 Oct 2007, Jochen Kühner wrote:
>>
>>  
>>> modprobe hid debug=1
>>> FATAL: Error inserting hid 
>>> (/lib/modules/2.6.22/kernel/drivers/hid/hid.ko):
>>> Unknown symbol in module, or unknown parameter (see dmesg)
>>> i've now compiled hid as a module. also CONFIG_HID_DEBUG=y is set. 
>>> using kernel 2.6.22. what do i wrong.... i did a make distclean 
>>> before...
>>>     
>>
>> Ah, 2.6.22 is quite old for me :) OK, this kernel doesn't have the 
>> 'debug' parameter yet, so compiling with CONFIG_HID_DEBUG should be 
>> perfectly sufficient, you should already see the needed debug output 
>> from hid in your dmesg.
>>
>>   
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.