<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:824904589;
mso-list-type:hybrid;
mso-list-template-ids:617262922 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>The device enumerates fine. Did the file play with aplay? ALSA finds it and formats the data as appropriate. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I may not have formatted the proc query correctly. Try this while playing cat /proc/asound/card0/stream0<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You should get something like this:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>cygnus:~# cat /proc/asound/card1/stream0<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>www.obdev.at DG8SAQ-I2C at usb-0000:00:0f.5-2, high speed : USB Audio </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Playback:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Status: Running<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Interface = 2<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Altset = 1<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Packet Size = 392<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Momentary freq = 88223 Hz (0xb.0720)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Feedback Format = 7.17<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Packet Size = 0<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Momentary freq = 88200 Hz (0xb.0666)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Interface 2<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Altset 1<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Format: S32_LE<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Channels: 2<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Endpoint: 2 OUT (ASYNC)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Rates: 44100, 88200, 132300, 176400, 48000, 96000, 144000, 192000<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> Data packet interval: 250 us<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Here would be my next step based on what I see for mpd.conf:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoPlainText>#<o:p></o:p></p><p class=MsoPlainText>audio_output {<o:p></o:p></p><p class=MsoPlainText>type "alsa"<o:p></o:p></p><p class=MsoPlainText>name "HiFace 2" #more descriptive name reduces confusion later<o:p></o:p></p><p class=MsoPlainText>device "plughw:0,0" #plughw uses ALSA to reformat the data to match the audio sink<o:p></o:p></p><p class=MsoPlainText>#format "44100:16:2" optional<o:p></o:p></p><p class=MsoPlainText># mixer_device "default" optional<o:p></o:p></p><p class=MsoPlainText># mixer_control "PCM" optional<o:p></o:p></p><p class=MsoPlainText># mixer_index "0" optional<o:p></o:p></p><p class=MsoPlainText>#dsd_usb "yes" #turn this on after everything works. And its only useful if your DAC can decode DoP 1.0<o:p></o:p></p><p class=MsoPlainText> }<o:p></o:p></p><p class=MsoPlainText>#<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>To get rid of the mixer error change this to disabled-<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># Volume control mixer ########################################################<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># These are the global volume control settings. By default, this setting will<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># be detected to the available audio output device, with preference going to <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># hardware mixing. Hardware and software mixers for individual audio_output<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># sections cannot yet be mixed.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># An example for controlling an ALSA, OSS or Pulseaudio mixer; If this<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># setting is used other sound applications will be affected by the volume<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># being controlled by MPD.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#mixer_type "hardware"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># An example for controlling all mixers through software. This will control<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># all controls, even if the mixer is not supported by the device and will not<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># affect any other sound producing applications.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#mixer_type "software"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># This example will not allow MPD to touch the mixer at all and will disable<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'># all volume controls.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>mixer_type "disabled"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:windowtext'>#<o:p></o:p></span></p><p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>###############################################################################</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Valdemar Børsting [mailto:valdemar@boersting.com] <br><b>Sent:</b> Thursday, November 22, 2012 12:54 AM<br><b>To:</b> Demian Martin<br><b>Cc:</b> voyage-linux@voyage.hk<br><b>Subject:</b> Re: [Voyage-linux] No sound HiFace 2<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello Demian,<br><br>Thanks for responding. Find below the output.<br><br>- Valdemar<o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal>> Here are a few things to check:<br>><br>> 1) Lsusb -v | grep Hiface lets see what it says it is<br><br>Ok, I replaced "Hiface" with "M2Tech"<br><br>root@voyage:/# lsusb -v | grep M2Tech<br> iManufacturer 1 M2Tech<br> iProduct 2 M2Tech USB Audio 2.0<br> iInterface 2 M2Tech USB Audio 2.0<br> iClockSource 9 M2Tech Internal Clock<br> iClockSelector 8 M2Tech Clock Selector<br> iTerminal 6 M2Tech Audio 2.0 Output<br> iInterface 4 M2Tech USB 2.0 Audio Out<br> iInterface 4 M2Tech USB 2.0 Audio Out<br> iInterface 12 M2Tech DFU<br> iInterface 2 M2Tech USB Audio 2.0<br> iClockSource 9 M2Tech Internal Clock<br> iClockSelector 8 M2Tech Clock Selector<br> iTerminal 6 M2Tech Audio 2.0 Output<br> iInterface 4 M2Tech USB 2.0 Audio Out<br> iInterface 4 M2Tech USB 2.0 Audio Out<br> iInterface 12 M2Tech DFU<br><br>> 2) Cat /proc/asound/card0/status lets see what the device status is.<br><br>No file called "status"<br><br>root@voyage:/# cat /proc/asound/card0/status<br>cat: /proc/asound/card0/status: No such file or directory<br>><br>> 3) Then try to play a file to the device:<br>><br>> a. Aplay –v –Dplughw:0,0 /path/to/a/wave/file this will tell you want the system is trying to do.<br>root@voyage:/# aplay -v -Dplughw:0,0 /mnt/music/flac/DCS/JungleBoldie.wav<br>Playing WAVE '/mnt/music/flac/DCS/JungleBoldie.wav' : Signed 24 bit Little Endian in 3bytes, Rate 192000 Hz, Stereo<br>Plug PCM: Linear conversion PCM (S32_LE)<br>Its setup is:<br> stream : PLAYBACK<br> access : RW_INTERLEAVED<br> format : S24_3LE<br> subformat : STD<br> channels : 2<br> rate : 192000<br> exact rate : 192000 (192000/1)<br> msbits : 24<br> buffer_size : 96000<br> period_size : 24000<br> period_time : 125000<br> tstamp_mode : NONE<br> period_step : 1<br> avail_min : 24000<br> period_event : 0<br> start_threshold : 96000<br> stop_threshold : 96000<br> silence_threshold: 0<br> silence_size : 0<br> boundary : 1572864000<br>Slave: Hardware PCM card 0 'M2Tech USB Audio 2.0' device 0 subdevice 0<br>Its setup is:<br> stream : PLAYBACK<br> access : MMAP_INTERLEAVED<br> format : S32_LE<br> subformat : STD<br> channels : 2<br> rate : 192000<br> exact rate : 192000 (192000/1)<br> msbits : 32<br> buffer_size : 96000<br> period_size : 24000<br> period_time : 125000<br> tstamp_mode : NONE<br> period_step : 1<br> avail_min : 24000<br> period_event : 0<br> start_threshold : 96000<br> stop_threshold : 96000<br> silence_threshold: 0<br> silence_size : 0<br> boundary : 1572864000<br> appl_ptr : 0<br> hw_ptr : 0<br><br><br>On 2012-11-22 06:21, Demian Martin wrote: <o:p></o:p></p><p class=MsoNormal>Here are a few things to check:<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Lsusb -v | grep Hiface lets see what it says it is<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Cat /proc/asound/card0/status lets see what the device status is.<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Then try to play a file to the device:<o:p></o:p></p><p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>a.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Aplay –v –Dplughw:0,0 /path/to/a/wave/file this will tell you want the system is trying to do.<o:p></o:p></p><p class=MsoNormal>The new hiface 2 stuff is supposed to be UAC2 compatible. That doesn’t mean that it will work . . .<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#222222'>Demian Martin</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>