Skip to contentSkip to conversation

how to quirk max capture level?

DISCUSSION Alexey Fisher 2 participants 3 messages Jul 21, 2009

lore
Share & tools
lore
#0 lore raw

hallo all,
i have Logitech QuickCam E3500 ... with little issue. Setting capture volume to more then 94% will mute this device... no capture will be possible. This device has same issue with windows vista. So best way to handle it, is usbquirks.h , but i do not know any way to set max level.

amixer report this device like:
=========================================
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined Capture channels: Mono
Limits: Capture 0 - 3072
Mono: Capture 2950 [96%] [23.00dB] [on]
==========================================

here is alsa-info.sh output:
http://www.alsa-project.org/db/?f=ecd6ea8c7a37c7aa036c88026885f324ef2ab067

As you can see it report it's limits 0-3072 .. but real limit is 0-2943.

Please if any one has some idea, meail me.

Regards,
Alexey

#1 lore raw
Quoted 5 lines · Alexey Fisher

i have Logitech QuickCam E3500 ... with little issue. Setting capture volume to more then 94% will mute this device... no capture will be possible. This device has same issue with windows vista. So best way to handle it, is usbquirks.h , but i do not know any way to set max level.

There is no predefined quirk for this; we need to code a workaround in usbmixer.c.

Please show the output of "lsusb -v" for this device.

Best regards,
Clemens

#2 lore raw
Quoted 7 lines · Clemens Ladisch
Quoted 5 lines · Alexey Fisher

i have Logitech QuickCam E3500 ... with little issue. Setting capture volume to more then 94% will mute this device... no capture will be possible. This device has same issue with windows vista. So best way to handle it, is usbquirks.h , but i do not know any way to set max level.

Quoted 8 lines

There is no predefined quirk for this; we need to code a workaround in usbmixer.c.

Please show the output of "lsusb -v" for this device.

Best regards,
Clemens

Thank you,
i did some patch to work it around but found some other issues.. i will take closer look to it... all of my usb-sound work different on different usb-ports, but all other usb gadgets work with no difference on all ports.
one more question: should i get any sound on cval->min? seems like every manufacture think different about it.

Best regards,
Alexey