Yoshiki's notes
   


About
Open source software, shogi and my life outside of workplace.

Yoshiki Hayashi

Subscribe
RSS

Flavours

  • index
  • circa 1993
  • RSS
  • October
    Sun Mon Tue Wed Thu Fri Sat
             
    10
               


    Categories

           
    Sun, 10 Oct 2004

    Linux and USB Audio
    I bought DENON D-MA3 audio system on last Wednesday and it arrived yesterday. Since it comes with USB input and can be used as USB speaker, a natural thing to do is to make it work from my computers which run the Debian GNU/Linux. I spent some time looking for information how to do it and finally able to do it. After you found the solution, it was very simple but it wasn't very obvious. So here's a note in case some one is trying to do the same on Deiban unstable.

    There are only two things you have to do:

    • Enable snd-usb-audio module in ALSA
    • Modify /etc/usbmgr/usbmgr.conf and add an entry for your device

    To do the first, I have to run dpkg-reconfigure alsa-source to add snd-usb-audio because I had a configuration to compile only snd-intel8x0. Then just follow the usual course of make-kpkg modules_image to create alsa-modules package and install it. It doesn't look like you have to add the following as suggested by some documents I found on the web but YMMV:

    alias snd-card-1 snd-usb-audio
    alias sound-slot-1 snd-usb-audio
    

    Then I ran lsusb and found that 0x08bb and 0x2702 are vendor and product IDs of this device. Finally, I added the following to usbmgr.conf.

    vendor 0x8bb product 0x2702 module snd-usb-audio
    

    Using this from XMMS is also very easy. Just go to preferences and choose Configure in Output Plugin. Then choose the appropriate output device and you are all set.

    [] permanent link