Re: disable touchpad - accidental tap [was: Re: trackpad on powerbook]
On Sunday 13 of February 2005 18:49, Colin Leroy wrote: On 13 Feb 2005 at 17h02, Arkadiusz Miskiewicz wrote: and mouseemu to disable the whole trackpad while typing. Works well, thanks! One functionality is missing - ability to choose which device should be disabled and which not. For example it currently affects not only trackpad but also my external usb mouse which is bad for me. Fortunately it doesn't seem to be hard to add such support. -- Colin When in doubt, do the right thing. -- Arkadiusz MikiewiczPLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/
Re: disable touchpad - accidental tap [was: Re: trackpad on powerbook]
Colin Leroy wrote: On 13 Feb 2005 at 17h02, Arkadiusz Miskiewicz wrote: Hi, On Sunday 13 of February 2005 15:05, Eddy Petrisor wrote: - the touchpad is _extremely_ sensitive and I find myself writing in various places in a document 'cause I touch t (arrrggh, just happed) the touchpad accidentally. I found out that with tpconfig I should be able to configure the touchpad that is is disabled automatically for a period of time when I start typing, Same problem here (ibook g4) :/ I'm wondering what happened to idea mentioned here: http://kerneltrap.org/node/645/3067 Forgot: pbbuttonsd can configure it too, see its config file. This is what I have been looking for... just Alt+brightness until I see that gtkpbuttons reports that the touchpad is set to notap. Thanks a lot! -- Regards, EddyP === I had a favourite quote, but I forgot it. And it was insightful. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: disable touchpad - accidental tap [was: Re: trackpad on powerbook]
On 13 Feb 2005 at 21h02, Arkadiusz Miskiewicz wrote: Hi, ... no longer. Patch attached (user can avoid disabling USB and/or ADB devices). I think i'd like to keep it simple, and besides, new Apple laptops have an USB trackpad, so I don't think i'll put it in. ps. there seems to be bug in original sources if (test_bit(EV_KEY, bit) test_bit(EV_REP, bit)) { ioctl(fd, EVIOCGID, id); [...] } else if (test_bit(EV_REL, bit)) { if (id[ID_PRODUCT] != eventdevs[m].product || id[ID_VENDOR] != eventdevs[m].vendor) { for else if case id isn't updated (missing ioctl(fd, EVIOCGID, id);). Fixed that in 0.13, thanks! -- Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: trackpad on powerbook
Sometime in February Gabriel Paubert assaulted the keyboard and produced: | | Don't forget to add usbdevfs so that we can have a closer | | look at the hardware details. | | I believe that's added here: | | http://sage.che.pitt.edu/~harrold/tmp/powerbook/new_kernel/config-2.6.820050211 | | Indeed, I wonder if the problem is the USB boot protocol | mouse module. What drivers are loaded automatically at boot? Is there a quick way of finding this out from one of the modules files in /etc? -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
On Sat, Feb 12, 2005 at 11:32:41AM -0500, John Harrold wrote: Sometime in February Gabriel Paubert assaulted the keyboard and produced: | I suspect you load more modules than this. | What does `lsmod' say? Oh, lots and lots of happiness: absent:~# lsmod Module Size Used by ipv6 323928 12 ds 23844 2 af_packet 21352 2 ehci_hcd 37156 0 uninorth_agp8544 1 agpgart42412 1 uninorth_agp yenta_socket 23616 0 pcmcia_core76788 2 ds,yenta_socket tsdev 8640 0 joydev 12000 0 evdev 11968 3 usbhid 53952 0 Since usbhid is loaded, I don't know what the problem could be. Maybe OF puts it in a non-operating (maybe power saving) state. eth139425480 0 ohci_hcd 26212 0 usbcore 139092 5 ehci_hcd,usbhid,ohci_hcd ohci1394 41924 0 sungem 36836 0 crc32 4832 1 sungem sungem_phy 10240 1 sungem airport 7968 0 orinoco53620 1 airport hermes 15104 2 airport,orinoco Surprising, these machines have Airport Extreme, which does not have Linux drivers for lack of documentation. So why are these modules loaded? therm_adt746x 12460 0 sr_mod 22884 0 snd_powermac 44304 0 snd_pcm 119800 1 snd_powermac snd_page_alloc 13480 1 snd_pcm snd_timer 29348 1 snd_pcm snd67800 3 snd_powermac,snd_pcm,snd_timer soundcore 11812 1 snd sbp2 28080 0 scsi_mod 113472 2 sr_mod,sbp2 ieee1394 448200 3 eth1394,ohci1394,sbp2 ide_cd 49764 0 cdrom 49660 2 sr_mod,ide_cd ext3 130736 1 jbd71576 1 ext3 mbcache10116 1 ext3 ide_disk 27072 3 unix 32088 38 Gabriel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: trackpad on powerbook
Sometime in February Gabriel Paubert assaulted the keyboard and produced: | usbhid 53952 0 | | Since usbhid is loaded, I don't know what | the problem could be. Maybe OF puts it in | a non-operating (maybe power saving) state. I'm afraid I don't know what you mean by OF? | hermes 15104 2 airport,orinoco | | Surprising, these machines have Airport | Extreme, which does not have Linux drivers | for lack of documentation. So why are these | modules loaded? That might have been me messing around. Though, I realize it's not supported. -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
Another question. Fuser indicates that pbbuttonsd is somehow tied to /dev/input/mice. I understand that pbbuttonsd is used to control some of laptop specific buttons and stuff. Is pbbuttonsd necessary to use a mouse? -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
Sometime in February Maximilian Gerlach assaulted the keyboard and produced: | You could try the Ubuntu LiveCD and look if it works there. | If it does you can either copy the working xorg.conf (and change it to a | working XF86Config-4 ;).) or install Ubuntu :) I tried Ubuntu and the mouse didn't work there either. I managed to open a terminal and look at the xorg.conf file. It appeared as though the track pad was using /dev/psaux (according to ubuntu). -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
Sometime in February Moritz Armingeon assaulted the keyboard and produced: | On 08:40 Thu 10 Feb , John Harrold wrote: | /dev/input/mice | /dev/input/mouse0 | /dev/input/mouse1 | /dev/psaux | I'm using /dev/mouse which seems to point at /dev/input/mice, but maybe it's | worth a try? The devices that I listed in my original post were the ones that I tried. I should probably have been a bit clearer. -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
On 11 Feb 2005 at 08h02, John Harrold wrote: Hi, I tried Ubuntu and the mouse didn't work there either. I managed to open a terminal and look at the xorg.conf file. It appeared as though the track pad was using /dev/psaux (according to ubuntu). That's wrong... Do you have something like that in your dmesg log ? adb: starting probe task... adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f ADB keyboard at 2, handler 1 Detected ADB keyboard, type ISO, swapping keys. input: ADB keyboard on adb2:2.c4/input input: ADB Powerbook buttons on adb7:7.1f/input ADB mouse at 3, handler set to 4 (trackpad) input: ADB mouse on adb3:3.01/input adb: finished probe task... ... mice: PS/2 mouse device common for all mice What does your kernel config look like ? (/boot/config-something, or /proc/config.gz) $ zgrep \(ADB\|INPUT\|MOUSE\) /proc/config.gz | grep -v ^# CONFIG_ADB=y CONFIG_ADB_PMU=y CONFIG_ADB_MACIO=y CONFIG_INPUT_ADBHID=y CONFIG_INPUT=y CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=y CONFIG_INPUT_EVBUG=m CONFIG_INPUT_KEYBOARD=y CONFIG_INPUT_MOUSE=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=m CONFIG_USB_HIDINPUT=y -- Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: trackpad on powerbook
Sometime in February Colin Leroy assaulted the keyboard and produced: | That's wrong... Sure, Probably, I'm new here. | Do you have something like that in your dmesg log ? | | adb: starting probe task... | adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f | ADB keyboard at 2, handler 1 | Detected ADB keyboard, type ISO, swapping keys. | input: ADB keyboard on adb2:2.c4/input | input: ADB Powerbook buttons on adb7:7.1f/input | ADB mouse at 3, handler set to 4 (trackpad) | input: ADB mouse on adb3:3.01/input | adb: finished probe task... | ... | mice: PS/2 mouse device common for all mice My dmesg log looks like: adb: starting probe task... adb: finished probe task... ... mice: PS/2 mouse device common for all mice There is nothing between the starting and finished probe. Perhaps that is my problem ;). | What does your kernel config look like ? (/boot/config-something, or /proc/config.gz) | $ zgrep \(ADB\|INPUT\|MOUSE\) /proc/config.gz | grep -v ^# This is the output: CONFIG_ADB=y CONFIG_ADB_CUDA=y CONFIG_ADB_PMU=y CONFIG_ADB_MACIO=y CONFIG_INPUT_ADBHID=y CONFIG_MAC_EMUMOUSEBTN=y CONFIG_INPUT=y CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_MOUSEDEV_PSAUX_ENABLE=y CONFIG_INPUT_JOYDEV=m CONFIG_INPUT_TSDEV=m CONFIG_INPUT_TSDEV_SCREEN_X=240 CONFIG_INPUT_TSDEV_SCREEN_Y=320 CONFIG_INPUT_EVDEV=m CONFIG_INPUT_EVBUG=m CONFIG_INPUT_KEYBOARD=y CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=m # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_VSXXXAA is not set CONFIG_INPUT_JOYSTICK=y CONFIG_INPUT_JOYDUMP=m CONFIG_INPUT_TOUCHSCREEN=y CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=m CONFIG_USB_HIDINPUT=y # CONFIG_USB_MOUSE is not set -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
Sometime in February Colin Leroy assaulted the keyboard and produced: | Hi, | | adb: starting probe task... | adb: finished probe task... | ... | mice: PS/2 mouse device common for all mice | | There is nothing between the starting and finished probe. Perhaps that | is my problem ;). | | Certainly :) I don't know if you caught this in the original post, but this is a new powerbook (released last week). I'm really starting to think that the old adb drivers don't work with the newer models. | # CONFIG_USB_MOUSE is not set | | You should have this on to use usb mice, but I fail to see a problem | with the rest. You should really try a 2.6 kernel (you run 2.4 I | think?), you'll probably have better luck... All the output I sent in response to your initial questions was for a 2.6 kernel. I've been trying both 2.4 and 2.6 kernels to see if that might fix things. I'm not too worried about getting a usb mouse working if I cannot figure out the trackpad. -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
On 11 Feb 2005 at 10h02, John Harrold wrote: Hi, I don't know if you caught this in the original post, but this is a new powerbook (released last week). I'm really starting to think that the old adb drivers don't work with the newer models. Ah, I missed that fact. Maybe they work differently, indeed. What you could do is create a tarball of your /proc/device-tree and post that somewhere online, so that the real PPC hackers (that is, not me :-)) can maybe see something. Maybe it works with an SMU instead of a PMU (wild shot, from this mail: http://www.mail-archive.com/debian-powerpc@lists.debian.org/msg00491.html) (`sudo tar -zxf device-tree.tgz /proc/device-tree` should do) -- Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: trackpad on powerbook
Sometime in February Colin Leroy assaulted the keyboard and produced: | Ah, I missed that fact. Maybe they work differently, indeed. What you | could do is create a tarball of your /proc/device-tree and post that | somewhere online, so that the real PPC hackers (that is, not me :-)) can | maybe see something. Maybe it works with an SMU instead of a PMU (wild | shot, from this mail: | http://www.mail-archive.com/debian-powerpc@lists.debian.org/msg00491.html) | | (`sudo tar -zxf device-tree.tgz /proc/device-tree` should do) Sure I can do that. Do I post a message to this list or somewhere else? -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E --
Re: trackpad on powerbook
Sometime in February Gabriel Paubert assaulted the keyboard and produced: | Well, I've read somewhere that the new powerbooks no more have adb | internally and the trackpad and keyboard have been replace by | USB devices. Gabriel, my Spanish friend, where have you been these days. I'm compiling the kernel with usb mouse support right now, so we sould know soon. -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: trackpad on powerbook
On Fri, Feb 11, 2005 at 04:55:22PM -0500, John Harrold wrote: Sometime in February Gabriel Paubert assaulted the keyboard and produced: | Well, I've read somewhere that the new powerbooks no more have adb | internally and the trackpad and keyboard have been replace by | USB devices. Gabriel, my Spanish friend, where have you been these days. I'm compiling the kernel with usb mouse support right now, so we sould know soon. Notice that provided you have discover/hotplug installed, the standard debian kernel should not have problems of this kind and should work fine, at least they do with my ibook (2003ish one). Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: trackpad on powerbook
Howdy Sebastian (sorry if you got this multiple times), Sometime in February Sebastian Henschel assaulted the keyboard and produced: | hm, i do not think so. i have scrollwheel functionality with the help of | mouseemu (http://www.geekounet.org/powerbook/files/mouseemu.tar.gz) on | a 15 months old Powerbook, too. | there might be some kernel modules missing. what does your .config look | like? is CONFIG_INPUT_ADBHID enabled? I'm using the stock debian/sarge 2.4 kernel. This is the output for 'uname -a': Linux absent 2.4.27-powerpc #1 ven sep 3 09:34:51 CEST 2004 ppc GNU/Linux Do I need to compile my own? Can you tell me how to get this information if I didn't compile it? | you should see some output when you cat /dev/input/mice and move | your finger on the trackpad. Yeah I tried this on a lot of different devices and I had no luck :(. | I've looked around on the web and most of the pages about installing | linux | on powerbooks are pretty old. Can anyone offer any thoughts on this? | | does any of the reports listed on http://tuxmobil.org/apple.html help | you? This looks more useful that the linux-laptop.net page. -- -- | /\ john harrold | \ / ASCII ribbon campaign jmh at member.fsf.org | X against HTML mail the most useful idiot | / \ -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is brought under the name of totalitarianism or the holy name of liberty and democracy? --Gandhi -- gpg --keyserver pgp.mit.edu --recv-key F65A739E -- signature.asc Description: Digital signature
Re: [Fwd: trackpad-g3 powerbook]
nah, better way is this: update-rc.d -f trackpad_no_tap 80 S . I did everything up to this step, and when I put in this command I got the proper usage list. I s there anything missing from this line?
Re: [Fwd: trackpad-g3 powerbook]
On Wed, May 24, 2000 at 01:17:39PM -0500, Josh wrote: nah, better way is this: update-rc.d -f trackpad_no_tap 80 S . I did everything up to this step, and when I put in this command I got the proper usage list. I s there anything missing from this line? bleah, this is the right command: update-rc.d -f trackpad_no_tap start 80 S . don't forget that last period too that is important. -- Ethan Benson http://www.alaska.net/~erbenson/ pgp8mVV7Z6HIW.pgp Description: PGP signature
Re: [Fwd: trackpad-g3 powerbook]
On Tue, May 23, 2000 at 05:10:11AM -0500, Joshua Holland wrote: sorry to disturb you, but as I'm a full newbee, could you explain me how you install the trackpad_tool. I'm pretty new at this too, so let me remember what I did... Download the Trackpad file and gunzip it (gunzip filename). You'll then have a few files in whatever directory you downloaded the original too. There should be one that ends in '.c'. To compile it, type 'gcc filename.c'. (you need to have gcc). Then you'll have a file called 'a.out'. Rename it trackpad or something and move it to somwhere like /usr/local/bin or /usr/bin so you can just type it to run it. So: or gcc -o trackpad trackpad.c (-o means save output to this filename) and you should not put custom (ie anything non-debian) in /bin or /usr/bin, always /usr/local/{bin,sbin} (unless for some reason it must be accessable before filesystems are mounted at boot) /usr/ belongs to the debian packaging system so you should not mess with it, else your changes be overwritten or the packaging system confused. -- Ethan Benson http://www.alaska.net/~erbenson/ pgpxvlXVvqQXH.pgp Description: PGP signature
Re: [Fwd: trackpad-g3 powerbook]
On Tue, 23 May 2000, Ethan Benson wrote: On Tue, May 23, 2000 at 05:10:11AM -0500, Joshua Holland wrote: sorry to disturb you, but as I'm a full newbee, could you explain me how you install the trackpad_tool. I'm pretty new at this too, so let me remember what I did... Download the Trackpad file and gunzip it (gunzip filename). You'll then have a few files in whatever directory you downloaded the original too. There should be one that ends in '.c'. To compile it, type 'gcc filename.c'. (you need to have gcc). Then you'll have a file called 'a.out'. Rename it trackpad or something and move it to somwhere like /usr/local/bin or /usr/bin so you can just type it to run it. So: or gcc -o trackpad trackpad.c (-o means save output to this filename) oops sory about the confusion, I have'nt seen that trackpad_tool is a program. As I'm new dealing with kernel, I was afraid, thinking it was something realy specific. and you should not put custom (ie anything non-debian) in /bin or /usr/bin, always /usr/local/{bin,sbin} (unless for some reason it must be accessable before filesystems are mounted at boot) /usr/ belongs to the debian packaging system so you should not mess with it, else your changes be overwritten or the packaging system confused. I've put it in /usr/local/bin as most of the stuff I install. but thanks a lot, for the quick and usefuls anwser -- JP: ET à quand un Quicktime for Unix ?.. :-((( SP: Pour coloriser les lignes de commande ??! -+- SP in Guide du Macounet Pervers : Unixian Graffiti -+-
Re: [Fwd: trackpad-g3 powerbook]
On Mon, 22 May 2000, Josh wrote: On Debian, I believe you should look in /etc/rcS.d. I can't figure out which file in /etc/rcS.d to put 'trackpad notap' in. But the trackpad_tool program works fine, thanks for the help. Hi not sure is the best solution but it works fine for me (potato on pismo) first take a look at /etc/inittab, to see your default runlevel. usually with debian, runlevel is 2 # The default runlevel. id:2:initdefault: second as root create the following script on /etc/init.d/trackpad_no_tap #! /bin/sh /the/full/path/to/your/trackpad_tool notap third as root chmod 755 the script fourth as root ln -s /etc/rc2.d/trackpad_no_tap /etc/rcN.d/trackpad_no_tap where N is your default runlevel when is done, each time you will boot your powerbook, the track-pad tapping will be disabled Eric PS I do this way, cause it allows me to centralize all my stuff in init.d after that playing with links I can play as I want any advice is welcome -- Pentiun /// ... (was Re: pentium III) ... le processeur adidas pour les internautes en pantoufles!-) -+- RM in Guide du Macounet Pervers : Juste fais le! -+-
Re: [Fwd: trackpad-g3 powerbook]
On Tue, May 23, 2000 at 01:38:03PM +0200, Eric Deveaud wrote: first take a look at /etc/inittab, to see your default runlevel. usually with debian, runlevel is 2 # The default runlevel. id:2:initdefault: standard debian. second as root create the following script on /etc/init.d/trackpad_no_tap #! /bin/sh /the/full/path/to/your/trackpad_tool notap yup that is ok. third as root chmod 755 the script yup fourth as root ln -s /etc/rc2.d/trackpad_no_tap /etc/rcN.d/trackpad_no_tap where N is your default runlevel nah, better way is this: update-rc.d -f trackpad_no_tap 80 S . this adds a symlink /etc/rcS.d/S80trackpad_no_tap /etc/rcS.d is only run ONCE at boottime, which is fine since the trackpad settings should be persistent accross runlevel changes. also i believe init will ignore symlinks not starting with SNN. init starts the scripts with the start and stop arguments, but since your script is only started and not killed (no need) you need not worry about handing these arugments (they are quietly ignored). when is done, each time you will boot your powerbook, the track-pad tapping will be disabled yup. I do this way, cause it allows me to centralize all my stuff in init.d after that playing with links I can play as I want any advice is welcome man update-rc.d -- Ethan Benson http://www.alaska.net/~erbenson/ pgpDu3oWyqfQI.pgp Description: PGP signature
Re: [Fwd: trackpad-g3 powerbook]
On Tue, 23 May 2000, Ethan Benson wrote: On Tue, May 23, 2000 at 01:38:03PM +0200, Eric Deveaud wrote: first take a look at /etc/inittab, to see your default runlevel. usually with debian, runlevel is 2 # The default runlevel. id:2:initdefault: standard debian. second as root create the following script on /etc/init.d/trackpad_no_tap #! /bin/sh /the/full/path/to/your/trackpad_tool notap yup that is ok. third as root chmod 755 the script yup fourth as root ln -s /etc/rc2.d/trackpad_no_tap /etc/rcN.d/trackpad_no_tap error^ read instead /etc/rcN.d/S99trackpad_no_tap I put it just before xdm. where N is your default runlevel nah, better way is this: update-rc.d -f trackpad_no_tap 80 S . this adds a symlink /etc/rcS.d/S80trackpad_no_tap /etc/rcS.d is only run ONCE at boottime, which is fine since the trackpad settings should be persistent accross runlevel changes. also i believe init will ignore symlinks not starting with SNN. yes, it was an error init starts the scripts with the start and stop arguments, but since your script is only started and not killed (no need) you need not worry about handing these arugments (they are quietly ignored). when is done, each time you will boot your powerbook, the track-pad tapping will be disabled yup. I do this way, cause it allows me to centralize all my stuff in init.d after that playing with links I can play as I want any advice is welcome man update-rc.d that's what i'll do since I've sent this email. Eric -- Le truc c'est qu'avec MacOS l'utilisateur neuneu pouvait aussi etre administrateur neuneu, et que ca, ca sera bien fini. -+ ED in Guide du Macounet Pervers : il voit des neuneus partout -+-
Re: [Fwd: trackpad-g3 powerbook]
On Debian, I believe you should look in /etc/rcS.d. I can't figure out which file in /etc/rcS.d to put 'trackpad notap' in. But the trackpad_tool program works fine, thanks for the help.
Re: [Fwd: trackpad-g3 powerbook]
There's a tiny little utility here that lets you set the trackpad to notap mode (as well as tap, drag and lock modes): http://xenu.phys.uit.no/~alvin/linux/trackpad_tool.tar.gz I tried to do this, but I really don't know what I'm doing as far as compiling stuff. I used gcc, and now I have a file called a.out or something. Also I don't have an /etc/rc.d/rc.local. I have some directories called /etc/rc0.d, rc1.d, rc2.g etc. They have all kind of files in them, but I couldn't find rc.local. ??
Re: [Fwd: trackpad-g3 powerbook]
On Sat, 20 May 2000, Josh wrote: There's a tiny little utility here that lets you set the trackpad to notap mode (as well as tap, drag and lock modes): I tried to do this, but I really don't know what I'm doing as far as compiling stuff. I used gcc, and now I have a file called a.out or something. That file is your program. You can run it by typing ./a.out from inside its directory. I suggest renaming it to trackpad and moving it somewhere convenient like /usr/local/sbin so that you just have to type trackpad to run it. a.out is the default name for a compiled executable, for historical reasons. Also I don't have an /etc/rc.d/rc.local. I have some directories called /etc/rc0.d, rc1.d, rc2.g etc. They have all kind of files in them, but I couldn't find rc.local. This is because Debian stores the runlevel scripts in a style different from the one used by several other Linux distributions. On Debian, I believe you should look in /etc/rcS.d. (This is one of those old differences between SysV Unix and BSD Unix that has survived in modern Unix-like OSs to the present day.)
Re: trackpad-g3 powerbook
On Fri, 19 May 2000, Josh wrote: Is there a way to make the trackpad not respond to a tap as a click? There's a tiny little utility here that lets you set the trackpad to notap mode (as well as tap, drag and lock modes): http://xenu.phys.uit.no/~alvin/linux/trackpad_tool.tar.gz Someone should package this and some of the other powerpc-specific utilities (e.g. pmud) and get them into woody. I'd do it, but I'd not a Debian developer.