On Mon, Mar 8, 2010 at 10:31 AM, AnthonyB <abia...@uic.edu> wrote:
> Hi, I'm a student working on an undergraduate senior design project,
> and I've been reading up on your host patch because we are using the
> HTC Sprint Hero in our project.  You seem to know a lot about the USB
> so I was wondering if you could help me.  We are trying to take in a
> serial string of data from a device through USB.  The device sends
> data every second starting with a # sign and ending with a $ sign.  I
> was wondering if you knew of a way to pole the USB data lines (by
> their address or some other command) for the the # sign and then for
> the $ sign.  Is this even possible, or is there maybe a better way to
> try to accomplish this?

You can not "poll the USB data lines", that does not work at all, please
go read the USB spec at www.usb.org for why that is so.

You need to write a USB driver on the device side (and probably the host
side as well) to send/receive such a command.

best of luck,

greg k-h

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to