!!!!!FIXED!!!No audio from Dell Latitude CPI using Puppy 4.2

Problems and successes with specific brands/models of computer audio hardware
Message
Author
User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

Aitch to me

#41 Post by Eathray »

From: Aitch
To: Eathray
Posted: Today, at 09:32
Subject: Re: found some code, but don't know what to do with it Quote message
Quote:
The guy has the same audio controller as me


How do you know?

If you have written down any sound configuration details from previous working setups [windoze/linux] - now would be a time to say, as dma/ports/irq are all details which, if wrong/missing, can prevent sound from working

I posted already that there are at least 2 different sound chips for dell latitude as well as different latitude models

could be CS4236, or CS4237B...... AFAIK, maybe others also

Have you tried alsa wizard 'try legacy probe'??

result??

1st I believe from tempestuous's posts, the code to find out [type in console] is:

Code:
lsmod


post resultant snd ID

2nd the link you give says try modprobe - do this in a console

start with trying

Code:
modprobe -r snd-card-cs4236


in case there is any loaded code/card info [removes it]

then try

Code:
modprobe snd-card-cs4236 snd_port=0x534 snd_cport=0x120


if that then gets a sound card found

try

Code:
modprobe snd-card-cs4236 snd_port=0x534
snd_cport=0x120 snd_mpu_port=-1 snd_fm_port=0x388 snd_jport=-1
snd_irq=5 snd_dma1=0 snd_dma2=1


If it doesn't, replace CS4236 with CS4237B, and run it all again, from 'start with trying' line

If either is successful after doing this, run alsamixer and check that volume is not muted, as I've seen many 'no sound' posts fixed by un-muting volume - see volume control bottom right/red cross if muted, just bring volume up to unmute, I believe

HTH

This should really be in the thread, so if you post there, I'll copy my reply for other's benefit

Aitch Smile

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

me to Aitch

#42 Post by Eathray »

From: Eathray
To: Aitch
Posted: Today, at 10:42
Subject: reply Edit message
The bios tells me the controller is Crystal 4237B. That's all I'm going by. I don't really know, you're correct.

Something new happened. When I ran lsmod in this session, it gave me all kinds of information. Why not before? Not really sure. I'd like to post it, but I'm having a problem with copy/paste in the console. doesn't seem to work. How do you guys (the ones who know what they're doing) copy and paste into or out of the console?

The other stuff didn't work, but if you could see the info I found, you might be able to spot what's wrong.

You are right, all this stuff should go in the thread. Even if something doesn't work, it's one less thing for someone else to try.

Cool.

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

me to Aitch

#43 Post by Eathray »

From: Eathray
To: Aitch
Posted: Today, at 11:21
Subject: Re: found some code, but don't know what to do with it Edit message
Holy cow, I figured it out. Here's what I get from lsmod. I'm going to copy all this stuff to the thread for the benefit of others. In the mean time, can you make sense out of this stuff?

# lsmod
Module Size Used by
snd_cs4232 14232 1
snd_opl3_lib 11264 1 snd_cs4232
snd_hwdep 9220 1 snd_opl3_lib
snd_cs4231_lib 24192 1 snd_cs4232
snd_pcm 73736 1 snd_cs4231_lib
snd_timer 22276 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd_mpu401_uart 8064 1 snd_cs4232
snd_rawmidi 23456 1 snd_mpu401_uart
snd_seq_device 8204 2 snd_opl3_lib,snd_rawmidi
snd 52772 9 snd_cs4232,snd_opl3_lib,snd_hwdep,snd_cs4231_lib ,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7520 3 snd
snd_page_alloc 10376 2 snd_cs4231_lib,snd_pcm
arc4 2048 2
ecb 3712 2
crypto_blkcipher 19844 1 ecb
p54pci 11904 0
p54common 12672 1 p54pci
mac80211 129680 2 p54pci,p54common
cfg80211 18696 1 mac80211
evdev 11776 1
serio_raw 6788 0
i2c_piix4 8972 0
i2c_core 24592 1 i2c_piix4
pcspkr 2944 0
apm 19792 1
fuse 48284 2
aufs 150040 1
nls_iso8859_1 4096 0
nls_cp437 5760 0
usbhid 29696 0
usb_storage 85952 0
uhci_hcd 23820 0
usbcore 136560 4 usbhid,usb_storage,uhci_hcd
squashfs 46856 1
yenta_socket 26252 3
rsrc_nonstatic 12928 1 yenta_socket
#

By the way, very much appreciate the time you've spent with me. Probably frustrating dealing with a complete novice. Wink

Eth

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#44 Post by Aitch »

Hi

Thanks for returning to the thread - may help someone else

I found an old thread for Dell latitude CPI, which the poster said used CS4237B

http://murga-linux.com/puppy/viewtopic.php?t=20616

>>>Note: bookmark the search I used, it's invaluable for such as this

http://www.wellminded.com/puppy/pupsearch.html<<<


here's tempestuous's reply
tempestuous wrote:Your ALSA module should be snd-cs4236.
In the ALSA wizard you should select "cs4236"

If this doesn't work, follow my manual setup instructions here -
http://www.murga-linux.com/puppy/viewto ... 335#110335
looks like the relevant part is
Now run the sound wizard, choose search for "legacy" devices, select "cs4236". Hopefully this will work. If not, you need to set up ALSA manually: open /etc/modprobe.conf in geany and add these lines -

alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 index=0 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5
very similar to the stuff I pm'd you - looks like you have to play with this a bit

Hopefully, if it's wrong, tempestuous will spot the error......

Good Luck

I still think ttuuxxx's 214xx would be a better OS for this PC

Aitch :)

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

Aitch

#45 Post by Eathray »

well... crap.

None of that worked. I'm trying to review and figure out if I've done everything correctly.

Alsaconf still doesn't work, but I did figure a few things out:

1 Quick Boot in my bios is the same as PNP. It doesn't have an Off setting, but it has advanced rather then auto or enabled; check.

2 Forget about SB16 on an old system; Alsaconf just sits there and looks at it.

3 I was able to get Alsaconf to complete its probe this time by going Alsaconf, Probe Legacy, Unclick SB16, Click cs4236. This gets it as far as telling me it does not recognize a sound card (which it has never done before).

Thinking out next step. Feel free to suggest.

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

Aitch

#46 Post by Eathray »

So in the place where I'm supposed to add lines to /etc/modprobe.conf using Geany, this is what I came up with, my lines are inserted at the end where it says Alsaconf has made these changes, do not edit:

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-0 busmouse
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-10-200 tun
alias char-major-13-* input
alias char-major-13-32 mousedev
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 char-major-171-* raw1394
alias char-major-195-* NVdriver
alias char-major-200-* vxspec
alias char-major-206-* osst
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-17 af_packet
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp_generic
alias ppp1 ppp_generic
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-18 ppp_mppe
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 /dev/ppp ppp_generic
alias /dev/lp0 /dev/lp1 lp
alias char-major-116-* snd
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
install binfmt-0000 /bin/true
install char-major-10 /bin/true
install char-major-10-1 /bin/true
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
install eth0 /bin/true
install net-pf-10 /bin/true
install net-pf-19 /bin/true
install net-pf-3 /bin/true
install net-pf-6 /bin/true
install ov518_decomp { /sbin/modprobe ov511; } ; /sbin/modprobe --first-time --ignore-install ov518_decomp
install scsi_hostadapter /bin/true
install wacom /sbin/modprobe --first-time --ignore-install wacom && { /sbin/modprobe evdev; /bin/true; }
remove ov518_decomp /sbin/modprobe -r --first-time --ignore-remove ov518_decomp && { /sbin/modprobe -r ov511; /bin/true; }
remove wacom { /sbin/modprobe -r evdev; } ; /sbin/modprobe -r --first-time --ignore-remove wacom
install sdhci /sbin/modprobe mmc_block ; /sbin/modprobe --ignore-install sdhci
remove sdhci /sbin/modprobe -r --ignore-remove sdhci ; /sbin/modprobe -r mmc_block
install tifm_7xx1 /sbin/modprobe --ignore-install tifm_7xx1 ; /sbin/modprobe mmc_block ; /sbin/modprobe tifm_sd

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.16 ---
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 index=0 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5
# --- END: Generated by ALSACONF, do not edit. ---

Does this look right to you? :?

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

An error report, maybe there's a new clue?

#47 Post by Eathray »

This is an error report from running alsaconf after adding some code to etc/rc.d/rc.local. The report may be incidental to the code, but here it is any way:

modprobe -v cs4232 io=0x530 irq=5 dma=1 dma2=0

Here's the error report:

Loading driver...
Shutting down sound driver: amixer: Mixer attach default error: No such device
amixer: Mixer attach default error: No such device
/usr/sbin/alsactl: save_state:1497: No soundcards found...
ERROR: Module snd_cs4232 is in use
ERROR: Module snd_opl3_lib is in use by snd_cs4232
ERROR: Module snd_hwdep is in use by snd_opl3_lib
ERROR: Module snd_cs4231_lib is in use by snd_cs4232
ERROR: Module snd_pcm is in use by snd_cs4231_lib
ERROR: Module snd_timer is in use by snd_opl3_lib,snd_cs4231_lib,snd_pcm
ERROR: Module snd_mpu401_uart is in use by snd_cs4232
ERROR: Module snd_rawmidi is in use by snd_mpu401_uart
ERROR: Module snd_seq_device is in use by snd_opl3_lib,snd_rawmidi
ERROR: Module snd is in use by snd_cs4232,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Starting sound driver: snd-cs4232

If you can explain what's wrong, and/or what to try, sure appreciate it.

Thanks

Eth

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#48 Post by Aitch »

Sorry, I'm out of tips/knowledge on this one....

Have PM'd tempestuous

Aitch :)

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

Aitch: thanks for the time you spent with me.

#49 Post by Eathray »

I'll keep putting stuff up about my problem... hopefully somebody will spot what's wrong.

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

tried a couple things, nothing worked...

#50 Post by Eathray »

I tried to other things:

214x11
Puppy 3.1

Could not get either one to even load no matter what I tried.

So I figured, maybe the new Puppy 4.3 (425) will have good backward compatibility, so I tried it:

Puppy 4.3 is OUTSTANDING. Everything is good as far as functionality, and substantially better than 4.2, particularly the internet connection wizard. One complaint, the appearance is not as attractive as 4.2 (but I'll make some changes).

Audio:
Still no audio. However, the Alsaconf Wizard now recognizes cs4236 as it's own category instead of finding it under 'probe legacy' stuff. Also, the Alsa Mixer now loads and can be played with (just doesn't make sound). So, I think I'm closer, but not there yet.

Currently I think the problem is not Puppy. I think my other OS (Win2k) is protecting an asset, or I have overlooked something in the bios (Dell A12), although I can't imagine what.

Anybody's input is welcome. :wink:

Eth

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

SO HERE'S HOW I FIXED IT

#51 Post by Eathray »

So it started when I decided to try a different version from 4.2.

Aitch encouraged me to try ttuuxxx's 214x11, which I didn't really want to do since everything was working so well in 4.2 except the sound. He thought it might have a better time recognizing the old sound card for my antique latitude cpi.

I erased 4.2, burned 214x11 on my host, then stuck it into my laptop... and it wouldn't load! Crap! A bunch of boot options, I tried more of them then I can remember, and nothing!!!

Okay, so I started looking at the other releases, and found Puppy Retro 3.1., which is supposed to be compatible with the old kernels. I burned it, tried it out... and nothing!!! Damn!!!

So then, contemplating going back to 4.2, the thought occurred to me that maybe 4.3 (425) would have good backward compatibility. So I burned it and loaded it up, and, aside from being less attractive visually, it worked like a dream. Everything about the performance is better, especially the network interface. Much, much better.

But still no sound. However, some things were working that hadn't been before in 4.2. Alsaconf was now recognizing cs3246 instead of calling it cs3242. I loaded it and reloaded it several times, but no sound. However, the Alsa Mixer was now able to open whereas it wouldn't under 4.2.

Most of my previous torture and sweat had been about the bio settings and getting 4.2 to recognize the correct sound card. But I only played with it a little because I was still thinking it was a driver (because my bios says the audio is 3247, not 3246, and I didn't really believe Puppy since it had been wrong about 3242).

So then I happened on a reply from tempestuous to somebody else, about using hitting 'm' to mute and unmute the mixer. I tried it... nothing. So I fiddled with something else, the multiple sound card wizard. It gave me two options...
1. cs3246 as my primary card... or...
2. cs3246 as my primary card... nice.
I clicked it and left.

Then I went back to the mixer, and all the settings were gone. Crap.

I rebooted, went back to Alsaconf, reloaded cs3246, went back to the mixer, opened a music file...

HOLY CRAP... IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!
AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!
I AM A LINUX SUCCESS!!!!!!!!!!!!!

Conclusions:

1. 4.3 is better than 4.2 for an older laptop like mine.

2. A lot of little things contributed to my success like upgrading bios and changing bio settings.

3. Catching that note from tempestuous' to somebody else about the Mixer's mute function was shear luck, and proves the importance of reading and searching the forums... and reading, and searching, and reading, searching, reading some more... searching more...

4. A hidden conflict was inadvertently corrected by using the multiple sound card wizard to force puppy to make cs3246 its primary choice even though it was the only choice, for Pete's sake! Why did that work? I have no idea. It's ridiculous!

Thanks to Aitch who helped me personally, and a couple others, tempestous who helped some other people, which inadvertently helped me, and to everybody who kept posting stuff about linux audio. I've read a couple book's worth of posts in the last week trying to figure it out.

I am a linux success story. I have audio. I don't need windows anymore. Hooray for me!!!!!

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Bligh
Posts: 480
Joined: Sun 08 Jan 2006, 11:05
Location: California

#52 Post by Bligh »

Good news, maybe I will give 4.3 a go on that box.
Cheers

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#53 Post by Lobster »

I am a linux success story. I have audio. I don't need windows anymore. Hooray for me!!!!!
Read and enjoyed this whole thread and the process.
You are now tuxified.
Soon you will be hardcore
http://www.dedoimedo.com/computers/linux_commands.html
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#54 Post by BarryK »

Fascinating!

I wonder what I could do in 4.3, well no it will have to be 4.3.1 as 4.3 is now "frozen", so that anyone else in the same situation won't have to go through such a lengthy process?
[url]https://bkhome.org/news/[/url]

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#55 Post by Aitch »

Eathray

Bonus points for perseverence!! :D

Well Done - You are an encouragement to other noobies like yourself

I did actually post about the mute thing....in amongst loads of other stuff, it probably got overlooked, - no problem

Thanks.....And to BarryK, too, for whatever you do to continually improve an already outstanding OS

Another Puppified customer :lol:

Eathray - where you added "!!fixed!!" to your first post, would you add - "Used Puppy 4.3" to the subject description line so others get a preview of the solution? - thanks

Aitch :)

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

Aitch, noted 4.3 in the subject description.

#56 Post by Eathray »

I made a note in the subject line that I switched to 4.3.

Bligh
Posts: 480
Joined: Sun 08 Jan 2006, 11:05
Location: California

#57 Post by Bligh »

Thanks to all, I now have sound on that box with the sb 24 bit card. 4.3 seems fast also, even on this old box.
Cheers
Edit, I didn't have to do anything, 4.3 just automagically configured my sound card correctly.

Post Reply