Since I don't have a USB dac yet, I've been playing with the system using the analog out of the Raspberry. So far without luck though. Is it possible to enable this output in mpd.conf?
P.S. Installing, connecting through ssh, loading music, and connecting with mpod and gmpc all works a treat!
Hi lukask, welcome to RaspyFi!
I thought the analog out would work out of the box if no USB DAC were plugged in, but I was wrong. It seems that the module controlling the analog out is not loaded by boot.
To enable it type:
sudo modprobe snd-bcm2835
Then the analog will work, leave the mpd.conf as it is. This will load the module, but when you'll restart the Pi, the module isn't loaded again.
To add this module at boot time,we can add the command to the last init.d script I made for the spash logo: (this is quite a dirty procedure, but it works)
sudo nano /etc/init.d/myruns
then you add this line before exit 0
modprobe snd-bcm2835
Then, ctrl+x, then reboot. Et voilà, you're done!
I was having the same problem – unfortunately, that didn't fix everything
Command got through without error, so I assume I did that correctlly.
Now when I press play on my MPDroid app, it seems to start playing (even that didn't work before), but I still can't hear anything out of the analog out.
I can only choose external DAC output in the app, too.
Any new ideas? :]
Regarding the DAC output, this isn't a problem, it's the default output "flag", so don't worry about it. After giving that command please report what the following command does:
sudo aplay -l
Paste it here.
Then try to turn the volume up via software, or to mute then unmute it. Let me know!
I've been looking at this as I'm DACless at the moment. Not sure if I'm getting the same results as taurui
What I have found is that if I leave the "Output" setting "USB Dac" unticked on Mpad (as I would expect to do) I get no audio output, but if I tick it then audio comes out of the 3.5mm analogue output.
And it sounds pretty good. No pops or crackles at all
When unticked (no audio through 3.5mm):-
[email protected] ~ $ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
When "USB Dac" ticked (audio through 3.5mm):-
[email protected] ~ $ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
19:39
I have the same issue using raspyfi 1.0
[email protected]:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Any advice?
ok I found the solution here:
http://www.raspyfi.com/forum/r…..thout-dac/
I run cmd: amixer cset numid=3 1 and remove the hdmi cable then it works!
Jeffrey said
ok I found the solution here:
http://www.raspyfi.com/forum/r…..thout-dac/
I run cmd: amixer cset numid=3 1 and remove the hdmi cable then it works!
Thank you, it works!! The volume control does not work but I can test this fantastic distribution without an expensive DAC.
Most Users Ever Online: 200
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)