Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 22:06
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Audio
No Sound---Solved Bloody Beauty !!
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sat 05 May 2007, 18:54    Post subject:  No Sound---Solved Bloody Beauty !!
Subject description: Built in sound on motherboard not found
 

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, 05:39; edited 1 time in total
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 10 May 2007, 05:33    Post subject: Just so it stays together
Subject description: No sound on Puppy
 

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?
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 10 May 2007, 05:44    Post subject: Solution  

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 !!
screen.jpg
 Description   This is how the alsa screen looked after loading snd-trident
 Filesize   80.32 KB
 Viewed   3083 Time(s)

screen.jpg

Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 10 May 2007, 06:18    Post subject:  

Above on 2.14

works on 2.15 also but bottom 2 lines on alsa screen aren't there
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Thu 10 May 2007, 15:34    Post subject:  

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:
lspci -i /usr/share/pci-usb-pcmcia.ids

Code:
lspci -n

Code:
tail /etc/modprobe.conf

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

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

Code:
cat /proc/isapnp

Code:
lsmod

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 10 May 2007, 20:59    Post subject:  

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#
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 11 May 2007, 06:24    Post subject:  

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
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 11 May 2007, 14:20    Post subject:  

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:
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…)
rc.modules2.gz
Description 
gz

 Download 
Filename  rc.modules2.gz 
Filesize  3.15 KB 
Downloaded  1108 Time(s) 

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Sat 12 May 2007, 02:46    Post subject:  

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.Cool 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.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Wed 16 May 2007, 23:34    Post subject:  

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.
Back to top
View user's profile Send private message 
akilan

Joined: 01 Jul 2006
Posts: 16
Location: Dallas, Texas

PostPosted: Sun 12 Aug 2007, 05:09    Post subject: thanks!  

thanks dougal - you saved me from pulling my hair out! finally i have sound!
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Mon 15 Oct 2007, 02:23    Post subject: ac97 Sound  

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 Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
davidlandy

Joined: 23 Jan 2008
Posts: 15

PostPosted: Wed 06 Feb 2008, 06:44    Post subject:  

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!

Very Happy

Thanks Dougal, you're a star.
Back to top
View user's profile Send private message 
pcdoctor

Joined: 17 Apr 2008
Posts: 12

PostPosted: Thu 14 Aug 2008, 05:59    Post subject:  

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.
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Thu 14 Aug 2008, 06:26    Post subject:  

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).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Audio
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1067s ][ Queries: 12 (0.0077s) ][ GZIP on ]