Notices


Reply
Thread Tools
Posts: 16 | Thanked: 1 time | Joined on Feb 2010
#571
smoku, cheers mate, that'll give me something to play with

jflatt, you just remined me, yeah the reset button is a must if the pad enters 'continual led flashing' state you cannot get it to pair once it does this without reseting and re-programming the mac back in.
 
Posts: 88 | Thanked: 25 times | Joined on Jan 2010
#572
Smoku,

Following are the results of debugging that you suggested:
1. Do you have /dev/input/js0 device file after successful connect ("2" LED is red on controller)? YES
2. Do you have joydev module loaded? YES
3. Have your HAL daemon found the joystick? (Note the input.x11_options lines.) No, there are no .x11 lines
4. Do you have xserver-xorg-input-joystick package installed? No, ii joystick did not appear
5. Did your xserver noticed the joystick? No

Apologies that I cannot figure out the 'so-what' of this exercise and have to revert to the expert! Any help will be truly appreciated.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#573
4. I asked about 'xserver-xorg-input-joystick', not 'joystick'.
3,5: Do you have /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi ?
Code:
~ $ ls -l /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi 
-rw-r--r--    1 root     root         4216 Mar 13 22:27 /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi
__________________
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:
Posts: 88 | Thanked: 25 times | Joined on Jan 2010
#574
Originally Posted by smoku View Post
4. I asked about 'xserver-xorg-input-joystick', not 'joystick'.
3,5: Do you have /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi ?
Code:
~ $ ls -l /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi 
-rw-r--r--    1 root     root         4216 Mar 13 22:27 /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi
Sure, ii xserver-xorg-input-joystick 1:1.5.0-1maemo0 did show up in the x-term.

Have the fdi file too...
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#575
Go to pastebin.com, paste your whole 'lshal' output, paste given link here.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 88 | Thanked: 25 times | Joined on Jan 2010
#576
Originally Posted by smoku View Post
Go to pastebin.com, paste your whole 'lshal' output, paste given link here.
http://pastebin.com/M8LyTEPt

Thanks!
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#577
So, the problem is that your HAL did not merge the additional information for the connected controller, so X11 does not consider it as "its" device.

1. Copy /usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi to /etc/hal/fdi/policy/
2. Reboot
3. Reconnect SIXAXIS
4. lshal | grep input.x11_driver
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N

Last edited by smoku; 2010-04-22 at 01:49.
 
Posts: 88 | Thanked: 25 times | Joined on Jan 2010
#578
Copied the file, rebooted, and reconnected.

lshal | input.x11_driver
~sh: input.x11_driver: not found
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#579
Doh. Sorry.

lshal | grep input.x11_driver
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 88 | Thanked: 25 times | Joined on Jan 2010
#580
input.x11_driver = 'evdev' (string)
input.x11_driver = 'evdev' (string)
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:42.