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
voogz
n00b
n00b


Joined: 24 May 2004
Posts: 44

PostPosted: Mon Aug 02, 2004 3:34 pm    Post subject: Link broken and i dont have logitek applet ? Reply with quote

(on gentoo amd64)


.... how can i do ?
_________________
Gentoo AMD64 3300+
SATA RAID0
GeForce 6800 Extreme (soooon)
1GO ddr400
Audigy

I installed linux for 1st time may 2004 :p
Back to top
View user's profile Send private message
Blef
n00b
n00b


Joined: 21 Jan 2004
Posts: 26

PostPosted: Wed Aug 25, 2004 3:22 am    Post subject: Reply with quote

That logitech-applet link is dead, and google is offering no help, anyone have a copy of the archive they can put online?
_________________
Join the adopt an unanswered post initiative.
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Wed Aug 25, 2004 4:35 am    Post subject: Reply with quote

It took me 3 minutes to find it on google, but it will download itself to ur computer for sure!, just wait!
Back to top
View user's profile Send private message
Blef
n00b
n00b


Joined: 21 Jan 2004
Posts: 26

PostPosted: Wed Aug 25, 2004 12:37 pm    Post subject: Reply with quote

I looked for 30 minutes on google last nite, thanks for your help. ANd FYI, every link i found points to the dead frogmouth one, what search params did you use? Or are you just making smart ass remarks? And people say americans are rude.
_________________
Join the adopt an unanswered post initiative.
Back to top
View user's profile Send private message
RexM
n00b
n00b


Joined: 12 Aug 2004
Posts: 47
Location: South Jordan, Utah

PostPosted: Fri Aug 27, 2004 8:42 am    Post subject: Reply with quote

Can somebody explain what exactly 800dpi is?

Also, where would I go to see if my mouse supports it? I have a Microsoft Wireless Optical Mouse. Not sure of any type of model number or anything.
Back to top
View user's profile Send private message
aslocum
Apprentice
Apprentice


Joined: 28 May 2004
Posts: 217
Location: Germany, Frankfurt

PostPosted: Fri Aug 27, 2004 8:53 am    Post subject: Reply with quote

Quite sure that 800dpi will NOT work with you microsoft mouse. That applet ist only for Logitech Mice.

The Link for The Applet works fine: http://www.frogmouth.net/logitech-applet-0.3.tar.gz
_________________
Dell Latitude d610 1.6Ghz 1GB
gcc-4.0.3 2.6.15-no3
Reiser4
Back to top
View user's profile Send private message
RexM
n00b
n00b


Joined: 12 Aug 2004
Posts: 47
Location: South Jordan, Utah

PostPosted: Fri Aug 27, 2004 8:58 am    Post subject: Reply with quote

aslocum wrote:
Quite sure that 800dpi will NOT work with you microsoft mouse. That applet ist only for Logitech Mice.

The Link for The Applet works fine: http://www.frogmouth.net/logitech-applet-0.3.tar.gz


I don't necessarily mean THAT applet, but would it be possible to get 800dpi with this mouse using another method?
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: Thu Sep 02, 2004 12:35 pm    Post subject: Reply with quote

Hi :)

I've edited the original patch a bit, by adding a config option. (USB_HID_MOUSEHACK)

This patch is included in the latest release of love-sources (2.6.9-rc1-love1), and can currently be grabbed from the url below:

http://omfg.linux.dk/pub/patches/new_hid_mousehack_menuconfig-UPDATED.patch

I did this mainly for the numerous amounts of patchsets that have popped up on these forums lately. I've seen the original patch included in -nitro recently, and as far as i remember, it was also in -love a couple of months ago, but not everyone wanted it in, so it was removed. But i have a feeling that a lot of people really like this hack.

Since the original patch obviously isn't working too well for everyone, I thought I'd be nice and add a config option, so it can be disabled or enabled depending on the what the user wants.

If you're using MENUCONFIG, you can find the option by doing the following:

* Enabling "USB support"
* Enabling "USB Human Interface Device (full HID) support"
* Enabling "HID input layer support"

An option named "500Hz USB HID Mouse Polling (EXPERIMENTAL)" should now be shown below the "HID input layer support" option.

Hope you enjoy it!
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Fri Sep 03, 2004 6:11 am    Post subject: Reply with quote

If you have an MX Duo wireless keyboard/MX700 mouse you'll need this in your logitech-applet.c
Code:

    { VENDOR_LOGITECH, 0xc50b, "C-BK16A-DUAL", "MX Duo Receiver", HAS_SS | HAS_CSR },

Apparently you can't do 800cpi with an MX700?
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: Fri Sep 03, 2004 6:05 pm    Post subject: Reply with quote

krejler wrote:
Hi :)

I've edited the original patch a bit, by adding a config option. (USB_HID_MOUSEHACK)

This patch is included in the latest release of love-sources (2.6.9-rc1-love1), and can currently be grabbed from the url below:

http://omfg.linux.dk/pub/patches/new_hid_mousehack_menuconfig-UPDATED.patch

I did this mainly for the numerous amounts of patchsets that have popped up on these forums lately. I've seen the original patch included in -nitro recently, and as far as i remember, it was also in -love a couple of months ago, but not everyone wanted it in, so it was removed. But i have a feeling that a lot of people really like this hack.

Since the original patch obviously isn't working too well for everyone, I thought I'd be nice and add a config option, so it can be disabled or enabled depending on the what the user wants.

If you're using MENUCONFIG, you can find the option by doing the following:

* Enabling "USB support"
* Enabling "USB Human Interface Device (full HID) support"
* Enabling "HID input layer support"

An option named "500Hz USB HID Mouse Polling (EXPERIMENTAL)" should now be shown below the "HID input layer support" option.

Hope you enjoy it!


Hello again,

I don't know if any of you has noticed this, but with newer kernels (from 2.6.8 and above, I think) the hack prints the 'HID Mouse <whatever> forced to 2 ms polling', but isn't actually working.

There is a workaround though... You have to reload the USBHID-driver, thus it's neccesary to build USBHID as a module...

The easiest way to reload the module in Gentoo, is probably just to put something like

'rmmod usbhid; modprobe usbhid'

in your /etc/conf.d/local.start, or alternatively use this initscript:

http://omfg.linux.dk/pub/misc/usbhid_fix

EDIT:
The stuff above assumes that you are auto-loading the usbhid at startup...
If you aren't, you should edit the script, or your local.start to load the module, then unload, and load it again.
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 Sep 04, 2004 1:06 am    Post subject: Reply with quote

Here we go again! :lol:

I fixed the bug! Hurrah! :P

I decided to start from scratch, and use the old mousehack as a refference...

I removed a lot of unneeded code from it, and made it even more customizable.

You are now able to adjust your desired polling interval in your config. (Through options 'USB_HID_CONFIGURABLE_POLLING' and 'USB_HID_CONFIGURABLE_POLLING_INTERVAL')

You can grab it from the URL below:

http://omfg.linux.dk/pub/patches/configurable-hid-mouse-polling-2.6.9-rc1.patch

And oh, as the filename implies, the patch should be applied to 2.6.9-rc1.

Enjoy! :twisted:
Back to top
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat Sep 04, 2004 1:06 am    Post subject: Reply with quote

krejler wrote:
Here we go again! :lol:

I fixed the bug! Hurrah! :P

I decided to start from scratch, and use the old mousehack as a refference...

I removed a lot of unneeded code from it, and made it even more customizable.

You are now able to adjust your desired polling interval in your config. (Through options 'USB_HID_CONFIGURABLE_POLLING' and 'USB_HID_CONFIGURABLE_POLLING_INTERVAL')

You can grab it from the URL below:

http://omfg.linux.dk/pub/patches/configurable-hid-mouse-polling-2.6.9-rc1.patch

And oh, as the filename implies, the patch should be applied to 2.6.9-rc1.

Enjoy! :twisted:

Nice work krejler, it kicks ass :D
_________________
Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
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 Sep 04, 2004 1:10 am    Post subject: Reply with quote

syscrash2k wrote:
krejler wrote:
Here we go again! :lol:

I fixed the bug! Hurrah! :P

I decided to start from scratch, and use the old mousehack as a refference...

I removed a lot of unneeded code from it, and made it even more customizable.

You are now able to adjust your desired polling interval in your config. (Through options 'USB_HID_CONFIGURABLE_POLLING' and 'USB_HID_CONFIGURABLE_POLLING_INTERVAL')

You can grab it from the URL below:

http://omfg.linux.dk/pub/patches/configurable-hid-mouse-polling-2.6.9-rc1.patch

And oh, as the filename implies, the patch should be applied to 2.6.9-rc1.

Enjoy! :twisted:

Nice work krejler, it kicks ass :D


Thanks! :)
Back to top
View user's profile Send private message
phex
n00b
n00b


Joined: 08 Jun 2002
Posts: 32

PostPosted: Sat Sep 04, 2004 9:33 am    Post subject: Reply with quote

krejler, aye man. could you take a look at this compile error. i just tried to compile your patch in a 2.6.8.1 kernel, and it would'nt work. i set the mouse polling to "1" if that makes any difference.
---------------------
drivers/usb/input/hid-core.c: In function `usb_hid_configure':
drivers/usb/input/hid-core.c:1650: error: `interval' undeclared (first use in this function)
drivers/usb/input/hid-core.c:1650: error: (Each undeclared identifier is reported only once
drivers/usb/input/hid-core.c:1650: error: for each function it appears in.)
make[3]: *** [drivers/usb/input/hid-core.o] Error 1
make[2]: *** [drivers/usb/input] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

-------------------
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 Sep 04, 2004 9:53 am    Post subject: Reply with quote

phex wrote:
krejler, aye man. could you take a look at this compile error. i just tried to compile your patch in a 2.6.8.1 kernel, and it would'nt work. i set the mouse polling to "1" if that makes any difference.
---------------------
drivers/usb/input/hid-core.c: In function `usb_hid_configure':
drivers/usb/input/hid-core.c:1650: error: `interval' undeclared (first use in this function)
drivers/usb/input/hid-core.c:1650: error: (Each undeclared identifier is reported only once
drivers/usb/input/hid-core.c:1650: error: for each function it appears in.)
make[3]: *** [drivers/usb/input/hid-core.o] Error 1
make[2]: *** [drivers/usb/input] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

-------------------


Hi!

This version compiles on 2.6.8.1, (and below, I think) and /should/ work... I haven't tried it yet, but I will in a bit. :)

http://omfg.linux.dk/pub/patches/configurable-hid-mouse-polling-2.6.8.1.patch
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 Sep 04, 2004 10:19 am    Post subject: Reply with quote

Yep, it works! :D
Back to top
View user's profile Send private message
Gentii
Guru
Guru


Joined: 01 Feb 2004
Posts: 306

PostPosted: Sat Sep 04, 2004 5:06 pm    Post subject: Reply with quote

hmm I'm a bit confused with your last version. Now you can have usbhid built in the kernel and it works fine ?
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 Sep 04, 2004 5:54 pm    Post subject: Reply with quote

Gentii wrote:
hmm I'm a bit confused with your last version. Now you can have usbhid built in the kernel and it works fine ?


Yes, sorry if I didn't make myself clear! :oops:
Back to top
View user's profile Send private message
G3n2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 127

PostPosted: Thu Sep 09, 2004 6:39 pm    Post subject: Reply with quote

is there something like mouserate for linux ? i would like to test if i actually have 500hz now :)

thx for any help.
Back to top
View user's profile Send private message
G3n2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 127

PostPosted: Thu Sep 09, 2004 6:48 pm    Post subject: Reply with quote

also , i have set if (CONFIG_USB_HID_CONFIGURABLE_POLLING_INTERVAL == 0)
+ endpoint->bInterval = 1;


from 10 to 1 , is this correct for 1ms polling ?

any help is much appreciated :D.

thx

-G3n2
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: Thu Sep 09, 2004 7:50 pm    Post subject: Reply with quote

G3n2 wrote:
is there something like mouserate for linux ? i would like to test if i actually have 500hz now :)

thx for any help.


I have no idea what 'mouserate' is, sorry, but you should be able to feel if the hack is working...

G3n2 wrote:
also , i have set if (CONFIG_USB_HID_CONFIGURABLE_POLLING_INTERVAL == 0)
+ endpoint->bInterval = 1;


from 10 to 1 , is this correct for 1ms polling ?

any help is much appreciated .

thx

-G3n2


Hmmm, it seems like you're approaching this the wrong way. :D
See, I added a config option for this hack (see the posts above), so you shouldn't mess with the code to get it to work...

The default polling rate for the 'old' hack was 2 ms, which is 500Hz (1000/2=500), therefore, 1 ms would mean 1MHz, and I'm not sure it's a good idea to poll it that 'often' but I'm not stopping you. :D

As far as i know, the only mice actually officially supports to be polled at 500Hz is the Logitech MX-serie, but I can't see why other mice wouldn't work.

Also, are you using a 2.6.9 or a 2.6.8 kernel?
You mentioned 'endpoint->bInterval', which is only used in the 2.6.8 version, so if you're on a 2.6.8 kernel, fine... If not, hurry, use the 2.6.9 patch instead... The 2.6.8 patch doesn't work with 2.6.9 kernels!

Farewell! :twisted:
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: Fri Sep 10, 2004 2:22 pm    Post subject: Reply with quote

Hey, i added a mirror, since my server probably will be down for a couple of days, thanks syscrash2k!

http://syscrash2k.hopto.org/~krejler/configurable-hid-mouse-polling-2.6.9-rc1.patch
http://syscrash2k.hopto.org/~krejler/configurable-hid-mouse-polling-2.6.8.1.patch


Last edited by krejler on Sat Sep 11, 2004 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
G3n2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 127

PostPosted: Fri Sep 10, 2004 2:46 pm    Post subject: Reply with quote

hey,

im using 2.6.8-r4 (gentoo-dev-sources) for amd64 , i applied the 'old' patch and the new one , but the old one does nothing and i dont have a menuconfig for the new one , bcuz its for 2.6.9 i guess ^^ ,
i have a Logitech MX310 btw.

1Mhz sounds like an awful lot to poll a mouse :D , dont really think its safe , so will try on my old mx510 :D

thx for anything u could help me with, it just does nothing :(

[edit]

fix ur 2nd link for 2.6.8.1
it says nfigurable

will http://syscrash2k.hopto.org/~krejler/configurable-hid-mouse-polling-2.6.8.1.patch work on my 2.6.8 kernel ? :o
Back to top
View user's profile Send private message
G3n2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 127

PostPosted: Fri Sep 10, 2004 2:57 pm    Post subject: Reply with quote

hmm , i've just cleanly emerged , development-sources , which is for me 2.6.9-rc1 , i downloaded http://syscrash2k.hopto.org/~krejler/configurable-hid-mouse-polling-2.6.9-rc1.patch

patched it
Code:

patch -p1 <configurable-hid-mouse-polling-2.6.9-rc1.patch


did menuconfig.

but i cant find the usb polling interval config menu :(
i checked everyware , also the patch apply goes smoothly without any errors.

any idea's ?

-G3n2
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 Sep 11, 2004 7:16 pm    Post subject: Reply with quote

G3n2 wrote:
[edit]

fix ur 2nd link for 2.6.8.1
it says nfigurable


Thanks, I fixed it!

G3n2 wrote:
hmm , i've just cleanly emerged , development-sources , which is for me 2.6.9-rc1 , i downloaded http://syscrash2k.hopto.org/~krejler/configurable-hid-mouse-polling-2.6.9-rc1.patch

patched it
Code:

patch -p1 <configurable-hid-mouse-polling-2.6.9-rc1.patch


did menuconfig.

but i cant find the usb polling interval config menu :(
i checked everyware , also the patch apply goes smoothly without any errors.

any idea's ?

-G3n2


First of all, browse to 'Device Drivers' -> 'USB Support'.

The config-options depend on 'HID input layer support' and can be found just below that option.

The config-options are: 'Configurable USB HID Mouse Polling' and 'USB HID Mouse Polling Interval'...

Farewell! :twisted:
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 4 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