<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - OSS module doesn't detect some devices"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89921#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - OSS module doesn't detect some devices"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89921">bug 89921</a>
from <span class="vcard"><a class="email" href="mailto:aaz@q-fu.com" title="Andrey Zholos <aaz@q-fu.com>"> <span class="fn">Andrey Zholos</span></a>
</span></b>
<pre><a href="http://man.freebsd.org/snd_hda">http://man.freebsd.org/snd_hda</a> mentions retasking.
You can override device type (Line-out/Mic) for any pin and that
implies direction. The color doesn't matter, it's just for reference.
The above pindump represents 6 jacks on the back panel and 2 jacks on
the front panel, but I guess any of them can be retasked because each
says Caps: IN OUT.
pa_oss_get_hw_description doesn't work on FreeBSD anyway. It is parsing
for "%i:" rather than "pcm%i:", so no description is shown:
$ pacmd list-sinks
...
* index: 4
name: <oss_output.dsp4>
driver: <module-oss.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 0
volume: front-left: 65536 / 100%, front-right: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 101
muted: no
current latency: 0.00 ms
max request: 4 KiB
max rewind: 0 KiB
monitor source: 5
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 21.33 ms
module: 10
properties:
device.string = "/dev/dsp4"
device.api = "oss"
device.description = "/dev/dsp4"
device.access_mode = "mmap"
device.buffering.buffer_size = "4096"
device.buffering.fragment_size = "1024"
device.icon_name = "audio-card"
...
Also, PulseAudio doesn't seem to detect that it's multichannel, but
that's a topic for another bug report.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>