Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: uploading firmware to a wireless network card
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uploading firmware to a wireless network card



Gerald,

If I recall correctly if you have a composite device (and I am guessing you do if IOUSBComposite matches to your device) you should write a USB interface driver (i.e. match to the interface instead of the device it self).

Check out the USB Device Interface Guide <http://developer.apple.com/documentation/DeviceDrivers/Conceptual/USBBook/index.html>, particularly the section called "USB Devices on Mac OS X" for more information.

Also you may want to check out the usb mailing list: <http://lists.apple.com/mailman/listinfo/usb>, the folks that hang out on this list are great for answering questions like these.

--

Cliff Russell



On 13-Sep-05, at 12:53 PM, email@hidden wrote:

Date: Tue, 13 Sep 2005 00:19:44 -0700

From: Dave Rehring <email@hidden>

Subject: Re: uploading firmware to a wireless network card

To: Gerald Heinig <email@hidden>,    Darwin Drivers

    <email@hidden>

Message-ID: <BF4BCBA0.3DBDD%email@hidden>

Content-Type: text/plain;    charset="US-ASCII"


On 9/12/05 11:57 PM, Gerald Heinig at email@hidden wrote:



Hi Dave,


sorry to change the subject slightly, but I'm intrigued by the second to

last line of this paragraph in your post:



2.  Write a second kernel extension that matches on the device without the

firmware, and had the firmware embedded in it as a global.  Then this kext

uploads the firmware from the global to the device when it's plugged in [or

the computer is turned on], then this kext exits and gets the system to

re-match, and this time, the device then should match to the real controller

kext. Again, implementation details are left to the reader...



So you can get the system to re-match your driver? _Any_ driver?

This might come in rather handy for me, because when I unload my USB

device driver and leave the device plugged in, it appears  to me (I

could be wrong!) that IOUSBComposite attaches to my device. It's a minor

niggle, easily solved by unplugging and reinserting my device, but it is

a slight bother.

Can I somehow boot IOUSBComposite off and let my driver re-attach?



Sorry, but offhand, I don't know.  I would suggest digging through the

archives of the three darwin development lists [darwin, darwin-kernel,

darwin-driver], as they are fabulous resources for info like this.


Later,

-- 

David Rehring                  Psychos do not explode when light hits

VP of Research and Development them, no matter how crazy they are...

Atimi Software, Inc.

www.atimi.com                  And totally insane guy!



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.