Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB Video Class device problem. Fernando Urbina?



At 5:42 PM -0700 6/20/06, Left Spin wrote:

Bulk data is streaming along fine
SET_INTERFACE alt setting 0, interface 1. This command is ack'd

That I would expect is the camera being turned "off". Alt zero should use zero bandwidth.


Then for a long time I get hammered with IN requests on Endpoint 0. I'm not sure why.

That would be the host asking for the status of the SET_INTERFACE command.

Then a DATA1 is sent from my device, with a zero length data packet. this is acked by the host.

That would be your device providing the status for the SET_INTERFACE command.

The protocol for control requests is specified in section 8.5.3 of the spec.

Then there is a CHIRP J
FULL speed J
Full speed k
and a bunch of Chirp J's
Then a get descriptor request

Your device has been reset.

Do you see a period between the SET_INTERFACE and the reset when there is a significant break in the bus traffic? You'd have to look at SOFs to see this. If there is a long break, either the camera fell off the bus, or the device was suspended. You need to look at the full speed traffic on some CATCs to see states like suspend.

You will normally see a break of 10-50ms in the SOFs for a RESET.

I could believe a device which has only worked on Windows does not cope with suspend very well. But if that were the case, I'd expect to see more traffic when the host tried to unsuccessfully tried to wake up and communicate with the device.
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden


This email sent to email@hidden
References: 
 >USB Video Class device problem. Fernando Urbina? (From: "Left Spin" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.