Re: keyboard has a weird layout after boot

2020-07-14 Thread László Lajos Jánszky
Thanks I opened an issue. https://github.com/wulf7/iichid/issues/39

CeDeROM  ezt írta (időpont: 2020. júl. 14., K, 19:50):

> Hello world :-)
>
> Plase also take a look at IICHID project at GitHub and report an issue
> this is the new HID driver for FreeBSD and the developers are very
> responsive and helpful :-)
>
> https://github.com/wulf7/iichid
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-14 Thread CeDeROM
Hello world :-)

Plase also take a look at IICHID project at GitHub and report an issue this
is the new HID driver for FreeBSD and the developers are very responsive
and helpful :-)

https://github.com/wulf7/iichid

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-14 Thread László Lajos Jánszky
Thanks Lev! I can do further debugging if you send the instructions.

Lev Serebryakov  ezt írta (időpont: 2020. júl. 14., K,
16:37):

> On 14.07.2020 16:48, László Lajos Jánszky wrote:
>
> > I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
> > keyboard
> > http://en.obins.net/anne-pro It works properly in the UEFI and in
> the
> > rescue shell when I quit the boot menu, but after FreeBSD booted up
> > and I got the login screen it changes layout to something weird. For
> example
> > I got "a" when pressing backspace or "w". Most of the keys stop
> working.
> > anything about it in the manual, so probably this keyboard is NKRO
> > only...
> > Any idea how to make it work with FreeBSD or what causes this
> problem?
>
>  As far as I know, NKRO USB keyboards could work in two modes: "Legacy"
> and "Bitmap/NKRO".
>
>  HID (and each USB Keyboard is HID device) is very flexible standard, and
> it allows several ways to report pressed/released buttons: as event with 8
> modifier keys and up to 6 "simple" keys per event, or by transferring
> bitmap with bit for each button (pretends that all buttons are modifier
> ones, which allows NKRO).
>
>  "Standard" events could have only 6 different keys reported due to packet
> size constrains. But this way was historically first and "standard"
> keyboards work this way to this day.
>
>  "Bitmap" reporting could transmit any state of keyboard with as many
> pressed keys as there are keys total (NKRO!), but requires additional
> support from drirver.
>
>  NKRO keyboards start in "Legacy"/"Boot" mode because many BIOSes/EFI can
> not understand "bitmap" reporting. Conditions to switch to "bitmap"
> reporting are different for different NKRO keyboards.
>
>  You could read more here: https://www.devever.net/~hl/usbnkro
>
>  Looks like, FreeBSD HID/kbd driver has problem with "bitmap" reporting
> and this keyboard switch to NKRO mode after boot regardless.
>
>  I've CC: this message to usb@ mailing list, as it looks like USB problem
> on FreeBSD side, in HID driver.
>
> --
> // Lev Serebryakov
>
>
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-14 Thread Lev Serebryakov
On 14.07.2020 16:48, László Lajos Jánszky wrote:

> I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
> keyboard
> http://en.obins.net/anne-pro It works properly in the UEFI and in the
> rescue shell when I quit the boot menu, but after FreeBSD booted up
> and I got the login screen it changes layout to something weird. For 
> example
> I got "a" when pressing backspace or "w". Most of the keys stop working.
> anything about it in the manual, so probably this keyboard is NKRO
> only...
> Any idea how to make it work with FreeBSD or what causes this problem?

 As far as I know, NKRO USB keyboards could work in two modes: "Legacy" and 
"Bitmap/NKRO".

 HID (and each USB Keyboard is HID device) is very flexible standard, and it 
allows several ways to report pressed/released buttons: as event with 8 
modifier keys and up to 6 "simple" keys per event, or by transferring bitmap 
with bit for each button (pretends that all buttons are modifier ones, which 
allows NKRO).

 "Standard" events could have only 6 different keys reported due to packet size 
constrains. But this way was historically first and "standard" keyboards work 
this way to this day.

 "Bitmap" reporting could transmit any state of keyboard with as many pressed 
keys as there are keys total (NKRO!), but requires additional support from 
drirver.

 NKRO keyboards start in "Legacy"/"Boot" mode because many BIOSes/EFI can not 
understand "bitmap" reporting. Conditions to switch to "bitmap" reporting are 
different for different NKRO keyboards.

 You could read more here: https://www.devever.net/~hl/usbnkro

 Looks like, FreeBSD HID/kbd driver has problem with "bitmap" reporting and 
this keyboard switch to NKRO mode after boot regardless.

 I've CC: this message to usb@ mailing list, as it looks like USB problem on 
FreeBSD side, in HID driver.

-- 
// Lev Serebryakov



signature.asc
Description: OpenPGP digital signature


Re: keyboard has a weird layout after boot

2020-07-14 Thread László Lajos Jánszky
I already posted to the forum, they suggested to post to the mail list. :-)

Patrick Proniewski  ezt írta (időpont: 2020. júl. 13.,
H, 23:13):

> Sorry it did not work out :/
> I'm not so sure it's an NKRO related bug but it might need some debugging.
> You might as well post of FreeBSD forums to see if other people are using
> the same keyboard as you.
> I'm using a Vortex ViBE and a Vortex Tab90M without any problem on FreeBSD
> but I'm not sure they are really NKRO.
>
> patpro
>
> > On 13 juil. 2020, at 15:30, László Lajos Jánszky <
> laszlo.jans...@gmail.com> wrote:
> >
> > Same with "sysctl kern.evdev.rcpt_mask=12" and removing the "driver kbd"
> > line from xorg config.
> >
> > Patrick Proniewski  ezt írta (időpont: 2020. júl.
> 12.,
> > V, 16:04):
> >
> >> Hello,
> >>
> >> Give this a try and let us know if it solves your problem:
> >>
> >>
> >>
> https://forums.freebsd.org/threads/xfce-keyboard-goes-wild-after-pkg-upgrade.74397
> >>
> >> good luck,
> >> patpro
> >>
> >>
> >>> On 12 juil. 2020, at 15:51, László Lajos Jánszky <
> >> laszlo.jans...@gmail.com> wrote:
> >>>
> >>> I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
> >> keyboard
> >>> http://en.obins.net/anne-pro It works properly in the UEFI and in the
> >>> rescue shell when I quit the boot menu, but after FreeBSD booted up
> and I
> >>> got the login screen it changes layout to something weird. For example
> I
> >>> got "a" when pressing backspace or "w". Most of the keys stop working.
> I
> >>> used it on a Win7 PC for a few years, so it works fine and in theory it
> >> has
> >>> a standard US ANSI layout, at least the UEFI and the rescue shell does
> >> not
> >>> have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried
> >>> another keyboard, which is a Logitech K360 and that works as expected
> >> with
> >>> 102 key generic Hungarian layout. I tried all the generic models in KDE
> >>> with US layout by the Anne Pro, but had no success. I tried to disable
> >> the
> >>> KDE by commenting out "exec ck-launch-session startplasma-x11" from the
> >>> .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I
> tried
> >>> the keyboard in a console with ctrl+alt+f3, which in theory would be
> the
> >>> same as booting without KDE and it had the same issue in that console
> >> too,
> >>> so I think it is not an xorg related thing, but I am not entirely sure.
> >>> Somebody suggested changing the keyboard mode to 6-KRO, but I did not
> >> find
> >>> anything about it in the manual, so probably this keyboard is NKRO
> only.
> >>> Any idea how to make it work with FreeBSD or what causes this problem?
> >>> ___
> >>> freebsd-hardware@freebsd.org mailing list
> >>> https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> >>> To unsubscribe, send any mail to "
> >> freebsd-hardware-unsubscr...@freebsd.org"
> >>
> >>
> > ___
> > freebsd-hardware@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> > To unsubscribe, send any mail to "
> freebsd-hardware-unsubscr...@freebsd.org"
>
>
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-13 Thread Patrick Proniewski via freebsd-hardware
Sorry it did not work out :/
I'm not so sure it's an NKRO related bug but it might need some debugging. You 
might as well post of FreeBSD forums to see if other people are using the same 
keyboard as you.
I'm using a Vortex ViBE and a Vortex Tab90M without any problem on FreeBSD but 
I'm not sure they are really NKRO.

patpro

> On 13 juil. 2020, at 15:30, László Lajos Jánszky  
> wrote:
> 
> Same with "sysctl kern.evdev.rcpt_mask=12" and removing the "driver kbd"
> line from xorg config.
> 
> Patrick Proniewski  ezt írta (időpont: 2020. júl. 12.,
> V, 16:04):
> 
>> Hello,
>> 
>> Give this a try and let us know if it solves your problem:
>> 
>> 
>> https://forums.freebsd.org/threads/xfce-keyboard-goes-wild-after-pkg-upgrade.74397
>> 
>> good luck,
>> patpro
>> 
>> 
>>> On 12 juil. 2020, at 15:51, László Lajos Jánszky <
>> laszlo.jans...@gmail.com> wrote:
>>> 
>>> I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
>> keyboard
>>> http://en.obins.net/anne-pro It works properly in the UEFI and in the
>>> rescue shell when I quit the boot menu, but after FreeBSD booted up and I
>>> got the login screen it changes layout to something weird. For example I
>>> got "a" when pressing backspace or "w". Most of the keys stop working. I
>>> used it on a Win7 PC for a few years, so it works fine and in theory it
>> has
>>> a standard US ANSI layout, at least the UEFI and the rescue shell does
>> not
>>> have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried
>>> another keyboard, which is a Logitech K360 and that works as expected
>> with
>>> 102 key generic Hungarian layout. I tried all the generic models in KDE
>>> with US layout by the Anne Pro, but had no success. I tried to disable
>> the
>>> KDE by commenting out "exec ck-launch-session startplasma-x11" from the
>>> .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I tried
>>> the keyboard in a console with ctrl+alt+f3, which in theory would be the
>>> same as booting without KDE and it had the same issue in that console
>> too,
>>> so I think it is not an xorg related thing, but I am not entirely sure.
>>> Somebody suggested changing the keyboard mode to 6-KRO, but I did not
>> find
>>> anything about it in the manual, so probably this keyboard is NKRO only.
>>> Any idea how to make it work with FreeBSD or what causes this problem?
>>> ___
>>> freebsd-hardware@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>>> To unsubscribe, send any mail to "
>> freebsd-hardware-unsubscr...@freebsd.org"
>> 
>> 
> ___
> freebsd-hardware@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"

___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-13 Thread László Lajos Jánszky
Same with "sysctl kern.evdev.rcpt_mask=12" and removing the "driver kbd"
line from xorg config.

Patrick Proniewski  ezt írta (időpont: 2020. júl. 12.,
V, 16:04):

> Hello,
>
> Give this a try and let us know if it solves your problem:
>
>
> https://forums.freebsd.org/threads/xfce-keyboard-goes-wild-after-pkg-upgrade.74397
>
> good luck,
> patpro
>
>
> > On 12 juil. 2020, at 15:51, László Lajos Jánszky <
> laszlo.jans...@gmail.com> wrote:
> >
> > I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
> keyboard
> > http://en.obins.net/anne-pro It works properly in the UEFI and in the
> > rescue shell when I quit the boot menu, but after FreeBSD booted up and I
> > got the login screen it changes layout to something weird. For example I
> > got "a" when pressing backspace or "w". Most of the keys stop working. I
> > used it on a Win7 PC for a few years, so it works fine and in theory it
> has
> > a standard US ANSI layout, at least the UEFI and the rescue shell does
> not
> > have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried
> > another keyboard, which is a Logitech K360 and that works as expected
> with
> > 102 key generic Hungarian layout. I tried all the generic models in KDE
> > with US layout by the Anne Pro, but had no success. I tried to disable
> the
> > KDE by commenting out "exec ck-launch-session startplasma-x11" from the
> > .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I tried
> > the keyboard in a console with ctrl+alt+f3, which in theory would be the
> > same as booting without KDE and it had the same issue in that console
> too,
> > so I think it is not an xorg related thing, but I am not entirely sure.
> > Somebody suggested changing the keyboard mode to 6-KRO, but I did not
> find
> > anything about it in the manual, so probably this keyboard is NKRO only.
> > Any idea how to make it work with FreeBSD or what causes this problem?
> > ___
> > freebsd-hardware@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> > To unsubscribe, send any mail to "
> freebsd-hardware-unsubscr...@freebsd.org"
>
>
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-13 Thread László Lajos Jánszky
 I managed to boot without KDE, it is the same, so it is not xorg related
unless something is loaded from it without starting KDE with "exec
ck-launch-session startplasma-x11".
Some people claim it is NKRO related and it might be this bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181425
(Sorry I forgot to copy the mail list in the the previous one.)

Patrick Proniewski  ezt írta (időpont: 2020. júl. 12.,
V, 16:04):

> Hello,
>
> Give this a try and let us know if it solves your problem:
>
>
> https://forums.freebsd.org/threads/xfce-keyboard-goes-wild-after-pkg-upgrade.74397
>
> good luck,
> patpro
>
>
> > On 12 juil. 2020, at 15:51, László Lajos Jánszky <
> laszlo.jans...@gmail.com> wrote:
> >
> > I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO
> keyboard
> > http://en.obins.net/anne-pro It works properly in the UEFI and in the
> > rescue shell when I quit the boot menu, but after FreeBSD booted up and I
> > got the login screen it changes layout to something weird. For example I
> > got "a" when pressing backspace or "w". Most of the keys stop working. I
> > used it on a Win7 PC for a few years, so it works fine and in theory it
> has
> > a standard US ANSI layout, at least the UEFI and the rescue shell does
> not
> > have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried
> > another keyboard, which is a Logitech K360 and that works as expected
> with
> > 102 key generic Hungarian layout. I tried all the generic models in KDE
> > with US layout by the Anne Pro, but had no success. I tried to disable
> the
> > KDE by commenting out "exec ck-launch-session startplasma-x11" from the
> > .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I tried
> > the keyboard in a console with ctrl+alt+f3, which in theory would be the
> > same as booting without KDE and it had the same issue in that console
> too,
> > so I think it is not an xorg related thing, but I am not entirely sure.
> > Somebody suggested changing the keyboard mode to 6-KRO, but I did not
> find
> > anything about it in the manual, so probably this keyboard is NKRO only.
> > Any idea how to make it work with FreeBSD or what causes this problem?
> > ___
> > freebsd-hardware@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> > To unsubscribe, send any mail to "
> freebsd-hardware-unsubscr...@freebsd.org"
>
>
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Re: keyboard has a weird layout after boot

2020-07-12 Thread Patrick Proniewski via freebsd-hardware
Hello,

Give this a try and let us know if it solves your problem: 

https://forums.freebsd.org/threads/xfce-keyboard-goes-wild-after-pkg-upgrade.74397

good luck,
patpro


> On 12 juil. 2020, at 15:51, László Lajos Jánszky  
> wrote:
> 
> I have an Obins Anne Pro keyboard, which is a 60% mechanical NKRO keyboard
> http://en.obins.net/anne-pro It works properly in the UEFI and in the
> rescue shell when I quit the boot menu, but after FreeBSD booted up and I
> got the login screen it changes layout to something weird. For example I
> got "a" when pressing backspace or "w". Most of the keys stop working. I
> used it on a Win7 PC for a few years, so it works fine and in theory it has
> a standard US ANSI layout, at least the UEFI and the rescue shell does not
> have problems with it. I tried it with FreeBSD 12.1 and KDE. I tried
> another keyboard, which is a Logitech K360 and that works as expected with
> 102 key generic Hungarian layout. I tried all the generic models in KDE
> with US layout by the Anne Pro, but had no success. I tried to disable the
> KDE by commenting out "exec ck-launch-session startplasma-x11" from the
> .xinitrc file, but somehow FreeBSD still boots with KDE idk why. I tried
> the keyboard in a console with ctrl+alt+f3, which in theory would be the
> same as booting without KDE and it had the same issue in that console too,
> so I think it is not an xorg related thing, but I am not entirely sure.
> Somebody suggested changing the keyboard mode to 6-KRO, but I did not find
> anything about it in the manual, so probably this keyboard is NKRO only.
> Any idea how to make it work with FreeBSD or what causes this problem?
> ___
> freebsd-hardware@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"

___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"