Re: Duplicated keycodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jun 2, 2015, at 12:01 AM, Facundo Curti wrote:
> 2015-06-02 0:56 GMT-03:00 Christian Demsar <vixsomnis@xxxxxxxxxxxx>:
> 
> > On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
> > > 2015-06-02 0:38 GMT-03:00 Christian Demsar <vixsomnis@xxxxxxxxxxxx>:
> > >
> > > > On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
> > > > > 2015-06-02 0:10 GMT-03:00 Christian Demsar <vixsomnis@xxxxxxxxxxxx>:
> > > > >
> > > > > > On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> > > > > > > Distros/computer, I didn't. But in windows it works fine. :/
> > > > > > > El 01/06/2015 22:55, "Christian Demsar" <vixsomnis@xxxxxxxxxxxx>
> > > > > > > escribió:
> > > > > > >
> > > > > > > > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > > > > > > > Hi. I hope someone can help me please.
> > > > > > > > >
> > > > > > > > > I bought a new keyboard, a noga NKB-710. The problem is that,
> > > > > > according
> > > > > > > > > to
> > > > > > > > > xev, four of the keys have the same keycode...
> > > > > > > > >
> > > > > > > > > The keys Ctrl, Alt, Win*** and shift, have the same keycode,
> > 50.
> > > > Off
> > > > > > > > > course, it doesn't work correctly. and this way, It's
> > imposible
> > > > to
> > > > > > me to
> > > > > > > > > configure it with xmodmap.
> > > > > > > > >
> > > > > > > > > I don't know what data I can share. I hope this to be
> > sufficient:
> > > > > > > > >
> > > > > > > > > attached a lsusb -v output
> > > > > > > > >
> > > > > > > > > Thx, bye! :P
> > > > > > > > > Email had 1 attachment:
> > > > > > > > > + lsusb-v2
> > > > > > > > >   20k (application/octet-stream)
> > > > > > > >
> > > > > > > > Have you tested if it works in other distros or other
> > computers?
> > > > Might
> > > > > > > > narrow down the problem.
> > > > > > > >
> > > > > > > > --
> > > > > > > > vixsomnis
> > > > > > > >
> > > > > >
> > > > > > (please bottom-post if you can)
> > > > > >
> > > > > > I installed the xorg-xev package to compare to what you're seeing.
> > I
> > > > > > think the X11 keycodes are different from the codes actually sent
> > by
> > > > the
> > > > > > keyboard.
> > > > > >
> > > > > > Can you post the output of typing the problem keys when running
> > > > > >     $ sudo showkey
> > > > > >
> > > > > > I have:
> > > > > >
> > > > > >     left-ctrl = 29
> > > > > >     windows = 125
> > > > > >     left-alt = 56
> > > > > >     right-alt = 57
> > > > > >     right-ctrl = 97
> > > > > >     left-shift = 24
> > > > > >     right-shift = 54
> > > > > >
> > > > > > I think these are standard for all US keyboards.
> > > > > >
> > > > > > That should confirm if the problem is with your keyboard (if the
> > keys
> > > > > > show the same code) or in the driver (or somewhere else).
> > > > > >
> > > > > > There's also the slight possibility that it's a kernel bug, which
> > would
> > > > > > show up as repeating codes from showkey, since showkey is as close
> > to
> > > > > > the kernel as possible.
> > > > > >
> > > > > > --
> > > > > > vixsomnis
> > > > > >
> > > > >
> > > > > Yes, sorry. My bad. I answered from my phone
> > > > >
> > > > > With showkey I have the code 42 In alt, ctrl, shift and windows.
> > Again,
> > > > > the
> > > > > same code on the keys :/
> > > > >
> > > > > I'm from Argentina, So I don't have an english keyboard.
> > > > >
> > > > > The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
> > > > >
> > > > > I dont know what else I can do :S. Is really a nice keyboard :'(
> > jaja.
> > > > >
> > > > > Thank you!
> > > >
> > > > What's your keymap set to? I don't know what the Argentina layout or
> > > > file is.
> > > >
> > > > Try temporarily switching to US qwerty (it'll clear on reboot) and see
> > > > if that differentiates the keys.
> > > >
> > > >     $  loadkeys us
> > > >
> > > > You can see which keymaps you have by checking /usr/share/kbd/keymaps
> > > >
> > > > --
> > > > vixsomnis
> > > >
> > >
> > > Switching to us keymap makes me the same :/ it doesn't works
> > >
> > > I was using es layout before
> >
> > I may have been mistaken about scancodes vs keycodes (see
> > https://wiki.archlinux.org/index.php/Extra_keyboard_keys#Scancodes).
> >
> > Try this in a virtual terminal (ttyX, not xterm, gnome-terminal, etc):
> >
> >     $  sudo showkeys --scancodes
> >
> > --
> > vixsomnis
> >
> 
> Nope. :S Again have the same code.
> 
> 0x2a when pressing, 0xaa when release.

Ah, sorry. That's the extent of my knowledge. It might be a kernel bug,
so you can submit a bug report (or try out the latest kernel in the
testing repo).

Another option is trying an operating system with a different kernel,
say freebsd. If you still have a problem, it's the fault of the keyboard
(although this is unlikely since Windows sees it fine).

-- 
vixsomnis


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux