Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

View: New views
16 Messages — Rating Filter:   Alert me  

Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

today I try to build a brand new kernel 2.6.31, from gentoo ebuild.
I'm still having problems with BEEP generated by proc interface of
thinkpad_acpi, such the ones with .30 series wich I reported some weeks ago.

With 2.6.29 kernel everything works fine, sounds and beep are what you
can expect from internal speakers but if I use a .30 or .31 kernel the
beeps went away, without any reason.

The volumes are ok, bios, configurations, drivers, mixers and so on are
the same I'm using with .29..

with 2.6.29 if I do a:
# for i in `seq 0 17` ; do echo $i >/proc/acpi/ibm/beep; sleep 1;  done
I hear beeps, as usal ( and for example, if i unplug the power chord, it
sounds.. as ever..)

If i do that on .30 or .31, it doesn't sound. Nothing comes out from
internal speakers (or headphones).

The default beep (for example, when bash autocompletion as many options)
is present, only if enable CONFIG_SND_HDA_INPUT_BEEP.

I also try to add, remove, switch, mix and everything i can do
CONFIG_INPUT_PCSPKR, CONFIG_SND_PCSP and the HDA_INPUT_BEEP
(I compile the kernel about 20times in two hours..)

I read everything i can found with google, seems that are many users
that have issues like this, but nobody say if it was resolved or some
like that...

So, is there anyone with kernel > 2.6.29.x with beep working? if yes,
coul'd you send me your kernel config and alsa config?

Is there some test that i can do to debug this strange situation? (is
pretty annoying..)

Thanks in advance.

k.

PS: nothing is changed from:
http://www.nabble.com/ACPI-and--proc-acpi-ibm-beep-td23997044.html
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by Kevin Locke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

On Sat, 2009-09-12 at 17:47 +0200, kionez wrote:
> I'm still having problems with BEEP generated by proc interface of
> thinkpad_acpi, such the ones with .30 series wich I reported some weeks ago.
>
> With 2.6.29 kernel everything works fine, sounds and beep are what you
> can expect from internal speakers but if I use a .30 or .31 kernel the
> beeps went away, without any reason.

I can confirm this behavior.  I did some bisecting last weekend to
investigate why I lost the beep on my TP (before I noticed the new
beep mixer control... doh!) and tracked it down to the patches around
Feb. 6, particularly c5a4bcd0.  My guess is that the new handling of
beeps ("digital" instead of "analog" to use the patch terminology)
caused the (presumably "analog") beeps generated by the ACPI methods
to not generate any sound output.

I'm afraid I don't know much of anything about the PC speaker system,
so I can't suggest a good fix (other than using the new "digital" beep
instead - e.g. with beep(1)).  If the analog beeps are really
important to you, it should be possible to work out a patch which
would allow you to choose your preferred beep type (either at config
or runtime), but I don't yet know enough about it to suggest how.

Hope that helps.

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

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

Reply to Author | View Threaded | Show Only this Message

On Sat, 12 Sep 2009, Kevin Locke wrote:
> I can confirm this behavior.  I did some bisecting last weekend to
> investigate why I lost the beep on my TP (before I noticed the new
> beep mixer control... doh!) and tracked it down to the patches around
> Feb. 6, particularly c5a4bcd0.  My guess is that the new handling of
> beeps ("digital" instead of "analog" to use the patch terminology)
> caused the (presumably "analog") beeps generated by the ACPI methods
> to not generate any sound output.

Thanks!  Can someone that is affected by this bug please report it to the
ALSA people.  Hiding the "analog beeps" in a thinkpad silences firmware
warnings, and that's NOT a good idea.

--
  "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: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by Kevin Locke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-09-12 at 15:04 -0300, Henrique de Moraes Holschuh wrote:
> On Sat, 12 Sep 2009, Kevin Locke wrote:
>> I can confirm this behavior.  I did some bisecting last weekend
>> [...] and tracked it down to the patches around
>> Feb. 6, particularly c5a4bcd0. [...]
>
> Thanks!  Can someone that is affected by this bug please report it to the
> ALSA people.  Hiding the "analog beeps" in a thinkpad silences firmware
> warnings, and that's NOT a good idea.

Done.  It is now reported as ALSA Issue 4725 and is viewable on their
bug tracker.[1]  I'll follow up with any progress on it.

1.  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4725

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Kevin Locke.h>   // created 13/09/2009 04:43

> Done.  It is now reported as ALSA Issue 4725 and is viewable on their
> bug tracker.[1]  I'll follow up with any progress on it.

Many thanks!! :)

I hope that they solves that in a little..

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by jidanni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>>>> "KL" == Kevin Locke <kevin@...> writes:
KL> 1.  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4725
You mean
https://bugtrack.alsa-project.org/alsa-bug/login.php?username=guest&password=guest&return=/alsa-bug/view.php%3Fid%3D4725
unless one already has an account. And furthermore, in Firefox their
site sets off an https alarm.
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <kionez.h>   // created 31/10/2009 13:48

> are there any news? I just tried with the gentoo's 2.6.31-r4 (based on
> vanilla 2.6.31.5) but the firmware beeps and thinkpad-acpi's ones are
> still missing.

oh! sorry.. I forgot to report another quick test!

I've tried to boot with an Ubuntu 9.10 livecd, the thinkpad-acpi module
is loaded and everything seems working fine but the beeps aren't
available, neither with # echo $num > /proc/acpi/ibm/beep nor when i
detach the power adapter.

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Kevin Locke.h>   // created 13/09/2009 04:43

> Done.  It is now reported as ALSA Issue 4725 and is viewable on their
> bug tracker.[1]  I'll follow up with any progress on it.
>
> 1.  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4725

Hi,

are there any news? I just tried with the gentoo's 2.6.31-r4 (based on
vanilla 2.6.31.5) but the firmware beeps and thinkpad-acpi's ones are
still missing.

thanks!

PS: is there anyone with kernel > 2.6.30 and working beeps? (i.e.: the
beeps when you detach power chord).

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by Arian Kuschki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat 31, 13:48 +0100, kionez wrote:
> PS: is there anyone with kernel > 2.6.30 and working beeps? (i.e.: the
> beeps when you detach power chord).

Haven't been following this thread so I am not sure what you mean, but
on my t42 when I pull the power cord out it beeps.
a ~$ uname -r
2.6.31-ARCH



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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by Kevin Locke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-31 at 13:48 +0100, kionez wrote:
> #include <Kevin Locke.h>   // created 13/09/2009 04:43
>> Done.  It is now reported as ALSA Issue 4725 and is viewable on their
>> bug tracker.[1]  I'll follow up with any progress on it.
>>
>> 1.  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4725
>
> are there any news? I just tried with the gentoo's 2.6.31-r4 (based on
> vanilla 2.6.31.5) but the firmware beeps and thinkpad-acpi's ones are
> still missing.

Nope, still no word from the ALSA folks about the bug.  You might have
some luck bringing it up on the alsa-devel mailing list.  If that
fails, I suppose you could always try to bribe one of them to take a
look at it.  ;)

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Kevin Locke.h>   // created 01/11/2009 16:51
 no word from the ALSA folks about the bug.  You might have
> some luck bringing it up on the alsa-devel mailing list.  If that
> fails, I suppose you could always try to bribe one of them to take a
> look at it.  ;)

It seems a good idea ;)

anyway, I'll try this way..but before I think is better to collect some
reports from other users. So, I'll post a CallForTester here and when I
have some reports, I'll go to whine at alsa-devel  :)

(I'll try to write a understandable email in a while, I'm not so able to
write in english)

thanks!

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Arian Kuschki.h>   // created 31/10/2009 15:25

 > Haven't been following this thread so I am not sure what you mean, but
> on my t42 when I pull the power cord out it beeps.
> a ~$ uname -r
> 2.6.31-ARCH

oh, interesting... In this thread I can't figure if is mine problem or
is an alsa issue.. but if your "firmware beeps" works fine, well.. i
suppose that's something wrong in my config... ;)

so, could you send me your kernel configuration, asound.state (usually
is stored by alsatool's alsactl in /var/lib/alsa/asound.state ) and
lsmod output (maybe dmesg is needless) ?

thanks!! :)

k.

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by Arian Kuschki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

not sure where to find the kernel configuration, can you give me a hint?
It is a stock Arch linux kernel if that helps.

On a different note, what is the preferred way to send very long output like this, inline or as an attachment?

/etc/asound.state and lsmod below:


state.I82801DBICH4 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Playback Volume'
                value.0 25
                value.1 25
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Headphone Playback Switch'
                value.0 true
                value.1 true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Headphone Playback Volume'
                value.0 25
                value.1 25
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Mono Playback Volume'
                value 25
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Mic Playback Volume'
                value 0
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 false
                value.1 false
        }
        control.13 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.17 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'PCM Playback Volume'
                value.0 25
                value.1 25
        }
        control.20 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.21 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.22 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                comment.dbmin 0
                comment.dbmax 2250
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.23 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.26 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value true
        }
}
state.Modem {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Off-hook Switch'
                value false
        }
        control.2 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Caller ID Switch'
                value false
        }
}
Module                  Size  Used by
ipv6                  279636  8
arc4                    1756  2
ecb                     2812  2
lib80211_crypt_wep      3996  1
hdaps                  11352  0
ext2                   68964  1
pcmcia                 36168  0
fan                     4448  0
snd_seq_dummy           2720  0
snd_seq_oss            31232  0
snd_seq_midi_event      7036  1 snd_seq_oss
tp_smapi               23404  0
thinkpad_ec             6552  2 hdaps,tp_smapi
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6792  3 snd_seq_dummy,snd_seq_oss,snd_seq
fuse                   64888  0
snd_pcm_oss            40320  0
cpufreq_powersave       1404  0
snd_mixer_oss          17564  1 snd_pcm_oss
radeon                665984  2
joydev                 10496  0
ttm                    37164  1 radeon
snd_intel8x0m          14216  0
snd_intel8x0           30616  0
cpufreq_ondemand        7400  1
thinkpad_acpi          67988  0
drm                   156160  4 radeon,ttm
snd_ac97_codec        106112  2 snd_intel8x0m,snd_intel8x0
ac97_bus                1564  1 snd_ac97_codec
yenta_socket           25256  2
ipw2100                73904  0
i2c_algo_bit            5888  1 radeon
snd_pcm                74464  4 snd_pcm_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec
rfkill                 19728  1 thinkpad_acpi
rsrc_nonstatic         12316  1 yenta_socket
acpi_cpufreq            8648  0
ppdev                   7008  0
snd_timer              21156  2 snd_seq,snd_pcm
psmouse                59764  0
irtty_sir               5564  0
e1000                 123904  0
libipw                 27680  1 ipw2100
led_class               4000  1 thinkpad_acpi
video                  20116  0
snd                    58820  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
pcmcia_core            35184  3 pcmcia,yenta_socket,rsrc_nonstatic
parport_pc             37060  1
nsc_ircc               17040  0
iTCO_wdt               11072  0
lib80211                5856  2 lib80211_crypt_wep,libipw
sir_dev                11712  1 irtty_sir
i2c_i801                9616  0
uhci_hcd               23596  0
lp                      9732  0
soundcore               6944  1 snd
irda                  126712  2 nsc_ircc,sir_dev
intel_agp              28348  1
iTCO_vendor_support     3136  1 iTCO_wdt
ehci_hcd               36652  0
serio_raw               5792  0
pcspkr                  2492  0
evdev                  10240  15
snd_page_alloc          8900  3 snd_intel8x0m,snd_intel8x0,snd_pcm
output                  2908  1 video
ac                      4224  0
sg                     27728  0
freq_table              3740  2 cpufreq_ondemand,acpi_cpufreq
battery                10816  0
crc_ccitt               1724  1 irda
nvram                   6984  1 thinkpad_acpi
parport                34412  3 ppdev,parport_pc,lp
thermal                13912  0
shpchp                 34384  0
i2c_core               21808  4 radeon,drm,i2c_algo_bit,i2c_i801
button                  5612  0
usbcore               154032  3 uhci_hcd,ehci_hcd
pci_hotplug            28732  1 shpchp
processor              36076  2 acpi_cpufreq
agpgart                32660  3 ttm,drm,intel_agp
rtc_cmos               11344  0
rtc_core               17976  1 rtc_cmos
rtc_lib                 2524  1 rtc_core
ext4                  334112  2
mbcache                 7104  2 ext2,ext4
jbd2                   82016  1 ext4
crc16                   1660  1 ext4
sr_mod                 16644  0
cdrom                  36032  1 sr_mod
sd_mod                 28344  5
ata_generic             4704  0
ata_piix               23268  4
pata_acpi               4252  0
libata                169260  3 ata_generic,ata_piix,pata_acpi
floppy                 56356  0
scsi_mod              112436  4 sg,sr_mod,sd_mod,libata
state.I82801DBICH4 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Master Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Playback Volume'
                value.0 25
                value.1 25
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Headphone Playback Switch'
                value.0 true
                value.1 true
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Headphone Playback Volume'
                value.0 25
                value.1 25
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Master Mono Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -4650
                comment.dbmax 0
                iface MIXER
                name 'Master Mono Playback Volume'
                value 25
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Mic Playback Volume'
                value 0
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Line Playback Switch'
                value.0 false
                value.1 false
        }
        control.13 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'CD Playback Switch'
                value.0 false
                value.1 false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Aux Playback Switch'
                value.0 false
                value.1 false
        }
        control.17 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 31'
                comment.dbmin -3450
                comment.dbmax 1200
                iface MIXER
                name 'PCM Playback Volume'
                value.0 25
                value.1 25
        }
        control.20 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 2
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.21 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.22 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                comment.dbmin 0
                comment.dbmax 2250
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.23 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Stereo Mic'
                value false
        }
        control.26 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'External Amplifier'
                value true
        }
}
state.Modem {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Off-hook Switch'
                value false
        }
        control.2 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Caller ID Switch'
                value false
        }
}

lsmod:

Module                  Size  Used by
ipv6                  279636  8
arc4                    1756  2
ecb                     2812  2
lib80211_crypt_wep      3996  1
hdaps                  11352  0
ext2                   68964  1
pcmcia                 36168  0
fan                     4448  0
snd_seq_dummy           2720  0
snd_seq_oss            31232  0
snd_seq_midi_event      7036  1 snd_seq_oss
tp_smapi               23404  0
thinkpad_ec             6552  2 hdaps,tp_smapi
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6792  3 snd_seq_dummy,snd_seq_oss,snd_seq
fuse                   64888  0
snd_pcm_oss            40320  0
cpufreq_powersave       1404  0
snd_mixer_oss          17564  1 snd_pcm_oss
radeon                665984  2
joydev                 10496  0
ttm                    37164  1 radeon
snd_intel8x0m          14216  0
snd_intel8x0           30616  0
cpufreq_ondemand        7400  1
thinkpad_acpi          67988  0
drm                   156160  4 radeon,ttm
snd_ac97_codec        106112  2 snd_intel8x0m,snd_intel8x0
ac97_bus                1564  1 snd_ac97_codec
yenta_socket           25256  2
ipw2100                73904  0
i2c_algo_bit            5888  1 radeon
snd_pcm                74464  4 snd_pcm_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec
rfkill                 19728  1 thinkpad_acpi
rsrc_nonstatic         12316  1 yenta_socket
acpi_cpufreq            8648  0
ppdev                   7008  0
snd_timer              21156  2 snd_seq,snd_pcm
psmouse                59764  0
irtty_sir               5564  0
e1000                 123904  0
libipw                 27680  1 ipw2100
led_class               4000  1 thinkpad_acpi
video                  20116  0
snd                    58820  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
pcmcia_core            35184  3 pcmcia,yenta_socket,rsrc_nonstatic
parport_pc             37060  1
nsc_ircc               17040  0
iTCO_wdt               11072  0
lib80211                5856  2 lib80211_crypt_wep,libipw
sir_dev                11712  1 irtty_sir
i2c_i801                9616  0
uhci_hcd               23596  0
lp                      9732  0
soundcore               6944  1 snd
irda                  126712  2 nsc_ircc,sir_dev
intel_agp              28348  1
iTCO_vendor_support     3136  1 iTCO_wdt
ehci_hcd               36652  0
serio_raw               5792  0
pcspkr                  2492  0
evdev                  10240  15
snd_page_alloc          8900  3 snd_intel8x0m,snd_intel8x0,snd_pcm
output                  2908  1 video
ac                      4224  0
sg                     27728  0
freq_table              3740  2 cpufreq_ondemand,acpi_cpufreq
battery                10816  0
crc_ccitt               1724  1 irda
nvram                   6984  1 thinkpad_acpi
parport                34412  3 ppdev,parport_pc,lp
thermal                13912  0
shpchp                 34384  0
i2c_core               21808  4 radeon,drm,i2c_algo_bit,i2c_i801
button                  5612  0
usbcore               154032  3 uhci_hcd,ehci_hcd
pci_hotplug            28732  1 shpchp
processor              36076  2 acpi_cpufreq
agpgart                32660  3 ttm,drm,intel_agp
rtc_cmos               11344  0
rtc_core               17976  1 rtc_cmos
rtc_lib                 2524  1 rtc_core
ext4                  334112  2
mbcache                 7104  2 ext2,ext4
jbd2                   82016  1 ext4
crc16                   1660  1 ext4
sr_mod                 16644  0
cdrom                  36032  1 sr_mod
sd_mod                 28344  5
ata_generic             4704  0
ata_piix               23268  4
pata_acpi               4252  0
libata                169260  3 ata_generic,ata_piix,pata_acpi
floppy                 56356  0
scsi_mod              112436  4 sg,sr_mod,sd_mod,libata


lsmod
On Mon 02, 09:42 +0100, kionez wrote:

> #include <Arian Kuschki.h>   // created 31/10/2009 15:25
>
>  > Haven't been following this thread so I am not sure what you mean, but
> > on my t42 when I pull the power cord out it beeps.
> > a ~$ uname -r
> > 2.6.31-ARCH
>
> oh, interesting... In this thread I can't figure if is mine problem or
> is an alsa issue.. but if your "firmware beeps" works fine, well.. i
> suppose that's something wrong in my config... ;)
>
> so, could you send me your kernel configuration, asound.state (usually
> is stored by alsatool's alsactl in /var/lib/alsa/asound.state ) and
> lsmod output (maybe dmesg is needless) ?
>
> thanks!! :)
>
> k.
>

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Arian Kuschki.h>   // created 02/11/2009 11:14

thanks!

> not sure where to find the kernel configuration, can you give me a hint?
> It is a stock Arch linux kernel if that helps.

If i remember correctly, default Arch kernel enables by default
CONFIG_IKCONFIG, so you should create a file in /tmp with

$ zcat /proc/config.gz > /tmp/config-$(uname -r)

and send it to my private email (in order to avoid spamming on the list ;) )

this evening I'll compare it with mine!

k.

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

Re: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

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

Reply to Author | View Threaded | Show Only this Message

On Mon, 02 Nov 2009, kionez wrote:
> #include <Arian Kuschki.h>   // created 31/10/2009 15:25
>  > Haven't been following this thread so I am not sure what you mean, but
> > on my t42 when I pull the power cord out it beeps.
> > a ~$ uname -r
> > 2.6.31-ARCH
>
> oh, interesting... In this thread I can't figure if is mine problem or
> is an alsa issue.. but if your "firmware beeps" works fine, well.. i
> suppose that's something wrong in my config... ;)

It is ALSA, and it is related to HDA audio, and not AC97 audio.  So you
should pay attention to success/failure reports only from ThinkPads with HDA
audio.  The T42 is AC97.

I believe we tracked it down to ALSA switching the HDA mixer+codec to
"digital beeps" or whatever, which is incompatible with the signal path used
by the firmware.

--
  "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: Still having problem with thinkpad-acpi's BEEP and kernel > 2.6.30

by kionez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <Henrique de Moraes Holschuh.h>   // created 02/11/2009 14:01

> It is ALSA, and it is related to HDA audio, and not AC97 audio.  So you
> should pay attention to success/failure reports only from ThinkPads with HDA
> audio.  The T42 is AC97.

Damn! I read that he owns a T61..

> I believe we tracked it down to ALSA switching the HDA mixer+codec to
> "digital beeps" or whatever, which is incompatible with the signal path used
> by the firmware.

I'll post a "poll" to collect some user reports, and then I'll post it
to alsa-devel.

I think is strange that nobody (out of there) noticed it before..

thanks for correction.. ;)

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