[Bug 1958019] Re: [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No sound at all

2024-05-18 Thread Bug Watch Updater
** Bug watch added: bugzilla.suse.com/ #1223462
   https://bugzilla.suse.com/show_bug.cgi?id=1223462

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-18 Thread dober
Created attachment 306307
attachment-8402-0.html

I am currently out of the office on holiday I will be returning on
Tuesday May 28th, I will not be checking email.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-18 Thread dreamsyntax
Related:
https://bugzilla.suse.com/show_bug.cgi?id=1223462
https://github.com/torvalds/linux/commit/39815cdfc8d46ce2c72cbf2aa3d991c4bfb0024f
 

Now with Kernel 6.9.0 the issue should be fixed for devices with Cirrus.

Unfortunately for me on TI TAS2781 kernel 6.9.0 and 6.9.1 still have the
same behavior as all kernels after 6.7.9. (Lenovo Legion Pro 7i Gen 8
2023)

The `./tas2781-2dev-on.sh 2` has been my workaround, having to run it
usually every time media stops outputting to the audio out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-04 Thread pierrox
(In reply to Markus from comment #881)
> I tested this script on my Lenovo Legion S7 16IAH7 with a fresh installation
> of Fedora Linux 40 with Kernel 6.8.8-300.fc40.x86_64. After installing
> i2c-tools the script return a lot of "Error: Write failed" errors. Pipewire
> version is:
> Compiled with libpipewire 1.0.5
> Linked with libpipewire 1.0.5
> 
> Regards

https://patchwork.kernel.org/project/alsa-devel/list/?submitter=212831

Please try this patchset, that works for Lenovo Legion S7 16IAH7. I got sound 
myself for the first time a couple of days ago with it (tested on  6.8.7). 
although the volume is quite low (I cannot compare with windows, never ran it), 
it seems to work flawlessly.
The missing part is really tiny, maybe this will land in mainline soon.

Regards.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-04 Thread bugzilla.kernel
I tested this script on my Lenovo Legion S7 16IAH7 with a fresh installation of 
Fedora Linux 40 with Kernel 6.8.8-300.fc40.x86_64. After installing i2c-tools 
the script return a lot of "Error: Write failed" errors. Pipewire version is:
Compiled with libpipewire 1.0.5
Linked with libpipewire 1.0.5

Regards

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-04 Thread cam
(In reply to Markus from comment #881)
> I tested this script on my Lenovo Legion S7 16IAH7 with a fresh installation
> of Fedora Linux 40 with Kernel 6.8.8-300.fc40.x86_64. After installing
> i2c-tools the script return a lot of "Error: Write failed" errors. Pipewire
> version is:
> Compiled with libpipewire 1.0.5
> Linked with libpipewire 1.0.5
> 
> Regards

That script is for TI 2781 smart samps. The 16IAH7 has Cirrus logic, so
the script definitely won't work there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-05-01 Thread dreamsyntax
After continued use of 6.8.7 and later 6.8.8, I can confirm using the
`./tas2781-2dev-on.sh 2` in my case as root regularly whenever audio goes out 
works fine.

What needs to happen at the kernel level / in a patch to resolve this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-27 Thread blake99lee
(In reply to Cameron Berkenpas from comment #749)
> See https://bugzilla.kernel.org/show_bug.cgi?id=216194 for a new patch.
> Currently the latest is  lenovo-7i-gen7-sound-6.2.0-rc3-0.0.5b-002.patch
> 
> This latest patch theoretically has support for Blake Lee's machine.
> 
> A new revision of the 16IAX7.
> 
> oppsig's Yoga Slim 7 Carbon 14ACN6
> 
> Pierre Hébert,
> 
> I missed that you were getting this error previous: "Serial bus multi
> instantiate pseudo device driver CSC3551:00: error -ENOENT: Error requesting
> irq at index 0"
> 
> That is indeed occurring before any of my code. Some hopefully good news is
> that this is a Cirrus Logic issue that they might fix if you can report it
> to them. Once fixed, you'd probably still need a patch such as mine to get
> you over the finish line.
> 
> PLEASE READ MY COMMENT HERE AS THIS PATCH IS USE AT-YOUR-OWN-RISK:
> https://bugzilla.kernel.org/show_bug.cgi?id=216194#c66
> 
> From here on out, I will direct people to bug
> https://bugzilla.kernel.org/show_bug.cgi?id=216194 as there's far too many
> posts in this thread and it's made things difficult to keep track of.

Hey all, I'm on the Lenovo Legion Slim 7 Gen 7 AMD version from 2022,
and all of a sudden, after upgrading my Fedora install to
6.8.6-200.fc39.x86_64 my audio works! Not sure what happened on that
front, but figured I'd stop back in and update.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-27 Thread cam
In my case, there seems to be an issue with pipewire using too many file 
descriptors:
systemctl status --user pipewire
● pipewire.service - PipeWire Multimedia Service
 Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: 
enabled)
 Active: active (running) since Fri 2024-04-26 07:53:43 PDT; 11h ago
TriggeredBy: ● pipewire.socket
   Main PID: 3468 (pipewire)
  Tasks: 3 (limit: 38161)
 Memory: 12.6M
CPU: 38.400s
 CGroup: 
/user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
 └─3468 /usr/bin/pipewire

Apr 26 18:53:58 hostname pipewire[3468]: mod.client-node: 0x60925302fed0: error 
seq:13 -9 (set_activation: Bad file descriptor)
Apr 26 18:53:58 hostname pipewire[3468]: pw.core: 0x609252c77940: error -9 for 
resource 2: node_set_io failed: Bad file descriptor
Apr 26 18:53:58 hostname pipewire[3468]: mod.client-node: 0x60925302fed0: error 
seq:14 -9 (node_set_io failed: Bad file descriptor)
Apr 26 18:53:58 hostname pipewire[3468]: mod.protocol-native: connection 
0x609252e5f710: can't DUP fd:1021 Too many open files
Apr 26 18:53:58 hostname pipewire[3468]: mod.protocol-native: connection 
0x609252e5f710: can't DUP fd:1020 Too many open files
Apr 26 18:53:58 hostname pipewire[3468]: pw.core: 0x609252c77940: error -9 for 
resource 2: set_activation: Bad file descriptor
Apr 26 18:53:58 hostname pipewire[3468]: mod.client-node: 0x609252d7cdf0: error 
seq:23 -9 (set_activation: Bad file descriptor)
Apr 26 18:54:06 hostname pipewire[3468]: mod.protocol-native: connection 
0x609252e5f710: can't DUP fd:579 Too many open files
Apr 26 18:58:00 hostname pipewire[3468]: mod.client-node: 0x609252fc1b70: 
unknown peer 0x609252fc2050 fd:98
Apr 26 18:58:15 hostname pipewire[3468]: mod.protocol-native: 0x609252c9c030: 
connection_data: client 0x609252fc29c0 error -71 (Protocol error)

I was able to get my sound working by logging out and back in.

After I got it working, I ran this:
lsof -p3468 | wc -l
1013

I wonder if it was around 1024 before I logged out..?

The open file limit for the process is: 1024

This explains why "killall pipewire-pulse" would get my sound working
again for a single application... It was freeing up one file descriptor.

Is this a pipewire bug, a tas2781 driver bug, or a bit of both? I think
if this were a general pipewire issue, we'd be hearing a lot more
complaints...

After logging in, I tried this:
systemctl restart --user pipewire

This resulted in a new pipewire process and only 25 open file
descriptors. Wonder if this would have fixed the issue without logging
out? Something else to try next time.

Next time this happens, I'll see if I can figure what all the file
descriptors are for.

For others having this or similar trouble, see if you're having similar
issues with pipewire (or perhaps even pulse) and file descriptors.

/var/log/syslog is another valid place to check for these messages (at
least on Ubuntu).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-26 Thread dober
Created attachment 306214
attachment-10825-0.html

I am currently out of the office on holiday I will be returning on
Tuesday April 30th, I will not be checking email.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-26 Thread dreamsyntax
> Kindly follow Comment 872 to force tas2781 to work

I had been using 6.7.9 for the last week with no issues.
I upgrade to 6.8.7, and within 3 minutes audio broken.

I save your script and run it
-- su root
-- ./tas2781-2dev-on.sh

Sound works again, however:
- sound is notably louder compared to 6.7.9
- right inside / right speaker? (not sure if there's 1 or 2) is louder than on 
6.8.7 with your script.

After a few minutes, once again audio will break again, until I re-run your 
script.
Interestingly, after second run of script the audio balance is fixed. Both 
left/right speakers sound correct instead of being right-side balanced.

Unfortunately, breaks soon after.

For me audio never lasts more than ~3min.

I also notice that the audio levels will oscillate occasionally on 6.8.x
kernels, where this does not occur on 6.7.9.

If there is anything more I can do to help, please advise. I can try any
combination of kernel/patches if needed. I just want to resolve this
issue without beings stuck on 6.7.9 kernel.

Again for my posts, model is:
Lenovo Legion Pro 7i (Gen 8, 2023) - and alsamixer shows ALC287 under system 
info.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-25 Thread cam
Created attachment 306213
kernel-mute.log

(In reply to Tintin from comment #874)
> # . tas2781-2dev-on.sh 2

Sorry if this is a bit long, but trying to include info to help debug
the issue.

Well, it has finally happened again... It seems like the script hasn't
really helped... But I'll have to try it again next time this happens to
determine what, if any, role it had. So far it looks like it hasn't
helped.

I was able to get my sound working by running this: "killall pipewire-
pulse" and quitting/killing audacious (audacious usually but not always
hangs when this starts happening), and quitting firefox, thought not
necessarily in that order?

But even that isn't enough to completely fix it. Likely, it would come
back as soon as I start playing audio from more than one application at
a time.

When playing audio from another application, it would work for a few
seconds, and then one of the applications would stop working. Almost
like the audio device had become usable by one application at a time
(like in the early ALSA days prior to pulseaudio becoming common). And
probably if I stopped the other application, it usually wouldn't stop
working again until repeating the above steps.

But playing with it some more (with both quitting applications, killing
pipewire-pulse over and over), I was eventually able to get audio to
consistently work again (ie, normally) for about the last 30 minutes or
so.

I tried logging out and back at one point... That didn't seem to fix it
either. It wasn't until several (or a bunch more) killing pipewire-
pulse, restarting firefox and audacious a few times (I could try other
software too!) that it started working again.

I'm leaning toward this being a pipewire-pulse issue at this point...
but it's possible that there's a driver issue that causes pipewise-pulse
becoming wedged, and that running tas2781-2dev-on.sh and killing
pipewise-pulse I'm eventually able to get things into a good state.

If this happens again, I will conduct more testing... And I say if,
because I think Ubuntu 24.04 is out today, and if it is... I will likely
upgrade. If this is a software issue, good chance 24.04 won't have this
problem. I'll report back with my results either way.

Anyone else tried killing pipewire-pulse when having issues?

I didn't see any sort of run away processes, I simply did "ps paux |
grep pulse" and that was the only process that showed up so I tried
killing it. It was just a guess from remembering all the early
pulseaudio issues from over a decade ago. :D

Here's my info for convenience:
Kernel 6.8.7
Kubuntu 23.10
Running with KDE+Wayland

My pipewire-pulse info:

apt policy pipewire-pulse 
pipewire-pulse:
  Installed: 0.3.79-2
  Candidate: 0.3.79-2
  Version table:
 *** 0.3.79-2 500
500 http://us.archive.ubuntu.com/ubuntu mantic/main amd64 Packages
100 /var/lib/dpkg/status

I didn't have this problem with the older kernel 6.7.x series, but maybe
there was a pipewire-pulse update that happened? Or and update to a
package it depends on?

Finally, I've attached the requested dmesg output. My audio problems
started after 10:30 (maybe around 10:40-ish?) and my audio had been
completely working for around 15 minutes as of the time I'd captured
that dmesg output. Seems like nothing really relevant, but maybe there's
something helpful?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-23 Thread shenghao-ding
# . tas2781-2dev-on.sh 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-23 Thread shenghao-ding
Save following as tas2781-2dev-on.sh
run ". tas2781-2dev-on.sh" in root mode during no sound, and check whether to 
work?
Start###
#!/bin/sh
# echo Turn on log!
# set -x
clear
function clear_stdin()
(
old_tty_settings=`stty -g`
stty -icanon min 0 time 0

while read none; do :; done

stty "$old_tty_settings"
)

if [ $# -ne 1 ];
then
echo Kindly specify the i2c bus number. The default i2c bus number is 3.
echo Command as following:
echo $0 i2c-bus-number
i2c_bus=3
else
i2c_bus=$1
fi

echo i2c bus is $i2c_bus
i2c_addr=(0x3f 0x38)

count=0
for value in ${i2c_addr[@]};
do
val=$((${count} % 2))
i2cset -f -y $i2c_bus $value 0x00 0x00
i2cset -f -y $i2c_bus $value 0x7f 0x00
i2cset -f -y $i2c_bus $value 0x01 0x01
i2cset -f -y $i2c_bus $value 0x0e 0xc4
i2cset -f -y $i2c_bus $value 0x0f 0x40
i2cset -f -y $i2c_bus $value 0x5c 0xd9
i2cset -f -y $i2c_bus $value 0x60 0x10
if [ $val -eq 0 ];
then
i2cset -f -y $i2c_bus $value 0x0a 0x1e
else
i2cset -f -y $i2c_bus $value 0x0a 0x2e
fi
i2cset -f -y $i2c_bus $value 0x0d 0x01
i2cset -f -y $i2c_bus $value 0x16 0x40
i2cset -f -y $i2c_bus $value 0x00 0x01
i2cset -f -y $i2c_bus $value 0x17 0xc8
i2cset -f -y $i2c_bus $value 0x00 0x04
i2cset -f -y $i2c_bus $value 0x30 0x00
i2cset -f -y $i2c_bus $value 0x31 0x00
i2cset -f -y $i2c_bus $value 0x32 0x00
i2cset -f -y $i2c_bus $value 0x33 0x01

i2cset -f -y $i2c_bus $value 0x00 0x08
i2cset -f -y $i2c_bus $value 0x18 0x00
i2cset -f -y $i2c_bus $value 0x19 0x00
i2cset -f -y $i2c_bus $value 0x1a 0x00
i2cset -f -y $i2c_bus $value 0x1b 0x00
i2cset -f -y $i2c_bus $value 0x28 0x40
i2cset -f -y $i2c_bus $value 0x29 0x00
i2cset -f -y $i2c_bus $value 0x2a 0x00
i2cset -f -y $i2c_bus $value 0x2b 0x00

i2cset -f -y $i2c_bus $value 0x00 0x0a
i2cset -f -y $i2c_bus $value 0x48 0x00
i2cset -f -y $i2c_bus $value 0x49 0x00
i2cset -f -y $i2c_bus $value 0x4a 0x00
i2cset -f -y $i2c_bus $value 0x4b 0x00
i2cset -f -y $i2c_bus $value 0x58 0x40
i2cset -f -y $i2c_bus $value 0x59 0x00
i2cset -f -y $i2c_bus $value 0x5a 0x00
i2cset -f -y $i2c_bus $value 0x5b 0x00

i2cset -f -y $i2c_bus $value 0x00 0x00
i2cset -f -y $i2c_bus $value 0x02 0x00
count=$((${count} + 1))
done;
clear_stdin
End###

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-23 Thread shenghao-ding
(In reply to dreamsyntax from comment #867)
> While audio working, and content is playing (actively outputting to device)
> Output is different:
> i2cset -y 2 0x38 0x00 0x00
> i2cset -y 2 0x38 0x7f 0x00
> i2cdump -y 2 0x38
> No size specified (using byte-data access)
>  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f0123456789abcdef
> 00: 00 00 00 28 21 41 00 20 09 02 2a 28 10 93 02 00...(!A. ??*(???.
> 10: 84 00 00 08 0a 00 44 80 00 8d 00 62 36 40 00 01?..??.D?.?.b6@.?
> 20: 2e 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00.?..
> 30: 00 00 00 00 06 bd ad a8 00 00 00 fc bb dd ff ff...???..
> 40: f6 14 00 02 19 00 00 00 00 04 02 19 80 00 5c 00??.??.\.
> 50: 00 06 a3 3c 85 08 81 da 87 84 00 97 d9 81 01 00.?? 60: 21 08 3c 48 84 88 b2 00 04 09 12 63 00 1a 03 00!? 70: 96 02 00 08 00 e0 00 00 0f 00 20 00 a0 00 25 00??.?.?..?. .?.%.
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Kindly follow Comment 872 to force tas2781 to work

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-23 Thread cam
(In reply to Tintin from comment #869)
> kindly run 
> #i2cdetect -r 2
> and run following command during no sound issue 
> dmesg -c > kernel-mute.log

Forgot to get the dmesg even though I did look at the dmesg output
(*facepalm*). There are no messages related to this in dmesg when this
occurs. But next time it happens, I'll get this to you to be thorough
and Just In Case.

i2cdetect -r 2
# When it's working:
i2cdetect -y -r 2
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- 3f
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

# When it's not working:
i2cdetect -y -r 2
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- 3f
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

I tried on i2cbus 0 and 1, no changes there either.

This time I finally remembered to try hibernating (suspend to disk).
Resuming didn't fix the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-22 Thread cam
To confirm... You want my dmesg output when there's no issue, but you 
want me to clear it after reading it?

On 4/22/24 03:23, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> Tintin (shenghao-d...@ti.com) changed:
>
> What|Removed |Added
> 
>   CC||shenghao-d...@ti.com
>
> --- Comment #869 from Tintin (shenghao-d...@ti.com) ---
> kindly run
> #i2cdetect -r 2
> and run following command during no sound issue
> dmesg -c > kernel-mute.log
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-22 Thread shenghao-ding
kindly run 
#i2cdetect -r 2
and run following command during no sound issue 
dmesg -c > kernel-mute.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-20 Thread cam
Unfortunately, my sound finally did fail again... But the symptoms seem
different. Audacious just hangs for a while before ultimately giving up
(and it stops hanging and stops trying to play).

But this is a new type of failure so perhaps this patch did make a bit of a 
difference?
https://bugzilla.kernel.org/show_bug.cgi?id=208555#c863

But this happened immediately after resuming from suspend. My laptop
went to sleep with mute enabled, I started playing sound after resuming,
noticed I was muted, and resumed... And sound was no longer working.

Could bec7760a6c5fa59593dac264fa0c628e46815986 be the issue?

This did not fixed my count:
amixer -c 0 cset numid=3,name='Speaker Force Firmware Load' 1

(-c 1 is incorrect for my laptop.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-19 Thread soyer
> I never re-ran the above command.

The alsactl restores all audo controls after boot, including this one.

> Unfortunately, the result of the below command are as follows once audio
> breaks:

Please try 0x38 instead of 0x70, and if still not found, try 0,1,2,4
instead of bus 3.

If you still not found, please send your acpidump output.

> For testing purposes, if I want to enable/disable your workaround
solution, would changing the 1 at the end to 0 be sufficient?

Yes, setting it to 0 disables always reloading.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-19 Thread dreamsyntax
While audio working, and content is playing (actively outputting to device)
Output is different:
i2cset -y 2 0x38 0x00 0x00
i2cset -y 2 0x38 0x7f 0x00
i2cdump -y 2 0x38
No size specified (using byte-data access)
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f0123456789abcdef
00: 00 00 00 28 21 41 00 20 09 02 2a 28 10 93 02 00...(!A. ??*(???.
10: 84 00 00 08 0a 00 44 80 00 8d 00 62 36 40 00 01?..??.D?.?.b6@.?
20: 2e 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00.?..
30: 00 00 00 00 06 bd ad a8 00 00 00 fc bb dd ff ff...???..
40: f6 14 00 02 19 00 00 00 00 04 02 19 80 00 5c 00??.??.\.
50: 00 06 a3 3c 85 08 81 da 87 84 00 97 d9 81 01 00.??https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-19 Thread dreamsyntax
(In reply to Gergo K from comment #865)
> Please try 0x38 instead of 0x70, and if still not found, try 0,1,2,4 instead
> of bus 3.
>
> If you still not found, please send your acpidump output.

# i2cset -y 1 0x38 0x7f 0x00
Error: Write failed
# i2cset -y 2 0x38 0x7f 0x00
# i2cset -y 2 0x38 0x00 0x00
# i2cset -y 2 0x38 0x7f 0x00
# i2cdump -y 2 0x38
No size specified (using byte-data access)
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f0123456789abcdef
00: 00 00 02 28 21 41 00 20 09 02 2a 28 10 93 02 00..?(!A. ??*(???.
10: 84 00 00 08 0a 00 44 80 00 8d 00 62 36 40 00 01?..??.D?.?.b6@.?
20: 2e 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00.?..
30: 00 00 00 00 06 bd ad a8 00 00 00 fc bb dd ff ff...???..
40: f6 14 00 00 80 80 00 00 00 00 02 99 80 00 1c 00??..?????.?.
50: 00 00 a2 78 85 13 78 ff c7 c8 40 88 d9 81 00 00..?x??x.??@???..
60: 21 08 3c 48 84 88 b2 00 04 09 12 7b 00 1a 03 00!?https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-18 Thread dreamsyntax
A few things since I last posted:

After having done the below command...
`amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1`
Every subsequent reboot the audio never broke. I had multiple 2+ hour
sessions with no issue.
I never re-ran the above command.
Adjusting the volume would have a noticeable 'delay' (around 0.5
seconds to 3 seconds) before the audio mixer related GUI would
respond.

As a test I did a fresh install of endeavour-os (on kernel 6.8.7) and
sure enough, the issue is back and I can break the audio in less than
5 minutes of use.

> It would help if someone dumps the registers as root, when the amplifiers are
not working

Unfortunately, the result of the below command are as follows once audio breaks:
$ su root
# rmmod snd_hda_scodec_tas2781_i2c
# i2cset -y 3 0x70 0x00 0x00
Error: Write failed
# i2cset -y 3 0x70 0x00 0x00
Error: Write failed
# i2cset -y 3 0x70 0x7f 0x00
Error: Write failed
# i2cdump -y 3 0x70
No size specified (using byte-data access)
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX

After modprobe snd_hda_scodec_tas2781_i2c is run, audio actually works
again, for a few minutes.

I will note I get the same result above even if I do it while audio
works, so if I'm doing something wrong please let me know.


For testing purposes, if I want to enable/disable your workaround
solution, would changing the 1 at the end to 0 be sufficient?
`amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1` ->
`amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 0`

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-18 Thread soyer
Hi,

> there are a lot of entries, what exactly am I looking for?

Find the card with 'Speaker Force Firmware Load' control, then change
the -c and numid parameters accordingly.

> What is the expected result of the above?

It reloads the program of the amplifiers before powering up the amplifiers. 
(amplifiers (software) shutdown occurs after 3 idle seconds)
If you set it to 0, the program will only be reloaded after module init and 
after wakeup/rewake.

you can check the value of the control with:
amixer -c 1 cget numid=3,name='Speaker Force Firmware Load'

Before bec7760a6c5fa59593dac264fa0c628e46815986 ("ALSA: hda/tas2781: do not 
reset cur_* values in runtime_suspend"), the driver reloaded the program and 
configuration every time, and this control wasn't effective.
Reloading the program and config takes 0.3 second or more, that's why I wanted 
to remove that behavior. It's annoying to wait every time you start anything.

I can only guess what could be wrong with tas2781 setups. Probably the
amps will go into failure state or reset state after a while.

It would help if someone dumps the registers as root, when the
amplifiers are not working:

rmmod snd_hda_scodec_tas2781_i2c
i2cset -y 3 0x70 0x00 0x00
i2cset -y 3 0x70 0x7f 0x00
i2cdump -y 3 0x70
modprobe snd_hda_scodec_tas2781_i2c 

first line unloads the module
second line changes the page to 0x00
third line changes the book to 0x00
fourth line dumps the page
fifth line loads the module

The bus number (3) may be different.
The address of the second amplifier is 0x72.

Here is the data sheet, if anyone wants to dig :)
https://www.ti.com/lit/ds/symlink/tas2781.pdf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-18 Thread kernel
(In reply to Gergo K from comment #857)
> The firmware files have not changed.
> 
> I think it's possible that this commit is the culprit:
> https://github.com/torvalds/linux/commit/
> bec7760a6c5fa59593dac264fa0c628e46815986
> 
> Sorry about that, it works fine with tas2563, but I couldn't test it with
> tas2781.
> Something related to power management can cause this also.
> 
> Please try the following and report if it fixes the issue:
> 
> amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1
> 
> It is possible that the -c 1 and the numid parameters are not exactly these,
> they can be obtained from `amixer -c 1 contents` or `amixer -c 0 contents`.
> 
> Thanks,
> Gergo 

Hi, I had this issue for some time but thought it was because of bad
setup in my part. This command seems to fix the issue without having to
rewake the laptop. I'm testing your patch and will report back soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-17 Thread cam
On 4/16/24 16:54, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #859 from Gergo K (so...@irl.hu) ---
> What else came to mind, the driver currently writes the calibration data to
> one
> of the wrong registers of tas2781, which can also cause problems. If anyone
> wants to know what fixes the problem, please try this patch as well:
>
> https://lore.kernel.org/all/20240406132010.341-1-shenghao-d...@ti.com/
>
Pretty good find/catch! I checked the source of my current kernel 
(6.8.6) and it didn't have that patch installed... So I applied it. 
We'll see how this goes...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-17 Thread dreamsyntax
> Please try the following and report if it fixes the issue:
> amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1

What is the expected result of the above?

> I had some time this morning to try and repeat the issue.. I couldn't
do it

I can reproduce in < 5 mins on average.

I played a video and paused / resumed after a while, until the issue kicked in.
Ran: `amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1`
No effect, sound still broken. The output looked ok.
Checked both `amixer -c 1 contents` or `amixer -c 0 contents`. - there
are a lot of entries, what exactly am I looking for?

Here's the interesting part though:
In that same session, I made the laptop close lid action + sleep
On wake, audio was working again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-17 Thread soyer
What else came to mind, the driver currently writes the calibration data
to one of the wrong registers of tas2781, which can also cause problems.
If anyone wants to know what fixes the problem, please try this patch as
well:

https://lore.kernel.org/all/20240406132010.341-1-shenghao-d...@ti.com/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-17 Thread cam
I had some time this morning to try and repeat the issue.. I couldn't do
it. So until I can find a way to repeat it, it's not worth testing other
kernel releases.

I will try Gergo's command once it happens again and report back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread soyer
The firmware files have not changed.

I think it's possible that this commit is the culprit:
https://github.com/torvalds/linux/commit/bec7760a6c5fa59593dac264fa0c628e46815986

Sorry about that, it works fine with tas2563, but I couldn't test it with 
tas2781.
Something related to power management can cause this also.

Please try the following and report if it fixes the issue:

amixer -c 1 cset numid=3,name='Speaker Force Firmware Load' 1

It is possible that the -c 1 and the numid parameters are not exactly
these, they can be obtained from `amixer -c 1 contents` or `amixer -c 0
contents`.

Thanks,
Gergo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread cam
I can try 6.7.9 and 6.7.12.

What you described vaguely sounds like the stuff I'm doing when it 
breaks on me so I'll try that too!

I might have some time to do this tomorrow night.

I've wondered if this is a firmware issue as well. Here are my md5sums 
for my files:
af5adf85ef96839ae1aa79bc916f1b91  TAS2XXX387D.bin
951a483a58b1b41e5114f0c0746f583a  TAS2XXX387E.bin
f7f319ba68ab37e093381360e2bdefff  TAS2XXX3881.bin
dfb907ce0135030182704cabb1223465  TAS2XXX3884.bin
a7ebbd19c73cd6fea005bcab025f4921  TAS2XXX3886.bin
f1f0486569020316a7b3253db17c6b94  TAS2XXX38A7.bin
b796beae38a02fa27426560742a829b6  TAS2XXX38A8.bin
830cf65b0d6e2355b70b9ed364b4819d  TAS2XXX38B8.bin
2a4d57199bc04ebc2dd9880f7afee4a7  TAS2XXX38B9.bin
fcaa167bb712cbe7829ae41f9ea7bfa0  TAS2XXX38BA.bin
9a6089a79ef6038691733a18c94c1005  TAS2XXX38BB.bin
0ace13d455c64d5043ac2ee066555f20  TAS2XXX38BE.bin
a90c1c801076cf6f2acfd6edf83e7575  TAS2XXX38BF.bin
3723cbf4848c3df69cd870314817aada  TAS2XXX38C3.bin
dfb907ce0135030182704cabb1223465  TAS2XXX38CB.bin
a7ebbd19c73cd6fea005bcab025f4921  TAS2XXX38CD.bin
33c27f3eec9e46e1e487b0fc4b781725  TIAS2781RCA2.bin
4824e06b5919b577d4671a3dd40fbda4  TIAS2781RCA2.json
61dcfeb8c3dd4c5b922dbbe8d826d2ef  TIAS2781RCA4.bin
38f473162f7dd3546db9ee561fb560bf  TIAS2781RCA4.json

I've considered and looking at the latest files in the linux-firmware 
git repo, but haven't had time yet.


On 4/15/2024 10:19 PM, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #855 from dreamsyn...@gmail.com ---
>> ...it makes me think maybe our problems are symptoms of the same issue
> I agree. I am using endeavour os, but I've also verified my scenario on
> nobara (fedora based).
>
> I found I can somewhat reliably get the audio to fail on 6.8.5 by leaving
> the system muted for a few minutes. Additionally something I noticed on
> 6.8.0 is running a video in a Firefox based browser (I used Librewolf),
> pausing and unpausing could lead to the sound being permanently disabled
> for the whole system until reboot.
>
> I am not self compiling, just using the arch linux and linux-headers
> packages. If this bug tracker is for debian/ubu based distros only, my bad.
> The issue is reproducible regardless.
> I can only confirm that I experience no issue on 6.7.9 on fedora based
> distros and arch. I think I had no luck using 6.7.9 on linux mint (using
> mainline kernel), but I assume it is because of an outdated linux-firmware
> package.
>
> If it isn't a pain for you to test, could you try 6.7.9 and see if you
> experience no issues as well?
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread dreamsyntax
Hi, just confirming that on:
Lenovo Legion Pro 7i (Gen 8 / 2023) the no sound issue has regressed again on 
6.8.5.

Last working version without any issues is 6.7.9 - which is odd
considering the original post lists this as not a regression?

alsamixer shows ALC287 under system info.


6.8.2-6.8.4 have no audio for me.
6.8.5 has audio on reboot, but after a seemingly random amount of time the 
audio will no longer function until next reboot.

6.7.9 works at all times for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread dreamsyntax
Created attachment 306161
attachment-31010-0.html

> ...it makes me think maybe our problems are symptoms of the same issue

I agree. I am using endeavour os, but I've also verified my scenario on
nobara (fedora based).

I found I can somewhat reliably get the audio to fail on 6.8.5 by leaving
the system muted for a few minutes. Additionally something I noticed on
6.8.0 is running a video in a Firefox based browser (I used Librewolf),
pausing and unpausing could lead to the sound being permanently disabled
for the whole system until reboot.

I am not self compiling, just using the arch linux and linux-headers
packages. If this bug tracker is for debian/ubu based distros only, my bad.
The issue is reproducible regardless.
I can only confirm that I experience no issue on 6.7.9 on fedora based
distros and arch. I think I had no luck using 6.7.9 on linux mint (using
mainline kernel), but I assume it is because of an outdated linux-firmware
package.

If it isn't a pain for you to test, could you try 6.7.9 and see if you
experience no issues as well?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread cam
(In reply to dreamsyntax from comment #853)
> Hi, just confirming that on:
> Lenovo Legion Pro 7i (Gen 8 / 2023) the no sound issue has regressed again
> on 6.8.5.
> 
> Last working version without any issues is 6.7.9 - which is odd considering
> the original post lists this as not a regression?
> 
> alsamixer shows ALC287 under system info.
> 
> 
> 6.8.2-6.8.4 have no audio for me.
> 6.8.5 has audio on reboot, but after a seemingly random amount of time the
> audio will no longer function until next reboot.
> 
> 6.7.9 works at all times for me.

I also have the Legion Pro 7i Gen 8 16IRX8H, sound worked through all
those kernel versions for me... But I do have another problem I wonder
if it's related... Occasionally, my sound will just stop working. I
can't get it working until I reboot... This tends to happen at a rate of
less than once per day.

Last time it happened was yesterday. This time I decided to enable
hibernate to see if resume from that would restore my sound (resuming
from sleep doesn't work).

Anyway, the issue didn't happen to me for about a month... and then
happened to me twice recently. Maybe it started around 6.8.4 or 6.8.5?
When it happened yesterday, I was on 6.8.6.

The problem is so intermittent it's hard to pin it down to it starting
with a specific kernel version...

But it makes me think maybe our problems are symptoms of the same issue.

How are you getting recent kernels? Are you self compiling? Are you
using the Ubuntu mainline repo? Something else and/or some other distro
entirely?

I'm compiling my own.

When this happens, audacious gives me some ALSA input/output error. I
suspect some hook to tell the amps to wake up and play audio through the
speakers hangs, but that's all I've got so far.

But sound issues related to TI's smart amps are definitely unrelated to
this bug we're posting in. Someone should start a new bug for these
issues if we hope to get more support.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread tuupic
(In reply to admin from comment #851)
> Can confirm on Endeavour 6.8.5 that my Legion Slim 7 16arha7 has working
> speakers now! yay! Lets hope they don't break again...

Does internal microphone work in your OS ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-16 Thread admin
Can confirm on Endeavour 6.8.5 that my Legion Slim 7 16arha7 has working
speakers now! yay! Lets hope they don't break again...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-14 Thread tuupic
(In reply to Linghui Ding from comment #848)
> After I upgrade to Linux 6.8.5, the speakers work well on my laptop. LOL,
> btw the machine can wake up from suspend, so this is also fixed. My laptop
> hardware model is Lenovo Legion R9000X ARHA7. Thanks everyone.

Confirm. Lenovo Legion 7 slim (R9000X) 16ARHA7. Speakers start working
since upgrading to 6.8.5 kernel.

But internal microphone doesn't. But maybe it's some local problem, I
have never checked it before.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-13 Thread thornley.david
Working fine again for me in 6.8.5 :) Sorry for the spam!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-13 Thread dlinuigh
After I upgrade to Linux 6.8.5, the speakers work well on my laptop.
LOL, btw the machine can wake up from suspend, so this is also fixed. My
laptop hardware model is Lenovo Legion R9000X ARHA7. Thanks everyone.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-11 Thread hyc
Hm, I installed Ubuntu's 6.8.4 and the speakers work on my Legion 7
16achg6. But suspend doesn't wake up, so I'm back on 5.17.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-04-10 Thread thornley.david
FYI, broken again in 6.8.4, 6.8.3 (not sure about 6.8.2).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019] Re: [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No sound at all

2024-03-26 Thread Giulio Iannelli
I will share my experience maybe it can help. I am running this
configuration

CPU: 8-core AMD Ryzen 7 5800H with Radeon Graphics (-MT MCP-)
speed/min/max: 400/400/4463 MHz Kernel: 6.5.0-26-generic x86_64 Up: 10m
Mem: 3724.7/64145.7 MiB (5.8%) Storage: 2.75 TiB (59.2% used) Procs: 378
Shell: Bash inxi: 3.3.13


a Lenovo 82N6 Legion 7 16ACHg6. Now in kernel 5.15 the sound was back but 
external displays could not be detected. Can we use the sound ports of kernel 
5.15 in kernel 6.5+? It would be awesome to finally see audio and video working 
at the same time on my machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-03-21 Thread thornley.david
FYI, this looks to have been improved in Ubuntu's 6.8.1 mainline
(https://kernel.ubuntu.com/mainline/v6.8.1/).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-02-25 Thread thornley.david
I also tried the two changes above to 6.7.6, it took a bit for me to
work out how to compile a custom kernel in ubuntu (easy once you know).
Mine is a slightly different 14IRP8 device Yoga Pro rather than Slim Pro
(same underlying hardware).

Alsa-info -> https://alsa-
project.org/db/?f=3adac42b53db18376ea17cd5ab008c247a4039a5

Applied the latest firmware to /lib/firmware from
https://gitlab.com/kernel-firmware/linux-firmware.git (branch main).

Confirmed no options are now required, overall sound is considerably
better, volume works, headphones also work.

Subjectively audio doesn't seem quite as good as in Windows, where the
bass seems to get dynamically adjusted depending on the volume (maybe
some fancy DSP effects, not sure - I am only guessing). Either way, it
is now light-years better than what it was before the changes.

Many thanks Gergo K. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2024-02-25 Thread soyer
I don't know the reasons, but this code has been working in this way for
10+ years, so this type of collision can not be common.

I sent the ALC285_FIXUP_THINKPAD_HEADSET_JACK patch to the lists:
https://lore.kernel.org/all/7ffae10ebba58601d25fe2ff8381a6ae3a926e62.1708687813.git.so...@irl.hu/

And I sent a question about how to handle this collision:
https://lore.kernel.org/all/d5b42e483566a3815d229270abd668131a0d9f3a.ca...@irl.hu/

If you are interested in linux sound development, you can subscribe to the 
linux-sound list:
http://vger.kernel.org/vger-lists.html#linux-sound

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-06 Thread donglingluoying
Sure.

songine@DEBIAN-DUET2021:~$ sudo lshw
debian-duet2021 
description: Detachable
product: 82MA (LENOVO_MT_82MA_BU_idea_FM_Yoga DuetITL 2021)
vendor: LENOVO
version: Yoga DuetITL 2021
serial: YX027470
width: 64 bits
capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32

(In reply to Cameron Berkenpas from comment #629)
> Songine,
> 
> Can you provide more info about your specific model? You should be able 
> to get that from running "lshw".
> 
> For the top of my output, I get:
> version: Legion 7 16ITHg6
> 
> On 6/4/22 17:46, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #628 from Songine (donglingluoy...@gmail.com) ---
> > Yeah, both the speaker and headphones work fine with correct channel.
> >
> > And still work after resuming from suspend/hibernate.
> >
> > Also fine after hotplug events, whatever it is playing or not.
> >
> > Thanks for your patch a lot!
> >
> > (In reply to Cameron Berkenpas from comment #627)
> >> Great!
> >>
> >> Some probably silly questions:
> >> 1) Do both speakers work? Do you get left channel sound out of the left
> >> speaker and right channel sound out of the right speaker?
> >>
> >> 2) After resuming from suspend/hibernate, does your sound still work?
> >>
> >> 3) What if you insert headphones and remove them? Does sound still work?
> >> Try removing the headphones both while sound is not playing and while
> >> it's not.
> >>
> >> Given that this old quirk works for your laptop, I think all of the
> >> above will be fine and I can work toward getting  this submitted.
> >>
> >>
> >> On 6/3/2022 5:34 PM, bugzilla-dae...@kernel.org wrote:
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >>>
> >>> --- Comment #626 from Songine (donglingluoy...@gmail.com) ---
> >>> (In reply to Cameron Berkenpas from comment #625)
> >>>> Did you test this yourself?
> >>>>
> >>>> On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
> >>>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >>>>>
> >>>>> Songine (donglingluoy...@gmail.com) changed:
> >>>>>
> >>>>>   What|Removed |Added
> >>>>>
> >>
> 
> >>>>> CC|
> >>>>> |donglingluoy...@gmail.com
> >>>>>
> >>>>> --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
> >>>>> (In reply to Cameron Berkenpas from comment #429)
> >>>>>> Created attachment 298789 [details]
> >>>>>> linux-legion-sound-0.0.13.patch
> >>>>>>
> >>>>>> auto mute is now properly disabled as per Takashi's suggestion.
> >>>>>>
> >>>>>> This patch is against the latest Linus tree, but applies against
> 5.14.3
> >>>> just
> >>>>>> fine.
> >>>>>>
> >>>>>> This patch includes the presumptive commit message and credit given to
> >>>>>> various people.
> >>>>>>
> >>>>>> Going through the Linux commit log, it seems full names and email
> >>>> addresses
> >>>>>> aren't needed, so I have a thank you list in the patch with the
> >> following:
> >>>>>> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
> >>>>>>
> >>>>>> If you want to be mentioned (or if you know of someone who you think
> >> that
> >>>>>> should be included), please let me know!
> >>>>>>
> >>>>>> Here's a link to the patch submission:
> >>>>>>
> >>
> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
> >>>>>> html
> >>>>> Hello, there is a device could use the patch, could you help me add it
> to
> >>>> the
> >>>>> patch file?
> >>>>>
> >>>>> SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
> >>>>> ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> >>>>>
> >>> Yes, tested, and I am enjoging my speaker now.�[U+1F603]�
> >>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-06 Thread cam
Songine,

Can you provide more info about your specific model? You should be able 
to get that from running "lshw".

For the top of my output, I get:
version: Legion 7 16ITHg6

On 6/4/22 17:46, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #628 from Songine (donglingluoy...@gmail.com) ---
> Yeah, both the speaker and headphones work fine with correct channel.
>
> And still work after resuming from suspend/hibernate.
>
> Also fine after hotplug events, whatever it is playing or not.
>
> Thanks for your patch a lot!
>
> (In reply to Cameron Berkenpas from comment #627)
>> Great!
>>
>> Some probably silly questions:
>> 1) Do both speakers work? Do you get left channel sound out of the left
>> speaker and right channel sound out of the right speaker?
>>
>> 2) After resuming from suspend/hibernate, does your sound still work?
>>
>> 3) What if you insert headphones and remove them? Does sound still work?
>> Try removing the headphones both while sound is not playing and while
>> it's not.
>>
>> Given that this old quirk works for your laptop, I think all of the
>> above will be fine and I can work toward getting  this submitted.
>>
>>
>> On 6/3/2022 5:34 PM, bugzilla-dae...@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> --- Comment #626 from Songine (donglingluoy...@gmail.com) ---
>>> (In reply to Cameron Berkenpas from comment #625)
>>>> Did you test this yourself?
>>>>
>>>> On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>>>
>>>>> Songine (donglingluoy...@gmail.com) changed:
>>>>>
>>>>>   What|Removed |Added
>>>>>
>> 
>>>>> CC|
>>>>> |donglingluoy...@gmail.com
>>>>>
>>>>> --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
>>>>> (In reply to Cameron Berkenpas from comment #429)
>>>>>> Created attachment 298789 [details]
>>>>>> linux-legion-sound-0.0.13.patch
>>>>>>
>>>>>> auto mute is now properly disabled as per Takashi's suggestion.
>>>>>>
>>>>>> This patch is against the latest Linus tree, but applies against 5.14.3
>>>> just
>>>>>> fine.
>>>>>>
>>>>>> This patch includes the presumptive commit message and credit given to
>>>>>> various people.
>>>>>>
>>>>>> Going through the Linux commit log, it seems full names and email
>>>> addresses
>>>>>> aren't needed, so I have a thank you list in the patch with the
>> following:
>>>>>> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
>>>>>>
>>>>>> If you want to be mentioned (or if you know of someone who you think
>> that
>>>>>> should be included), please let me know!
>>>>>>
>>>>>> Here's a link to the patch submission:
>>>>>>
>> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
>>>>>> html
>>>>> Hello, there is a device could use the patch, could you help me add it to
>>>> the
>>>>> patch file?
>>>>>
>>>>> SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
>>>>> ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
>>>>>
>>> Yes, tested, and I am enjoging my speaker now.�[U+1F603]�
>>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019] Re: [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No sound at all

2022-06-05 Thread Simon Barthel
Speakers are working for me now after installing the BIOS update from
2022-06-02.

https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/legion-
series/legion-7-16achg6/downloads/driver-list/component?name=BIOS%2FUEFI

I booted on windows, installed the update and after switching to Linux
the speakers instantly worked without any problems.

Not sure if installing the update alone did the trick since I tried a
lot before without success...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-05 Thread donglingluoying
Yeah, both the speaker and headphones work fine with correct channel.

And still work after resuming from suspend/hibernate.

Also fine after hotplug events, whatever it is playing or not.

Thanks for your patch a lot!

(In reply to Cameron Berkenpas from comment #627)
> Great!
> 
> Some probably silly questions:
> 1) Do both speakers work? Do you get left channel sound out of the left 
> speaker and right channel sound out of the right speaker?
> 
> 2) After resuming from suspend/hibernate, does your sound still work?
> 
> 3) What if you insert headphones and remove them? Does sound still work? 
> Try removing the headphones both while sound is not playing and while 
> it's not.
> 
> Given that this old quirk works for your laptop, I think all of the 
> above will be fine and I can work toward getting  this submitted.
> 
> 
> On 6/3/2022 5:34 PM, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #626 from Songine (donglingluoy...@gmail.com) ---
> > (In reply to Cameron Berkenpas from comment #625)
> >> Did you test this yourself?
> >>
> >> On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >>>
> >>> Songine (donglingluoy...@gmail.com) changed:
> >>>
> >>>  What|Removed |Added
> >>>
> >>
> 
> >>>CC|   
> >>>|donglingluoy...@gmail.com
> >>>
> >>> --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
> >>> (In reply to Cameron Berkenpas from comment #429)
> >>>> Created attachment 298789 [details]
> >>>> linux-legion-sound-0.0.13.patch
> >>>>
> >>>> auto mute is now properly disabled as per Takashi's suggestion.
> >>>>
> >>>> This patch is against the latest Linus tree, but applies against 5.14.3
> >> just
> >>>> fine.
> >>>>
> >>>> This patch includes the presumptive commit message and credit given to
> >>>> various people.
> >>>>
> >>>> Going through the Linux commit log, it seems full names and email
> >> addresses
> >>>> aren't needed, so I have a thank you list in the patch with the
> following:
> >>>> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
> >>>>
> >>>> If you want to be mentioned (or if you know of someone who you think
> that
> >>>> should be included), please let me know!
> >>>>
> >>>> Here's a link to the patch submission:
> >>>>
> >>
> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
> >>>> html
> >>> Hello, there is a device could use the patch, could you help me add it to
> >> the
> >>> patch file?
> >>>
> >>> SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
> >>> ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> >>>
> > Yes, tested, and I am enjoging my speaker now.�[U+1F603]�
> >

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-05 Thread cam
Great!

Some probably silly questions:
1) Do both speakers work? Do you get left channel sound out of the left 
speaker and right channel sound out of the right speaker?

2) After resuming from suspend/hibernate, does your sound still work?

3) What if you insert headphones and remove them? Does sound still work? 
Try removing the headphones both while sound is not playing and while 
it's not.

Given that this old quirk works for your laptop, I think all of the 
above will be fine and I can work toward getting  this submitted.


On 6/3/2022 5:34 PM, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #626 from Songine (donglingluoy...@gmail.com) ---
> (In reply to Cameron Berkenpas from comment #625)
>> Did you test this yourself?
>>
>> On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> Songine (donglingluoy...@gmail.com) changed:
>>>
>>>  What|Removed |Added
>>>
>> 
>>>CC|   
>>>|donglingluoy...@gmail.com
>>>
>>> --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
>>> (In reply to Cameron Berkenpas from comment #429)
>>>> Created attachment 298789 [details]
>>>> linux-legion-sound-0.0.13.patch
>>>>
>>>> auto mute is now properly disabled as per Takashi's suggestion.
>>>>
>>>> This patch is against the latest Linus tree, but applies against 5.14.3
>> just
>>>> fine.
>>>>
>>>> This patch includes the presumptive commit message and credit given to
>>>> various people.
>>>>
>>>> Going through the Linux commit log, it seems full names and email
>> addresses
>>>> aren't needed, so I have a thank you list in the patch with the following:
>>>> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
>>>>
>>>> If you want to be mentioned (or if you know of someone who you think that
>>>> should be included), please let me know!
>>>>
>>>> Here's a link to the patch submission:
>>>>
>> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
>>>> html
>>> Hello, there is a device could use the patch, could you help me add it to
>> the
>>> patch file?
>>>
>>> SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
>>> ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
>>>
> Yes, tested, and I am enjoging my speaker now.�[U+1F603]�
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-04 Thread donglingluoying
(In reply to Cameron Berkenpas from comment #625)
> Did you test this yourself?
> 
> On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > Songine (donglingluoy...@gmail.com) changed:
> >
> > What|Removed |Added
> >
> 
> >   CC||donglingluoy...@gmail.com
> >
> > --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
> > (In reply to Cameron Berkenpas from comment #429)
> >> Created attachment 298789 [details]
> >> linux-legion-sound-0.0.13.patch
> >>
> >> auto mute is now properly disabled as per Takashi's suggestion.
> >>
> >> This patch is against the latest Linus tree, but applies against 5.14.3
> just
> >> fine.
> >>
> >> This patch includes the presumptive commit message and credit given to
> >> various people.
> >>
> >> Going through the Linux commit log, it seems full names and email
> addresses
> >> aren't needed, so I have a thank you list in the patch with the following:
> >> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
> >>
> >> If you want to be mentioned (or if you know of someone who you think that
> >> should be included), please let me know!
> >>
> >> Here's a link to the patch submission:
> >>
> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
> >> html
> > Hello, there is a device could use the patch, could you help me add it to
> the
> > patch file?
> >
> > SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
> > ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
> >

Yes, tested, and I am enjoging my speaker now.�[U+1F603]�

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-04 Thread cam
Did you test this yourself?

On 6/3/22 00:11, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> Songine (donglingluoy...@gmail.com) changed:
>
> What|Removed |Added
> 
>   CC||donglingluoy...@gmail.com
>
> --- Comment #624 from Songine (donglingluoy...@gmail.com) ---
> (In reply to Cameron Berkenpas from comment #429)
>> Created attachment 298789 [details]
>> linux-legion-sound-0.0.13.patch
>>
>> auto mute is now properly disabled as per Takashi's suggestion.
>>
>> This patch is against the latest Linus tree, but applies against 5.14.3 just
>> fine.
>>
>> This patch includes the presumptive commit message and credit given to
>> various people.
>>
>> Going through the Linux commit log, it seems full names and email addresses
>> aren't needed, so I have a thank you list in the patch with the following:
>> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
>>
>> If you want to be mentioned (or if you know of someone who you think that
>> should be included), please let me know!
>>
>> Here's a link to the patch submission:
>> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
>> html
> Hello, there is a device could use the patch, could you help me add it to the
> patch file?
>
> SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
> ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-06-03 Thread donglingluoying
(In reply to Cameron Berkenpas from comment #429)
> Created attachment 298789 [details]
> linux-legion-sound-0.0.13.patch
> 
> auto mute is now properly disabled as per Takashi's suggestion.
> 
> This patch is against the latest Linus tree, but applies against 5.14.3 just
> fine.
> 
> This patch includes the presumptive commit message and credit given to
> various people.
> 
> Going through the Linux commit log, it seems full names and email addresses
> aren't needed, so I have a thank you list in the patch with the following:
> Andreas Holzer, Vincent Morel, sycxyc, Max Christian Pohle
> 
> If you want to be mentioned (or if you know of someone who you think that
> should be included), please let me know!
> 
> Here's a link to the patch submission:
> https://mailman.alsa-project.org/pipermail/alsa-devel/2021-September/189698.
> html

Hello, there is a device could use the patch, could you help me add it
to the patch file?

SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021",
ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019] Re: [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No sound at all

2022-06-02 Thread h4wkmoon
ALC294 + CSC3551

Serial bus multi instantiate pseudo device driver CSC3551:00:
Instantiated 2 I2C devices.

cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.1 failed with error -22
cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.1 failed with error -22

snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC294: line_outs=1
(0x17/0x0/0x0/0x0/0x0) type:speaker

speakers - no sound - new dsp cirrus logic ? CSC3551 
headphones sound - play nice
hdmi sound - play nice
bluetooth sound - play nice

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-29 Thread cristina223
(In reply to Cameron Berkenpas from comment #622)
> Looking at your alsa-info, you don't have the CLS0100 amplifier chips, which
> is what those modules would enable support for. Your laptop is not supported
> by those modules and likely aren't supported at all.
> 
> (In reply to cris223 from comment #620)
> > 
> > Hi everyone, with a thanks of your support!
> > I recently bought a new model of Yoga 7i 16" alsa-info is here:
> > https://pastebin.com/cPPAp0vq
> >  I so i do have 4 speakers with amp on which is not working in Linux (as
> > everybody mentioned here on windows sound it is strong), the rest of the
> > sound in headphones, bluetooth mic are loading fine . I've read carefully
> > most of you posts, and I tested some commands in my Arcolinux system
> > (Archlinux)
> > 
> > So with kernel 5.17 it is support for following modules:( i am currently on
> > linux 5.18.0-arch1-1)
> > serial_multi_instantiate 
> > snd-soc-cs35l41-lib
> > snd-hda-scodec-cs35l41-i2c
> > snd-hda-scodec-cs35l41-spi
> > 
> > and i managed to load them helped by modinfo command noticed that some of
> > them have dependencies other modules. So I preload the dep and then i made
> > an file in /etc/modules-load/ where i listed all this modules in order to
> be
> > load at boot. I checked after boot to see it all these modules are loaded-
> > was successfully  done.
> > 
> > But my sound is still the same - the AMP on speakers doesn't work!
> > 
> > I won't give up testing the further suggestions you might have, t!

that is a terrible new for me...i wanted to replace windows totality in
my new machine...but for now i ll stick with the dual boot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-29 Thread cam
Looking at your alsa-info, you don't have the CLS0100 amplifier chips,
which is what those modules would enable support for. Your laptop is not
supported by those modules and likely aren't supported at all.

(In reply to cris223 from comment #620)
> 
> Hi everyone, with a thanks of your support!
> I recently bought a new model of Yoga 7i 16" alsa-info is here:
> https://pastebin.com/cPPAp0vq
>  I so i do have 4 speakers with amp on which is not working in Linux (as
> everybody mentioned here on windows sound it is strong), the rest of the
> sound in headphones, bluetooth mic are loading fine . I've read carefully
> most of you posts, and I tested some commands in my Arcolinux system
> (Archlinux)
> 
> So with kernel 5.17 it is support for following modules:( i am currently on
> linux 5.18.0-arch1-1)
> serial_multi_instantiate 
> snd-soc-cs35l41-lib
> snd-hda-scodec-cs35l41-i2c
> snd-hda-scodec-cs35l41-spi
> 
> and i managed to load them helped by modinfo command noticed that some of
> them have dependencies other modules. So I preload the dep and then i made
> an file in /etc/modules-load/ where i listed all this modules in order to be
> load at boot. I checked after boot to see it all these modules are loaded-
> was successfully  done.
> 
> But my sound is still the same - the AMP on speakers doesn't work!
> 
> I won't give up testing the further suggestions you might have, t!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-29 Thread cristina223
Thank you soo much!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-29 Thread cristina223
(In reply to Cameron Berkenpas from comment #619)
> Appears that these kernels are including these drivers. You might have 
> to figure out how to build your own kernel while enabling the necessary 
> kernel options yourself after all.
> 
> On 5/24/22 01:46, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #616 from she...@liang.at (she...@liang.at) ---
> > Oh, sorry I was in the wrong one version cuz I tried reverting to the older
> > one
> > when nvidia didn't work anymore.
> >
> > In kernel 5.17.0 the first command gives
> > $ sudo modprobe snd-hda-codec-cs35l41-i2c
> > modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
> > /lib/modules/5.17.0-051700-generic
> >
> > while the other two give nothing.
> >
> >
> > (In reply to Cameron Berkenpas from comment #615)
> >> Your error message shows you're 5.13, which definitely doesn't have
> support.
> >>
> >>
> >>
> >> On 5/23/22 08:46, bugzilla-dae...@kernel.org wrote:
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >>>
> >>> --- Comment #614 from she...@liang.at (she...@liang.at) ---
> >>> The first two modprobe commands returned
> >>> `
> >>> modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
> >>> /lib/modules/5.13.0-051300-generic
> >>> `
> >>> The third one returns nothing.
> >>>
> >>> I tried reinstalling my nvidia driver too but even after purging all it
> >>> doesn't
> >>> seem to work :\
> >>>
> >>> I tried following these instructions:
> >>>
> >>
> >>
> https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141/6
> >>> (In reply to Cameron Berkenpas from comment #612)
> >>>> I would try try 5.17. 5.18 only came out yesterday, and therefore
> doesn't
> >>>> even have any point releases so chances are reasonably high you'll run
> >> into
> >>>> bugs.
> >>>>
> >>>> Additionally, I don't have the ACHg6. It's possible you'll need to
> specify
> >>>> which modules to load. In the likely event that 5.17 doesn't work,
> perhaps
> >>>> someone can provide information on what's needed there.
> >>>>
> >>>> Possibly these steps will work:
> >>>> sudo modprobe snd-hda-codec-cs35l41-i2c
> >>>> sudo modeprobe snd_soc_cs35l41_i2c
> >>>> sudo modeprobe i2c-multi-instantiate
> >>>>
> >>>> (In reply to she...@liang.at from comment #609)
> >>>>> Thanks for the quick responses. I followed the instructions to install
> >> the
> >>>>> latest version. Is it supposed to work if I installed 5.18 too? It's
> not
> >>>>> working and it stopped recognising my external monitors too.
> >>>>>

Hi everyone, with a thanks of your support!
I recently bought a new model of Yoga 7i 16" alsa-info is here:
https://pastebin.com/cPPAp0vq
 I so i do have 4 speakers with amp on which is not working in Linux (as 
everybody mentioned here on windows sound it is strong), the rest of the sound 
in headphones, bluetooth mic are loading fine . I've read carefully most of you 
posts, and I tested some commands in my Arcolinux system (Archlinux)

So with kernel 5.17 it is support for following modules:( i am currently on 
linux 5.18.0-arch1-1)
serial_multi_instantiate 
snd-soc-cs35l41-lib
snd-hda-scodec-cs35l41-i2c
snd-hda-scodec-cs35l41-spi

and i managed to load them helped by modinfo command noticed that some
of them have dependencies other modules. So I preload the dep and then i
made an file in /etc/modules-load/ where i listed all this modules in
order to be load at boot. I checked after boot to see it all these
modules are loaded- was successfully  done.

But my sound is still the same - the AMP on speakers doesn't work!

I won't give up testing the further suggestions you might have, t!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-24 Thread cam
Appears that these kernels are including these drivers. You might have 
to figure out how to build your own kernel while enabling the necessary 
kernel options yourself after all.

On 5/24/22 01:46, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #616 from she...@liang.at (she...@liang.at) ---
> Oh, sorry I was in the wrong one version cuz I tried reverting to the older
> one
> when nvidia didn't work anymore.
>
> In kernel 5.17.0 the first command gives
> $ sudo modprobe snd-hda-codec-cs35l41-i2c
> modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
> /lib/modules/5.17.0-051700-generic
>
> while the other two give nothing.
>
>
> (In reply to Cameron Berkenpas from comment #615)
>> Your error message shows you're 5.13, which definitely doesn't have support.
>>
>>
>>
>> On 5/23/22 08:46, bugzilla-dae...@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> --- Comment #614 from she...@liang.at (she...@liang.at) ---
>>> The first two modprobe commands returned
>>> `
>>> modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
>>> /lib/modules/5.13.0-051300-generic
>>> `
>>> The third one returns nothing.
>>>
>>> I tried reinstalling my nvidia driver too but even after purging all it
>>> doesn't
>>> seem to work :\
>>>
>>> I tried following these instructions:
>>>
>>
>> https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141/6
>>> (In reply to Cameron Berkenpas from comment #612)
>>>> I would try try 5.17. 5.18 only came out yesterday, and therefore doesn't
>>>> even have any point releases so chances are reasonably high you'll run
>> into
>>>> bugs.
>>>>
>>>> Additionally, I don't have the ACHg6. It's possible you'll need to specify
>>>> which modules to load. In the likely event that 5.17 doesn't work, perhaps
>>>> someone can provide information on what's needed there.
>>>>
>>>> Possibly these steps will work:
>>>> sudo modprobe snd-hda-codec-cs35l41-i2c
>>>> sudo modeprobe snd_soc_cs35l41_i2c
>>>> sudo modeprobe i2c-multi-instantiate
>>>>
>>>> (In reply to she...@liang.at from comment #609)
>>>>> Thanks for the quick responses. I followed the instructions to install
>> the
>>>>> latest version. Is it supposed to work if I installed 5.18 too? It's not
>>>>> working and it stopped recognising my external monitors too.
>>>>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-24 Thread cam
It seems the path to endian.h may have changed from 
/usr/include/sys/endian.h to /usr/include/endian.h.

In the failing file(s), try changing it from:
#include 

To:
#include 

On 5/24/22 05:37, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #617 from singo (hnsinan...@gmail.com) ---
> Thanks for the quick reply and the pointer to the github tutorial. I've tried
> going down this rabbit hole but face numerous error messages when following
> the
> guide. Unfortunately I failed at building the js qemu fork. Maybe it fails
> because I'm on Ubuntu 22.04.? Anyways, I can't build it and thus can't even
> continue with the actual hard part.
>
> Here's the output for the failed configuration of qemu:
> https://pastebin.com/Lfq5vPz6
>
> Maybe it has to do with the dependencies? When executing sudo apt install
> build-essential && apt build-dep qemu-system-x86 it will says something along
> the lines of "choosing qemu instead of quemu-system-x86".
>
>
> (In reply to Cameron Berkenpas from comment #613)
>> There's no patch for your laptop yet.
>>
>> Assuming your sound bar is initialized through verbs (I suspect it is),
>> you'll need to find the verb sequence yourself:
>> https://github.com/thiagotei/linux-realtek-alc287/tree/cameron
>>
>> Once there's a working verb sequence, a patch can be created.
>>
>> On 5/23/22 04:50, bugzilla-dae...@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> --- Comment #611 from singo (hnsinan...@gmail.com) ---
>>> Hello everyone,
>>>
>>> I really appreciate this thread and all of the solutions that have been
>>> produced for this issue. Thanks to everyone contributing, especially
>> Cameron
>>> Berkenpas who has been very helpful to a number of users and the main
>> driving
>>> force for fixes:)
>>>
>>> Now to my issue: I own a Lenovo Yoga 7i 15ITL05 82AC with the ALC287.
>>> Currently
>>> it runs Ubuntu 22.04. LTS  with the included 5.15 Kernel. Before I have run
>>> Pop_OS 21.04. and 22.04. With all these distros, the sound worked partially
>>> but
>>> never fully. The experience is the same as many other users here, where
>> there
>>> would only be sound coming out the from the downward firing speakers, but
>> not
>>> from the soundbar above the keyboard, which are the bass speakers judging
>> by
>>> the tinny sound I get now. The sound works beautifully in Windows, since
>> the
>>> lower end frequencies can be replayed.
>>>
>>> Quite honestly, I've lost the overview over this thread and am not so sure
>>> which patch I should apply. I've tried manually update my Ubuntu 22.04. to
>>> the
>>> mainline 5.17 Kernel, which worked OS-wise but didn't change sound. My hope
>>> was
>>> that the sound patches have been included in that Kernel, but it seems
>>> they're
>>> only working for the Legion 7.
>>>
>>> Could someone point me to the right patch or verbs that have to be applied
>>> for
>>> my Lenovo model in order for the bass speakers to work? Maybe someone has
>>> figured it out for this particular case?
>>>
>>> Much thanks in advance.
>>>
>>> Here's my alsa-info:
>>>
>>> http://alsa-project.org/db/?f=ad3990bed59a24417ea6429250275012611a0302
>>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-24 Thread hnsinan.ta
Thanks for the quick reply and the pointer to the github tutorial. I've
tried going down this rabbit hole but face numerous error messages when
following the guide. Unfortunately I failed at building the js qemu
fork. Maybe it fails because I'm on Ubuntu 22.04.? Anyways, I can't
build it and thus can't even continue with the actual hard part.

Here's the output for the failed configuration of qemu:
https://pastebin.com/Lfq5vPz6

Maybe it has to do with the dependencies? When executing sudo apt
install build-essential && apt build-dep qemu-system-x86 it will says
something along the lines of "choosing qemu instead of quemu-
system-x86".


(In reply to Cameron Berkenpas from comment #613)
> There's no patch for your laptop yet.
> 
> Assuming your sound bar is initialized through verbs (I suspect it is), 
> you'll need to find the verb sequence yourself:
> https://github.com/thiagotei/linux-realtek-alc287/tree/cameron
> 
> Once there's a working verb sequence, a patch can be created.
> 
> On 5/23/22 04:50, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #611 from singo (hnsinan...@gmail.com) ---
> > Hello everyone,
> >
> > I really appreciate this thread and all of the solutions that have been
> > produced for this issue. Thanks to everyone contributing, especially
> Cameron
> > Berkenpas who has been very helpful to a number of users and the main
> driving
> > force for fixes:)
> >
> > Now to my issue: I own a Lenovo Yoga 7i 15ITL05 82AC with the ALC287.
> > Currently
> > it runs Ubuntu 22.04. LTS  with the included 5.15 Kernel. Before I have run
> > Pop_OS 21.04. and 22.04. With all these distros, the sound worked partially
> > but
> > never fully. The experience is the same as many other users here, where
> there
> > would only be sound coming out the from the downward firing speakers, but
> not
> > from the soundbar above the keyboard, which are the bass speakers judging
> by
> > the tinny sound I get now. The sound works beautifully in Windows, since
> the
> > lower end frequencies can be replayed.
> >
> > Quite honestly, I've lost the overview over this thread and am not so sure
> > which patch I should apply. I've tried manually update my Ubuntu 22.04. to
> > the
> > mainline 5.17 Kernel, which worked OS-wise but didn't change sound. My hope
> > was
> > that the sound patches have been included in that Kernel, but it seems
> > they're
> > only working for the Legion 7.
> >
> > Could someone point me to the right patch or verbs that have to be applied
> > for
> > my Lenovo model in order for the bass speakers to work? Maybe someone has
> > figured it out for this particular case?
> >
> > Much thanks in advance.
> >
> > Here's my alsa-info:
> >
> > http://alsa-project.org/db/?f=ad3990bed59a24417ea6429250275012611a0302
> >

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-24 Thread sheryl
Oh, sorry I was in the wrong one version cuz I tried reverting to the
older one when nvidia didn't work anymore.

In kernel 5.17.0 the first command gives
$ sudo modprobe snd-hda-codec-cs35l41-i2c
modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory 
/lib/modules/5.17.0-051700-generic

while the other two give nothing.


(In reply to Cameron Berkenpas from comment #615)
> Your error message shows you're 5.13, which definitely doesn't have support.
> 
> 
> 
> On 5/23/22 08:46, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #614 from she...@liang.at (she...@liang.at) ---
> > The first two modprobe commands returned
> > `
> > modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
> > /lib/modules/5.13.0-051300-generic
> > `
> > The third one returns nothing.
> >
> > I tried reinstalling my nvidia driver too but even after purging all it
> > doesn't
> > seem to work :\
> >
> > I tried following these instructions:
> >

> >
> https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141/6
> >
> > (In reply to Cameron Berkenpas from comment #612)
> >> I would try try 5.17. 5.18 only came out yesterday, and therefore doesn't
> >> even have any point releases so chances are reasonably high you'll run
> into
> >> bugs.
> >>
> >> Additionally, I don't have the ACHg6. It's possible you'll need to specify
> >> which modules to load. In the likely event that 5.17 doesn't work, perhaps
> >> someone can provide information on what's needed there.
> >>
> >> Possibly these steps will work:
> >> sudo modprobe snd-hda-codec-cs35l41-i2c
> >> sudo modeprobe snd_soc_cs35l41_i2c
> >> sudo modeprobe i2c-multi-instantiate
> >>
> >> (In reply to she...@liang.at from comment #609)
> >>> Thanks for the quick responses. I followed the instructions to install
> the
> >>> latest version. Is it supposed to work if I installed 5.18 too? It's not
> >>> working and it stopped recognising my external monitors too.
> >>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread cam
Your error message shows you're 5.13, which definitely doesn't have
support.


On 5/23/22 08:46, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #614 from she...@liang.at (she...@liang.at) ---
> The first two modprobe commands returned
> `
> modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory
> /lib/modules/5.13.0-051300-generic
> `
> The third one returns nothing.
>
> I tried reinstalling my nvidia driver too but even after purging all it
> doesn't
> seem to work :\
>
> I tried following these instructions:
>
> https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141/6
>
> (In reply to Cameron Berkenpas from comment #612)
>> I would try try 5.17. 5.18 only came out yesterday, and therefore doesn't
>> even have any point releases so chances are reasonably high you'll run into
>> bugs.
>>
>> Additionally, I don't have the ACHg6. It's possible you'll need to specify
>> which modules to load. In the likely event that 5.17 doesn't work, perhaps
>> someone can provide information on what's needed there.
>>
>> Possibly these steps will work:
>> sudo modprobe snd-hda-codec-cs35l41-i2c
>> sudo modeprobe snd_soc_cs35l41_i2c
>> sudo modeprobe i2c-multi-instantiate
>>
>> (In reply to she...@liang.at from comment #609)
>>> Thanks for the quick responses. I followed the instructions to install the
>>> latest version. Is it supposed to work if I installed 5.18 too? It's not
>>> working and it stopped recognising my external monitors too.
>>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread sheryl
The first two modprobe commands returned
`
modprobe: FATAL: Module snd-hda-codec-cs35l41-i2c not found in directory 
/lib/modules/5.13.0-051300-generic
`
The third one returns nothing.

I tried reinstalling my nvidia driver too but even after purging all it
doesn't seem to work :\

I tried following these instructions:
https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-
couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-
nvidia-driver-is-installed-and-running/197141/6

(In reply to Cameron Berkenpas from comment #612)
> I would try try 5.17. 5.18 only came out yesterday, and therefore doesn't
> even have any point releases so chances are reasonably high you'll run into
> bugs.
> 
> Additionally, I don't have the ACHg6. It's possible you'll need to specify
> which modules to load. In the likely event that 5.17 doesn't work, perhaps
> someone can provide information on what's needed there.
> 
> Possibly these steps will work:
> sudo modprobe snd-hda-codec-cs35l41-i2c
> sudo modeprobe snd_soc_cs35l41_i2c
> sudo modeprobe i2c-multi-instantiate
> 
> (In reply to she...@liang.at from comment #609)
> > Thanks for the quick responses. I followed the instructions to install the
> > latest version. Is it supposed to work if I installed 5.18 too? It's not
> > working and it stopped recognising my external monitors too.
> >

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread cam
There's no patch for your laptop yet.

Assuming your sound bar is initialized through verbs (I suspect it is), 
you'll need to find the verb sequence yourself:
https://github.com/thiagotei/linux-realtek-alc287/tree/cameron

Once there's a working verb sequence, a patch can be created.

On 5/23/22 04:50, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #611 from singo (hnsinan...@gmail.com) ---
> Hello everyone,
>
> I really appreciate this thread and all of the solutions that have been
> produced for this issue. Thanks to everyone contributing, especially Cameron
> Berkenpas who has been very helpful to a number of users and the main driving
> force for fixes:)
>
> Now to my issue: I own a Lenovo Yoga 7i 15ITL05 82AC with the ALC287.
> Currently
> it runs Ubuntu 22.04. LTS  with the included 5.15 Kernel. Before I have run
> Pop_OS 21.04. and 22.04. With all these distros, the sound worked partially
> but
> never fully. The experience is the same as many other users here, where there
> would only be sound coming out the from the downward firing speakers, but not
> from the soundbar above the keyboard, which are the bass speakers judging by
> the tinny sound I get now. The sound works beautifully in Windows, since the
> lower end frequencies can be replayed.
>
> Quite honestly, I've lost the overview over this thread and am not so sure
> which patch I should apply. I've tried manually update my Ubuntu 22.04. to
> the
> mainline 5.17 Kernel, which worked OS-wise but didn't change sound. My hope
> was
> that the sound patches have been included in that Kernel, but it seems
> they're
> only working for the Legion 7.
>
> Could someone point me to the right patch or verbs that have to be applied
> for
> my Lenovo model in order for the bass speakers to work? Maybe someone has
> figured it out for this particular case?
>
> Much thanks in advance.
>
> Here's my alsa-info:
>
> http://alsa-project.org/db/?f=ad3990bed59a24417ea6429250275012611a0302
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread cam
I would try try 5.17. 5.18 only came out yesterday, and therefore
doesn't even have any point releases so chances are reasonably high
you'll run into bugs.

Additionally, I don't have the ACHg6. It's possible you'll need to
specify which modules to load. In the likely event that 5.17 doesn't
work, perhaps someone can provide information on what's needed there.

Possibly these steps will work:
sudo modprobe snd-hda-codec-cs35l41-i2c
sudo modeprobe snd_soc_cs35l41_i2c
sudo modeprobe i2c-multi-instantiate

(In reply to she...@liang.at from comment #609)
> Thanks for the quick responses. I followed the instructions to install the
> latest version. Is it supposed to work if I installed 5.18 too? It's not
> working and it stopped recognising my external monitors too.
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread hnsinan.ta
Hello everyone,

I really appreciate this thread and all of the solutions that have been
produced for this issue. Thanks to everyone contributing, especially
Cameron Berkenpas who has been very helpful to a number of users and the
main driving force for fixes:)

Now to my issue: I own a Lenovo Yoga 7i 15ITL05 82AC with the ALC287.
Currently it runs Ubuntu 22.04. LTS  with the included 5.15 Kernel.
Before I have run Pop_OS 21.04. and 22.04. With all these distros, the
sound worked partially but never fully. The experience is the same as
many other users here, where there would only be sound coming out the
from the downward firing speakers, but not from the soundbar above the
keyboard, which are the bass speakers judging by the tinny sound I get
now. The sound works beautifully in Windows, since the lower end
frequencies can be replayed.

Quite honestly, I've lost the overview over this thread and am not so
sure which patch I should apply. I've tried manually update my Ubuntu
22.04. to the mainline 5.17 Kernel, which worked OS-wise but didn't
change sound. My hope was that the sound patches have been included in
that Kernel, but it seems they're only working for the Legion 7.

Could someone point me to the right patch or verbs that have to be
applied for my Lenovo model in order for the bass speakers to work?
Maybe someone has figured it out for this particular case?

Much thanks in advance.

Here's my alsa-info:

http://alsa-project.org/db/?f=ad3990bed59a24417ea6429250275012611a0302

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread hnsinan.ta
Hello everyone,

I really appreciate this thread and all of the solutions that have been
produced for this issue. Thanks to everyone contributing, especially
Cameron Berkenpas who has been very helpful to a number of users and the
main driving force for fixes:)

Now to my issue: I own a Lenovo Yoga 7i 15ITL05 82AC with the ALC287.
Currently it runs Ubuntu 22.04. LTS  with the included 5.15 Kernel.
Before I have run Pop_OS 21.04. and 22.04. With all these distros, the
sound worked partially but never fully. The experience is the same as
many other users here, where there would only be sound coming out the
from the downward firing speakers, but not from the soundbar above the
keyboard, which are the bass speakers judging by the tinny sound I get
now. The sound works beautifully in Windows, since the lower end
frequencies can be replayed.

Quite honestly, I've lost the overview over this thread and am not so
sure which patch I should apply. I've tried manually update my Ubuntu
22.04. to the mainline 5.17 Kernel, which worked OS-wise but didn't
change sound. My hope was that the sound patches have been included in
that Kernel, but it seems they're only working for the Legion 7.

Could someone point me to the right patch or verbs that have to be
applied for my Lenovo model in order for the bass speakers to work?
Maybe someone has figured it out for this particular case?

Much thanks in advance.

Here's my alsa-info:

http://alsa-project.org/db/?f=ad3990bed59a24417ea6429250275012611a0302

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-23 Thread sheryl
Thanks for the quick responses. I followed the instructions to install
the latest version. Is it supposed to work if I installed 5.18 too? It's
not working and it stopped recognising my external monitors too.

(In reply to Cameron Berkenpas from comment #608)
> Seems like this is the best way to do it (but if someone knows of a better
> way for Ubuntu, let us know):
> https://sleeplessbeastie.eu/2021/11/01/how-to-install-mainline-linux-kernel-
> on-ubuntu-based-distribution/
> 
> Seems this gets you a tool that allows you to manage and install mainline
> kernels. You'll need a 5.17 (which is the latest stable mainline release) to
> get your sound working.
> 
> Keep us posted.
> 
> 
> (In reply to Cameron Berkenpas from comment #607)
> 
> > There should be a repo you can add on your system to be able to pull the 
> > latest mainline kernels. I don't have it handy at the moment as I've 
> > been building/installing kernels myself since the 90's, but I'll try 
> > find it and post it in a little bit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread cam
Seems like this is the best way to do it (but if someone knows of a better way 
for Ubuntu, let us know):
https://sleeplessbeastie.eu/2021/11/01/how-to-install-mainline-linux-kernel-on-ubuntu-based-distribution/

Seems this gets you a tool that allows you to manage and install
mainline kernels. You'll need a 5.17 (which is the latest stable
mainline release) to get your sound working.

Keep us posted.


(In reply to Cameron Berkenpas from comment #607)

> There should be a repo you can add on your system to be able to pull the 
> latest mainline kernels. I don't have it handy at the moment as I've 
> been building/installing kernels myself since the 90's, but I'll try 
> find it and post it in a little bit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread cam
According to your alsa-info, you have the already supported 16ACHg6 
which is supported in the latest versions of the kernel.

There should be a repo you can add on your system to be able to pull the 
latest mainline kernels. I don't have it handy at the moment as I've 
been building/installing kernels myself since the 90's, but I'll try 
find it and post it in a little bit.

The steps Woody shared are not necessary (no offense Woody), because:

1) Your hardware is already officially supported in newer kernel
versions.

2) Our models of laptop have amp chips that are on the i2c bus and 
therefore cannot be enabled via HDA verbs.

On 5/22/22 06:31, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> she...@liang.at (she...@liang.at) changed:
>
> What|Removed |Added
> 
>   CC||she...@liang.at
>
> --- Comment #603 from she...@liang.at (she...@liang.at) ---
> Hi all,
> I'm facing the same problem with my Lenovo Legion 7. I'm running Ubuntu
> 20.04.4
> LTS and am not very familiar with kernels. I tried finding the linux source
> folder/directory, open the file: sound/pci/hda/patch_realtek.c but I don't
> have
> the pci folder.
>
> Is there already a solution for this?
>
> My alsa-info:
> http://alsa-project.org/db/?f=bb246fbe1fe783444da0b95a9bab4fba09613c8a
>
> Appreciate any suggestions.
> Thanks!
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread andreas
So maybe for all not used to build kernel modules you may give that a try:
(sorry a comment describing that was 409)


# install hda-verb
# hopefully I have found the correct one
sudo apt-get install alsa-tools
# get applyverb.py
https://github.com/ryanprescott/realtek-verb-tools
# get the verbs txt file which does the miracle, i.e.
https://bugzilla.kernel.org/attachment.cgi?id=297545
# patch the chip:
sudo python3 applyverbs.py verbs.txt

then run a youtube video or any other sound stuff ...

Woody64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread andreas
(In reply to she...@liang.at from comment #603)
> Hi all,
> I'm facing the same problem with my Lenovo Legion 7. I'm running Ubuntu
> 20.04.4 LTS and am not very familiar with kernels. I tried finding the linux
> source folder/directory, open the file: sound/pci/hda/patch_realtek.c but I
> don't have the pci folder.
> 
> Is there already a solution for this?
> 
> My alsa-info:
> http://alsa-project.org/db/?f=bb246fbe1fe783444da0b95a9bab4fba09613c8a
> 
> Appreciate any suggestions.
> Thanks!

Seems you haven't installed the kernel source tree.

Obtain the kernel headers and the compiler, and download the kernel sources ...
sudo apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)

For compiling a kernel module that's a good doc. Start with:
https://yoursunny.com/t/2018/one-kernel-module/

... at the end there's only the need to replace one kernel module

Seems that your ALC287 has the id
0x17aa3847

Unfortunately having never done that before will need some learning time
...


The 2nd method would be to use the applyverbs method used also in one of our 
early trials (see comment 403).
Please make sure that the underlying "hda-verb" is installed, which may need 
some searching.
It simple fires the needed sequence to the devices as done in the kernel patch.

Good luck ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread dober
Created attachment 301012
attachment-29335-0.html

I am currently out of the office on holiday I will be returning on
Monday June 6, I will have limited access to email.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-22 Thread sheryl
Hi all,
I'm facing the same problem with my Lenovo Legion 7. I'm running Ubuntu 20.04.4 
LTS and am not very familiar with kernels. I tried finding the linux source 
folder/directory, open the file: sound/pci/hda/patch_realtek.c but I don't have 
the pci folder.

Is there already a solution for this?

My alsa-info: http://alsa-
project.org/db/?f=bb246fbe1fe783444da0b95a9bab4fba09613c8a

Appreciate any suggestions.
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-19 Thread cam
Created attachment 300990
attachment-14829-0.html

 From your alsa-info (thanks!), I see that your subsystem id is 0x3822 
compared to the 0x1813 of the 15IMHG05.

In the root of the linux source folder/directory, open the file:
sound/pci/hda/patch_realtek.c

Find this line:
SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", 
ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),

Next to that line (before or after doesn't matter), add your own line:
SND_PCI_QUIRK(0x17aa, 0x3822, "Legion 7i 15IMH5", 
ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),

If the ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS fix doesn't work for your 
laptop, try theALC287_FIXUP_YOGA7_14ITL_SPEAKERS fix as well. Ie,
SND_PCI_QUIRK(0x17aa, 0x3822, "Legion 7i 15IMH5", 
ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),

But given the similarities between our laptop models, I strongly suspect 
the 15IMHG05 fix will work for your laptop as well.

Looks like you're running linux Mint, which, IIRC, is based on Debian or 
Ubuntu. For deb based distributions, you can build packages for your 
kernel like this:
make bindeb-pkg

You only really need the linux-image and linux-headers (for Nvidia) 
packages. To speed up the compile, you can pass in the -j option to 
parallelize the build:
make -j$(nproc) bindeb-pkg


On 5/17/22 14:32, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #601 from Andrei Miculita (andreimiculita+k...@gmail.com) ---
> (In reply to Cameron Berkenpas from comment #600)
>> Looking at the model number, there's a chance it's compatible with the
>> verbs of the 15IMHG05, or another model from around that time.
>>
>> Do you know how to build and run your own kernel?
>>
>> Also, please provide a URL to your alsa-info.
>>
>> On 5/15/2022 12:12 PM,bugzilla-dae...@kernel.org  wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>>>
>>> --- Comment #599 from Andrei Miculita (andreimiculita+k...@gmail.com) ---
>>> Lenovo Legion S7 15IMH5
>>>
>>> Has anyone managed to get their sound working on it? Would appreciate a
>>> tutorial or some tips (the more specific, the better, as this thread is
>> full
>>> of
>>> other devices as well and it'd take a long time to try everything)
>>>
>
> I do, it might take me a while to get it done if I start now, but I've done
> it
> before for fun.
>
>
> My alsa-info:
> http://alsa-project.org/db/?f=c1ba1098da13b2d7d6793fbce823e4feed2ac4ee
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-18 Thread andreimiculita+kern
(In reply to Cameron Berkenpas from comment #600)
> Looking at the model number, there's a chance it's compatible with the 
> verbs of the 15IMHG05, or another model from around that time.
> 
> Do you know how to build and run your own kernel?
> 
> Also, please provide a URL to your alsa-info.
> 
> On 5/15/2022 12:12 PM, bugzilla-dae...@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=208555
> >
> > --- Comment #599 from Andrei Miculita (andreimiculita+k...@gmail.com) ---
> > Lenovo Legion S7 15IMH5
> >
> > Has anyone managed to get their sound working on it? Would appreciate a
> > tutorial or some tips (the more specific, the better, as this thread is
> full
> > of
> > other devices as well and it'd take a long time to try everything)
> >


I do, it might take me a while to get it done if I start now, but I've done it 
before for fun. 


My alsa-info:
http://alsa-project.org/db/?f=c1ba1098da13b2d7d6793fbce823e4feed2ac4ee

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-16 Thread cam
Looking at the model number, there's a chance it's compatible with the 
verbs of the 15IMHG05, or another model from around that time.

Do you know how to build and run your own kernel?

Also, please provide a URL to your alsa-info.

On 5/15/2022 12:12 PM, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> --- Comment #599 from Andrei Miculita (andreimiculita+k...@gmail.com) ---
> Lenovo Legion S7 15IMH5
>
> Has anyone managed to get their sound working on it? Would appreciate a
> tutorial or some tips (the more specific, the better, as this thread is full
> of
> other devices as well and it'd take a long time to try everything)
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-16 Thread andreimiculita+kern
Lenovo Legion S7 15IMH5

Has anyone managed to get their sound working on it? Would appreciate a
tutorial or some tips (the more specific, the better, as this thread is
full of other devices as well and it'd take a long time to try
everything)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-05-12 Thread ke.naveen433
In my case I am using Lenovo yoga slim7 and install pop-os with 5.16.19
kernel. I am able to generate audio output, but failed at input devices.
Any help is appreciated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-09 Thread darinsmiller
(In reply to semaj4712 from comment #596)
> I am assuming this is the same issue.  My laptop is a Yoga 9 and I am able
> to get sound but it is very quite, not nearly as loud as in Windows.  I have
> the pavucontrol cranked all the way up and its still super quite.
> 
> Host: 82LU Yoga 9 14IAP7
> Kernel: 5.17.1-arch1-1
> 
> I was under the understanding that upgrading to 5.17 would fix this but I
> guess not.  Any help is appreciated

Use aslamixer to increase max volume (command line tool).  Some recent
versions of pipewire tends to reset devices to very low levels and
pavucontrol is not able to override the volume limiters. A couple of my
systems required this method to fix sound volumes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-09 Thread semaj4712
I am assuming this is the same issue.  My laptop is a Yoga 9 and I am
able to get sound but it is very quite, not nearly as loud as in
Windows.  I have the pavucontrol cranked all the way up and its still
super quite.

Host: 82LU Yoga 9 14IAP7
Kernel: 5.17.1-arch1-1

I was under the understanding that upgrading to 5.17 would fix this but
I guess not.  Any help is appreciated

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-06 Thread cam
The issue appears to be that the Nvidia kernel module is failing to
build and therefore you do not have working Nvidia support with this
kernel. I'm not sure how you configured your kernel so I suspect you
have one OR both of the following issues:

1. Nvidia's drivers do not yet support 5.18-rc1. Either Nvidia hasn't
added support yet or your distribution's drivers are a little behind.
Given that this is an rc1, it could be Nvidia that's behind.

2. Something in your kernel config is incompatible with the Nvidia
drivers.

I strongly suspect it's #1 as others are having the same problem.

try:
lsmod | grep nvidia

You likely won't see anything.

At this point, it depends what's more important to you... Gaming or
sound. You can revert to an older kernel or remove the Nvidia drivers
for now. Eventually, newer kernels will be supported. In my experience,
Nvidia usually isn't too far behind the curve on newer kernel support.

On a related note, brightness control with Nvidia in discrete mode has
never worked for me on my Lenovo Legion 7i 16ITHg6.

(In reply to Darin Miller from comment #594)
> Currently the 5.18-rc1 kernel throws an error when attempting install 510
> drivers:
> 
>dpkg: error processing package nvidia-driver-510 (--configure):
>  dependency problems - leaving unconfigured
> 
> Subsequently, laptop refuses to boot discrete graphics when prime-select =
> nvidia.  However, on-demand "works" (but no perf tests to support). 
> 
> Regardless, brightness control have always worked in on-demand or "intel"
> (built-in vega) graphics mode. 
> 
> As soon as I can fully install the 510 driver, I will check brightness
> controls and report back. (We need another thread for this discussion other
> this bug report... any suggestions?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-05 Thread darinsmiller
Currently the 5.18-rc1 kernel throws an error when attempting install
510 drivers:

   dpkg: error processing package nvidia-driver-510 (--configure):
 dependency problems - leaving unconfigured

Subsequently, laptop refuses to boot discrete graphics when prime-select
= nvidia.  However, on-demand "works" (but no perf tests to support).

Regardless, brightness control have always worked in on-demand or
"intel" (built-in vega) graphics mode.

As soon as I can fully install the 510 driver, I will check brightness
controls and report back. (We need another thread for this discussion
other this bug report... any suggestions?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-05 Thread thijs
(In reply to Popescu Robertto from comment #592)
> (In reply to bettodiaz from comment #591)
> > (In reply to Darin Miller from comment #590)
> > > Ubuntu kernel 5.18v-rc1 includes the sound patches that fix sound for
> > > LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6 :
> > > 
> > > https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18-rc1/
> > > 
> > > Thank you everyone for all your efforts!
> > 
> > I installed the kernel in PopOS, and it works! I now have speakers
> working!!!
> > They sound a lot quieter and crappier than in Windows, but now they work.
> > 
> > Thanks!
> 
> Can anyone change brightness with this kernel?

I have not tried that mentioned ubuntu kernel.

With the source of 5.17.0-rc8+ and patches as described in this thread I
do have audio but no brightness control. It does show a brightness bar
on screen when hitting the keys, but no effect on screen itself.

Running linux mint 20.3, XFCE version, on Lenovo Legion 7 16ACHg6 82N6.

Note: before running this patched kernel, also my laptop screen
sometimes stayed black after then screensaver/screen-lock was active.
With the patched rc8 I have not seen that happening anymore. Running
nvidia 510.54-* drivers.

Thijs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-05 Thread roberttopopescu
(In reply to bettodiaz from comment #591)
> (In reply to Darin Miller from comment #590)
> > Ubuntu kernel 5.18v-rc1 includes the sound patches that fix sound for
> > LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6 :
> > 
> > https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18-rc1/
> > 
> > Thank you everyone for all your efforts!
> 
> I installed the kernel in PopOS, and it works! I now have speakers working!!!
> They sound a lot quieter and crappier than in Windows, but now they work.
> 
> Thanks!

Can anyone change brightness with this kernel?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-05 Thread lord.dreiden
(In reply to Darin Miller from comment #590)
> Ubuntu kernel 5.18v-rc1 includes the sound patches that fix sound for
> LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6 :
> 
> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18-rc1/
> 
> Thank you everyone for all your efforts!

I installed the kernel in PopOS, and it works! I now have speakers working!!!
They sound a lot quieter and crappier than in Windows, but now they work.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-04 Thread darinsmiller
Ubuntu kernel 5.18v-rc1 includes the sound patches that fix sound for
LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6 :

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18-rc1/

Thank you everyone for all your efforts!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-04 Thread lord.dreiden
I am using Pop_OS 21.10, with xanmod edge kernel(5.17.1) and no audio
either :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-04 Thread k77.wolf
(In reply to jansen from comment #587)
> Can somebody confirm what Kernel this is actually submitted to as a working
> solution without patches etc? I have been following for a long time and I
> was under the impression that the official 5.17 release had it incorporated?
> 
> I am currently using Manjaro Linux with the 5.17.1-3 kernel, and I still
> have no sound from the speakers.
> 
> ->> Legion 7-16ACHg6 Laptop (Lenovo) - Type 82N6
> 
> Any help appreciated. I really don't want to bother with patches etc, I just
> would like to know what official kernel will get my speakers working. Thanks

The same issue.

Linux mint 20.3 with the 5.17.1 kernel, no sound from the speakers

->> Legion 7 16ACHg6 (Lenovo)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-04-03 Thread vinesh.geiger
Can somebody confirm what Kernel this is actually submitted to as a
working solution without patches etc? I have been following for a long
time and I was under the impression that the official 5.17 release had
it incorporated?

I am currently using Manjaro Linux with the 5.17.1-3 kernel, and I still
have no sound from the speakers.

->> Legion 7-16ACHg6 Laptop (Lenovo) - Type 82N6

Any help appreciated. I really don't want to bother with patches etc, I
just would like to know what official kernel will get my speakers
working. Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-19 Thread pvineet131
(In reply to Mark York from comment #580)
> (In reply to vpi from comment #579)
> > (In reply to Mark York from comment #578)
> > > (In reply to vpi from comment #577)
> > > > (In reply to Darin Miller from comment #563)
> > > > > *Ubuntu version:
> > > > > 
> > > > > 1) install kernel build tools:
> > > > > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > > > > 
> > > > > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev
> > dkms
> > > > > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > > > > 
> > > > > 2) clone the kernel from github and checkout to v5.17 branch (Rather
> > > large,
> > > > > multiple GB's):
> > > > > 
> > > > > * git clone https://github.com/torvalds/linux.git
> > > > > * cd linux
> > > > > * git checkout v5.17-rc4
> > > > > 
> > > > > 3) get the patch and install it:
> > > > > 
> > > > > get the patch form this site and save to "linux" directory: (top
> right
> > > > > corner "series" button) and use the following "git am ..." line to
> > apply
> > > > the
> > > > > patch:
> > > > >
> > > >
> > >
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > > > > sbind...@opensource.cirrus.com/
> > > > > 
> > > > > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > > > > 
> > > > > 4) load current kernel config and change configuration then run the
> > > > > following scripts/config commands:
> > > > > 
> > > > > * make olddefconfig
> > > > > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > > > > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > > > > 
> > > > > 6) build the kernel
> > > > > 
> > > > > * make -j 16
> > > > > 
> > > > > 7) install the kernel
> > > > > 
> > > > > * sudo make module_install
> > > > > * sudo make install
> > > > 
> > > > Hi guys,
> > > > 
> > > > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu
> 20.04).
> > I
> > > > followed these steps (checked out the v5.17-rc8 branch on git) but at
> the
> > > > end I am getting this error at the last step, just before running sudo
> > make
> > > > install:
> > > > 
> > > > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> > > > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
> > > >   arch/x86/boot/bzImage System.map "/boot"
> > > > 
> > > >  *** Missing file: arch/x86/boot/bzImage
> > > >  *** You need to run "make" before "make install".
> > > > 
> > > > make: *** [arch/x86/Makefile:278: install] Error 1
> > > > 
> > > > Any help would be appreciated
> > > 
> > > 
> > > Hello @vpi
> > > 
> > > Before running "make install" you need to compile the kernel with "make".
> > > "make install" will install the compiled kernel, so you need to compile
> it
> > > first.
> > 
> > Hi Mark,
> > 
> > I should've been clearer in my last comment. I followed the instructions
> > stepwise, which means I ran "make -j 16" before running "make install". And
> > yet I was getting this error.
> 
> Hi vpi,
> 
> I would recommend to start fresh. What I would do is:
>  1. Get into the kernel config with "make menuconfig", load the .config file
> from the "Load" button at the bottom.
>  2. Exit the menu, this will save the and accommodate the config.
>  3. Compile the kernel with "make" and whatever options you want.
>  3. Compile the kernel modules (if you have chosen to build drivers as
> modules) with "make modules_install".
>  5. Install the kernel image in /boot with "make install".
> 
> Try this and let me know of the results. I'm really interested in fixing
> this problem myself as well. I have a Legion 7 16ACHg6 (AMD) and speakers
> don't work on Arch Linux.
>  4.

Since its my first time doing this, I am kinda confused about these
steps. When I run "make menuconfig" and try to load the file at path
.config in the subsequent screen, it says file does not exist. So where
am I supposed to find this?

And when you say "Remember to check GRUB's config files to include the
new kernel image." what exactly do you mean? Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread henry.hormaza
(In reply to Alex from comment #584)
> (In reply to henry.hormaza from comment #583)
> > Hi, I'm trying the new fedora 36, right now it has the 5.17.0 RC8, what
> > should I do to enable the configuration without building the kernel? or is
> > just that the RC8 don't have the patch yet?
> 
> I using Fedora 35 right now, I have the Galaxy Book Pro 360, but it has the
> ALC298 realtek chip. I tried this patch for the kernel within this bug
> report but still didn't work for me. Also, the kernel 5.16.15 still doesn't
> seem to have a fix or even 5.17.
> 
> However, this guide works:
> https://forum.manjaro.org/t/howto-set-up-the-audio-card-in-samsung-galaxy-
> book/37090
> 
> All I needed to do was install alsa-tools then run the script with the
> hda-verbs and after running the script (need to run it a few times) my audio
> works from my speakers and headphone. Without this, just audio works from
> headphone jack but not from speakers.
> 
> Additionally, after some time maybe 1 hr or so, or, if I exit a page with
> audio running, I need to re run the script again to apply the hda-verbs for
> my speakers to work.
> 
> Anyways, that worked for me and it might work for you. No need to mess with
> any kernel patches.

I already have my laptop with sound on fedora 35 (comment 560), I was
talking about the kernel 5.17 that will be set in fedora 36. I don't
understand how is merged every patch in a new kernel release.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread alexzoller1
(In reply to henry.hormaza from comment #583)
> Hi, I'm trying the new fedora 36, right now it has the 5.17.0 RC8, what
> should I do to enable the configuration without building the kernel? or is
> just that the RC8 don't have the patch yet?

I using Fedora 35 right now, I have the Galaxy Book Pro 360, but it has
the ALC298 realtek chip. I tried this patch for the kernel within this
bug report but still didn't work for me. Also, the kernel 5.16.15 still
doesn't seem to have a fix or even 5.17.

However, this guide works: https://forum.manjaro.org/t/howto-set-up-the-
audio-card-in-samsung-galaxy-book/37090

All I needed to do was install alsa-tools then run the script with the
hda-verbs and after running the script (need to run it a few times) my
audio works from my speakers and headphone. Without this, just audio
works from headphone jack but not from speakers.

Additionally, after some time maybe 1 hr or so, or, if I exit a page
with audio running, I need to re run the script again to apply the hda-
verbs for my speakers to work.

Anyways, that worked for me and it might work for you. No need to mess
with any kernel patches.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread henry.hormaza
Hi, I'm trying the new fedora 36, right now it has the 5.17.0 RC8, what
should I do to enable the configuration without building the kernel? or
is just that the RC8 don't have the patch yet?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread bugsmy
(In reply to Mark York from comment #580)
> (In reply to vpi from comment #579)
> > (In reply to Mark York from comment #578)
> > > (In reply to vpi from comment #577)
> > > > (In reply to Darin Miller from comment #563)
> > > > > *Ubuntu version:
> > > > > 
> > > > > 1) install kernel build tools:
> > > > > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > > > > 
> > > > > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev
> > dkms
> > > > > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > > > > 
> > > > > 2) clone the kernel from github and checkout to v5.17 branch (Rather
> > > large,
> > > > > multiple GB's):
> > > > > 
> > > > > * git clone https://github.com/torvalds/linux.git
> > > > > * cd linux
> > > > > * git checkout v5.17-rc4
> > > > > 
> > > > > 3) get the patch and install it:
> > > > > 
> > > > > get the patch form this site and save to "linux" directory: (top
> right
> > > > > corner "series" button) and use the following "git am ..." line to
> > apply
> > > > the
> > > > > patch:
> > > > >
> > > >
> > >
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > > > > sbind...@opensource.cirrus.com/
> > > > > 
> > > > > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > > > > 
> > > > > 4) load current kernel config and change configuration then run the
> > > > > following scripts/config commands:
> > > > > 
> > > > > * make olddefconfig
> > > > > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > > > > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > > > > 
> > > > > 6) build the kernel
> > > > > 
> > > > > * make -j 16
> > > > > 
> > > > > 7) install the kernel
> > > > > 
> > > > > * sudo make module_install
> > > > > * sudo make install
> > > > 
> > > > Hi guys,
> > > > 
> > > > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu
> 20.04).
> > I
> > > > followed these steps (checked out the v5.17-rc8 branch on git) but at
> the
> > > > end I am getting this error at the last step, just before running sudo
> > make
> > > > install:
> > > > 
> > > > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> > > > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
> > > >   arch/x86/boot/bzImage System.map "/boot"
> > > > 
> > > >  *** Missing file: arch/x86/boot/bzImage
> > > >  *** You need to run "make" before "make install".
> > > > 
> > > > make: *** [arch/x86/Makefile:278: install] Error 1
> > > > 
> > > > Any help would be appreciated
> > > 
> > > 
> > > Hello @vpi
> > > 
> > > Before running "make install" you need to compile the kernel with "make".
> > > "make install" will install the compiled kernel, so you need to compile
> it
> > > first.
> > 
> > Hi Mark,
> > 
> > I should've been clearer in my last comment. I followed the instructions
> > stepwise, which means I ran "make -j 16" before running "make install". And
> > yet I was getting this error.
> 
> Hi vpi,
> 
> I would recommend to start fresh. What I would do is:
>  1. Get into the kernel config with "make menuconfig", load the .config file
> from the "Load" button at the bottom.
>  2. Exit the menu, this will save the and accommodate the config.
>  3. Compile the kernel with "make" and whatever options you want.
>  3. Compile the kernel modules (if you have chosen to build drivers as
> modules) with "make modules_install".
>  5. Install the kernel image in /boot with "make install".
> 
> Try this and let me know of the results. I'm really interested in fixing
> this problem myself as well. I have a Legion 7 16ACHg6 (AMD) and speakers
> don't work on Arch Linux.
>  4.

I forgot to mention that you should add the patches after loading the
conf file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread bugsmy
(In reply to Mark York from comment #580)
> (In reply to vpi from comment #579)
> > (In reply to Mark York from comment #578)
> > > (In reply to vpi from comment #577)
> > > > (In reply to Darin Miller from comment #563)
> > > > > *Ubuntu version:
> > > > > 
> > > > > 1) install kernel build tools:
> > > > > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > > > > 
> > > > > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev
> > dkms
> > > > > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > > > > 
> > > > > 2) clone the kernel from github and checkout to v5.17 branch (Rather
> > > large,
> > > > > multiple GB's):
> > > > > 
> > > > > * git clone https://github.com/torvalds/linux.git
> > > > > * cd linux
> > > > > * git checkout v5.17-rc4
> > > > > 
> > > > > 3) get the patch and install it:
> > > > > 
> > > > > get the patch form this site and save to "linux" directory: (top
> right
> > > > > corner "series" button) and use the following "git am ..." line to
> > apply
> > > > the
> > > > > patch:
> > > > >
> > > >
> > >
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > > > > sbind...@opensource.cirrus.com/
> > > > > 
> > > > > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > > > > 
> > > > > 4) load current kernel config and change configuration then run the
> > > > > following scripts/config commands:
> > > > > 
> > > > > * make olddefconfig
> > > > > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > > > > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > > > > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > > > > 
> > > > > 6) build the kernel
> > > > > 
> > > > > * make -j 16
> > > > > 
> > > > > 7) install the kernel
> > > > > 
> > > > > * sudo make module_install
> > > > > * sudo make install
> > > > 
> > > > Hi guys,
> > > > 
> > > > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu
> 20.04).
> > I
> > > > followed these steps (checked out the v5.17-rc8 branch on git) but at
> the
> > > > end I am getting this error at the last step, just before running sudo
> > make
> > > > install:
> > > > 
> > > > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> > > > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
> > > >   arch/x86/boot/bzImage System.map "/boot"
> > > > 
> > > >  *** Missing file: arch/x86/boot/bzImage
> > > >  *** You need to run "make" before "make install".
> > > > 
> > > > make: *** [arch/x86/Makefile:278: install] Error 1
> > > > 
> > > > Any help would be appreciated
> > > 
> > > 
> > > Hello @vpi
> > > 
> > > Before running "make install" you need to compile the kernel with "make".
> > > "make install" will install the compiled kernel, so you need to compile
> it
> > > first.
> > 
> > Hi Mark,
> > 
> > I should've been clearer in my last comment. I followed the instructions
> > stepwise, which means I ran "make -j 16" before running "make install". And
> > yet I was getting this error.
> 
> Hi vpi,
> 
> I would recommend to start fresh. What I would do is:
>  1. Get into the kernel config with "make menuconfig", load the .config file
> from the "Load" button at the bottom.
>  2. Exit the menu, this will save the and accommodate the config.
>  3. Compile the kernel with "make" and whatever options you want.
>  3. Compile the kernel modules (if you have chosen to build drivers as
> modules) with "make modules_install".
>  5. Install the kernel image in /boot with "make install".
> 
> Try this and let me know of the results. I'm really interested in fixing
> this problem myself as well. I have a Legion 7 16ACHg6 (AMD) and speakers
> don't work on Arch Linux.
>  4.

Remember to check GRUB's config files to include the new kernel image.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread bugsmy
(In reply to vpi from comment #579)
> (In reply to Mark York from comment #578)
> > (In reply to vpi from comment #577)
> > > (In reply to Darin Miller from comment #563)
> > > > *Ubuntu version:
> > > > 
> > > > 1) install kernel build tools:
> > > > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > > > 
> > > > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev
> dkms
> > > > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > > > 
> > > > 2) clone the kernel from github and checkout to v5.17 branch (Rather
> > large,
> > > > multiple GB's):
> > > > 
> > > > * git clone https://github.com/torvalds/linux.git
> > > > * cd linux
> > > > * git checkout v5.17-rc4
> > > > 
> > > > 3) get the patch and install it:
> > > > 
> > > > get the patch form this site and save to "linux" directory: (top right
> > > > corner "series" button) and use the following "git am ..." line to
> apply
> > > the
> > > > patch:
> > > >
> > >
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > > > sbind...@opensource.cirrus.com/
> > > > 
> > > > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > > > 
> > > > 4) load current kernel config and change configuration then run the
> > > > following scripts/config commands:
> > > > 
> > > > * make olddefconfig
> > > > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > > > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > > > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > > > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > > > 
> > > > 6) build the kernel
> > > > 
> > > > * make -j 16
> > > > 
> > > > 7) install the kernel
> > > > 
> > > > * sudo make module_install
> > > > * sudo make install
> > > 
> > > Hi guys,
> > > 
> > > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu 20.04).
> I
> > > followed these steps (checked out the v5.17-rc8 branch on git) but at the
> > > end I am getting this error at the last step, just before running sudo
> make
> > > install:
> > > 
> > > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> > > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
> > >   arch/x86/boot/bzImage System.map "/boot"
> > > 
> > >  *** Missing file: arch/x86/boot/bzImage
> > >  *** You need to run "make" before "make install".
> > > 
> > > make: *** [arch/x86/Makefile:278: install] Error 1
> > > 
> > > Any help would be appreciated
> > 
> > 
> > Hello @vpi
> > 
> > Before running "make install" you need to compile the kernel with "make".
> > "make install" will install the compiled kernel, so you need to compile it
> > first.
> 
> Hi Mark,
> 
> I should've been clearer in my last comment. I followed the instructions
> stepwise, which means I ran "make -j 16" before running "make install". And
> yet I was getting this error.

Hi vpi,

I would recommend to start fresh. What I would do is:
 1. Get into the kernel config with "make menuconfig", load the .config file 
from the "Load" button at the bottom.
 2. Exit the menu, this will save the and accommodate the config.
 3. Compile the kernel with "make" and whatever options you want.
 3. Compile the kernel modules (if you have chosen to build drivers as modules) 
with "make modules_install".
 5. Install the kernel image in /boot with "make install".

Try this and let me know of the results. I'm really interested in fixing this 
problem myself as well. I have a Legion 7 16ACHg6 (AMD) and speakers don't work 
on Arch Linux.
 4.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread pvineet131
(In reply to Mark York from comment #578)
> (In reply to vpi from comment #577)
> > (In reply to Darin Miller from comment #563)
> > > *Ubuntu version:
> > > 
> > > 1) install kernel build tools:
> > > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > > 
> > > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms
> > > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > > 
> > > 2) clone the kernel from github and checkout to v5.17 branch (Rather
> large,
> > > multiple GB's):
> > > 
> > > * git clone https://github.com/torvalds/linux.git
> > > * cd linux
> > > * git checkout v5.17-rc4
> > > 
> > > 3) get the patch and install it:
> > > 
> > > get the patch form this site and save to "linux" directory: (top right
> > > corner "series" button) and use the following "git am ..." line to apply
> > the
> > > patch:
> > >
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > > sbind...@opensource.cirrus.com/
> > > 
> > > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > > 
> > > 4) load current kernel config and change configuration then run the
> > > following scripts/config commands:
> > > 
> > > * make olddefconfig
> > > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > > 
> > > 6) build the kernel
> > > 
> > > * make -j 16
> > > 
> > > 7) install the kernel
> > > 
> > > * sudo make module_install
> > > * sudo make install
> > 
> > Hi guys,
> > 
> > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu 20.04). I
> > followed these steps (checked out the v5.17-rc8 branch on git) but at the
> > end I am getting this error at the last step, just before running sudo make
> > install:
> > 
> > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
> >   arch/x86/boot/bzImage System.map "/boot"
> > 
> >  *** Missing file: arch/x86/boot/bzImage
> >  *** You need to run "make" before "make install".
> > 
> > make: *** [arch/x86/Makefile:278: install] Error 1
> > 
> > Any help would be appreciated
> 
> 
> Hello @vpi
> 
> Before running "make install" you need to compile the kernel with "make".
> "make install" will install the compiled kernel, so you need to compile it
> first.

Hi Mark,

I should've been clearer in my last comment. I followed the instructions
stepwise, which means I ran "make -j 16" before running "make install".
And yet I was getting this error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1958019]

2022-03-18 Thread bugsmy
(In reply to vpi from comment #577)
> (In reply to Darin Miller from comment #563)
> > *Ubuntu version:
> > 
> > 1) install kernel build tools:
> > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> > 
> > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms
> > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> > 
> > 2) clone the kernel from github and checkout to v5.17 branch (Rather large,
> > multiple GB's):
> > 
> > * git clone https://github.com/torvalds/linux.git
> > * cd linux
> > * git checkout v5.17-rc4
> > 
> > 3) get the patch and install it:
> > 
> > get the patch form this site and save to "linux" directory: (top right
> > corner "series" button) and use the following "git am ..." line to apply
> the
> > patch:
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > sbind...@opensource.cirrus.com/
> > 
> > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> > 
> > 4) load current kernel config and change configuration then run the
> > following scripts/config commands:
> > 
> > * make olddefconfig
> > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> > 
> > 6) build the kernel
> > 
> > * make -j 16
> > 
> > 7) install the kernel
> > 
> > * sudo make module_install
> > * sudo make install
> 
> Hi guys,
> 
> This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu 20.04). I
> followed these steps (checked out the v5.17-rc8 branch on git) but at the
> end I am getting this error at the last step, just before running sudo make
> install:
> 
> arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
> sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \
>   arch/x86/boot/bzImage System.map "/boot"
> 
>  *** Missing file: arch/x86/boot/bzImage
>  *** You need to run "make" before "make install".
> 
> make: *** [arch/x86/Makefile:278: install] Error 1
> 
> Any help would be appreciated


Hello @vpi

Before running "make install" you need to compile the kernel with
"make". "make install" will install the compiled kernel, so you need to
compile it first.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

  1   2   >