Hello, /dev/dsp was still can't recognized.
I did insert 'Audio' module #insmod audio #lsmod audio 37920 0 (unused) soundcore 3568 1 (autoclean) [audio] ide-scsi 7680 0 scsi_mod 51472 1 [ide-scsi] ide-cd 26496 0 cdrom 27488 0 [ide-cd] --- ther 'sound server' show the following message. "Sound server informational message: Error while initializing sound driver: device /dev/dsp can't be opened (No such device) The sound server will continue, using the null output device. " ------ I tried 'sndconfig', it says "Can't support Optoplay" Is it possible to use OptoPlay ? thanks for your help. On Mon, 14 Jan 2002, Dmitri wrote: > Quoting Song KiSun <[EMAIL PROTECTED]>: > > > I tried "mpg123 [somefile]" > > then I contect following message. > > > > "Error opening libao oss driver" > > > > Althogh, I compiled kernel that can support OSS drvier(by module). > > How can I listen music. > > Maybe you need to load some sound-related modules? > > [dmitri@usb dmitri]$ lsmod > Module Size Used by > [...] > cmpci 30128 0 (autoclean) <==========(A)=== > soundcore 4208 4 (autoclean) [cmpci] > > (A) is for my PCI audio card; you will have audio module instead. > The soundcore is required, and I think it will be implementing OSS > interface. > > > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0a92 ProdID=0051 Rev= 1.00 > > S: Manufacturer=EGO SYStems Inc. > > S: Product=AUDIOTRAK OptoPlay > > C:* #Ifs= 2 Cfg#= 1 Atr=00 MxPwr=100mA > > I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio > > I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio > > I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio > > E: Ad=01(O) Atr=09(Isoc) MxPS= 288 Ivl= 1ms > > Looks like your device is properly claimed by the driver, and works. > > Now, why mpg123 does not work. Try the simpler access for now. You should > have a bunch of .wav or .au files on your system, they are usually some > sound effects for window managers, GNOME games etc. > > Find them: > > # locate .au > > /usr/lib/python1.5/test/audiotest.au > /usr/lib/exmh-2.4/clink.au > /usr/lib/exmh-2.4/drip.au > /usr/share/sndconfig/sample.au > /usr/share/sndconfig/sample2.au > > (they can be different, or at different locations on your box). > > Copy any of them to the /dev/dsp (be root at that point): > > # cat /usr/share/sndconfig/sample.au > /dev/dsp > > You should hear the output. When this is accomplished you can focus on > other issues. Your goal is to WRITE into the device (not READ from > it!). If you have speakers connected (or built in) then you should hear > the sound. > > If the mpg123 does not work then try xmms (if you have it installed), and > if you have esd running then you may need to configure xmms to use esd > instead... but that would be beyond the scope of this list (and beyond my > knowledge too :-) > > You may need to check permissions on the audio device "file" (in /dev > directory), that's why I say you should try this as root. Later you need > to change permissions so that a regular user, not root, can write into the > device, like this: > > [dmitri@usb dmitri]$ ls -l /dev/dsp > crw------- 1 dmitri root 14, 3 Aug 30 13:30 /dev/dsp > > (you could also do `chmod a+rw /dev/dsp` instead, though less secure). > > Cheers, > Dmitri > > -- > We use Linux for all our mission-critical applications. Having the source > code means that we are not held hostage by anyone's support department. > (Russell Nelson, President of Crynwr Software) > _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
