Caught Halfway Through Sprite's Usb Mod!


sausage

Still Fresh
Joined
Dec 1, 2006
Messages
27
Location
Near Canberra
Website
waynejohnson.net
Hi guys,

I finally bit the bullet and followed Sprite's Mod to add a USB port and tap the 5V internally. Guess what? During my test with long leads, it all works!

But now that I have trimmed back the wires, hot glued, and reconnected most of it, I checked back to sprite_tm's site and the images have dissappeared! Especially the simple schematic.

If I check the image URL's directly from his site (they were hosted from his university account), I get a 403 Forbidden message.

In desperation I tried a google image search to his domain to try and locate at least a thumbnail. Couldn't find the GP2x related images.

Then I tried the wayback machine. No go.

Does anyone have a mirror copy of spritesmod.com GP2x USB instructions, or just the schematic?

I can't believe the images disappeared just as I was finalising it all. :(

I am totally out of options and I have no contact information for sprite_tm. Any help would be greatly appreciated.

Wayne
 
I'm at work at the moment and the site appears to be dead. I presumed it was a knock on from yesterday, but it might be the network. I'll try a proxy browser to get to it and get in touch with him.

In the meantime, anyone got a copy on their PC?

Ok, I proxy browsed to it and left a message. Thanks for the confirmation there. I'll see how it goes.
 
I might have the images somewhere, Ill check later this day.

BTW, I did this mod aswell, It worked perfectly, but when I played longer than a hour or so my USB port got really hot, and eventually my GP2X fried..
I'm sure I followed the schematics perfectly, I hot-glued all the solder points to prevent leaking, but still this happened..
So I hope for others I did something wrong..
 
Sounds like your USB device was pulling too much current for too long. Maybe a hot joint (read: bad electrical connection) exacerbated the problem. What were the circumstances?
 
Thanks, Gavie. Yes I'd be interested to know the circumstances as well, as this is not the first time I have heard it mentioned that the mod fried a console. Unless you once mentioned it elsewhere.

I used a 100uf instead of 68uf cap. Never seen a standard 68uf cap and noone can sell it to me. My electronics experience is very minimal and I don't know if a higher cap value will smooth out the current more. Perhaps it just stores and releases charges slower.
 
Yeah I might have mentioned it before in another topic, but I have read more people having troubles with this mod..
The circumstances, well the solder points at the backside of the connector are VERY hard to solder, the contacts are very small and the wires break off easily.. Furthermore I haven't experienced any problems during the process, but if this doesn't happen to others, there must have been some kind of mysterious leak or something :p..

I have found the pictures, including the *well drawn* schematic and pictures of an other guy that posted his result in the comments..

EDIT: File has been deleted, if anyone else needs it, just PM me
 
Thank you so much for the archive. Sprite_tm did get the images back up, however, it's still not working, and I'm so sure I have checked everything.

Once the images came back, I noticed I had gotten USB+ and USB- around the wrong way, so I corrected that. So I am concerned that my power on tests with the wires switched around might have caused some damage.

I do a dmesg in the sterm without any devices attached and there are no
messages. I go to Settings and just switch on the USB Host function.

dmesg then gives:

usb.c registered new driver usbdevfs
usb.c registered new driver hub
mmsp2_usbh.c: USB Host power on
mmsp2_usbh.c: initializing MMSP2 USB host PCI-DMA workaround
f_fact = 4, f_clk = 49766400, f_err = +1766400
a_fact = 3, a_clk = 49152000, a_err = +115200
u_fact = 1, u_clk = 95846400, u_err = +47846400
usb-ohci.c USB OHCI at membase 0xf0004300, IRQ 13
usb.c: new USB bus registered, assigned bus number 1
usb.c: new device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: f0004300
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: no over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 4ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
hub.c: hub driver claimed interface c19dfba0
hub.c: kusbd: /sbin/hotplug add 1
kusbd_policy: /sbin/hotplug add 1, ret=0x0
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 4
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 5
usb.c: USB device not accepting new address=5 (error=-110)
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s

If I go back to the settings and enable the HID device, dmesg gives the
additional:

usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Voljtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice

So there are good messages there and bad ones. I sent this output to sprite_tm so it will be interesting to see what he says.

As a way to test the regular USB (non-host mode) port, I connected this to my PC and turned on USB, and the gp2x acts like a drive. So my gp2x hasn't blown it's USB hardware thankfully.
 
Hello guys! Sausage I too have been having trouble with the usb mod. I have looked at the messages I get when enabling usb host on my gp2x F200 and it is almost identical to your output. Ive made a usb cable but am getting errors when I plug in a usb device.

hub.c: new USB device <NULL>-1, assigned address 6
usb.c: USB device not accepting new address=6 (error=-110)


Sausage what kind of output are you getting when you plug in a device? The same error?

dmesg from USB host enable:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
mmsp2_usbh.c: USB Host power on
mmsp2_usbh.c: initializing MMSP2 USB host PCI-DMA workaround
f_fact = 4, f_clk = 49766400, f_err = +1766400
a_fact = 3, a_clk = 49152000, a_err = +1152000
u_fact = 1, u_clk = 95846400, u_err = +47846400
usb-ohci.c: USB OHCI at membase 0xf0004300, IRQ 13
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c1dfc7a0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: f0004300
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: no over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 4ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1dfc7a0
usb.c: kusbd: /sbin/hotplug add 1
kusbd_policy: /sbin/hotplug add 1, ret=0x0
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
SCSI subsystem driver Revision: 1.00
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 4
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: port 2, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-2, assigned address 5
usb.c: USB device not accepting new address=5 (error=-110)
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice




dmesg when I plug a usb keyboard in:

hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: port 1 reset change
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: port 1 reset change
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 12, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: port 1, portstatus 301, change 13, 1.5 Mb/s
hub.c: port 1 of hub 1 not enabled, trying reset again...
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: port 1 reset change
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 3, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 2, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: port 1 enable change, status 100
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device <NULL>-1, assigned address 4
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device <NULL>-1, assigned address 5
usb.c: USB device not accepting new address=5 (error=-110)
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 301, change 1, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 6
usb.c: USB device not accepting new address=6 (error=-110)
hub.c: port 1, portstatus 303, change 10, 1.5 Mb/s
hub.c: new USB device <NULL>-1, assigned address 7
usb.c: USB device not accepting new address=7 (error=-110)
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 301, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s



I seem to get the same output when plugging in usb mice and flash drive.


Thanks for any advice!
 
Well I got the error when activating the module. So plugging in devices just clouded the errors. But we have the same problem for sure. The author of the article was stumped.

I removed all wiring and used a PCM cleaner and there is no change now.

I think something in the USB circuitry popped or some other component died. The rest of the unit is fine.

I'm dissapointed that although USB Host Mode is supposed to be available, in reality, it's not without modification and risk. Perhaps the next version will be better. I wanted an all round cheap unit that could play games, music and occasionally used to write simple documents with an external usb keyboard (ie Alphagrip AG-5).
 
Ok after some tweaking and double checking I found that I had used a 33k resistor instead of a 33 ohm resistor on the usb filter! :eek: Also the errors that I was getting on when I enabled usbhost were normal, if you look at the gp2x usb host wiki ( http://wiki.gp2x.org/wiki/USB_Host ) and look at his output he has the same errors.

And guess what! when I plug in my usb flash drive I get this output from dmesg:

hub.c: new USB device <NULL>-1, assigned address 5
usb.c: kmalloc IF c1e04940, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 5 default language ID 0x409
Manufacturer: Kingston
Product: DataTraveler 2.0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
usb.c: usb-storage driver claimed interface c1e04940
usb.c: kusbd: /sbin/hotplug add 5
kusbd_policy: /sbin/hotplug add 5, ret=0x0
hub.c: port 2, portstatus 301, change 0, 1.5 Mb/s
SCSI device sda: 1001472 512-byte hdwr sectors (513 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
MSDOS FS: IO charset utf8

success!!

Sausage I hope your able to fix what ever is wrong with your gp2x, I kind of doubt that its usb hardware has fried in some way.. by the way, what model and firmware do you have?

I have the gp2x f200( b ) firmware 4.0 B)

Later dudes!
 
Back
Top