From: Alex Volkov <alex@bootes.sytes.net>
To: tom.ty89@gmail.com
Cc: alsa-devel@alsa-project.org, patch@alsa-project.org
Subject: Re: [PATCH] ALSA: usb-audio: ignore broken processing/extension unit
Date: Wed, 07 Oct 2020 18:35:42 +0500 [thread overview]
Message-ID: <7104424.S74eq5PtAd@bootes> (raw)
In-Reply-To: <5f3abc52.1c69fb81.9cf2.fe91@mx.google.com>
This patch breaks the creation of the "Clock rate Selector" mixer unit in E-MU
Tracker Pre USB audio interface. If the 'snd-usb-audio' module still has not
been loaded when the device gets switched on, the module autoloads and
everything works:
$ cat /proc/asound/USB/usbmixer
USB Mixer: usb_id=0x041e3f0a, ctrlif=0, ctlerr=0
Card: E-MU Systems, Inc. E-MU Tracker Pre | USB at usb-0000:00:14.0-13, high
speed
Unit: 4
Control: name="PCM Playback Volume", index=0
Info: id=4, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
Unit: 4
Control: name="PCM Playback Switch", index=0
Info: id=4, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 12
Control: name="Clock rate Selector", index=0
Info: id=12, control=3, cmask=0x0, channels=1, type="U8"
Volume: min=0, max=5, dBmin=0, dBmax=0
BUT! If the device gets switched off and back on when the module is still
loaded, the control never gets created:
(after I power cycled the device)
$ cat /proc/asound/USB/usbmixer
USB Mixer: usb_id=0x041e3f0a, ctrlif=0, ctlerr=0
Card: E-MU Systems, Inc. E-MU Tracker Pre | USB at usb-0000:00:14.0-13, high
speed
Unit: 4
Control: name="PCM Playback Volume", index=0
Info: id=4, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
Unit: 4
Control: name="PCM Playback Switch", index=0
Info: id=4, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Accordingly, the device stays at the default Clock rate with no way to change
it. Probably, there's some timing issue in the initialization of the device /
the loading of the module, but I honestly couldn't care less as long as this
patch breaks my setup.
next prev parent reply other threads:[~2020-10-07 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-17 17:20 [PATCH] ALSA: usb-audio: ignore broken processing/extension unit tom.ty89
2020-08-17 17:59 ` [ALSA patch] " Takashi Iwai
2020-10-07 13:35 ` Alex Volkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-16 21:28 tom.ty89
2020-08-13 12:12 tom.ty89
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7104424.S74eq5PtAd@bootes \
--to=alex@bootes.sytes.net \
--cc=alsa-devel@alsa-project.org \
--cc=patch@alsa-project.org \
--cc=tom.ty89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox