Re: new powerbook touchpad

2005-03-30 Thread Johannes Berg
On Wed, 2005-03-30 at 17:10 +0200, Antonio-M. Corbi Bellot wrote: > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=05ac ProdID=030a Rev= 0.06 > S: Manufacturer=Apple Computer > S: Product=Apple Inter

Re: new powerbook touchpad

2005-03-30 Thread Antonio-M. Corbi Bellot
El mié, 30-03-2005 a las 16:38 +0200, Johannes Berg escribió: > On Wed, 2005-03-30 at 16:31 +0200, Antonio-M. Corbi Bellot wrote: > No need, udev should be fine. The driver doesn't recognize your trackpad > apparently. Check /var/log/kern.log, it should say: > Mar 30 16:38:23 localhost kernel: >

Re: new powerbook touchpad

2005-03-30 Thread Johannes Berg
On Wed, 2005-03-30 at 16:31 +0200, Antonio-M. Corbi Bellot wrote: > I'm trying the kernel driver in a post-feb'05 pbook 12" and I'm not > having luck with the trackpad. > > I'm using udev+2.6.11.6 (ubuntu-hoary), after compiling the driver I can > insmod it but nothing else happens...no /dev/appl

Re: new powerbook touchpad

2005-03-30 Thread Antonio-M. Corbi Bellot
El mar, 29-03-2005 a las 17:53 +0200, Johannes Berg escribió: > On Tue, 2005-03-29 at 17:44 +0200, Marco Vignati wrote: > > Great! > > my trackpad now works, thanks johannes! > > welcome :) I'm trying the kernel driver in a post-feb'05 pbook 12" and I'm not having luck with the trackpad. I'm usi

Re: new powerbook touchpad

2005-03-29 Thread Johannes Berg
On Tue, 2005-03-29 at 23:56 +0100, Ben Hill wrote: > I'd like to take some time and look at it - it looks very promising! Go ahead - if you have any questions feel free to ask. You might want to replace my exponential smoothing by something more advanced first -- maybe some denoising of FFT even.

Re: new powerbook touchpad

2005-03-29 Thread Ben Hill
On Wed, 2005-03-30 at 00:48 +0200, Johannes Berg wrote: > On Wed, 2005-03-30 at 08:42 +1000, Benjamin Herrenschmidt wrote: > > > > A very basic and "touchy" driver is done. The coordinates of the code > > > are on my PowerBook page: > > > http://johannes.sipsolutions.net/PowerBook/touchpad/driver

Re: new powerbook touchpad

2005-03-29 Thread Johannes Berg
On Wed, 2005-03-30 at 08:42 +1000, Benjamin Herrenschmidt wrote: > > A very basic and "touchy" driver is done. The coordinates of the code > > are on my PowerBook page: > > http://johannes.sipsolutions.net/PowerBook/touchpad/driver > > I think it should ultimately be entirely a kernel driver thou

Re: new powerbook touchpad

2005-03-29 Thread Benjamin Herrenschmidt
On Tue, 2005-03-29 at 15:57 +0200, Johannes Berg wrote: > On Tue, 2005-03-29 at 08:47 +0100, Ben Hill wrote: > > > Great news! :-) > > A very basic and "touchy" driver is done. The coordinates of the code > are on my PowerBook page: > http://johannes.sipsolutions.net/PowerBook/touchpad/driver I

Re: new powerbook touchpad

2005-03-29 Thread Johannes Berg
On Tue, 2005-03-29 at 17:44 +0200, Marco Vignati wrote: > Great! > my trackpad now works, thanks johannes! welcome :) > I only had one problem: > I have to use udev to get the device > appearing in /dev. Without it I couldn't find it in the dev tree. > Could it depend on my kernel configuration?

Re: new powerbook touchpad

2005-03-29 Thread Marco Vignati
Great! my trackpad now works, thanks johannes! I only had one problem: I have to use udev to get the device appearing in /dev. Without it I couldn't find it in the dev tree. Could it depend on my kernel configuration? Regards Marco On Tue, 29 Mar 2005 16:36:18 +0200, Johannes Berg <[EMAIL PROT

Re: new powerbook touchpad

2005-03-29 Thread Johannes Berg
On Tue, 2005-03-29 at 16:32 +0200, Marco Vignati wrote: > after making I found the appletrackpad.ko module > but not the userspace binary driver. I searched in the whole tree > but nothing... Oh. Damn. I forgot to mirror my tla archive to my server, run tla update and make clean/make. johannes

Re: new powerbook touchpad

2005-03-29 Thread Marco Vignati
Hi johannes, after making I found the appletrackpad.ko module but not the userspace binary driver. I searched in the whole tree but nothing... thanks Marco On Tue, 29 Mar 2005 15:57:44 +0200, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Tue, 2005-03-29 at 08:47 +0100, Ben Hill wrote: > > > Gre

Re: new powerbook touchpad

2005-03-29 Thread Johannes Berg
On Tue, 2005-03-29 at 08:47 +0100, Ben Hill wrote: > Great news! :-) A very basic and "touchy" driver is done. The coordinates of the code are on my PowerBook page: http://johannes.sipsolutions.net/PowerBook/touchpad/driver johannes signature.asc Description: This is a digitally signed message

Re: new powerbook touchpad

2005-03-28 Thread Ben Hill
On Mon, 2005-03-28 at 21:02 +0200, Johannes Berg wrote: > I already have the sensor data and am currently writing a small kernel > driver that will give the relevant data to userspace and inject input > events. Thanks for the pointer though, I didn't think of that. Great news! :-) -- [EMAIL PROT

Re: new powerbook touchpad

2005-03-28 Thread Benjamin Herrenschmidt
On Mon, 2005-03-28 at 21:02 +0200, Johannes Berg wrote: > On Mon, 2005-03-28 at 10:20 +1000, Benjamin Herrenschmidt wrote: > > > Probably. Have you looked at the forth OF methods ? That should give you > > the basic X/Y thing at least. > > I already have the sensor data and am currently writing a

Re: new powerbook touchpad

2005-03-28 Thread Johannes Berg
On Mon, 2005-03-28 at 10:20 +1000, Benjamin Herrenschmidt wrote: > Probably. Have you looked at the forth OF methods ? That should give you > the basic X/Y thing at least. I already have the sensor data and am currently writing a small kernel driver that will give the relevant data to userspace a

Re: new powerbook touchpad

2005-03-27 Thread Benjamin Herrenschmidt
On Sat, 2005-03-26 at 05:45 +0100, Johannes Berg wrote: > has anyone found out something yet? I am currently looking at the data > it sends via USB and so far I can't make much of it. Some levels depend > on how much area is covered by fingers or my palm or ... > > I guess most of the actual finge

Re: new powerbook touchpad

2005-03-26 Thread Johannes Berg
On Sat, 2005-03-26 at 16:58 +, David Pye wrote: > Do you intend to share it then, so other people can have a play? > > Even if it's ugly, best to share early.. Yes, I'm just in the process of writing docs on the aforementioned web-page. http://johannes.sipsolutions.net/PowerBook/touchpad Th

Re: new powerbook touchpad

2005-03-26 Thread David Pye
On Saturday 26 March 2005 16:44, Johannes Berg wrote: > Anyway, it's working here as a sort of very weird userspace driver for X > (except for finger tapping). Do you intend to share it then, so other people can have a play? Even if it's ugly, best to share early.. David > > johannes pgpxWR

Re: new powerbook touchpad

2005-03-26 Thread Johannes Berg
On Sat, 2005-03-26 at 14:52 +0100, Johannes Berg wrote: > but I have no clue how to write a usb > driver that only drives a certain /endpoint/ as opposed to a ^^ I mean interface of course. > certain /device/. Anyway, it's working

Re: new powerbook touchpad

2005-03-26 Thread Johannes Berg
On Sat, 2005-03-26 at 05:45 +0100, Johannes Berg wrote: > I guess most of the actual finger tracking is implemented in software. and I have now re-implemented it in a python program, just to let you know. The mouse button doesn't seem to be sent via the trackpad's usb interface though. Once I hav

new powerbook touchpad

2005-03-25 Thread Johannes Berg
has anyone found out something yet? I am currently looking at the data it sends via USB and so far I can't make much of it. Some levels depend on how much area is covered by fingers or my palm or ... I guess most of the actual finger tracking is implemented in software. johannes -- Johannes Berg