Port-macppc archive

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

Re: -current on PowerBook G4 667 (TiBook)



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

Hello,

On Jul 14, 2012, at 5:05 AM, John D. Baker wrote:

On Tue, 10 Jul 2012, John D. Baker wrote:

That's what I was hoping for.  I tried every Fn-Fkey combination but
it sent brightness/volume controls regardless of whether or not I held
the Fn key down.  Maybe I wasn't paying close enough attention.

I guess I wasn't paying close enough attention.  Fn-Fkey does produce
some sort of function string.  Cmd-Fn-F[1-5] does definitely switch
screens.

Ok.

And if you get things in the wrong order:

the key combination "Fn-LCmd" is treated as though the power switch
was pressed.

I'm guesing powerd intercepts this and begins a normal shutdown and
poweroff, but it never completes.  At this point, pressing Fn-LCmd
again elicits a kernel message:

 adbkbd0: power switch pressed, shutting down.

Hmm, so it produces the same ADB sequence as the power button. I wonder if there's a way to tell the two apart :/

(or something like that--it happens too quick) and the machine immediately
powers off.

Then powerd didn't get it, otherwise it would do a more orderly ( and therefore slower ) shutdown.

Is there an 'EDID' property?

There is an EDID1 property.  See:

 http://bobdbob.com/~jdbaker/nbsd-debug/TiBook-ofctl-p.txt

Another curious thing is that "X -configure" says "nothing to
configure" and exits without even a bare-bones xorg.conf.  See:

 http://bobdbob.com/~jdbaker/nbsd-debug/TiBook-X-config-fail.txt

X runs well enough with its built-in configuration, but throws some
curious warnings about being unable to map IO space, it can't enable
DRM, and a couple of expected modules are not present:

 http://bobdbob.com/~jdbaker/nbsd-debug/TiBook-builtin-defs-Xorg.0.log

The IO space message is harmless during probing, later on when the actual driver takes over it works.
DRM won't work on non-x86.
Finally, your panel doesn't seem to produce any DDC2 output ( the one in my iBook G4 does for example ) so I guess I'll add a similar hack as I did for the r128 driver - try to get an EDID block from the kernel, which in turn obtains it from OF.

By default F11 and F12 act as middle and right button. You can change
that using sysctl, see adbkbd(4)

Indeed they do. Since F11 has no extra hardware function the Fn key is
not needed.  Since F12 is normally the optical-drive eject button, one
must use Fn-F12 to get the right-button event.

I mapped the enter key on the right of the right Command key to the right mouse button - close enough to the pad and it's not like that key would be used for anything else anyway.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEVAwUBUAFllspnzkX8Yg2nAQIbsAgAhhjKmQCqzruSaG7Se+ZUnpLcVnNW+0d5
3DjPH08lbpI22j3eLJEimn4ocSRYAnsH+KIsi+QYI+48J7bw4RGTFDrQT7wozrIY
9KUOXUQ5WS651OZ/v0Q/wzQx3EVpOI1TTFo0bvL9eOIwgiN9nnE4+G6+SSfpAqrC
doHma9WP8dMBVA5BZoCq7ie34rH/Zf7AiP7dwX/C09IpC0LeDOk8vHUP0HrZ2lq4
dL+DPDOLqiQvSrnP3Ara7uPZEDmPEbxxUIoh4Xur03iggfJkITrKlaODmJXVoXOH
iVjEtBVYpwTUsVQ9MaFlh1HrBS7/VBRL7XvUvF1Mjo5p6d3PkYLShA==
=sFOp
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index