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

Bug#367149: kbd-chooser: [powerpc] does not detect ADB keyboards



On Mon, May 15, 2006 at 03:26:40PM +0200, Frans Pop wrote:
> On Monday 15 May 2006 14:36, Sven Luther wrote:
> > I am not 100% sure, bvut i remember that the 2.6 kernels translate all
> > kind of mac keyboards to the same thing. As such, there is no ADB
> > keyboard needed anymore, as the kernel exports it as a normal keyboard
> > to the userland (or something such, i am no expert in this, CCing
> > debian-powerpc).
> 
> Agree, but you still need some kind of way (in the current kbd-chooser 
> structure anyway) to detect that there _is_ a keyboard and that currently 
> does not happen for ADB keyboards. This breaks the general structure of 
> kbd-chooser.

Ah, indeed. I will try later today or tomorrow to boot my oldworld box, and
see what kind of information i can get about the keyboard.

I doubt that oldworld adb keyboards will become udev friendly anytime soon
though.

> And if you'd like to select a special keymap, you'd also need to identify 
> its type, unless you can do the distinction by (sub)arch.

You probably can, adb keyboards are only used on oldworld machines, and those
are easily enough to detect from /proc/cpuinfo. We even do so to get the
oldworld subarch (pmac_oldworld even).

Friendly,

Sven Luther





Reply to: