Bug 1065097
Summary: | Sogatel USB speaker (C-Media) extremely noisy: usb_audio: Warning! Unlikely big volume range (=9472), cval->res is probably wrong | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Federico Leva <federicoleva> | ||||||||||||||||
Component: | alsa-lib | Assignee: | Jaroslav Kysela <jkysela> | ||||||||||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||
Priority: | unspecified | ||||||||||||||||||
Version: | 23 | CC: | james, jkysela, superquad.vortex2 | ||||||||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | 2016-12-20 12:45:13 UTC | Type: | Bug | ||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
Embargoed: | |||||||||||||||||||
Attachments: |
|
Description
Federico Leva
2014-02-13 22:47:27 UTC
Created attachment 863002 [details]
lsusb -v
Created attachment 863003 [details]
pactl list
Created attachment 863004 [details]
pacmd ls
Created attachment 863005 [details]
amixer -c0
Created attachment 863008 [details] pulseaudio -vvvvv I killed and restarted pulseaudio per https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems and fiddled a bit with audio volume, settings, audio tests in settings, finally detaching it because it's too loud; test audio is reproduced from the audio/video system settings but I could not get the applications to reproduce audio again though, the KDE mixer also thinks there's no audio device available. Will probably have to reboot I guess, as the first time I configured it. your alsa-info did not contain any info of your USB audio do you need to specify index for your USB audio and your two hda intel cards ? post the output of alsa-info.sh for your USB audio which contain min , Max , dbmin and dbmax of the volume controls of your USB audio D: [pulseaudio] alsa-mixer.c: Path analog-output (Uscita analogica), direction=1, priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=9472, min_dB=-37, max_dB=0 D: [pulseaudio] alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -37,00 dB to 0,00 dB. I: [pulseaudio] alsa-sink.c: Fixing base volume to 0,00 dB I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported. I: [pulseaudio] alsa-sink.c: Using hardware mute control. D: [pulseaudio] alsa-util.c: snd_pcm_dump(): D: [pulseaudio] alsa-util.c: Hardware PCM card 0 'Audio Advantage MicroII' device 0 subdevice 0 D: [pulseaudio] alsa-util.c: Its setup is: D: [pulseaudio] alsa-util.c: stream : PLAYBACK D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED D: [pulseaudio] alsa-util.c: format : S16_LE D: [pulseaudio] alsa-util.c: subformat : STD D: [pulseaudio] alsa-util.c: channels : 2 D: [pulseaudio] alsa-util.c: rate : 44100 D: [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1) D: [pulseaudio] alsa-util.c: msbits : 16 D: [pulseaudio] alsa-util.c: buffer_size : 88200 D: [pulseaudio] alsa-util.c: period_size : 44100 D: [pulseaudio] alsa-util.c: period_time : 1000000 D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE D: [pulseaudio] alsa-util.c: period_step : 1 D: [pulseaudio] alsa-util.c: avail_min : 87319 D: [pulseaudio] alsa-util.c: period_event : 0 D: [pulseaudio] alsa-util.c: start_threshold : -1 D: [pulseaudio] alsa-util.c: stop_threshold : 6206523236469964800 D: [pulseaudio] alsa-util.c: silence_threshold: 0 D: [pulseaudio] alsa-util.c: silence_size : 0 D: [pulseaudio] alsa-util.c: boundary : 6206523236469964800 D: [pulseaudio] alsa-util.c: appl_ptr : 0 D: [pulseaudio] alsa-util.c: hw_ptr : 0 D: [pulseaudio] alsa-sink.c: Read hardware volume: front-left: 40039 / 61% / -12,84 dB, front-right: 40039 / 61% / -12,84 dB Created attachment 863320 [details]
alsa-info
Sorry, this one should contain it.
USB Mixer: usb_id=0x0d8c0103, ctrlif=0, ctlerr=0 Card: C-Media INC. Audio Advantage MicroII at usb-0000:00:13.0-5, full speed Unit: 13 Control: name="Loudness", index=0 Info: id=13, control=10, cmask=0x0, channels=1, type="BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 Unit: 13 Control: name="PCM Playback Volume", index=0 Info: id=13, control=2, cmask=0x3, channels=2, type="S16" Volume: min=-9473, max=-1, dBmin=-3700, dBmax=0 what about the range bewteen 0% and 24% ? as min dB is -37dB D: [alsa-sink-USB Audio] alsa-sink.c: Read hardware volume: front-left: 15842 / 24% / -37,00 dB, front-right: 15842 / 24% / -37,00 dB I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.usb-C-Media_INC._USB_Sound_Device-00-MicroII.analog-stereo:analog-output. 9472 = 37 * 256 but is not a multiple three and you cannot use cval->res = 384 https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/usb/mixer.c?id=bc3a8a01def4fb0ec0ef8a20d097277b9c6b2a1f you have to find out the value of cval->res if you think the volume control cannot provide a resolution of 1/256 dB Thanks. I begin to understand. How would I change the value of cval->res for testing what's the best value and reporting back? as 37 is a prime number, this mean that the possible resolution can only be 1, 0.5, 0.25, ..... 1/128, 1/256 dB Simple mixer control 'PCM',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 9472 Mono: Front Left: Playback 6270 [66%] [-12.51dB] [on] Front Right: Playback 6270 [66%] [-12.51dB] [on] speaker-test -D hw:0,0 -c2 -t sine you can use amixer -c0 set value,value value from 9472 and decrease value until you notice the volume really changed by hearing or record using audacity and check the record signal drop visually I've not understood how to use amixer as you say, sorry (it asks some further parameters); but I opened alsamixer and changing values didn't affect anything initially, however after F6: Select sound card -> 2 Audio Advantage MicroII I could tweak volume again. The lowest volume at which I hear something is 2 %, PCM [dB gain: -35,46, -35,46], while I hear nothing at 1 %, PCM [dB gain: -36,25, -36,25]. That is, nothing but the loud buzz which is constant when powered up. Items S/PDIF and Loudness are muted (MM). Found it. The audio is enabled starting at value 256 (amixer -c 2 set PCM 256). http://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Decibel/ pulseaudio expect the volume really change by 1/256 dB per step but in practice the volume is only changed after you adjust the value for cval->res steps I've read that page once again, thank you very much for your heelp and patience, but I don't understand if there's anything concrete that I can/should still do here. Unless a configuration can fix this I'm going to return the speaker this week and I won't be able to test further. I've a USB speaker based on this chipset and see exactly the same error message. Using rawhide, but I can also test F19, F20, all with same symptoms. kernel-3.15.0-0.rc8.git1.2.fc21.x86_64 pulseaudio-5.0-4.fc21.x86_64 This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Yep, still happening in f21 (4.0.5-200.fc21.x86_64). This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Also in Fedora 23. [25860.677773] usb 1-1: Warning! Unlikely big volume range (=9472), cval->res is probably wrong. [25860.677776] usb 1-1: [13] FU [PCM Playback Volume] ch = 2, val = -9473/-1/1 [25860.678544] usbcore: registered new interface driver snd-usb-audio kernel-4.2.5-300.fc23.x86_64 alsa-lib-1.0.29-2.fc23.x86_64 pulseaudio-7.1-1.fc23.x86_64 This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |