USB mouse hard overclocking (2000 Hz+) - Page 72 - Overclock.net - An Overclocking Community
Forum Jump: 

USB mouse hard overclocking (2000 Hz+)

Reply
 
Thread Tools
post #711 of 723 (permalink) Old 01-15-2020, 02:55 AM - Thread Starter
New to Overclock.net
 
SweetLow's Avatar
 
Join Date: Jan 2016
Posts: 486
Rep: 55 (Unique: 31)
Quote: Originally Posted by J Doe View Post
It seems that this strange behavior is somehow related to USB port and not the mouse itself. With some ports I get 125 Hz instead of overclock and with others mouse stops working. It doesn't matter which exact mouse I am trying to overclock.
Once again. If i recommend you to read something - it is not just for fun. Your USB controllers are specific thing, the drivers they use are also. But you said nothing about they.

Quote: Originally Posted by TranquilTempest View Post
I'm a bit curious how the overclocking works, does the driver poll the mouse multiple times in one frame, or does it start USB frames more frequently? I ask because some of the example code I'm looking at for writing my own mouse firmware uses the SoF callback to read the sensor, which would interfere with the first possibility.

The other options for starting sensor reads are the transfer complete callback (slightly less than 1 poll interval more latency, but should be easily overclockable), or a timer based on the transfer complete callback and the time between poll intervals(best of both worlds, but also the most work).
>does the driver poll the mouse multiple times in one frame, or does it start USB frames more frequently
The second, increase frame rate on the bus. To be precise - driver does not poll anything. USB Controller does real polling. Driver changes this polling schedule in/for controller.
And yes, i don't remember such thing as few polls in one frame in USB specification. If you know - point me to the specification location where it is described.

Last edited by SweetLow; 01-15-2020 at 05:20 AM.
SweetLow is offline  
Sponsored Links
Advertisement
 
post #712 of 723 (permalink) Old 01-15-2020, 03:01 AM
New to Overclock.net
 
J Doe's Avatar
 
Join Date: Dec 2012
Posts: 24
Rep: 0
Quote: Originally Posted by SweetLow View Post
But you said nothing about they.
You're talking about this? It's a little difficult to me.

Spoiler!
J Doe is offline  
post #713 of 723 (permalink) Old 01-15-2020, 03:12 AM
New to Overclock.net
 
TranquilTempest's Avatar
 
Join Date: Aug 2011
Posts: 1,772
Rep: 79 (Unique: 64)
Quote: Originally Posted by SweetLow View Post

>does the driver poll the mouse multiple times in one frame, or does it start USB frames more frequently
The second, increase frame rate on the bus. To be price - driver does not poll anything. USB Controller does real polling. Driver changes this polling schedule in/for controller.
And yes, i don't remember such thing as few polls in one frame in USB specification. If you know - point me to the specification location where it is described.
Nice, that makes it a bit easier. Though now I'm wondering what the non-overclockable mice are doing differently. Maybe they just take longer than 500us to run their loop.

As for the USB controller, The reason I was asking is I didn't know how it was implemented, I was thinking it might be possible to duplicate entries in the scheduling table. Definitely not something in the spec, but you wouldn't expect that of overclocking techniques.


Last edited by TranquilTempest; 01-15-2020 at 03:27 AM.
TranquilTempest is offline  
Sponsored Links
Advertisement
 
post #714 of 723 (permalink) Old 01-15-2020, 03:32 AM - Thread Starter
New to Overclock.net
 
SweetLow's Avatar
 
Join Date: Jan 2016
Posts: 486
Rep: 55 (Unique: 31)
Quote: Originally Posted by J Doe View Post
You're talking about this? It's a little difficult to me.
Да, именно об этом
Visually it's all OK with driver. Nothing prevents you in software part. But AMD xHCI controller... I never checked it myself and don't know what you really can get on such hardware. The only 100% precise testing is to get some 100% overclockable device like any MLT04 mouse, check CONTROLLER first and only after that check other mice.

Quote: Originally Posted by TranquilTempest View Post
Nice, that makes it a bit easier. Though now I'm wondering what the non-overclockable mice are doing differently. Maybe they just take longer than 500us to run their loop.

As for the USB controller, The reason I was asking is I didn't know how it was implemented, I was thinking it might be possible to duplicate entries in the scheduling table. Definitely not something in the spec, but you wouldn't expect that of overclocking techniques.
>Though now I'm wondering what the non-overclockable mice are doing differently. Maybe they just take longer than 500us to run their loop.
Generalize - they just don't answer for some polls. No matter what is limiting factor. And the most common problem is MCU firmware. qsxcv described this for Logitech mice for example.

>As for the USB controller, The reason I was asking is I didn't know how it was implemented, I was thinking it might be possible to duplicate entries in the scheduling table. Definitely not something in the spec, but you wouldn't expect that of overclocking techniques.
You are right, if we have reasonably flexible controller then we can program to poll one endpoint few times in one frame. But from my point of view
1. It's outside of the specification as i said.
2. Literally gives us nothing useful.
I can explain 2. if you want

Last edited by SweetLow; 01-15-2020 at 03:45 AM.
SweetLow is offline  
post #715 of 723 (permalink) Old 01-15-2020, 04:08 AM
New to Overclock.net
 
TranquilTempest's Avatar
 
Join Date: Aug 2011
Posts: 1,772
Rep: 79 (Unique: 64)
Quote: Originally Posted by SweetLow View Post

>As for the USB controller, The reason I was asking is I didn't know how it was implemented, I was thinking it might be possible to duplicate entries in the scheduling table. Definitely not something in the spec, but you wouldn't expect that of overclocking techniques.
You are right, if we have reasonably flexible controller then we can program to poll one endpoint few times in one frame. But from my point of view
1. It's outside of the specification as i said.
2. Literally gives us nothing useful.
I can explain 2. if you want
Well, I'm not suggesting the method be changed. I just wanted to know if using the start of frame callback function in my mouse firmware was going to be a problem, before I painted myself into a corner. It looks like I didn't need to be worried about that.

TranquilTempest is offline  
post #716 of 723 (permalink) Old 02-10-2020, 05:40 AM - Thread Starter
New to Overclock.net
 
SweetLow's Avatar
 
Join Date: Jan 2016
Posts: 486
Rep: 55 (Unique: 31)
JFYI, VIA USB3.0 Controller under Windows 7 [x64] makes 1000Hz polling on Low Speed Devices without any patching of its driver (as was in good old Windows 9x&2000 with MS USB drivers). I discovered this by accident when i tested oscilloscope.
SweetLow is offline  
post #717 of 723 (permalink) Old 02-13-2020, 09:45 AM
New to Overclock.net
 
nlse's Avatar
 
Join Date: May 2017
Posts: 60
Rep: 0
is it possible to overclock the Endgame Gear XM1?
nlse is offline  
post #718 of 723 (permalink) Old 02-13-2020, 10:43 AM
New to Overclock.net
 
Turtle Rig's Avatar
 
Join Date: Nov 2019
Posts: 488
Rep: 6 (Unique: 6)
You OC your mouse your void the warranty LOL....Great funny thread!

CPU
INTEL 10980XE @ NO STOCK
Motherboard
GIGABYTE X299X AORUS MASTER
GPU
GIGABYTE WF RTX 2080
RAM
CORSAIR DOMINATOR PLATINUM RGB @ 64GB 3200 CL16 QUAD CHANNEL B-DIE
Hard Drive
CORSAIR MP510 960GB M.2 GEN 3 SAMSUNG 950 PRO M.2 500GB 850 PRO 500GB CRUCIAL M4 500GB LaCie EXTERNAL 2TB PORSCHE DESIGN & 500GB eSATA
Power Supply
CORSAIR AX1600i TITANIUM @ CORSAIR 330r BLACKOUT EDITION CASE
Cooling
CORSAIR H115i PRO RGB @ NOCTUA NF-14's INTAKE NF-14 EXHAUST NF-P12
Monitor
AOC 40" CURVED 4k LG 55" C9 OLED G-SYNC 120HZ
Keyboard
LOGITECH 915 LINEAR WIRELESS
Mouse
LOGITECH G PRO WIRELESS LIZZARD GRIP 3M TAPE
Mousepad
STEELSERIES SMALL
Audio
LOGITECH G935 WIRELESS SCARLETT 2i2 AUDIO INTERFACE KRK ROKITS 10" & SENNHEISER HD 650 & 4.5.0 BTNC SL GRAND 88 CAKEWALK BY BANDLAB
▲ hide details ▲
Turtle Rig is offline  
post #719 of 723 (permalink) Old 02-19-2020, 04:07 PM
New to Overclock.net
 
EniGma1987's Avatar
 
Join Date: Sep 2011
Posts: 6,415
Rep: 342 (Unique: 252)
So I just found this thread and want to give it a try. The first post is quite confusing though and seems scattered all over the place. Could someone please attempt to help me a little with the proper steps to do this mod?



I looked in device manager, and my mouse seems to be connected to the Intel USB 3.0 root hub. It seems this is correct for doing the mod? Ill attach a screenshot of my device manager to this post for verification.
I have an OC Formula Z170 motherboard, and a ReDragon M901 mouse with a PixArt 3360 sensor. Using Windows 10 64-bit v.2004
It looks like I need to download the "hidusbfn.zip" file for my version of Windows? https://github.com/LordOfMice/hidusb...r/hidusbfn.zip

I did download that one and opened it. I dont know what driver to use though. My mouse already does 1000hz no problem. I can select it in my mouse software and check that it is working properly. Mouse Checker at Zowie website says I can get up to 1000Hz and a little above just fine.
The .zip file I downloaded has 4 folders in the AMD64 directory. Is the "Intel" folder the default driver that windows uses? Or is the "1000hz" folder the default driver?
Should I be starting out trying to install the "2khz-4khz" driver?
I am confused in the OP it says "run setup.exe". What is setup.exe and where am I supposed to get it from? What am I installing? Is this thing I am supposed to install after replacing the driver what I use to select the new USB frequency?
I see in the readme it mentions having to re-apply the speed change after each boot?
Attached Thumbnails
Click image for larger version

Name:	DevMan.png
Views:	1
Size:	163.5 KB
ID:	327714  



Last edited by EniGma1987; 02-19-2020 at 06:38 PM.
EniGma1987 is offline  
post #720 of 723 (permalink) Old 02-20-2020, 02:29 AM - Thread Starter
New to Overclock.net
 
SweetLow's Avatar
 
Join Date: Jan 2016
Posts: 486
Rep: 55 (Unique: 31)
Quote: Originally Posted by EniGma1987 View Post
I looked in device manager, and my mouse seems to be connected to the Intel USB 3.0 root hub. It seems this is correct for doing the mod? Ill attach a screenshot of my device manager to this post for verification.
I have an OC Formula Z170 motherboard, and a ReDragon M901 mouse with a PixArt 3360 sensor. Using Windows 10 64-bit v.2004
It looks like I need to download the "hidusbfn.zip" file for my version of Windows? https://github.com/LordOfMice/hidusb...r/hidusbfn.zip
>Using Windows 10 64-bit v.2004
>It looks like I need to download the "hidusbfn.zip" file for my version of Windows? https://github.com/LordOfMice/hidusb...r/hidusbfn.zip
No, with very high probability you need even more recent version:
https://www.overclock.net/forum/375-...l#post28099512
Or such version just does not exists right now. See the last p.s. of the first post.
And yes, read one of the manual referenced in the first post if you are experiencing a problem with figuring out what exactly you need to do.
And, of course, the best practice for hard overclocking is testing your system with overclockable device before you will try to overclock unknown devices.
SweetLow is offline  
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off