[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2018-01-07 Thread anatoly techtonik
Ok. It is like 6 years later and 18.04 at the door. I don't use those
two keys on Ubuntu, but the scroller wheel works as expected.

The confusing part is that `/etc/default/keyboard` lists my keyboard as
`XKBMODEL="pc105"` but I've got (17 keypad + 13 navigation + 13 F/ESC
keys) = 43 plus 62 = 105 main keys. And also there are 12 helper keys
like refresh, back, etc. + 6 media keys + 2 excel/word leys + scroller,
also clickable. So there are 125 keys without scroller and 126 with.

I found that `pc105` string comes from
`/usr/share/X11/xkb/rules/xorg.lst` so I want my keyboard to present
there too so that I can select it. I also found
`/usr/share/X11/xkb/geometry` which describes 86-key keyboard
https://www.apt-browse.org/browse/debian/wheezy/main/all/xkb-
data/2.5.1-3/file/usr/share/X11/xkb/geometry/chicony and I want to add
my keyboard with all my keys there too.

But I first, I need to find some software that allows to check all my
key mappings visually.

So far I found this description of PS/2 device discovery, which could be a good 
starting point:
https://www.mattfischer.com/blog/archives/182

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-31 Thread anatoly techtonik
On Sun, Oct 30, 2011 at 1:41 PM, Martin Pitt martin.p...@ubuntu.com wrote:
 anatoly techtonik [2011-10-29 10:22 -]:
 I want to select my keyboard manually if it can not be autodetected. How can 
 I do this?

 That would be xkeyboard-config, but that wouldn't help -- That needs
 correct key codes which the keyboard already does not deliver.

What are the codes I've sent earlier then? The ones that are generated
when I press Word/Excel keys?

 I'm
 afraid there just is no way to fix this in a generic way in Ubuntu,
 you can only install a rules file locally, by creating e. g.
 /etc/udev/rules.d/99chicony.rules with

 KERNEL==event*, ENV{ID_INPUT_KEYBOARD}==1, RUN+=keymap $name 0x93
 spreadsheet 0x94 wordprocessor

If I have to add this manually then what is the meaning of using
xkeyboard-config?

 Think of it as a device specific driver. :) (That's how Windows gets
 along with these quirky devices)

But how does Windows detect my keyboard and chooses this driver if
PS/2 interface doesn't tell which keyboard is it?
--
anatoly t.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-31 Thread Martin Pitt
Hello,

anatoly techtonik [2011-10-31 10:46 -]:
 What are the codes I've sent earlier then? The ones that are generated
 when I press Word/Excel keys?

They are in the udev rule I sent you.

 If I have to add this manually then what is the meaning of using
 xkeyboard-config?

Nothing. I was just pointing out that xkeyboard-config has the layouts
you can set in the control center. But as I said it won't help you.
Please just ignore this part then, if it was confusing.

  Think of it as a device specific driver. :) (That's how Windows gets
  along with these quirky devices)
 
 But how does Windows detect my keyboard and chooses this driver if
 PS/2 interface doesn't tell which keyboard is it?

There might be some magic commands you can send to the keyboard to
identify it, but I suppose this keyboard came with a driver CD or so
which you need to install?

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-31 Thread anatoly techtonik
On Mon, Oct 31, 2011 at 4:14 PM, Martin Pitt martin.p...@ubuntu.com wrote:
 Hello,

 anatoly techtonik [2011-10-31 10:46 -]:
 What are the codes I've sent earlier then? The ones that are generated
 when I press Word/Excel keys?

 They are in the udev rule I sent you.

I understand that. The question is - why do you think they are not
correct?

 If I have to add this manually then what is the meaning of using
 xkeyboard-config?

 Nothing. I was just pointing out that xkeyboard-config has the layouts
 you can set in the control center. But as I said it won't help you.
 Please just ignore this part then, if it was confusing.

It is not confusing, but incomplete. The app I was speaking about was
able to select keyboard type, not language layout. I can't see this
app in Oneric though.

  Think of it as a device specific driver. :) (That's how Windows gets
  along with these quirky devices)

 But how does Windows detect my keyboard and chooses this driver if
 PS/2 interface doesn't tell which keyboard is it?

 There might be some magic commands you can send to the keyboard to
 identify it, but I suppose this keyboard came with a driver CD or so
 which you need to install?

I can't remember installing any drivers for this keyboard on Windows
and yet these keys work.
--
anatoly t.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-31 Thread Martin Pitt
anatoly techtonik [2011-10-31 14:11 -]:
 I understand that. The question is - why do you think they are not
 correct?

I never said they weren't correct. The keymap is fine, it's just not
possible to construct an udev rule to apply it, as right now it is not
possible to identify your keyboard. The keymap can certainly not be
applied to _all_ machines/keyboards out there.

 It is not confusing, but incomplete. The app I was speaking about was
 able to select keyboard type, not language layout.

Yes, so was I. That's all in gnome-control-center.

 I can't remember installing any drivers for this keyboard on Windows
 and yet these keys work.

OK, then I don't know how this works.

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-31 Thread anatoly techtonik
On Mon, Oct 31, 2011 at 5:48 PM, Martin Pitt martin.p...@ubuntu.com wrote:
 anatoly techtonik [2011-10-31 14:11 -]:
 I understand that. The question is - why do you think they are not
 correct?

 I never said they weren't correct.

---cut---
On Sun, Oct 30, 2011 at 1:41 PM, Martin Pitt martin.p...@ubuntu.com wrote:
 anatoly techtonik [2011-10-29 10:22 -]:
 I want to select my keyboard manually if it can not be autodetected. How can 
 I do this?

 That would be xkeyboard-config, but that wouldn't help -- That needs
 correct key codes which the keyboard already does not deliver.
---cut---

According to this text, the codes delivered by keyboard are not
correct. I am not an Englishman, but I think that reads pretty clear.
=)

The keymap is fine, it's just not
 possible to construct an udev rule to apply it, as right now it is not
 possible to identify your keyboard. The keymap can certainly not be
 applied to _all_ machines/keyboards out there.

I understand that. That's why I asked about the way to manually select
my keyboard.

 It is not confusing, but incomplete. The app I was speaking about was
 able to select keyboard type, not language layout.

 Yes, so was I. That's all in gnome-control-center.

I can't find the entry in Oneric anymore. =(

 I can't remember installing any drivers for this keyboard on Windows
 and yet these keys work.

 OK, then I don't know how this works.

I'll try check these two specific buttons once I get to Windows box.
-- 
anatoly t.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-30 Thread Martin Pitt
anatoly techtonik [2011-10-29 10:22 -]:
 I want to select my keyboard manually if it can not be autodetected. How can 
 I do this?

That would be xkeyboard-config, but that wouldn't help -- That needs
correct key codes which the keyboard already does not deliver. I'm
afraid there just is no way to fix this in a generic way in Ubuntu,
you can only install a rules file locally, by creating e. g.
/etc/udev/rules.d/99chicony.rules with

KERNEL==event*, ENV{ID_INPUT_KEYBOARD}==1, RUN+=keymap $name 0x93
spreadsheet 0x94 wordprocessor

Think of it as a device specific driver. :) (That's how Windows gets
along with these quirky devices)

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-29 Thread anatoly techtonik
It is PS/2 version. How do you search UdevDB for keyboards?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-29 Thread anatoly techtonik
Can it be this block from UdevDB.txt?


P: /devices/platform/i8042/serio0/input/input2
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input2
E: PRODUCT=11/1/1/ab41
E: NAME=AT Translated Set 2 keyboard
E: PHYS=isa0060/serio0/input0
E: PROP=0
E: EV=120013
E: KEY=4 200 3803078 f800d001 fedf ffef  fffe
E: MSC=10
E: LED=7
E: 
MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
E: SUBSYSTEM=input

P: /devices/platform/i8042/serio0/input/input2/event2
N: input/event2
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: XKBMODEL=pc105
E: XKBLAYOUT=us,ru
E: XKBVARIANT=,
E: XKBOPTIONS=grp:alt_shift_toggle,grp_led:scroll
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-0-event-kbd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-29 Thread Martin Pitt
status wontfix

anatoly techtonik [2011-10-29  8:52 -]:
 It is PS/2 version. How do you search UdevDB for keyboards?

Ah, that explains it.

 Can it be this block from UdevDB.txt?
 
 P: /devices/platform/i8042/serio0/input/input2
 E: UDEV_LOG=3
 E: DEVPATH=/devices/platform/i8042/serio0/input/input2
 E: PRODUCT=11/1/1/ab41
 E: NAME=AT Translated Set 2 keyboard
 E: PHYS=isa0060/serio0/input0
 E: PROP=0
 E: EV=120013
 E: KEY=4 200 3803078 f800d001 fedf ffef  fffe
 E: MSC=10
 E: LED=7
 E: 
 MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
 E: SUBSYSTEM=input

Yes, that's the only remaining candidate. I suppose it's the only
keyboard on that machine.

Unfortunately there is no way at all to identify a separate PS/2
keyboard. With USB or Bluetooth that's possible because these provide
a vendor and product ID, and for laptop builtin keyboards we can query
the system vendor/product. But neither can apply to a PS/2 keyboard.

So there is no way to fix this for this keyboard type, I'm afraid. If
there is also an USB connector, you can use this, and re-supply the
information with apport-collect 838760.

Thanks,

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


** Changed in: udev (Ubuntu)
   Status: Incomplete = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-29 Thread anatoly techtonik
There was a menu Keyboard Preferences - Layouts - Keyboard model but I 
can't find it in 11.10
Where did it go?
I want to select my keyboard manually if it can not be autodetected. How can I 
do this?

BTW, I can't change the status of this report - should I file a new one?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-10-26 Thread Martin Pitt
According to your lsusb output this does not seem to be an USB keyboard,
but according to http://www.chicony.de/html/0350.html it seems to be an
external one. Did you connect it through PS/2? But in the UdevDB
attachment I don't even see any input device which could be this
keyboard. Did you actually have it connected when you reported this bug?

** Changed in: udev (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 838760] Re: Support Word/Excel keys on Chicony KB-0350 keyboard

2011-09-01 Thread anatoly techtonik
** Attachment added: keymap
   
https://bugs.launchpad.net/bugs/838760/+attachment/2339676/+files/chicony-kb-0350

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/838760

Title:
  Support Word/Excel keys on Chicony KB-0350 keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/838760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs