From: Luciano C. V. <lu...@te...> - 2002-02-07 00:41:37
|
I have just buy a Logitech Wingman Precision USB, and i can not make it work on linux. i have a debian woody, with 2.4.17 kernel, and all usb support in modules. kernel installs usbcore, and then i modprobe usb-uhci after that the gamepad is recognise but it doesn't load automatically a driver, it says no driver claims the device but it loads input module, so i try to load the driver manually i do modprobe joydev it gaves a seg fault and after that it seems to lock, doing a lsmod it appears joydev (size) 1 (Initializing) and the device seems to be there i can do cat /dev/input/js0 and jstest --normal /dev/input/js0 puts some line indicating jstest --normal /dev/input/js0 Joystick (Logitech Logitech) has 3 axes and 6 buttons. Driver version is 2.1.0. Testing ... (interrupt to exit) Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0: 0 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0:-32767 1: 0 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0:-32767 1:-32767 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off Axes: 0:-32767 1:-32767 2: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off Hope you could help me play with my gamepad ni linux. I can do some beta test if you like. Thxs for your patience. |
From: Johann D. <jo...@do...> - 2002-02-07 13:38:59
|
On Thu, 7 Feb 2002, Luciano Campal Vazquez wrote: > > I have just buy a Logitech Wingman Precision USB, and i can not make it work on linux. > > i have a debian woody, with 2.4.17 kernel, and all usb support in modules. > > kernel installs usbcore, and then i modprobe usb-uhci after that the gamepad is recognise > but it doesn't load automatically a driver, it says no driver claims the device but it loads input module, so i try to load the driver manually i do > > modprobe joydev > > it gaves a seg fault and after that it seems to lock, doing a lsmod it appears modprobe segfaults ? That should not happen. Check if there is a kernel oops in your log files. If that's the case, please tell us (using ksymoops). Do not also forget to send us the list of modules inserted when the bug occurs. -- Johann Deneux |
From: Vojtech P. <vo...@su...> - 2002-02-09 17:26:12
|
On Thu, Feb 07, 2002 at 02:38:48PM +0100, Johann Deneux wrote: > > I have just buy a Logitech Wingman Precision USB, and i can not make it work on linux. > > > > i have a debian woody, with 2.4.17 kernel, and all usb support in modules. > > > > kernel installs usbcore, and then i modprobe usb-uhci after that the gamepad is recognise > > but it doesn't load automatically a driver, it says no driver claims the device but it loads input module, so i try to load the driver manually i do > > > > modprobe joydev > > > > it gaves a seg fault and after that it seems to lock, doing a lsmod it appears > > modprobe segfaults ? That should not happen. Check if there is a kernel > oops in your log files. If that's the case, please tell us (using > ksymoops). Do not also forget to send us the list of modules inserted when > the bug occurs. Yes, it's a bug in 2.4.17, fixed in the CVS. Division by zero because of incorrectly parsed HID descriptor. -- Vojtech Pavlik SuSE Labs |
From: Luciano C. V. <lu...@te...> - 2002-02-09 21:49:03
|
Sorry for being so enthusiastic, i only test buttons, not a "full" test, not have time at the moment i modified the joydev.c. It doesn't make the ugly oops. But only the buttons works, the axis ones doesn't If i can help you, jstest reports 3 axis and 6 buttons and that it is a joystick, mine is a common gamepad. so i think only 2 axis should be reported, X and Y. bye |
From: Vojtech P. <vo...@su...> - 2002-02-09 22:49:14
|
On Sat, Feb 09, 2002 at 10:48:32PM +0100, Luciano Campal Vazquez wrote: > Sorry for being so enthusiastic, i only test buttons, not a "full" test, not have time at the moment i modified the joydev.c. It doesn't make the ugly oops. > But only the buttons works, the axis ones doesn't > If i can help you, jstest reports 3 axis and 6 buttons and that it is a joystick, mine is a common gamepad. so i think only 2 axis should be reported, X and Y. There is another fix in the hid-core.c file in the CVS that's needed for this gamepad. -- Vojtech Pavlik SuSE Labs |