LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   problem with usb gamepad (https://www.linuxquestions.org/questions/linux-hardware-18/problem-with-usb-gamepad-252446/)

ilinkolov 11-08-2004 11:19 AM

problem with usb gamepad
 
the joystick is detected by the system, modules are loaded, jstest is ok, but nothing more

xmame says:
I386 joystick interface initialization...
OSD: Warning: No joysticks found disabling joystick support

/sbin/lsusb :

us 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0583:a000 Padix Co., Ltd (Rockfire)
Bus 001 Device 001: ID 0000:0000

please help...

P.S. the distro is Mandrake 10.1

JaseP 11-08-2004 11:40 AM

Does jscalibrator work???

What kind of device is it? Actual joystick? Gamepad? Manufacturer?

You might have to use some of the command line tools to force the system to recognize the device. It's been so long since I had to do it, I've forgotten... but do a man page for lsmod and modprobe. You'll need to get familiar with those to get started...

ilinkolov 11-08-2004 12:00 PM

it is "Rockfire Star Traveler" gamepad 2-axis 8-buttons

i have test it on mdk9.2 (kernel 2.4.X) and there it works winthout any interventions

maybe the problem is in the new kernel2.6 input modules?!?

ilinkolov 11-08-2004 12:23 PM

#dmesg |grep input

input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
input: AT Translated Set 2 keyboard on isa0060/serio0
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.10 Gamepad [2-Axis,8-Button ] on usb-0000:00:07.2-1

ilinkolov 11-08-2004 12:24 PM

# lsmod

Module Size Used by
isofs 31352 0
floppy 55088 0
udf 86340 0
md5 3584 1
ipv6 230916 14
snd-seq-oss 31232 0
snd-seq-midi-event 6080 1 snd-seq-oss
snd-seq 47440 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 49480 0
snd-mixer-oss 17376 1 snd-pcm-oss
snd-via82xx 22372 1
snd-ac97-codec 69392 1 snd-via82xx
snd-pcm 81800 2 snd-pcm-oss,snd-via82xx
snd-timer 20356 2 snd-seq,snd-pcm
snd-page-alloc 7400 2 snd-via82xx,snd-pcm
gameport 3328 1 snd-via82xx
snd-mpu401-uart 5856 1 snd-via82xx
snd-rawmidi 19300 1 snd-mpu401-uart
snd-seq-device 6344 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 45988 13 snd-seq-oss,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-via82xx,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 7008 1 snd
af_packet 16072 2
3c59x 35240 0
ide-cd 37280 0
cdrom 37724 1 ide-cd
loop 12520 0
supermount 34804 3
nvidia 4814196 12
via-agp 7360 1
agpgart 27752 2 via-agp
tsdev 5824 0
joydev 8032 0
evdev 7648 0
usbhid 41088 0
uhci-hcd 28752 0
usbcore 103172 4 usbhid,uhci-hcd
genrtc 7444 0
ext3 120680 3
jbd 49080 1 ext3

scottlinux 12-01-2004 09:44 PM

I have similar problems. Mandrake 10.1 and Gravis USB Gamepad Pro. Worked fine in previous Mandrake releases, but can't get it to work now.

scottlinux 12-01-2004 09:54 PM

Got it! Do this as root:

chmod 666 /dev/input/js0

Modify /etc/udev/permissions.d/00-udev.permissions to keep from having to do this on every boot with an extra line in the input section:

#-------------------------------
# input devices
# security => input: 644 => 600
# else anybody logged on could read my password directly from the event device
# associated with the keyboard...
input/*:root:root:0600
input/js*:root:root:0644


All times are GMT -5. The time now is 07:01 PM.