Hi all,
my device has 2 bulk and 2 isochron endpoints.
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0471 ProdID=0168 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
I: If#= 0 Alt= 1 #EPs= 4 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=01(Isoc) MxPS= 512 Ivl=1ms
E: Ad=86(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I try to send data in bulk out endpoint. The write is always successfull. But i
cant read out. I always get a timeout message.
How i can setup a read of a enpoint which address is 84 on interface 0
altsetting 1 ?
/retval = usb_bulk_msg (dev->udev,
usb_rcvbulkpipe (dev->udev,
dev->bulk_in_endpointAddr),
dev->bulk_in_buffer, dev->bulk_in_size,
&count, 10000);
This code fails.
Thank you for your help
Marco
--
---------
Marco Schramel
R&D
Bartec GmbH
Schulstr. 30
94239 Gotteszell, Germany
www.bartec.de
[EMAIL PROTECTED]
Phone: +49 (0)9929/301332
Fax: +49 (0)9929/301112
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel