No sound on Toshiba 320cdt - puppy 4.1.2

Booting, installing, newbie
Post Reply
Message
Author
Akifue
Posts: 8
Joined: Mon 26 Jan 2009, 08:01

No sound on Toshiba 320cdt - puppy 4.1.2

#1 Post by Akifue »

Hello everybody :D
It's my first post, so i want to greet everybody.
It's my first try to run puppy - and can see i'ts great, but :(
I have a problem with sound.


I'ts my Machine :D
320CDT
• Intel® Pentium® with MMX™ (1.8/2.5V) at 233MHz
• 32MB EDO RAM standard (Expandable to 96MB)
• 512KB Pipelined burst level 2 cache
• PCI Architecture for optimal performance
• 4.0 billion byte (=3.82GB) hard disk drive
• Integrated 20x max. speed CD-ROM drive and floppy drive
• 12.1" diagonal, 800x600 TFT Active Matrix colour display
• Built-in sound system
• USB port for high speed connection to your USB peripherals

Trouble is in sound driver. It should be opl3sa2

When i run alsaconf, theoretically it should support driver opl3sa2
i have a message:
Probing: opl3sa2grep: /sys/bus/pnp/devices/??:*/resources: No such file or directory :(

When i run modprobe opl3sa2 i have a message FATAL: Module oplsa2 not found
so - it is a bug, i haven't module opl3sa2 in this kernel or i did something wrong?

My starting kernel parameter is pnpbios=off, without that system hang at startup. Maybe this is a problem?

i tried this:
from http://www.pcosmos.ca/linux/
"This was the most difficult part. Loading the right modules isn't enough. We also have to specify non trivial parameters and some aliases. Maybe this have something to do with the sound chipset being on the ISA bus instead of the PCI bus.

Before trying those modules, I was getting these warnings during the login:
device /dev/dsp can t be opened modprobe
"can t locate module sound slot 0"
(not exactly, those are my Google searches)

I did try the module mpu401 alone, but then I was getting:
"can t set requested samplingrate" [numbers I didn't note].

When I added the module opl3 with modconf, I gave the option io=0x388. And when I added the module opl3sa2, I gave the options io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=3 multiple=0 ymode=1. After this, I manually edited /etc/modules.conf to add those lines:

alias sound-service-0-2 opl3
alias sound-slot-0 opl3sa2

I found the information there : http://tuxmobil.org/sound_linux.html

Additionnally, in the midi section of the KDE Control Center, I had to select "Yamaha OPL3 - FM" as midi device because the default (MPU-401 [...]) wasn't doing anything.

I saw that the addresses given as parameters can be found in the bios configuration screens. ALSA sound drivers were not necessary. I used playmidi for the midi part of my tests."

It's not working.
mayby i should use older kernel, or older distro?
Where is that damned opl3sa2?

Thank you wery much.

Akifue
Posts: 8
Joined: Mon 26 Jan 2009, 08:01

#2 Post by Akifue »

SOLVED !! 8)

And i'm proud of doing this alone!

It was simple - there is no op3sa2 module in kernel 2.6.25.16

I have used instead distro "retro" - puppy-4.1.2retro-k2.6.21.7-seamonkey.iso
with kernel 2.6.21.7

And my beautyfull puppy bark!!! :D

I had problem with that card before - on slack, or ubuntu - it was difficult to configure it properly.

Now - it was almost easy.

Puppy is impossible distro - everything go smooth, fast and my very old laptop work better than with win98!!!!

Mayby this will be useful for somebody.

Toshiba 320CDT
Soundcard work properly with kernel 2.6.21.7
puppy-4.1.2retro-k2.6.21.7-seamonkey.iso
just use alsaconf and follow the prompt
this kernel don't need pnpbios=off and acpi=off at start.

puppy_herb
Posts: 3
Joined: Wed 25 Feb 2009, 21:10

Thanks for posting solution but one problem...

#3 Post by puppy_herb »

Hi Akifue

Thank you very much for posting the solution. I also own the 320CDT and want to use it as an MP3 player.
Using the puppy-retro install you found it works like a charm.

BUT: How do I make my sound work after rebooting?
I did a Harddisk inatsll of the system and after running alsaconf the sound is working and I can play MP3s.
But after a reboot, it doesn't work anymore. I can start the MP3 player and it loads but I don't hear anything.
Running alsaconf again, and it works until next reboot.

Any suggestions? I think the "sound module" is not started at bootup, but don't know how to solve this.

Cheers
Herbert

puppy_herb
Posts: 3
Joined: Wed 25 Feb 2009, 21:10

SOLVED

#4 Post by puppy_herb »

Hi again,

after some testing and googling I found it:
I just added

/etc/rc.d/rc.alsa start

to my rc.local
so the alsa sound system is started on bootup.

Now everything is just fine,
Thanks again Akifue for posting your solution, I would have been lost without your postings here.
Actually, I never heard of puppy linux before...
but it's a really great distro! I love it!

Cheers
Herbert

Akifue
Posts: 8
Joined: Mon 26 Jan 2009, 08:01

#5 Post by Akifue »

It's nice to see that my post help somebody. I have different distro, so i look into this forum hardly ever.

I solved my problem by adding:
' snd_opl3sa2:io=0x370:mss_io=0x530:mpu_io=0x330:irq=5:dma=1:dma2=3:multiple=0:ymode=1 '

into file bootconfig - located in /etc/rc.d folder.

It was difficult to find, that normal way of adding modules in puppy doesn't work, and you must use this strange config file, but, anyway.....

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#6 Post by cthisbear »

Akifue:

Always nice to get a result.
Nice if someone can help you.

But I'll give you a Gold Star for solving it yourself
and then posting back anyway.

Chris.

Post Reply