Re: [DNG] HDA AD1882 no card

2022-01-10 Thread karl
Karl:
> I have a lenovo desktop computer which I cannot make sound work
> on, what am I missing ?
> 
> It's a HDA AD1882 "sound card", but alsamixer says "no card".
> 
>  alsa-info, kernel config and lenovo doc (see p.80) in:
> http://aspodata.se/tmp/sound/
> 
> ///
> 
> I run with static /dev (no udev) and
> boot directly to disk (no initrd).

Ok, found the culprit, the kernel was configured
with dynamic minors which doesn't play well with
static /dev. This config kicked in due to a hdmi
setting, so I missed it.

$ grep DYNAMIC_MINOR config-4.19.182-rt74a 
# CONFIG_DVB_DYNAMIC_MINORS is not set
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
$

Thanks, for all help.

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread al3xu5 via Dng
Sun,  9 Jan 2022 19:32:13 +0100 (CET) - k...@aspodata.se:

> I have a lenovo desktop computer which I cannot make sound work
> on, what am I missing ?
> 
> It's a HDA AD1882 "sound card", but alsamixer says "no card".
> 
>  alsa-info, kernel config and lenovo doc (see p.80) in:
> http://aspodata.se/tmp/sound/
> 
> ///
> 
> I run with static /dev (no udev) and
> boot directly to disk (no initrd).

Which is the output for:

$ cat /proc/asound/modules

and 

$ lsmod | grep snd



al3xu5

-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpOwIOJLMU6W.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread ael via Dng
On Mon, Jan 10, 2022 at 11:55:19AM +0100, k...@aspodata.se wrote:
> ael:
> > On Sun, Jan 09, 2022 at 07:32:13PM +0100, k...@aspodata.se wrote:
> > > I have a lenovo desktop computer which I cannot make sound work
> > > on, what am I missing ?

> I have used model=AD1882.
> Added modinfo output to above site.

I am pretty sure that is not a valid setting for the model parameter,
but you probably already concluded that.

Did not
#dmesg |grep -C 4 snd
show some complaint about that?

> > Look also in /proc/asound/cards
>  0 [Intel  ]: HDA-Intel - HDA Intel
   HDA Intel at 0xd01a irq 26

As I said before, that's encouraging...

Over to the experts...

ael

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread Ralph Ronnquist via Dng
On Mon, 10 Jan 2022 11:55:22 +0100 (CET)
k...@aspodata.se wrote:

> Nick:
> > On 09-01-2022 19:32, k...@aspodata.se wrote:  
> > > I have a lenovo desktop computer which I cannot make sound work
> > > on, what am I missing ?
> > >
> > > It's a HDA AD1882 "sound card", but alsamixer says "no card".  
> ...
> > Maybe obvious but is your sound card enabled in the BIOS? (I did
> > have that once so I always ask now)  
> 
> Yes, very obvious...
> The only configuration in BIOS I found is ENABLED/DISABLED,
> and yes, I have set it to ENABLED.
> 
> Setting it to DISABLE did not help.
> Nor did disabling pci parity, power management etc.

There's good stuff in kernel Documentation/sound/hd-audio/notes.rst
that may help, especially about probing.

Ralph.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread karl
Nick:
> On 09-01-2022 19:32, k...@aspodata.se wrote:
> > I have a lenovo desktop computer which I cannot make sound work
> > on, what am I missing ?
> >
> > It's a HDA AD1882 "sound card", but alsamixer says "no card".
...
> Maybe obvious but is your sound card enabled in the BIOS? (I did have 
> that once so I always ask now)

Yes, very obvious...
The only configuration in BIOS I found is ENABLED/DISABLED,
and yes, I have set it to ENABLED.

Setting it to DISABLE did not help.
Nor did disabling pci parity, power management etc.

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread karl
ael:
> On Sun, Jan 09, 2022 at 07:32:13PM +0100, k...@aspodata.se wrote:
> > I have a lenovo desktop computer which I cannot make sound work
> > on, what am I missing ?
> > 
> > It's a HDA AD1882 "sound card", but alsamixer says "no card".
> kernel Documentation/sound/hd-audio/models.rst
> includes
> 
> AD1882 / AD1882A
> 
> 3stack
> 3-stack mode
> 3stack-automute
> 3-stack with automute front HP (default)
> 6stack
> 6-stack mode
> 
> which I think means that these are possible "model" parameter
> values for the driver.
> 
> Perhaps worth trying those?

I have tried all thoose three as model parameter, still "no souncard".

Regards,
/Karl Hammar

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-10 Thread karl
ael:
> On Sun, Jan 09, 2022 at 07:32:13PM +0100, k...@aspodata.se wrote:
> > I have a lenovo desktop computer which I cannot make sound work
> > on, what am I missing ?
> > 
> > It's a HDA AD1882 "sound card", but alsamixer says "no card".
> > 
> >  alsa-info, kernel config and lenovo doc (see p.80) in:
> > http://aspodata.se/tmp/sound/
...
> I would start with 
> # lspci -k |less 

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 02)
Subsystem: Lenovo 82801I (ICH9 Family) HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

Added lspci output to above site.
...
> # modinfo snd_hda_intel (or whatver your driver is)
> Seems plausible that you may need to adjust some parameters there to
> match your hardware. But you have an old lenova which surely must have
> been sorted out years ago?

Hmm, there are a lot of parameters.
I have used model=AD1882.
Added modinfo output to above site.

> $ aplay -l
aplay: device_list:274: no soundcards found...

> Look also in /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xd01a irq 26

Regards,
/Karl Hammar

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-09 Thread d...@d404.nl

On 09-01-2022 19:32, k...@aspodata.se wrote:

I have a lenovo desktop computer which I cannot make sound work
on, what am I missing ?

It's a HDA AD1882 "sound card", but alsamixer says "no card".

  alsa-info, kernel config and lenovo doc (see p.80) in:
http://aspodata.se/tmp/sound/

///

I run with static /dev (no udev) and
boot directly to disk (no initrd).

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Maybe obvious but is your sound card enabled in the BIOS? (I did have 
that once so I always ask now)


Grtz.

Nick

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-09 Thread ael via Dng
On Sun, Jan 09, 2022 at 07:32:13PM +0100, k...@aspodata.se wrote:
> I have a lenovo desktop computer which I cannot make sound work
> on, what am I missing ?
> 
> It's a HDA AD1882 "sound card", but alsamixer says "no card".

kernel Documentation/sound/hd-audio/models.rst
includes

AD1882 / AD1882A

3stack
3-stack mode
3stack-automute
3-stack with automute front HP (default)
6stack
6-stack mode

which I think means that these are possible "model" parameter
values for the driver.

Perhaps worth trying those?

ael

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] HDA AD1882 no card

2022-01-09 Thread ael via Dng
On Sun, Jan 09, 2022 at 07:32:13PM +0100, k...@aspodata.se wrote:
> I have a lenovo desktop computer which I cannot make sound work
> on, what am I missing ?
> 
> It's a HDA AD1882 "sound card", but alsamixer says "no card".
> 
>  alsa-info, kernel config and lenovo doc (see p.80) in:
> http://aspodata.se/tmp/sound/

Nothing obvious that I could see there on a very superficial skim:
but you clearly have alsa seeing the audio devices at some level
which is encouraging.

I would start with 
# lspci -k |less 

and then identify the Audio and the driver which I think I noticed in
your alsa-info output: probably snd_hda_intel?

Perhaps then 
# modinfo snd_hda_intel (or whatver your driver is)

Seems plausible that you may need to adjust some parameters there to
match your hardware. But you have an old lenova which surely must have
been sorted out years ago?

It looks as if aplay (aka arecord) isn't seeing your cards, so start
there before bothering with alsamixer. 
$ aplay -l
would be a good start. Once aplay can see your card(s), I suspect 
all the other problems will vanish.

Look also in /proc/asound/cards

I am not an expert: I hope someone else knows far more.

ael


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] HDA AD1882 no card

2022-01-09 Thread karl
I have a lenovo desktop computer which I cannot make sound work
on, what am I missing ?

It's a HDA AD1882 "sound card", but alsamixer says "no card".

 alsa-info, kernel config and lenovo doc (see p.80) in:
http://aspodata.se/tmp/sound/

///

I run with static /dev (no udev) and
boot directly to disk (no initrd).

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng