Notices


Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#821
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?
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#822
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.
 
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#823
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.
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#824
I even tried reflashing the device but it didn't help...
Anyone found a solution for this?
 
waiku's Avatar
Posts: 19 | Thanked: 1 time | Joined on Feb 2011 @ Pondokcina AX (Jawa Barat ID)
#825
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.
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#826
i did that twice but it didn't change the behavior.
is there another way to do the pairing?
 

The Following User Says Thank You to impeham For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#827
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
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#828
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.
 

The Following User Says Thank You to impeham For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#829
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.
 
~phoenix~'s Avatar
Posts: 232 | Thanked: 44 times | Joined on Feb 2010 @ Austria, Amstetten
#830
[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
__________________


19 Lockerz.com Invites Left -- PM me if you need one...

http://img132.imageshack.us/img132/7...enixsiggi1.gif @ mods plz allow me that pic....
 
Reply


 
Forum Jump


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