LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2005, 11:07 PM   #1
bgryderclock
Member
 
Registered: Mar 2005
Location: charlotte nc
Distribution: fedora -> debian / (x)ubuntu -> Slackware
Posts: 44
Blog Entries: 1

Rep: Reputation: 15
Sound works with knoppix CD but not Slackware


I cannot get any sound out of my slackware 10.0 system.

Alsaconf finds no Soundcard, but my knoppix 3.7 LiveCD recognises it.

Knoppix calls the card as "csc4235 PnP Audio Device wss/sb driver=ad1848" and plays mp3s with no problems.


This is my lspci output:

Quote:
bash-3.00# lspci
00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] (rev c3)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
00:12.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
00:14.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP (rev 3a)
bash-3.00#
What should i try?
*please be patient, i'm a brave n00b from fedora/ubuntu land.
 
Old 08-21-2005, 11:12 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
have you tried alsaconf?
 
Old 08-21-2005, 11:20 PM   #3
bgryderclock
Member
 
Registered: Mar 2005
Location: charlotte nc
Distribution: fedora -> debian / (x)ubuntu -> Slackware
Posts: 44
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by tuxdev
have you tried alsaconf?
thanks for the quick reply.

yes, I tried all the options in terminal alsoconf command and it take forever and finds nothing.

i also ran swaret to update/install everything, would that effect anything?
 
Old 08-22-2005, 12:25 AM   #4
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
try

Code:
modprobe ad1848
 
Old 08-22-2005, 12:30 AM   #5
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Quote:
Originally posted by bgryderclock


i also ran swaret to update/install everything, would that effect anything?
Uh yea............swaret has a bad habit of fubar'ng peoples systems............the smart thing it to never use swaret at all.
 
Old 08-22-2005, 02:06 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Quote:
Originally posted by freakyg
Uh yea............swaret has a bad habit of fubar'ng peoples systems............the smart thing it to never use swaret at all.
freakyg, I don't use swaret, but I know it doesn't screw your system if used right, you can screw it by hand too, don't blame the tools, but the users that don't read the documentation.


bgryderclock, knoppix is designed to detect all automatically, Slackware is not. Take a look at what sound system Knoppix uses (ALSA or OSS), see the modules used for it, with lsmod, and use the same modules in Slackware. If you upgraded ALSA by downloading the new packages or using swaret, probably they won't work because alsa packages are kernel dependant, so if you upgrade the package it's probably made for another kernel than yours.
If Knoppix uses ALSA, download the files from alsa-project and compile the for your card. Then use alsaconf and alsamixer to configure it. If it uses OSS, simply uninstall alsa from your system, and load the module.
 
Old 08-22-2005, 09:45 PM   #7
bgryderclock
Member
 
Registered: Mar 2005
Location: charlotte nc
Distribution: fedora -> debian / (x)ubuntu -> Slackware
Posts: 44
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally posted byblack hole sun
try

"modprobe ad1848"
i tried that command and it ran w/o an error.


Quote:
Originally posted by gbonvehi


bgryderclock, knoppix is designed to detect all automatically, Slackware is not. Take a look at what sound system Knoppix uses (ALSA or OSS), see the modules used for it, with lsmod,

is this OSS or ALSA?

knoppix@ttyp1[knoppix]$ lsmod
Module Size Used by Not tainted
autofs4 8756 1
af_packet 13544 0 (autoclean)
agpgart 42724 0 (unused)
cs4232 3652 1
ad1848 20844 0 [cs4232]
uart401 6052 0 [cs4232]
sound 55276 1 [cs4232 ad1848 uart401]
soundcore 3428 4 [sound]
tulip 38912 1
crc32 2816 0 [tulip]
serial 52100 0 (autoclean)
pcmcia_core 39840 0
apm 9768 2
rtc 7036 0 (autoclean)
cloop 8740 2
ieee1394 183076 0
usb-storage 61760 0 (unused)
usb-ohci 17896 0 (unused)
usbcore 57600 1 [usb-storage usb-ohci]
ataraid 6180 0
ide-scsi 8816 1
knoppix@ttyp1[knoppix]$
Quote:

and use the same modules in Slackware. If you upgraded ALSA by downloading the new packages or using swaret, probably they won't work because alsa packages are kernel dependant, so if you upgrade the package it's probably made for another kernel than yours.
If Knoppix uses ALSA, download the files from alsa-project and compile the for your card.
i think i installed ALSA correctly here:


Makefile TODO cards.config.in install-sh snddevices.in
Makefile.conf.in WARNING configure kernel support
bash-3.00# ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C
header files... yes
checking for linux/fs.h... yes
checking for working const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/alsa-driver-0.9.0beta7
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.29
checking for kernel module symbol versions... no
checking for PCI support in kernel... yes
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/2.4.29/misc
checking for debug level... none
checking for processor type... i486
checking for SMP... no
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.9.0beta7
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... no
checking for which soundcards to compile driver for... all
updating cache ./config.cache
creating ./config.status
creating version
creating Makefile.conf
creating snddevices
creating utils/alsa-driver.spec
creating cards.config
creating include/config.h
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged

does that look right?

Quote:
Then use alsaconf and alsamixer to configure it.
no soundcard found. (Arghhhh!!!!)
Quote:
If it uses OSS, simply uninstall alsa from your system, and load the module.
From my knopppix lsmod output is it using ALSA or OSS?
How do i uninstall ALSA to install OSS?

*Thanks for all the reply guys!

Last edited by bgryderclock; 08-22-2005 at 09:52 PM.
 
Old 08-22-2005, 09:52 PM   #8
shashir
Member
 
Registered: Jul 2004
Posts: 70

Rep: Reputation: 15
I have no idea what you just said. But if you'd like to compile ALSA go to the following website (specifically for your card):

http://www.alsa-project.org/alsa-doc...module=ali5451
 
Old 08-22-2005, 10:48 PM   #9
bgryderclock
Member
 
Registered: Mar 2005
Location: charlotte nc
Distribution: fedora -> debian / (x)ubuntu -> Slackware
Posts: 44
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by shashir
I have no idea what you just said. But if you'd like to compile ALSA go to the following website (specifically for your card):

http://www.alsa-project.org/alsa-doc...module=ali5451
i am not comfortable enough with manually compiling drivers to even try this -> http://www.alsa-project.org/alsa-doc...module=ali5451

so i took the cowards way out and installed an old soundblaster16 card. now everything works great.

A big thanks to Tuxdev, Black hole sun, freakyg and especially gbonvehi for the posts and wisdom <3
 
Old 08-23-2005, 12:06 AM   #10
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
slack cames with a 2.4 kernel, knoppix with a 2.6
they have different modules by default. So, I would try compiling a 2.6 kernel or finding the proper modules and compiling them for your kernel.

 
Old 08-23-2005, 12:09 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
No problem bgryderclock, next time after ./configure run make && make install, that will be the process for 90% of the programs you'll compile from source

maginotjr, most (if not all) ALSA or OSS modules should be the same in both kernel versions or it would be a hell to configure it :P
 
Old 08-23-2005, 09:01 AM   #12
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
try copying the /etc/modprobe.conf from knoppix to slackware first. If that does not work, try installing or reinstalling the drivers from the original disc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
D-Link G650 Knoppix works heffo_j Linux - Wireless Networking 1 11-14-2005 02:08 AM
Slackware 10, sound works only with alsaconf SyBorg Slackware 10 09-08-2004 04:48 PM
Sound only works as root in Slackware DiscoGranny Linux - Software 9 06-14-2004 09:11 PM
Sound works until restart (Slackware 9.0) nwhite Linux - Hardware 7 05-21-2004 04:58 PM
Slackware sound works only every other time, what the heck? bobthebat Linux - General 3 11-01-2001 07:29 PM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration