How to change character device file name?
I have two sound cards on my system. (A and B)
after compiling a kernel i found my card B under /dev/dsp and card A under /dev/dsp1 most programs use /dev/dsp by default But i preffer to use my A sound card and i have to tell every program to use alternate device. How could i exchange my card devices? P.S. I am using devfs |
change where they point most nodes(if not all) in the root /dev directory are links to other nodes which are in seperate directories.
example lr-xr-xr-x 1 root root 9 Mar 26 16:05 /dev/dsp -> /dev/sound/dsp So you can either change where they point to, or simply rename them to each other. |
Already tryed this.
But i think, it is a rude way to solve the problem. Some programs (like xmms) show the names of sound cards. And with this solution, when i want to play through card A, i have to choose card B. |
All times are GMT -5. The time now is 12:43 PM. |