Author Topic: is it possible to tell what failed from a Mac log?  (Read 16924 times)

mdlayt

  • Member
  • ***
  • Posts: 40
is it possible to tell what failed from a Mac log?
« on: March 15, 2011, 09:01:14 pm »
On Mac OS X 10.6.5

The Console says "GetUSBDeviceInformation() for device ... failed with kIOReturnNotResponding"

The logger says

75930.062 [7]   IOUSBHIDDriver(IOUSBHIDDriver)[0x720bb00]::InterruptReadHandler  bufferSizeRemaining: 13, error 0xe00002ed
75930.062 [3]   IOUSBHIDDriver(IOUSBHIDDriver)[0x720bb00]::InterruptReadHandler 0xe00002ed (device is not responding)
75930.062 [3]   IOUSBHIDDriver(IOUSBHIDDriver)[0x720bb00]::InterruptReadHandler Checking to see if HID device is still connected

But if I go back, for example, this seems to have worked

75930.037 [5]   9925 AG Touchpad[0x6fcee00]::SetConfiguration  returning success

long after the last "GetDeviceInformation" call I see

75929.948 [6]   9925 AG Touchpad[0x6fcee00]::GetDeviceInformation, error: 0x0, info: 0x1a

A) Does this make sense to anyone?
B) Is there documentation on how to interpret the log? (eg what is the number in the bracket?, which messages really apply to my device?)

Perplexed,
Mike


[attachment deleted by admin]

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: is it possible to tell what failed from a Mac log?
« Reply #1 on: March 16, 2011, 11:00:50 am »
Whenever Mac questions came up on the old USB-IF forum, the recommendation was to ask the Apple developer's forum. I don't know if that still exists.

Jan

mdlayt

  • Member
  • ***
  • Posts: 40
Re: is it possible to tell what failed from a Mac log?
« Reply #2 on: March 18, 2011, 06:32:12 pm »
Yeh, you are probably right.  Although I think there is a certain "Barry" who posts/ed in both.

This is my first choice since this seems to be a place where the primary mission is to educate others.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: is it possible to tell what failed from a Mac log?
« Reply #3 on: March 18, 2011, 06:35:49 pm »
Thanks for posting here. Maybe Barry will chime in on this.

Jan

Guido Koerber

  • Frequent Contributor
  • ****
  • Posts: 72
Re: is it possible to tell what failed from a Mac log?
« Reply #4 on: March 25, 2011, 11:41:14 am »
You should try the Apple USB mailing list: http://lists.apple.com/mailman/listinfo/usb

Pretty much all of the Apple guys who have anything to do with USB are reading this list and are quite fast at answering questions.

mdlayt

  • Member
  • ***
  • Posts: 40
Re: is it possible to tell what failed from a Mac log?
« Reply #5 on: March 25, 2011, 07:54:03 pm »
Thanks, that looks promising.

I'm not pursuing it at the moment, however, because I have new info which makes the Mac log no longer important.

Although I will say, in retrospect, they sure don't put much useful stuff in the log.  In this case, it appears that the iMac is configuring our device, then attempting Interrupt INs (as expected), which are being orphaned because the device is not responding.  After about a thousand or so, it gives up and starts over at reset.  (According to my Beagle trace.)

I think "orphaned" is how it would behave if the address were wrong (ie, let someone else answer).  (But I know that isn't it....sigh).