Joystick,dmesg
I have connected a Joystick, which has been working earlier in an other Linux-machine. In the new machine it's not working. Both Linux have Kernel 2.6
~$ lspci | grep -i audio 0000:01:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08) But: dmesg | grep -i Joystick gives nothing. I have also tried: modprobe analog modprobe joydev modprobe ns558 but they don't change anything. Tommi |
Check your /dev/js* devices. Do they exist? Permissions right?
|
I've been having the same problem. Although I hadn't tried using one before with earlier versions of Slack and kernels. I did the same dmesg check, tried the kernel components both as modules and as built-in, checked the /dev/js* and even tried creating the nodes - all with no success. Some searching led me to posts that suggest recent kernels, later 2.6.x series, have broken joystick support.
|
Quote:
mknod /dev/input/ js0 c 13 0 and permissions are: crw-r--r I changed them by chmod 755 to: crwxr-xr-r but it's not working. |
If you are using that SB Live to connect too then you need the emu10k1-gp module loaded. This is what I have for permission on my js devices.
Code:
ls -l /dev/input/js* |
where does your joystick connect? usb or parport? if usb, maybe you're having problems with your usb drivers.
you can try adding Joystick_port=1 in your modules config (e.g. in gentoo /etc/modules.d/alsa) Code:
options snd-[modname] Joystick_port=1 you can also try testing your joystick simply by doing 'cat /dev/input/js#' then play around with your joystick. see if there are messages appearing. you can also use a program named jtest here. if all device drivers are working maybe you have a problem detecting your joystick. check your joystick to other system or other machines. that's the only way i know. regards :) Edit: if 'Joystick_port=1' is not working for you try 'joystick=1' instead. |
alsa
Quote:
|
this depends on distros. but try doing
Code:
grep -r "options snd-" -rl i also recommend reading this HOWTO from Gentoo. this is where i get the idea on how i installed my joystick. http://gentoo-wiki.com/HOWTO_Joystick_Setup |
[QUOTE=konsolebox]this depends on distros. but try doing
Code:
grep -r "options snd-" -rl That code does not give any answer, but now I get: dmesg | grep -i gameport gameport: EMU10K1 is pci0000:01:02.1/gameport0, io 0x20a0, speed 1147kHz But: cat /dev/input/js0 tells that: No such device I'v loaded modules: analog joydev ns558 and emu10k1-gp (this doesn't work by: snd-emu.... or snd_emu... but only by: modprobe emu10k1-gp (which give no answer)) I'v set the permissions (is the other than js0 really deeded): crw-rw---- 1 root root 13, 0 2006-07-13 13:21 /dev/input/js0 crw-rw---- 1 root root 13, 0 2006-07-25 00:34 /dev/input/js1 crw-rw---- 1 root root 13, 0 2006-07-25 11:49 /dev/input/js2 crw-rw---- 1 root root 13, 0 2006-07-25 11:49 /dev/input/js3 crw-rw---- 1 root root 13, 0 2006-07-25 11:49 /dev/input/js4 Thanks for everyone anyway ! |
I finally solved mine. I have to load the sound driver module with the option "joystick_port=1", which is case-sensitive. These are the steps (for mine) in order.
1. stop alsa - /etc/rc.d/rc.alsa stop 2. unload the sound module - modprobe -r ens1371 3. reload with option - modprobe ens1371 joystick_port=1 4. reload joystick - modprobe analog 5. restart alsa - /etc/rc.d/rc.alsa restart After which the /dev/input/js0 device appears. I then create the symlink /dev/js0 -> /dev/input/js0 and everything is fine. My card is a SB16PCI, not a SB Live, but maybe this will help. Good luck. |
All times are GMT -5. The time now is 06:38 PM. |