dragan wrote:What says you can't restart devfs?
I use this in a similar setting with USB devices. Works for me.
Right. My first solution was to add perms and links to devfs.conf
and then restart devfs just after soundon.
Now I added this to /etc/devfs.rules:
Code: Select all
[devfs_oss=15]
add path 'dsp*' mode 0660 group wheel
add path 'audio*' mode 0660 group wheel
add path 'midi*' mode 0660 group wheel
add path 'mixer*' mode 0660 group wheel
add path 'music*' mode 0660 group wheel
and this to /etc/rc.conf:
It does not fix links (I do it from a script), but it somehow feels more right. Chmod'ding is still a more flexible solution in case of a standardized solution, anyway.
Dear Dev Mazumdar,
How would you look at a freebsd port for opensound? Can you permit users to download it automatically, i.e. without visiting your site? I know that ftp access is open to public, but that's not official. The idea is to detect the exact version (down to BETA2-3-4...), download, unpack and install the version needed.
The port will be marked restricted, of course, with a remark about being free for non-commercial use only.