• Hello and Welcome to HiFiVision.com - an online community for the home entertainment and tech enthusiasts!

    If you would like to ask a question, participate in a discussion and view attachments please Register yourself.

Loading USB CD drives in Volumio

Kannan

Well-Known Member
Joined
Jan 13, 2008
Messages
1,439
Points
113
Location
Chennai
I have been using the USBridge as the primary transport in my audio setup.
I have also been inching to get USB CD or DVD drives to work in Volumio so that I can also play my Audio CD collection.

Some work in this regard is being done by some geeks and they have also achieved success to some extent.
CD plugin thread: Volumio Forum

Though it is not natively available in Volumio, it can be separately installed as a plugin.
Since USBridge, which uses the Sparky board, has a special Volumio version, I was not sure if the 3rd party update will work with the Sparky version of Volumio.
So I did not want to risk bricking the Volumio on USBridge, so instead experimented it with my old laptop.

With the following steps I was able to play Audio CD off my Transcend USB DVD drive connected to the laptop running Volumio:
The plugin also deducted the laptop internal CD drive and successfully played the audio tracks from it also.


IMG_20181226_000504.jpg

Download Volumio for PC(X86/X64 version) and write the image file into a pen drive using image writer like "win32diskimager".
Volumio image download
Win32diskimager download

Boot Volumio on the laptop from the pen drive. (You need to set your pen drive as the 1st boot device in BIOS).

After Volumio boots successfully, connect it to your network through wifi or ethernet port. (I suggest via ethernet port).

IMG_20181225_232807.jpg

Now you need another PC (or you mobile) on the same network to SSH into the Volumio.
Use 'Putty' or any other tool to SSH into Volumio

I followed the following procedure. available on the above linked Volumio forum.
All the commands that I have marked in bold, you can just copy and paste into the SSH terminal.

Step 1 : As SSH is disabled by default in Volumio, you first need to enable it.
In the PC browser, login to the DEV page of Volumio:
http://volumio.local/DEV or (http://the ip address of volumio/DEV
Under SSH, click on 'Enable'
You can now close this page on the browser.

IMG_20181225_232924.jpg

Step 2:
Open Putty or whichever SSH tool you are using in your PC.
Enter the ipaddress of Volumio in Putty and click connect and follow the screen commands.
IMG_20181225_233519.jpg

It will open the terminal window of Volumio (it will look like the command prompt window)
user name: volumio
password: volumio or to whatever you have changed it to.

IMG_20181225_234216.jpg

Step 2:
Copy and paste or type in the following command one after the other into terminal, and press enter after each command. Wait for the procedure to complete before entering the next command.

apt-get update
Press enter. wait for the procedure to complete (this will take sometime and download and install stuff from the internet.

apt-get upgrade
Press enter. wait for the procedure to complete

apt-get install make g++ libudev-dev
Press enter. wait for the procedure to complete (this may take sometime)

sudo npm install npm@latest -g
Press enter, you will be asked for the password as you have used sudo command.
key in the password (same as you entered before) and press enter and wait for the procedure to complete.

git clone --single-branch -b f/cdplayer https://github.com/geeks-r-us/volumio-plugins.git
then press enter. wait for the procedure to complete (this may take sometime)
Just copy the entire line from 'git clone'.....to 'plugins.git'....don't click on the blue line..it is part of the full command.

cd volumio-plugins/plugins/music_service/cdplayer/
then press enter. wait for the procedure to complete

npm install
then press enter. wait for the procedure to complete
Just ignore warnings and error codes if any.

sudo npm install typescript -g
then press enter. wait for the procedure to complete

tsc index.ts
press enter and wait for procedure to complete
You will get some errors, but ignore again

volumio plugin install
press enter. This will install the plugin under Volumio GUI.

Once the plugin install completes, you should see it in the plug-in manager section in Volumio under Installed Plugins.
Just set the slider to "On" and you should see the Active/Inactive indicator go green.

Now you can connect a USB CD or DVD drive, and play your CDs.
If there are skipping issues, just play around with the buffer under 'Playback' settings.

Here are some pics of the CD plugin in the Volumio running on my laptop

The CD plugin
IMG_20181226_000453.jpg

Home Page with the Audio CD option
IMG_20181226_000520.jpg

CD Track List after loading a Audio CD in the drive.
IMG_20181226_000555.jpg

Track in CD playing
IMG_20181226_000612.jpg
 
SPONSORED ADS

Attachments

Last edited:

SPONSORED ADS

yogibear

Well-Known Member
Joined
Jul 31, 2014
Messages
1,628
Points
113
Location
Jaipur
I do have a R Pi, new sitting duck for last few years plus a TDA1541 DAC from the famous Philips CDP presumed to mate well with RPi but I cannot make head or tail of what you just explained ! I wish I had been that literate on the subject.
 

Kannan

Well-Known Member
Joined
Jan 13, 2008
Messages
1,439
Points
113
Location
Chennai
@yogibear I too have very very limited knowledge in Linux (almost nil)
The steps above are quite straight forward and you can give it a try. With RPI you will have to write the image to SD Card instead of pen drive.
 

yogibear

Well-Known Member
Joined
Jul 31, 2014
Messages
1,628
Points
113
Location
Jaipur
@yogibear I too have very very limited knowledge in Linux (almost nil)
The steps above are quite straight forward and you can give it a try. With RPI you will have to write the image to SD Card instead of pen drive.
Thanks Kannan. I will try to read and understand it. Will ask you if in doubt. The Rpi and TDA1541 definitely deserves to see the daylight. And so far there has been no external DAC in my chain except the inbuilt in Mac.
 

Kannan

Well-Known Member
Joined
Jan 13, 2008
Messages
1,439
Points
113
Location
Chennai
Since you have it as an external DAC with a coaxial input, you will not have to do any of the above procedures.
You just need to add a IS2 card like hifiberry, digione or any of the other numerous digital transport cards and connect it to the 1541.
Just a raw install of Volumio is enough
 

yogibear

Well-Known Member
Joined
Jul 31, 2014
Messages
1,628
Points
113
Location
Jaipur
@Kannan its a DAC board from the Philips player. The RCA are audio outputs and NOT inputs. And beyond that I am clueless as how to make it work. Will it take optical out from CD Transport ? Power supply requirements ? It does have venerable ceramic TDA1541 chip, 16bit
or may be 14bit.

Sorry, its a dual 1540P DAC nos. 14 bit is my best guess.
 
Last edited:

soundnovice

Active Member
Joined
Sep 8, 2010
Messages
475
Points
43
Location
Bangalore
Kannan, this is excellent. i am already having Rpi->kali->piano 2.1 DAC setup.
i think i can add cd support also to have one setup to play them all :p
Thanks a lot
 

soundnovice

Active Member
Joined
Sep 8, 2010
Messages
475
Points
43
Location
Bangalore
any idea how much power is required for usb cd drive when connected to RPi?
currently i have 3A capable power supply connected to Rpi+kali+piano DAC
 

Kannan

Well-Known Member
Joined
Jan 13, 2008
Messages
1,439
Points
113
Location
Chennai
any idea how much power is required for usb cd drive when connected to RPi?
currently i have 3A capable power supply connected to Rpi+kali+piano DAC
The slim line USB drives like Transcend should draw 0.5 amps, the heavier ones should max out at 1 amp.
Just checked the Transcend site, it states 1 amp, which i guess should be at the time of write process, possibly lesser when reading.
 

soundnovice

Active Member
Joined
Sep 8, 2010
Messages
475
Points
43
Location
Bangalore
most of the good branded usb cd drives do not come with self powered feature. so i found another alternate for my setup.
with a jumper setting on kali, its possible to feed seperate power supply to Rpi, while kali will power itself + piano DAC. this would be cleaner solution than hunting for powered CD drives.
 

Kannan

Well-Known Member
Joined
Jan 13, 2008
Messages
1,439
Points
113
Location
Chennai
Today I removed the eMMC card that shipped with USBridge and booted off an SDcard in which I had written the latest Volumio image for Sparky board.
Next I installed the CD drive plugin without any issues using the method in the first post.

No glitches in the install.

Now I have CDs playing off my Transcend USB DVD drive connected to the USB port of the Sparky without any issues.
I had to set the rad speed under the CD plugin setting to 16 to avoid any buffer over-runs.

This is a great solution to relive your CD collection along with the digital files through a single transport.
 

rsponline

Active Member
Joined
Apr 19, 2012
Messages
132
Points
28
Location
Pune
This is really fantastic idea.
Planning to add this to my current rpi + allo boss player.

How is audio quality you are getting with your setup kannan ? Compared with dedicated CD player?
 
SPONSORED ADS

Top