There are two hurdles to getting a new sound device working in Linux. The
first is the driver. I followed the link and figured out how to patch it
into the Kernel I'm using and get it to compile successfully. It would be
great to have the author submit it to Alsa and get it into the Kernel. I
find these isolated drivers a pain to maintain. The second is getting the
interface talking correctly. My suggestions follow.

I'll have a HiFace here in a day to try but from the notes posted I would
suggest you use this to test:
aplay -v -D plughw:0,0 file.wav   # the "plughw" tells alsa to reformat to
match the device.

New versions of mpd (16 and above) will format to 24 bit internally, but I
use this for USB and it seems to always work. If not change it to plughw and
try.

audio_output {
       type          "alsa"
       name          "USB"
       device        "hw:1"     # optional
        mixer_device    "none"          # optional  
#       mixer_device  "hw:1"        # optional
#       mixer_control "PCM"         # optional
#       mixer_index   "0"           # optional
}

There is a way to restrict usb audio devices to enumerate to device 1 and
up. I have forgotten how I did it. 
             Demian

> -----Original Message-----
> 
> ---------- Forwarded message ----------
> From: Martin Larsson <martin.larss...@gmail.com>
> Date: Mon, Nov 5, 2012 at 7:23 PM
> Subject: Re: [Voyage-linux] compiling kernel module for Hiface 1 drivers
> To: Roberto Grossi <gro...@di.unipi.it>
> 
> 
> Yeah I'm trying to NOT play 32bit :) Are you sure it played 96khz? and 44
> worked as well? how did you configure alsa/mpd? Feels like i've tried
> everything.
> 
> thanks for the info
> 
> best regards martin
> 
> 
> On Mon, Nov 5, 2012 at 5:00 PM, Roberto Grossi <gro...@di.unipi.it> wrote:
> 
> > My Dac can handle 24/192 but the hiFace is integrated in a Behringer
> > 24/96, so this the max resolution I can check.
> > Not sure that you need to use 32 bits any way
> >
> > Cheers
> > Roberto
> >
> >
> > On Mon, Nov 5, 2012 at 3:50 PM, Martin Larsson
> <martin.larss...@gmail.com>wrote:
> >
> >> Can your dac handle 32bit input? According to an alsa guy I talked to
> >> on IRC, the driver in its current state can only use 32bit.
> >>
> >> best regards
> >> martin
> >>
> >>
> >> On Mon, Nov 5, 2012 at 2:05 PM, Roberto Grossi
> <gro...@di.unipi.it>wrote:
> >>
> >>> Sorry, I thought you had some special config. BTW, the author of the
> >>> drive is from Pisa, so I'm going to meet him in few days since I live
here.
> >>>
> >>> As for mpd, it does not resample in my case:
> >>>
> >>> cat /proc/asound/hiFace/pcm0p/sub0/hw_params
> >>> access: MMAP_INTERLEAVED
> >>> format: S32_LE
> >>> subformat: STD
> >>> channels: 2
> >>> rate: 44100 (44100/1)
> >>> period_size: 4096
> >>> buffer_size: 8192
> >>>
> >>>
> >>> Cheers
> >>> -Roberto


_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to