[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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
  Need advice on wireless audio setup iampoch 0 139 05-12-2013 11:45 PM
Last Post: iampoch
  3D support... really needed? alexbarreras 3 433 04-12-2013 03:51 PM
Last Post: Willem53
  Support Popcorn/RMA Centre Europe BruceMW 14 1,373 04-02-2013 11:04 AM
Last Post: chris57
Exclamation Free Browsing, Flash support, .... Netvicious 0 305 03-06-2013 02:06 PM
Last Post: Netvicious
  SQL support for Popcorn hour dulsin 4 536 02-14-2013 06:15 PM
Last Post: accident
  A-400 external drives USB or ESATA? ukchevy 17 2,726 10-28-2012 12:39 PM
Last Post: ukchevy
  Will PCH ever support Vimeo streams? 3560freak 2 962 09-30-2012 05:11 AM
Last Post: 3560freak
  A-400 vs A-300 more formats supported or just IPAD support? jonnydanger 5 2,558 09-16-2012 10:11 PM
Last Post: Pain
  Popcorn Hour WN-150 USB WiFi Adapter Purchase (UK)? chrisk 4 1,898 04-14-2012 07:54 PM
Last Post: chris57
  USB case h2ofun 1 647 04-06-2012 04:09 PM
Last Post: Temujin

Forum Jump: