LinHES Forums
http://forum.linhes.org/

How To Reduce ATI Remote "Tweaking"
http://forum.linhes.org/viewtopic.php?f=11&t=6463
Page 1 of 1

Author:  jesse [ Sun Oct 16, 2005 7:09 pm ]
Post subject:  How To Reduce ATI Remote "Tweaking"

If you have an ATI remote and when you hit the key once and it goes wild and do the same key several times, here is a way to reduce the occurence.

1. cd /usr/src
2. tar jxvf kernel-source<TAB>
3. cd kernel-source<TAB>
4. vi drivers/usb/input/ati_remote.c
5. Find the line that says:
Code:
#define FILTER_TIME (HZ / 20)

6. Change it to say
Code:
#define FILTER_TIME (HZ / 10)

7. make modules
**MAKE MODULES will take a while to complete
8. make install modules

Doing this operation may require you to re-install your NVIDIA drivers.

You may or may not need to reboot to get the modules loaded.

Author:  cesman [ Sun Oct 16, 2005 7:46 pm ]
Post subject: 

In /usr/src/source
Code:
make M=drivers/usb/input
Then copy the resulting module to /lib/modules/`uname -r`/drivers/usb/input

Author:  DonLKSAB [ Mon Nov 07, 2005 5:13 pm ]
Post subject: 

Hmm.

I cant get this to work.

I have tryed wit all kinds of NZ settings from 1 to 20.
And nothing seems to make any differance.

I did what jesse wrote.
But i cant do what cesman tells me.
I dont have a /lib/modules/`uname -r`/drivers/usb/input

I have a /lib/modules/`uname -r`/source/drivers/usb/input
but when i try to copy the files to that dir im told that they are "the same files"

So my guess is that my changes doesnt stick.
Any ideas on how to make that changes work?

/DonLKSAB

Author:  jesse [ Mon Nov 07, 2005 7:12 pm ]
Post subject: 

I didn't point out that you have to be root in order to make these changes.

What Cecil and I said are different means to an end. His way is just a lot quicker than mine.

Author:  DonLKSAB [ Tue Nov 08, 2005 7:01 am ]
Post subject: 

I know that i need to be root.
And i was all the times i tried.

But my remote still flipps out in myth.
As i sad i have tryed all kinds of HZ settings but none of them seems to do any differance.

Author:  jesse [ Tue Nov 08, 2005 11:28 am ]
Post subject: 

Are you rebooting after you run the install? There is a way to reload the modules, but I don't know which.

Author:  DonLKSAB [ Tue Nov 08, 2005 12:37 pm ]
Post subject: 

Yes i reboot after the install.

Are you running with HZ 10?

Author:  jesse [ Tue Nov 08, 2005 6:17 pm ]
Post subject: 

Yes, HZ / 10. Going with a lower number will make the remote less responsive/tweaking.

I can't think of any other reason for it not working for you.

Author:  DonLKSAB [ Fri Nov 18, 2005 12:09 pm ]
Post subject: 

Ok now im going nuts.
Had a fresh install and did as jesse wrote.

Worked fine no wierd jumping.

Restarted GDM with a new XF86config-4 file and its back.

So what does the XF86config file has to do with the ATI driver?

/DonLKSAB

Author:  DonLKSAB [ Fri Nov 18, 2005 12:45 pm ]
Post subject: 

After "make install modules" it says:

Code:
Kernel: arch/i386/boot/bzImage is ready  (#1)
sh /usr/src/kernel-source-2.6.13.2-chw-3/arch/i386/boot/install.sh 2.6.13.2-chw-3 arch/i386/boot/bzImage System.map "/boot"
In order to use the new kernel image you have just installed, you
will need to reboot the machine.  First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.

Checking for ELILO...No

GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/arch/i386/boot/bzImage-2.6.13.2-chw-3
  Building modules, stage 2.
  MODPOST


I made a "lilo" and it told me:
Code:
Added Linux *
Skipping /vmlinuz.old


Doesent help at all :-(
I dont have a "/boot/arch/i386/boot/bzImage-2.6.13.2-chw-3" so i dont think i need to add that.

Any ideas were i do wrong?

Author:  DonLKSAB [ Fri Dec 23, 2005 10:15 am ]
Post subject: 

Hi.

Well i have tryed Jesse's way a couple of times and it never works.
And now i tried Cesman's way and it works.

But Cesman mad e amall error in his post.
You should copy the resulting ati_remote.ko to
/lib/modules/`uname -r`/krenel/drivers/usb/input

Thanks to \Grooby\ on IRC that helped me figure it out.

/DonLKSAB

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/