I've been trying to track down an issue I'm having with FreeBSD not detecting USB inputs via my KVM switch. It works perfectly, until I switch away for a certain amount of time or unplugging the KVM device altogether.
If I switch away my input devices to my other system and my FreeBSD desktop goes to screensaver, when I switch back it no longer detects my input. The behavior is exactly the same when unplugging the device altogether. It will detect that my devices disconnect
This seems to happen when I unplug all my USB devices at once, and the culprit being my USB DAC. When I unplug it, I always get this in my messages log:
If my other devices were unplugged at the same time, I can't do anything and I have to reboot. But if I do my switching and my USB DAC isn't a part of the equation, we're fine. So it seems when my device goes away, those processes need to die somehow...thoughts?
If I switch away my input devices to my other system and my FreeBSD desktop goes to screensaver, when I switch back it no longer detects my input. The behavior is exactly the same when unplugging the device altogether. It will detect that my devices disconnect
Code:
Aug 26 18:16:06 vmDefense kernel: ugen0.2: <vendor 0x1a40 USB 2.0 Hub> at usbus0 (disconnected)
Aug 26 18:16:06 vmDefense kernel: uhub3: at uhub0, port 3, addr 1 (disconnected)
Aug 26 18:16:06 vmDefense kernel: ugen0.3: <FiiO DigiHug USB Audio> at usbus0 (disconnected)
Aug 26 18:16:06 vmDefense kernel: uhid0: at uhub3, port 1, addr 2 (disconnected)
Aug 26 18:16:06 vmDefense kernel: uhid0: detached
Aug 26 18:16:06 vmDefense kernel: uaudio0: at uhub3, port 1, addr 2 (disconnected)
This seems to happen when I unplug all my USB devices at once, and the culprit being my USB DAC. When I unplug it, I always get this in my messages log:
Code:
Aug 26 18:40:21 vmDefense kernel: uaudio0: at uhub3, port 1, addr 7 (disconnected)
Aug 26 18:40:21 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:21 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:23 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:23 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:25 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:25 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:27 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:27 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:29 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:29 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:31 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:31 vmDefense kernel: pcm2: Waiting for sound application to exit!
Aug 26 18:40:33 vmDefense kernel: pcm2: unregister: channel pcm2:virtual:dsp2.vp1 busy (pid 12929)
Aug 26 18:40:33 vmDefense kernel: pcm2: Waiting for sound application to exit!
If my other devices were unplugged at the same time, I can't do anything and I have to reboot. But if I do my switching and my USB DAC isn't a part of the equation, we're fine. So it seems when my device goes away, those processes need to die somehow...thoughts?