Date: Tue, 18 Apr 2023 21:56:47 +0300 From: Trevor Arjeski <tmarjeski@gmail.com> To: freebsd-multimedia@freebsd.org Subject: Possibility of remapping USB PCM device Message-ID: <CACPvkDz4NT4RFfUxzd87P%2B2iL8to9owtzVH8bCZV-To8C7fn1w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000003758c105f9a0dfdc Content-Type: text/plain; charset="UTF-8" Hi all, I am new to FreeBSD and I am in the midst of setting up things the way I like them on my desktop. I have a strange USB headset that requires a special configuration on linux - pulseaudio includes this configuration, and I was wondering if there is a possibility it can be done in FreeBSD. Below is a description of the device from the pulseaudio source code from this commit https://github.com/pulseaudio/pulseaudio/commit/814419cc3d788acb9113a3d62c373deb1a911e75 | Steelseries Arctis 7 USB headset mono output path. The headset has two | output devices. The first one is mono, meant for voice audio, and the | second one is stereo, meant for everything else. The purpose of this | unusual design is to provide separate volume controls for voice and | other audio, which can be useful in gaming. | This path doesn't provide hardware volume control, because the stereo | output is controlled by the PCM element with index 1, and currently | PulseAudio only supports elements with index 0. The last sentence is what I am trying to achieve, somehow, so that I can control the volume. I have already gone through all the sysctl's on the two pcm devices, and messed with all the available mixer settings. My assumption is that FreeBSD is doing what Linux was doing before the pulseaudio patch - not allowing "index 1" - whatever that means. Any information is welcome. I would even be interested in patching some of the driver code for my own learning (doesn't need to go upstream). I am running CURRENT and can rebuild the system and kernel. Thanks. --0000000000003758c105f9a0dfdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi all,</div><div>I am new to FreeBSD and I am in the= midst of setting up things the way I like them on my desktop. I have a str= ange USB headset that requires a special configuration on linux - pulseaudi= o includes this configuration, and I was wondering if there is a possibilit= y it can be done in FreeBSD.</div><div><br></div><div>Below is a descriptio= n of the device from the pulseaudio source code from this commit <a href=3D= "https://github.com/pulseaudio/pulseaudio/commit/814419cc3d788acb9113a3d62c= 373deb1a911e75">https://github.com/pulseaudio/pulseaudio/commit/814419cc3d7= 88acb9113a3d62c373deb1a911e75</a></div><div><br></div><div>| Steelseries Ar= ctis 7 USB headset mono output path. The headset has two<br>| output device= s. The first one is mono, meant for voice audio, and the<br>| second one is= stereo, meant for everything else. The purpose of this<br>| unusual design= is to provide separate volume controls for voice and<br>| other audio, whi= ch can be useful in gaming.</div><div>| This path doesn't provide hardw= are volume control, because the stereo<br>| output is controlled by the PCM= element with index 1, and currently<br>| PulseAudio only supports elements= with index 0.</div><div><br></div><div>The last sentence is what I am tryi= ng to achieve, somehow, so that I can control the volume.<br></div><div><br= ></div>I have already gone through all the sysctl's on the two pcm devi= ces, and messed with all the available mixer settings. My assumption is tha= t FreeBSD is doing what Linux was doing before the pulseaudio patch - not a= llowing "index 1" - whatever that means.<br><div><div><br></div><= div>Any information is welcome. I would even be interested in patching some= of the driver code for my own learning (doesn't need to go upstream). = I am running CURRENT and can rebuild the system and kernel.</div><div><br><= /div><div>Thanks.<br></div></div></div> --0000000000003758c105f9a0dfdc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACPvkDz4NT4RFfUxzd87P%2B2iL8to9owtzVH8bCZV-To8C7fn1w>