Notices


Reply
Thread Tools
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#171
Originally Posted by smoku View Post
As root do:
Code:
insmod joydev
lsmod | grep joydev
Did you get any errors?
I did...

insmod joydev
insmod: can't read 'joydev': No such file or directory

there was also no /dev/input/js* and nothing in the xorg log. I guess that makes sense if the joydev module doesn't exist. Maybe?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#172
You don't have proper kernel + kernel-modules installed.

Code:
dpkg -l kernel kernel-modules
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#173
Originally Posted by smoku View Post
You don't have proper kernel + kernel-modules installed.

Code:
dpkg -l kernel kernel-modules
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-================================================== =-====================================-============================================
ii kernel 2.6.28-20094803.3+0m5+0hid1 Flashable Linux kernel
ii kernel-modules 2.6.28-20094803.3+0m5+0hid1 Linux kernel modules

Aren't those the proper versions?

Last edited by twoboxen; 2010-02-06 at 15:49.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#174
should be.. :/

Check whether you have /lib/modules/2.6.28-omap1/joydev.ko

If yes, run "depmod -a" command and try again insmod.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-02-06 at 18:27.
 
Posts: 152 | Thanked: 49 times | Joined on Dec 2009
#175
Originally Posted by smoku View Post
Some checkpoints:

Code:
Nokia-N900-51-1:~# dpkg -l kernel kernel-modules xserver-xorg-input-joystick sixad
ii  kernel                            2.6.28-20094803.3+0m5+0hid0
ii  kernel-modules                    2.6.28-20094803.3+0m5+0hid0
ii  sixad                             1.2.0-0maemo0
ii  xserver-xorg-input-joystick       1:1.5.0-1maemo0

Nokia-N900-51-1:~# ls -l /etc/udev/rules.d/98-sixad.rules /usr/sbin/sixad-udev /usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi /dev/input/js0
crw-rw-r--    1 root     root      13,   0 Feb  6 16:11 /dev/input/js0
-rw-r--r--    1 root     root          333 Feb  2 22:40 /etc/udev/rules.d/98-sixad.rules
-rwxr-xr-x    1 root     root          607 Feb  2 23:23 /usr/sbin/sixad-udev
lrwxrwxrwx    1 root     root           69 Feb  2 23:36 /usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi -> /opt/maemo/usr/share/hal/fdi/policy/20thirdparty/x11-sony-sixaxis.fdi

Nokia-N900-51-1:~# lsmod | grep joydev
joydev                 10368  1 

Nokia-N900-51-1:~# grep -i joy /tmp/Xorg.0.log 
(II) Loading /usr/lib/xorg/modules/input/joystick_drv.so
(II) Module joystick: vendor="X.Org Foundation"
(II) Joystick: PLAYSTATION(R)3 Controller (00:23:06:BA:BE:C8). bus 0x5 vendor 0x54c product 0x268 version 0x100
(II) Joystick: found 29 axes, 17 buttons
JOYSTICK: DebugLevel set to 0

Nokia-N900-51-1:~# ps -e | grep six
 1417 root      1660 S    /usr/sbin/sixad-bin 1 1 1 1 1 0 
 4562 root      1652 S    /usr/sbin/sixad-uinput-sixaxis 1 00:23:06:BA:BE:XX 
 4596 root      2088 R    grep six
I get almost the same but when i try to "grep -i joy /tmp/Xorg.0.log" i get nothing. i looked into the file but joystick_drv is never loaded :/
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#176
Originally Posted by CrckMc View Post
I get almost the same but when i try to "grep -i joy /tmp/Xorg.0.log" i get nothing. i looked into the file but joystick_drv is never loaded :/
Do you have /usr/lib/xorg/modules/input/joystick_drv.so file?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#177
Does "lshal | grep -i joy" show something?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 152 | Thanked: 49 times | Joined on Dec 2009
#178
yes to both

lshal | grep -i joy shows:

info.capabilities = {'input','input.joystick'} (string list)
 
Posts: 258 | Thanked: 138 times | Joined on Oct 2009 @ St. Louis, MO, USA
#179
Originally Posted by smoku View Post
Does "lshal | grep -i joy" show something?
I have /usr/lib/xorg/modules/input/joystick_drv.so, but lshal | grep -i joy doesn't show anything.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#180
CrckMc: check whether you have joystick_drv.so

twoboxen: do you have /dev/input/js0 ?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:51.