Bug#367149: kbd-chooser: [powerpc] does not detect ADB keyboards
On Mon, May 15, 2006 at 05:28:08PM +0200, Frans Pop wrote:
> On Monday 15 May 2006 16:28, Sven Luther wrote:
> > 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).
> Huh? The machine I tested on was a Powerbook G4 laptop. That's not
> oldworld, right? The attachment in  was taken from that machine...
Indeed not. I don't remember, but it is well possible that at least some
newworld laptops still used adb keyboard internally, while desktop systems all
moved to usb ones.
It should be possible to detect the right thing via some /proc/device-tree
parsing. Once we know exactly the situation, i would voluntarily provide the
code for that, as we did already for the airport detecting back in the days ...