lukasjapan / bt-speaker

A simple Bluetooth Speaker Daemon for the Raspberry Pi 3
GNU General Public License v3.0
493 stars 94 forks source link

how to config #7

Open jackyao opened 7 years ago

jackyao commented 7 years ago

i'm install bt-speaker on raspberry 3b,but i don't know how to work.

and at the dmesg

[ 1.982751] systemd[1]: Configuration file /opt/bt-speaker/bt_speaker.service is marked executable. Please remove executable permission bits. Proceeding anyway. [ 2.022295] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.

lukasjapan commented 7 years ago

Sounds like a missing dependency when ssh is disabled. (Now on default in raspbian

Can you try to do:

sudo touch /boot/ssh
sudo reboot

as suggested at https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=176997

I'll try to reproduce the error later and at least get rid of the first warning.

jackyao commented 7 years ago

my ssh services is start, first warning use chmod -x fixed.

but i cat set the sounds to bluetooth,how can i to do ?

i use sounds with pulseaudio is OK

but can't on boot

sametimes has error liks

Bluetooth: hci0 command tx timeout

pi@raspberrypi:/boot $ sudo netstat -tnlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:11211 0.0.0.0: LISTEN 579/memcached
tcp 0 0 0.0.0.0:5901 0.0.0.0:
LISTEN 1466/Xtightvnc
tcp 0 0 0.0.0.0:6001 0.0.0.0: LISTEN 1466/Xtightvnc
tcp 0 0 0.0.0.0:53 0.0.0.0:
LISTEN 735/dnsmasq
tcp 0 0 127.0.0.1:25 0.0.0.0: LISTEN 958/master
tcp 0 0 0.0.0.0:3322 0.0.0.0:
LISTEN 598/sshd
tcp 0 0 0.0.0.0:443 0.0.0.0: LISTEN 680/nginx -g daemon tcp 0 0 0.0.0.0:6081 0.0.0.0: LISTEN 979/varnishd
tcp 0 0 127.0.0.1:6082 0.0.0.0: LISTEN 960/varnishd
tcp 0 0 127.0.0.1:9000 0.0.0.0:
LISTEN 757/php-fpm.conf) tcp6 0 0 :::53 ::: LISTEN 735/dnsmasq
tcp6 0 0 ::1:25 :::
LISTEN 958/master
tcp6 0 0 :::3322 ::: LISTEN 598/sshd
tcp6 0 0 :::6081 :::
LISTEN 979/varnishd
tcp6 0 0 ::1:6082 :::* LISTEN 960/varnishd
pi@raspberrypi:/boot $