2 USB ports I for the mouse. It's the problem of selecting USB audio in my sound menu.Hi.
How much devices do you have? How many connections?
dmesg | grep pcm
Alright...look, in FreeBSD, you can (or you must) specify which connection you will use for example, for the audio.
Here's something that probably help you: type this in a terminal and post the output.
Code:dmesg | grep pcm
dmesg | grep pcm
pcm0: <Realtek ALC889A (Internal Analog 3.1/2.0)> at nid 20,22 and 24 on hdaa0
pcm1: <Realtek ALC889A (Rear Analog)> at nid 21 and 26 on hdaa0
pcm2: <Realtek ALC889A (Rear Digital)> at nid 30 and 31 on hdaa0
pcm3: <USB audio> on uaudio0
dmesg | grep pcm
pcm0: <Realtek ALC889A (Internal Analog 3.1/2.0)> at nid 20,22 and 24 on hdaa0
pcm1: <Realtek ALC889A (Rear Analog)> at nid 21 and 26 on hdaa0
pcm2: <Realtek ALC889A (Rear Digital)> at nid 30 and 31 on hdaa0
pcm3: <USB audio> on uaudio0
dmesg | grep pcm
pcm0: <Realtek ALC889A (Internal Analog 3.1/2.0)> at nid 20,22 and 24 on hdaa0
pcm1: <Realtek ALC889A (Rear Analog)> at nid 21 and 26 on hdaa0
pcm2: <Realtek ALC889A (Rear Digital)> at nid 30 and 31 on hdaa0
pcm3: <USB audio> on uaudio0
sysctl hw.snd.default_unit=3
mixer vol 50
Thanks it's working. That was a nice job.1) Connect your usb speakers.
2) Type this3) TypeCode:sysctl hw.snd.default_unit=3
4) Play some audioCode:mixer vol 50
5) Tell what happened
ee /etc/sysctl.conf
sysctl hw.snd.default_unit=3
After setting6) Mark me as better answer. Nah, forget it. I don't need it. I'm glad to be helpful here.
7) Enjoy
Now you must define which output will be the default everytime that you start the system, because this is a temporal solution. When you restart you PC, you will need to type both commands again. To prevent this, do:
and in the end of the file, you must put this line:Code:ee /etc/sysctl.conf
if you want that your OS set that output by default.Code:sysctl hw.snd.default_unit=3
sysctl hw.snd.default_unit=3
it's not working at all?Yes, but temporally. When you shutdown your PC, it backs to the start.after setting sysctl hw.snd.default_unit=3 its not working at all?