Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Native USB Audio Output Support!
02-12-2011, 03:35 PM
Post: #1
Music Native USB Audio Output Support!
It seems to me that these units can support native usb audio output without mpd. Some time back users of mpd made this work so the kernel has the capability. I like mpd, but it would also be nice to just have the unit output via usb in stock form.

The procedure below is for the configuration of another linux based network device posted by John Swenson. I'm wondering if someone here can look at it and tweak the process to work on our units. I would try it, but I don't have a drive in my unit and will not be able to get one for a few days.

Procedure:
BTW this procedure could mess up your unit...
Plug a usb device in the unit first and then boot the unit.

From command line enter
aplay -l

This gives you a list of the audio devices on the unit.
Each device will have a line starting with
card
Example
card 3 USB
The name of the ubs decive in this case was USB

Then this section makes a copy of you original asound.conf is made just in case and to restore the unit. Not sure what sync does.

cd /etc
cp asound.conf asound.conf.orig
sync

Then this section creates a new config file named asound.conf.usb with the following configuration. This will help you filp between original config and usb config later. They use vi as the editor not sure what our editor is.

vi asound.conf.usb

pcm.usbdac {
type hw;
card ;
}
pcm.plugusb {
type plug;
slave.pcm "usbdac";
}
ctl.plugusb {
type hw;
card ;
}

pcm.!default plugusb

Then this replaces the current config with the usb config.

cp asound.conf.usb asound.conf
sync
sync

He says syncs make sure memory buffers get written to disk, but not sure if we need this.

At this point you reboot the unit and the music should now play through the USB device. Since you explicitly told the music to go to the USB device you won't have any sound when the USB device is not connected. To get back to normal you have to SSH back into the unit and type:

cd /etc
cp asound.conf.orig asound.conf
sync
sync
exit

Any feedback would be helpful!
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  streaming audio video from android device liamocool 5 601 03-06-2014 01:35 PM
Last Post: Willem53
  HTML5 support , it's now time jluc2808 31 2,036 01-13-2014 01:25 PM
Last Post: Willem53
  What PCH Models Support Full BluRay ISO With Menus? gonzalu 3 880 01-04-2014 10:20 PM
Last Post: gonzalu
  Not Happy with support ssingh1234 2 543 11-13-2013 12:40 PM
Last Post: ssingh1234
  Stream Different video and audio content Sebb77 5 775 11-11-2013 11:51 AM
Last Post: Willem53
  Need advice on wireless audio setup iampoch 0 797 05-12-2013 11:45 PM
Last Post: iampoch
  3D support... really needed? alexbarreras 3 1,024 04-12-2013 03:51 PM
Last Post: Willem53
  Support Popcorn/RMA Centre Europe BruceMW 14 2,692 04-02-2013 11:04 AM
Last Post: chris57
Exclamation Free Browsing, Flash support, .... Netvicious 0 716 03-06-2013 02:06 PM
Last Post: Netvicious
  SQL support for Popcorn hour dulsin 4 1,022 02-14-2013 06:15 PM
Last Post: accident

Forum Jump: