Some time ago I bought the hardware volume knob in order to have better immediate control over the sound .
https://www.aliexpress.com/item/1005002 ... 4c4dHQvfGT
It works well without installing any driver. However it is bit annoying that it has too big step resolution even on the lowest sensitivity.
The device has a switch which allows to change the sensitivity (number of bars in the pulsemixer):
Low step : 5
Mid step : 10
High step: 25
If I open the pulsemixer and use arrows I can change the volume by one step at the time. With this hardware knob I can only increase/decrease by 5.
This 5 step is also achieved when I press the Volume +/- media buttons.
Is there a way to change the system settings to allow the hardware knob having the lower steps? Where should I start with this?
I use Debian 11.
Kind regards,
Zaxon
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Hardware volume knob - can the resolution be changed?
- sunrat
- Administrator
- Posts: 6494
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Hardware volume knob - can the resolution be changed?
Assuming this mimics the media buttons, I doubt you will be able to change it. A simple way to get more resolution from the knob would be to turn down the master output. Are these external speakers? You could just turn them down. Alternatively use alsamixer to turn down the computer's master output.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Hardware volume knob - can the resolution be changed?
The USB knob works on master output, but it only mimics the media buttons on the lowest step resolution. Somehow on the higher resolution it manages to do it in bigger steps at a time. The knob is used to regulate the master level and the output is either external speakers or Bluetooth transmitter (I have a switch to choose).
I used lsusb to get these details:
I used lsusb to get these details:
Code: Select all
Bus 001 Device 049: ID 0483:5750 STMicroelectronics LED badge -- mini LED display -- 11x44
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0483 STMicroelectronics
idProduct 0x5750 LED badge -- mini LED display -- 11x44
bcdDevice 2.00
iManufacturer 1 Vaydeer
iProduct 2 Vaydeer Multimedia Console
iSerial 3 4EB9336D5000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0029
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 102
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 5
- sunrat
- Administrator
- Posts: 6494
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Hardware volume knob - can the resolution be changed?
PulseAudio level or ALSA level? Do the faders in pavucontrol move when you turn the knob? ALSA is the lowest level system system audio whereas PulseAudio is a layer above that so technically only ALSA is the master level.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Hardware volume knob - can the resolution be changed?
For now I found such topic where they discuss how to capture raw hid data:
https://stackoverflow.com/questions/873 ... t-on-linux
I found that the resolution button just changes how many times the MEDIA VOLUME button is pressed (1,2,5).
https://stackoverflow.com/questions/873 ... t-on-linux
I found that the resolution button just changes how many times the MEDIA VOLUME button is pressed (1,2,5).
Code: Select all
user@trekstor:~$ sudo evtest /dev/input/event7 6c
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x483 product 0x5750 version 0x111
Input device name: "Vaydeer Vaydeer Multimedia Console Consumer Control"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 161 (KEY_EJECTCD)
Event code 163 (KEY_NEXTSONG)
Event code 164 (KEY_PLAYPAUSE)
Event code 165 (KEY_PREVIOUSSONG)
Event code 166 (KEY_STOPCD)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1630582964.182439, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1630582964.182439, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1
Event: time 1630582964.182439, -------------- SYN_REPORT ------------
Event: time 1630582964.194369, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1630582964.194369, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 0
Event: time 1630582964.194369, -------------- SYN_REPORT ------------