| View previous topic :: View next topic |
| Author |
Message |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Thu Jan 13, 2005 5:59 am Post subject: Pb with USB Mouse/PS2SDK |
|
|
Hello,
I try to make my very standard USB Miscrosoft Wheel Mouse Optical and I've got this error message :
| Code: | PS2MOUSE: Found a mouse device
PS2MOUSE: Connected device
PS2MOUSE: Configuration set error res 290, bytes 0, arg a2500 |
I'm using PS2MOUSE driver from PS2SDK 1.2 and USBD.IRX found with Lion's eyetoy driver sample
I took at look at ps2sdk but I did not find what has generated this error (USBD ?)
Does anybody have ever try to use a Microsoft USB mouse or found a workover ?
Thx....
Shazz _________________ - TiTAN Art Division -
http://www.titandemo.org |
|
| Back to top |
|
 |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Thu Jan 13, 2005 6:45 am Post subject: |
|
|
For information, this mouse works well with Halflife which uses a different USB mouse driver (different interface, USBMOUSE.IRX called SCE_USB_MOUSE_SAMPLE)
So where does the issue come from : USBD.IRX ? PS2MOUSE.IRX ? _________________ - TiTAN Art Division -
http://www.titandemo.org |
|
| Back to top |
|
 |
mharris
Joined: 25 Jan 2004 Posts: 155 Location: Annapolis, MD, USA
|
Posted: Thu Jan 13, 2005 7:29 am Post subject: |
|
|
Here's what I discovered after grepping the ps2sdk source:
This error is reported in iop/usb/mouse/src/ps2mouse.c in the ps2mouse_config_set() routine. This is passed as the 'doneCB' callback function to UsbSetDeviceConfiguration(), which is invoked from ps2mouse_connect().
According to the usbd.h header file, result code 290 (0x122) is USB_RC_ABORTED. The helpful comment is "Operation Aborted."
... so my guess is the USB driver attempted to configure the device, and the device either aborted the config request, or the usb driver didn't understand something and aborted it. It's been a while since I messed around with USB device drivers, so this is about as much help as I can provide. |
|
| Back to top |
|
 |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Thu Jan 13, 2005 11:57 pm Post subject: |
|
|
Thanx,
It should help, I was not able to find where the ps2mouse_config_set() was called...
So I'll try with another USBD driver, maybe it will solve my issue... or I'll write another one :D _________________ - TiTAN Art Division -
http://www.titandemo.org |
|
| Back to top |
|
 |
|