New Approach to adding USB Master

Posted by: matthew_k

New Approach to adding USB Master - 27/03/2005 21:46

There's been much talk of the uses of a usb master port on the empeg, and just about as many ideas for ways to solve the problem.

The other day Mike Comb asked for a bluetooth bridge to allow him to use his KVM connected peripherals on his laptop, and I pointed him towards the keyspan usb server which wasn't what he was asking for, but solved his problem. Then it occured to me that this is the exact hardware we need to add USB support to our empegs. Ever wanted to dump CF or SD cards to your empeg? Ever wanted your empeg to have bluetooth so it could pop up the name of whover was calling your cell phone on the screen? Ever wanted to load your flash based mp3 player with tunes directly from your empeg?

The only piece missing is linux support for the usb server. Keyspan seems to be interested in adding linux support. Perhaps I'll email and ask how it's coming along. If they were convinced to open source a theoretical linux driver, how hard would it be to port to the empeg?

Matthew
Posted by: cushman

Re: New Approach to adding USB Master - 28/03/2005 01:00

Bluez (Linux bluetooth driver) works with many BT-Serial devices, but it does not work with the 2.2 kernel. This is probably a hurdle unless mlord gets a new distro working with an upgraded kernel. I doubt they would write a driver to work with 2.2, especially since they might be able to use pieces of Bluez.

This device seems very promising for PDA->Empeg BT connectivity (this was found by kendrick) since it does not require any drivers, it emulates a serial port. I probably will investigate using this for Palm->Empeg connectivity sometime in the near future.
Posted by: mcomb

Re: New Approach to adding USB Master - 28/03/2005 19:12

In case it wasn't clear the device Mattew linked to has nothing to do with bluetooth. Its basically a USB to ethernet bridge. It connects to USB slave devices (USB hard drives, printers, etc) and exports them over ethernet. A piece of software then runs on one or more computers connected to the network which implements a USB hub in software. Any devices plugged into the keyspan then show up to the computer as plugged into the virtual USB hub. So you could take one of these USB servers and plug it into the empeg on the ethernet port and have access to virtually any USB device (USB hard drives and USB bluetooth dongles being obvious examples) and access them from the empeg. It is a neat idea, if we had the software to do it.

-Mike
Posted by: mlord

Re: New Approach to adding USB Master - 28/03/2005 20:57

Or more to the point, it could perhaps be used to export a Mk1 unit over ethernet.. (which the mk1 lacks).. but not the best of setups.
Posted by: mcomb

Re: New Approach to adding USB Master - 28/03/2005 21:15

Quote:
Or more to the point, it could perhaps be used to export a Mk1 unit over ethernet

Well, yes, maybe, but that certainly isn't what I would use one for. Are there really people out there willing to spend a hundred bucks to network enable a mk1? It wouldn't be any faster than USB and the money seems like it would be better spent as a (partial) payment on a mk2.

Anyway, to me the better use would be as a peripheral bus. If you buried one of these boxes in your dash you could have more than 2 hard drives, a GPS connection, bluetooth, wifi, extra serial ports, OBD2 interface, etc. all hooked up to the empeg at the same time using off the shelf hardware and existing linux drivers.

-Mike
Posted by: mlord

Re: New Approach to adding USB Master - 28/03/2005 22:46

Quote:
Are there really people out there willing to spend a hundred bucks to network enable a mk1?


Silly question! Of course there are! But we already have a better, native solution to that problem, just needs a bit more polish (USB->ethernet emulation).

Cheers!
Posted by: cushman

Re: New Approach to adding USB Master - 28/03/2005 23:47

Quote:
In case it wasn't clear the device Mattew linked to has nothing to do with bluetooth.

Right, I must have been high when I wrote that (all that Easter sugar).
Posted by: schofiel

Re: New Approach to adding USB Master - 13/05/2005 07:27

Are there really people out there willing to spend a hundred bucks to network enable a mk1?

Yes, why not?
Posted by: HOT2N

Re: New Approach to adding USB Master - 09/03/2006 11:53

This may be much easier now that Atmel makes micro controller with intergrated software selectable Host/Function USB support.

Atmels page can be found here

my only suggestion would be to let one of the Empegs serial ports controll the bridge device so you don't poll it to death.