sound and IBM T23


Forum: Laptops
Topic: sound and IBM T23
started by: tuxedo

Posted by tuxedo on April 29 2006,14:20
Hi,

I've got an IBM T23 (with Intel 82801 sound controller) everything is OK but i couldn't have sound working out of the box. Has someone found a way to get it work?
Thanks.

Posted by piccolo on April 30 2006,13:33
In Linux there are two families or type sound drivers: ALSA and OSS drivers.
DSL install by defect OSS type driver.
Frequently the sound problems is the resources assignation (irq, dma, port) for the sound controller.
I do not know which is the driver for your chipset but you can do this:

-Make sure your bios is set for PnP OS = NO

-Check if driver module for the 82801 sound controller was loaded doing the command:
lsmod

-Check interrup comflicts doing the command:
cat /proc/interrupts

-Remove and Reload again the driver module specifying the resource assignation.

- Try utility sndconfig. I explained that here:
< http://damnsmalllinux.org/cgi-bin....t=12929 >

Other possibility:
Newer cards may need ALSA diver

You could try to use the ALSA driver but booting from Live DSL CD so, if you have installed DSL to hard disk, you not will modify your actual configuration for OSS driver .
Procedure:

1. Boot from DSL CD

2. Install the 3 following MyDSL extensions:

-gnu-utils.dsl
-dsl-dpkg.dsl
-If your DSL is v2.0 or v2.1 then install alsa.dsl, else install alsadebs.dsl. (Importante: Choose the correct file for your DSL version or the ALSA driver not will work)

3. Execute the script ALSA install by go to MyDSL -> ALSA menu.

4. Try play  sound

Posted by piccolo on April 30 2006,13:37
... and many thanks Tuxedo for the recommended streams!
Posted by tuxedo on April 30 2006,18:51
Thanks Picolo,

my sound card is detected and the modules are loaded:
lsmod |grep audio returns:
i810_audio  36884 0
ac_97_codec 20108 1 i810_audio
soundcore 11104 2 snd,i810_audio

but a 'cat /dev/sndstat' returns no such file or directory

I installed alsa (mydsl package) alsaconf went ok (it detected the audio controller) but when i ran alsamixer i get: function snd_ctl_open failed for default : no such file or directory

i checked irc in /proc/interrupts, and i noticed my sound card (i8042) is present on irq 1 and on irq 12.i'll take a look in BIOS settings of the laptop...
strangely, it's a new laptop i got (with windows xp pre-installed on it, and sound is ok on XP...
Any way, thanks for the advice :)

Posted by tuxedo on April 30 2006,22:24
for info, i also get the message:
insmod /lib/modules/2.4.26/kernel/arch/i386/kernel/apm.o: init_module: no such device.
i tried to boot whith another llinux live distribution (slax with kernel 2.6.16) and soud was ok .
lsmod returned:
snd_seq_dummy
snd_seq_oss
snd_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
snd_mixer_oss
snd_intel8x0
snd_ac97_codec
snd_ac97_bus
snd_pcm
snd_timer
snd
sound_core

well, i'll try to have sound working on dsl

Posted by piccolo on May 02 2006,12:51
Quote
ran alsamixer i get: function snd_ctl_open failed for default : no such file or directory

The typic information when the ALSA driver can't be loaded correctly.

I do not know exactly the cause but in DSL Installation to Hard Disk something is not reset totally for to load the ALSA modules. Such reset would have to do it the "alsa" boot option written in the Boot Loader Configuration file.

However when the DSL boot from Live CD, the "dsl alsa" option works fine in that sense although the system anyway can fail to assign resources correctly.

I installed ALSA because OSS not worked then i had still more problems: The DSL loaded ALSA together OSS modules and the boot option changed nothing that.
I ran the sndconfig utility and I observed that the utility can reset correctly any previous audio configuration.
However if utility fails to configure automatically then pass to manual configuration without reset your previous automatic configuration. Then the manual configuration too fails, still if resource assignments was corrects.
However if running the utility with the option --noprobe then pass directly to manual configuration resetting correctly any other configuration. Thus I found the correct resource assignments for the driver but that is lost when the computer reboot.

After DSL boot, I removed manually all from the sound modules and i tried to reload manually the modules OSS with the correct resource assignments for the driver and it worked. I wrote all from that commands to /opt/bootlocal.sh file. Thus DSL boot with that configuration and the problem was solved.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.