[CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

[CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
the beep functionality on our thinkpads. Probably, as Henrique de Moraes
Holschuh write in this ML, is related to "ALSA switching the HDA
mixer+codec to "digital beeps" or whatever, which is incompatible with
the signal path used by the firmware." [1]

I would like to collect some test in order to report them to alsa-devel
mailing list.

So, make sure that:

- you have an hda-itel soundcard (according to thinkwiki these chips are
 installed into R/T/X/Z 60 [2] and R/T/X/Z 61 [3] )
- the laptop is running on AC power (and not on battery power)
- thinkpad-acpi is correctly loaded into kernel
- alsa mixer and volumes are set correctly (i.e.: Beep is not mute)

then, the first test:

Try to generate simply three beeps with thinkpad-acpi:

# echo 2 > /proc/acpi/ibm/beep

as root, or with sudo

$ sudo sh -c 'echo 2 > /proc/acpi/ibm/beep'

and now the second one:

Try to detach power chord, in order to produce the two firmware beeps
that notify the switch from powerline to battery.

Please report here the results of two test ( do you ear beeps? :P ) ,
the distribution you're using and kernel version ( $ uname -a ).

Many thanks for collaboration :)

k.

1)
http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2009-November/047805.html
2) http://www.thinkwiki.org/wiki/AD1981HD
3) http://www.thinkwiki.org/wiki/AD1984
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Mirco Piccin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
my laptop is a T60

> seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
> the beep functionality on our thinkpads.

i've no problems, anyway:

# lsmod | grep thinkpad
thinkpad_ec             6288  2 hdaps,tp_smapi
thinkpad_acpi          54060  0
rfkill                  9668  4 iwlcore,thinkpad_acpi
led_class               3852  3 iwl3945,iwlcore,thinkpad_acpi
nvram                   6376  1 thinkpad_acpi

> Try to generate simply three beeps with thinkpad-acpi:
> # echo 2 > /proc/acpi/ibm/beep

OK

> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.

OK

> Please report here the results of two test ( do you ear beeps? :P ) ,

yesss

>the distribution you're using and kernel version ( $ uname -a ).

# uname -r
2.6.30-2-686

# cat /etc/debian_version
squeeze/sid

Regards
M

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Ismael Olea :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




Please report here the results of two test ( do you ear beeps? :P ) ,
the distribution you're using and kernel version ( $ uname -a ).


No, I can't hear any beep in any case.

BTW I've found strange this output:

[root@lisergia ~]#  echo 2 > /proc/acpi/ibm/beep
[root@lisergia ~]# dmesg -c
ACPI Warning (nspredef-0290): \_SB_.PCI0.LPC_.EC__.BEEP: Excess arguments - needs 1, found 2 [20090320]

[root@lisergia ~]# uname -a
Linux lisergia.olea.org 2.6.30.9-90.fc11.i586 #1 SMP Sat Oct 17 11:09:52 EDT 2009 i686 i686 i386 GNU/Linux

This a Fedora 11 on a x61s.

--

Ismael Olea

http://olea.org/diario/

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <kionez.h>   // created 03/11/2009 11:03
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

I forgot to ask you to report the thinkpad model! :|

anyway..

No beeps here, T61 with gentoo. tested many kernels from 2.6.30 to 2.6.31.5

k.
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Thomas Hood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> # echo 2 > /proc/acpi/ibm/beep


This causes some faint clicks, but nothing like a beep.


 > Try to detach power chord, in order to produce the two firmware beeps
that notify the switch from powerline to battery.


This does not cause any sound to be emitted.


Specs:

X61 (*not* the tablet)

Ubuntu 9.10

# uname -a
Linux triffid 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC
2009 i686 GNU/Linux

# lsmod | grep thinkpad
thinkpad_acpi          67108  0
led_class               4096  3 ath5k,sdhci,thinkpad_acpi
nvram                   7528  1 thinkpad_acpi

# lsmod | grep snd
snd_hda_codec_analog    59292  1
snd_hda_intel          26920  2
snd_hda_codec          75708  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               7200  1 snd_hda_codec
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           2656  0
snd_seq_oss            28576  0
snd_seq_midi            6432  0
snd_rawmidi            22208  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  7
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  17
snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

soundcore               7264  1 snd
snd_page_alloc          9156  2 snd_hda_intel,snd_pcm
--
Thomas Hood

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Christoph Schied :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

On Tue, Nov 03, 2009 at 11:03:13AM +0100, kionez wrote:
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

No beeps.

linux version: 2.6.32-git
thinkpad x200
distribution is Funtoo

greetings, Christoph
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Mircea Gherzan-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kionez <kionez@...> wrote:
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

In both cases I hear the beeps. HAL is not running.

I'm using Debian Sid with a vanilla 2.6.32-rc5-00468-g1836d95.

--
Dipl.-Ing. Mircea Gherzan
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Mircea Gherzan.h>   // created 03/11/2009 14:03
>
> In both cases I hear the beeps. HAL is not running.
>
> I'm using Debian Sid with a vanilla 2.6.32-rc5-00468-g1836d95.

Thanks, i forgot to asking what thinkpad do you own!

There's a post in ML archive that reports a T500, is it correct?

k.
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Mircea Gherzan-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kionez <kionez@...> wrote:
> There's a post in ML archive that reports a T500, is it correct?

True, it's a T500 2082-6PG.

--
Dipl.-Ing. Mircea Gherzan
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Kevin Locke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-03 at 11:03 +0100, kionez wrote:
> I would like to collect some test in order to report them to alsa-devel
> mailing list.

Thanks for taking the time to gather this info.  I'm sure the ALSA
crew will appreciate having some idea of the impact this change
has/will have.

> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep

No beeps.

> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.

No beeps.

> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

Conducting this test on a T60p (2613-ESU), results observed on
2.6.31, 2.6.31.3, 2.6.31.5 kernels (and several 2.6.30, but I don't
recall exact versions) from kernel.org without any sound-related
patches applied, using Debian testing.

Kevin
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Christoph Bier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ThinkPad X200s
Ubuntu 9.04
Kernel 2.6.30-02063003-generic

kionez schrieb am 03.11.2009 11:03:

[...]

> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep
>
> as root, or with sudo
>
> $ sudo sh -c 'echo 2 > /proc/acpi/ibm/beep'

Produces three beeps.

> and now the second one:
>
> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.

Works---produces firmware beeps.

[...]

Best
Christoph
--
+++ Typografie-Regeln (1.7): http://zvisionwelt.de/?page_id=56

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Derek Dolney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-03 at 11:03 +0100, kionez wrote:

> Hi,
>
> seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
> the beep functionality on our thinkpads. Probably, as Henrique de Moraes
> Holschuh write in this ML, is related to "ALSA switching the HDA
> mixer+codec to "digital beeps" or whatever, which is incompatible with
> the signal path used by the firmware." [1]
>
> I would like to collect some test in order to report them to alsa-devel
> mailing list.
>
> So, make sure that:
>
> - you have an hda-itel soundcard (according to thinkwiki these chips are
>  installed into R/T/X/Z 60 [2] and R/T/X/Z 61 [3] )
> - the laptop is running on AC power (and not on battery power)
> - thinkpad-acpi is correctly loaded into kernel
> - alsa mixer and volumes are set correctly (i.e.: Beep is not mute)
>
> then, the first test:
>
> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep
>
> as root, or with sudo
>
> $ sudo sh -c 'echo 2 > /proc/acpi/ibm/beep'
>
> and now the second one:
>
> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.
>
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

No sound for either of the above tests, although tab completion does
produce beep.

Linux Schubert 2.6.31-gentoo-r4 #1 SMP Wed Oct 28 22:10:13 EDT 2009
x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

T61

>
> Many thanks for collaboration :)
>
> k.
>
> 1)
> http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2009-November/047805.html
> 2) http://www.thinkwiki.org/wiki/AD1981HD
> 3) http://www.thinkwiki.org/wiki/AD1984

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Christos Papadopoulos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All beeps work.

IBM Thinkpad X40, Fedora 11.
2.6.30.9-90.fc11.i586 #1 SMP

Christos.

On Tue, Nov 03, 2009 at 11:03:13AM +0100, kionez wrote:

> Hi,
>
> seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
> the beep functionality on our thinkpads. Probably, as Henrique de Moraes
> Holschuh write in this ML, is related to "ALSA switching the HDA
> mixer+codec to "digital beeps" or whatever, which is incompatible with
> the signal path used by the firmware." [1]
>
> I would like to collect some test in order to report them to alsa-devel
> mailing list.
>
> So, make sure that:
>
> - you have an hda-itel soundcard (according to thinkwiki these chips are
>  installed into R/T/X/Z 60 [2] and R/T/X/Z 61 [3] )
> - the laptop is running on AC power (and not on battery power)
> - thinkpad-acpi is correctly loaded into kernel
> - alsa mixer and volumes are set correctly (i.e.: Beep is not mute)
>
> then, the first test:
>
> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep
>
> as root, or with sudo
>
> $ sudo sh -c 'echo 2 > /proc/acpi/ibm/beep'
>
> and now the second one:
>
> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.
>
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).
>
> Many thanks for collaboration :)
>
> k.
>
> 1)
> http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2009-November/047805.html
> 2) http://www.thinkwiki.org/wiki/AD1981HD
> 3) http://www.thinkwiki.org/wiki/AD1984
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Marcus Better :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> # echo 2 > /proc/acpi/ibm/beep

No beep.

> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.

No sound either, but I believe I have turned those off in the BIOS.

> the distribution you're using and kernel version ( $ uname -a ).

Linux better 2.6.31.4 #4 SMP PREEMPT Wed Oct 14 14:02:44 UTC 2009 x86_64 GNU/Linux

Debian squeeze/sid amd64, Thinkpad T61p.

thinkpad_acpi: ThinkPad ACPI Extras v0.23
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 7LETB7WW (2.17 ), EC 7KHT24WW-1.08
thinkpad_acpi: Lenovo ThinkPad T61, model 64665WG


Cheers,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrwS7AACgkQXjXn6TzcAQn0aACeMon+puz4fL1uB59ob6eK11n1
/KgAn3tqIn2/3hpvJEUSCcSCDxqq8s0j
=+t+q
-----END PGP SIGNATURE-----


--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Chris Schumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kionez wrote:

> - you have an hda-itel soundcard (according to thinkwiki these chips are
>  installed into R/T/X/Z 60 [2] and R/T/X/Z 61 [3] )
> - the laptop is running on AC power (and not on battery power)
> - thinkpad-acpi is correctly loaded into kernel
> - alsa mixer and volumes are set correctly (i.e.: Beep is not mute)
>
> then, the first test:
>
> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep
>  
> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.
>  
> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).
>  
I get a beep beep, beep, with a slight pause between beeps 2 and 3, and I get the normal ThinkPad BE-doop when removing the power supply.

Same results for two different distributions:
Fedora 12 Snap 3 LiveCD, kernel: 2.6.31-23.f12.i686
Ubuntu 9.10 Desktop 32-bit LiveCD, kernel: 2.6.31-14.generic

Machine is a ThinkPad T60 with a Core Duo CPU. Model 2623-D7U.

Chris


--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Bjørn Mork :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kionez <kionez@...> writes:

> Hi,
>
> seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
> the beep functionality on our thinkpads. Probably, as Henrique de Moraes
> Holschuh write in this ML, is related to "ALSA switching the HDA
> mixer+codec to "digital beeps" or whatever, which is incompatible with
> the signal path used by the firmware." [1]
>
> I would like to collect some test in order to report them to alsa-devel
> mailing list.
>
> So, make sure that:
>
> - you have an hda-itel soundcard (according to thinkwiki these chips are
>  installed into R/T/X/Z 60 [2] and R/T/X/Z 61 [3] )

Only those chips or any HDA Intel?  AFAICS, the X301 is also using the
snd-hda-intel driver:

nemi:/home/bjorn# lspci -nnvvs 1b
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
        Subsystem: Lenovo Device [17aa:20f2]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at f0620000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

nemi:/home/bjorn# cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code)
Kernel: Linux nemi 2.6.31-1-amd64 #1 SMP Sat Oct 24 17:50:31 UTC 2009 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xf0620000 irq 17

Audio devices:
0: CONEXANT Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Conexant CX20561 (Hermosa)



> - the laptop is running on AC power (and not on battery power)
> - thinkpad-acpi is correctly loaded into kernel
> - alsa mixer and volumes are set correctly (i.e.: Beep is not mute)
>
> then, the first test:
>
> Try to generate simply three beeps with thinkpad-acpi:
>
> # echo 2 > /proc/acpi/ibm/beep
>
> as root, or with sudo
>
> $ sudo sh -c 'echo 2 > /proc/acpi/ibm/beep'

beeps 3 times

> and now the second one:
>
> Try to detach power chord, in order to produce the two firmware beeps
> that notify the switch from powerline to battery.

double beep both when detaching and attaching the power chord.

> Please report here the results of two test ( do you ear beeps? :P ) ,
> the distribution you're using and kernel version ( $ uname -a ).

Thinkpad X301

Debian sid/lenny

bjorn@nemi:~$  uname -a
Linux nemi 2.6.31-1-amd64 #1 SMP Sat Oct 24 17:50:31 UTC 2009 x86_64 GNU/Linux



Bjørn
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Kevin Locke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-03 at 11:39 +0100, Mirco Piccin wrote:
> my laptop is a T60
>
>> seems that with new ALSA version ( starting frm kernel 2.6.30) we loose
>> the beep functionality on our thinkpads.
>
> i've no problems, anyway:

Interesting!  I would have thought, for sure, that you would be
affected by this bug.  We have very similar systems (hardware and
software), so it could be a great point of comparison for tracking
down some more specifics of the bug.  Would you be willing to do some
more diagnosis?

I have attempted to match my configuration to yours and test.  Using
the 2.6.30-2-686 linux-image package and the alsa-base package from
testing, I still can't produce beeps.  Do you have any custom module
options for the ALSA modules, or any custom kernel/alsa packages that
might be relevant?

I'm kinda shooting in the dark here, but some questions that I think
may be relevant:
Do you have any other sound card connected (USB, PCMCIA, dock, etc.)?
Is the beep volume affected by the beep mixer control?
When you generate beeps using /proc/acpi/ibm/beep, is anything printed
to syslog/dmesg?  I am getting the following message (only with this
kernel version, I assume it was fixed for 2.6.31, and I'm not sure if
it is relevant):

ACPI Warning (nspredef-0290): \_SB_.PCI0.LPC_.EC__.BEEP: Excess arguments - needs 1, found 2 [20090320]

Also, if you could reproduce some or all of the following information,
we can compare:

Firmware Version (from dmesg | fgrep thinkpad_acpi):
thinkpad_acpi: ThinkPad BIOS 79ETE3WW (2.23 ), EC 79HT50WW-1.07
thinkpad_acpi: Lenovo ThinkPad T60p, model 2613ESU

Loaded Sound Modules (lsmod | egrep '(snd_|pcsp)')
snd_hda_codec_analog
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
snd_page_alloc
pcspkr

Contents of /proc/asound/cards:
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xee400000 irq 17

Contents of /proc/asound/card0/codec#0 attached.

If you (or anyone else) can think of other relevant points of
comparison, I'll do my best to provide them.

Thanks,
Kevin

Codec: Analog Devices AD1981
Address: 0
Function Id: 0x1
Vendor Id: 0x11d41981
Subsystem Id: 0x17aa2025
Revision Id: 0x100200
No Modem Function Group found
Default PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Default Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=1, unsol=0
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x60]: 44100 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3
  Delay: 3 samples
  Connection: 2
     0x01* 0x04
Node 0x03 [Audio Output] wcaps 0x441: Stereo
  Converter: stream=0, channel=0
  Power: setting=D0, actual=D0
  Processing caps: benign=1, ncoeff=70
Node 0x04 [Audio Input] wcaps 0x100511: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x15
Node 0x05 [Pin Complex] wcaps 0x400187: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x37 0x37]
  Pincap 0x0001173f: IN OUT HP EAPD Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  EAPD 0x0:
  Pin Default 0xc3014110: [Both] Line Out at Ext Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x03 0x0e*
Node 0x06 [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
  Pin Default 0x422140f0: [N/A] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x03 0x0e*
Node 0x07 [Pin Complex] wcaps 0x400104: Mono Amp-Out
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x591311f0: [N/A] Speaker at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0f
Node 0x08 [Pin Complex] wcaps 0x400083: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x01 0x01]
  Pincap 0x00001727: IN Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0xc3a1502e: [Both] Mic at Ext Left
    Conn = 1/8, Color = Red
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x09 [Pin Complex] wcaps 0x400187: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0xbf 0xbf]
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x418130f0: [N/A] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x03* 0x0e
Node 0x0a [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014411f0: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 6
     0x03 0x0c 0x09 0x0e* 0x05 0x18
Node 0x0c [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1e 0x1f
Node 0x0d [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x0f]
  Connection: 2
     0x10* 0x16
Node 0x0e [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 8
     0x0d 0x11 0x12 0x13 0x1a 0x1b 0x1c 0x1d
Node 0x0f [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x0b
Node 0x10 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x11 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1a 0x1a]
  Connection: 1
     0x03
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x81 0x81]
  Connection: 1
     0x08
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x09
Node 0x14 [Power Widget] wcaps 0x500500: Mono
  Power: setting=D0, actual=D0
  Connection: 13
     0x0d 0x0e 0x0f 0x10 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1d
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x09 0x09]
  Connection: 8
     0x0c* 0x09 0x0e 0x0f 0x19 0x05 0x18 0x17
Node 0x16 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x59f311f0: [N/A] Other at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x17 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00000027: IN Detect Trigger ImpSense
  Pin Default 0x599311f0: [N/A] Aux at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x18 [Pin Complex] wcaps 0x400187: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0xbf 0xbf]
  Pincap 0x00001737: IN OUT Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x41a190f0: [N/A] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x03* 0x0e
Node 0x19 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x9933e120: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = White
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x05
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x17
Node 0x1c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x18
Node 0x1d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x85 0x85]
  Connection: 1
     0x19
Node 0x1e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Connection: 1
     0x08
Node 0x1f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x18

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Robert Tomsick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've got a ThinkPad X61s, and I can confirm this issue.

Kernel:
        Linux crow 2.6.31.4-rthink-grsec #1 SMP Tue Nov 3 16:09:38 GMT 2009
x86_64 GNU/Linux

The kernel is 2.6.31.4 from Ubuntu 9.10 sources with all Ubuntu patches
applied, plus my own patchset (which consists of grsecurity, a couple
minor scheduler/timer tweaks, and the unused SATA ports poweroff patch).
Nothing that I've patched should affect ALSA AFAIK.


Distribution:
        Ubuntu 9.04 -- I installed a minimal package set and built up the
system from there.  Pretty much everything came from the Ubuntu repos.


Tests:

Both tests failed (i.e. no beeps.)

Let me know if you need anything else.

-Rob


--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by Henrique de Moraes Holschuh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please ignore the 'beep needs 2 arguments' nonsense thinkpad-acpi logs.  It
is utterly harmless, and I have already fixed it on newer versions.

--
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [CALL FOR TESTING] users of hda-intel, thinkpad-acpi and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <kionez.h>   // created 03/11/2009 11:03

I got another report from a friend of mine:

lenovo thinkpad r61 with ubuntu 9.10
Linux calinos 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC
2009 i686 GNU/Linux

no beeps!


tomorrow I'll try to build a table with your reports, and I'll try to
find a way, seems that some *60 works fine (but I don't have time at the
moment to read carefully every mail.. sorry :) )

k.
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
< Prev | 1 - 2 | Next >