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: CDC Ethernet Driver & Gumstix



Hi,
	You might want to check out:

	www.lucid-cake.net/osx_zaurus_usb/index_en.html

	I havn't tried it, and Im not sure if it is a CDC driver... but
it might be a good starting point....

	Another idea is to start with the start() (in the apple cdc
ethernet driver) method, and have it call super::start(), then
IOLog("hello world") (to send a message to the system log), and then
immediately return.  That, at least, should not panic, and you shoud be
able to see the message by opening up the Console application and looking
at system.log.  If you are patient, you might be able to narrow down where
the panic is occuring.

	-Dan

On Mon, 21 Feb 2005, Rick Mann wrote:

> Hi. I've been playing with a Gumstix SBC that I recently acquired
> (http://gumstix.com/). It is a tiny computer that runs a stripped-down
> version of Linux, based on an Xscale PXA255 CPU. It is possible to use
> the Linux USB Gadget libraries to configure the device as a CDC
> Ethernet device, but unfortunately the PXA255 does not support
> alternate configurations, and so cannot support the full CDC Ethernet
> spec.
>
> Instead, it implements a subset of the spec. I've been modifying the
> CDC Ethernet driver example code to see if I could get the thing
> talking to the Mac (apparently it works when connected to a host
> running Linux 2.6.10+ kernel, or a Windoze host). I've finally gotten
> the driver matching the Gumstix, and I'm kernel panicking.
>
> Before I spend too much more time on this, I was wondering if anyone
> who had more knowledge about CDC Ethernet and the Apple example code
> might want to chime in. Is there code somewhere that already works?
> Would you be willing to help me by answering questions? Is there
> something I should be ware of?
>
> Any help would be greatly appreciated. Thanks!
>
> BTW, this CDC Ethernet subset (you can find a *very* brief description
> at http://linux-usb.org/gadget/) does not have assigned class/subclass
> numbers, and relies solely on vendor/product IDs. Someone (Compaq?) has
> donated a vendor/product ID for use in this situation, but this strikes
> me as less than ideal. Just FYI...
>
> TIA,
>
> --
> Rick
>
>  _______________________________________________
> 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: 
 >CDC Ethernet Driver & Gumstix (From: Rick Mann <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.