LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   no sound on IBM Thinkpad 770z (https://www.linuxquestions.org/questions/linux-newbie-8/no-sound-on-ibm-thinkpad-770z-375882/)

bliblu 10-22-2005 05:38 PM

no sound on IBM Thinkpad 770z
 
hello

I'm quite new to Linux and I installed Mandriva LE 2005 (10.2) on my laptop. I'm unable to get the sound working. I tried to modify modules.conf, modprobe.conf, /etc/rc.d/rc.local, tried to use snd-cs46xx instead of cs46xx, but nothing works. Instructions all over the net look like chinese to me, and I don't know what to do, now. modifying modules.conf seems to have no effect, as modifying modprobe.conf returns me an awful swarm of errors.

any idea will be helpful.

Tinkster 10-22-2005 07:03 PM

Hi, and welcome to LQ!

Do either of the modules load successfully?
If they do, what output do you get? And do the
IRQ(s) and DMA-channels assigned match what
the hardware thinks it is on? The thing with the
770 series is that the hardware is theoretically
PnP, but the way IBM has implemented them it
will use what the Thinkpad set-up utility uses.


Cheers,
Tink

bliblu 10-23-2005 08:39 AM

Hi again.

Thanks for your help, but I'm not sure to have the skill to answer to your questions correctly... :\
I will try to give you the required information :

* The cs46xx module seemed to load successfully. But Kmix doesn't find any mixer. And while launching amaroK, I got this message :

"Sound Server informational message : error while initializing the sound driver:
device /dev/audio can't be opened (no such device). The sound server will continue, using the null output device."

* As for the snd-cs46xx module, I got this output :

Loading sound module (snd-cs46xx) [ OK ]
alsactl: save_state:1199: No soundcards found...
Can't open /root/tmp/asound.state_tmp: No such file or directory.
Réglage des paramètres du mixeur alsactl: load_state:1272: No soundcards found...
[ÉCHEC ]

I don't know how to assign IRQ, DMA, and so on under Linux.

Neither do I know the adequate parameters for this sound card... :/

Tinkster 10-23-2005 03:28 PM

You can't do that under Linux (at least it wasn't possible when
I still owned a 770). IBM has tools to do that from either an installed
version of Windows, or a DOS boot floppy.


Cheers,
Tink

bliblu 10-23-2005 04:03 PM

(I'm far away from my computer under linux at the moment, I won't be able to look after it before friday...)

about the soundcard parameters : I don't want to modify them, but just verify their values to give you sufficient information. Isn't there a way to know them using the command line or by opening a specific file ?

Thanks a lot. Don't hesitate to give me advice, I will test it as soon as possible.

Excuse me for the delays.

Tinkster 10-23-2005 04:07 PM

You can look at what Linux THINKS they are by
checking the respective values in /proc/dma,
/proc/interrupts and /proc/ioports ... doesn't necessarily
match the reality of the machine, though, since,
as I already said, Linux thinks the chipset is
PlugAndPlay while it really isn't in those machines.


Cheers,
Tink

bliblu 10-28-2005 05:59 PM

back
 
hello again

Err... I am completely lost, despite the advice you gave me... (don't forget I am a complete noob !!!) I didn't know what to do, so I tested these commands (I started the system using the cs46xx module) :

# cat /proc/dma
4: cascade

# cat /proc/interrupts
CPU0
0: 590939 XT-PIC timer
1: 1094 XT-PIC i8042
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
11: 1229 XT-PIC yenta, yenta, ehci_hcd, eth0
12: 13739 XT-PIC i8042
14: 9834 XT-PIC ide0
15: 4619 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0

# cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
4000-40ff : PCI CardBus #02
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #06
4800-487f : 0000:06:00.0
4800-487f : xircom_cb
4c00-4cff : PCI CardBus #06
8400-841f : 0000:00:07.2
d000-dfff : PCI Bus #01
ef00-ef3f : 0000:00:07.3
efa0-efbf : 0000:00:07.3
fcf0-fcff : 0000:00:07.1
fcf0-fcf7 : ide0
fcf8-fcff : ide1



Cheers

Tinkster 10-28-2005 10:38 PM

With that infor I can't really help you, mate. Try to
run the TP configuration program from a DOS boot-
disk, and find out what the actual values are.
Then all you'll need to do is to make is the appropriate
changes to your /etc/modules.conf, e.g.
Code:

alias sb sound
  options sb io=0x220 irq=5 dma=1 dma_16=5


Cheers,
Tink

bliblu 10-29-2005 08:09 AM

help ! it doesn't work !
 
I downloaded the configyration diskette here
http://www-307.ibm.com/pc/support/si...id=RMIE-3AXE3E

I followed the instructions on a win9x machine...

The diskette was created. no problem

But I am unable to boot on it. I get a message like "copying the system boot into hard drive"..., and LINUX starts... impossible to boot on it !

I tried to copy COMMAND.COM, empty files named AUTOEXEC.BAT and CONFIG.SYS : no results !
I tried to create system files using the Format functionality of Win9x : COMMAND.COM, DRVSPACE.BIN (what's this ?!), IO.SYS, MSDOS.SYS... no better results...

I tried to boot on 2 different win9x install CDs : both of them seem to be unreadable with the Matshita DVD-ROM drive. I wonder if it's still alive...


with your permission I would like to know how to make a correct boot disk to load the needed configuration utilities...


Cheers

bliblu 10-29-2005 08:41 AM

I'm hopeless

But I will give you some info about my /etc/modules.conf file :

It's empty, and it doesn't seem to be used by the system

however, a file named /etc/modprobe.conf seems to have a content similar to the lines you typed, but I cannot be sure :

* here is a backup of the file :

alias char-major-116-* snd
options sb io=0x220 irq=5 dma=7 dma_16=5 mpu_io=0x330
alias char-major-14-* soundcore
alias sound-slot-0 cs46xx
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-ossoptions
remove snd-cs46xx /sbin/modprobe --first-time -r --ignore-remove snd-cs46xx
install snd-cs46xx /sbin/modprobe --first-time --ignore-install snd-cs46xx
alias snd-0 snd-cs46xx

* and here is the current version of the file (with the options you gave me) :

alias char-major-116-* snd
alias char-major-14-* soundcore
alias sound-slot-0 cs46xx
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-ossoptions
remove snd-cs46xx /sbin/modprobe --first-time -r --ignore-remove snd-cs46xx
install snd-cs46xx /sbin/modprobe --first-time --ignore-install snd-cs46xx
alias snd-0 snd-cs46xx
alias sb sound
options sb io=0x220 irq=5 dma=1 dma_16=5


-> noticed effects : none


Cheers

bliblu 12-17-2005 04:33 PM

Hello

It was a long way, but I managed to install the Thinkpad Utilities on my computer.
For that I had to manage to reformat all the disk in order to have a FAT16 partition to install DOS and the Utilities.

while typing "ps2 ? AUDIO" at the prompt, I get this :

---------------------------------------------------------
C:\THINKPAD> ps2 ? AUDIO

Command Syntax : PS2 Enable|Disable
ADDress 530|604|E80|F40
IRQ 5|7|9|10|11|15
SBaddress 220|240|260|280
DMA First DMA (Second DMA)

Valid DMAs : 0|1|3

Current State : Enable

When "Enable" is selected, following parameters will be effective :

ADDress : 530
IRQ 5
DMA 0 1

Note : to use audio Devices (Sound Blaster/WSS/FM), assign DMA ressources.
---------------------------------------------------------


I have not yet reinstalled Linux, but I will probably do it tomorrow.

(I have no sound under DOS either. The Soundfusion(tm) chip is not detected.)

Cheers

bliblu

bliblu 12-18-2005 01:33 PM

Okay, I re-installed Linux

as I said, my params seem to be :
io=0x530 irq=5 dma=1 dma2=0

(see http://www.thinkwiki.org/wiki/CS4239)

* cs4232 or cs46xx ?

* Here is my /etc/modprobe.conf before the tests :

-----
#This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command

alias eth0 xircom_cb
alias sound-slot-0 cs46xx
install scsi_hostadapter /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd; /bin/true
-----

modules.conf is empty.

**************************

let's add the line "options cs4232 io=0x530 irq=5 dma=1 dma2=0" in modprobe.conf
and replace "alias sound-slot-0 cs46xx" by "alias sound-slot-0 cs4232"

while launching

# /etc/init.d/sound start

I get this :

-----
Loading sound module (cs4232) FATAL: Error inserting cs4232 (/lib/modules/2.6.11-6mdk/kernel/sound/oss/cs4232.ko.gz): No such device
-----

and when replacing all the "cs4232" in modprobe.conf by "cs46xx", I get this after # etc/init.d/ and so on...

-----
Loading sound module (cs46xx) [OK]
-----

but I get no sound.
For example, when I launch Audacity, I get this message :

"Erreur d'initialisation audio
Une erreur s'est produite au cours de l'initialisation de l'E/S audio
Vous ne pourrez pas lire ou enregistrer d'audio.
Erreur : host error"

Which means (roughly), for those who are not familiar with french :
"Audio initialization Error
An error occured while initializing the Audio I/O
You won't be able to play or record audio.
Error : host error"

Many thanks for anyone who will be able to give another clue...


All times are GMT -5. The time now is 09:43 PM.