[arch-general] Archlinux, kernel 4.x , VMware Workstation 11

2015-06-01 Thread Mihamina Rakotomandimby

Hi all,

I'm heavily using VMware workstation 11 and 
https://wiki.archlinux.org/index.php/VMware states about
https://wiki.archlinux.org/index.php/VMware#3.19_kernels_and_up kernel 
3.19 and up.


When upgrading my system, I'm prompted to upgrade to 4.x kernels
Is the provided patch (http://pastie.org/pastes/9934018/download) 
working for 4.x kernels ?


Thank you.

Note: I did not use https://aur.archlinux.org/packages/vmware-patch/


[arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
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


lsusb-v2
Description: Binary data


[arch-general] :D

2015-06-01 Thread Ralf Mardorf
This adds Pacman to the progression thingy
([##]):

$ cat /etc/pacman.conf
[snip]
# Misc options
[snip]
Color
ILoveCandy
[snip]

Get insulted if you mistype:

$ sudo cat /etc/sudoers
[sudo] password for rocketmouse: 
You type like i drive.
[sudo] password for rocketmouse: 
[snip]
Defaults insults
[snip]


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

 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 vixsom...@fastmail.com
  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!


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

 On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
  2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
   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 vixsom...@fastmail.com
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


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Tue, Jun 2, 2015, at 12:01 AM, Facundo Curti wrote:
 2015-06-02 0:56 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
   2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
 2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

  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 vixsom...@fastmail.com
   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


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:38 PM, Christian Demsar wrote:
 On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
  2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
   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 vixsom...@fastmail.com
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

This probably won't work, since I think X overrides this, but it's worth
a shot. It doesn't normally override gnome (my DE) when I set it to
dvorak, for instance.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
2015-06-02 1:07 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

 On Tue, Jun 2, 2015, at 12:01 AM, Facundo Curti wrote:
  2015-06-02 0:56 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
   On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
   
 On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
  2015-06-02 0:10 GMT-03:00 Christian Demsar 
 vixsom...@fastmail.com:
 
   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 
 vixsom...@fastmail.com
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


No problem men! Thank you for helping me!

I will try with a ubuntu livecd, changing the kernel, and if not, I will
send a bug report.

Thank you men!


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
2015-06-02 0:56 GMT-03:00 Christian Demsar vixsom...@fastmail.com:

 On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
  2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
   On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
   
 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 vixsom...@fastmail.com
  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.


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
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


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Facundo Curti
Distros/computer, I didn't. But in windows it works fine. :/
El 01/06/2015 22:55, Christian Demsar vixsom...@fastmail.com 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



Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
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 vixsom...@fastmail.com
 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


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
 2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  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 vixsom...@fastmail.com
   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


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
 2015-06-02 0:38 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
 
  On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
   2015-06-02 0:10 GMT-03:00 Christian Demsar vixsom...@fastmail.com:
  
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 vixsom...@fastmail.com
 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