Skip to contentSkip to conversation

Sound devices in /dev/

DISCUSSION Craig Wright 3 participants 3 messages May 2, 2000 – May 3, 2000 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

I just got a soundblaster 16 pci and after some trouble got it working a little bit. I can play CD's with workman and the sound comes out of the card. That's good :), but I'm missing /dev/audio and /dev/sndstat and any other sound device that I may need. (I don't know what the others may be, /dev/dsp?) Anyway I've run /dev/MAKEDEV and nothing new is created. I'm at a hurdle I can't jump by myself. Can anyone help me? I've tried using mknod myself, but don't know why they mean by minor and major device numbers mean.

Here is the output from the kernel on bootup:

es1371: version v0.19 time 00:44:39 May 1 2000
es1371: found adapter at io 0xe000 irq 5
es1371: features: joystick 0x200
es1371: codec vendor CRY revision 19
es1371: codec features Headphone out 20bit DAC 18bit ADC
es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement

and here is the output from lspci.

00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
00:02.0 USB Controller: Acer Laboratories Inc. [ALi] M5237 USB (rev 03)
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV] (rev c3) 00:08.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08) 00:0a.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c1)

I think this is all relevant, but I don't know for sure. Can anyone help?

Thanks in advance,

Signature · 2 lines
Craig             
<[email protected]>
#1 lore raw

i would have thought that sndconfig would have made those devices, but maybe it just instals the driver.

did you run it?

j

Quoted 34 lines · Craig Wright

Hi,

I just got a soundblaster 16 pci and after some trouble got it working a little bit. I can play CD's with workman and the sound comes out of the card. That's good :), but I'm missing /dev/audio and /dev/sndstat and any other sound device that I may need. (I don't know what the others may be, /dev/dsp?) Anyway I've run /dev/MAKEDEV and nothing new is created. I'm at a hurdle I can't jump by myself. Can anyone help me? I've tried using mknod myself, but don't know why they mean by minor and major device numbers mean.

Here is the output from the kernel on bootup:

es1371: version v0.19 time 00:44:39 May 1 2000
es1371: found adapter at io 0xe000 irq 5
es1371: features: joystick 0x200
es1371: codec vendor CRY revision 19
es1371: codec features Headphone out 20bit DAC 18bit ADC
es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement

and here is the output from lspci.

00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
00:02.0 USB Controller: Acer Laboratories Inc. [ALi] M5237 USB (rev 03)
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV] (rev c3) 00:08.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08) 00:0a.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c1)

Quoted 8 lines

I think this is all relevant, but I don't know for sure. Can anyone help?

Thanks in advance,

Signature · 2 lines
Craig             
<[email protected]>

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzc5/rwAAAEEALGi/cKupURWMeRs3xKx7+3PHi1hqfswOuM5suJhTEJZiR+p xYsVYB/B/uNwrr+m+Rzd8sEJlB2D/JkkCHMUplDR2OC0hfUYmQGIXEg9kShudRsO E+1oVFFevj6MTgIY6c5nSWvz3n+zLHrcHk/k8pLDpI6qcIGqrAEcX2GVzVwNAAUR tARqb25vtBU8am9ub0BwaHlzaWNzLnViYy5jYT4ýxR
-----END PGP PUBLIC KEY BLOCK-----

#2 lore raw
In reply to Craig Wright
Quoted 4 lines · Craig Wright

I just got a soundblaster 16 pci and after some trouble got it working a little bit. I can play CD's with workman and the sound comes out of the card. That's good :), but I'm missing /dev/audio and /dev/sndstat and any other sound device that I may need. (I don't know what the others may

They aren't used with this driver (es1371), it's pci and therefore a very different beast.

Quoted 4 lines

be, /dev/dsp?) Anyway I've run /dev/MAKEDEV and nothing new is created. I'm at a hurdle I can't jump by myself. Can anyone help me? I've tried using mknod myself, but don't know why they mean by minor and major device numbers mean.

See the docs in /usr/src/linux/Documentation/sound/*

For the pci sound cards, use /proc and other such tools to get the info you need.

Quoted 8 lines

Here is the output from the kernel on bootup:

es1371: version v0.19 time 00:44:39 May 1 2000
es1371: found adapter at io 0xe000 irq 5
es1371: features: joystick 0x200
es1371: codec vendor CRY revision 19
es1371: codec features Headphone out 20bit DAC 18bit ADC
es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement

Cool, it's not a bad card (got one myself here). The 3D stuff is awesome with windows games that know about it, and the switches are there for linux to use it too. (Although I must admit that I've never tried the 3D sound for linux - anyone got a program or sound file that will "show it off" ?)

Quoted 2 lines

I think this is all relevant, but I don't know for sure. Can anyone help?

I'm no sound driver guru, so perhaps someone else might want to make things a lot clearer than I have. AFAIK, /dev/sndstat and co. are obselete and don't work for pci-based sound cards, they only have relevance for the older isa sound cards.

Cheers
Tony