Re: fn key on lombard (and up) powerbooks...

2001-10-11 Thread Michael Schmitz
> > ... (register 0 would report keycodes, register 2 would hold modifier > > key states and LED states - here's the long sought after capslock > bit!). > > Aa CapsLock bit... Aaaahhh... > > Sweet. > > Now, CapsLock can become a truly viable Control key! I didn't say that. I didn't even me

Re: fn key on lombard (and up) powerbooks...

2001-10-11 Thread Gregory P. Keeney
On Wed, 2001-10-10 at 13:06, Michael Schmitz wrote: > ... (register 0 would report keycodes, register 2 would hold modifier > key states and LED states - here's the long sought after capslock bit!). Aa CapsLock bit... Aaaahhh... Sweet. Now, CapsLock can become a truly viable Control key!

Re: fn key on lombard (and up) powerbooks...

2001-10-11 Thread Michael Schmitz
On Wed, 10 Oct 2001, Josh Huber wrote: > Michael Schmitz <[EMAIL PROTECTED]> writes: > > > Which proves to be a problem - on my Lombard, the keyboard is type 1 > > not 4. Now I've used kernel 2.4.10 for testing, which version did > > you run? > > Well, I'm not sure what you mean, but my "handler"

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Michael Schmitz
> > So we need to do the same for the keyboard device as for the > > trackpad: store it's device state before sleep. We just need a way > > to locate it :-) > > Right...the fnset code uses a type value (this doesn't seem to be the > same as the handler value as seen in the kernel messages). It's

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Josh Huber
Michael Schmitz <[EMAIL PROTECTED]> writes: > So we need to do the same for the keyboard device as for the > trackpad: store it's device state before sleep. We just need a way > to locate it :-) Right...the fnset code uses a type value (this doesn't seem to be the same as the handler value as see

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Derrik Pates
On Wed, 10 Oct 2001, Josh Huber wrote: > But from reading the thread on linuxppc-dev it sounded like some of > the new ibooks (maybe the TiBook even) like to reset it on sleep/wake > cycles. I can confirm that this is (sometimes) the case (not 100% of the time). I added a few lines to my /etc/pow

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Michael Schmitz
> > Which proves to be a problem - on my Lombard, the keyboard is type 1 > > not 4. Now I've used kernel 2.4.10 for testing, which version did > > you run? > > Well, I'm not sure what you mean, but my "handler" is set to 1, I'm > not sure where the type comes into play, as I don't know that much >

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Josh Huber
Michael Schmitz <[EMAIL PROTECTED]> writes: > Which proves to be a problem - on my Lombard, the keyboard is type 1 > not 4. Now I've used kernel 2.4.10 for testing, which version did > you run? Well, I'm not sure what you mean, but my "handler" is set to 1, I'm not sure where the type comes into

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Michael Schmitz
> > > We'll have to test it on other PMU versions as well, though. > > > > Yes... > > Which proves to be a problem - on my Lombard, the keyboard is type 1 not > 4. Now I've used kernel 2.4.10 for testing, which version did you run? Forget the kernel version: my keyboard is ANSI, yours ISO perhaps.

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Michael Schmitz
> > We'll have to test it on other PMU versions as well, though. > > Yes... Which proves to be a problem - on my Lombard, the keyboard is type 1 not 4. Now I've used kernel 2.4.10 for testing, which version did you run? > > We can do it the same way as the trackpad state save/restore. I'd > > Yes

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Josh Huber
Michael Schmitz <[EMAIL PROTECTED]> writes: > We'll have to test it on other PMU versions as well, though. Yes... > We can do it the same way as the trackpad state save/restore. I'd > need a bit more information on how to detect the proper keyboard > version this tool can be used on (I assume th

Re: fn key on lombard (and up) powerbooks...

2001-10-10 Thread Michael Schmitz
> I modified the attached version because I think the web archiving > system turned bit shifts << and >> into < and >. (odd!), also I added > a define for my PMU version (the lombard). > > It seems to work fine on my powerbook, which is great. We'll have to test it on other PMU versions as well, t

Re: fn key on lombard (and up) powerbooks...

2001-10-09 Thread Colin Walters
Rogério Brito <[EMAIL PROTECTED]> writes: > BTW, since n is an integer in that program, the format string of %ld > is incorrect to deal with it and the correct fix is not to use a > type cast, but to remove the l of the format string. Yes, I made a mistake on one of the format fixes. I did rem

Re: fn key on lombard (and up) powerbooks...

2001-10-09 Thread Rogério Brito
On Oct 09 2001, Colin Walters wrote: > Josh Huber <[EMAIL PROTECTED]> writes: > > > It seems to work fine on my powerbook, which is great. > > It works fine for me too on my TiBook. It would work fine if I had more money to purchase one of these cool toys. :-) > > So, my real qu

Re: fn key on lombard (and up) powerbooks...

2001-10-09 Thread Colin Walters
Josh Huber <[EMAIL PROTECTED]> writes: > It seems to work fine on my powerbook, which is great. It works fine for me too on my TiBook. > So, my real question is this...how should this be integrated with > pmud-utils/pmud. (I think it should somehow be put in Debian) I think it should be integra