USB over IP

2012-05-21 Thread Daniel Braniss
I need to control some lab equipment with several usb based controllers
(mostly serial) and was wondering if it can be done over IP, there is such a
thing called usbip, but couldn't find what 'server' is needed.
all the boxes I found are not cheep, but worse, only provide binaries
for windows, or linux.

cheers,
danny
 

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: USB over IP

2012-05-21 Thread Uffe Jakobsen



Hi,

On 2012-05-21 12:46, Daniel Braniss wrote:

I need to control some lab equipment with several usb based controllers
(mostly serial) and was wondering if it can be done over IP, there is such a
thing called usbip, but couldn't find what 'server' is needed.
all the boxes I found are not cheep, but worse, only provide binaries
for windows, or linux.


I'm not entirely sure about your setup - you write usb based controllers 
- and then mostly serial...


I know it is not strictly speaking usb over ip - but did you look at RFC 
2217 ?


https://tools.ietf.org/html/rfc2217

There are several projects supporting RFC 2217:

http://ser2net.sourceforge.net/
http://sourceforge.net/projects/sercd/
http://sourceforge.net/projects/cyclades-serial/

ser2net and sredird are in FreeBSD ports:

http://www.freshports.org/comms/ser2net/
http://www.freshports.org/comms/sredird/

/Uffe


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: USB over IP

2012-05-21 Thread Daniel Braniss
 
 
 Hi,
 
 On 2012-05-21 12:46, Daniel Braniss wrote:
  I need to control some lab equipment with several usb based controllers
  (mostly serial) and was wondering if it can be done over IP, there is such a
  thing called usbip, but couldn't find what 'server' is needed.
  all the boxes I found are not cheep, but worse, only provide binaries
  for windows, or linux.
 
 I'm not entirely sure about your setup - you write usb based controllers 
 - and then mostly serial...
 
I know, the word serial is confusing, what I meant is that the USB connection
(which could be a mass-storage, camera, etc) is in my case serial (ie rs232)

 I know it is not strictly speaking usb over ip - but did you look at RFC 
 2217 ?
yes, but it's not relevant to what I'm looking for, I want to send/receive
the USB protocol over IP. I only mentioned the serial (rs232) because I don't
need speed (as opposed to a camera, audio, etc)

cheers,
danny


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: USB over IP

2012-05-21 Thread Daniel Grech
something similar is being done in the latest versions of qemu. There is a
usb redirection module which is in the form of a client/server architecture
where USB packets are sent over IP. These two modules communicate with
eachother through a protocol developed specifically for the redirection of
USB devices over IP so if I were you I would have a look at the qemu code
for some ideas.

On Mon, May 21, 2012 at 2:24 PM, Daniel Braniss da...@cs.huji.ac.il wrote:

 
 
  Hi,
 
  On 2012-05-21 12:46, Daniel Braniss wrote:
   I need to control some lab equipment with several usb based controllers
   (mostly serial) and was wondering if it can be done over IP, there is
 such a
   thing called usbip, but couldn't find what 'server' is needed.
   all the boxes I found are not cheep, but worse, only provide binaries
   for windows, or linux.
 
  I'm not entirely sure about your setup - you write usb based controllers
  - and then mostly serial...
 
 I know, the word serial is confusing, what I meant is that the USB
 connection
 (which could be a mass-storage, camera, etc) is in my case serial (ie
 rs232)

  I know it is not strictly speaking usb over ip - but did you look at RFC
  2217 ?
 yes, but it's not relevant to what I'm looking for, I want to send/receive
 the USB protocol over IP. I only mentioned the serial (rs232) because I
 don't
 need speed (as opposed to a camera, audio, etc)

 cheers,
danny


 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: USB over IP

2012-05-21 Thread Daniel Braniss
 --047d7b10ce794d5a1004c08b261e
 Content-Type: text/plain; charset=ISO-8859-1
 
 something similar is being done in the latest versions of qemu. There is a
 usb redirection module which is in the form of a client/server architecture
 where USB packets are sent over IP. These two modules communicate with
 eachother through a protocol developed specifically for the redirection of
 USB devices over IP so if I were you I would have a look at the qemu code
 for some ideas.

do you know if there is a description of the protocol (rfc?) like there is for
iscsi, or ata ip?

there is alos the usbip project for linux, maybe it can be ported ...

cheers,
danny



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org