Quoting Song KiSun <[EMAIL PROTECTED]>:

> #cat /dev/sndstat
> cat: /dev/sndstat : No such device

I have the same:

[root@usb dmitri]# cat /dev/sndstat 
cat: /dev/sndstat: No such device

- despite the fact that I do have audio card in this box. So I guess
/dev/sndstat is broken in RH 7.2 ... I don't worry about that.

> #cat /dev/dsp
> cat: /dev/dsp : No such device

It works on my box (with PCI audio):

[root@usb dmitri]# od < /dev/dsp
0000000 077577 075577 077600 077577 077577 077577 077577 077577
0000020 077577 077577 077577 077577 077577 077577 077577 077577
*

(this is just a noise, and 8-bit too)

> I did several tests, like " cat 'somefile' > /dev/dsp
> and the device is not attatched.

Must see /proc/bus/usb/devices.

> there isn't 'device' file in where '/proc/bus/usb'.

Probably not mounted. Mount it manually:

# mount -t usbdevfs none /proc/bus/usb

See also Linux USB guide at http://www.linux-usb.org. As result, you
should have /proc/bus/usb tree populated with "files", and the devices
file should be readable and contain something. Depending on the contents
of this file it can be guessed whether your device works.

If the device is not claimed by the audio driver then I think it has
broken audio descriptors (or the driver fails to parse them). But we'll go
there only if necessary.

Thanks,
Dmitri

-- 
In accord to UNIX philosophy, PERL gives you enough rope
to hang yourself.
  (Larry Wall, Randal Schwartz: Programming Perl (aka the Camel Book))

Attachment: msg02314/pgp00000.pgp
Description: PGP signature

Reply via email to