[SLUG] Sound card

john at johnallsopp.co.uk john at johnallsopp.co.uk
Fri Nov 5 16:07:06 GMT 2004


>> Creative EMU10K1 PCI Audio Driver, version 0.20, 10:12:44 Feb 27 2003 PCI:
>> Found IRQ 5 for device 00:0b.0
>> emu10k1: EMU10K1 rev 4 model 0x4001 found, IO at 0xd800-0xd81f, IRQ 5
>
> Looks good. By the way, If you haven't already, disable plug and play OS
in your BIOS.

Will do

>> > Now test it, still as root try
>> >
>> >    cat /dev/urandom > /dev/dsp
>> Nothing

> When you say 'Nothing'. Do you mean it just sat there. Or it returned an
error?

It just sat there

> If it just sat there, then your sound is working. You just can't hear it :)

OK

> After loading the module, and running cat /dev/urandom > /dev/dsp for a
few seconds, do 'cat /proc/interrupts', and look at the CPU column for
EMU10K1. If that number increases, the hardware is working fine.

OK, you mean run cat /dev etc in one shell, and cat /proc .. in another.
Yes, did that, and the CPU column increased.

>> Didn't manage aumix.
>> I typed it at the console and got a page full of nothing followed by a
short message
>> aumix: SOUND_MIXER_READ_DEVMASK
>
> Hum. Thats a puzzle. Do some random cat'ing on files
> in /proc/driver/emu10k1/*, anything interesting ?

/proc/driver/ only has one thing in it. It's white, it's called rtc, and
it's got todays date on it. Anyone can read it, nothing else. 1 byte.

> You could try a different sound mixer, but I'm guessing they will all
say the same.

Well, I'm not sure I've found a mixer yet. I tried to adjust the volume
and it says unable to open audio device /dev/mixer check you have
permissions and sound support in your kernel.

root has rw access but that's all for mixer and mixer1

>> ls -l /dev/dsp went like this:
>> crw-------    1 root     root      14,   3 Jan 30  2003 /dev/dsp
>
> The 14 and 3 and the devices major and minor number. For a character
device, major number 14 means OSS (Open Sound System), and minor 3 means
Digital audio. So this is fine too.

Cool :-)

>> id (as me) went like this:
>> uid=500(john) gid=500(john) groups=500(john)
>> While that might look like a permissions thing, I'm running now as root
and getting nothing.

> Can you run through the above one more time, just to make sure we
haven't missed anything?

I think that's what I've done, let me know if I missed anything. The id
was the same.

> Also, emu10k1 based cards usually let you route audio out of different
plugs. So you can put audio out of all you sockets, even the mic one
etc. Check you don't have audio coming out somewhere unexpected :)

Nothing. I haven't the wherewithall to check the digital outs tho. I
checked with headphones.

Thanks for your help so far :-)

Cheers
J








More information about the Scarborough mailing list