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: Unexpected USB behavior in new Powerbook



Yes, it really seems like this is a new bug somewhere.

I happen to have a logic analyzer hooked up to the UTMI interface in my device, so I can see what is happening. This happens in high speed mode, and my device made the mistake that it sent 7 data bytes of the device descriptor instead of the requested 8.
Everything else is fine(CRC, PID,etc).


The mac ACK's, and then sets the address normally, to which my device responds correctly.

However, the mac then goes into a very strange infinite loop, sending:
SETUP
DATA0(empty)
SETUP
DATA1(empty)

over and over again. My device is ACK'ing the data packets. The mac seems to send this forever, and when I plug any device in again I get nothing on the port. I have to reboot in order for the port to work again.

Also, I looked in the apple discussion forums for the powebook and other people seem to have problems with their USB ports on this machine as well.

I'm fixing my core to get that lost byte for the device descriptor, but still i don't see how that will cause that infinite loop. The other hosts i have just retry to get the descriptor a few times and then quit.

Cheers,
Juan

On Feb 23, 2005, at 11:25 AM, David Ferguson wrote:

Ouch! That sounds like a problem we may need to look at. It's possible it's already fixed for future OS releases. As you can imagine error handling during enumeration failures can be difficult to test (unless you have a device failing enumeration!). Is the port only "stuck" at one speed? (ie, Hi-speed doesn't work, but Full-speed/Low-speed does?)

If you could report this problem using http://bugreporter.apple.com it would be appreciated.

There are no significant differences in HW with your new 17" Powerbook, but the software could be different.

Regards,

David Ferguson
USB Software Team
Apple Computer

At 10:53 PM -0500 2/22/05, Juan Pablo Pertierra wrote:
I am developing a high speed device which will work primarily with macs. I have been using as test hosts a PC and my old powerbook 17" 1.33Ghz. Whenever there was any problem in negotiation or setup/enumeration, i could just unplug the device, fix the bug and the plug it back in and the computer attempted to enumerate as normal. This is also the way it works with the PC.

However, I just purchased a new powerbook 17" 1.67Ghz. Now, whenever my device does not respond correctly or there is any problem in enumeration, when i disconnect the device and connect it again, the port is 'frozen' and doesn't do anything at all. I've tried other devices and port will not work with anything. I have to reboot the entire system for it to work again.

I've tried the exact same device on the PC, and it has no problem attempting enumeration again simply by unplugging it and plugging it back in.

Are there any changes in the hardware/software of this new powerbook that could cause this? I had the latest upgrade of OSX on my old powerbook, i was under the impression that the software is the same on this machine. Maybe the USB controller/phy are different now?

Thanks!
Juan

_______________________________________________
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

_______________________________________________ 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


_______________________________________________ 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: 
 >Unexpected USB behavior in new Powerbook (From: Juan Pablo Pertierra <email@hidden>)
 >Re: Unexpected USB behavior in new Powerbook (From: David Ferguson <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.