Re: loosing data on usb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 1 Sep 2012, Marek [iso-8859-2] Floria�k 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-00/03 - 
> Xcomfort gateway for controling house electric system. Both of them work fine 
> when connected together and when I'm sending commands to them one by one. 
> Problem appears when I send two commands (one after another in loop) to both 
> devices, which in turn are sending data to remote actuator which in turn 
> should reply with some data. In short words it looks like my computer is 
> loosing one reply from remote device.

...

> So my questions are: 
> When I'm sniffing data  like this, is it still possible that kernel, or module, 
> or whatever is loosing data that I'm waiting for, and If so, how can I produce 
> more detailed debug.

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 bus 
analyzer.

(It also wouldn't hurt to upgrade to a more recent kernel.  2.6.32 is 
getting kind of old.)

> Or is it actually a proof that CKOZ devices connected to my computer are not 
> getting data from remote actuator in the first place?

You could do more testing.  For example, run the same program but
comment out the parts that talk to the device on bus 3.  Or plug the
devices into each other's ports, or swap the serial numbers in the 
program.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux