<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/6164" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-11-05T12:49:09+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/6164</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-05T12:49:09+02:00</updated>

		<published>2011-11-05T12:49:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6164&amp;p=20081#p20081</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6164&amp;p=20081#p20081"/>
		<title type="html"><![CDATA[Receiving a simple bulk message on my device]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6164&amp;p=20081#p20081"><![CDATA[
Hi, my Linux driver on host side sends a bulk message with the following USB subsystem call:<br /><br />usb_bulk_msg(...)<br />1. param: usb_dev<br />2. param: pipe 1<br />3. param: data 0x5<br />4. param: len 1<br />5. param: actual len: pointer of int<br />6. param: timeout 200<br /><br />In the kernel documentary I found regarding to the usb_bulk_msg function: &quot;This function sends a simple bulk message to a specified endpoint and waits for the message to complete, or timeout. If successful, it returns 0, otherwise a negative error number.&quot;<br /><br />What I want to do is receiving this bulk message on my device in any way that usb_bulk_msg returns 0. Because otherwise my driver initialization fails at all. And I am not able to remove this call at the moment.<br /><br />Can anybody help me? I don't know what really to do on the device side to make it work.<br /><br />Thanks in advance,<br /><br />Tommy<p>Statistics: Posted by Guest — Sat Nov 05, 2011 12:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
