Jump to content
  • The Computer Audiophile
    The Computer Audiophile

    Geek Speak: How To Build A BeagleBone Black MPD Music Server

    thumb.jpgWarning the following article contains some geeky stuff. What follows is a step by step guide to building a tiny 2.4" x 0.82" x 3.54" Linux music server. It's not rocket science and the instructions make the process fairly easy, but the article isn't for everybody. Thanks to CA readers K-man and Richard Dale for additional information and tweaks for setting up the BeagleBone Black so it runs great. Please note there are many ways to setup and configure the BBB. This is just one way using either Mac OS X or Windows. Readers are encouraged to leave comments with additional tips, tricks, and tweaks. I will update this article accordingly.[PRBREAK][/PRBREAK]

     

    1-Pixel.png

     

     

     

    1-Pixel.png

     

     

    opening.jpg

     

     

     

    1-Pixel.png

     

     

     

     

    Introduction

    The new $45 BeagleBone Black motherboard has excited many computer audio entusiasts. This tiny board has enough power and ports to run a Linux based MPD music server. In addition, Logic Supply has released a new BeagleBone Black case in a very cool orange color as well as a more traditional black. The case is made specifically for the BBB. All the ports line up perfectly and the finished product with BBB inside looks really neat. I attached the four rubber feet to the bottom of my Logic Supply case and the BBB sits nicely on any of my audio components without scratching itself or the other device. The case is made of sturdy metal, unlike the plastic options available heretofore. If you have a BBB or are going to pick one up I'd pick up the Logic Supply case as well.

     

    bbb-board.jpg

     

     

    1-Pixel.png

     

     

    Here is a list of requirements and step by step instructions for the BBB-MPD server running Linux from the built-in eMMC flash drive.

     

     

     

    Requirements:

     

     

     

    1-Pixel.png

     

     

    Step By Step Mac

     

    - Connect the MicroSD card using an adapter to a Mac or PC.

    - Open Disk Utility (Applications > Utilities > Disk Utility), select select all volumes under the MicroSD card, then select Unmount. In my example the volume is named 8GB. (Image Link ex.png)

    - Install The Unarchiver (App Link ex.png)

    - Download the Debian Wheezy image (Direct Link ex.png). During the download if asked a question about the file extension .img or .xz, click "Use .xz" (Image Link ex.png)

    - Double-click the downloaded Debian Wheezy image. This will open The Unarchiver and automatically extract the needed image file (BBB-eMMC-flasher-debian-7.4-2014-03-27.img)

    - Open the Terminal app (Applications > Utilities > Terminal)

    - Type -> sudo su (without the arrow ->)

    - Enter your password if asked.

    - Type -> diskutil list

    - Take note of the disk number of the MicroSD card connected to your computer. My MicroSD card is listed as /dev/disk1. The MicroSD card should be easily identifiable by its small size. My MicroSD card is listed as 7.9 GB (Image Link ex.png)

    - Type -> sudo dd if=

    - Drag the Debian Wheezy image file on to the Terminal window to automatically fill in the path to the file (Image Link ex.png) You can also type this in manually if desired.

    - After dropping the image file on to the Terminal window the command line should read something like this >> dd if=/Users/chris/Desktop/BBB-eMMC-flasher-debian-7.4-2014-03-27.img (Image Link ex.png).

    - Make sure there is a single space after the path to the Debian Wheezy image file entered in the previous steps.

    - Type -> of=

    - Then enter the disk number of your MicroSD card. In my case this is /dev/disk1

    - The text should look something like this of=/dev/disk1 (Image Link ex.png).

    - Make sure there is a single space after the path to your MicroSD card entered in the previous steps.

    - Type -> bs=1m

    - The entire line should now look something like this >> dd if=/Users/chris/Desktop/BBB-eMMC-flasher-debian-7.4-2014-03-27.img of=/dev/disk1 bs=1m

    - Here is an image of my Terminal (Image Link ex.png)

    - Hit Enter on your keyboard and wait for the image to be written to the MicroSD card. This will take several minutes and appear like your computer is stuck. Please wait for the command to finish.

    - Once the image has been written to the MicroSD card the Terminal window will list something like this

    700+0 records in

    700+0 records out

    734003200 bytes transferred in 393.606273 secs (1864816 bytes/sec) (Image Link ex.png)

    - If you receive an error message stating "Resource busy" (Image Link ex.png) you likely skipped step 2. Please unmount the volume and try again.

    - Open Disk Utility (Applications > Utilities > Disk Utility), select the MicroSd card, click Eject or Eject Disk via the right-click menu.

    - Place the MicroSD card into the BeagleBone Black's MicroSD card slot.

    - Hold down the small Boot Switch / Button ex.png while connecting the power supply to the board.

    - As soon as one of the User LEDs illuminates, release the Boot Switch / Button.

    - The User LEDs should continue flashing while the MicroSD card image is copied to the on-board eMMC flash memory. The process should take about five minutes.

    - When all four User LEDs are illuminated steady, pull the power supply from the board and remove the MicroSD card.

    - Connect an Ethernet cable to the board and re-connect the power supply.

    - The BeagleBone Black will boot into Debian Linux.

    - Install the LanScan application from the App Store Link ex.png

    - Open LanScan and click Lan your Scan.

    - Once the network scan has completed locate the BeagleBone Black's IP address. The vendor will be listed as Texas Instruments. My BeagleBone Black's IP address is 10.0.1.179 (Image Link ex.png)

    - Open the Terminal app (Applications > Utilities > Terminal)

    - Type -> sudo su

    - Enter your password if asked.

    - Type -> ssh root@

    - After the @ symbol type the IP address of your BeagleBone Black and hit enter. Mine looks like this ssh [email protected] (Image Link ex.png)

    - You should receive a message about the authenticity of the of and the RSA key fingerprint. Type the entire word YES and hit enter.

    - You'll then be asked for the root password to login to the BeagleBone Black. Enter root as the password.

    - Here is an image of the entire login sequence (Image Link ex.png)

    - From here the Mac OS X and Windows configuration is the same because the work is done on the BeagleBone Black. Skip to the BeagleBone Black OS configuration.

     

     

     

     

     

     

     

    Step By Step Windows

     

    - Connect the MicroSD card using an adapter to a Mac or PC.

    - Install 7-Zip Link ex.png

    - Install Win32 Disk Image Link ex.png

    - Download the Debian Wheezy image (Direct Link ex.png).

    - Right-click the downloaded Debian Wheezy image. Select 7-Zip in the right-click menu, then select Extract Here. The file BBB-eMMC-flasher-debian-7.4-2014-03-27 will appear next to the downloaded image when the extraction is complete. (Image Link ex.png)

    - Open Win32 Disk Imager

    - Make sure the MicroSD card drive letter is selected under Device (Image Link ex.png)

    - Select the small folder to the left of the Device drive letter and browse to the file extracted using the 7-Zip program. You will need to click the drop-down arrow above the Cancel button (lower right) and select *.* to show all files (Image Link ex.png). (The Debian Wheezy image is extract without the .img file extension). Once *.* is selected you can select the file BBB-eMMC-flasher-debian-7.4-2014-03-27 that was extracted using the 7-Zip program. Don't select the .xz compressed file. (Image Link ex.png)

    - Click the Write button and Yes to any popup questions.

    - Eject the MicroSd card when Win32 Disk Imager finishes writing the image.

    - Place the MicroSD card into the BeagleBone Black's MicroSD card slot.

    - Hold down the small Boot Switch / Button ex.png while connecting the power supply to the board.

    - As soon as one of the User LEDs illuminates, release the Boot Switch / Button.

    - The User LEDs should continue flashing while the MicroSD card image is copied to the on-board eMMC flash memory. The process should take about five minutes.

    - When all four User LEDs are illuminated steady, pull the power supply from the board and remove the MicroSD card.

    - Connect an Ethernet cable to the board and re-connect the power supply.

    - The BeagleBone Black will boot into Debian Linux.

    - Download the PuTTY application Link ex.png

    - Download the Advanced IP Scanner application Link ex.png

    - Open Advanced IP Scanner and click the Scan button.

    - Once the network scan has completed locate the BeagleBone Black's IP address. The manufacturer will be listed as Texas Instruments. My BeagleBone Black's IP address is 10.0.1.179 (Image Link ex.png)

    - Open the PuTTY application and enter the IP address of your BeagleBone Black. I've entered 10.0.1.179 (Image Link ex.png)

    - Click Open, then click Yes to the PuTTY Security Alert (Image Link ex.png)

    - Enter root at the login prompt (Image Link ex.png)

    - Enter root as the password.

    - The screen should look like this (Image Link ex.png)

    - From here the Mac OS X and Windows configuration is the same because the work is done on the BeagleBone Black. Skip to the BeagleBone Black OS configuration.

     

     

     

     

     

     

    BeagleBone Black OS configuration.

     

    After using PuTTY or the OS X Terminal app to connect via SSH to the BeagleBone Black you'll need to run several commands to update and configure the BBB as an MPD server.

     

    - Type -> apt-get update

    - Hit Enter and wait for the update to complete.

    - Type -> apt-get upgrade -y

    - Hit Enter and wait for the upgrade to complete.

    - Type -> reboot

    - Hit Enter and wait for the BBB to restart

    - Reconnect to the BBB via SSH using PuTTY or OS X Terminal app as described above.

    - Type -> apt-get install mpd ncmpc alsa-base cifs-utils -y

    - Wait for the installation to complete.

    - Type -> apt-get remove apache2 -y

    - Wait for the removal to complete.

    - Type -> apt-get autoremove -y

    - Wait for the removal to complete.

    - Type -> mkdir /mnt/music

    - Type -> nano /etc/fstab

    - Hit the down arrow to the botom of the file that was opened with the previous command.

    - You will need the IP address of your NAS drive on which your music collection is stored. Use the aforementioned IP scanning tools if necessary. You will also need the Share name of the folder on your NAS. For example when I connect to my NAS I use the IP address 10.0.1.18 and the Share name is Audio. Audio is just a folder on the NAS.

    - Add the following line to the bottom of this opened file (nano /etc/fstab), substituting your NAS IP and Share name rather than using my information. Replace the ********* with the actual password to your NAS Share. Here is an image of my file (Image Link ex.png)

    //10.0.1.18/Audio/Music /mnt/music cifs defaults,username=admin,password=********** 0 0

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> mount -a

    - Type -> nano /etc/mpd.conf

    - Make the following changes to the mpd.conf file that was opened with the previous command.

    Remove the # symbol in front of the following lines

    zeroconf_enabled "yes"

    zeroconf_name "BBB Music Player"

    mixer_type "hardware"

    bind_to_address

     

    Change the line -> bind_to_address "localhost"

    to -> bind_to_address "0.0.0.0"

     

    Change the line -> music_directory "/var/lib/mpd/music"

    to -> music_directory "/mnt/music"

     

    Find the Alsa Audio Output section and make it look like this, placing # symbols in front of the bottom four options and changing the device to hw:1,0. The name can be changed to USB DAC or anything else if you'd like.

     

    audio_output {

    type "alsa"

    name "USB DAC"

    device "hw:1,0" # optional

    # format "44100:16:2" # optional

    # mixer_device "default" # optional

    # mixer_control "PCM" # optional

    # mixer_index "0" # optional

    }

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/modprobe.d/alsa-base.conf

    - Arrow to the bottom of the file and add the following text -> options snd-usb-audio nrpacks=1

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/inittab

    - Place the # symbol in fron of the following lines

     

    1:2345:respawn:/sbin/getty 38400 tty1

    2:23:respawn:/sbin/getty 38400 tty2

    3:23:respawn:/sbin/getty 38400 tty3

    4:23:respawn:/sbin/getty 38400 tty4

    5:23:respawn:/sbin/getty 38400 tty5

    6:23:respawn:/sbin/getty 38400 tty6

     

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/default/cpufrequtils

    - Add the following text -> GOVERNOR="performance"

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type ncmpc

    - Once the app opens hit Control U (Control key plus the letter U) to update the MPD database with all the music stored on your NAS. This may take awhile depending on how much music you have and how fast your network and NAS are.

    - Hit the letter Q to exit the ncmpc window. The Database update will continue.

    - NCMPC can be used to play music, but the interface is pretty crude compared to MPoD on the iPhone or MPaD on the iPad.

     

    Remote Control

    - Install MPoD or MPaD from the app store

    MPoD Link ex.png

    MPaD Link ex.png

     

    If using MPoD, open the app and select the target looking icon in the upper left corner of the Now Playing window. You should see the your server listed. Select the server and tap the Done button. Second, select the gear icon next to the target icon on the Now Playing Screen. Then select Refresh Local Cache to populate the app with the database of music stored on your NAS and available to the server. Now you'll be able to browse through the bottom of the app selecting Artist, Album, Song, and more.

     

    [ATTACH=CONFIG]6521[/ATTACH] [ATTACH=CONFIG]6519[/ATTACH] [ATTACH=CONFIG]6520[/ATTACH]

     

     

     

     

     

     

     

    Please let me know if you find errors in this guide. I will keep it updated as appropriate. Tips, tricks, and tweaks are also encouraged!

     

     

     

     

    1-Pixel.png

     

     

     

     

    Image Gallery

     

    [ATTACH=CONFIG]6515[/ATTACH][ATTACH=CONFIG]6512[/ATTACH][ATTACH=CONFIG]6509[/ATTACH][ATTACH=CONFIG]6516[/ATTACH][ATTACH=CONFIG]6513[/ATTACH][ATTACH=CONFIG]6510[/ATTACH][ATTACH=CONFIG]6507[/ATTACH][ATTACH=CONFIG]6514[/ATTACH][ATTACH=CONFIG]6511[/ATTACH][ATTACH=CONFIG]6508[/ATTACH][ATTACH=CONFIG]6517[/ATTACH][ATTACH=CONFIG]6518[/ATTACH]

     

     

    1-Pixel.png




    User Feedback

    Recommended Comments



    I can't remember if somebody already mentioned a better setting for nrpack besides "1" and I am too lazy to start reading all posts.

     

    Since my BBB system is up and running again this weekend I did some tests and I decided nrpacks = 1 gives best result.

    No need to change the setting thinking "I know better"

    ;-)

    Share this comment


    Link to comment
    Share on other sites

    During the installation of Debian I see several times the same warning:

    perl: warning: Setting locale failed.

    perl: warning: Please check that your locale settings:

    LANGUAGE = (unset),

    LC_ALL = (unset),

    LC_CTYPE = "UTF-8",

    LANG = "en_US.UTF-8"

    are supported and installed on your system.

    perl: warning: Falling back to the standard locale ("C").

    locale: Cannot set LC_CTYPE to default locale: No such file or directory

    locale: Cannot set LC_ALL to default locale: No such file or directory

    Could this explain why I encounter this problem with diacritical characters?

    If so, where do I have to change the language settings?

     

    In /etc/default/locale on my Debian based Raspberry Pi I have:

     

    # File generated by update-locale

    LANG=en_US.UTF-8

     

    See here: https://wiki.debian.org/Locale for info about how to update your locale.

     

    I think the problem with non-latin characters in filenames is more likely to be to do with how you are mounting your disk with the /etc/fstab entry. Does adding an 'iocharset=utf8' option like this make any difference?

     

     

    # /etc/fstab: static file system information.

    #

    # Auto generated by: beaglebone-black-copy-microSD-to-eMMC.sh

    #

    UUID=b8d2e77b-7900-400c-b3cf-397b025f8a8b / ext4 noatime,errors=remount-ro 0 1

    UUID=3C48-0567 /boot/uboot auto defaults 0 0

    //192.168.1.246/Muziek /mnt/music cifs defaults,username=admin,password=admin,iocharset=utf8, 0 0

    Share this comment


    Link to comment
    Share on other sites

    In /etc/default/locale on my Debian based Raspberry Pi I have:

     

    # File generated by update-locale

    LANG=en_US.UTF-8

     

    See here: https://wiki.debian.org/Locale for info about how to update your locale.

     

    I think the problem with non-latin characters in filenames is more likely to be to do with how you are mounting your disk with the /etc/fstab entry. Does adding an 'iocharset=utf8' option like this make any difference?

     

     

    # /etc/fstab: static file system information.

    #

    # Auto generated by: beaglebone-black-copy-microSD-to-eMMC.sh

    #

    UUID=b8d2e77b-7900-400c-b3cf-397b025f8a8b / ext4 noatime,errors=remount-ro 0 1

    UUID=3C48-0567 /boot/uboot auto defaults 0 0

    //192.168.1.246/Muziek /mnt/music cifs defaults,username=admin,password=admin,iocharset=utf8, 0 0

     

    Thanks Richard. I will give it a try. As soon as I have results I will report back here.

    Share this comment


    Link to comment
    Share on other sites

    In /etc/default/locale on my Debian based Raspberry Pi I have:

     

    # File generated by update-locale

    LANG=en_US.UTF-8

     

    See here: https://wiki.debian.org/Locale for info about how to update your locale.

     

    I think the problem with non-latin characters in filenames is more likely to be to do with how you are mounting your disk with the /etc/fstab entry. Does adding an 'iocharset=utf8' option like this make any difference?

     

     

    # /etc/fstab: static file system information.

    #

    # Auto generated by: beaglebone-black-copy-microSD-to-eMMC.sh

    #

    UUID=b8d2e77b-7900-400c-b3cf-397b025f8a8b / ext4 noatime,errors=remount-ro 0 1

    UUID=3C48-0567 /boot/uboot auto defaults 0 0

    //192.168.1.246/Muziek /mnt/music cifs defaults,username=admin,password=admin,iocharset=utf8, 0 0

     

    I have also: LANG=en_US.UTF-8

    When I add the 'iocharset=utf8' option I get an error message saying that line 7 is wrong. So that does not work.

    Share this comment


    Link to comment
    Share on other sites

    I have also: LANG=en_US.UTF-8

    When I add the 'iocharset=utf8' option I get an error message saying that line 7 is wrong. So that does not work.

     

    I made a typo. After correction no difference. All folders containing diacritical characters are ignored by ncmpc. They are shown when making a listing (cd /mnt/music ls). The diacritical characters are replaced by an '?' in that listing. ncmpc cannot handle that. My NAS is set to utf-8. When running LMS on the NAS everything is shown. NAS is ext3, should be no problem I read somewhere. So I'm stuck. For me end of story with BBB unless someone helps me here.

    Share this comment


    Link to comment
    Share on other sites

    No one tried to answer my questions some time ago ... sniff ... any luck shortly before Christmas?

    ;-)

     

    Hi all,

    I am a happy mpdpup user on an Alix machine. But now I am helping someone setting a BBB up as described at the beginning of this thread. BTW, thanks Chris for doing that, it is a great how. Would have loved to have such help 3 years ago when I started going down the slippery slope of linux audio ...;-)

     

    Can I ask a few questions:

    - what "nice" level is mpd running on the BBB? where can I change it to -19 if necessary? anyone done that yet? we could not see mpd with "ps -axl"

    - what are people using as buffer sizes in mpd.conf without dropouts and for best sound? we had dropouts with high res files

    - chris set nrpacks to 1, I use nrpacks = 20 for better results on the Alix. Is there a consensus what is best here?

     

    Thanks and sorry for the techy questions.

    lugili

    Share this comment


    Link to comment
    Share on other sites

    BBB's still great, but I have a weird problem. As reported by someone else some time ago, my MPoD iPhone app pauses & hangs immediately when I select a track. Reboots, reinstalls etc don't fix it. But the MPDroid apps on my Android phone & tablet work fine on the same BBB. I can't find any clues in the code or logs. Any ideas out there would be gratefully tried.

    Share this comment


    Link to comment
    Share on other sites

    Hi, I think this is great and I would also like to play FLAC file and MP3's on this. I have a question im realy hoping someone will know

    I would like to connect a 1TB hard drive to this and have the songs play from that, it can be a sata preferably or IDE connection.

    Does anyone know how I can mod this so I can play FLAC/MP3 from Hard drive ?

     

    Thanks

    Share this comment


    Link to comment
    Share on other sites

    Hi, I think this is great and I would also like to play FLAC file and MP3's on this. I have a question im realy hoping someone will know

    I would like to connect a 1TB hard drive to this and have the songs play from that, it can be a sata preferably or IDE connection.

    Does anyone know how I can mod this so I can play FLAC/MP3 from Hard drive ?

     

    Thanks

    You could use a USB hub that would support more than one USB device. Attach a USB hard drive and USB DAC. That's the only way I know. It may not sound perfect but I think it should work. If you have a SATA drive you can always use a SATA to USB converter.

    Share this comment


    Link to comment
    Share on other sites

    No one tried to answer my questions some time ago ... sniff ... any luck shortly before Christmas?

    ;-)

     

    some answers on the previous page, by users Ronalde and Oystein

    Share this comment


    Link to comment
    Share on other sites

    I made a typo. After correction no difference. All folders containing diacritical characters are ignored by ncmpc. They are shown when making a listing (cd /mnt/music ls). The diacritical characters are replaced by an '?' in that listing. ncmpc cannot handle that. My NAS is set to utf-8. When running LMS on the NAS everything is shown. NAS is ext3, should be no problem I read somewhere. So I'm stuck. For me end of story with BBB unless someone helps me here.

     

     

    mpd.conf is uncommented lines:

     

    filesystem_charset "UTF-8"

    id3v1_encoding "UTF-8"

     

    tags are encoded in UTF-8 (no filenames) ?

     

    file permissions?

    Share this comment


    Link to comment
    Share on other sites

    Help please. I've just followed the v helpfull guide step by step. I got my nas connected to mpd and the song list transferred. I can even play songs using ncmpc. The problem is I have no audio output. I have done the alsa settings as in the guide. I think I may have a problem with the beaglebone not being able to talk to my cm6631A usb to coax card which is in my dac. I have read somewhere that others have said these chips don't like alsa output but I wouldn't have a clue as to what changes need to be made to any config files.

     

    Another note: If I reboot the beaglebbb with the dac connected, I can see files "playing" using ncmpc (can not hear though). However if I turn off the dac and turn it on again , when trying to play music "it now goes and pauses the music straight away".

     

    Anyhelp would be much appreciated.

     

    Regards

     

    Simon

    Share this comment


    Link to comment
    Share on other sites

    I am planning to buy CubieBoard (like this one) for more processor power, bigger RAM, SATA support and 2 USB port.

    Will the setup be same/similar to Beaglebone Black or I have to strike head on wall to set it up and get going?

     

    Please help.

    Share this comment


    Link to comment
    Share on other sites

    I am planning to buy CubieBoard (like this one) for more processor power, bigger RAM, SATA support and 2 USB port.

    Will the setup be same/similar to Beaglebone Black or I have to strike head on wall to set it up and get going?

     

    Please help.

    I think you're in for a few long nights of work. If you know what you're doing it's not the difficult though.

     

    Maybe start a thread in the forum here and some of us can help.

    Share this comment


    Link to comment
    Share on other sites

    I think you're in for a few long nights of work. If you know what you're doing it's not the difficult though.

     

    Maybe start a thread in the forum here and some of us can help.

     

    Thanks Chris!

     

    Okay, so let me first take your suggestion. Are you at all suggesting for this board or you think I should go for Beaglebone Black?

    The Cubieboard is very tempting for its configuration.

    Share this comment


    Link to comment
    Share on other sites

    Thanks Chris!

     

    Okay, so let me first take your suggestion. Are you at all suggesting for this board or you think I should go for Beaglebone Black?

    The Cubieboard is very tempting for its configuration.

    Go for this board if you need the added features.

    Share this comment


    Link to comment
    Share on other sites

    I don't really need the added features other than the USB or SATA connectivity. I am looking to avoid NAS, let's if I can :)

    Share this comment


    Link to comment
    Share on other sites

    First time here and I'm hoping someone can help...

     

    I've built the BBB and everything seems to be working except it seems that the ALSA doesn't detect my DAC which utilizes a M2Tech HiFace Evo USB Interface (Eastern Electric MiniMax DAC Plus).

     

    Here are the relative Tech. details:

     

    root@arm:/proc/asound/card0/pcm0p/sub0# aplay -l

    **** List of PLAYBACK Hardware Devices ****

    card 0: Black [TI BeagleBone Black], device 0: HDMI nxp-hdmi-hifi-0 []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

     

     

    root@arm:/proc/asound/card0/pcm0p/sub0# aplay -L

    null

    Discard all samples (playback) or generate zero samples (capture)

    default:CARD=Black

    TI BeagleBone Black,

    Default Audio Device

    sysdefault:CARD=Black

    TI BeagleBone Black,

    Default Audio Device

     

     

    root@arm:/proc/asound/card0/pcm0p/sub0# lsusb

    Bus 001 Device 002: ID 249c:932c

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

     

     

    Share this comment


    Link to comment
    Share on other sites

    Update:

     

    It looks like the DAC is recognized at boot:root@arm:~# dmesg | grep usb

    [ 2.305171] usbhid: USB HID core driver

    [ 2.405876] usb 1-1: new high-speed USB device number 2 using musb-hdrc

    [ 2.565335] usb 1-1: default language 0x0409

    [ 2.567514] usb 1-1: udev 2, busnum 1, minor = 1

    [ 2.567529] usb 1-1: New USB device found, idVendor=249c, idProduct=932c

    [ 2.574540] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

    [ 2.582004] usb 1-1: Product: MiniMax DAC MKII

    [ 2.586652] usb 1-1: Manufacturer: MiniMax DAC MKII

    [ 2.622700] usb 1-1: usb_probe_device

    [ 2.622719] usb 1-1: configuration #0 chosen from 1 choice

    [ 2.622731] usb 1-1: config 0 descriptor??

    [ 2.627177] usb 1-1: adding 1-1:0.0 (config #0, interface 0)

     

    However lsmod doesn't seem to have loaded any "snd-*" modules (like snd-usbaudio):

    root@arm:~# lsmod

    Module Size Used by

    g_multi 47670 0

    libcomposite 14299 1 g_multi

    arc4 1660 0

    ecb 1740 0

    md4 2813 0

    sha256_generic 7561 1

    hmac 2244 2

    cifs 330636 2

    Share this comment


    Link to comment
    Share on other sites

    mredel,

     

    The Hiface evo needs a USB driver to be complied and installed on your BBB. What is relatively straightforward on a standard PC/laptop is a lot more involved when using hardware like the BBB or RPi.

     

    Try posting a message under "music server" asking how to build the hiface evo snd-usb-asyncaudio module for the beaglebone black.

    Share this comment


    Link to comment
    Share on other sites

    Mredel,

     

    Which distro did you install on your BBB? The latest "BBB-eMMC-flasher-debian-7.4-2014-02-16-2gb.img" has a hiface audio module built-i,n but only for the 3.13 kernel. Yet it seems to be configured to boot a 3.8 kernel. I don't have a BBB so can't help beyond that. Best to ask in main section the forum.

    Share this comment


    Link to comment
    Share on other sites

    Thanks Krisbee,

    Indeed, I've imaged the BBB with the latest "BBB-eMMC-flasher-debian-7.4-2014-02-16-2gb.img" however, for the BeagleBone Black the Kernel version is still "3.8.13-bone40" , it appears the 3.13 kernel is only available on the original Beagle Board:

     

    BeagleBoardDebian - eLinux.org

     

    I'll enquire how to build the HiFace Drive for the BBB, but I'm also looking into Voyage MuBox:

     

    BeagleBone Black | Voyage MuBox

    Share this comment


    Link to comment
    Share on other sites




    Guest
    This is now closed for further comments




×
×
  • Create New...