Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-13 Thread Luca Bigliardi
On Sat, Aug 13, 2005 at 10:09 PM, Matthias Grimm wrote: > Patch is in CVS. Thank's a lot! luca -- Beware of programmers who carry screwdrivers. -- Leonard Brandwein http://shammash.homelinux.org/ - http://www.artha.org/shammash/ -- To UNSUBSCRIBE, email to [EMAIL P

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-13 Thread Luca Bigliardi
On Sat, Aug 13, 2005 at 10:25 PM, Matthias Grimm wrote: > "mouse" (according the pdf document you posted to the list). To > differentiate the apple and the synaptics trackpad the first four bytes > would be sufficient. Why do you check for the device class too? Because it's different for trackpad

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-13 Thread Matthias Grimm
On Sun, 7 Aug 2005 19:21:53 +0200 Luca Bigliardi - shammash <[EMAIL PROTECTED]> wrote: > below you can find a little patch for pbbuttonsd that partially solve > the incompatibility with mouses (in absolute mode) > managed by synaptics x module. > > With this patch you don't need anymore to change

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-13 Thread Matthias Grimm
On Tue, 9 Aug 2005 22:22:16 +0200 Matthias Grimm <[EMAIL PROTECTED]> wrote: > On Tue, 09 Aug 2005 20:35:14 +0200 > Johannes Berg <[EMAIL PROTECTED]> wrote: > > Sourceforge CVS is down for maintenance till Tuesday morning (CET) so I > can't upload the patched version. Please checkout CVS late afte

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-10 Thread Luca Bigliardi - shammash
On Tue, Aug 09, 2005 at 08:35 PM, Johannes Berg wrote: > On Tue, 2005-08-09 at 19:33 +0200, Matthias Grimm wrote: > > > Have a look at event_handler() in input_manager.c. You will see that > > only keyboard events and relative mouse events are processed. Any > > other event will be ignored. > >

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-10 Thread Luca Bigliardi - shammash
On Tue, Aug 09, 2005 at 10:58 PM, Johannes Berg wrote: > > But if reading /dev/adb couldn't find the device, what would Luca's patch > > change? > > Hmmm. Maybe Luca doesn't have a new model with USB actually, and I just > thought so. Yes, my previous (kernel) patch was for touchpads on the adb

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Johannes Berg
On Tue, 2005-08-09 at 22:25 +0200, Matthias Grimm wrote: > But if reading /dev/adb couldn't find the device, what would Luca's patch > change? Hmmm. Maybe Luca doesn't have a new model with USB actually, and I just thought so. johannes signature.asc Description: This is a digitally signed mess

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Matthias Grimm
On Tue, 09 Aug 2005 22:03:38 +0200 Johannes Berg <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-09 at 21:42 +0200, Matthias Grimm wrote: > > > Yes, I will do it. What does the appletouch device report on /dev/adb? > > Does lsadb report anything about the touchpad? > > Nothing, it isn't an adb devi

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Matthias Grimm
On Tue, 09 Aug 2005 20:35:14 +0200 Johannes Berg <[EMAIL PROTECTED]> wrote: Sourceforge CVS is down for maintenance till Tuesday morning (CET) so I can't upload the patched version. Please checkout CVS late afternoon on Tuesday (CET). I think I got it up till then. This includes the patch from Luc

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Johannes Berg
On Tue, 2005-08-09 at 21:42 +0200, Matthias Grimm wrote: > Yes, I will do it. What does the appletouch device report on /dev/adb? > Does lsadb report anything about the touchpad? Nothing, it isn't an adb device at all, it's usb. johannes signature.asc Description: This is a digitally signed me

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Matthias Grimm
On Tue, 09 Aug 2005 20:35:14 +0200 Johannes Berg <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-09 at 19:33 +0200, Matthias Grimm wrote: > > > Have a look at event_handler() in input_manager.c. You will see that > > only keyboard events and relative mouse events are processed. Any > > other event w

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Johannes Berg
On Tue, 2005-08-09 at 19:33 +0200, Matthias Grimm wrote: > Have a look at event_handler() in input_manager.c. You will see that > only keyboard events and relative mouse events are processed. Any > other event will be ignored. That's obviously the problem. For synaptics compatibility, the appleto

Re: pbbuttonsd, synaptics and sleep on lid close

2005-08-09 Thread Matthias Grimm
On Sun, 7 Aug 2005 19:21:53 +0200 Luca Bigliardi - shammash <[EMAIL PROTECTED]> wrote: > > Hi, > below you can find a little patch for pbbuttonsd that partially solve > the incompatibility with mouses (in absolute mode) > managed by synaptics x module. > > With this patch you don't need anymore

pbbuttonsd, synaptics and sleep on lid close

2005-08-07 Thread Luca Bigliardi - shammash
Hi, below you can find a little patch for pbbuttonsd that partially solve the incompatibility with mouses (in absolute mode) managed by synaptics x module. With this patch you don't need anymore to change "/dev/adb" in "/dev/null" in pbbuttonsd.conf Now i'll try to know why mouse movements are