Welcome, Guest. Please login or register.

Author Topic: NEC usb hack for mediator  (Read 20103 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mechyTopic starter

NEC usb hack for mediator
« on: November 10, 2011, 03:38:18 PM »
Just reprogrammed the eproms on a few different pci USB cards last night with the NEC chipsets. Thanks goes out to the guy who posted about how to do this.
My process goes something like this- Desolder the eprom,stick it in a  soic adapter and that goes into my eprom burner,load some edited eprom  code, shoot it to the eprom,remove it,solder it back on the  board.Nothing too hard just takes time.
 Seem to work fine in my A4000 with 5v Mediator. i did a 3 port and 5  port.Tested keyboards,memsticks,transcend card reader,some windows usb  cam(unrecognized)and the sony camera.
The green usb card has a 3.3/5v jumper onboard(seems to run in either  position in my 5v mediator with no bad effects). the black card has no  voltage jumper.I tested these about 1 hour.
all ports seem to work fine. This was under workbench 3.9 with poseidon  4.4 (thanks chris!) ,spider.device v3.21.My config is  csppc,radeon,sb128,100Mbit ethernet.

If anyone who doesn't have the capability to do these themselves needs  one i can probabaly offer the 5 port for $15-20 ready to go if anyone is  interested but alot of you can do it cheaper i'm sure.I haven't tried  these in the newer 1200 3.3v mediators,but no reason for them not to  work work.
Don't be surprised if elbox pulls some change in the next drivers update though.
-Mech-

EDIT:
Mediator Driver install: -how i did it-
BACKUP YOUR INSTALL FIRST! you have been warned.
Simply make a drawer called usbhardware in devs: if you don't have this from a previous mediator install.

Copy the spider.device to the above drawer - it must be 3.21 (using anything earlier might have bad effects!?!?!)

Get Poseidon 4.4 (thank chris and your lucky stars for this-maybe buy him something on his wish list).

install Poseidon 4.4 as normal,but don't select ANY of the hardware driver devices(no deneb,no subway etc -deselect all)

go thru the rest of poseidon as normal installing classes and such.

Reboot

Start trident (it should be in sys:Prefs) and goto the "devices" window (it will be empty)

open a cli and enter:
AddUSBHardware Devs:USBHardware/spider.device 2
AddUSBHardware Devs:USBHardware/spider.device 0
AddUSBHardware Devs:USBHardware/spider.device 1

you should see stuff pop up in the trident devices window as you enter and hit return on each of the above in cli.

hit the save at the bottom of the trident window and you should be ready to go!
« Last Edit: November 11, 2011, 06:10:55 PM by mechy »
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #1 on: November 10, 2011, 03:41:36 PM »
more pix...
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #2 on: November 10, 2011, 03:44:21 PM »
and the 5 port board:
 

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4051
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: NEC usb hack for mediator
« Reply #3 on: November 10, 2011, 03:47:26 PM »
Good work.  Yeah elbox bound to release updated drivers that screw with this somehow.
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: NEC usb hack for mediator
« Reply #4 on: November 10, 2011, 03:50:58 PM »
Veeerrrry Interesting... Some good work there mechy, well done! If I still used my A1200 I'd grab one of them in a shot!
Engineers do it with precision
--
http://www.robthenerd.com
 

Offline Darrin

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 4430
    • Show only replies by Darrin
Re: NEC usb hack for mediator
« Reply #5 on: November 10, 2011, 04:31:31 PM »
Hi Mechy,

I'm certainly interested in a card for my A4000's Mediator.  PM me a price (and make sure it reflects the amount of hard work you've done) and I'll place an order.

I told AmigaKit that I wanted a Spider from them months ago and heard nothing since, so I'll happily take you up on this offer and then I can put my Deneb in my A2000.
A2000, A3000, 2 x A1200T, A1200, A4000Tower & Mediator, CD32, VIC-20, C64, C128, C128D, PET 8032, Minimig & ARM, C-One, FPGA Arcade... and AmigaOne X1000.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: NEC usb hack for mediator
« Reply #6 on: November 10, 2011, 04:35:16 PM »
Brilliant.
 

Offline Jope

Re: NEC usb hack for mediator
« Reply #7 on: November 10, 2011, 04:48:42 PM »
Finally someone bothered to try this. :-) Great!
 

Offline billt

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 910
    • Show only replies by billt
    • http://www.billtoner.net
Re: NEC usb hack for mediator
« Reply #8 on: November 10, 2011, 05:14:43 PM »
What does this do? Correct for a bug in a driver, or ???

Is this Amiga/Mediator specific, or for any platform? Does it break the card for any platforms?
Bill T
All Glory to the Hypnotoad!
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #9 on: November 10, 2011, 05:26:41 PM »
Quote from: billt;667273
What does this do? Correct for a bug in a driver, or ???

Is this Amiga/Mediator specific, or for any platform? Does it break the card for any platforms?

The story goes basically like this: elbox took a $5 usb card with nec chipset,modified the eprom on it to have their vendor id,and then coded the driver to not work with a cheap card so they could gouge the amiga ppl $90 for a $5 card.

this hack changes the generic cheap NEC card's eprom  to their vendor id so it works with the Mediator.

this is a PCI card and can only be used in the mediator. i have no idea if this works in anything other than the amiga/mediator.

mech
 

Offline Jupp3

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 364
    • Show only replies by Jupp3
    • http://jupp3.amigafin.org
Re: NEC usb hack for mediator
« Reply #10 on: November 10, 2011, 05:31:55 PM »
Great :-)

So finally elbox PCI bus works as every PCI bus should - working with ALL (USB) PCI cards regardless of "manufacturer" - after all, it's probably just a single number (manufacturer ID) (well, it's pretty obvious Elbox didn't manufacture those USB boards...)

So how long until Elbox comes up with an "important security fix for all Mediator users"? :-D

Sure, they might not be able to "prevent everything", but the first post proves, they aren't f.ex. checking for "correct" amount of USB ports (whatever happened to be on those they bought to resell at huge profit). There are likely LOTS of similar things the driver can check, but didn't yet, as there was no need to (as this kind of hacks weren't at least too public until now)

-EDIT-
I'm not a Mediator owner myself, but feel happy for all Mediator users, who finally can use USB card from ANY manufacturer (as long as the drivers are compatible), just like PCI was meant to be.
« Last Edit: November 10, 2011, 05:35:40 PM by Jupp3 »
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #11 on: November 10, 2011, 05:44:06 PM »
Quote from: Jupp3;667278
Great :-)

So finally elbox PCI bus works as every PCI bus should - working with ALL (USB) PCI cards regardless of "manufacturer" - after all, it's probably just a single number (manufacturer ID) (well, it's pretty obvious Elbox didn't manufacture those USB boards...)

So how long until Elbox comes up with an "important security fix for all Mediator users"? :-D

Sure, they might not be able to "prevent everything", but the first post proves, they aren't f.ex. checking for "correct" amount of USB ports (whatever happened to be on those they bought to resell at huge profit). There are likely LOTS of similar things the driver can check, but didn't yet, as there was no need to (as this kind of hacks weren't at least too public until now)

-EDIT-
I'm not a Mediator owner myself, but feel happy for all Mediator users, who finally can use USB card from ANY manufacturer (as long as the drivers are compatible), just like PCI was meant to be.

I wouldn't say all cards work, i stuck with the NEC chipset cards.. I would doubt it would work with other usb cards without the nec chipset but feel free to prove me wrong :razz: .
There is no way to be sure on this stuff, they could change a driver and break it. In theory if you stick with poseidon 4.4 and don't upgrade to anything new they put out it should keep working indefinately.

We should of had access to these cheap cards from day one.

mech
« Last Edit: November 10, 2011, 05:57:22 PM by mechy »
 

Offline Darrin

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 4430
    • Show only replies by Darrin
Re: NEC usb hack for mediator
« Reply #12 on: November 10, 2011, 08:53:17 PM »
I think that Elbox need to change the way they now market the Mediator.  Instead of making money off the PCI cards, they should concentrate on just selling the Mediator bus boards.

When you consider the cost of adding a Zorro RTG card to a big box Amiga, a USB solution (either Zorro or clockport) and a better sound card, if you know that you can buy a Mediator from $285 upwards and that you can plug in your own dust-covered ViRGE graphics card, a $5 USB card and a salvaged SB128 card then it more than pays for itself.
A2000, A3000, 2 x A1200T, A1200, A4000Tower & Mediator, CD32, VIC-20, C64, C128, C128D, PET 8032, Minimig & ARM, C-One, FPGA Arcade... and AmigaOne X1000.
 

Offline ferrellsl

Re: NEC usb hack for mediator
« Reply #13 on: November 10, 2011, 09:06:18 PM »
Cheap hardware for the Amiga masses?!  Surely you jest!  It's a tradition to gouge Amigans.. Common sense and decency be damned.....we have traditions to uphold!  :-)

If you don't believe me, just ask Hyperion and A-Eon!
 

Offline Heiroglyph

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: NEC usb hack for mediator
« Reply #14 on: November 10, 2011, 09:18:21 PM »
I understand funding the driver development, but ouch, $70 markup for 9 years is not cool.  And if you have two mediators?  You paid $140 for drivers!  That's more than most whole OS's.

Good hack job mech!

Edit: I forgot, we're still paying for Mediator CD's on top of that...Isn't THAT supposed to be funding driver development? Yeah, I have NO problems with this little trick.  Bravo.
« Last Edit: November 10, 2011, 09:23:58 PM by Heiroglyph »