18 Mar
2011
18 Mar
'11
9:03 a.m.
hi:
2011/3/17 Clemens Ladisch clemens@ladisch.de:
loody wrote:
In destop x86 system, the udev will automatically create the nodes in snd directory, such as pcmC0D0c, pcmC0D1c, etc. I try to let the usb sound device work on mips platform, but I have no idea what is the proper way to create these nodes. Should I
- create them one by one by hand from copying the attributes in my PC
(if I have 2 or more usb sound devices, I have to first plug them in pc and monitor the nodes)
This will not work if the device nodes' minor numbers are allocated dynamically.
- smarter way to do so?
GregKH would tell you that the smart way would be to run udev. ;-)
To use static device nodes,
- make sure that CONFIG_SND_DYNAMIC_MINORS is disabled,
- use the snddevices script in the alsa-driver package.
it works, thank U :-) miloody