Date: Mon, 27 Jun 2022 17:42:10 +0200 From: Michael Gmelin <grembo@freebsd.org> To: Ivan Quitschal <tezeka@hotmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "wulf@freebsd.org" <wulf@freebsd.org> Subject: Re: iichid/hms keyboard/mouse wrongly reattached to uhid/ums Message-ID: <20220627174210.28f5598a.grembo@freebsd.org> In-Reply-To: <CP6P284MB1900818F505F78F68EC4C6BECBB99@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM> References: <CP6P284MB1900818F505F78F68EC4C6BECBB99@CP6P284MB1900.BRAP284.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jun 2022 15:19:28 +0000 Ivan Quitschal <tezeka@hotmail.com> wrote: > Hi all > > Not sure if I found a problem here but here we go. > > Since I have a KVM usb switch here for keyboard/mouse sometimes I > toggle it between my windows and freebsd. I am using iichid here to > have my multimedia keys working on keyboard and all > > hw.usb.usbhid.enable="1" > > Im also using Wulf's moused > https://github.com/wulf7/moused > so far so good. Problem is: > > when I switch to windows , everything is detached correctly (hms, > hkbd etc), but when I switch back, sometimes the keyboard and mouse > are wrongly attached to "ums" device , not hms. (sometimes it goes to > the correct one). Shouldn't ums/uhid modules be deactivated once > hw.usb.usbhid.enable is set to 1 ? > > The workaround I did here was to manually kldunload both uhid.ko and > ums.ko within rc.local during boot. This way I can detache attach the > kbd/mouse back as much as I want and it always end up in hms/hkbd > devices > > Is this how its supposed to function? Randomly choosing between ums > or hms? Did you set hw.usb.usbhid.enable="1" in /boot/loader.conf, or by using the sysctl? If you don't do it yet, I'd recommend the former. Cheers Michael > > Thanks > > --tzk > -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220627174210.28f5598a.grembo>