After plugin USB headset the USB keyboard not working anymore

Hi there,

sorry for my bad English, I'm not a native speaker.

I'm new to FreeBSD, coming from Linux Slackware. I managed to set up my system with XFCE4, so everything is working perfect except my USB headset. After plugin the headset, the sound output ist working but my USB keyboard not working anymore. The USB headset is a Yealink WH66 which mounts a USB audio device and a mass storage device (for drivers) after plugin. After plugin the headset, it's not possible to write with the keyboard, some keys are functional but most not. If the headset is plugged in during the FreeBSD setup, it will immediately begin to write random characters to the screen.

Any idea how to fix this issue?

This is the dmesg output for the headset:

ugen0.2: <VIA Labs, Inc. USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <VIA Labs, Inc. USB2.0 Hub, class 9/0, rev 2.10/90.33, addr 23> on usbus0
uhub1: MTT enabled
uhub1: 4 ports with 4 removable, self powered
ugen0.5: <Yealink Yealink WH66> at usbus0
uaudio0 on uhub1
uaudio0: <Yealink Yealink WH66, class 0/0, rev 2.00/1.01, addr 24> on usbus0
uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer.
uaudio0: Play[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer.
uaudio0: Play[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x2ms buffer.
uaudio0: Play[0]: 8000 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]: 16000 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.
pcm2: <USB audio> on uaudio0
uaudio0: No HID volume keys found.
ukbd0 on uhub1
ukbd0: <Yealink Yealink WH66, class 0/0, rev 2.00/1.01, addr 24> on usbus0
kbd2 at ukbd0
ukbd1 on uhub1
ukbd1: <HID debug interface> on usbus0
kbd3 at ukbd1
umass0 on uhub1
umass0: <Mass Storage> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <Yealink YUC 0409> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
da0: Write Protected
ugen0.6: <VIA Labs, Inc. USB3.0 Hub> at usbus0
uhub2 on uhub0
uhub2: <VIA Labs, Inc. USB3.0 Hub, class 9/0, rev 3.10/90.33, addr 25> on usbus0
uhub2: 4 ports with 4 removable, self powered
 
Welcome to The FreeBSD Forums.

Which version of FreeBSD, exactly?

Packages of ports from quarterly, or latest?

freebsd--version -kru ; uname -aKU

pkg -vv | grep -e url -e enabled -e priority

Are the devices connected directly, or through a hub that's separate from the computer?

What's the computer make and model?

… If the headset is plugged in during the FreeBSD setup, it will immediately begin to write random characters to the screen. …

That's disconcerting, but almost certainly negligible (and the characters might be not entirely random).
 
Well, looking at the logs it seems that the headset is seen as a keyboard:
ukbd0 on uhub1
ukbd0: <Yealink Yealink WH66, class 0/0, rev 2.00/1.01, addr 24> on usbus0
Do
Code:
kldload hidraw
kldload hms
kldload hcons
sysctl hw.usb.usbhid.enable=1
And reconnect your keyboard and headphone to see if something is changing.
 
as a keyboard:

Maybe that's to be expected for the touch screen.

1715422184313.png
 
Many thanks for your replies. I'm using FreeBSD 14 with current patches. A couple of minutes ago, I figured out a way to get this working after reading some threads about some similar issues.
What I did:

Added the following line to /boot/device.hints: hint.kbd.2.disabled="1"

I think this makes the OS to ignore the additional keyboard device. I don't know if this is the right way but ist working for now.
 
Back
Top