Visit The New, Modern Unix Linux Community


Sound Problems


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Sound Problems
# 1  
Sound Problems

Hi All

I am having difficulty configuring sound on my system an wonder if anyone can help me.
xmms refuses to play telling me that

oss_open(): Failed to open audio device (/dev/sound/dsp): No such file or directory

what I have done to try and fix this is

1. create /dev/sound/dsp (mknod /dev/sound/dsp c 14 3) ..didnt work

2. create /dev/dsp as above ..didnt work

3 ln -s /dev/dsp /dev/sound/dsp ...didnt work

4 gave 'open house' permissions on said device files ...didnt work

5 tried to play audio file directly through the device eg cat myaudiofile > /dev/dsp (or /dev/sound/dsp) got back this message

-bash: /dev/dsp: No such device

I thougHi All

I am having difficulty configuring sound on my system an wonder if anyone can help me.
xmms refuses to play telling me that

oss_open(): Failed to open audio device (/dev/sound/dsp): No such file or directory

what I have done to try and fix this is

1. create /dev/sound/dsp (mknod /dev/sound/dsp c 14 3) ..didnt work

2. create /dev/dsp as above ..didnt work

3 ln -s /dev/dsp /dev/sound/dsp ...didnt work

4 gave 'open house' permissions on said device files ...didnt work

5 tried to play audio file directly through the device eg cat myaudiofile > /dev/dsp (or /dev/sound/dsp) got back this message

-bash: /dev/dsp: No such device

I thought this odd as when I ran 'file' on /dev/dsp I got this

/file /dev/dsp
/dev/dsp: character special (14/3)

I should point out that I am using devfs about which I know very little could this be the culprit? (should I edit /etc/devfs.conf???)

I am running 2.4.20-gentoo-r2

many thanks for any pointers as no music is driving me crazy Smilie

ht this odd as when I ran 'file' on /dev/dsp I got this

/file /dev/dsp
/dev/dsp: character special (14/3)

I should point out that I am using devfs about which I know very little could this be the culprit? (should I edit /etc/devfs.conf???)

I am running 2.4.20-gentoo-r2

many thanks for any pointers as no music is driving me crazy Smilie
# 2  
What sound card are you using and is your kernel configured to support this card or chipset?
# 3  
sound card is CMI8330/C3D Audio Adapter
When I compiled my kernel I chose
Sound Support - CMEDIA PCI (CMI8338/8738)...this was a module

..then I added support for CMI8738 based audio cards.

..so I have only one module in /lib/modules/2.4.20-gentoo-r2/kernel/drivers/sound/

it is cmpci.o and having insmod'd it ..nothing!!

I did notice in my kernel config that I omitted OSS sound modules which results in sound.o...have a feeling I messed up here??

output from dmesg shows

PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router SIS [1039/0008] at 00:01.0
isapnp: Scanning for PnP cards...
isapnp: CMI8330 quirk - fixing interrupts and dma
isapnp: Card 'CMI8330/C3D Audio Adapter'
isapnp: 1 Plug & Play card detected total

...unsure as to what the 'quirk'

as always any help greatly appreciated
# 4  
check your xmms preferences, you can select from a list of available sound drivers. i do think that you need to compile in support for OSS.
# 5  
the only soundrivers I have alvailable thru xmms are 'disk writer plugin'!!! and the OSS Driver Smilie which is doing nothing !! I am in the middle of compiling in oss support right now..so i will let u know how it goes

many thanks
# 6  
once you have an oss driver then you should be able to get sound output. good luck.
# 7  
..having compiled in oss support..still no sound.

the error I am getting is

oss_open(): Failed to open audio device (/dev/dsp): No such device

I am using devfs and have created /dev/dsp both as

1. a character device (mknod /dev/dsp c 14 3 )

2. a symbolic link to /dev/sound/dsp which I believe is the equivalent in devfs

if i isuue the file command on the device

file /dev/sound/dsp
/dev/sound/dsp: character special (14/3)

but if i try to access it directly like
cat myaudio > /dev/sound/dsp

I get

-bash: /dev/sound/dsp: No such device

(this is also true of /dev/dsp)
is this familiar to anyone?

many thanks

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #685
Difficulty: Medium
Reverse Polish notation (RPN), also known as Polish programming notation.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

No sound in my Linux

I am not able to run any video file. Getting message something like : no audio facility. Is this may be problem of driver. If so please send me link for the same. I am working on Red Hat Fedora (Linux) (16 Replies)
Discussion started by: ravisingh
16 Replies

2. Linux

No sound

I reformatted my hard drive and installed Mandriva 2011. It works fine. I can go to the Internet The problem is no sound. I want to listen to songs from YouTube. Sound doesn't come. I see a man is singing on the screen. No sound. I had no problem with my old Mandriva. Sound and everything... (11 Replies)
Discussion started by: Toxic
11 Replies

3. OS X (Apple)

Sound under OS 10.4.11 and 10.7.2

There is a change with UnIX version concerning these two platforms. I own a Power G4 Mac with OS 10.4.11 and a Mac Book Pro with Lion OS 10.7.2. There are some problems of compatibilities between the two UNIX versions. Under OS 10.4.11, these three UNIX commands work, in order to produce sounds,... (4 Replies)
Discussion started by: shub22
4 Replies

4. Red Hat

Wireless and Sound Problems with HP Pavilion dv7 and Fedora Core 10

I have just bought a new HP Pavilion dv7 notebook (17", AMD Turion) and installed Fedora Core 10. I would like to add that i installed a completely eyecandy-less base system, only then installed a naked x-org Xserver and mwm (Motif Window Manager) on top of it. There is neither KDE nor GNOME nor... (2 Replies)
Discussion started by: bakunin
2 Replies

5. Solaris

Sound Problems

My sound is messed up. All I get is white noise when I try to watch Youtube or something. I'm running Solaris 10 SPARC on a Sun Ultra 5, which has a built-in speaker. How do I fix it? (4 Replies)
Discussion started by: Bradj47
4 Replies

6. Linux

sound cards

i installed Red Hat Fedora (successfully this time) and my sound card wasnt automticly found or what ever. so how do i get my sound working and stuff? how do i gonfigure the sound card? how do i get it to detect the sound card? (4 Replies)
Discussion started by: xcaliber
4 Replies

7. UNIX for Dummies Questions & Answers

Does this sound right?

A user's default permissions when creating new files or directories is set by the umask of either the system or in the startup script of the user itself. For example, I have 'umask 022' in my .profile which means that my default permissions will be 755. Typically, the system default umask is 022,... (1 Reply)
Discussion started by: wmosley2
1 Replies

8. UNIX for Dummies Questions & Answers

linux xmms sound problems

Dear all, I have been using suse linux for as long as I can remember. However, for every installation I get the same problem. Once the installation is completed, and all of my devices (brand new hardware, from reknown brands) are detected, I decide to start doing some work, and play some... (2 Replies)
Discussion started by: bionicfysh
2 Replies

9. UNIX for Advanced & Expert Users

problems with sound card on FreeBSD 4.5

Hi,friends!!! I have a problem with my integrated sound card AC97 on i815 and my version of FreeBSD is 4.5.I know that there is a driver for it called ich.c.gz,but the site containing it is unavaliable now.And is there another driver or some other ideas ? z-z-z-z-z :: email removed :: (1 Reply)
Discussion started by: kruch
1 Replies

10. UNIX for Dummies Questions & Answers

sound cards

hey im having problems getting my sound to work, im running linux mandrake 8.0 and it detects the sound card but it will not play any sound if there are any ideas or slutions please let me know.-vassago (3 Replies)
Discussion started by: vassago
3 Replies

Featured Tech Videos