LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-14-2002, 02:39 PM   #1
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
sound card configuration - really stuck!


I just put Slack 8.1 on a laptop, but there are some CD & sound issues.

When I try to use the CD player, I get the message:
"Error accessing cdrom device. Please check to make sure CDROM support is compiled into the kernel, and that you have permission to access the device.

I am able to mount and browse a data CD, but I can't play an audio one

I also notice that when applications like Gaim try to BEEP or make a sound, the following message arrives on stderr:

/dev/dsp: No such device

further investigations such as $ cat /dev/audio > bla dies with:

/dev/audo: No such device

But

bash-2.05a# ls -al /dev/dsp
crw-rw-rw- 1 root sys 14, 3 Jul 18 1994 /dev/dsp
bash-2.05a$ ls -al /dev/audio
crw-rw---- 1 root sys 14, 4 Jul 18 1994 /dev/audio

Is there a sound card configuration tool/file that I can use?
any ideas guys?

Christo
 
Old 07-14-2002, 03:07 PM   #2
Phonics3k
Member
 
Registered: Jun 2002
Location: Wales, UK
Distribution: Gentoo 2005.1
Posts: 213

Rep: Reputation: 30
are you tryin to mount the audio cd, coz every time i mounted a cd it wouldnt let me, I then fund out that audio cd's do not need to be mounted

for the sound card issue chmod /dev/audio to 755
and do the same for /dev/dsp and see if that works
 
Old 07-14-2002, 03:13 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Both of these are pretty normal default installation problems with Slackware. Slack doesn't configure sound for you at all.

/sbin/lspci

and that will tell you the type of soundcard you're using, so we can figure out what module you need to load.

chmod 666 /dev/cdrom

will take care of the CDROM problem as users don't have access to the raw device by default, but root does.

Cheers,

Finegan
 
Old 07-14-2002, 03:46 PM   #4
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks for the guidance.. I opened up the permissions on /dev/cdrom and it now reads a CD fine...

But it's all very quiet, due to a non-configured card... er here's my output from /sbin/lspci. I guess we're looking at the Allegro-1 bit, yes? So maybe all I need to do is modprobe something...

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:06.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
00:06.1 Communication controller: ESS Technology ESS Modem (rev 12)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-MV (rev 11)

regards,
Christo
 
Old 07-14-2002, 03:58 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
modprobe maestro3

That should be the right driver. In /etc/rc.d/rc.modules, either un-comment the line for the module, or much more likely, just create one as the list is far from complete.

Also, in order to get sound as a user you're probably going to have to chmod 666 /dev/dsp also. It might bitch about no mixer too, same deal... just a few Slack set-up quirks.

Compaq right? You got lucky having an S3 card, I've got a bloody Trident (closed spec twerps), can't get any of the accelerated graphics modes to work.

Cheers,

Finegan
 
Old 07-14-2002, 04:25 PM   #6
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
Finegan,

we are so nearly there...

I probed out the module and it plays CD's fine now.. and yes, I can hear them!! I can also run XMMS no probs.. ah, Slack ain't looking so bad afterall However, when I try to run mpg123 asong.mp3, I get a new error:

/tmp/mcop-christo is not owned by user

christo is the username running mpg123

have you seen this before?

thanks for your help,
Christo

Last edited by chr15t0; 07-14-2002 at 04:41 PM.
 
Old 07-14-2002, 04:37 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Nope... That's a little weird... I think, but I'm not sure, that something else is currently laying claim to the sound device. If the CD player, especially KDE's which is very barebones, is currently open then some of the other barebones utils like mpg123 and amp grouch.

My poorly educated guess is its just a lock file. Something might be temporarily weird from the chmod fest too... if killing X entirely doesn't cleanse it, then a reboot should.

Luck,

Finegan

Last edited by finegan; 07-14-2002 at 04:39 PM.
 
Old 07-14-2002, 04:43 PM   #8
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
I'll have a fiddle and post back later.

thanks so much for your efforts

christo
 
Old 07-14-2002, 04:59 PM   #9
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
by the way, that dove on matt's page... where did it come from? d'you know?

http://clockwatching.net/~matt/dove.gif
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound card configuration MrKevvie Mandriva 1 09-10-2004 11:43 PM
5.1 Sound Card configuration deadeternity Linux - Newbie 0 08-06-2004 02:27 PM
Sound Card Configuration RedHatMN Linux - Newbie 6 06-19-2003 01:12 PM
Sound Card configuration lorio Linux - Hardware 1 09-18-2002 09:36 AM
sound card configuration cokalie Linux - Newbie 0 01-10-2002 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration