Re: host to host usb transfer

2012-10-30 Thread Marek Floriańczyk
y, postgresql, openssl on this box. best regards Marek 2012/10/30, Michal Nazarewicz : > On Tue, Oct 30 2012, Marek Floriańczyk wrote: >> Lets leave windows on side for a moment. How about if I would like to >> connect >> to this Linux box with g_ether gadget from other Linux ma

Re: host to host usb transfer

2012-10-30 Thread Marek Floriańczyk
Dnia wtorek, 30 października 2012 o 14:51:33 Michal Nazarewicz napisał(a): > On Tue, Oct 30 2012, Marek Floriańczyk wrote: > > So this interface is recognized on windows as his own interface? Ip on > > this interface is configured as it was set by Linux box g_ether driver? > >

Re: host to host usb transfer

2012-10-30 Thread Marek Floriańczyk
Dnia wtorek, 30 października 2012 o 13:19:26 Ming Lei napisał(a): > On Tue, Oct 30, 2012 at 4:24 PM, Marek Floriańczyk > > wrote: > > So lets assume I have UDC and I have compiled g_ether gadget, configured > > this and it works. How to use it? > > From view of

Re: host to host usb transfer

2012-10-30 Thread Marek Floriańczyk
Dnia poniedziałek, 29 października 2012 o 23:57:04 Michal Nazarewicz napisał(a): > On Mon, Oct 29 2012, Marek Floriańczyk wrote: > > I have seen this usb-gadget subsystem before but I have never used > > this. It looks like it could server the purpose, surely my tablet is > >

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
> This sentence makes no sense, because that is impossible, because > hosts and a devices are so very different. I recommend reading > chapter 5 and/or chapter 8 of the USB 2.0 spec at > http://www.usb.org/developers/docs/usb_20_10.zip > to learn more about the differences. Those two chapters g

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
2012/10/29, Michal Nazarewicz : > On Mon, Oct 29 2012, Marek Floriańczyk wrote: >> You mean host to host usb cables? >> >> Some of them are sold with windows software to exchange files between >> computers so this is possible. Other question is how challenging that >

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
2012/10/29, Peter Stuge : > Marek Floriańczyk wrote: > That is the approach of providing no administrative tool at all. I > don't think anyone suggested that this is what you should do. this is actually what I intend to do, disallow anyone to log into the system, and provide any

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
3PM +0100, Marek Floriańczyk wrote: >> 2012/10/29, Alan Stern : >> > On Mon, 29 Oct 2012, Marek Floriańczyk wrote: >> > >> >> Yes, thank you. >> >> There is a little misunderstanding. I want to connect two applications >> >> on >> &g

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
2012/10/29, Alan Stern : > On Mon, 29 Oct 2012, Marek Floriańczyk wrote: > >> Yes, thank you. >> There is a little misunderstanding. I want to connect two applications on >> two >> computers, rather than two computers itself. > > How can you connect two applicat

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
Dnia poniedziałek, 29 października 2012 o 16:23:14 Ming Lei napisał(a): > On Mon, Oct 29, 2012 at 11:14 PM, Marek Floriańczyk > > wrote: > > Of course driver must be specifically writen to emulate ethernet device > > or something else. > > At least net1080 can be supp

Re: host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
Dnia poniedziałek, 29 października 2012 o 15:37:08 Ming Lei napisał(a): > On Mon, Oct 29, 2012 at 7:04 PM, Marek Floriańczyk > > wrote: > > Hi all > > > > I need to connect two computers and exchange data through usb cable. I > > have googled the subject an

host to host usb transfer

2012-10-29 Thread Marek Floriańczyk
Hi all I need to connect two computers and exchange data through usb cable. I have googled the subject and all I know so far is that it is impossible with straightforward approach and inadvisable. However I need it. I do wrote some soft to read/write from usb device with libusb or with hidapi

Re: loosing data on usb?

2012-09-03 Thread Marek Floriańczyk
Dnia poniedziałek, 3 września 2012 o 22:00:03 Alan Stern napisał(a): > On Mon, 3 Sep 2012, Marek Floriańczyk wrote: > > HI, > > > > Debian testing, kernel 3.2.0-3 and results are the same. Order in which I > > call devices is important, first device I call always

Re: loosing data on usb?

2012-09-03 Thread Marek Floriańczyk
Dnia sobota, 1 września 2012 o 22:51:42 Alan Stern napisał(a): > On Sat, 1 Sep 2012, Marek Floriańczyk wrote: > > > It's possible that data is getting lost, but it's pretty unlikely. The > > > only way to get more detailed debugging information is to use a USB

Re: loosing data on usb?

2012-09-01 Thread Marek Floriańczyk
Dnia sobota, 1 września 2012 o 17:38:39 Alan Stern napisał(a): > On Sat, 1 Sep 2012, Marek [iso-8859-2] Floria�czyk wrote: > > Hi everyone, > > > > I have two identical devices on usb (they are connected to bus 5 and bus > > 3 and they have different serial numbers of course). Devices are > > CKOZ

loosing data on usb?

2012-09-01 Thread Marek Floriańczyk
Hi everyone, I have two identical devices on usb (they are connected to bus 5 and bus 3 and they have different serial numbers of course). Devices are CKOZ-00/03 - Xcomfort gateway for controling house electric system. Both of them work fine when connected together and when I'm sending commands