[Voyage-linux] No sound HiFace 2
Demian Martin
(spam-protected)
Thu Nov 22 23:48:20 HKT 2012
The device enumerates fine. Did the file play with aplay? ALSA finds it and
formats the data as appropriate.
I may not have formatted the proc query correctly. Try this while playing
cat /proc/asound/card0/stream0
You should get something like this:
cygnus:~# cat /proc/asound/card1/stream0
www.obdev.at DG8SAQ-I2C at usb-0000:00:0f.5-2, high speed : USB Audio
Playback:
Status: Running
Interface = 2
Altset = 1
Packet Size = 392
Momentary freq = 88223 Hz (0xb.0720)
Feedback Format = 7.17
Packet Size = 0
Momentary freq = 88200 Hz (0xb.0666)
Interface 2
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 2 OUT (ASYNC)
Rates: 44100, 88200, 132300, 176400, 48000, 96000, 144000, 192000
Data packet interval: 250 us
Here would be my next step based on what I see for mpd.conf:
#
audio_output {
type "alsa"
name "HiFace 2" #more descriptive name reduces confusion later
device "plughw:0,0" #plughw uses ALSA to reformat the data to match the
audio sink
#format "44100:16:2" optional
# mixer_device "default" optional
# mixer_control "PCM" optional
# mixer_index "0" optional
#dsd_usb "yes" #turn this on after everything works. And its only useful
if your DAC can decode DoP 1.0
}
#
To get rid of the mixer error change this to disabled-
# Volume control mixer
########################################################
#
# These are the global volume control settings. By default, this setting
will
# be detected to the available audio output device, with preference going to
# hardware mixing. Hardware and software mixers for individual audio_output
# sections cannot yet be mixed.
#
# An example for controlling an ALSA, OSS or Pulseaudio mixer; If this
# setting is used other sound applications will be affected by the volume
# being controlled by MPD.
#
#mixer_type "hardware"
#
# An example for controlling all mixers through software. This will control
# all controls, even if the mixer is not supported by the device and will
not
# affect any other sound producing applications.
#
#mixer_type "software"
#
# This example will not allow MPD to touch the mixer at all and will disable
# all volume controls.
#
mixer_type "disabled"
#
############################################################################
###
From: Valdemar Børsting [mailto:valdemar at boersting.com]
Sent: Thursday, November 22, 2012 12:54 AM
To: Demian Martin
Cc: voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] No sound HiFace 2
Hello Demian,
Thanks for responding. Find below the output.
- Valdemar
_____
> Here are a few things to check:
>
> 1) Lsusb -v | grep Hiface lets see what it says it is
Ok, I replaced "Hiface" with "M2Tech"
root at voyage:/# lsusb -v | grep M2Tech
iManufacturer 1 M2Tech
iProduct 2 M2Tech USB Audio 2.0
iInterface 2 M2Tech USB Audio 2.0
iClockSource 9 M2Tech Internal Clock
iClockSelector 8 M2Tech Clock Selector
iTerminal 6 M2Tech Audio 2.0 Output
iInterface 4 M2Tech USB 2.0 Audio Out
iInterface 4 M2Tech USB 2.0 Audio Out
iInterface 12 M2Tech DFU
iInterface 2 M2Tech USB Audio 2.0
iClockSource 9 M2Tech Internal Clock
iClockSelector 8 M2Tech Clock Selector
iTerminal 6 M2Tech Audio 2.0 Output
iInterface 4 M2Tech USB 2.0 Audio Out
iInterface 4 M2Tech USB 2.0 Audio Out
iInterface 12 M2Tech DFU
> 2) Cat /proc/asound/card0/status lets see what the device status
is.
No file called "status"
root at voyage:/# cat /proc/asound/card0/status
cat: /proc/asound/card0/status: No such file or directory
>
> 3) Then try to play a file to the device:
>
> a. Aplay v Dplughw:0,0 /path/to/a/wave/file this will tell
you want the system is trying to do.
root at voyage:/# aplay -v -Dplughw:0,0 /mnt/music/flac/DCS/JungleBoldie.wav
Playing WAVE '/mnt/music/flac/DCS/JungleBoldie.wav' : Signed 24 bit Little
Endian in 3bytes, Rate 192000 Hz, Stereo
Plug PCM: Linear conversion PCM (S32_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 2
rate : 192000
exact rate : 192000 (192000/1)
msbits : 24
buffer_size : 96000
period_size : 24000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 24000
period_event : 0
start_threshold : 96000
stop_threshold : 96000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
Slave: Hardware PCM card 0 'M2Tech USB Audio 2.0' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 192000
exact rate : 192000 (192000/1)
msbits : 32
buffer_size : 96000
period_size : 24000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 24000
period_event : 0
start_threshold : 96000
stop_threshold : 96000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
appl_ptr : 0
hw_ptr : 0
On 2012-11-22 06:21, Demian Martin wrote:
Here are a few things to check:
1) Lsusb -v | grep Hiface lets see what it says it is
2) Cat /proc/asound/card0/status lets see what the device status is.
3) Then try to play a file to the device:
a. Aplay v Dplughw:0,0 /path/to/a/wave/file this will tell you
want the system is trying to do.
The new hiface 2 stuff is supposed to be UAC2 compatible. That doesnt mean
that it will work . . .
Demian Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20121122/6baaaae0/attachment.html>
More information about the Voyage-linux
mailing list