Welcome, Guest. Please login or register.

Author Topic: Question about USB on the minimig  (Read 10050 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Belial6

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 568
    • Show all replies
    • http://www.glasshead.net
Re: Question about USB on the minimig
« on: September 23, 2007, 05:24:01 PM »
I still don't get what the huge focus is for using USB for classic gaming.  I would want to see USB for use from the Workbench.  I'm perfectly happy using a 9-pin joystick and adfs (hopefully, someone will eventually make an open IPF replacement) for gaming.

I want USB to be able to hook up a scanner, or drawing tablet, or mp3 player, or any other device I haven't thought of.  The explanation I keep hearing for why this can't/shouldn't be done is that you can't use it to replace the joysticks and floppy drives for classic gaming.

So, my question is, given that we have already established that the processor speed is not an issue due to solutions with there own built in processor, what prevents USB from working from Workbench?
 

Offline Belial6

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 568
    • Show all replies
    • http://www.glasshead.net
Re: Question about USB on the minimig
« Reply #1 on: September 23, 2007, 07:51:21 PM »
While I still believe that a USB port would be valuable (and feasible) for use from the Workbench, let me throw out another solution that could solve the problem without USB.

What do you think about some kind of USB over Ethernet?  Given that Ethernet is a given on some future revision of the MiniMig, this would make the 'USB' a completely software solution.

Again, my concern is getting access to modern devices on the Workbench.  While having a stand alone solution would be best, I think it would be safe to say that 99.5% of all MiniMig users will also have a network at home, and a full PC with USB already implemented.

I would think that this would allow the MiniMig side of things to be very light weight.  It could be a two driver system.  One driver on the PC side to export the interface, and one on the MiniMig side to access the interface.  This would put 100% of the USB stack on the PC side.  It actually wouldn't even need to be a USB device on the PC side.  I guess it would just be a 'Virtual Device' driver.

One question on behalf of the 'Classic Gaming USB' (as opposed to the  'Workbench USB') crowd would be do you think the over head of sending commands across the network would introduce more latency than would be acceptable for things like keyboards and joysticks.  I ask this because wireless keyboards and mice are pretty common these days, so the CG-USB crowd could get benefit from this kind of solution as well.  They could even use an old laptop with WiFI as a wireless USB adapter.  It seems that it would also be possible to implement a version of the Ethernet to keyboard/mouse/joystick driver directly in the FPGA, so that it would default to those devices if you were loading directly to a classic game, instead of to the workbench.

While this solution is not perfect, it seems like it would be simpler to implement in the short run with the limited resources that the MiniMig has at it's disposal.  It would also address the problems posed by both the CG-USB and WB-USB crowds.  We are after all looking for a solution to a problem.  Not a problem for our solution.

So, to those that can plan these things out in there head with little to no effort, does this sound like a feasible solution to the USB problem?
 

Offline Belial6

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 568
    • Show all replies
    • http://www.glasshead.net
Re: Question about USB on the minimig
« Reply #2 on: September 25, 2007, 08:55:58 PM »
I am very pro WB-USB, but if I were going to try to get WiFi on a MiniMig, I would be looking a Ethernet Port, and a bridge.  Wired networking is cheap, available, simple, and well understood.  WiFi on the other hand has a bunch of chips with closely guarded secrets.

On the other hand, this is a perfect example of why USB would be good.  It would only take one guy that knows how to port device drivers from Linux to add WiFi support.  He wouldn't need to know how to build the WiFi into the MiniMig directly.