On Sunday 06 July 2008 01:06:06 François Revol wrote:
> > > - Getting USB hotplugin working correctly under Linux (w/o 
> > > ossdetect -d)
> > >  would be apperciated by users.
> > >   
> > Unfortunately the devfs feature was removed from Linux. The way how 
> > device naming works in OSS (/dev/oss/<driver>/*) can only work 
> > properly 
> > on top of devfs. Under Linux the ossdetect -d command needs to be run 
> > after a new device is added. It reads /proc/opensound/devfiles and 
> > (re)creates all the device files listed in it. In addition the 
> > ossdevlinks command needs to be run so that the old style /dev/dsp# 
> > links get created.
> > 
> > Maybe somebody could hack the hotplug system of Linux so that it runs 
> > "ossdetect -d;ossdevlinks" autmatically after a new USB sound card is 
> > added.
> > 
> 
> udev should be able to do that I think, don't know much about it except 
> that I had to hack an hard-to-find-even-for-me file to get something to 
> work in ubuntu.

IIRC, udev depends on the "real" node being exposed via sysfs, and OSS doesn't 
do that (yet?). I sent earlier a "solution" (i.e. run ossdetect -d whenever 
oss_usb is attached to a device hack) on the hal level.

Yours,
        Yair K.

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to