Go to advanced search

by kbocek
Wed Nov 14, 2018 12:41 am
Forum: Raspberry Pi OS
Topic: PS4 Bluetooth Controller
Replies: 1
Views: 968

Re: PS4 Bluetooth Controller

Found it. Forgot to trust the controller in bluetoothctl:

Code: Select all

[bluetooth]# trust 1C:96:5A:53:C1:C3
[CHG] Device 1C:96:5A:53:C1:C3 Trusted: yes
Changing 1C:96:5A:53:C1:C3 trust succeeded
[CHG] Device 1C:96:5A:53:C1:C3 Connected: yes
It now stays on.
by kbocek
Tue Nov 13, 2018 11:01 pm
Forum: Raspberry Pi OS
Topic: PS4 Bluetooth Controller
Replies: 1
Views: 968

PS4 Bluetooth Controller

Maybe this should be in the Retropie forum but this seems like a low-level thing so I'll start here. I have a PS4 DS controller. It's all paired to my Pi 2 and displays in both bluetoothctl and hcitool. When I press the PS button, the controller flashes three times and turns off. In bluetoothctl I s...
by kbocek
Mon Nov 12, 2018 10:28 pm
Forum: Troubleshooting
Topic: Bluetooth Is Disabled After Every Reboot
Replies: 4
Views: 1012

Re: Bluetooth Is Disabled After Every Reboot

Yeah, I did all that. I probably did something heinous and untoward to this install in previous days. It's an old Retropie install. I played with bluetooth on it long ago. Doing the manual Jessie to Stretch upgrade was a (failed) experiment. Time to start with a clean distro install. Many thanks for...
by kbocek
Mon Nov 12, 2018 6:19 pm
Forum: Troubleshooting
Topic: Bluetooth Is Disabled After Every Reboot
Replies: 4
Views: 1012

Re: Bluetooth Is Disabled After Every Reboot

After a reboot: kbocek@retropie:~ $ sudo systemctl status bluetooth ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled Active: inactive (dead) since Mon 2018-11-12 09:31:53 PST; 45min ago Docs: man:bluetoothd(8) Main PID: 4...
by kbocek
Mon Nov 12, 2018 5:40 pm
Forum: Troubleshooting
Topic: Bluetooth Is Disabled After Every Reboot
Replies: 4
Views: 1012

Bluetooth Is Disabled After Every Reboot

I have a Pi 2 that I manually upgraded from Jessie to Stretch (that was a mistake - took hours).

I cannot seem to enable bluetooth persistently.

Code: Select all

sudo systemctl enable bluetooth
Seems to enable bluetooth but on reboot it is disabled again. Something to do with SysV runlevels.

Any ideas?
by kbocek
Fri Jun 23, 2017 6:09 pm
Forum: Raspberry Pi OS
Topic: FSTrim/Discard Recommended?
Replies: 3
Views: 2822

Re: FSTrim/Discard Recommended?

A posting says the the lsblk -D command tells you if trim is supported: $ lsblk -D NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO mmcblk0 0 4M 976M 1 |-mmcblk0p2 3145728 4M 976M 1 `-mmcblk0p1 3145728 4M 976M 1 This seems to say it *is* supported.
by kbocek
Fri Jun 23, 2017 5:47 pm
Forum: Raspberry Pi OS
Topic: FSTrim/Discard Recommended?
Replies: 3
Views: 2822

Re: FSTrim/Discard Recommended?

A bit more research on SSDs. So basically you do *not* mount with discard and instead occasionally run fstrim via the timer:

Code: Select all

/usr/share/doc/util-linux/examples/fstrim.service
/usr/share/doc/util-linux/examples/fstrim.timer
by kbocek
Fri Jun 23, 2017 4:38 pm
Forum: Raspberry Pi OS
Topic: FSTrim/Discard Recommended?
Replies: 3
Views: 2822

FSTrim/Discard Recommended?

I have a Raspian based distro (FreePBX) and am wondering if running fstrim and mounting the filesystem with discard is recommended? I see the SSD documentation:

https://wiki.debian.org/SSDOptimization

But I am unsure how this applies to Micro-SD cards.

Thanks.

Go to advanced search