Problem with LibUsbDotNet under LINUX
Milan Drášil <milan.drasil <at> geovap.cz>
2013-04-21 10:28:47 GMT
Hi all,
I've got a problem with LibUsbDotNet (2.2.8.104)
and simple USB thermometer
TEMPerV1.2. Under WIN 7 the application runs OK,
problem is in LINUX
(Linux raspberrypi 3.6.11-0-raspberrypi, image from
OpenSuse LINUX).
1) USB info runs OK
2) Detach Linux Kernel Driver also runs OK, after
that "lsusb -t" shows "no driver"
/: Bus 01.Port 1: Dev 1, Class=root_hub,
Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0,
Class=Hub, Driver=hub/3p, 480M
|__
Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx,
480M
|__ Port 3: Dev 5, If 0,
Class=Human Interface Device, Driver=,
1.5M
|__ Port 3: Dev 5, If 1,
Class=Human Interface Device, Driver=, 1.5M
3) OpenUsbDevice, SetConfiguration and
ClaimInterface(s) is OK (without detaching kernel
driver fires
the exception "resource busy" is returned).
4) ControlTransfer(s) also OK, returns correct
number of transferred bytes.
5) But, any attempt to read (OpenEndpointReader..,
Read...) from device ends with
"-7:ErrorTimeout:Operation timed
out" (I've tried timeout value from 100
to 10000 with no
difference).
This is under above metioned LINUX
only, under WIN 7 everything runs OK.
Thanks in advance for any help..
Milan Drasil
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel