<div dir="auto">Hello, Michael,<div dir="auto">Thank you for clarifying this. Actually, the value is 12 by default already in the latest dfly release, 6.4.0.</div><div dir="auto"><br></div><div dir="auto"> Is there somewhere official documentation on these rcpt mask values?</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Martin </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Neumann <<a href="mailto:mneumann@ntecs.de">mneumann@ntecs.de</a>> schrieb am So., 21. Apr. 2024, 08:15:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Apr 21, 2024 at 07:15:17AM +0300, Martin Ivanov wrote:<br>
> Hello, Michael,<br>
> thank you very much for your reply. Sorry for not replying to you earlier.<br>
> Actuall, yesterday we solved the problem in the irc chat. Pierre-Alain<br>
> TORET (daftaupe) told me to set kern.evdev.rcpt_mask=3. I now have this<br>
> added to /etc/sysctl.conf and my laptop keyboard works. No need for an<br>
> external USB keyboard any more.<br>
<br>
Glad to hear!<br>
<br>
> I am not sure if trying the master branch would make this configuration<br>
> unnecessary? So far everything works all right, I finally have a fully<br>
> working DragonflyBSD XFCE desktop.<br>
<br>
With the next version of DragonFly, the default will be<br>
kern.evdev.rcpt_mask=12.<br>
<br>
To explain, the rcpt_mask is a bit pattern:<br>
<br>
* 1: Enable Sysmouse protocol (psm via moused)<br>
* 2: Kbdmux (keyboard multiplexer) <br>
* 4: Hardware mouse (psm directly via evdev)<br>
* 8: Hardware keyboard (atkbd directly via evdev)<br>
<br>
So a value of 12 ("4 bit-or 8") means, that only the evdev events from<br>
the Hardware mouse and Hardware keyboard are passed through.<br>
<br>
The value 3 ("1 bit-or 2") means, you use sysmouse protocol and kbdmux.<br>
<br>
Another "common" value would be 6 ("2 bit-or 4"), which uses the<br>
keyboard multiplexer with the hardware mouse.<br>
<br>
Keep in mind that when you upgrade to the next version, you might have<br>
to tweak the rcpt_mask value and maybe your Xorg conf.<br>
<br>
Regards,<br>
<br>
Michael<br>
<br>
> <br>
> Best regards,<br>
> Martin<br>
> On Sat, Apr 20, 2024 at 7:09???PM Michael Neumann <<a href="mailto:mneumann@ntecs.de" target="_blank" rel="noreferrer">mneumann@ntecs.de</a>> wrote:<br>
> <br>
> ???<br>
> ???<br>
> Michael Neumann, karu.pruun, <a href="mailto:users@dragonflybsd.org" target="_blank" rel="noreferrer">users@dragonflybsd.org</a><br>
> Hello, Michael,<br>
> thank you very much for your reply. Sorry for not replying to you earlier.<br>
> Actuall, yesterday we solved the problem in the irc chat. Pierre-Alain<br>
> TORET (daftaupe) told me to set<br>
> On Sat, Apr 20, 2024 at 7:09???PM Michael Neumann <<a href="mailto:mneumann@ntecs.de" target="_blank" rel="noreferrer">mneumann@ntecs.de</a>> wrote:<br>
> Hi Martin,<br>
> <br>
> My experience with evdev was that X11 does not recognize it as of 6.4, as<br>
> kern.features.evdev sysctl is missing. Still, your keyboard *should* work<br>
> without evdev - I really believe this is a configuration issue. Can you<br>
> please again attach the full xorg.conf file that you are currently using?<br>
> As Peeter mentioned, you have a typo in your xorg.conf.<br>
> <br>
> As for evdev: Can you somehow try out the current HEAD revision from git?<br>
> You'd have to recompile the world and kernel :)<br>
> <br>
> Regards,<br>
> <br>
> Michael<br>
> <br>
> <br>
> Am 20. April 2024 20:18:13 GMT+07:00 schrieb Martin Ivanov <<br>
> <a href="mailto:marto1980@gmail.com" target="_blank" rel="noreferrer">marto1980@gmail.com</a>>:<br>
> Hello, Peter,<br>
> <br>
> thank you very much for your reply. I did that, but the keyboard still<br>
> doesn't work.<br>
> So long as I see, the libinput and evdev drivers are loaded but that does<br>
> not help, unfortunately.<br>
> I am attaching my current xorg.conf as well as the Xorg.0. log file.<br>
> <br>
> Any suggestions will be appreciated.<br>
> <br>
> Best regards,<br>
> Martin<br>
> <br>
> <br>
> <br>
> On Sat, Apr 20, 2024 at 9:30???AM karu.pruun <<a href="mailto:karu.pruun@gmail.com" target="_blank" rel="noreferrer">karu.pruun@gmail.com</a>> wrote:<br>
> Hello<br>
> <br>
> The standard and preferred way now is to use the evdev input system.<br>
> This means you should use the libinput driver for both keyboard and<br>
> mouse. See the xorg.conf I attached to the previous email thread as an<br>
> example, it has both filled in with the libinput driver; you can just<br>
> copy them over into your xorg.conf. Also ensure you have the following<br>
> packages installed:<br>
> <br>
> - libinput<br>
> - xf86-input-libinput<br>
> - libevdev<br>
> - py39-evdev<br>
> <br>
> Note that you have a syntax error ("Keeyboard0" v "Keyboard0") in your<br>
> xorg.conf.<br>
> <br>
> Best<br>
> <br>
> Peeter<br>
> <br>
> --<br>
> <br>
> On Sat, Apr 20, 2024 at 7:58???AM Martin Ivanov <<a href="mailto:marto1980@gmail.com" target="_blank" rel="noreferrer">marto1980@gmail.com</a>> wrote:<br>
> ><br>
> > Hello,<br>
> > After I installing Dragonflybsd 6.4.0, my laptop keyboard does not work<br>
> in X, I am using XFCE. dmesg recognizes my keyboard as:<br>
> ><br>
> > atkbdc0: Keyboard controller i8042 port 0x64,0x60 irq 1 on acpi0<br>
> > atkbd0: AT Keyboard irq 1 on atkbdc0<br>
> ><br>
> > In my xorg.conf, I have:<br>
> ><br>
> > Section "ServerLayout"<br>
> > InputDevice "Keeyboard0" "CoreKeyboard"<br>
> > EndSection<br>
> ><br>
> > Section "InputDevice"<br>
> > Identifier "Keyboard0"<br>
> > Driver "kbd"<br>
> > EndSection<br>
> ><br>
> ><br>
> > Any suggestions will be appreciated.<br>
> ><br>
> > Best regards,<br>
> ><br>
> > Martin<br>
> ><br>
> ><br>
> Sans Serif<br>
> Send<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> > Hi Martin,<br>
> ><br>
> > My experience with evdev was that X11 does not recognize it as of 6.4, as<br>
> > kern.features.evdev sysctl is missing. Still, your keyboard *should* work<br>
> > without evdev - I really believe this is a configuration issue. Can you<br>
> > please again attach the full xorg.conf file that you are currently using?<br>
> > As Peeter mentioned, you have a typo in your xorg.conf.<br>
> ><br>
> > As for evdev: Can you somehow try out the current HEAD revision from git?<br>
> > You'd have to recompile the world and kernel :)<br>
> ><br>
> > Regards,<br>
> ><br>
> > Michael<br>
> ><br>
> ><br>
> > Am 20. April 2024 20:18:13 GMT+07:00 schrieb Martin Ivanov <<br>
> > <a href="mailto:marto1980@gmail.com" target="_blank" rel="noreferrer">marto1980@gmail.com</a>>:<br>
> ><br>
> >> Hello, Peter,<br>
> >><br>
> >> thank you very much for your reply. I did that, but the keyboard still<br>
> >> doesn't work.<br>
> >> So long as I see, the libinput and evdev drivers are loaded but that does<br>
> >> not help, unfortunately.<br>
> >> I am attaching my current xorg.conf as well as the Xorg.0. log file.<br>
> >><br>
> >> Any suggestions will be appreciated.<br>
> >><br>
> >> Best regards,<br>
> >> Martin<br>
> >><br>
> >><br>
> >><br>
> >> On Sat, Apr 20, 2024 at 9:30???AM karu.pruun <<a href="mailto:karu.pruun@gmail.com" target="_blank" rel="noreferrer">karu.pruun@gmail.com</a>> wrote:<br>
> >><br>
> >>> Hello<br>
> >>><br>
> >>> The standard and preferred way now is to use the evdev input system.<br>
> >>> This means you should use the libinput driver for both keyboard and<br>
> >>> mouse. See the xorg.conf I attached to the previous email thread as an<br>
> >>> example, it has both filled in with the libinput driver; you can just<br>
> >>> copy them over into your xorg.conf. Also ensure you have the following<br>
> >>> packages installed:<br>
> >>><br>
> >>> - libinput<br>
> >>> - xf86-input-libinput<br>
> >>> - libevdev<br>
> >>> - py39-evdev<br>
> >>><br>
> >>> Note that you have a syntax error ("Keeyboard0" v "Keyboard0") in your<br>
> >>> xorg.conf.<br>
> >>><br>
> >>> Best<br>
> >>><br>
> >>> Peeter<br>
> >>><br>
> >>> --<br>
> >>><br>
> >>> On Sat, Apr 20, 2024 at 7:58???AM Martin Ivanov <<a href="mailto:marto1980@gmail.com" target="_blank" rel="noreferrer">marto1980@gmail.com</a>><br>
> >>> wrote:<br>
> >>> ><br>
> >>> > Hello,<br>
> >>> > After I installing Dragonflybsd 6.4.0, my laptop keyboard does not<br>
> >>> work in X, I am using XFCE. dmesg recognizes my keyboard as:<br>
> >>> ><br>
> >>> > atkbdc0: Keyboard controller i8042 port 0x64,0x60 irq 1 on acpi0<br>
> >>> > atkbd0: AT Keyboard irq 1 on atkbdc0<br>
> >>> ><br>
> >>> > In my xorg.conf, I have:<br>
> >>> ><br>
> >>> > Section "ServerLayout"<br>
> >>> > InputDevice "Keeyboard0" "CoreKeyboard"<br>
> >>> > EndSection<br>
> >>> ><br>
> >>> > Section "InputDevice"<br>
> >>> > Identifier "Keyboard0"<br>
> >>> > Driver "kbd"<br>
> >>> > EndSection<br>
> >>> ><br>
> >>> ><br>
> >>> > Any suggestions will be appreciated.<br>
> >>> ><br>
> >>> > Best regards,<br>
> >>> ><br>
> >>> > Martin<br>
> >>> ><br>
> >>> ><br>
> >>><br>
> >><br>
<br>
-- <br>
Michael Neumann<br>
NTECS Consulting<br>
<a href="http://www.ntecs.de" rel="noreferrer noreferrer" target="_blank">www.ntecs.de</a><br>
</blockquote></div>