Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Using PS3 SixAxis controller with N900

    Reply
    Page 83 of 93 | Prev | 73   81     82   83   84     85   | Next | Last
    impeham | # 821 | 2011-02-16, 00:22 | Report

    ok - paired using ubuntu CD.

    now when i press on the DS3 button, i can see all 4 leds flashing trying to connect and the BT icon in the N900 turn to blue, but after a few seconds both stop and sixad is not launched.

    How can i fix this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    impeham | # 822 | 2011-02-16, 21:28 | Report

    When i execute "udevadm monitor" on the N900 and press the DS3 button i get this:
    UEVENT[1297891634.993652] add /class/bluetooth/hci0/hci0:11 (bluetooth)
    UDEV [1297891635.079437] add /class/bluetooth/hci0/hci0:11 (bluetooth)
    UEVENT[1297891643.053008] remove /class/bluetooth/hci0/hci0:11 (bluetooth)
    UDEV [1297891643.105438] remove /class/bluetooth/hci0/hci0:11 (bluetooth)

    i have both sixad and sixaxis support installed. i removed and reinstalled both and rebooted between the removal and new installation.

    it seems as if it is trying to add the device and fails. anyone had this issue and fixed it?

    Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    prymus | # 823 | 2011-02-27, 07:18 | Report

    I get the exact same thing on mine. Add, add, remove, remove. The bluetooth symbol turns blue on the N900 while it is trying, the red lights on the PS3 controller are all flashing. Then those errors print to the terminal, the bluetooth icon on the N900 goes back to white and all the lights go out on the PS3 controller.

    Originally Posted by impeham View Post
    When i execute "udevadm monitor" on the N900 and press the DS3 button i get this:
    UEVENT[1297891634.993652] add /class/bluetooth/hci0/hci0:11 (bluetooth)
    UDEV [1297891635.079437] add /class/bluetooth/hci0/hci0:11 (bluetooth)
    UEVENT[1297891643.053008] remove /class/bluetooth/hci0/hci0:11 (bluetooth)
    UDEV [1297891643.105438] remove /class/bluetooth/hci0/hci0:11 (bluetooth)

    i have both sixad and sixaxis support installed. i removed and reinstalled both and rebooted between the removal and new installation.

    it seems as if it is trying to add the device and fails. anyone had this issue and fixed it?

    Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    impeham | # 824 | 2011-02-28, 07:22 | Report

    I even tried reflashing the device but it didn't help...
    Anyone found a solution for this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    waiku | # 825 | 2011-03-01, 17:00 | Report

    Originally Posted by impeham View Post
    I even tried reflashing the device but it didn't help...
    Anyone found a solution for this?

    hi impeham...

    just remove all programs related, and then try to reinstall it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    impeham | # 826 | 2011-03-01, 18:07 | Report

    i did that twice but it didn't change the behavior.
    is there another way to do the pairing?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to impeham For This Useful Post:
    ~phoenix~

     
    impeham | # 827 | 2011-03-01, 18:29 | Report

    Originally Posted by smoku View Post
    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, i typed "lsmod | grep joy" and got:
    joydev 9088 0

    should this be loaded automatically or should i do something to make it load?

    Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    impeham | # 828 | 2011-03-05, 16:18 | Report

    Finally - solved all the issues… this was a tough one!
    First of all, my joystick appears original sony's one and works well with playstation 3 and pc, but not with n900.
    I switched it with an original one and after setting its target mac address with ubuntu, I got a dialog in n900 when I pressed the joystick's button saying "do you want to connect to ps3 joystick" - I pressed yes - but still had the same behavior as before - add,add, remove,remove.
    So I reflashed the device and it worked, so I started to isolate the application that causes this problem.
    After many attempts I finally found the cause - it is a package that both "extkbd" and "extmou" are dependant on and it is called "libconbtui0-hid" - remove it and everything works fine.
    Now, the question is - is it possible to fix this? Can extkbd and extmou work with the ds3 installation?

    I must say the usage of DS3 with the TV connection is impressive. As one that uses a PDA for a very long time and liked to stretch every device to its hardware limits, the n900 is at another level.

    I hope a solution can be found for the bluetooth package.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to impeham For This Useful Post:
    whisk4s

     
    freemangordon | # 829 | 2011-03-06, 12:58 | Report

    I am extkbd and extmou maintainer, but will need help on that one (don't have such joystick , so one that has it should make tests) . What libconbtui0-hid does is to enable connecting "HID" devices from stock BT UI. Thinking of several options to resolve above problem, but lets continue on extkbd thread here http://talk.maemo.org/showthread.php?t=65577&page=19.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ~phoenix~ | # 830 | 2011-03-07, 20:42 | Report

    [REQUEST]

    hmm... what about an gui to change the button mapping as we wish??

    i would love to swap the bindings from the left and right stick to get aiming for teeworlds on the right sick.... and maybe movement on the left one....

    what does the right sick actually do?? to what is it bound??

    an option to turn off sixaxis support would be also nice....

    can someone do this??

    greetz

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 83 of 93 | Prev | 73   81     82   83   84     85   | Next | Last
vBulletin® Version 3.8.8
Normal Logout