Re: Status of CM6631 USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Torstein, list;

On Tue, Apr 9, 2013 at 12:34 AM, Torstein Hegge <hegge@xxxxxxxxxxx> wrote:
> On Mon, Apr 08, 2013 at 18:28:30 -0700, chris hermansen wrote:
[..]
>> Hmm that was a bit of a slip of the brain.  Anyway, I'm actually back
>> in the same general vicinity as the Bifrost and can do some more
>> testing.
>>
>> Torstein, is there anything specific you want me to try, or just patch
>> up the kernel and have at it?
>
> The latest iteration of the patch is included in the 3.9-rc6 kernel. You
> can try a plain 3.9-rc6 kernel without any modifications.

So, I've updated my aging Toshiba "test bed" to the latest Ubuntu
13.04 release and grabbed the 3.9-rc6 kernel from
http://kernel.ubuntu.com for testing.

Trying out a bunch of songs with no noise, that's great news!  But now
something else seems weird.

When I play a 96/24 file through plughw corresponding to the Schiit, I see this:

sudo aplay -vD plughw:CARD=Interface,DEV=0 2L*
[sudo] password for clh:
Home directory not accessible: Permission denied
Playing WAVE '2L50SACD_tr1_96k_stereo.wav' : Signed 24 bit Little
Endian in 3bytes, Rate 96000 Hz, Stereo
Plug PCM: Linear conversion PCM (S16_LE)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 96000
  exact rate   : 96000 (96000/1)
  msbits       : 24
  buffer_size  : 48000
  period_size  : 12000
  period_time  : 125000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 12000
  period_event : 0
  start_threshold  : 48000
  stop_threshold   : 48000
  silence_threshold: 0
  silence_size : 0
  boundary     : 1572864000
Slave: Hardware PCM card 1 'Schiit USB Interface' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 96000
  exact rate   : 96000 (96000/1)
  msbits       : 16
  buffer_size  : 48000
  period_size  : 12000
  period_time  : 125000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 12000
  period_event : 0
  start_threshold  : 48000
  stop_threshold   : 48000
  silence_threshold: 0
  silence_size : 0
  boundary     : 1572864000
  appl_ptr     : 0
  hw_ptr       : 0
^CAborted by signal Interrupt...

Ie the 24bit data is getting downsampled to 16 bits!

It also seems like "stream0" for the Schiit only plays back 16bit data

cat stream0
CMEDIA Schiit USB Interface at usb-0000:00:13.2-3, high speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 5 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 192000
    Data packet interval: 125 us

Capture:
  Status: Stop
  Interface 4
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 8 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 192000
    Data packet interval: 125 us
  Interface 4
    Altset 2
    Format: S32_LE
    Channels: 2
    Endpoint: 8 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 192000
    Data packet interval: 125 us

whereas stream1 shows both a 16 and 32 bit capability

cat stream1
CMEDIA Schiit USB Interface at usb-0000:00:13.2-3, high speed : USB Audio #1

Playback:
  Status: Stop
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 6 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
  Interface 2
    Altset 2
    Format: S32_LE
    Channels: 2
    Endpoint: 6 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us

Capture:
  Status: Stop
  Interface 3
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 9 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 192000
    Data packet interval: 125 us
  Interface 3
    Altset 2
    Format: S32_LE
    Channels: 2
    Endpoint: 9 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 192000
    Data packet interval: 125 us

The problem is, stream1 and higher don't seem to be connected to the
rest of the DAC.

Also this stream0 looks markedly different than the version I
displayed back on 3 March.

Help?
--
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux