[ltp] no sound, TP600, RH7.3
Mats Carlsson
linux-thinkpad@www.bm-soft.com
Thu, 08 Aug 2002 17:30:52 +0200
This is a log of my attempt to get sound working.
The computer can boot either Red Hat Linux or Windows XP.
Sound works great under Windows without any fiddling.
I've consulted:
My colleagues (no luck).
comp.os.linux.hardware (no replies).
The Linux Sound HOWTO (http://www.tldp.org/HOWTO/Sound-HOWTO/)
Linux on IBM ThinkPad 600 (http://www.levien.com/tp600.html)
Forrestina's Homepage (http://truffula.net/~forrest/tp600.shtml)
I hope somebody out there might be able to help.
Computer model: IBM ThinkPad 600
Information gleaned from BIOS:
Version: IBET54WW, 09/18/99
System board info:
Model/Submodel/Rev FC/01/00
Power management 2.24
POST/BIOS version 1.49
Video version 1.28
Setup version 2.21
Slave controller version 1.15
The Windows hardware manager indicates the following:
IRQ 07 - Crystal WDM Audio Codec
DMA 03 - Crystal WDM Audio Codec
DMA 00 - Crystal WDM Audio Codec
Audio Codec I/O Range: 0530-0537
Audio Codec I/O Range: 0388-038B
Audio Codec I/O Range: 0280-0293
Audio Control Regs I/O Range: 0538-053F
MPU I/O Range: 0330-0333
Output from tpctl:
[root@dhcp02 tpctl-3.2]# tpctl --all
information about bios and system:
system ID: 45
country code: 1
system BIOS revision: 1.49
system management BIOS revision: 2.24
SMAPI BIOS interface revision: 0.90
video BIOS revision: 1.28
slave controller revision: 1.15
info from cmos RAM:
CMOS RAM has power?: Y
CMOS RAM has lost power?: N
CMOS RAM has bad checksum?: N
CMOS RAM has bad equipment info?: N
CMOS RAM has bad mem size info?: N
CMOS RAM has bad time info?: N
hard disk failed initialization?: N
shutdown status: 0x0
display operating mode: 0x0 (reserved code)
coprocessor present?: Y
diskette drive type: 4 (i.e., 1.44 MB)
number of diskette drives: 1
diskette drive 0 present?: Y
hard disk drive 0 type: 0xf
hard disk drive 1 type: 0x0 (i.e., not present)
hard disk drive 2 type: 0x0 (i.e., not present)
hard disk drive 3 type: 0x0 (i.e., not present)
conventional memory below 640KB: 640 KB
expansion memory above 1MB: 65535 KB
usable contiguous memory: 65535 KB
information about display:
panel type: 3 (i.e, color TFT LCD)
panel dimension: 2 (i.e., 1024 x 768)
monitor type: 0 (i.e., no CRT attached)
monitor has DDC1 capability?: N
monitor has DDC2 capability?: N
information about docking station:
docking station ID: (not docked)
security key unlocked?: -
bus connected?: -
information about processor:
CPU manufacturer: Intel
microprocessor type: 6
microprocessor stepping level: 80
CPU clock: 66 MHz
internal clock: 266 MHz
is:
the lid closed?: N
the keyboard open?: N
the AC adapter attached?: Y
information about UltraBay II:
device type: 0x10 (i.e., IDE)
device ID: 0x10 (i.e., CD-ROM)
setup of display: CMOS current
internal display enabled?: disable enable
crt display: enable disable
tv display: disable disable
2ual display: enable enable
TV display selected?: N N
monitor detection ignored?: N N
setup of fn hotkey:
sticky Fn key supported?: N
sticky & locked Fn key supported?: Y
fn hotkey state: nonsticky
setup of pointing device: CMOS current
internal pointing device
controllable state?: Y Y
auto control supported?: Y Y
activation mode: enable enable
external pointing device
controllable state?: N N
activation mode: disable disable
setup of: CMOS
daylight saving time: disable
power management modes:
ac power expenditure: high
battery power expenditure: auto
RediSafe global mode overrides non-global mode?: Y
RediSafe globally enabled?: N
power management resume events: capability current
appointment-r.t.clock-initiated?: Y N (centurially 255-255-255 255:255:255)
hardware-initiated?: Y Y
lid-opening-initiated?: Y Y
serial-RI-initiated?: Y Y
power management sedative events: capability current
(SZRHO) (SZRHO)
hardware-or-software-initiated: SZ-HO SZ-HO
power-switch-initiated: ---HO ----O
lid-closure-initiated: -Z--- -Z---
Standby-timer-initiated: S---- S----
Zuspend-or-hibern.-timer-initiated: -Z-H- -Z---
Hibernate-from-susp.-timer-init'd: ---H- ---H-
battery-low-initiated: -Z-H- -Z---
env'mt-exhausted-initiated: -Z--- -Z---
power management timer modes: capability current
Standby timer: N N
Zuspend-or-hibernation timer: Y Y
Blank-internal-display timer: Y Y
drive power-down timer: Y Y
power management delay of Hibernate-from-suspend: 0 (i.e., disabled)
power management delays of Zuspend or hibernate: current
(specifiable in each power mode)?
ac power "manual" expenditure mode: Y 0 (i.e., disabled)
battery "manual" expenditure mode: Y 5 minutes
"high" power expenditure mode: Y 60 minutes
"auto" power expenditure mode: Y 10 minutes
resource state: ioaddr irq# able? mode/power
floppy controller: 0x3f0 IRQ6 enable
parallel port: 0x3bc IRQ0 disable comp
serial port 1: 0x0 IRQ0 disable (error)
serial port 2: 0x3f8 IRQ4 disable
The file /etc/modules.conf:
alias sound cs4232
alias midi opl3
options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5 synthirq=-1 synthio=-1
Combinations of option that I've tried:
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=7 dma=1 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=7 dma=1 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=7 dma=0 dma2=1 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=7 dma=0 dma2=1 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=5 dma=3 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=5 dma=3 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=7 dma=3 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=7 dma=3 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=5 dma=0 dma2=3 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=5 dma=0 dma2=3 mpuio=0x330 mpuirq=7
options cs4232 io=0x530 irq=7 dma=0 dma2=3 mpuio=0x330 mpuirq=5
options cs4232 io=0x530 irq=7 dma=0 dma2=3 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=7 dma=1 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=7 dma=1 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=7 dma=0 dma2=1 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=7 dma=0 dma2=1 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=5 dma=3 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=5 dma=3 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=7 dma=3 dma2=0 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=7 dma=3 dma2=0 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=5 dma=0 dma2=3 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=5 dma=0 dma2=3 mpuio=0x330 mpuirq=7
options cs4232 io=0x534 irq=7 dma=0 dma2=3 mpuio=0x330 mpuirq=5
options cs4232 io=0x534 irq=7 dma=0 dma2=3 mpuio=0x330 mpuirq=7
Transcript (logged in as root):
[root@dhcp02 root]# uname -a
Linux dhcp02.sics.se 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
[root@dhcp02 root]# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 02)
00:02.0 CardBus bridge: Texas Instruments PCI1250 (rev 02)
00:02.1 CardBus bridge: Texas Instruments PCI1250 (rev 02)
00:03.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01)
00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
[root@dhcp02 root]# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (AGP disabled) (rev 2).
Master Capable. Latency=64.
Prefetchable 32 bit memory at 0x0 [0xfffffff].
Bus 0, device 2, function 0:
CardBus bridge: Texas Instruments PCI1250 (rev 2).
IRQ 11.
Master Capable. Latency=168. Min Gnt=192.Max Lat=5.
Non-prefetchable 32 bit memory at 0x20301000 [0x20301fff].
Bus 0, device 2, function 1:
CardBus bridge: Texas Instruments PCI1250 (#2) (rev 2).
IRQ 11.
Master Capable. Latency=168. Min Gnt=192.Max Lat=5.
Non-prefetchable 32 bit memory at 0x20300000 [0x20300fff].
Bus 0, device 3, function 0:
VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 1).
IRQ 11.
Master Capable. Latency=128. Min Gnt=16.Max Lat=255.
Prefetchable 32 bit memory at 0xe0000000 [0xe0ffffff].
Non-prefetchable 32 bit memory at 0x20000000 [0x201fffff].
Non-prefetchable 32 bit memory at 0x20200000 [0x202fffff].
Bus 0, device 7, function 0:
Bridge: Intel Corp. 82371AB PIIX4 ISA (rev 1).
Bus 0, device 7, function 1:
IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 1).
Master Capable. Latency=48.
I/O at 0xfcf0 [0xfcff].
Bus 0, device 7, function 2:
USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 1).
IRQ 11.
Master Capable. Latency=48.
I/O at 0x8400 [0x841f].
Bus 0, device 7, function 3:
Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 1).
IRQ 9.
[root@dhcp02 root]# cat /proc/interrupts
CPU0
0: 27949 XT-PIC timer
1: 1352 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
11: 0 XT-PIC usb-uhci, Texas Instruments PCI1250, Texas Instruments PCI1250 (#2)
12: 19 XT-PIC PS/2 Mouse
14: 4126 XT-PIC ide0
15: 19 XT-PIC ide1
NMI: 0
ERR: 0
[root@dhcp02 root]# lsmod
Module Size Used by Not tainted
ds 8608 2
yenta_socket 12384 2
pcmcia_core 50752 0 [ds yenta_socket]
ide-cd 30272 0 (autoclean)
cdrom 32192 0 (autoclean) [ide-cd]
usb-uhci 24484 0 (unused)
usbcore 73152 1 [usb-uhci]
ext3 67136 1
jbd 49400 1 [ext3]
[root@dhcp02 root]# modprobe -c
# Generated by modprobe -c (2.4.14)
path[boot]=/lib/modules/boot
path[toplevel]=/lib/modules/2.4.18-3
path[toplevel]=/lib/modules/2.4
path[kernel]=/lib/modules/kernel
path[fs]=/lib/modules/fs
path[net]=/lib/modules/net
path[scsi]=/lib/modules/scsi
path[block]=/lib/modules/block
path[cdrom]=/lib/modules/cdrom
path[ipv4]=/lib/modules/ipv4
path[ipv6]=/lib/modules/ipv6
path[sound]=/lib/modules/sound
path[fc4]=/lib/modules/fc4
path[video]=/lib/modules/video
path[misc]=/lib/modules/misc
path[pcmcia]=/lib/modules/pcmcia
path[atm]=/lib/modules/atm
path[usb]=/lib/modules/usb
path[ide]=/lib/modules/ide
path[ieee1394]=/lib/modules/ieee1394
path[mtd]=/lib/modules/mtd
# Prune
prune modules.dep
prune modules.generic_string
prune modules.pcimap
prune modules.isapnpmap
prune modules.usbmap
prune modules.parportmap
prune modules.ieee1394map
prune modules.pnpbiosmap
prune System.map
prune .config
prune build
prune vmlinux
prune vmlinuz
prune bzImage
prune zImage
prune .rhkmvtag
# Aliases
alias binfmt-0000 off
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 ide-probe-mod
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-9 md
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 ide-probe-mod
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 ide-probe-mod
alias block-major-34 ide-probe-mod
alias block-major-37 ide-tape
alias block-major-44 ftl
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-56 ide-probe-mod
alias block-major-57 ide-probe-mod
alias block-major-58 lvm-mod
alias block-major-88 ide-probe-mod
alias block-major-89 ide-probe-mod
alias block-major-90 ide-probe-mod
alias block-major-91 ide-probe-mod
alias block-major-93 nftl
alias block-major-97 pg
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 st
alias char-major-10 off
alias char-major-10-0 busmouse
alias char-major-10-1 off
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-14 soundcore
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-22 pcxx
alias char-major-23 pcxx
alias char-major-27 ftape
alias char-major-34 scc
alias char-major-35 tclmidi
alias char-major-36 netlink
alias char-major-37 ide-tape
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-57 esp
alias char-major-58 esp
alias char-major-63 kdebug
alias char-major-90 mtdchar
alias char-major-96 pt
alias char-major-99 ppdev
alias char-major-107 3dfx
alias char-major-108 ppp_generic
alias char-major-109 lvm-mod
alias char-major-161 ircomm-tty
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 off
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 off
alias net-pf-10 off
alias net-pf-17 af_packet
alias net-pf-19 off
alias netalias-2 ip_alias
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias scsi_hostadapter off
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias usb-controller usb-uhci
alias sound cs4232
alias midi opl3
# Options
options dummy0 -o dummy0
options dummy1 -o dummy1
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5 synthirq=-1 synthio=-1
# Commands
post-install binfmt_misc /bin/mount -t binfmt_misc none /proc/sys/fs/binfmt_misc > /dev/null 2>&1 || :
pre-remove binfmt_misc /bin/umount /proc/sys/fs/binfmt_misc > /dev/null 2>&1 || :
# Miscellaneous file and directory names
generic_stringfile=/lib/modules/2.4.18-3/modules.generic_string
pcimapfile=/lib/modules/2.4.18-3/modules.pcimap
isapnpmapfile=/lib/modules/2.4.18-3/modules.isapnpmap
usbmapfile=/lib/modules/2.4.18-3/modules.usbmap
parportmapfile=/lib/modules/2.4.18-3/modules.parportmap
ieee1394mapfile=/lib/modules/2.4.18-3/modules.ieee1394map
pnpbiosmapfile=/lib/modules/2.4.18-3/modules.pnpbiosmap
depfile=/lib/modules/2.4.18-3/modules.dep
persistdir=/var/lib/modules/persist
[root@dhcp02 root]# modprobe -v cs4232
/sbin/insmod /lib/modules/2.4.18-3/kernel/drivers/sound/soundcore.o
Using /lib/modules/2.4.18-3/kernel/drivers/sound/soundcore.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.18-3/kernel/drivers/sound/sound.o
Using /lib/modules/2.4.18-3/kernel/drivers/sound/sound.o
/sbin/insmod /lib/modules/2.4.18-3/kernel/drivers/sound/uart401.o
Using /lib/modules/2.4.18-3/kernel/drivers/sound/uart401.o
/sbin/insmod /lib/modules/2.4.18-3/kernel/drivers/sound/ad1848.o
Using /lib/modules/2.4.18-3/kernel/drivers/sound/ad1848.o
ad1848: No ISAPnP cards found, trying standard ones...
/sbin/insmod /lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5 synthirq=-1 synthio=-1
Using /lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o
/lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o: insmod /lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o failed
# delete ad1848
# delete uart401
# delete sound
# delete soundcore
/lib/modules/2.4.18-3/kernel/drivers/sound/cs4232.o: insmod cs4232 failed
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html