The talkiepi project is for a truly headless mumble client for the Raspberry Pi, utilizing static config and GPIO for status LEDs and a button for push to talk
Mozilla Public License 2.0
272
stars
107
forks
source link
Push Button - GPIO was working fine, then suddenly stopped.. #24
I would venture to guess this is a ME problem but.. Looking at my full history I don't see how anything I edited or did could have had an effect.
Running the talkpi binary directly and joining the developers server the button works fine but when joining my server as a system service start it does not. (It did for a good while , even got a video of it.).
Any ideas on how to troubleshoot? The GPIO is definitely being recognized and triggered as proven by reading the GPIO pins on press and release as well as using the binary manually.
Here is my full history in case there are any clues:
`
pi@raspberrypi:~ $ history
1 sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
2 sudo apt-get install mumble-server
3 sudo -i
4 su mumble
5 su -i
6 su
7 sudo -i
8 clear
9 ls
10 sudo -i
11 sudo restart
12 sudo reboot
13 dmesg
14 sudo -i
15 ls
16 sudo reboot
17 history
pi@raspberrypi:~ $ sudo -i
root@raspberrypi:~# history
1 adduser --disabled-password --disabled-login --gecos "" mumble
2 usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,gpio,mumble
3 usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,gpio mumble
4 apt-get install golang libopenal-dev libopus-dev git
5 su mumble
6 su -i
7 cp /home/mumble/gocode/src/github.com/dchote/talkiepi/conf/systemd/mumble.service
/etc/systemd/system/mumble.service
8 systemctl enable mumble.service
9 su mumble
10 cd /etc/systemd/system/
11 ls
12 nano mumble.service
13 systemctl daemon-reload
14 service mumble restart
15 nano mumble.service
16 systemctl daemon-reload
17 service mumble restart
18 ls
19 exit
20 su mumble
21 su mumble
22 clear
23 ls
24 exit
25 aplay -l
26 defaults.ctl.card 1
27 nano /usr/share/alsa/alsa.conf
28 sudo reboot
29 history
root@raspberrypi:~# su mumble
mumble@raspberrypi:/root $ history
1 mkdir ~/gocode
2 mkdir ~/bin
3 export GOPATH=/home/mumble/gocode
4 export GOBIN=/home/mumble/bin/
5 cd $GOPATH
6 go get github.com/dchote/gopus
7 go get github.com/dchote/talkiepi
8 cd $GOPATH/src/github.com/dchote/talkiepi
9 go build -o /home/mumble/bin/talkiepie cmd/talkiepie/main.go
10 go build -o /home/mumble/bin/talkiepi cmd/talkiepi/main.go
I would venture to guess this is a ME problem but.. Looking at my full history I don't see how anything I edited or did could have had an effect.
Running the talkpi binary directly and joining the developers server the button works fine but when joining my server as a system service start it does not. (It did for a good while , even got a video of it.).
Any ideas on how to troubleshoot? The GPIO is definitely being recognized and triggered as proven by reading the GPIO pins on press and release as well as using the binary manually.
Here is my full history in case there are any clues:
` pi@raspberrypi:~ $ history
10 sudo -i
11 sudo restart
12 sudo reboot
13 dmesg
14 sudo -i
15 ls
16 sudo reboot
17 history
pi@raspberrypi:~ $ sudo -i
root@raspberrypi:~# history
/etc/systemd/system/mumble.service
10 cd /etc/systemd/system/
11 ls
12 nano mumble.service
13 systemctl daemon-reload
14 service mumble restart
15 nano mumble.service
16 systemctl daemon-reload
17 service mumble restart
18 ls
19 exit
20 su mumble
21 su mumble
22 clear
23 ls
24 exit
25 aplay -l
26 defaults.ctl.card 1
27 nano /usr/share/alsa/alsa.conf
28 sudo reboot
29 history
root@raspberrypi:~# su mumble
mumble@raspberrypi:/root $ history
10 go build -o /home/mumble/bin/talkiepi cmd/talkiepi/main.go
11 su -i
12 exit
13 cd ~
14 openssl genrsa -aes256 -out key.pem
15 openssl req -new -x509 -key key.pem -out cert.pem -days 1095
16 openssl rsa -in key.pem -out nopasskey.pem
17 cat nopasskey.pem cert.pem > mumble.pem
18 exit
19 ls
20 cd ~
21 ls
22 cd gocode/
23 ls
24 cd pkg
25 ls
26 cd ../
27 ls
28 cd src
29 ls
30 cd github.com/
31 ls
32 cd kennygrant/
33 ls
34 cd ../
35 ls
36 cd stianeikeland/
37 ls
38 cd go-rpio/
39 ls
40 exit
41 ls
42 cd /
43 cd ~
44 ls
45 cd gocode/
46 ls
47 cd pkg
48 ls
49 cd ..
50 cd src
51 ls
52 cd github.com/
53 ls
54 cd dchote/
55 ls
56 cd gpio/
57 ls
58 more README.md
59 ls
60 cd ~/
61 ls
62 find talkiepi.go ~/
63 cd /home/mumble/bin
64 ls
65 more talkiepi
66 find talkiepi.go ~/ | grep talkiepi.go
67 cd /home/mumble/gocode/src/github.com/dchote/talkiepi/
68 ls
69 more talkiepi.go q
70 nano talkiepi.go
71 gpio readall
72 raspi-gpio get
73 tail -f /var/log/messages
74 sudo tail -f /var/log/messages
75 exit
76 history
mumble@raspberrypi:/root $ `