Skip to contentSkip to conversation

TiBook trackpad in benh's kernel?

DISCUSSION Michel Lanners 5 participants 8 messages Apr 16, 2001 – Apr 18, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,

Anyone else seen this? I can't get the trackpad on my TiBook working with benh's latest tres (rsync'ed a few days ago).

I tried adding a few printk's, but there seem to never be any data coming from the trackpad. ALso, the 'trackpad' tool claims there is no trackpad.

Ideas? I do think it is detected on bootup:

adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
event1: Event device for input1
keybdev.c: Adding keyboard: input1
input1: ADB HID on ID 2:2.c4
event2: Event device for input2
input2: ADB HID on ID 7:7.1f
ADB mouse at 3, handler set to 4 (trackpad)
event3: Event device for input3
mouse1: PS/2 mouse device for input3
input3: ADB HID on ID 3:3.01
adb: finished probe task...

Thanks

Michel

-------------------------------------------------------------------------

Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [email protected]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines · Michel Lanners

Hi all,

Anyone else seen this? I can't get the trackpad on my TiBook working with benh's latest tres (rsync'ed a few days ago).

Can it be that the old "booting cmode 32 kills trackpad" bug is still alive and bit you? Did you try booting using cmode:16 or cmode:8 ?

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw

On 17 Apr, this message from Martin Costabel echoed through cyberspace:

Quoted 9 lines
Quoted 5 lines · Michel Lanners

Hi all,

Anyone else seen this? I can't get the trackpad on my TiBook working with benh's latest tres (rsync'ed a few days ago).

Can it be that the old "booting cmode 32 kills trackpad" bug is still alive and bit you? Did you try booting using cmode:16 or cmode:8 ?

Yeah, exactly right. cmode:32 and cmode:16 kill the trackpad; cmode:8 works OK. Plus, I am able to run XF4 in 32 bpp, even with cmode:8 set.

Go figure...

Cheers

Michel

-------------------------------------------------------------------------

Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [email protected]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 3 lines · Michel Lanners

Plus, I am able to run XF4 in 32 bpp, even with cmode:8 set.

Go figure...

What did you expect? :)

--
Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast \ XFree86 and DRI project member

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 6 lines
Quoted 4 lines

Plus, I am able to run XF4 in 32 bpp, even with cmode:8 set.

Go figure...

What did you expect? :)

Yeah, that one is really weird ;)

I noticed that lately, Apple changed Darwin trackpad code so that instead of reading the 8 bytes of the config register, changing them, and writing them back, it always write hard coded default values (doesn't read).

So I guess there might be a problem when reading the ADB datas from the trackpad (timing issue) and rewriting those bogus datas cause the trackpad to die.

I'll do some more experiments asap.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw
In reply to Michel Lanners
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · Michel Lanners

m> Anyone else seen this? I can't get the trackpad on my TiBook working m> with benh's latest tres (rsync'ed a few days ago).

Seems to work for me. I'm using his 2.4.4-pre1 tree rsync'ed
on April 12. I am using cmode:32, too.

Gregorio Gervasio, Jr.
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines · On Tue, 17 Apr 2001 14:49:47 -0700, [email protected] (Gregorio Gervasio Jr.)…

On Mon, 16 Apr 2001 23:21:50 +0200 (CEST), Michel Lanners <[email protected]> said:

m> Anyone else seen this? I can't get the trackpad on my TiBook working m> with benh's latest tres (rsync'ed a few days ago).

g> Seems to work for me. I'm using his 2.4.4-pre1 tree rsync'ed
g> on April 12. I am using cmode:32, too.

Oops, sorry, I lied. I boot in cmode:8 (but run X in 32bpp).

Gregorio Gervasio, Jr.
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#7 lore raw

On 17 Apr, this message from Gregorio Gervasio Jr. echoed through cyberspace:

Quoted 7 lines

m> Anyone else seen this? I can't get the trackpad on my TiBook working m> with benh's latest tres (rsync'ed a few days ago).

g> Seems to work for me. I'm using his 2.4.4-pre1 tree rsync'ed
g> on April 12. I am using cmode:32, too.

Oops, sorry, I lied. I boot in cmode:8 (but run X in 32bpp).

Yeah, so do I now.

Thanks

Michel

-------------------------------------------------------------------------

Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [email protected]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/