Bug#1022939: linux-image-6.0.0-2-amd64: 6.0.0-2-amd64 regressions: Lenovo Carbon X1 gen7 can't suspend, sound card not instantiated

2022-11-02 Thread Akkana Peck
Diederik:

I haven't seen an updated kernel yet, but yesterday I noticed apt
had an update of firmware-intel-sound, along with a couple other
sound-related packages, so I tried booting into 6.0.0-2-amd64
and now both sound and suspend seem to be working.

I wonder if it was something like 6.0.0-2-amd64 changing something
in the way it deals with sound cards, but the corresponding firmware
update got delayed and didn't get uploaded at the same time.

Anyway, I think this is solved now (fingers crossed that it stays solved :-)



Bug#1022939: linux-image-6.0.0-2-amd64: 6.0.0-2-amd64 regressions: Lenovo Carbon X1 gen7 can't suspend, sound card not instantiated

2022-10-28 Thread Diederik de Haas
On Friday, 28 October 2022 18:58:12 CEST Akkana Peck wrote:
> That does sound like exactly the same sound issue. Sorry if this is a
> dumb question, but where would I find 6.0.5-1? I tried searching for
> linux-image-6.0.5, 6.0.5 and 6.0.5-1 in both unstable and experimental

It'll takes some time for it to become available for users.

First the upload needs to get accepted, then kernel are build and then a new 
upload happens for the signed variant and those need to be build and the final 
step is distributing it to the various Debian archive mirrors.
It's only after the last step that they'll be visible for apt.

It'll become available on unstable, you just need to have some patience :-)

signature.asc
Description: This is a digitally signed message part.


Bug#1022939: linux-image-6.0.0-2-amd64: 6.0.0-2-amd64 regressions: Lenovo Carbon X1 gen7 can't suspend, sound card not instantiated

2022-10-28 Thread Akkana Peck
Diederik de Haas writes:
> It's likely the 2nd issue is the same as https://bugs.debian.org/1022544 
> which 
> should be fixed in the just uploaded 6.0.5-1 version.
> Please test that version and tell us whether the 1st issue is resolved then 
> too or still present.

That does sound like exactly the same sound issue. Sorry if this is a
dumb question, but where would I find 6.0.5-1? I tried searching for
linux-image-6.0.5, 6.0.5 and 6.0.5-1 in both unstable and experimental
on https://www.debian.org/distrib/packages but got no hits, and I tried
clicking around https://ftp.debian.org/debian/ but didn't see anything
that looked likely.



Bug#1022939: linux-image-6.0.0-2-amd64: 6.0.0-2-amd64 regressions: Lenovo Carbon X1 gen7 can't suspend, sound card not instantiated

2022-10-28 Thread Diederik de Haas
On Friday, 28 October 2022 04:07:05 CEST Akkana Peck wrote:
> - systemctl suspend no longer works: instead of suspending, it freezes,
>   and I have to hold the power button for 10 seconds to force a power down
> - the laptop's built-in sound card (intel, using the firmware-intel-sound
>   package) is no longer seen. In dmesg there's a "failed to instantiate
>   card" error

It's likely the 2nd issue is the same as https://bugs.debian.org/1022544 which 
should be fixed in the just uploaded 6.0.5-1 version.
Please test that version and tell us whether the 1st issue is resolved then 
too or still present.

signature.asc
Description: This is a digitally signed message part.


Bug#1022939: linux-image-6.0.0-2-amd64: 6.0.0-2-amd64 regressions: Lenovo Carbon X1 gen7 can't suspend, sound card not instantiated

2022-10-27 Thread Akkana Peck
Package: src:linux
Version: 6.0.3-1
Severity: important
X-Debbugs-Cc: d...@shallowsky.com

Dear Maintainer,

As of a sid full-upgrade two days ago (Tue Oct 25), I'm seeing two
regressions on my Lenovo Carbon X1 gen7:

- systemctl suspend no longer works: instead of suspending, it freezes,
  and I have to hold the power button for 10 seconds to force a power down
- the laptop's built-in sound card (intel, using the firmware-intel-sound
  package) is no longer seen. In dmesg there's a "failed to instantiate
  card" error

Both of these were working fine as of a system update a day or two earlier.

The problem seem to be due to 6.0.0-2-amd64. If I reboot into my old
kernel, 6.0.0-1-amd64, the sound card is found and suspend works.

I hope it's not too presumptuous to put these both in the same error
report; they seem very different but they happened at the same time
and they're both cured by using the old kernel.

For the suspend problem, I'm not sure how to debug a freeze or what
additional info would be useful, but I'm happy to run any tests you suggest.

For the sound card problem, pacmd list-sinks prints what seems to be a
placeholder in the absence of finding an actual sound card (and the same
for list-sources, it doesn't see the mic either):

$ pacmd list-sinks
1 sink(s) available.
  * index: 0
name: 
driver: 
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% 
/ 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 375 KiB
max rewind: 375 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 11
properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"

Here's the same command under 6.0.0-1-amd64 (where sound works):

$ pacmd list-sinks
2 sink(s) available.
index: 0
name: 
driver: 
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% 
/ 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
module: 0
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = ""
alsa.id = "HDA Analog (*)"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "sof-hda-dsp"
alsa.long_card_name = "LENOVO-20QDCTO1WW-ThinkPadX1Carbon7th"
alsa.driver_name = "snd_soc_skl_hda_dsp"
device.bus_path = 
"pci-:00:1f.3-platform-skl_hda_dsp_generic"
sysfs.path = 
"/devices/pci:00/:00:1f.3/skl_hda_dsp_generic/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9dc8"
device.product.name = "Cannon Point-LP High Definition Audio 
Controller"
device.string = "hw:0,0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "16384"
device.access_mode = "mmap+timer"
device.description = "Cannon Point-LP High Definition Audio 
Controller"
device.icon_name = "audio-card-pci"
  * index: 1
name: 

driver: 
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
volume: front-left: 64155 /  98% / -0.55 dB,   front-right: 64155 /  
98% / -0.55 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB