[Solved] Stretch: Suspend kills volume control

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[Solved] Stretch: Suspend kills volume control

Postby Dobeedoo » 2018-07-10 03:11

Hi,

Not sure if this is the right category, so please tell me if wrong.

After reinstalling (from scratch) my laptop into Stretch (9.4), my keyboard volume controls stop working after resume from suspend. This is really annoying. How can I start investigating the cause?

I have of course googled, but as not found any relevant solutions that works. Please help me start digging

DobeeDoo

Code: Select all
System:    Host: hostname Kernel: 4.9.0-6-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Gnome 3.22.3 (Gtk 3.22.11-1)
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: LENOVO product: 80WK v: Lenovo Y520-15IKBN
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN
           UEFI: LENOVO v: 4KCN30WW date: 08/31/2017
Battery    BAT0: charge: 45.2 Wh 99.1% condition: 45.6/45.0 Wh (101%)
           model: SANYO L14S3P24 status: N/A
CPU:       Quad core Intel Core i5-7300HQ (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19968
           clock speeds: max: 3500 MHz 1: 1064 MHz 2: 984 MHz 3: 1431 MHz
           4: 1059 MHz
Graphics:  Card-1: Intel Device 591b bus-ID: 00:02.0
           Card-2: NVIDIA Device 1c8d bus-ID: 01:00.0
           Display Server: X.Org 1.19.2 driver: N/A
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Kabylake GT2
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Audio:     Card Intel Device a171 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.9.0-6-amd64
Network:   Card-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 03:00.0
           IF: N/A state: N/A mac: N/A
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 04:00.0
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full
           Card-3: Atheros usb-ID: 001-005
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: NA (-)
           ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
Partition: ID-1: / size: 226G used: 13G (7%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 237M used: 39M (18%) fs: ext2 dev: /dev/nvme0n1p2
           ID-3: swap-1 size: 8.46GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 227 Uptime: 1 day Memory: 1880.0/7862.3MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (bash 4.4.121) inxi: 2.3.5
Last edited by Dobeedoo on 2018-07-12 05:59, edited 1 time in total.
Dobeedoo
 
Posts: 24
Joined: 2018-01-24 05:50

Re: Stretch: Suspend kills volume control

Postby Head_on_a_Stick » 2018-07-10 05:08

Do you have firmware-misc-nonfree installed?
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch: Suspend kills volume control

Postby Dobeedoo » 2018-07-10 13:08

Head_on_a_Stick wrote:Do you have firmware-misc-nonfree installed?

No, I did not have non-free enabled in sources. Would it do any good in this case?
Dobeedoo
 
Posts: 24
Joined: 2018-01-24 05:50

Re: Stretch: Suspend kills volume control

Postby Dobeedoo » 2018-07-10 15:12

installed it. no difference, still no volume control via keyboard...
Dobeedoo
 
Posts: 24
Joined: 2018-01-24 05:50

Re: Stretch: Suspend kills volume control

Postby Dobeedoo » 2018-07-11 04:42

Nothing less than a fresh reinstall got it to work again.

I'll keep a closer look on when (if) it stops working this time. Only sudo, thunderbird, terminator and google-chrome has been installed apart from base install (lightdm+gdm3, xfce4 & Gnome). So in my eyes a relatively clean install which should not break by itself, certainly not induced by using "systemctl suspend". Don't you agree?

btw, which package is responsible for the OSD volume pop-ups in Gnome?
Dobeedoo
 
Posts: 24
Joined: 2018-01-24 05:50

Re: [Solved] Stretch: Suspend kills volume control

Postby Dobeedoo » 2018-07-14 05:37

Turn out it was caused by the lib "libusb-1.0-0-dev". After installing it, multimedia-controls on my keyboard broke, uninstalling the lib again restored controls.
Dobeedoo
 
Posts: 24
Joined: 2018-01-24 05:50


Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable