Bug 1070706 - usb_audio: Warning! Unlikely big volume range (=720), cval->res is probably wrong
Summary: usb_audio: Warning! Unlikely big volume range (=720), cval->res is probably w...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-27 12:03 UTC by Netbulae
Modified: 2015-06-29 19:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 19:08:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pactl.list (34.24 KB, text/plain)
2014-02-27 12:20 UTC, Netbulae
no flags Details
pulseaudio verbose log (2.42 KB, text/x-log)
2014-02-27 12:21 UTC, Netbulae
no flags Details

Description Netbulae 2014-02-27 12:03:17 UTC
Description of problem:

Sound is muted from Plantronics Bluetooth mic/speaker

[22565.276064] hid-generic 0003:047F:0417.0004: hiddev0,hidraw3: USB HID v1.11 Device [Plantronics Plantronics BT300C] on usb-0000:00:1d.0-1.1/input3
[22565.311430] input: Plantronics Plantronics BT300C as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.4/input/input21
[22565.312232] hid-generic 0003:047F:0417.0005: input,hidraw4: USB HID v1.11 Device [Plantronics Plantronics BT300C] on usb-0000:00:1d.0-1.1/input4
[22566.404294] ALSA sound/usb/mixer.c:1303 usb_audio: Warning! Unlikely big volume range (=720), cval->res is probably wrong.
[22566.404304] ALSA sound/usb/mixer.c:1307 usb_audio: [5] FU [PCM Playback Volume] ch = 1, val = -10240/1280/16
[22566.406770] usbcore: registered new interface driver snd-usb-audio

Version-Release number of selected component (if applicable):
alsa-lib-1.0.27.2-2.fc20.x86_64

How reproducible:
Always

Additional info:

I think it should require the same kind of patch as has been submitted here:

http://ubuntu.5.x6.nabble.com/3-5-y-z-extended-stable-Patch-quot-ALSA-usb-audio-Fix-invalid-volume-resolution-on-Logitech-quot-hase-td5028845.html

Comment 1 Netbulae 2014-02-27 12:20:32 UTC
Created attachment 868501 [details]
pactl.list

output of "pactl list"

Comment 2 Netbulae 2014-02-27 12:21:00 UTC
Created attachment 868502 [details]
pulseaudio verbose log

Comment 3 Jacek Pliszka 2015-02-24 13:52:34 UTC
I might have the same bug.  

Plantronics C320-M - worked fine until some days ago.
Does not work with 3.18.7-200.fc21.x86_64

I can hear no sound through the device - micriphone is working fine.

kernel: usb 1-2: new full-speed USB device number 3 using xhci_hcd
kernel: usb 1-2: New USB device found, idVendor=047f, idProduct=c025
kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-2: Product: Plantronics C320-M
kernel: usb 1-2: Manufacturer: Plantronics
kernel: usb 1-2: SerialNumber: 9458326888820E4E9332125D283F6464
kernel: usb 1-2: Warning! Unlikely big volume range (=8192), cval->res is probably wrong.
kernel: usb 1-2: [11] FU [Sidetone Playback Volume] ch = 1, val = 0/8192/1
kernel: input: Plantronics Plantronics C320-M as /devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb1/1-2/1-2:1.3/0003:047F:C025.0004/input/input26
kernel: hid-generic 0003:047F:C025.0004: input,hiddev0,hidraw1: USB HID v1.11 Device [Plantronics Plantronics C320-M] on usb-0000:05:00.0-2/input3
mtp-probe[3081]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb1/1-2"
mtp-probe[3081]: bus: 1, device: 3 was not an MTP device
gdm-Xorg-:0[1471]: (II) config/udev: Adding input device Plantronics Plantronics C320-M (/dev/input/event18)
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: Applying InputClass "evdev keyboard catchall"
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: Applying InputClass "system-keyboard"
gdm-Xorg-:0[1471]: (II) Using input driver 'evdev' for 'Plantronics Plantronics C320-M'
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: always reports core events
gdm-Xorg-:0[1471]: (**) evdev: Plantronics Plantronics C320-M: Device: "/dev/input/event18"
gdm-Xorg-:0[1471]: (--) evdev: Plantronics Plantronics C320-M: Vendor 0x47f Product 0xc025
gdm-Xorg-:0[1471]: (--) evdev: Plantronics Plantronics C320-M: Found 12 mouse buttons
gdm-Xorg-:0[1471]: (--) evdev: Plantronics Plantronics C320-M: Found absolute axes
gdm-Xorg-:0[1471]: (--) evdev: Plantronics Plantronics C320-M: Found absolute multitouch axes
gdm-Xorg-:0[1471]: (--) evdev: Plantronics Plantronics C320-M: Found keys
gdm-Xorg-:0[1471]: (II) evdev: Plantronics Plantronics C320-M: Forcing relative x/y axes to exist.
gdm-Xorg-:0[1471]: (II) evdev: Plantronics Plantronics C320-M: Configuring as mouse
gdm-Xorg-:0[1471]: (II) evdev: Plantronics Plantronics C320-M: Configuring as keyboard
gdm-Xorg-:0[1471]: (**) evdev: Plantronics Plantronics C320-M: YAxisMapping: buttons 4 and 5
gdm-Xorg-:0[1471]: (**) evdev: Plantronics Plantronics C320-M: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
gdm-Xorg-:0[1471]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb1/1-2/1-2:1.3/0003:047F:C025.0004/input/input26/event18"
gdm-Xorg-:0[1471]: (II) XINPUT: Adding extended input device "Plantronics Plantronics C320-M" (type: KEYBOARD, id 14)
gdm-Xorg-:0[1471]: (**) Option "xkb_rules" "evdev"
gdm-Xorg-:0[1471]: (**) Option "xkb_model" "pc104"
gdm-Xorg-:0[1471]: (**) Option "xkb_layout" "pl"
gdm-Xorg-:0[1471]: (EE) BUG: triggered 'if (axnum >= dev->valuator->numAxes)'
gdm-Xorg-:0[1471]: (EE) BUG: exevents.c:2086 in InitValuatorAxisStruct()
gdm-Xorg-:0[1471]: (EE)
gdm-Xorg-:0[1471]: (EE) Backtrace:
gdm-Xorg-:0[1471]: (EE) 0: /usr/libexec/Xorg.bin (InitValuatorAxisStruct+0x67) [0x527767]
gdm-Xorg-:0[1471]: (EE) 1: /usr/lib64/xorg/modules/input/evdev_drv.so (_init+0x1ee0) [0x7f0b6c3427b0]
gdm-Xorg-:0[1471]: (EE) 2: /usr/lib64/xorg/modules/input/evdev_drv.so (_init+0x237e) [0x7f0b6c34373e]
gdm-Xorg-:0[1471]: (EE) 3: /usr/lib64/xorg/modules/input/evdev_drv.so (_init+0x4000) [0x7f0b6c346cb0]
gdm-Xorg-:0[1471]: (EE) 4: /usr/libexec/Xorg.bin (ActivateDevice+0x4a) [0x42e13a]
gdm-Xorg-:0[1471]: (EE) 5: /usr/libexec/Xorg.bin (xf86DeleteInput+0x359) [0x4867d9]
gdm-Xorg-:0[1471]: (EE) 6: /usr/libexec/Xorg.bin (config_fini+0x12cb) [0x49e0cb]
gdm-Xorg-:0[1471]: (EE) 7: /usr/libexec/Xorg.bin (config_fini+0x1688) [0x49ef38]
gdm-Xorg-:0[1471]: (EE) 8: /usr/libexec/Xorg.bin (WakeupHandler+0x6b) [0x43de1b]
gdm-Xorg-:0[1471]: (EE) 9: /usr/libexec/Xorg.bin (WaitForSomething+0x1c7) [0x595917]
gdm-Xorg-:0[1471]: (EE) 10: /usr/libexec/Xorg.bin (SendErrorToClient+0x111) [0x438fd1]
gdm-Xorg-:0[1471]: (EE) 11: /usr/libexec/Xorg.bin (remove_fs_handlers+0x416) [0x43d316]
gdm-Xorg-:0[1471]: (EE) 12: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f0b73d62fe0]
gdm-Xorg-:0[1471]: (EE) 13: /usr/libexec/Xorg.bin (_start+0x29) [0x4276ee]
gdm-Xorg-:0[1471]: (EE) 14: ? (?+0x29) [0x29]
gdm-Xorg-:0[1471]: (EE)
gdm-Xorg-:0[1471]: (II) evdev: Plantronics Plantronics C320-M: initialized for absolute axes.
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: (accel) keeping acceleration scheme 1
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: (accel) acceleration profile 0
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: (accel) acceleration factor: 2.000
gdm-Xorg-:0[1471]: (**) Plantronics Plantronics C320-M: (accel) acceleration threshold: 4
rtkit-daemon[891]: Supervising 4 threads of 1 processes of 1 users.
rtkit-daemon[891]: Successfully made thread 3105 of process 1673 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
rtkit-daemon[891]: Supervising 5 threads of 1 processes of 1 users.
rtkit-daemon[891]: Supervising 5 threads of 1 processes of 1 users.
rtkit-daemon[891]: Successfully made thread 3108 of process 1673 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
rtkit-daemon[891]: Supervising 6 threads of 1 processes of 1 users.
pulseaudio[1673]: ALSA woke us up to write new data to the device, but there was actually nothing to write!
pulseaudio[1673]: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
pulseaudio[1673]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Comment 4 Raymond 2015-02-24 16:17:45 UTC
USB Mixer: usb_id=0x047f0415, ctrlif=0, ctlerr=0
Card: Plantronics Plantronics BT300 at usb-0000:00:1a.0-1.5, full speed
  Unit: 2
    Control: name="Mic Capture Volume", index=0
    Info: id=2, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=4096, max=7936, dBmin=1600, dBmax=3100
  Unit: 2
    Control: name="Mic Capture Switch", index=0
    Info: id=2, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 5
    Control: name="PCM Playback Volume", index=0
    Info: id=5, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=-10240, max=1280, dBmin=-4000, dBmax=500


(dBmax - dBmin)/(max - min) is too small, you need to increase cval->res which reduce the number of step between min and max

Comment 5 Fedora End Of Life 2015-05-29 11:04:50 UTC
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.

Comment 6 Fedora End Of Life 2015-06-29 19:08:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.