No Sound---Solved Bloody Beauty !!

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
tytower

No Sound---Solved Bloody Beauty !!

#1 Post by tytower »

I have the common type of motherboard which has built in sound
Puppy 2.14 does not recognise the sound card

Puppy 2.15 does not find it and no sound

Any ideas?


Also the desktop icons in 215 have lost their colour?
of 22 links only 9 are coloured
2.14 had them all coloured? Fixed-upgrade keeps some of the old shortcuts

Modprobe -l gives the following modules loaded:-
/lib/modules/2.6.18.1/kernel/sound/isa/snd-opl3sa2.ko
/lib/modules/2.6.18.1/kernel/sound/isa/snd-es18xx.ko
/lib/modules/2.6.18.1/kernel/sound/isa/cs423x/snd-cs4231-lib.ko
/lib/modules/2.6.18.1/kernel/sound/isa/cs423x/snd-cs4236.ko
/lib/modules/2.6.18.1/kernel/sound/isa/cs423x/snd-cs4236-lib.ko
/lib/modules/2.6.18.1/kernel/sound/isa/cs423x/snd-cs4232.ko
/lib/modules/2.6.18.1/kernel/sound/isa/cs423x/snd-cs4231.ko
/lib/modules/2.6.18.1/kernel/sound/isa/es1688/snd-es1688.ko
/lib/modules/2.6.18.1/kernel/sound/isa/es1688/snd-es1688-lib.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sbawe.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb16.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb16-dsp.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb16-csp.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb-common.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb8.ko
/lib/modules/2.6.18.1/kernel/sound/isa/sb/snd-sb8-dsp.ko
/lib/modules/2.6.18.1/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/2.6.18.1/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/2.6.18.1/kernel/sound/soundcore.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd.ko
/lib/modules/2.6.18.1/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.18.1/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.18.1/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.18.1/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.18.1/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.18.1/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.18.1/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.18.1/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.18.1/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.18.1/kernel/sound/pci/ac97/snd-ac97-bus.ko
/lib/modules/2.6.18.1/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/2.6.18.1/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.18.1/kernel/sound/pci/snd-es1938.ko


Mine I think are the ac97 ones normally I think
Last edited by tytower on Thu 10 May 2007, 09:39, edited 1 time in total.

tytower

Just so it stays together

#2 Post by tytower »

The board is a PCChips Hsuen...whatever M810 LR-H board and the sound chip I think is SiS.

Dont find any numbers when I look but
The Manual says

AC'97 Codec
Intel AC'97 v2.2 spec compatible
Supports 16 biy ADC and DAC as well as stereo full-duplex codec
Supports 4 channel DAC for 4 channel speaker out.

I notice in Suse 10.2 the driver seems to be snd-trident which isn't loaded as above?

Can anyone help?

tytower

Solution

#3 Post by tytower »

Well blow me down

I thought wonder what would happen if I just try loading the "snd-trident" module which is what Suse 10.2 was using .
did "modprobe snd-trident"
and suddenly the module loaded and then the Alsa configuration gave an entirely different screen finding my board and allowing me to configure it.

Plays mp3 s as well
Bloody marvellous !!
Attachments
screen.jpg
This is how the alsa screen looked after loading snd-trident
(80.32 KiB) Downloaded 3431 times

tytower

#4 Post by tytower »

Above on 2.14

works on 2.15 also but bottom 2 lines on alsa screen aren't there

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#5 Post by Dougal »

Could you please post here the output of a few commands, so that we can find out why it didn't load that module?

Here you go:

Code: Select all

lspci -i /usr/share/pci-usb-pcmcia.ids

Code: Select all

lspci -n

Code: Select all

tail /etc/modprobe.conf

Code: Select all

ls /sys/bus/pnp/devices/*:*.00

Code: Select all

cat /sys/bus/pnp/devices/*:*.00/id

Code: Select all

cat /proc/isapnp

Code: Select all

lsmod
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

tytower

#6 Post by tytower »

sh-3.00# lspci -i /usr/share/pci-usb-pcmcia.ids
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0730 (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS]: Unknown device 5513 (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0018
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS]: Unknown device 0900 (rev 82)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS]: Unknown device 7018 (rev 02)
00:01.6 Modem: Silicon Integrated Systems [SiS]: Unknown device 7013 (rev a0)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0001
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8139 (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown device 6300 (rev 31)

sh-3.00# lspci -n
00:00.0 Class 0600: 1039:0730 (rev 02)
00:00.1 Class 0101: 1039:5513 (rev d0)
00:01.0 Class 0601: 1039:0018
00:01.1 Class 0200: 1039:0900 (rev 82)
00:01.2 Class 0c03: 1039:7001 (rev 07)
00:01.3 Class 0c03: 1039:7001 (rev 07)
00:01.4 Class 0401: 1039:7018 (rev 02)
00:01.6 Class 0703: 1039:7013 (rev a0)
00:02.0 Class 0604: 1039:0001
00:09.0 Class 0200: 10ec:8139 (rev 10)
01:00.0 Class 0300: 1039:6300 (rev 31)
sh-3.00#

sh-3.00# tail /etc/modprobe.conf
remove hid { /sbin/modprobe -r keybdev; /sbin/modprobe -r mousedev; } ; /sbin/modprobe -r --first-time --ignore-remove hid
remove ov518_decomp /sbin/modprobe -r --first-time --ignore-remove ov518_decomp && { /sbin/modprobe -r ov511; /bin/true; }
remove usbmouse { /sbin/modprobe -r hid; } ; /sbin/modprobe -r --first-time --ignore-remove usbmouse
remove wacom { /sbin/modprobe -r evdev; } ; /sbin/modprobe -r --first-time --ignore-remove wacom
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.12rc1 ---
alias snd-card-0 snd-trident
alias sound-slot-0 snd-trident
# --- END: Generated by ALSACONF, do not edit. ---

sh-3.00# ls /sys/bus/pnp/devices/*.*.00/id
ls: /sys/bus/pnp/devices/*.*.00/id: No such file or directory
sh-3.00# ls /sys/bus/pnp/devices/*.*.00/id
but there are directories 00:00 to 0e and 00:01 to 00:0d if this helps


sh-3.00# ls /sys/bus/pnp/devices
00:00 00:02 00:04 00:06 00:08 00:0a 00:0c 00:0e
00:01 00:03 00:05 00:07 00:09 00:0b 00:0d
sh-3.00#

sh-3.00# cat /proc/isapnp
cat: /proc/isapnp: No such file or directory
sh-3.00#
There are 96 processes listed at this time but no isapnp because this is not a pnp board is it?

sh-3.00# lsmod
Module Size Used by
snd_trident_synth 12784 1
snd_seq_instr 8144 1 snd_trident_synth
snd_seq_midi_emul 7344 1 snd_trident_synth
snd_seq 48592 4 snd_trident_synth,snd_seq_instr,snd_seq_midi_emu l
snd_ainstr_simple 2768 1 snd_trident_synth
snd_mixer_oss 17328 0
snd_trident 41796 1 snd_trident_synth
gameport 14904 2 snd_trident
snd_ac97_codec 90448 1 snd_trident
snd_ac97_bus 2128 1 snd_ac97_codec
snd_pcm 77592 2 snd_trident,snd_ac97_codec
snd_timer 23540 2 snd_seq,snd_pcm
snd_page_alloc 10008 3 snd_trident_synth,snd_trident,snd_pcm
snd_util_mem 4560 1 snd_trident
snd_mpu401_uart 8112 1 snd_trident
snd_rawmidi 24064 1 snd_mpu401_uart
snd_seq_device 7996 4 snd_trident_synth,snd_seq,snd_trident,snd_rawmid i
snd 51396 9 snd_seq,snd_mixer_oss,snd_trident,snd_ac97_codec ,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9408 1 snd
usblp 13680 0
apm 20100 0
8139too 25616 0
pctel 17644 0
pctel_hw 1111332 1 pctel
linmodem 12288 1 pctel
slamr 434056 0
sis900 22288 0
mii 5680 2 8139too,sis900
i2c_sis630 7900 0
i2c_core 21408 1 i2c_sis630
usb_storage 83904 1
fuse 44388 0
unionfs 77792 1

nls_iso8859_1 3984 1
nls_cp437 5648 1
sr_mod 17412 0
ide_cd 40100 0
cdrom 39424 2 sr_mod,ide_cd
ohci_hcd 20564 0
usbcore 126116 4 usblp,usb_storage,ohci_hcd
sh-3.00#

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#7 Post by Dougal »

Thanks, I'll look into it.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#8 Post by Dougal »

Got it!

Here you go, in case you're interested:

The alsaconf script creates a "card database" from /lib/modules/modules.pcimap.2.6.18.1.
This database lists all the sound modules (snd-) and the pci numbers of devices using each.

If you look at the list, you'll see that the third is "snd-trident", which has
"PCI: 0x1039=0x7018" listed -- which also appears in your "lspci -n" output (1039:7018)!

Now, rc.modules goes over the list from "lspci -n" and then looks for a pattern like "0x00001039 0x00007018" in /lib/modules/modules.pcimap.2.6.18.1, to know which module to load.

BUT, it only takes the first it gets! Look:

Code: Select all

cat /lib/modules/modules.pcimap.2.6.18.1 |tr -s " " | cut -f 1-3 -d " " | grep "0x00001039 0x00007018"
slamr 0x00001039 0x00007018
snd-trident 0x00001039 0x00007018
trident 0x00001039 0x00007018
sh-3.00#
So what happened here was that only "slamr" got loaded (as you can see in your lsmod output, after sis900)!

Now, the only question is if we should load all three modules, or only the snd-trident... it appears that "trident" is for OSS, "snd-trident" for ALSA(??) and "slamr" an "extra" (you could try "modinfo slamr" to find out more), so maybe all of them.

Anyway, here's a modified rc.modules that loads all the modules, in case you want to try it. (just unzip it, rename it to rc.modules and put it in /etc/rc.d, then reboot and see what happens…)
Attachments
rc.modules2.gz
(3.15 KiB) Downloaded 1477 times
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#9 Post by tempestuous »

Dougal wrote:the only question is if we should load all three modules,
I believe two: one for the audio device (snd-trident) and one for the modem controller (slamr).
It appears that the motherboard's southbridge chipset contains a combined audio/modem controller. Apparently that's why two devices share the same pci id.

"snd-trident" and "trident" would conflict. You use either ALSA or OSS, never both. Back in the days when Puppy adopted the ALSA sound system (v1.0.8) there was some discussion about how to avoid loading the OSS driver. I can't remember the outcome.

Just out of interest, there is another rare SiS audio chip with a similar pci id 0x00001039 0x00007019 which is ONLY supported by an OSS driver (sis7019), and not ALSA. This audio chip is in the eBox mini-computer.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#10 Post by tempestuous »

Dougal has asked for the alsaconf from alsa-utils-1.0.12rc1 for testing purposes.
This should NOT be used in Puppy.

EDIT: attachment removed.
I can't imagine why this was downloaded 15 times.

akilan
Posts: 16
Joined: Sat 01 Jul 2006, 15:46
Location: Dallas, Texas

thanks!

#11 Post by akilan »

thanks dougal - you saved me from pulling my hair out! finally i have sound!

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

ac97 Sound

#12 Post by ecomoney »

Hi there thanks for this tip. I was wondering how the testing went for this issue and if it had been resolved in the 3.xx. I set up a computer with onboard ac97 sound today with ecopup (2.15ce based). it wasnt automatically detected. AC97 chipsets are very common.

Success, this worked for me!!!

On a technical not, I believe the init.script in initrd.gz blacklists this driver by default? Why is that?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

davidlandy
Posts: 15
Joined: Wed 23 Jan 2008, 17:38

#13 Post by davidlandy »

It's not resolved in 3.01 but the rc.modules fix worked great (after many hours searching and much hair-pulling too, akilan).

Finally, sound out of my AC97 7018 on-board chip!

:D

Thanks Dougal, you're a star.

pcdoctor
Posts: 12
Joined: Fri 18 Apr 2008, 01:30

#14 Post by pcdoctor »

How do I cut and paste my info from rxvt so I can post it to this thread?

Here is some previous info that I posted about my sound problem.

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

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

As soon as I get info on how to cut and paste from rxvt, I can post more detailed info.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#15 Post by Béèm »

pcdoctor,
I asked the same question a couple of days ago.
The easiest is highlight the text to be copied in rxvt and paste it with the middle mouse button in the target place.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

pcdoctor
Posts: 12
Joined: Fri 18 Apr 2008, 01:30

#16 Post by pcdoctor »

I'm used to the terminal in kubuntu.
I can cut and paste by doing a shift insert or selecting the paste option.
Is there any way to send the output of the terminal to a text file?
This way I can open the text file using abiword and then paste my info in this thread.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#17 Post by Béèm »

That was the problem I had. Nor the shift-ins nor the ctrl-V did work.
If the scroll wheel is your middle button (which it is normally) yes that's the one to use.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#18 Post by muggins »

Or, if your mouse doesn't have a middle button, you can simulate by clicking left & right buttons simultaneously.

pcdoctor
Posts: 12
Joined: Fri 18 Apr 2008, 01:30

#19 Post by pcdoctor »

Here is my original problem.
I have sound in puppy 1.08 but not 2.x, 3.x or 4.x.
Info from puppy 1.08 said: Advance Logic ALS100
snd-als100 was listed in the modprobe.conf file in v. 1.08.
I currently have puppy 4.00 installed.

# aplay -l
aplay: device_list:204: no soundcards found...
#


# lspci -n
00:00.0 Class 0600: 1106:0598 (rev 04)
00:01.0 Class 0604: 1106:8598
00:07.0 Class 0601: 1106:0586 (rev 47)
00:07.1 Class 0101: 1106:0571 (rev 06)
00:07.2 Class 0c03: 1106:3038 (rev 02)
00:07.3 Class 0604: 1106:3040 (rev 10)
00:08.0 Class 0c03: 1045:c861 (rev 10)
00:09.0 Class 0300: 1013:00a8 (rev fc)
00:0a.0 Class 0200: 10b7:9050


lspci -i /usr/share/pci-usb-pcmcia.ids
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0598 (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8598
00:07.0 ISA bridge: VIA Technologies, Inc.: Unknown device 0586 (rev 47)
00:07.1 IDE interface: VIA Technologies, Inc.: Unknown device 0571 (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
00:07.3 PCI bridge: VIA Technologies, Inc.: Unknown device 3040 (rev 10)
00:08.0 USB Controller: OPTi Inc.: Unknown device c861 (rev 10)
00:09.0 VGA compatible controller: Cirrus Logic: Unknown device 00a8 (rev fc)
00:0a.0 Ethernet controller: 3Com Corporation: Unknown device 9050




tail /etc/modprobe.conf
install scsi_hostadapter /bin/true
install usbmouse /sbin/modprobe --first-time --ignore-install usbmouse && { /sbin/modprobe hid; /bin/true; }
install wacom /sbin/modprobe --first-time --ignore-install wacom && { /sbin/modprobe evdev; /bin/true; }
remove hid { /sbin/modprobe -r keybdev; /sbin/modprobe -r mousedev; } ; /sbin/modprobe -r --first-time --ignore-remove hid
remove ov518_decomp /sbin/modprobe -r --first-time --ignore-remove ov518_decomp && { /sbin/modprobe -r ov511; /bin/true; }
remove usbmouse { /sbin/modprobe -r hid; } ; /sbin/modprobe -r --first-time --ignore-remove usbmouse
remove wacom { /sbin/modprobe -r evdev; } ; /sbin/modprobe -r --first-time --ignore-remove wacom
install sdhci /sbin/modprobe mmc_block major=179 ; /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 major=179 ; /sbin/modprobe tifm_sd



ls /sys/bus/pnp/devices/*:*.00
bus id options power resources subsystem uevent


cat /sys/bus/pnp/devices/*:*.00/id
@@@2001
# @@@2001

cat /proc/isapnp
cat: /proc/isapnp: No such file or directory

I can't get the part for "lsmod" to paste

Post Reply