Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-23 Thread Clemens Ladisch
Caelia Chapin wrote:
> On Thu, Feb 23, 2017 at 12:29 AM, Clemens Ladisch wrote:
> > $ aplay -Dplughw:MCX8000 pj.wav
> > Playing WAVE 'pj.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
> Stereo
> > aplay: set_params:1363: Unable to install hw params:
>
> Hmm.  Any error messages in the system log?
>
> Just this:
>
>   Feb 23 03:02:58 benizake kernel: usb 2-1.2.1: clock source 65 is not valid, 
> cannot use

So this is the only clock source that the device has, and it does not work.

This might be a bug in the firmware of your device (I guess the driver
shipped with it does not bother to ask for the clock source status, and so
this function was never tested).

Do you know how to recompile your kernel?


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-23 Thread Caelia Chapin
On Thu, Feb 23, 2017 at 5:14 AM, Clemens Ladisch  wrote:
>
>
> This might be a bug in the firmware of your device (I guess the driver
> shipped with it does not bother to ask for the clock source status, and so
> this function was never tested).
>
> Do you know how to recompile your kernel?


Yes, I've done it many times - though it has been a few years. What
specific customizations would you suggest?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-23 Thread Caelia Chapin
On Thu, Feb 23, 2017 at 12:29 AM, Clemens Ladisch 
wrote:


> > $ aplay -Dplughw:MCX8000 pj.wav
> > Playing WAVE 'pj.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
> > aplay: set_params:1363: Unable to install hw params:
>
> Hmm.  Any error messages in the system log?
>

Just this*:

  Feb 23 03:02:58 benizake kernel: usb 2-1.2.1: clock source 65 is not
valid, cannot use

* I think. I used to be pretty good at reading error logs, but have not
really mastered journalctl. However, I ran 'journalctl -f', and the above
was the only new message that appeared when I tried to play a WAV file.

Thanks,
Caelia
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-23 Thread Clemens Ladisch
Caelia Chapin wrote:
> On Thu, Feb 23, 2017 at 5:14 AM, Clemens Ladisch wrote:
> This might be a bug in the firmware of your device (I guess the driver
> shipped with it does not bother to ask for the clock source status, and so
> this function was never tested).
>
> Do you know how to recompile your kernel?
>
> Yes, I've done it many times - though it has been a few years. What specific 
> customizations would you suggest?

In sound/usb/clock.c, around line 192, try to remove this:

if (validate && !uac_clock_source_is_valid(chip, entity_id)) {
usb_audio_err(chip,
"clock source %d is not valid, cannot use\n",
entity_id);
return -ENXIO;
}


Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user