LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2004, 08:03 AM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
KDE - snd -default can't be opened for playback


Any help on the following would be much appreciated.

Fujitsu Mobile 510 agp with Mandrake 10.0 KDE onboard.

Have installed a new sound driver on my laptop (mobile 510 agp) from instructions on the web - but at present cannot get any sound.

I have tried 'lsmod' which indicates that the driver is present. When I try to activate sound via KDE's desktop app it returns with -

" device: default can't be opened for playback (No such device)
The sound server will continue using the null output device"

Have edited this with the correct warning notice.

Thank you for your time and attention - J

Last edited by High-gain; 12-12-2004 at 11:11 AM.
 
Old 12-12-2004, 12:54 PM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

are you running arts? i mean the sound server that, i think, comes with kde?
does the directory /dev/dsp exists? can be a permission problem?
i suggest kill arts daemon and install the sound with your hand.
1. alsaconf
2. alsamixer
3. test...

what is the output?

regards

slackie1000
 
Old 12-12-2004, 01:19 PM   #3
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Mandrake 10.0 - KDE
Fujitsu moble laptop 510 agp
used alsaconf to give me driver cs4231

Thanks for your reply, sadly my 'console skills' are pretty non exsistant so wonder if
you could possibly walk me thru this one.

a - how to shut of aRts
b - how can I find dev/dsp
c - I have installed 'alsamixer' - but it returns ' no dev'

Will now check permissions, but not really sure what I am supposed to set. Will reply with results asap

Thank your again for trying to help - J
 
Old 12-12-2004, 03:09 PM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
glad to help mate!!!
sad that i have no skills with these "rpm based distros" ...
but i try..
so, first you can try
Code:
 ps -ef
somewhere you will see the arts daemon..
then find the pid, process number, and kill it. using
Code:
kill -9 $PID
$PID is the process number that you got.
after that you could run lsmod or alsaconf to see how the system is configured.
i mean, i have zero idea if it is a module or if it is built in the kernel.
change alsamixer settings after. with
Code:
alsamixer
this last one, as root. important to check if nothing is "mute".
you can run now a multimedia application. without a sound server. see what happens.
keep in touch.
the permission thing, works in the following:
if the directory /dev/dsp exists you can give the following
Code:
chmod 777 /dev/dsp
and try your kde setup again.
if it doesn't . forget it!
man, i don't use kde. and i don't know mandrake.
hope some of the guys around can help also.
keep in contact.

regards

slackie1000
 
Old 12-12-2004, 04:05 PM   #5
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thank you so much for your early reply. Shall try everything you have suggested and will post the outcome as soon as I can.

Thank you again for your time and attention. Gud Luck - J
 
Old 12-13-2004, 10:17 AM   #6
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Hi again -



Have done ps -ef and the only thing I can see that looks like aRts is this line -

Jelli 6486 6466 0 14:36 ? 00:00:01 /usr/bin/artsd -F 10 -S 4096 -a

would this be the right line to delete?

If that is correct - then I will proceed to 'alsamixer' in the console.

Have tried the alsamixer at the console lots of times and it returns with -
"alsamixer: function snd_ctl_open failed for default: No such device"

Hope that makes some sense to you.
Thanks again
 
Old 12-13-2004, 10:58 AM   #7
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

first, you don't "delete" the arts line. you kill the process.
in your case you should do.
Code:
kill -9 6486
this number - 6486 - can change with every reboot. take carefull.
then you try to run alsaconf and/or alsamixer with the sound server killed.
maybe you can send us also the ouput of
Code:
dmesg | grep -i alsa
just to be sure if there is a sound card detected.

best regards

slackie1000
 
Old 12-13-2004, 03:43 PM   #8
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Hi There - thanks again for your reply.

All understood about 'killall and not delete'

Could you tell me if there is a way of copying all the text from the console output into a text file so that you can read it. Would save me a typing everything again.

I was going to send you the output's of 'lsmod' - 'lspci' - etc but could not find a way of doing it this evening. My brain has stopped. Hi.

Now the results of 'dmesg | grep -i alsa'

After typing in the above command -
sadly it does not show anything, so I therefore have to conclude that the sound card has not been found or there is no alsa. Perhaps you could confirm that is correct. It would be better if I could copy the outputs of lsmod/lspci to you. I did read somewhere that there is a way to do that. As I have only had linux 3 weeks now, have not got to that bit yet.

Thanks again for your time, and now back to you.
 
Old 12-13-2004, 04:56 PM   #9
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Well, if you are in xwindows, you should be able to highlight text with the mouse which will copy it to the clipboard. You can then paste it somewhere by middle-clicking where you want the text to go.

If you are not in xwindows, try somthing like this:

lspci > file.txt

Then you can open the file.txt when you get back to xwindows and copy/paste the contents here for us to read.

Hope that helps.
 
Old 12-13-2004, 05:01 PM   #10
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
P.S. to my last message -

have done a 'dmesg' and found several lines at the output likeso -

CS4231 soundcard not found or device busy

This is the driver which is required as per the info of the 510 agp webpages that I am trying to copy. Looks as if the driver is not there, any suggestions would be welcome. In the meantime will look at the other distro's as I am getting nowhere fast.
Hi
 
Old 12-14-2004, 06:03 AM   #11
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Visaris - thanks very much for your help, much appreciated. It's another thing that helps me to a better understanding of Linux. Good Luck and thanks again.
 
Old 12-14-2004, 07:32 AM   #12
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thanks to Visaris am able to copy the lsmod / lspci outputs here. Still not able to copy the dmesg in one file, after highlighting with the left key on the mouse,my system only will let me copy screen by screen to the clipboard. Any suggestions on that would be helpful. Here is the outputs -


**************************************************************************
Output from lsmod

Module Size Used by
md5 3872 1
ipv6 232352 6
sg 38044 0
st 38616 0
sr_mod 17028 0
sd_mod 16832 0
scsi_mod 114648 4 sg,st,sr_mod,sd_mod
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
snd-cs4231-lib 25024 0
snd-pcm 93156 1 snd-cs4231-lib
snd-timer 24484 2 snd-cs4231-lib,snd-pcm
snd-page-alloc 11972 2 snd-cs4231-lib,snd-pcm
snd-mpu401-uart 7072 0
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 1 snd-rawmidi
snd 52484 6 snd-cs4231-lib,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 1 snd
af_packet 20520 0
hid 53312 0
floppy 59444 0
xircom_cb 10848 0
ds 15364 4
yenta_socket 16352 1
pcmcia_core 68768 2 ds,yenta_socket
ipt_TOS 2240 12
ipt_REJECT 6464 4
ipt_LOG 5312 6
ipt_state 1728 16
ipt_multiport 1856 0
ipt_conntrack 2304 0
iptable_filter 2624 1
iptable_mangle 2624 1
iptable_nat 23116 0
ip_conntrack 31152 3 ipt_state,ipt_conntrack,iptable_nat
ip_tables 16704 9 ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptab le_nat
xircom_tulip_cb 17552 0
supermount 37876 1
intel-agp 17372 1
agpgart 31016 1 intel-agp
uhci-hcd 29104 0
usbcore 99132 4 hid,uhci-hcd
rtc 11576 0
ext3 110408 2
jbd 54328 1 ext3
******************************************************************
Output from lspci

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:07.0 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 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:0a.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
01:00.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 256AV] (rev 20)
01:00.1 Multimedia audio controller: Neomagic Corporation NM2200 [MagicMedia 256AV Audio] (rev 20)
02:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
02:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03)
*********************************************************************
Grateful for your help
 
Old 12-14-2004, 08:41 AM   #13
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

sorry for the delay. a bit busy...
so, i am also a newbie and i have "zero" idea about Mandrake things. so i need to put everything together:
1. there is no artsd running anymore
2. lspci shows that exist a sound card
3. lsmod shows the basic modules for sound
4. but dmesg shows nothing about alsa. hum.... here i am lost.
with these conditions what happen if you try to use your sound. i mean xmms with output plugin alsa or oss ??
also,when you run "alsaconf" your card is detected? did you check the volume settings - alsamixer??
sorry man. new things for me also.

regards

slackie1000
 
Old 12-14-2004, 11:47 AM   #14
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Hi Slackie - thanks for your input and trying to help.

Like you am a newbie so am finding it hard to get into Linux at the moment. Certainly don't want to go back to windows so will press on for now.

If you look at this web-page you will perhaps understand better on what I am trying to do with the laptop. Perhaps after looking at it you might like to let me know what you think. Ok here is the page

http://www.linuxfreunde.de/marl/mobi...mobile510.html

Once again thanks for your help
 
  


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
device /dev/dsp can't be opened (Permission denied) jon_k Linux - Software 1 10-27-2004 09:51 PM
device /dev/dsp can't be opened Benedictus Linux - Hardware 13 08-08-2004 05:40 PM
device /dev/dsp can't be opened kalif Linux - Software 26 08-31-2003 07:38 PM
No sound > device /dev/dsp can't be opened DarkGhost Linux - Hardware 1 12-25-2002 07:36 PM
Device /dev/dsp can't be opened... MatMan5959 Linux - Hardware 4 06-20-2002 12:13 PM


All times are GMT -5. The time now is 04:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration