On Thu, 17 Oct 2002 14:43:26 GMT, Lew Pitcher staggered into the Black
Sun and said:
>>dmesg reports that Linux 7.1 recognizes Ensoniq ES1371 on a Micron
>>Millennia Plus motherboard.
>>"modprobe -c | grep 1371" reveals "alias sound-slot-0 es1371".
>>So I guess the driver is loaded. But Applets/Multimedia/CD Player will
>>not play any music CD, though the Eject button will eject the music
>>CD. Pressing the Play button has no effect. No display, no sound.
> 1) Are you sure that the cable between your CDROM drive and your
> soundcard is installed?
> 2) What volume setting do you have CD Audio set to? Is it "muted" or
> very low?
Yes, check those things. WinXX doesn't use the 4-wire analog audio
cable, and some manufacturers haven't been shipping that cable with
their systems to save $0.05. Recent builds of xmms and most CD player
programs have an option to use cdparanoia to rip the digital audio from
the disc (much like WinXX's approach) so you might try that if you can't
find a 4-wire cable.
Also, if you can find the lspci utility (one of your earlier messages
said you didn't have it; install the "pciutils" package, that should've
been installed automagically) make sure that the report from "lspci -vv
| grep -A6 audio" doesn't say that the device has been assigned IRQ 0.
If that's the case, you will need to reboot, go into your BIOS Setup,
and set "PnP OS Installed" or "Quick Boot" to NO.
Quote:> 3) Do you, as a user, have proper permissions on your cdrom device?
> Does the CD Player have proper permissions?
/dev/scd* should be readable by all users. If the thing is IDE, it
should be readable by all users. The CD player application shouldn't
need any special permissions.
Note, however, that some distros make the sound device owned by group
"audio", so that users must be members of that group if they want to
hear sounds. Which distro are you using, anyway? You said, "Linux 7.1"
which doesn't exist. Did you mean "SuSE 7.1", "Redhat 7.1", "Mandrake
7.1", or "Slackware 7.1"?
Quote:> 4) Does the CD Player know where the CD device is (it's device name)?
Yeah, check that too. /dev/cdrom should be a symbolic link to the
actual device node, most likely /dev/hdc if this is an IDE CD-ROM,
almost certainly /dev/scd0 if this is a SCSI CD-ROM or it's an IDE CD-RW
and you set up the ide-scsi emulation necessary to get the full monty
>>My ultimate objective is to write G711 mu law PCM data to the PC audio
>>device. A telephony device is generating the data, and I would like to
>>listen to it. Is there a /usr/include file that documents relevant
>>devices and/or ioctls?
> Don't know. But, I'd start looking in /usr/src/linux/Documentation
Hm. The "sox" program says it's quite capable of reading ulaw data and
converting it to PCM. You might not have to do any coding at all, just
set up a sox process like so:
sox -t gsm -U /dev/INPUT -t ossdsp -s -w -r 22100 /dev/dsp
...will read GSM data in U-law encoding from /dev/INPUT , then spit the
resulting data out to /dev/dsp in 16-bit, 22100Hz format. The man page
for sox is a little intimidating, but you might want to check it out. I
can't test this out since I don't have a source of ulaw sound. HTH,
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL