Closed Zeedone closed 10 years ago
Please try the git version.
Ok nice, now we're making progress. No errors so far and it's at [sudo] password for patryk: [info][bluetooth] Scanning for devices [info][controller 1] Created devices /dev/input/js1 (joystick) /dev/input/event13 (evdev)
On Sat, Mar 1, 2014 at 7:15 PM, Christopher Rosell <notifications@github.com
wrote:
Please try the git versionhttps://github.com/chrippa/ds4drv#development-version .
Reply to this email directly or view it on GitHubhttps://github.com/chrippa/ds4drv/issues/32#issuecomment-36441468 .
The joystick device is always created, this is so we can handle disconnects without games seeing any changes since many games does not handle it very well.
You must actually start the controller as instructed in the README before you will get any response.
We only have a systemd startup script right now and I believe Ubuntu uses another startup system called upstart. I suggest you ask how to use that on the Ubuntu forums.
As promised. DT5RHNFL9FYJAM3F5C44 On Mar 1, 2014 8:04 PM, "Christopher Rosell" notifications@github.com wrote:
Closed #32 https://github.com/chrippa/ds4drv/issues/32.
Reply to this email directly or view it on GitHubhttps://github.com/chrippa/ds4drv/issues/32 .
[info][bluetooth] Scanning for devices [info][bluetooth] Found device A4:15:66:BF:CF:98 [info][controller 1] Connected to Bluetooth Controller (A4:15:66:BF:CF:98) [info][bluetooth] Scanning for devices [info][controller 1] Battery: 12% Traceback (most recent call last): File "/usr/local/bin/ds4drv", line 9, in
load_entry_point('ds4drv==0.4.3', 'console_scripts', 'ds4drv')()
File "/usr/local/lib/python2.7/dist-packages/ds4drv/main.py", line 427, in main
for device in backend.devices:
File "/usr/local/lib/python2.7/dist-packages/ds4drv/backends/bluetooth.py", line 126, in devices
device = self.find_device()
File "/usr/local/lib/python2.7/dist-packages/ds4drv/backends/bluetooth.py", line 112, in find_device
for bdaddr, name in self.scan():
File "/usr/local/lib/python2.7/dist-packages/ds4drv/backends/bluetooth.py", line 106, in scan
devices.append((bdaddr.decode("ascii"), name.decode("ascii")))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 15: ordinal not in range(128)
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 504, in run
File "/usr/local/lib/python2.7/dist-packages/ds4drv/__main.py", line 206, in read_device
File "/usr/local/lib/python2.7/dist-packages/ds4drv/device.py", line 220, in reports
File "/usr/local/lib/python2.7/dist-packages/ds4drv/backends/bluetooth.py", line 56, in read_report
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
patryk@patryk-laptop:~$ ^C
patryk@patryk-laptop:~$ ^C
patryk@patryk-laptop:~$