View Single Post
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#566
1. Do you have /dev/input/js0 device file after successful connect ("2" LED is red on controller)?
Code:
~ $ ls -l /dev/input/js0 
crw-rw-r--    1 root     root      13,   0 Apr 19 23:41 /dev/input/js0
2. Do you have joydev module loaded?
Code:
~ $ lsmod | grep joy
joydev                  9088  1
3. Have your HAL daemon found the joystick? (Note the input.x11_options lines.)
Code:
~ $ lshal | grep PLAY -C2
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'PLAYSTATION(R)3 Controller (00:1E:3D:91:FD:XX)'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'  (string)
  input.device = '/dev/input/event4'  (string)
  input.product = 'PLAYSTATION(R)3 Controller (00:1E:3D:91:FD:XX)'  (string)
  input.x11_driver = 'joystick'  (string)
  input.x11_options.MapAxis1 = 'mode=relative axis=+2x deadzone=5000'  (string)
4. Do you have xserver-xorg-input-joystick package installed?
Code:
~ $ dpkg -l *joystick*
[...]
ii  joystick                          20051019-5maemo0
ii  xserver-xorg-input-joystick       1:1.5.0-1maemo0
4. Did your xserver noticed the joystick?
Code:
~ $ 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:1E:3D:91:FD:XX). bus 0x5 vendor 0x54c product 0x268 version 0x100
(II) Joystick: found 29 axes, 17 buttons
JOYSTICK: DebugLevel set to 0
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 

The Following User Says Thank You to smoku For This Useful Post: