usbconfig
root@kazu:~ # usbconfig ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.2: <Sonix Technology Co., Ltd. USB 2.0 Camera> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen0.3: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.4: <Logitech USB Receiver> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA) ugen0.5: <Logitech Wireless Receiver> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (50mA) ugen0.6: <I-O DATA I-O DATA AD-USB> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ugen0.7: <vendor 0x8087 product 0x0a2a> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) root@kazu:~ #
dmesg
root@kazu:~ # dmesg | tail -35 uhid0 on uhub1 uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 3> on usbus0 ums1 on uhub1 ums1: <Logitech Wireless Receiver, class 0/0, rev 1.10/3.02, addr 4> on usbus0 ums1: 5 buttons and [XYZ] coordinates ID=1 uaudio0 on uhub1 uaudio0: <I-O DATA I-O DATA AD-USB, class 0/0, rev 1.10/1.00, addr 5> on usbus0 uaudio0: No playback. uaudio0: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: Record[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer. uaudio0: No MIDI sequencer. pcm3: <USB audio> on uaudio0 uaudio0: No HID volume keys found. ugen0.7: <vendor 0x8087 product 0x0a2a> at usbus0 (disconnected) iichid0: <SYNA3602:00 093A:0255 I2C HID device> at addr 0x2c on iicbus0 iichid0: Interrupt setup failed. Fallback to sampling hidbus0: <HID bus> on iichid0 ugen0.7: <vendor 0x8087 product 0x0a2a> at usbus0 ng_ubt: HCI command 0x0c03 timed out ng_ubt: HCI command 0x0c03 timed out hms0: <SYNA3602:00 093A:0255 Mouse> on hidbus0 hms0: 2 buttons and [XY] coordinates ID=2 hmt0: <SYNA3602:00 093A:0255 TouchPad> on hidbus0 hconf0: <SYNA3602:00 093A:0255 Configuration> on hidbus0 hmt0: Multitouch touchpad with 2 external buttons, click-pad hmt0: 5 contacts with [C] properties. Report range [0:0] - [1707:1060] Security policy loaded: MAC/ntpd (mac_ntpd) feeder_init(0xfffff80151a71700) on feeder_matrix returned 22 pcm2: feeder_build_matrix(): can't add feeder_matrix [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. root@kazu:~ #
/dev/sndstat
root@kazu:~ # sysctl hw.snd.verbose=2
hw.snd.verbose: 0 -> 2
root@kazu:~ # cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC897 (Internal Analog)> on hdaa0 (1p:1v/1r:1v) default
snddev flags=0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC>
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004
interrupts 22765, underruns 0, feed 22765, ready 0 [b:2048/1024/2|bs:2048/1024/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005
interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 44100/48000, fmt 0x00100010/0x00200010, flags 0x10000000, 0x00000069
interrupts 0, overruns 0, feed 0, hfree 0, sfree 16384 [b:0/0/0|bs:16384/128/128]
channel flags=0x10000000<VIRTUAL>
{hardware} -> feeder_root(0x00200010) -> feeder_matrix(2.0 -> 1.0) -> feeder_volume(0x00100010) -> feeder_rate(0x00100010 q:1 48000 -> 44100) -> {userland}
pcm1: <Realtek ALC897 (Front Analog Headphones)> on hdaa0 (1p:1v/0r:0v)
snddev flags=0x2e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC>
[pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004
interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 44100/48000, fmt 0x00200008/0x00200010, flags 0x10000000, 0x0000002b
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/512/8]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00200008) -> feeder_format(0x00200008 -> 0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (1p:1v/0r:0v)
snddev flags=0x2e7<SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC>
[pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004
interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]
channel flags=0x6100<BUSY,HAS_VCHAN,VCHAN_PASSTHROUGH>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 44100/48000, fmt 0x00200008/0x00200010, flags 0x10000000, 0x0000002b
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/512/8]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00200008) -> feeder_format(0x00200008 -> 0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware}
pcm3: <USB audio> at ? kld snd_uaudio (0p:0v/1r:1v)
snddev flags=0x100002e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC,PRIO_RD>
[pcm3:record:dsp3.r0]: spd 48000, fmt 0x00200010, flags 0x00002108, 0x00000005
interrupts 107949, overruns 0, feed 215897, hfree 3072, sfree 4095 [b:3072/1536/2|bs:4096/2048/2]
channel flags=0x2108<TRIGGERED,BUSY,HAS_VCHAN>
{hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}
pcm3:record:dsp3.r0[pcm3:virtual:dsp3.vr0]: spd 44100/48000, fmt 0x00200010, flags 0x1000114c, 0x00000029, pid 1906 (audacity)
interrupts 0, overruns 0, feed 326375, hfree 0, sfree 32436 [b:0/0/0|bs:32768/8192/4]
channel flags=0x1000114c<RUNNING,TRIGGERED,NBIO,BUSY,HAS_SIZE,VIRTUAL>
{hardware} -> feeder_root(0x00200010) -> feeder_rate(0x00200010 q:1 48000 -> 44100) -> feeder_volume(0x00200010) -> {userland}
No devices installed from userspace.
root@kazu:~ #