LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2003, 03:32 PM   #1
some
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
hid interval patch


I've been searhing around for a week or two things relating to this issue, but there's very less those, or I'm searching with wrong keywords so sorry if there's a thread for this allready.

I suppose that at least gamers know this patch which makes possible to have 500hz mouse sampling rate on USB mouse. Everywhere I read about this seems like people doesn't have so much problems installing that patch.

Well I have problems, while compiling modules I get this error:

hid-core.c: In function `usb_hid_configure':
hid-core.c:1367: error: structure has no member named `application'
make[2]: *** [hid-core.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2

I've tried several kernels and distros, but no, always the same error if I manage to patch the kernel.
I read some thread where they used command
patch -p0 < hid-patch-2.4.new.diff
to patch the kernel. I've tried to ask there what could cause this but no answer. Maybe this is too noob question?

Hopefully someone knows what could possible cause this error, I've tried few week now and then to get it work.

Thanks allready.


 
Old 12-01-2003, 05:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
some, where you have the patch from? It looks it doesn't fit the kernel you're using. Is it possible to get different version of the patch?
 
Old 12-02-2003, 02:08 AM   #3
some
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
http://www.yhbt.net/normalperson/fil...rrupt-polling/
The patch is from here and I have tried both to 2.4.22-## kernels.
2.4.new patch goes with patch command, but gets error while compiling. This patch I've also tried to 2.4.23.
2.4.22 didn't go with patch command.
 
Old 12-02-2003, 04:16 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
I tried the patch and it works ok with my vanilla 2.4.22 kernel, try with patch -p1 for the 2.4.22 patch.
 
Old 12-02-2003, 04:04 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Are you trying with plain kernels (from kernel.org) or with kernels from your distro? Distro kernels are already patched and it's possible to apply a second pacth to th same file what sometimes leads to problems.
 
Old 12-04-2003, 06:28 AM   #6
some
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
It worked with patch -p1 and 2.4.22 version patch.
At least modules compiled fine.
Trying to solve now if it worked
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how-to: repeat OR iterate shell OR bash command delay OR interval admarshall Linux - General 5 07-18-2005 10:47 PM
how to sleep /create interval in kernel module? b123coder Programming 3 01-04-2005 10:37 AM
HID patch with slackware some Slackware 1 12-07-2003 04:01 AM
NTP polling interval in Linux? oswald21 Linux - Networking 1 03-10-2003 03:20 PM
Programmable Interval Timers saintt Linux - General 0 10-19-2001 08:50 AM


All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration