On Fri, 17 Jun 2011, Robert Millan wrote:
Package: kfreebsd-image-9.0-0-amd64
Version: 9.0~svn223109-0.1
Severity: grave
2011/6/17 Petr Salinger <petr.salin...@seznam.cz>:
$ sudo kbdcontrol -l us.iso.kbd
kbdcontrol: setting keymap: Inappropriate ioctl for device
I guess this means we need to patch a compatibility kludge in
either freebsd-utils 8.2 or kfreebsd-9. Which package should
this bug be filed on?
It seems be due to this:
http://svnweb.freebsd.org/base?view=revision&revision=197330
It can be solved when 9.x ABI is stable in freebsd-utils 9.0
by conditional paths of code.
I would keep it for now under kfreebsd-9.
Upstream could do it properly, without ABI breaking, i.e. by
#define GIO_KEYMAP_OLD _IOR('k', 6, keymap_t)
#define PIO_KEYMAP_OLD _IOW('k', 7, keymap_t)
...
#define GIO_KEYMAP _IO('k', 16)
#define PIO_KEYMAP _IO('k', 17)
Thanks Petr. Let's make a bug out of this.
Hmm, don't see a bug# to reply to (but may have missed it); it seems that
upstream had decided that ABI breaking was a bad thing, proposing the
patch linked here:
http://permalink.gmane.org/gmane.os.freebsd.current/120133
but, it was never committed.
I have sent a reminder; we shall see what happens.
-Ben Kaduk