Bluetooth Headphones
|
10th Jan, 2020, 10:01 AM
(This post was last modified: 10th Jan, 2020 10:25 AM by deHakkelaar.)
Post: #3
|
|||
|
|||
RE: Bluetooth Headphones
Only need to run PA with xbian user privies:
Terminal xbian@avr ~ $ ps -o user,cmd -C kodi.bin USER CMD xbian /usr/local/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd I believe in the past, I added something like below to /etc/rc.local to have PA started before the xbian user logs in: Code: sudo -u xbian '/usr/bin/pulseaudio --start' Could change it into more specific one from @Nachteule: Code: sudo -u xbian '/usr/bin/pulseaudio --start --system --log-target=syslog' And add the /usr/bin/pulseaudio command to the sudoers list of commands in below file: Terminal xbian@avr ~ $ sudo cat /etc/sudoers.d/xbian xbian ALL=(ALL) NOPASSWD: /sbin/initctl, /usr/local/sbin/xbian-config, /sbin/halt, /sbin/reboot, /usr/bin/splash, \ /usr/bin/renice, /sbin/start, /sbin/stop, /sbin/status, /bin/fuser, /sbin/restart, /usr/bin/pkill, /usr/sbin/btrfs-auto-snapshot, \ /bin/mount, /bin/umount, /bin/kill, /usr/local/sbin/splash-daemon, /bin/rm -fr /run/splash/splash.pid, /bin/mkdir -p -m 777 /run/splash, \ /usr/bin/setterm, /usr/bin/pulseaudio Defaults env_keep+=http_proxy Defaults env_keep+=LD_LIBRARY_PATH Defaults env_keep+=LD_PRELOAD What I miss in the instructions thread is selecting BT profile. It could be that your headset defaults to low quality output profile with a mic input when connected at first. You want to have the a2dp profile/sink (if headset supports) to get best quality. Below ones might be useful once headset connected: Code: pacmd list-cards For my Bose BT speaker, I had to do below to get the a2dp profile/sink activated: Code: pacmd set-card-profile bluez_card.00_0C_8A_XX_XX_XX a2dp_sink Test with below: Code: pacat --list-file-formats EDIT: added sudoers. There are only 10 types of people in the world: those who understand binary, and those who don't |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Bluetooth Headphones - degeulars - 5th Jan, 2020, 02:55 AM
RE: Bluetooth Headphones - Nachteule - 8th Jan, 2020, 02:15 AM
RE: Bluetooth Headphones - deHakkelaar - 10th Jan, 2020 10:01 AM
RE: Bluetooth Headphones - namarang - 21st Feb, 2021, 06:43 AM
RE: Bluetooth Headphones - hohoda - 10th Feb, 2022, 02:47 PM
RE: Bluetooth Headphones - oliverparker - 25th May, 2022, 08:53 PM
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
headphones | 1mile | 2 | 10,913 |
26th Mar, 2013 07:15 AM Last Post: 1mile |