Bose Companion 5 via USB
Describe the bug No sound on Bose Companion 5 via USB without manual fiddling (see below for workaround).
To Reproduce Plug in Bose Companion 5 via USB.
Expected behavior Sound should work, like with other USB sound devices.
Screenshots
ugen0.7: <Bose Corporation Bose USB Audio> at usbus0
uaudio0 on uhub0
uaudio0: <Bose Corporation Bose USB Audio, class 0/0, rev 1.00/1.00, addr 7> on usbus0
uaudio0: No playback.
uaudio0: No recording.
uaudio0: No MIDI sequencer.
uaudio0: No HID volume keys found.
uhid1 on uhub0
uhid1: <Bose Corporation Bose USB Audio, class 0/0, rev 1.00/1.00, addr 7> on usbus0
% cat /dev/sndstat
Installed devices:
pcm0: <Intel Broadwell (HDMI/DP 8ch)> (play) default
pcm1: <Realtek ALC269 (Front Analog Headphones)> (play)
No devices installed from userspace.
% sysctl hw.usb.uaudio.default_channels
hw.usb.uaudio.default_channels: 0
Version (please complete the following information): helloSystem 0.7.0 (Build 0G118) FreeBSD kernel version: 13.0-RELEASE FreeBSD userland version: 13.0-RELEASE Installed to disk
Computer (please complete the following information): Acer RevoOne RL85
Additional context Add any other context about the problem here.
Workaround according to https://forums.freebsd.org/threads/bose-companion-5-usb-working.36810/
sudo sysctl hw.usb.uaudio.default_channels=6
hw.usb.uaudio.default_channels: 0 -> 6
But still:
% cat /dev/sndstat
cat: /dev/sndstat:: No such file or directory
Users-RevoOne-RL85% cat /dev/sndstat
Installed devices:
pcm0: <Intel Broadwell (HDMI/DP 8ch)> (play) default
pcm1: <Realtek ALC269 (Front Analog Headphones)> (play)
No devices installed from userspace.
After replugging:
% cat /dev/sndstat
Installed devices:
pcm0: <Intel Broadwell (HDMI/DP 8ch)> (play)
pcm1: <Realtek ALC269 (Front Analog Headphones)> (play)
pcm2: <USB audio> (play) default
No devices installed from userspace.
Now it can be selected in DSBMixer, and the test sound can be played in DSBMixer. System sounds work. So does sound from Falkon.
But it is too fiddly. Should work automatically.
Closed in https://github.com/helloSystem/ISO/commit/3a6c3919ef84df5dc901f4d34144f8a8cc948111