Gigabit on Volumio 2.0 Raspberry Pi 3

I have been using Raspberry Pi+(Version 1) for years with Volumio 1.x and it has been great but since most of my tracks are FLAC, Gigabit can help.

I almost bought Odroid C2 which has built-in Gigabit network but for the price and purpose of my main usage, I settled with Raspberry Pi+ 3 with USB Gigabit Adapter.

I tried two(2) different USB Gigabit Adapter for Volumio 2.0, Linksys USB 3.0(https://amzn.com/B00LIW8TBG) and TRENDnet USB 3.0(https://amzn.com/B00FFJ0RKE).

The TRENDnet USB 3.0 Gigabit adapter works fine but it has a bit of issue with providing steady stream of the data so I hear “chirps” during play.

The Linksys USB 3.0 Gigabit adapter does not have that problem.

Here is what I had to do to Volumio 3.0 in order to recognize and use USB Gigabit adapter:

/etc/network/interfaces:
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp

 

Volumio – Audio Media Player – Remote Control

I have been using Volumio on Raspberry Pi since Volumio version Beta 1.1 and I am happy with it that I can play my FLACs and MP3s directly from my home Free4NAS server via SMB mounts.

With my recent home audio upgrades, I want to control Volumio with remote control so I look for that info on the web.

https://volumio.org/forum/how-installed-lirc-with-receiver-and-remote-volumio-t360.html
https://volumio.org/forum/using-remote-with-volumio-t1923.html

My MCE remote is Rosewill RRC-126: http://amzn.com/B003WM5J0O

Installing lirc package:

 > ssh pi@volumio
 (password is raspberry)
 > sudo apt-get update
 > sudo apt-get install lirc

Testing:

 > mode2 -d /dev/lirc0

Now, if you press any button on the remote, you should see a bunch of pulse/space messages.

Editing /etc/lirc/hardware.con:

 > sudo vi /etc/lirc/hardware.conf
 
 # /etc/lirc/hardware.conf
 #
 # Arguments which will be used when launching lircd
 LIRCD_ARGS="--uinput" 
 
 #Don't start lircmd even if there seems to be a good config file
 #START_LIRCMD=false
 
 #Don't start irexec, even if a good config file seems to exist.
 #START_IREXEC=false
 
 #Try to load appropriate kernel modules
 LOAD_MODULES=true
 
 # Run "lircd --driver=help" for a list of supported drivers.
 DRIVER="default"
 # usually /dev/lirc0 is the correct setting for systems using udev
 DEVICE="/dev/lirc0"
 MODULES="mceusb"
  
 # Default configuration files for your hardware if any
 LIRCD_CONF=""
 LIRCMD_CONF=""

Now we need to learn lirc with IR commands:
http://lirc-remotes.sourceforge.net/remotes-table.html

 > sudo /etc/init.d/lirc stop
 > irrecord -n -d /dev/lirc0 ~/lircd.conf

Now copy this newly created lircd.conf

 > sudo mv /etc/lirc/lircd.conf /etc/lirc/lircd.conf.orig
 > sudo mv ~/lircd.conf /etc/lirc/lircd.conf

(for my Rosewill MCE USB dongle remote, I am using mceusb.lircd.conf)

Now start lircd

 > sudo /etc/init.d/lirc start

Testing Config file:

 > irw

Creating .lircrc file:

 > vi /home/pi/.lircrc
begin
  remote = mceusb
  button = KEY_PAUSE
  prog   = irexec
  config = mpc toggle
end
begin
  remote = mceusb
  button = KEY_NEXT
  prog   = irexec
  config = mpc next;mpc play
end
begin
  remote = mceusb
  button = KEY_AGAIN
  prog   = irexec
  config = mpc prev;mpc play
end
begin
  remote = mceusb
  button = KEY_STOP
  prog   = irexec
  config = mpc stop
end
begin
  remote = mceusb
  button = KEY_PLAY
  prog   = irexec
  config = mpc play
end

Running irexec as a background process:

 > irexec -d

Adding irexec to rc.local to startup after every reboot:

 > sudo vi /etc/rc.local
 (add this before exit 0)
(sleep 3;
sudo -u pi irexec -d
)&

Reboot

[rPi] Raspberry Pi – New Toy – Installation

JP gave me a Raspberry Pi Version B with 512MB RAM.

http://www.raspberrypi.org/

Quick Start Guide: http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf

Formatting Tool: https://www.sdcard.org/downloads/formatter_4/

Images: http://www.raspberrypi.org/downloads

I used “NOOBS (offline and network install)” iamge onto a 8GB SD Card for installation.

1. Download the SD Formatter 4.0(link above) and install
2. Insert a SD Card 4GB+
3. Run the Formatting Tool
3a. Make sure the correct drive is selected
3b. Click on the Options and select “FORMAT SIZE ADJUSTMENT”
3c. Click OK
4. Click the Format button
5. Unzip the downloaded NOOBS image(link above)
6. Copy unzipped files(all) onto the root of the SD Card
7. Insert the SD Card in the SD Card Slot on the Raspberry Pi
8. Power up the Raspberry Pi with at least HDMI, USB Keyboard connected

By default, NOOBS will output over HDMI at your display’s preferred resolution, even if no HDMI display is connected. If you do not see any output on your HDMI display or are using the composite output, press 1, 2, 3 or 4 on your keyboard to select HDMI preferred mode, HDMI safe mode, composite PAL mode or composite NTSC mode respectively.

1. HDMI mode ­ this is the default display mode.
2. HDMI safe mode ­ select this mode if you are using the HDMI connector and cannot see anything on screen when the Pi has booted.
3. Composite PAL mode ­ select either this mode or composite NTSC mode if you are using the composite RCA video connector
4. Composite NTSC mode