Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline amiga1084

  • Full Member
  • ***
  • Join Date: Jul 2005
  • Posts: 214
    • Show only replies by amiga1084
Re: NEC usb hack for mediator
« Reply #29 on: November 11, 2011, 11:13:33 AM »
Hello All,

I really wish I knew about this hack before I bought one of those expensive Spider Cards from ElBox. Well done, shame on you ElBox!

Thanks in advance,
Merv Stent
 

Offline Ratte

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: NEC usb hack for mediator
« Reply #30 on: November 11, 2011, 11:47:14 AM »
Isnt it easier to modify the driver?
The mediator-pci-api has only one function to read the vendorid.
Remove it .. the code itself must snoop for a classid.
This part of the code should work without vendorid-check.
 

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 #31 on: November 11, 2011, 01:57:26 PM »
Quote from: Ratte;667423
Isnt it easier to modify the driver?
The mediator-pci-api has only one function to read the vendorid.
Remove it .. the code itself must snoop for a classid.
This part of the code should work without vendorid-check.


That's assuming it wasn't "protected" in any way. Some years back, doing that would have nuked your RDB!

Nowadays that code is (claimed to be) removed from the binary - or at least any outsider hasn't found it yet.

Anyway, regardless of whether or not it's there, I'm pretty sure it still has some other protections againist 3rd party patches. Of course there are likely ways around them.
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: NEC usb hack for mediator
« Reply #32 on: November 11, 2011, 02:14:35 PM »
Quote from: psxphill;667418

I'm not a lawyer or the police.


if you were, you should go after elbox for their illegal activities!
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #33 on: November 11, 2011, 02:29:11 PM »
Quote from: psxphill;667418
The only thing to watch out for is that this probably breaks the DMCA in America and EUCD in every country in the European Union. It may also fall foul of local reverse engineering laws.
It will also affect your contract with Elbox for running the software.
 
I'm not a lawyer or the police.

Well if that is true, isnt elbox guilty of this? i mean they are the ones who took a nec card and changed the vendor id to their own.

mech
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: NEC usb hack for mediator
« Reply #34 on: November 11, 2011, 02:34:04 PM »
Brick vs. brick situation then, both will stay undamaged if no high-speed collision take place and cause a pile of ceramic pieces :swords:
CD32
A500
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: NEC usb hack for mediator
« Reply #35 on: November 11, 2011, 02:35:07 PM »
Quote from: mechy;667431
Well if that is true, isnt elbox guilty of this? i mean they are the ones who took a nec card and changed the vendor id to their own.

mech


They didn't do it for the purpose of circumventing the protection in the driver.
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: NEC usb hack for mediator
« Reply #36 on: November 11, 2011, 02:38:52 PM »
Quote from: mongo;667434
They didn't do it for the purpose of circumventing the protection in the driver.
Yes but they seem to have made it to charge people for overpriced products.
CD32
A500
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: NEC usb hack for mediator
« Reply #37 on: November 11, 2011, 02:47:08 PM »
Quote from: Bamiga2002;667436
Yes but they seem to have made it to charge people for overpriced products.


Overpriced products aren't illegal.

Besides, the Spider is the cheapest USB adapter available for the Amiga.

http://shop.elbox.com/cgibin/shop?info=705S20
 

Offline mechyTopic starter

Re: NEC usb hack for mediator
« Reply #38 on: November 11, 2011, 02:58:33 PM »
Quote from: mongo;667434
They didn't do it for the purpose of circumventing the protection in the driver.

This hack on the hardware doesn't circumvent their driver, it complies with it.
elbox did not manufacture a usb card. they took a generic nec usb card, and changed the vendor id in it. this hack does the same thing.
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: NEC usb hack for mediator
« Reply #39 on: November 11, 2011, 03:13:29 PM »
Quote from: mechy;667438
This hack on the hardware doesn't circumvent their driver, it complies with it.


Did I say it circumvents their driver? No. I said it circumvents the protection in the driver.
 

Offline _ThEcRoW

  • Hero Member
  • *****
  • Join Date: Jul 2005
  • Posts: 753
  • Country: 00
    • Show only replies by _ThEcRoW
Re: NEC usb hack for mediator
« Reply #40 on: November 11, 2011, 03:19:17 PM »
Thanks for the tip. Will be of value when someday put the tower
again up and running.
Amiga 1200 desktop. Apollo 030/50 Mhz 8mb ram + ClassicWB + Wb 3.1
Amiga 500 + ACA500Plus + 16gb CF | ECS Power!!!
C64 DTV + Keyboard mod. Waiting for a 1541 disk ve...
Mac Mini G4 1.42Ghz 1gb OSX(tiger)/Morphos 3.7 Registered
C64mini + usb drive with loads of games...
 

Offline kolla

Re: NEC usb hack for mediator
« Reply #41 on: November 11, 2011, 03:31:40 PM »
This is like 10 years late though.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

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 #42 on: November 11, 2011, 03:36:42 PM »
Quote from: mechy;667277
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


Ah, I see. I assume this makes the USB card not work on PCs anymore.

I can understand the desire to recoup development expense of drivers. We considered how to make money on Radeon drivers once upon a time, including packaging with cards and maybe doing something in ROM. I would not have been happy with that much of a markup, even considering how pointlessly small the market is. In the end, someone bought me dinner and a Prometheus card, and that's what I got out of my small contribution. I wish I'd had more time to get things further than where that driver got. :/

But that is a big markup, and the main point of a PCI bus into our Amigas is to get those cheap PCI cards to do things with, rather than spending Amiga price money for Zorro cards. If the PCI card ends up as expensive as a Zorro equivalent, people begin wondering why bother with PCI. Too high a price compared to PC stuff invalidates the reason for PCI in Amigas. At the same time, no drivers also invalidates the reason to get PCI, so you need to motivate someone to make drivers.

It's a tough world. And in our Amiga portion of it, things can be frustrating for users and developers alike. I'm just happy someone tries.

I have a Mediator that I've never used. The whole lack of time problem has my A3000 desktop partway along to a tower case, but not far enough to use it. Been that way for a few years now. :( So I don't have experience with driver situation yet. I wish I had someplace to work on stuff and use Amigas...
Bill T
All Glory to the Hypnotoad!
 

Offline Hizoap

  • Newbie
  • *
  • Join Date: Mar 2005
  • Posts: 31
    • Show only replies by Hizoap
Re: NEC usb hack for mediator
« Reply #43 on: November 11, 2011, 04:10:39 PM »
Quote from: billt;667444
Ah, I see. I assume this makes the USB card not work on PCs anymore.


No, it will work in a pc too. I had no problems in pci 2.2

Readout from using finalwire, ebay usb on the left - elbox usb on the right.
0EE4-089E
 

Offline Hizoap

  • Newbie
  • *
  • Join Date: Mar 2005
  • Posts: 31
    • Show only replies by Hizoap
Re: NEC usb hack for mediator
« Reply #44 from previous page: November 11, 2011, 04:13:37 PM »
Quote from: mechy;667386
I ran all these cards for a good while with the ports loaded(1hr+). the 3 port card has a ldo regulator and a jumper for 3.3/5v  i ran the card at 5v on the 3.3 setting(torture testing),it makes me think the chipsets are 5v tolerant,because i saw no i'll effects.The 5 port card has no regulator to speak of but it too ran flawless for over a hour loaded.My mediator does not have a 3.3v hack.

the 2- 5 port cards i have are going to friends for stress testing,and i won't have more till the beginning of the week. by then multiple people have tested them and if theres a problem to be found it should surface. but i am confident they work well.
-----------------------------------------
From wiki-take it for what its worth:

Card voltage and keying

 
 
 
 Typical PCI cards have either one or two key notches, depending on  their signaling voltage. Cards requiring 3.3 volts have a notch 56.21 mm  from the card backplate; those requiring 5 volts have a notch 104.47 mm  from the backplate. "Universal cards" accepting either voltage have  both key notches. This allows cards to be fitted only into slots with a  voltage they support.
-----------------------------------------------

the cards i'm using have both notches,so i believe them to be universal.

mech


The nec 720101 has 3.3 V power supply, PCI signal pins have 5 V tolerant circuit.
0EE4-089E