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: Mac OS X vs Linux USB drivers



From: Andre John Mas <email@hidden>
Date: Wed Feb 06, 2002 09:04:34 America/Montreal
To: Fernando Urbina <email@hidden>
Subject: Re: Mac OS X vs Linux USB drivers


On Wednesday, February 6, 2002, at 10:46 , Fernando Urbina wrote:

You do not need to activate anything for IOLog()s to start showing up. My
guess is that your driver is not matching correctly. Posting your plist and
your device's info (from % ioreg -l) to the above list will allow us to more
intelligently guess what's wrong.

I had specified the appropriate vendor id and product id, but had failed to
specify the device id. Correcting this makes the LED turn on :)

That said, I still get no logging info output - is MacOS X configured differently
from a pure Darwin environment? I don't have ioreg either. I tried
IORegistryExplorer but this doesn't show the driver being associated, even though
it is active:

{
"Bus Power Available" = 250;
"Device Speed" = 1;
IOCFPlugInTypes = {
"9dc7b780-9ec0-11d4-a54f-000a27052861" = IOUSBFamily.kext/Contents/
PlugIns/IOUSBLib.bundle;
};
IOGeneralInterest = ();
IOUserClientClass = IOUSBDeviceUserClient;
PortNum = 3;
"USB Address" = 6;
"USB Product Name" = VideoCAM;
"USB Vendor Name" = KTG;
bDeviceClass = 255;
bDeviceProtocol = 0;
bDeviceSubClass = 0;
bMaxPacketSize0 = 8;
bNumConfigurations = 1;
bcdDevice = 70;
iManufacturer = 1;
iProduct = 2;
iSerialNumber = 0;
idProduct = 20483;
idVendor = 1149;
locationID = 403898368;
}

Finally, DeviceRequest parameters bigger than 1 byte should be specified in
HOST order. The IOUSBFamily will take care of converting it to the
appropriate endianess when sending it to the USB controller.

I'll take this in note.

Thanks

Andre

--
mailto:email@hidden
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



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.