Notices


Reply
Thread Tools
Posts: 543 | Thanked: 151 times | Joined on Feb 2010 @ Germany
#671
For me it stopped working with 1.2, I get always the message "Do you want to accept the connection from "PLAYSTATION(R)3 Controller?" and when I accept it with "Yes" it asks again and again. Before I flashed to 1.2 it worked just fine.

Can it be related with http://talk.maemo.org/showthread.php?t=45355 ?

Last edited by Crogge; 2010-06-08 at 05:57.
 
Posts: 557 | Thanked: 370 times | Joined on Apr 2010
#672
Originally Posted by Crogge View Post
For me it stopped working with 1.2, I get always the message "Do you want to accept the connection from "PLAYSTATION(R)3 Controller?" and when I accept it with "Yes" it asks again and again. Before I flashed to 1.2 it worked just fine.

Can it be related with http://talk.maemo.org/showthread.php?t=45355 ?
This generally happens if you've removed the 'input' option from the bluetooth menu (Ie. To make a mouse work). I can't imagine your issue is any different.
 

The Following User Says Thank You to IzzehO For This Useful Post:
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#673
Originally Posted by magicalkobra View Post
hi, i m noob here and need some help. 1st i have windows 7 64 bit and i dunt have the time to try to install ubuntu on my pc, so is there anyway i can run the sixpair tool from windows. also i a m bit scarred to install "sixaxis" because it modifies the kernel, so is it safe and can i safely uninstall it later cause i really dunt want to mess up the device.
thnx in advance
http://talk.maemo.org/showpost.php?p...&postcount=220

Just follow the instructions there, it's safe. Except maybe your 64-bit windows will cause some problems. I would use VMWare and a 32 bit OS "guest" or ubuntu, or just get an ubuntu live cd.
 
Posts: 543 | Thanked: 151 times | Joined on Feb 2010 @ Germany
#674
Originally Posted by IzzehO View Post
This generally happens if you've removed the 'input' option from the bluetooth menu (Ie. To make a mouse work). I can't imagine your issue is any different.
That fixed it

Can you upload your main.conf please? I just want to know if anything else there might be broken or wrong since I installed this pc-connectivity-manager app which nearly killed the phone.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#675
Is there any other way to verify this is working properly without jstest? The d-pad doesn't seem to work in ur-quan masters but the buttons work. I don't really understand what is the intent here. If it's in 'joystick' mode, it shouldn't also send keystrokes, but it does?
"To test the joystick you may install joystick package from Xiaoka APT Repository"
The joystick.install file there just gives me an error.
Anyways I am going to reprogram the mappings to send something compatible with the keyboard layout of the game, and forget about using joystick mode for now...
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2010 @ New York
#676
I have been trying to pair the PS3 sixaxis controller to my N900 now for 2 days. Its an original ps3 controller. All 4 lights keeps flashing on the controller. The N900 bluetooth icon turns blue for a few seconds then asks me to accept connection. The problem is it never connects. It'll ask me to accept connection 4 or 5 times like its in a loop. I select YES each time. I have tried everything posted so far. I'm 99.9% sure the problem is on the phone side. My etc/bluetooth/main.conf may be modified as well as etc/bluetooth/rfcomm.conf. I currently have Matan's bluetooth DUN client running on phone. The bluetooth dun client allows me to get 3G service from my blackberry. Could this be the problem? Can someone post a screen shot of etc/bluetooth/main.conf and etc/bluetooth/rfcomm.conf that has the controller paired? Can the paired sixaxis controller and the bluetooth dun client both live happily on my phone?

Last edited by Raymond97; 2010-06-08 at 21:27.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#677
rfcomm doesn't have anything in it. it's just comments. the device is connected but it's not listed as a paired device. (bluetooth icon is blue but no 'devices') I don't really know how, but it works...
if I delete all the comments, this is my main.conf:
Code:
[General]
DisablePlugins = network,input,hal
Name = Nokia N900
Class = 0x00020c
DiscoverableTimeout = 0
PairableTimeout = 0
PageTimeout = 8192
DiscoverSchedulerInterval = 0
InitiallyPowered = false
RememberPowered = true
ReverseServiceDiscovery = true
NameResolving = true
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2010 @ New York
#678
Originally Posted by Creamy Goodness View Post
rfcomm doesn't have anything in it. it's just comments. the device is connected but it's not listed as a paired device. (bluetooth icon is blue but no 'devices') I don't really know how, but it works...
if I delete all the comments, this is my main.conf:
Code:
[General]
DisablePlugins = network,input,hal
Name = Nokia N900
Class = 0x00020c
DiscoverableTimeout = 0
PairableTimeout = 0
PageTimeout = 8192
DiscoverSchedulerInterval = 0
InitiallyPowered = false
RememberPowered = true
ReverseServiceDiscovery = true
NameResolving = true

Thanks. I'll compare the config file and see if there is any differences. I'll let you know.
 
Posts: 38 | Thanked: 0 times | Joined on Jun 2010
#679
[QUOTE=f2thak;517534]
----------------------------------------------------------
Use PS3 SixAxis Controller with N900
For Windows Users
----------------------------------------------------------

Windows 7 and Vista users may have problems using Home edition OS's, especially with 64-bit editions.
Being able to run XP mode helps a lot. If you cannot, go here.




Installation/Config:

1. Ensure you have a N900, a genuine PS3 SixAxis controller (DS3 will work) and a USB cable to plug controller into your PC

2. On your N900, install "sixaxis-support" from extras repo

3. on PC install libusb-win32-filter-bin-0.1.10.1 (32-Bit Machines ONLY)
use this version (you may try newest version but Im unsure if it works)
64 BIT USERS GO HERE WARNING: THIS CAN CAUSE PROBLEMS, DO SO AT YOUR OWN RISK

4. on PC install GlovePie
use this version (you may try newest version but Im unsure if it works)

5. on PC open file in notepad:
X:/*GlovePie Directory*/SixaxisScripts/n900.pie

6. go to this section:

sixaxis.BluetoothMAC = "xx:xx"

and replace the xx:xx with your phones Bluetooth address
(to find, go to: settings > general > about product)

7. connect SixAxis controller to PC

8. on PC, run GlovePie

9. Go to File > Open > X:/*GlovePie Directory*/SixaxisScripts/n900.pie

10. click the "Run >" button, wait a few seconds then press the controllers Connect button a few times

11. close GlovePie and disconnect controller





Usage:
  1. Activate Bluetooth on N900 (Visible: Yes)
  2. Press PS button on controller
  3. Wait for the SixAxis light to stop flashing
  4. To disconnect, turn off Bluetooth on phone





Connection Problems?:

add "input" back into the disabled modules in:

/etc/bluetooth/main.conf

stop/start bluetooth.
Note: doesn't work with "input" missing.





Create your own Custom button configuration:

To configure SixAxis buttons, on N900 edit:
/usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi

In this file, each group has the current set keys shown in descending order (top > bottom). in the section shown below, the top line is for the "select" button. to change the button, change the key number (key=??) which is highlighted in red. to find which key number to use, refer to "N900 X11 keycodes" below.

Code:
      <!-- Select=Z; Analog L; Analog R; Start=Enter; PS=Backspace -->
      <merge key="input.x11_options.MapButton1" type="string">key=52</merge>
      <merge key="input.x11_options.MapButton2" type="string">key=54</merge>
      <merge key="input.x11_options.MapButton3" type="string">key=55</merge>
      <merge key="input.x11_options.MapButton4" type="string">key=36</merge>
      <merge key="input.x11_options.MapButton17" type="string">key=22</merge>

N900 X11 keycodes (US layout):

The codes below relate to the N900 keyboard buttons.
Each line represents the lines of keys.
  • 37 = Ctrl/Sym
  • ?? = Fn
  • 50 = Shift
  • 43 = H
  • and so on...
Code:
37 24 25 26 27 28 29 30 31 32 33 48 22
?? 38 39 40 41 42 43 44 45 46 60 111 36
50 52 53 54 55 56 57 58  65  113 116 114

To determine controller buttons order:

pair controlller, then in xterm as root, type:

jstest /dev/input/js0





Re-connect SixAxis to PS3:

Connect controller to the PS3 with the USB cable and press the PS button to pair them. If this doesnt work, press the reset button on the controller and repeat:






Sources:

BIG THANKS to "smoku" for this!

Last edited by gizmo; 2010-06-11 at 13:21.
 
Posts: 38 | Thanked: 0 times | Joined on Jun 2010
#680
hey f2thak,
i tried to get the sixaxis pad workin for the n900..i followed the steps described above..checked i was using 32bit os which i am in the form of vista, installed the n900 support apps and so on..switch on bluetooth on the phone, press the ps button on the pad it flashes then completely goes off..if this is a /etc/bluetooth/main.conf problem..please can you explain how i can change this, thanks, gizmo.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:48.