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

Arian Kuschki linux-thinkpad@linux-thinkpad.org
Mon, 2 Nov 2009 11:14:45 +0100


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.
> 

--