pbbuttons-users Mailing List for PBButtons (Page 3)
Brought to you by:
matthiasgrimm
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(3) |
Jul
(13) |
Aug
(9) |
Sep
(9) |
Oct
|
Nov
(8) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(13) |
Feb
(10) |
Mar
(4) |
Apr
(17) |
May
(20) |
Jun
(4) |
Jul
(15) |
Aug
(9) |
Sep
(15) |
Oct
(23) |
Nov
(9) |
Dec
(14) |
2006 |
Jan
(13) |
Feb
(5) |
Mar
(9) |
Apr
(6) |
May
(16) |
Jun
|
Jul
(11) |
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
(3) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
2008 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Filippo G. <fi...@es...> - 2006-07-16 16:07:40
|
On Sun, Jul 16, 2006 at 03:45:57PM +0200, Matthias Grimm wrote: >=20 > Hi, > I want to use some OF and kernel 2.6 features to improve device probing > in pbbuttonsd. Unfortunately I have only an ancient PowerBook so I need > your help to test the new routines on as many different machines as > possible. >=20 > I attached the source code of a short program. You could compile it as > follows: > $> gcc -o of_probing of_probing.c $ ./of_probing=20 Probing machine... Machine: ID =3D 62 OF: '/proc/device-tree/uni-n@f8000000/i2c@f8001000/reg' Path incomplete! One or more elements not found. LMU: No LMU found! godog@hattori:/tmp$ cat /proc/cpuinfo=20 processor : 0 cpu : 7447/7457, altivec supported clock : 998.400000MHz revision : 0.1 (pvr 8002 0101) bogomips : 47.94 timebase : 18432000 platform : PowerMac machine : PowerBook6,2 motherboard : PowerBook6,2 MacRISC3 Power Macintosh detected as : 287 (PowerBook G4) pmac flags : 0000001a L2 cache : 512K unified pmac-generation : NewWorld seems fine, powerbook 12" bought nov'03 filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: I was once walking through the forest alone. A tree fell right in front of me -- and I didn't hear it. -- Steven Wright |
From: Matthias G. <mat...@us...> - 2006-07-16 13:42:43
|
Hi, I want to use some OF and kernel 2.6 features to improve device probing in pbbuttonsd. Unfortunately I have only an ancient PowerBook so I need your help to test the new routines on as many different machines as possible. I attached the source code of a short program. You could compile it as follows: $> gcc -o of_probing of_probing.c This program does three things: 1. detecting the machine ID. Any PowerBook user can test this feature. Launch the program and check if the machine ID is correctly detected on your machine. If you don't know which ID your machine have see in $> cat /proc/device-tree/model or $> cat /proc/cpuinfo Tell me if your machine is not correctly identified. PowerBooks before the G3 Pismo will get the dummy ID "1", because Apple started his numbering system just with the Pismo. 2. detecting the LMU I2C address The program looked for the "lmu-controller" in the device tree and read the attached data to find out the I2C address. This test will only have a result, if you have a PowerBook with an ambient light sensor. Otherwise the program won't find an LMU. If your machine definitely has an ambient light sensor and the program won't find it, the device tree path might be wrong. In this case please send me the correct path or an tar archive of /proc/device-tree. 3. detecting of the /dev/i2c device to communicate with the LMU This test reads /sys to find out which i2c devices are available and which one is connected to the "uni-n" controller the LMU is attached to. Each found i2c device will then be checked for the LMU. The program lists all found i2c devices to the console and mark the device with the LMU connected. This test needs the kernel module i2c-dev to be loaded. If not already done, you could load the module with $> modprobe i2c-dev I would appreciate any feedback. Thank you and Best Regards Matthias |
From: Matthias G. <mat...@us...> - 2006-07-15 08:37:32
|
On Fri, 14 Jul 2006 10:54:35 +0200 "jean costeau" <tra...@gm...> wrote: > OK, there is news from the sleeping-front: > > I figured out that the gnome-powermanager was causing the trouble. > If I kill the gnome-powermanager process, the system is able to > sleep on closed lid. > > Any suggestion how I could keep the powermanager from gnome and let > the system sleep on closed lid? I don't know exactly because I don't use the gnome power manager, but there should be an option to configure what to do if the lid is closed. Set this option to "nothing". This might help. Best Regards Matthias |
From: jean c. <tra...@gm...> - 2006-07-14 08:54:43
|
OK, there is news from the sleeping-front: I figured out that the gnome-powermanager was causing the trouble. If I kill the gnome-powermanager process, the system is able to sleep on closed lid. Any suggestion how I could keep the powermanager from gnome and let the system sleep on closed lid? Thanks a lot Tim -------- Original-Nachricht -------- Datum: Thu, 13 Jul 2006 17:17:57 +0200 Von: jean costeau <tra...@gm...> An: pbb...@li... Betreff: Powerbook G4 - sleep on closed lid problem > Hello everyone, > first of all thanks for this great tool, all powerbook buttons worked > right out of the box of my ubuntu-6.06-installation. > > To come to the problem: My powerbook is able to sleep (the corresponding > flag is set to 1) and it works all fine using "pbbcmd sleep" and as well if > I log out (then there is the hybernate and suspend-option given on the > bottom-left). However, when I close the lid of the powerbook (using Gnome) only > the backlight is turned off but the computer does not sleep. I booted into > the Kubuntu-live-cd and there it all worked perfectly. > > Is there anything I can do about it? I read somewhere that deleting the > gnome-powermanager would work?? > > Thanks a lot in advance > Greetings > Timee > -- > > > "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > pbbuttons-users mailing list > pbb...@li... > https://lists.sourceforge.net/lists/listinfo/pbbuttons-users -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl |
From: jean c. <tra...@gm...> - 2006-07-13 15:18:07
|
Hello everyone, first of all thanks for this great tool, all powerbook buttons worked right out of the box of my ubuntu-6.06-installation. To come to the problem: My powerbook is able to sleep (the corresponding flag is set to 1) and it works all fine using "pbbcmd sleep" and as well if I log out (then there is the hybernate and suspend-option given on the bottom-left). However, when I close the lid of the powerbook (using Gnome) only the backlight is turned off but the computer does not sleep. I booted into the Kubuntu-live-cd and there it all worked perfectly. Is there anything I can do about it? I read somewhere that deleting the gnome-powermanager would work?? Thanks a lot in advance Greetings Timee -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: Magnus R. <cmr...@fo...> - 2006-05-25 19:10:13
|
Hello Matthias and Kristian. Matthias Grimm wrote: > But all this programs create a new virtual input device > and forward unused events to it, so that other programs (like > pbbuttonsd) will miss only some mouse events but not the whole device. In the synaptics sources I found that there is an option for a "Repeater" device: ---8<--- # Option "Repeater" "/dev/ps2mouse" The Option "Repeater" is at the moment for testing. ---8<--- I enabled it and /dev/ps2mouse appeared. But I can't read anything from the device with cat. Is this in any way related to the "new virtual input device" you mentioned? cu, Magnum -- Carl Magnus Rosenbaum M.A. Tel: 089 - 700 666 26 Administration - Programmierung - Weiterbildung Fax: 089 - 700 666 86 http://cmr.forestfactory.de/ Mobil: 0163 - 700 666 2 PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641 |
From: Doug M. <dou...@gm...> - 2006-05-18 19:01:56
|
On 5/18/06, Kristian Benoit <kb...@op...> wrote: --> snip <-- > > When compiling a usermode program, you must use the kernel header the > glibc is compiled against (those installed in /usr/include/linux) or you > might have problems. But you choose to switch to another distribution > which is, in my opinion, the best choice you could make. > > Kristian > > Yeah, not to get into a distribution flame war, but OpenSuse 10.1 seems a lot more polished than Fedora Core 5. Anyway, if I understand you correctly, you are saying that glibc (on my previous FC5 dist) was compiled against a different kernel version than the one I had installed and was using to compile pbbuttonsd. Makes sense, as I had recently done a system-wide automated update. Regards, Doug |
From: Kristian B. <kb...@op...> - 2006-05-18 15:26:10
|
On Wed, 2006-05-17 at 14:20 -0300, Doug McComber wrote: > On 5/17/06, Kristian Benoit <kb...@op...> wrote: > > It seems like to dont have the kernel headers installed in /usr/include. > > There must be a package named something like kernel-header. > > > > Kristian > > > > On Mon, 2006-05-15 at 11:53 -0300, Doug McComber wrote: > > > Hi, > > > > > > I'm trying to compile v0.7.5 on Fedora Core 5 (kernel 2.6.16-1.2111) > > > and I'm getting an error as follows: > > > > > > module_display.c:30:28: error: linux/radeonfb.h: No such file or directory > > > module_display.c: In function 'display_switchmirror': > > > module_display.c:798: error: 'FBIO_RADEON_GET_MIRROR' undeclared > > > (first use in this function) > > > module_display.c:798: error: (Each undeclared identifier is reported only once > > > module_display.c:798: error: for each function it appears in.) > > > module_display.c:799: error: 'ATY_RADEON_CRT_ON' undeclared (first use > > > in this function) > > > module_display.c:800: error: 'FBIO_RADEON_SET_MIRROR' undeclared > > > (first use in this function) > > > make[2]: *** [module_display.o] Error 1 > > > make[2]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5/src' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5' > > > make: *** [all] Error 2 > > > > > > > > > I have the kernel-devel rpm installed and radeonfb.h is located: > > > > > > /usr/src/kernels/2.6.16-1.2111_FC5-ppc/include/linux/radeonfb.h > > > > > > Any ideas? > > > > > > Regards, > > > Doug > > > > > > > > > ------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > > > pbbuttons-users mailing list > > > pbb...@li... > > > https://lists.sourceforge.net/lists/listinfo/pbbuttons-users > > > > > > > > I solved the error by with: > > CFLAGS=-I/usr/src/linux/include ./configure > > but now get this error: > > /usr/src/linux/include/linux/input.h:801: error: expected > specifier-qualifier-list before 'kernel_ulong_t' > > Regards, > Doug When compiling a usermode program, you must use the kernel header the glibc is compiled against (those installed in /usr/include/linux) or you might have problems. But you choose to switch to another distribution which is, in my opinion, the best choice you could make. Kristian |
From: Doug M. <dou...@gm...> - 2006-05-18 12:14:49
|
I "solved" the problem. I dumped Fedora Core 5 for OpenSuse 10.1. It has support for pbbuttonsd right out of the box. I'm guessing the second error I was having with Fedora Core 5 was related to the specific kernel installed. Regards, Doug |
From: Matthias G. <mat...@us...> - 2006-05-17 18:01:09
|
On Mon, 15 May 2006 21:44:33 +0930 John Steele Scott <to...@to...> wrote: > Recently I came across a bug in the Ubuntu bug tracker, which described > a crash in the ALSA module. The bug is documented at > <https://launchpad.net/distros/ubuntu/+source/pbbuttonsd/+bug/39646>. It > is a crash which occurs on some of the newer machines which don't have a > hardware mixer. Essentially it's a (hard to track down) typo; the patch > is below. Hi John, thanks for reporting this problem to me. You seem to be right that it was a typo. I applied you patch and publish it with the next release. Thank you & best regards Matthias |
From: Doug M. <dou...@gm...> - 2006-05-17 17:20:40
|
On 5/17/06, Kristian Benoit <kb...@op...> wrote: > It seems like to dont have the kernel headers installed in /usr/include. > There must be a package named something like kernel-header. > > Kristian > > On Mon, 2006-05-15 at 11:53 -0300, Doug McComber wrote: > > Hi, > > > > I'm trying to compile v0.7.5 on Fedora Core 5 (kernel 2.6.16-1.2111) > > and I'm getting an error as follows: > > > > module_display.c:30:28: error: linux/radeonfb.h: No such file or direct= ory > > module_display.c: In function 'display_switchmirror': > > module_display.c:798: error: 'FBIO_RADEON_GET_MIRROR' undeclared > > (first use in this function) > > module_display.c:798: error: (Each undeclared identifier is reported on= ly once > > module_display.c:798: error: for each function it appears in.) > > module_display.c:799: error: 'ATY_RADEON_CRT_ON' undeclared (first use > > in this function) > > module_display.c:800: error: 'FBIO_RADEON_SET_MIRROR' undeclared > > (first use in this function) > > make[2]: *** [module_display.o] Error 1 > > make[2]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5' > > make: *** [all] Error 2 > > > > > > I have the kernel-devel rpm installed and radeonfb.h is located: > > > > /usr/src/kernels/2.6.16-1.2111_FC5-ppc/include/linux/radeonfb.h > > > > Any ideas? > > > > Regards, > > Doug > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, securit= y? > > Get stuff done quickly with pre-integrated technology to make your job = easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > > http://sel.as-us.falkag.net/sel?cmd____________________________________= ___________ > > pbbuttons-users mailing list > > pbb...@li... > > https://lists.sourceforge.net/lists/listinfo/pbbuttons-users > > > > I solved the error by with: CFLAGS=3D-I/usr/src/linux/include ./configure but now get this error: /usr/src/linux/include/linux/input.h:801: error: expected specifier-qualifier-list before 'kernel_ulong_t' Regards, Doug |
From: Kristian B. <kb...@op...> - 2006-05-17 04:19:42
|
It seems like to dont have the kernel headers installed in /usr/include. There must be a package named something like kernel-header. Kristian On Mon, 2006-05-15 at 11:53 -0300, Doug McComber wrote: > Hi, > > I'm trying to compile v0.7.5 on Fedora Core 5 (kernel 2.6.16-1.2111) > and I'm getting an error as follows: > > module_display.c:30:28: error: linux/radeonfb.h: No such file or directory > module_display.c: In function 'display_switchmirror': > module_display.c:798: error: 'FBIO_RADEON_GET_MIRROR' undeclared > (first use in this function) > module_display.c:798: error: (Each undeclared identifier is reported only once > module_display.c:798: error: for each function it appears in.) > module_display.c:799: error: 'ATY_RADEON_CRT_ON' undeclared (first use > in this function) > module_display.c:800: error: 'FBIO_RADEON_SET_MIRROR' undeclared > (first use in this function) > make[2]: *** [module_display.o] Error 1 > make[2]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5' > make: *** [all] Error 2 > > > I have the kernel-devel rpm installed and radeonfb.h is located: > > /usr/src/kernels/2.6.16-1.2111_FC5-ppc/include/linux/radeonfb.h > > Any ideas? > > Regards, > Doug > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > pbbuttons-users mailing list > pbb...@li... > https://lists.sourceforge.net/lists/listinfo/pbbuttons-users > |
From: Doug M. <dou...@gm...> - 2006-05-15 14:53:18
|
Hi, I'm trying to compile v0.7.5 on Fedora Core 5 (kernel 2.6.16-1.2111) and I'm getting an error as follows: module_display.c:30:28: error: linux/radeonfb.h: No such file or directory module_display.c: In function 'display_switchmirror': module_display.c:798: error: 'FBIO_RADEON_GET_MIRROR' undeclared (first use in this function) module_display.c:798: error: (Each undeclared identifier is reported only o= nce module_display.c:798: error: for each function it appears in.) module_display.c:799: error: 'ATY_RADEON_CRT_ON' undeclared (first use in this function) module_display.c:800: error: 'FBIO_RADEON_SET_MIRROR' undeclared (first use in this function) make[2]: *** [module_display.o] Error 1 make[2]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5' make: *** [all] Error 2 I have the kernel-devel rpm installed and radeonfb.h is located: /usr/src/kernels/2.6.16-1.2111_FC5-ppc/include/linux/radeonfb.h Any ideas? Regards, Doug |
From: John S. S. <to...@to...> - 2006-05-15 12:14:54
|
Hi Matthias, Recently I came across a bug in the Ubuntu bug tracker, which described a crash in the ALSA module. The bug is documented at <https://launchpad.net/distros/ubuntu/+source/pbbuttonsd/+bug/39646>. It is a crash which occurs on some of the newer machines which don't have a hardware mixer. Essentially it's a (hard to track down) typo; the patch is below. cheers, John * src/module_alsamixer.c: - Fix crash when master mixer element has no volume control. (Ubuntu: #39646) --- src/module_alsamixer.c.orig 2006-05-12 22:34:30.000000000 +0930 +++ src/module_alsamixer.c 2006-05-12 22:37:16.000000000 +0930 @@ -169,7 +169,7 @@ =20 /* check that master element has a playback volume */ if (!snd_mixer_selem_has_playback_volume (base->elements[0])) { - snd_mixer_selem_get_id (base->elements[n], sid); + snd_mixer_selem_get_id (base->elements[0], sid); print_msg (PBB_WARN, _("Mixer element '%s' has no playback volume contr= ol.\n"), snd_mixer_selem_id_get_name (sid)); return -1; } |
From: Tommy T. <tom...@gm...> - 2006-05-13 17:18:17
|
On 5/13/06, Matthias Grimm <mat...@us...> wrote: > On Fri, 12 May 2006 09:30:07 -0500 > "Tommy Trussell" <tom...@gm...> wrote: > > I only recently realized pbbcmd is not able to set the state of the > > trackpad. When I use pbbcmd, it is setting a register, but NOT > > changing the state of the trackpad: > > It seems that you suffer from an inaccurate machine check. > Pbbuttonsd have to check now if you machine has a ADB trackpad or not, > because the last ppc PowerPooks have a USB trackpad and had problems > talking to an not existing bus. > > Could you please provide the contents of /proc/cpuinfo to prove this > theory? $ cat /proc/cpuinfo processor : 0 cpu : 740/750 temperature : 38-42 C (uncalibrated) clock : 264MHz revision : 2.2 (pvr 0008 0202) bogomips : 530.43 machine : PowerBook motherboard : AAPL,PowerBook1998 MacRISC detected as : 50 (PowerBook Wallstreet) pmac flags : 00000009 L2 cache : 1024K unified pipelined-syncro-burst memory : 384MB l2cr override : 0xb9110000 pmac-generation : OldWorld |
From: Matthias G. <mat...@us...> - 2006-05-13 12:57:47
|
On Fri, 12 May 2006 09:30:07 -0500 "Tommy Trussell" <tom...@gm...> wrote: > I only recently realized pbbcmd is not able to set the state of the > trackpad. When I use pbbcmd, it is setting a register, but NOT > changing the state of the trackpad: It seems that you suffer from an inaccurate machine check. Pbbuttonsd have to check now if you machine has a ADB trackpad or not, because the last ppc PowerPooks have a USB trackpad and had problems talking to an not existing bus. Could you please provide the contents of /proc/cpuinfo to prove this theory? Best Regards Matthias |
From: Tommy T. <tom...@gm...> - 2006-05-12 14:30:19
|
[Duplicate message; my apologies if this has come through more than once.] I've been trying to track down a couple of problems I have had for months after upgrading to Ubuntu Breezy. One has to do with the trackpad intitializing at tap, drag, lock -- I opened Bug #25942 in launchpad https://launchpad.net/distros/ubuntu/+source/pbbuttonsd/+bug/2594= 2 I only recently realized pbbcmd is not able to set the state of the trackpad. When I use pbbcmd, it is setting a register, but NOT changing the state of the trackpad: $ pbbcmd config tpmode 1 $ pbbcmd query tpmode 1 $ pbbcmd config tpmode 0 $ sudo trackpad show READREG(3, 2) trackpad settings tap drag lock $ sudo trackpad notap $ sudo trackpad show READREG(3, 2) trackpad settings notap nodrag nolock I just discovered the news at http://pbbuttons.berlios.de/newsarchive.html and noticed that some ADB code changed between 0.6.x and 0.7.0 -- maybe a change in that code affected my hardware, because it was working fine in Hoary (pbbuttonsd 0.6.6-3ubuntu3). I have tried installing the latest binary in Dapper (0.7.2-1ubuntu4) but so far its behavior is the same. I am not experienced in C programming so I have had trouble finding the place(s) in the source code that point to the adb... I'd be happy to try some diagnostics and even compile a patched version if someone can give me some assistance. I'm running the binary from Dapper but the package didn't install fully because I'm still running an older version of libasound2 -- and I am assuming that's not relevant to this issue. Here are some things I have looked at... $ pbbcmd query version 0.7.2 $ pbbcmd query sysinfo 106 $ pbbcmd query identity G3 PowerBook Wallstreet (PMU version: 10) $ sudo lsadb Devices connected to the ADB-Bus: (PMU: 10) D R raw data decoded data ---------------------------------------------------------------------------= ---------- 2.3: [62 c3] Encode Device Apple Macintosh Powerbook G3 Keyboard (domestic layout) Exceptional Event enabled Service Request enabled 2: [ff ff] Qualifier: (not all must be supported) Fn-key Delete Caps-Lock Reset Control Shift Option Apple Num-Lock Scroll-Lock Scroll-Lock-LED Caps-Lock-LED Num-Lock-LED 1: 0: 3.3: [61 04] Protection Device Unknown Exceptional Event enabled Service Request enabled 2: [08 30 03 00 00 00 00 00] 1: [74 70 61 64 01 90 03 02] 0: 7.3: [67 1f] Misc. Device Powerbook G3 (Pismo) Button Device Exceptional Event enabled Service Request enabled 2: 1: 0: |
From: Tommy T. <tom...@gm...> - 2006-05-11 15:26:53
|
I've been trying to ask a question on this list for a few days but the messages originating from gmail have bounced. Trying again! I entered the question on the pbbuttons forum at sourceforge.net but I cannot tell if anyone reads those! |
From: Matthias G. <mat...@us...> - 2006-05-06 11:20:14
|
On Wed, 03 May 2006 21:18:45 +0200 Magnus Rosenbaum <cmr...@fo...> wrote: > The trackpad does not reset the dim timer. So sometimes I have to press a > key to make the screen go bright again. This happens only when used with > the synaptics driver in X11. Without the synaptics driver the dim timer > works alright. As Kristian already explained, this is a problem caused by the synaptics X11 driver. There are other programs out that filter mouse events (mouseemu for instance) and need block those input devices for exclusive use. But all this programs create a new virtual input device and forward unused events to it, so that other programs (like pbbuttonsd) will miss only some mouse events but not the whole device. The synaptics X11 driver behave very uncooperative here. > Just the other way round: Touching the trackpad or pressing the trackpad > button wakes the iBook from sleep. So if I grab the sleeping iBook with > closed lid right above the trackpad, the trackpad button is pressed by the > bending display and the iBook wakes up. I compared this with my G3 iBook > and there touching the trackpad does not cause it to wake up. This is a hardware issue and can't be solved or worked around by software (except Apple has implemented some hardware registers allowing to configure this behaviour, but I don't know about such registers.) Best Regards Matthias |
From: Kristian B. <kb...@op...> - 2006-05-04 07:11:51
|
The problem is with the event layer in the kernel. The synaptics driver must grab the event device to make sure the events does not propagate into /dev/input/mice. If it does not grab the event device, when X is reading /dev/input/mice and you scroll using the synaptics driver, it get the scrolling right, but it also get the mouse move. So the solution is to patch the synaptic driver in such a way that is does not grab the device. Configure your X to use /dev/input/eventX instead of /dev/input/mice. The only problem left, is plugging a USB mouse while X is running. I'm planning on modifying the kernel event layer to have an event aggregate like mice but configurable so you can tell it which event must be aggregated together. The problem is to find the time to make it, but it should'nt be to hard. For the patch, see the from march 2006 named "pbbuttonsd not loading every dev event". Kristian On Wed, 2006-05-03 at 21:18 +0200, Magnus Rosenbaum wrote: > Hello again, > > while Johannes Berg hopefully tries to add the notap feature to the > appletouch driver, I send you 2 further problems with the USB trackpad, > which maybe could be solved by pbbuttons: > > The trackpad does not reset the dim timer. So sometimes I have to press a > key to make the screen go bright again. This happens only when used with > the synaptics driver in X11. Without the synaptics driver the dim timer > works alright. > > Just the other way round: Touching the trackpad or pressing the trackpad > button wakes the iBook from sleep. So if I grab the sleeping iBook with > closed lid right above the trackpad, the trackpad button is pressed by the > bending display and the iBook wakes up. I compared this with my G3 iBook > and there touching the trackpad does not cause it to wake up. > > cu, Magnum > |
From: Magnus R. <cmr...@fo...> - 2006-05-03 19:18:51
|
Hello again, while Johannes Berg hopefully tries to add the notap feature to the appletouch driver, I send you 2 further problems with the USB trackpad, which maybe could be solved by pbbuttons: The trackpad does not reset the dim timer. So sometimes I have to press a key to make the screen go bright again. This happens only when used with the synaptics driver in X11. Without the synaptics driver the dim timer works alright. Just the other way round: Touching the trackpad or pressing the trackpad button wakes the iBook from sleep. So if I grab the sleeping iBook with closed lid right above the trackpad, the trackpad button is pressed by the bending display and the iBook wakes up. I compared this with my G3 iBook and there touching the trackpad does not cause it to wake up. cu, Magnum -- Carl Magnus Rosenbaum M.A. Tel: 089 - 700 666 26 Administration - Programmierung - Weiterbildung Fax: 089 - 700 666 86 http://cmr.forestfactory.de/ Mobil: 0163 - 700 666 2 PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641 |
From: Magnus R. <cmr...@fo...> - 2006-04-23 21:28:48
|
Matthias Grimm wrote: > Are you sure your iBook has an USB trackpad? Yes, I'm sure. It is the recent iBook with the "scrolling trackpad". All former models of iBooks had ADB trackpads. Here the relevant part of lsusb -v: Bus 001 Device 006: ID 05ac:030b Apple Computer, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x05ac Apple Computer, Inc. idProduct 0x030b bcdDevice 0.80 iManufacturer 1 Apple Computer iProduct 2 Apple Internal Trackpad iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 8704 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 40mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Devices bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 7 Touchpad HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 35 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 > According my hardware list a PowerBook6,7 has a ADB Trackpad but this might be wrong. I have already corrected the number in your wiki some days ago ;-) http://pbbuttons.berlios.de/wiki/doku.php?id=ppcsupport:adbtrackpad > If you have a USB Trackpad, the trackpad mode can't be set with pbbuttonsd. > I could implement it if the parameter could be set through /sys. What files > do you have in /sys/modules/usbhid/parameters/ ? ibookg4 /sys/module/usbhid/parameters # ls -l insgesamt 0 -rw-r--r-- 1 root root 4096 23. Apr 22:53 mousepoll -rw-r--r-- 1 root root 4096 23. Apr 22:53 pb_fnmode > Are there other paths that might control the synaptics driver in sys? There is a section for the appletouch driver: ibookg4 /sys/module/appletouch # ls -Rl .: insgesamt 0 drwxr-xr-x 2 root root 0 23. Apr 22:54 parameters -r--r--r-- 1 root root 4096 23. Apr 22:54 refcnt drwxr-xr-x 2 root root 0 23. Apr 22:55 sections ./parameters: insgesamt 0 -rw-r--r-- 1 root root 4096 23. Apr 22:54 debug ./sections: insgesamt 0 -r--r--r-- 1 root root 4096 23. Apr 22:55 __param Why do you write "synaptics driver"? AFAIK there is no synaptics driver in the kernel, only a synaptics driver for X11, which can be used additionally to get some special features like scolling: http://web.telia.com/~u89404340/touchpad/ cu, Magnum -- Carl Magnus Rosenbaum M.A. Tel: 089 - 700 666 26 Administration - Programmierung - Weiterbildung Fax: 089 - 700 666 86 http://cmr.forestfactory.de/ Mobil: 0163 - 700 666 2 PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641 |
From: Matthias G. <mat...@us...> - 2006-04-23 19:10:26
|
On Sun, 23 Apr 2006 18:09:51 +0200 Magnus Rosenbaum <cmr...@fo...> wrote: > Hello Matthias &Co., > > on my iBook G4 12" 1,33GHz (mid 2005, PowerBook6,7) with USB trackpad it > seems to be not possible to switch the trackpad to notap mode. Are you sure your iBook has an USB trackpad? According my hardware list a PowerBook6,7 has a ADB Trackpad but this might be wrong. If you have a USB Trackpad, the trackpad mode can't be set with pbbuttonsd. I could implement it if the parameter could be set through /sys. What files do you have in /sys/modules/usbhid/parameters/ ? Are there other paths that might control the synaptics driver in sys? Best Regards Matthias |
From: Magnus R. <cmr...@fo...> - 2006-04-23 16:10:01
|
Hello Matthias &Co., on my iBook G4 12" 1,33GHz (mid 2005, PowerBook6,7) with USB trackpad it seems to be not possible to switch the trackpad to notap mode. In /etc/pbbuttonsd.conf I have: TPMode = notap If I switch by hand, gtkpbbuttons and pbbcmd show the right configuration, but tapping is still active: magnum@ibookg4 ~ $ pbbcmd config TPMODE 0 magnum@ibookg4 ~ $ pbbcmd query TPMODE 0 I use Gentoo Linux with pbbuttonsd 0.7.5 and kernel 2.6.16. cu, Magnum -- Carl Magnus Rosenbaum M.A. Tel: 089 - 700 666 26 Administration - Programmierung - Weiterbildung Fax: 089 - 700 666 86 http://cmr.forestfactory.de/ Mobil: 0163 - 700 666 2 PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641 |
From: Matthias G. <mat...@us...> - 2006-04-12 19:22:59
|
On Sun, 9 Apr 2006 23:37:59 -0400 "Ted Dziuba" <tjd...@gm...> wrote: > Hello everyone, > > I am running Fedora Core 5 on a Titanium PowerBook G4 667MHz, > pbbuttonsd-0.7.2-1. > The machine will go to sleep fine when I press the power button or close the > lid, but upon wakeup, it locks up with the message > > Badness in wait_for_ready at drivers/ide/ide-iops.c:516 You should report this bug on the kernel mailing list or directly to the maintainer of the ide kernel module. You should find his email address in the documentation/maintainers files of the kernel source code. I'm sorry, but the wake up process is out of range of pbbuttons capabilities. Best Regards Matthias |