I agree, it is not difficult to add the driver to the kernel. I tried the hiFace 1 driver in three distributions so far:<div>- on the generic distribution (ubuntu), it compiles easily and works fine, actually the sound is great when coupled with mpd</div>

<div>- on embedded distributions (voyage-mpd, Synology DSM 4.0), it is a bit complex to compiles but it does not work yet (even with plughw)</div><div>I have to ask the author of the driver at the end of this week.</div>
<div>
<br></div><div>As for the USB numbering, an alternative is to use the alias "hiFace" for the card, which is independent of the numbering, for example "hw:hiFace" or "plughw:hiFace" (when possible, I prefer the former). You can see this alias with "aplay -L" (capital L).</div>

<div><br></div><div>Cheers</div><div>-Roberto</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 5:33 AM, Demian Martin <span dir="ltr"><<a href="mailto:demian@auraliti.com" target="_blank">demian@auraliti.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There are two hurdles to getting a new sound device working in Linux. The<br>
first is the driver. I followed the link and figured out how to patch it<br>
into the Kernel I'm using and get it to compile successfully. It would be<br>
great to have the author submit it to Alsa and get it into the Kernel. I<br>
find these isolated drivers a pain to maintain. The second is getting the<br>
interface talking correctly. My suggestions follow.<br>
<br>
I'll have a HiFace here in a day to try but from the notes posted I would<br>
suggest you use this to test:<br>
aplay -v -D plughw:0,0 file.wav   # the "plughw" tells alsa to reformat to<br>
match the device.<br>
<br>
New versions of mpd (16 and above) will format to 24 bit internally, but I<br>
use this for USB and it seems to always work. If not change it to plughw and<br>
try.<br>
<br>
audio_output {<br>
       type          "alsa"<br>
       name          "USB"<br>
       device        "hw:1"     # optional<br>
        mixer_device    "none"          # optional<br>
#       mixer_device  "hw:1"        # optional<br>
#       mixer_control "PCM"         # optional<br>
#       mixer_index   "0"           # optional<br>
}<br>
<br>
There is a way to restrict usb audio devices to enumerate to device 1 and<br>
up. I have forgotten how I did it.<br>
             Demian<br>
<br>
> -----Original Message-----<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Martin Larsson <<a href="mailto:martin.larsson2@gmail.com">martin.larsson2@gmail.com</a>><br>
> Date: Mon, Nov 5, 2012 at 7:23 PM<br>
> Subject: Re: [Voyage-linux] compiling kernel module for Hiface 1 drivers<br>
> To: Roberto Grossi <<a href="mailto:grossi@di.unipi.it">grossi@di.unipi.it</a>><br>
><br>
><br>
> Yeah I'm trying to NOT play 32bit :) Are you sure it played 96khz? and 44<br>
> worked as well? how did you configure alsa/mpd? Feels like i've tried<br>
> everything.<br>
><br>
> thanks for the info<br>
><br>
> best regards martin<br>
><br>
><br>
> On Mon, Nov 5, 2012 at 5:00 PM, Roberto Grossi <<a href="mailto:grossi@di.unipi.it">grossi@di.unipi.it</a>> wrote:<br>
><br>
> > My Dac can handle 24/192 but the hiFace is integrated in a Behringer<br>
> > 24/96, so this the max resolution I can check.<br>
> > Not sure that you need to use 32 bits any way<br>
> ><br>
> > Cheers<br>
> > Roberto<br>
> ><br>
> ><br>
> > On Mon, Nov 5, 2012 at 3:50 PM, Martin Larsson<br>
> <<a href="mailto:martin.larsson2@gmail.com">martin.larsson2@gmail.com</a>>wrote:<br>
> ><br>
> >> Can your dac handle 32bit input? According to an alsa guy I talked to<br>
> >> on IRC, the driver in its current state can only use 32bit.<br>
> >><br>
> >> best regards<br>
> >> martin<br>
> >><br>
> >><br>
> >> On Mon, Nov 5, 2012 at 2:05 PM, Roberto Grossi<br>
> <<a href="mailto:grossi@di.unipi.it">grossi@di.unipi.it</a>>wrote:<br>
> >><br>
> >>> Sorry, I thought you had some special config. BTW, the author of the<br>
> >>> drive is from Pisa, so I'm going to meet him in few days since I live<br>
here.<br>
> >>><br>
> >>> As for mpd, it does not resample in my case:<br>
> >>><br>
> >>> cat /proc/asound/hiFace/pcm0p/sub0/hw_params<br>
> >>> access: MMAP_INTERLEAVED<br>
> >>> format: S32_LE<br>
> >>> subformat: STD<br>
> >>> channels: 2<br>
> >>> rate: 44100 (44100/1)<br>
> >>> period_size: 4096<br>
> >>> buffer_size: 8192<br>
> >>><br>
> >>><br>
> >>> Cheers<br>
> >>> -Roberto<br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Roberto Grossi, Dipartimento di Informatica, Università di Pisa<br>Largo Bruno Pontecorvo 3, 56127 Pisa, Italy<br><a href="http://www.di.unipi.it/~grossi" target="_blank">http://www.di.unipi.it/~grossi</a>, tel (+39)0502212793, fax (+39)0502212726<br>


</div>