Hi All,
We would like to post a troubleshooting guide for NanoSound CD here:
- Check if USB CD drive is working. It should be mounted to /dev/cdrom
ls -al /dev/cdrom
It should return something like:
lrwxrwxrwx 1 root root 3 Jun 13 15:39 /dev/cdrom -> sr0
also try ejecting the cdrom
eject /dev/cdrom
For any reason, if it’s not mounted on /dev/cdrom, you may try this to force mount
mount -r /dev/sr0 /dev/cdrom
- NanoSound uses vlc+alsa for audio. The configuration is in /etc/asound.conf. Since the latest version v1.1.7, Nanosound CD will only add an include into /etc/asound.conf.
In /etc/asound.conf, check that it has:
</data/nanosound_cd/asound.conf>
Then check the content of /data/nanosound_cd/asound.conf. In /data/nanosound_cd/asound.conf the content depends on your DAC. You can use
aplay -l
and
cat /proc/asound/modules
to check the card number of your sound card.
For almost all i2s DAC, it should be card 1, below is our /proc/asound/modules
volumio@volumio:~$ cat /proc/asound/modules
0 snd_bcm2835
1 snd_soc_hifiberry_dacplus
Above tells you that your DAC is in card 1. bcm2835 is the internal sound card of Pi.
Here’s an example of /proc/asound/modules for our USB DAC
volumio@volumio:~$ cat /proc/asound/modules
0 snd_bcm2835
5 snd_usb_audio
- Once you have confirmed which DAC you are using, then you how you config. If you can using NanoSound CD full version with upsampling, turn upsampling to off first if your DAC doesn’t support the sampling rate.
If you are using i2s DAC and card 1, then your /data/nanosound_cd/asound.conf should be as below:
defaults.pcm.card 1
defaults.ctl.card 1
defaults.pcm.rate_converter "speexrate_best"
pcm_slave.x4 {
pcm "hw:1,0"
rate 176400
}
pcm_slave.x2 {
pcm "hw:1,0"
rate 88200
}
pcm.rate_convertx4 {
type rate
slave x4
converter "speexrate_best"
}
pcm.rate_convertx2 {
type rate
slave x2
converter "speexrate_best"
}
If you are using USB DAC, for example card 5 , then your /data/nanosound_cd/asound.conf should be as below:
defaults.pcm.rate_converter "speexrate_best"
pcm_slave.x4 {
pcm "hw:1,0"
rate 176400
}
pcm_slave.x2 {
pcm "hw:1,0"
rate 88200
}
pcm.rate_convertx4 {
type rate
slave x4
converter "speexrate_best"
}
pcm.rate_convertx2 {
type rate
slave x2
converter "speexrate_best"
}
Remember to reboot after you change the asound related settings!
This is very important
- Above should solve most of the issue, if you are having issue with cd-rom , for example if it’s mounted correctly, but it doesn’t load the CD / spin when you click “NanoSound CD”. There is a high chance that it’s lacking power and needed an external power supply. Pi only outputs 0.5A per usb port. We sell a Pioneer one which has two USB A cables into the Pi, which provides enough power to drive the cd/dvd usb drive.
Finally we hope this guide help you with all the troubleshooting!
If you need more help, you can also check out NanoSound CD Installation Guide