overdue-scratch

Author Topic: Some help?  (Read 8436 times)

0 Members and 1 Guest are viewing this topic.

elk

  • Observer
  • Posts: 12
Some help?
« on: April 28, 2009, 06:32:09 PM »
First of all thanks for this very nice driver, works nearly fine :)
An please appologize my noob questions :)

But to things I have to aks:
1.) What does the resolution-fix for PS2Mouse do? Does it affect the trackpad too? I'm asking because of the freaky way my mouse moves on a Lenovo S10e: A lot faster vertically, then horizontally.

2.) Are there any documents or help out there for the PrefPane settings? Without any description its hard to trimm these settings...

Thanks!

elk

  • Observer
  • Posts: 12
Re: Some help?
« Reply #1 on: April 30, 2009, 05:40:03 PM »
No answers? :(

trip2me

  • Observer
  • Posts: 21
Re: Some help?
« Reply #2 on: May 05, 2009, 09:38:57 AM »
First of all thanks for this very nice driver, works nearly fine :)
An please appologize my noob questions :)

But to things I have to aks:
1.) What does the resolution-fix for PS2Mouse do? Does it affect the trackpad too? I'm asking because of the freaky way my mouse moves on a Lenovo S10e: A lot faster vertically, then horizontally.

2.) Are there any documents or help out there for the PrefPane settings? Without any description its hard to trimm these settings...

Thanks!
in case of VoodooPS2Mouse.kext you can find VoodooPS2Mouse.kext/Contents/Info.plist.
there are 3 options.
Code: [Select]
<key>InvertY</key>
<false/>
<key>ForceDefaultResolution</key>
<false/>
<key>DefaultResolution</key>
<integer>9830400</integer>

If you want assign it forcefully, use ForceDefaultResolution and DefaultResolution field.
« Last Edit: May 05, 2009, 09:42:54 AM by trip2me »
Let's be a realist, however, keep impossible dream in our mind. -Che Guevara
All good that I do or have done is from Allah, and only the mistakes have been mine.  -Malcolm X

elk

  • Observer
  • Posts: 12
Re: Some help?
« Reply #3 on: May 05, 2009, 09:45:47 AM »
Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk

trip2me

  • Observer
  • Posts: 21
Re: Some help?
« Reply #4 on: May 05, 2009, 10:33:46 AM »
Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk


in VoodooPS2Mouse.cpp
Code: [Select]
  //
  // Obtain our mouse's resolution and sampling rate.
  //

  if (_mouseInfoBytes == (UInt32)-1)
  {
    _mouseInfoBytes = getMouseInformation();
if (forceres)
_resolution = defres;
else
  switch (_mouseInfoBytes & 0x00FF00)
  {
  case 0x0000: _resolution = (25)  << 16; break; //  25 dpi
  case 0x0100: _resolution = (50)  << 16; break; //  50 dpi
  case 0x0200: _resolution = (100) << 16; break; // 100 dpi
  case 0x0300: _resolution = (200) << 16; break; // 200 dpi
  default:     _resolution = (150) << 16; break; // 150 dpi
  }
  }

Default value is
Code: [Select]
9830400 = (150) << 16; // (default is 150 dpi; 6 counts/mm)
9834040 = 150 * 65536
« Last Edit: May 05, 2009, 10:36:17 AM by trip2me »
Let's be a realist, however, keep impossible dream in our mind. -Che Guevara
All good that I do or have done is from Allah, and only the mistakes have been mine.  -Malcolm X

worrabkram

  • Entrant
  • Posts: 5
Re: Some help?
« Reply #5 on: May 05, 2009, 02:58:30 PM »
I've got the same issue on my Samsung nc10, Vertical is much more sensitive than horizontal on the trackpad.

I'd like to sort this out but surely it needs some tweaking in VoodooPS2Trackpad.kext.

Any ideas?

Thanks :)
But what does the integers means? I'm runnig my netbook with an resolution of 1024x576, so what I have to insert there?
And, does it affect to the motion of the trackpad to? Or just with an external mice?

Best regards,
elk


in VoodooPS2Mouse.cpp
Code: [Select]
  //
  // Obtain our mouse's resolution and sampling rate.
  //

  if (_mouseInfoBytes == (UInt32)-1)
  {
    _mouseInfoBytes = getMouseInformation();
if (forceres)
_resolution = defres;
else
  switch (_mouseInfoBytes & 0x00FF00)
  {
  case 0x0000: _resolution = (25)  << 16; break; //  25 dpi
  case 0x0100: _resolution = (50)  << 16; break; //  50 dpi
  case 0x0200: _resolution = (100) << 16; break; // 100 dpi
  case 0x0300: _resolution = (200) << 16; break; // 200 dpi
  default:     _resolution = (150) << 16; break; // 150 dpi
  }
  }

Default value is
Code: [Select]
9830400 = (150) << 16; // (default is 150 dpi; 6 counts/mm)
9834040 = 150 * 65536

thorazine74

  • Member
  • Posts: 57
Re: Some help? (with mouse resolution and sampling rate)
« Reply #6 on: June 08, 2009, 10:38:32 AM »
Is it posible to set a resolution higher than 200 dpi? I tried it but it doesnt seem to accept it...
I'm asking because I'm experiencing that the cursor movement is not smooth at all. I'm using a Microsoft Wireless Optical Mouse and it works much better when connected through USB than through PS/2 (with an adapter).
Also it looks like the acceleration curve is completely wrong, and there doesnt seem to be any way of modifying it with OS X settings.
The normal cure for this is increasing the sampling rate, is it posible to do that with OS X? When you increase the resolution arent you also modifying the sampling rate?
This is how I have it set up as 200 dpi and I dont notice much difference from 150 dpi default:
Code: [Select]
<key>ApplePS2Mouse</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.PS2Mouse</string>
<key>DefaultResolution</key>
<integer>13107200</integer>
<key>ForceDefaultResolution</key>
<true/>
<key>IOClass</key>
<string>ApplePS2Mouse</string>
<key>IOProviderClass</key>
<string>ApplePS2MouseDevice</string>
<key>InvertY</key>
<false/>
« Last Edit: June 08, 2009, 10:55:54 AM by thorazine74 »
Mac OS X 10.5.6 Retail (Updated to 10.5.7) with Chameleon 2.0 RC1+BootIt NextGen 1.86 (MBR Single Drive)
Gigabyte 73PVM-S2H + C2D + 2 Gb
2 SATA HD (AppleAHCIport.kext) + 1 PATA DVD+RW (DarwinATAPort.kext)
Realtek ALC889 (VoodooHDA.kext)
Geforce 8600GTS (EFI String) PS/2 M & KB: VoodooPS2.kext