Port-macppc archive

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

Re: NetBSD does not recognize USB keyboard



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 31, 2008, at 20:18, Frank J. R. Hanstick wrote:

I think the place to start is to see how the configuration can be extracted from the device tree. A clue to that would be how the boot process transfers the open source device tree to the requesting OS. I will work with you as best I can in accomplishing this. You will just have to remember that FORTH and open firmware are somewhat new to me. I will also need to know what modules of macppc are involved of that is necessary.

It's much less complicated than you probably think. The problem is that on some Macs the keyboard devalias doesn't point to an actual device but /ps{eu|ue}do-hid/keyboard and in those cases we can only guess what the keyboard actually is. On yours and mine it's obvious - there is no ADB support present so it must be USB. On others it isn't quite as easy, for instance almost(?) all powerpc-based Apple laptops have ADB keyboards built in but USB keyboards may be present, in this case we must default to ADB even though the keyboard devalias points to /psuedo-hid/keyboard ( yes, Apple's typo )

I'll hopefully have time to hack up a workaround in the near future - do you have a way to netboot your G4 or do you have room for an APPLE_UFS partition in order to boot a kernel I'd send you? ( you can install pretty much entirely from MacOS X, not sure if MAKEDEV would work properly though )

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSEH9sspnzkX8Yg2nAQJOUwgAlUEz2hmGyYY9bGBV5rUYc/p5VX/a2l/f
OyakdqqmW29u70d3tUEBuDi6xXlg/cSsUv2zrghy/le9OE3GCydjwZm1pMF6gfXF
vwpfPagrYKPBxVaBxNK9zCI3CExAN7Zrj4+aRwLMmQ6oETv4AyWR44upfhPuK1XV
zJZ6NHfaMAQCJ8xD01XpChmux01z7mDr1nnWZjv4igQFngpHjg6YSeMECXte1Xxg
N8zgifilsQfEjF5CbUmyu92xa5jIAlbyJ7L+ZJmfoVjPms1Eo97zV8dMUEMVibrd
gSGFzc15lxyiNdEQLmG8xXJOTyYmuvZQ0FdpwSfO78tsSjf9mum5rg==
=Hp+a
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index