Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
an interesting usb mouse hack for gamers
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
KozmoNaut
Apprentice
Apprentice


Joined: 09 Dec 2002
Posts: 168
Location: Denmark

PostPosted: Mon May 03, 2004 7:11 pm    Post subject: Reply with quote

Skrot wrote:
wormstrangler wrote:
Anyone know of a similar program for USB mice in Windows?
I found that I have to use the logitech mouse drivers in windows to get the 800DPI feel... otherwise it just feels "jumpy" like a regular mouse. But if you meant the 500hz thing... I dunno...


Nope... It would mean modifying the source to the DLL that handles USB input.
_________________
War. War never changes.
Back to top
View user's profile Send private message
stan3
n00b
n00b


Joined: 22 Feb 2004
Posts: 2

PostPosted: Wed May 05, 2004 8:44 am    Post subject: as a module Reply with quote

This seems to work as a module:

copy existing hid code
Code:

mkdir hid-hsp
cd hid-hsp
cp /usr/src/linux/drivers/usb/hid.h .
cp /usr/src/linux/drivers/usb/hid-core.c .
cp /usr/src/linux/drivers/usb/hid-input.c .
patch < hid_poll_interval-2.4.22.diff


Patch works with some offset

I have /usr/src/linux pointing at vanillia sources 2.4.26

using this as a Makefile (make sure the indentation after hid-hsp.o: and clean: lines are tabs not spaces)
Code:

WARN    := -W -Wall -Wstrict-prototypes -Wmissing-prototypes
INCLUDE := -isystem /usr/src/linux/include
CFLAGS  := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE}

hid-hsp.o: hid-core.o hid-input.o
         $(LD) -r -o $@ hid-core.o hid-input.o

.PHONY: clean

clean:
        rm -rf *.o


then

Code:

make
# <probably need to close X here>
su -
rmmod hid
insmod ./hid-hsp.o


btw hsp == high speed polling
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Wed May 05, 2004 9:27 am    Post subject: Reply with quote

regarding loggitech_applet, i'm experiencing some weird things. if my PC have to make a hard reboot (didn't confirm yet with a normal reboot) when my box is up again, the mouse buttons work but the Infra-Red light of the mouse is off so i have no movement for a while. after several hours the light turn on again. i have a logitech mx500. anyone had the same problem?
Back to top
View user's profile Send private message
shredz
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 215
Location: Antwerp

PostPosted: Wed May 05, 2004 5:22 pm    Post subject: Reply with quote

nope, this all works fine here
Back to top
View user's profile Send private message
TiP-X
n00b
n00b


Joined: 22 Oct 2003
Posts: 39

PostPosted: Wed May 05, 2004 6:35 pm    Post subject: . Reply with quote

i m using the 800 dpi applet but i don't like the 500hz patch. The mouse feeling is strange with it, maybe just because i'm not used to it (tested with q3 cpma)
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed May 05, 2004 6:39 pm    Post subject: Reply with quote

i switch kernels a lot. i even patch some myself.

finally - it took me a while to find out it was this one - i noticed
that this patch causes the selecing using the mouse in terminals
to become erratic - no longer smooth.

so i backed it out.

i did not see any improvement with it as it was, probably be-
cause i am using the 800dpi applet already.
Back to top
View user's profile Send private message
nonotme
Guru
Guru


Joined: 29 Sep 2003
Posts: 356
Location: on.ca

PostPosted: Wed May 05, 2004 6:45 pm    Post subject: Reply with quote

i've been using the logitech_applet only for several weeks now, absolutely no problems. haven't tried the 500Hz patch, doesn't interest me.
_________________
Please append [Solved] to your thread if appropriate, it helps everyone.
Back to top
View user's profile Send private message
shredz
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 215
Location: Antwerp

PostPosted: Fri May 07, 2004 2:23 pm    Post subject: Reply with quote

Yea the 800 dpi thing is real nice, what would I need 500 Hz for on a mouse anyway ? Quake3 runs only at 125 fps anyway
Back to top
View user's profile Send private message
predy
n00b
n00b


Joined: 17 Jan 2004
Posts: 15

PostPosted: Wed May 12, 2004 7:13 pm    Post subject: Reply with quote

Hallo,

does the logitech_applet work for the Cordless MousMan Optical M-RM63 ?
Back to top
View user's profile Send private message
shredz
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 215
Location: Antwerp

PostPosted: Thu May 13, 2004 1:11 pm    Post subject: Reply with quote

Don't think the mouseman mice do 800dpi
Back to top
View user's profile Send private message
phex
n00b
n00b


Joined: 08 Jun 2002
Posts: 32

PostPosted: Thu May 20, 2004 9:13 am    Post subject: Reply with quote

this patch doesnt seem to be workign in 2.6.6. i just patched the kernel, and everything was fine. but when i check the stats on the mouse, it shows the same output as normal.
-------------
USB Mouse
Speed: 1.5Mb/s (low)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 05e3
Product Id: 1205
Revision Number: 1.10

Config Number: 1
Number of Interfaces: 1
Attributes: a0
MaxPower Needed: 100mA

Interface Number: 0
Name: hid
Alternate Number: 0
Class: 03(HID )
Sub Class: 1
Protocol: 2
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 4
Interval: 2ms
Back to top
View user's profile Send private message
jimhend~1
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 89

PostPosted: Thu May 20, 2004 12:47 pm    Post subject: Reply with quote

how do u get those stats?
Back to top
View user's profile Send private message
phex
n00b
n00b


Joined: 08 Jun 2002
Posts: 32

PostPosted: Thu May 20, 2004 8:32 pm    Post subject: Reply with quote

usbview, http://www.kroah.com/linux-usb/

and also cat /proc/bus/usb/devices
Back to top
View user's profile Send private message
Sotol
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 192

PostPosted: Fri May 21, 2004 1:03 am    Post subject: Reply with quote

or 'emerge usbview'
Back to top
View user's profile Send private message
phex
n00b
n00b


Joined: 08 Jun 2002
Posts: 32

PostPosted: Fri May 21, 2004 2:46 am    Post subject: Reply with quote

actually, this is working. Even though the info says 2ms i can tell its more that that. I played quake3 a few mins ago and immediatly noticed the precision increase. hot dayum! I was railing everyone with ease, almost doubled my normal frag/damgetime. big ups to the guy that found that patch and for the developer of the *nix version. I'm going to go play some more Q3, ohhh jeahhh!

------
Kernel = 2.6.6
Back to top
View user's profile Send private message
miknight
n00b
n00b


Joined: 03 Jul 2003
Posts: 74
Location: Sydney, Australia

PostPosted: Fri May 21, 2004 12:06 pm    Post subject: Reply with quote

The logitech_applet is fantastic. The cruise control thing is something I've been wanting to get working for some time (I have an MX-500). One thing that bothers me though, the cruise control button above the mouse wheel also seems to double as the third mouse button as well, which means it pastes stuff when all I want to do is scroll. Has anyone else experienced this and/or know of a fix?
Back to top
View user's profile Send private message
Medrakil
n00b
n00b


Joined: 22 May 2004
Posts: 9

PostPosted: Sat May 22, 2004 9:02 pm    Post subject: Reply with quote

Does an Intellimouse Explorer 3.0 have this kind of "potential ownage" ?
Back to top
View user's profile Send private message
equilibrium
Apprentice
Apprentice


Joined: 29 Jun 2003
Posts: 213
Location: UK

PostPosted: Sat May 22, 2004 9:18 pm    Post subject: Reply with quote

shredz wrote:
Yea the 800 dpi thing is real nice, what would I need 500 Hz for on a mouse anyway ? Quake3 runs only at 125 fps anyway


you can play quake3 on 333fps :twisted: online etc, altho there was and is a bug when using 333fps with movement etc (you move faster and jump higher). It has been fixed on ra3 but baseq3 and 3wave still have it. Some servers only allow max at 125 tho.
_________________
kernel 4.15.17-1-equk | i3wm | github
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Tue Jun 01, 2004 8:51 pm    Post subject: Reply with quote

Quote:

patched the kernel with that 500Hz patch, but i can not
find any info on how to enable or make use of the changes.


where is it?? :(
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Tue Jun 01, 2004 9:31 pm    Post subject: Reply with quote

phex wrote:
Interval: 2ms


so, your polling is only 2ms and not 8ms or whatsoever... here it works with recent 2.6.x kernels.

@beastmaster:
Code:
dmesg | grep polling
should give you something like
Code:
using 2ms polling
or something...
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
colo
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 160
Location: Austria

PostPosted: Wed Jun 02, 2004 1:13 pm    Post subject: Reply with quote

anyone goit the kernel-patch mirrored anywhere? it's down by now ;(
_________________
Free Software. Free Sociecty. Better Lives.
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Wed Jun 02, 2004 8:28 pm    Post subject: Reply with quote

Quote:

Quote:

patched the kernel with that 500Hz patch, but i can not
find any info on how to enable or make use of the changes.


where is it??


I meant where to download the patch, I tried with the earlier post, the server is down too.[/quote]
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Thu Jun 03, 2004 7:16 am    Post subject: Reply with quote

ouh :oops:

if you can wait until beginning of next week, i can upload it, im just not at home ;)
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
DocterD
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2004
Posts: 129

PostPosted: Sat Jun 12, 2004 9:49 am    Post subject: Reply with quote

upload it :[
Back to top
View user's profile Send private message
krejler
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2003
Posts: 142
Location: Denmark

PostPosted: Sat Jun 12, 2004 11:08 am    Post subject: Reply with quote

http://omfg.linux.dk/pub/patches/hid_poll_interval-2.6.0test7.diff

Here you go :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 2 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum