-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert to systemd service / init cleanups #9
Comments
This issue is for no-one in particular, feel free to comment. Mostly a heads up for @gizmo98 and a reminder for me that work needs to be done :) |
This method actually works reasonably well - https://www.piborg.org/rpi-ps3-help#setup-jessie and I think I may be able to automate it. Got some code in progress anyway. Only good for original controllers of course. |
As i can see this is just a combination of sixpair and bluez. I think i had something like this running. The only problem was to add automated permission (trust). Newer bluez versions have builtin sixpair functionality. The ps3 controller tries to connect to the builtin bluetooth if it was connected once over usb. But the trust problem persists. Does the bluetooth connection script add trust to bluetooth devices trying to connect somehow? I have not taken a look. |
Supposedly the Jessie version of bluez should have sixpair functionality build in, but I couldn't get it working (Unless I misunderstood the changelogs I was reading). Work ok on my Ubuntu machine. The bluetooth connection script doesn't handle that, but I intend to try and automate it. One of the problems is it doesn't seem to be "consistent", but I will see what I can do. |
Joolswills, I think the problem with it not always starting is more of a race condition with Bluetooth service starting on boot. If you watch the kernel messages on boot up you can see Bluetooth fails after sixad installation. Maybe look into modifying the bluetooth startup script. It's just a though, after my last init script changes I didn't look much more into it. |
made a few init script cleanups -
Noticed an issue with it not always starting correctly. Not sure what it is though, and it doesn't seem to be consistent. Shouldn't have had sudo in though, so I removed that. I wonder if we should switch to using systemd natively though.
the /usr/bin/sixad script is a bit of a mess though imho and needs some work (I realise some cleanup has already been done) although ideally we would ditch all of this and just use the native bluetooth stack. I am going to look into if we can maintain a backported updated bluetooth perhaps with raspbian patches.
The text was updated successfully, but these errors were encountered: