Re: [PATCH 1/2] M-Audio USB

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

 



Re-posting, because I haven't seen my post appear in the list.

>> de Pavel Polischouk
>> Envoyé : vendredi 24 novembre 2006 05:36
>> À : alsa-devel@xxxxxxxxxxxxxxxxxxxxx
>> Objet :  [PATCH 1.0.13 1/2] M-Audio USB
>>
>>
>> This patch adds the following capabilities to usbaudio.c:
>> - Merges support for M-Audio FastTrack USB
>> - Adds proper support for M-Audio Quattro USB
>> - Adds hot-reload support for all Audiophile, FastTrack and Quattro.
>
>> Thibault, could you please verify that it works for Audiophile?

Sorry for the delay but I had to re-install my linux system from scratch...

Here is my test report:

Summary
=======

With this patch it is now possible to switch the Sample depth/rate  
modes without having to turn the device off and then on again.

However, it does not correct the corrupted initialization state that
occur when the device is turned on before the snd-usb-audio module is
initialized with a valid device_setup parameter (see below).

Tests
=====

A- This test shows that the module must still be correctly initialized  
  before turning on the device

* turn on the device with no specific snd-usb-audio parameters
(equivalent to device_setup = 0x00)
* the sound captured from the Analog interface is corrupted (as
described in https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1801)
* unregister the snd-usb-audio interface
* register the snd-usb-audio interface with device_setup=0x09
* the sound captured from the Analog interface is still corrupted
* turning the device off, then on again gets back to a working analog
capture interface

B- This test shows that once correctly initialized, it is now possible
to switch modes without having to turn off the device

* the device is turned on after having initialized the snd-usb-audio
driver with a valid device_setup parameter (for instance 24bits with
no digital Input)
    # modprobe -r snd-usb-audio
    # modprobe snd-usb-audio device_setup=0x09

==> arecord and aplay on the analog interface work fine in 24 bits mode.

* It is then possible to switch mode without having to turn off the
device. For instance swicthing from 24bits to 16 bits (without Digital
Input) with the following commands make the analog capture interface
work in 16bits mode.
    # modprobe -r snd-usb-audio
    # modprobe snd-usb-audio device_setup=0x01

==> arecord and aplay on the analog interface work fine in 16 bits mode.


Documentation
=============

As far as the documentation is concerned, shouldn't it be better to keep
an Audiophile-USB.txt file with only the following sentence: "Updated  
documentation on  this device can now be found in the M-Audio.txt  
file" ?

This could be useful for people finding references to the
Audiophile-USB.txt file in mailing-lists or forums or Alsa bug-tracker, ...

Regards,
Thibault



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux