-
Notifications
You must be signed in to change notification settings - Fork 402
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
WM8960 Hi-Fi Sound Card HAT for Raspberry Pi #549
Comments
Hi @dnmtch |
Hi @dnmtch I had the same symptoms/problem when I set up my phoniebox which uses the Hifiberry miniamp. Quick test:You can try to disable the gpio systemd-service (buttons) and restart the system. Deeper analysis:Normally the systemd-service for the startup sound starts before the gpio-service. So the startup sound can be played without any problem. If there is a hardware conflict in your setup I can provide 2 solutions to solve the problem:
Regards |
I struggled with the same problem on this hardware. Thanks to @lj2000, this did the trick for me. My solutions so far, I changed the following lines on “gpio-buttons.py” sudo nano /home/pi/RPi-Jukebox-RFID/scripts/gpio-buttons.py #shut = Button(3, hold_time=2) On the installation, I used AUDIOiFace="playback". Now it is playing and hear the music as well. |
Thank you so much! Your solution worked. Now I will try to make the button on the soundcard work. According to the documentation, the button on the soundcard is P17. |
Hi @dnmtch @lj2000 @belinea4071 One question @belinea4071 |
Hey, this is my first post here (but my second phoniebox) and I'm not sure if it's right here!? Please correct me (and my english) if necessery. |
To set sound and adjust volume, you can use alsamixer tool Try to "hear" sound on the speakers, on headphone jack and "both"? I am not sure, if the HAT supports auto headphone jack detection (it is not indicated in the manual). do you use GPIO buttons/rottary? |
@dnmtch |
sorry to let you solve my problems, but could you please update the wiki with your solution ;-)
me to, i think it has to be done by the driver software (defult is off) or the OS telling the driver. |
The wiki is a little bit problematic from my point of view. Because there is different hardware used in multiple combinations so there is no "general" pinout possible. I think everybody has to check which pins are in fix use (like this HAT "blocks" GPIO 2,3,18,19,20,21) and which can be changed. In my solution rotary uses (out of the box) GPIO 5,6 so I pinned it just on to of the HAT and the rest has to be switched in the gpio-buttons.py But if I understand you correct, you have the same headphone jack behaviour!? Just want to know if the hardware isn't damaged. |
I have sound on speaker AND headphone jack (connected). i tried to play with alsamixer, searching online etc. i think/hope this should be solvable with asound.conf oder mpd.conf. But here ends already my limited knowledge. sry ;-) if you find time, just "paste" your build (wiring) in the wiki as a "working solution" others (like me) are going to just copy your approach. |
Unfortunately I got no feedback to my issue on waveshare github. |
Hi, I'm building a new phoniebox setup using this soundcard. I've followed all the relevant instructions in the wiki, but I'm not getting any volume control on the web interface. Should I be able to control the volume using the web script at this stage? I'm just about to install a rotary encoder which I'm concerned won't make any difference if there isn't software enabled volume control. To clarify, sound output is working, but I can't adjust the volume at all. All elements work - GPIO buttons, RFID reader, external hard drive with albums, and 16x2 LCD screen. This is the last step before assembling it as a Christmas present. The one thing I couldn't do is this step in the wiki, which I suspect might be the issue: **you must ** disable the service for the gpio buttons or modify the original gpio python script sudo nano /home/pi/RPi-Jukebox-RFID/scripts/gpio-buttons.py I couldn't find that file in that location. Any help much appreciated! Best, Tom |
I would love a bit more information about headphone's working and disabling speakers once I can get the rotary encoder and volume control issue sorted! |
GPIO is done since 2.1 via GPIO control configuration is done via I would recommend to open a new issue, if you have problems. Comments in closed issues are easily overlooked. |
Thanks. I had edited that file for the GPIO configuration, but will open a new issue for the software controls for volume. Much appreciated. |
Hi
I tried my luck with a WM8960 Hi-Fi Sound Card. Unfortunately the sound doesn't work anymore after installing RPi-Jukebox.
More: http://www.raspberrypirobotics.com/setting-up-the-seeed-studio-respeaker-2-mics-pi-hat/
The text was updated successfully, but these errors were encountered: