Re: [Touchd-devel] Multitouch on MacBook Pro4,1
Status: Alpha
Brought to you by:
tannewt
From: Scott S. <sco...@gm...> - 2008-04-21 22:11:05
|
Christoph Pittracher wrote: > Hello tannewt, > I got a brand new MacBook Pro4,1 last week and installed Ubuntu hardy on > it. Now I'm playing around with your multitouch stuff. > > touchd doesn't work for me, but I didn't take a deeper look in it. Keyboard > is mostly working but no mouse movement. One thing I recognized is that I > wasn't able to generate the function events of the FXX Keys (regardless of > pressing Fn or not I always got the FXX keysyms), with the touchd daemon I > always get the special functions, but again, pressing Fn does not change > anything. > I'm having the same problem. I upgraded to Hardy last night and the mouse stuff doesn't work. The Fn keys are doing that by design. I decided to have the special macbook keys emit corresponding events rather than the F# event. You can switch this by changing the TRUEs on lines 270-275 in multitouch.c which begin with key_down to FALSE. This may be a kernel upgrade issue actually. > I took a look at touchview.py and it works. One thing I had to change was > the USB product id. My keyboard/touchpad has ID 05ac:0231. > I think there's a small bug in usbreader.py line 61. You detachKernelDriver > id 2 but afterwards claimInterface 1. I had to change line 61 to > h.detachKernelDriver(1). > Another person had the 0230 hardware but they said it wasn't working. The bug in usbreader may be a result of the Hardy upgrade. I have not run any of the tools on Hardy. > So far I get the GTK window and see my fingers on the touchpad :-) > Looks like it works fine. > > How's development going on? Did you have time to make some improvements? > Any roadmap? > I really want to get this device working in Linux perfectly. Where should I > start to help you improving this? > Are you aware if there are any major differences between the multitouch > with usb id 0230 and id 0231? > Development is going decently. You can see the progress in svn of sourceforge. Since alpha I've improved the click detection and switch to openusb which is threadsafe as opposed to libusb. It'd be great to get it work in Hardy. :-D I think one of the next things that needs to be done is to hook up a configuration interface through touchd.py. That would involve expanding the dbus stuff. I have not heard of any differences between 0230 and 0231 but would love to hear if there are any. > best regards and thanks for your hard work on reverse engineering this > stuff, > Christop I've forwarded this to the touchd-devel mailing list too. Thanks, Scott |