Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Porting timexdr to Mac.



I am trying to port timexdr, http://developer.berlios.de/projects/timexdr/, to a mac. A Timex Data Recorder is an EEPROM USB device from timex that records GPS and Heart Rate Data. My problem is with usb_claim_interface or as it is called in IOKit framework USBInterfaceOpen and/or USBInterfaceOpenSeize. I can not figure out how to take control of the interface or the device. I get a-536870203 or - 0xE00002C5 error ((USBInterfaceOpen): another process has device opened for exclusive access). How can I find out what process has control of it? Since it is an EEPROM does the kernel just take control of it? How can I get data off it?

Thank you.
USB Probe Logger says:
33.379 [1] IOUSBInterface[0x2a82400]::handleOpen failing because super::handleOpen failed (someone already has it open)
33.379 [1] IOUSBInterface[0x2a82400]::open super::open failed (0x0)


output from "ioreg -l" for the device:
| | | +-o Timex Data Recorder@3b100000 <class IOUSBDevice, registered, matched, active, busy 0, retain count 9>
| | | | {
| | | | "PortNum" = 1
| | | | "IOGeneralInterest" = ("_IOServiceInterestNotifier is not serializable")
| | | | "Device Speed" = 0
| | | | "iSerialNumber" = 0
| | | | "bNumConfigurations" = 1
| | | | "IOUserClientClass" = "IOUSBDeviceUserClient"
| | | | "bDeviceClass" = 0
| | | | "USB Product Name" = "Timex Data Recorder"
| | | | "iManufacturer" = 1
| | | | "USB Vendor Name" = "Timex Corporation"
| | | | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/ PlugIns/IOUSBLib.bundle"}
| | | | "bcdDevice" = 256
| | | | "bDeviceSubClass" = 0
| | | | "iProduct" = 2
| | | | "sessionID" = 241291698245461
| | | | "bMaxPacketSize0" = 8
| | | | "locationID" = 990904320
| | | | "Bus Power Available" = 250
| | | | "idProduct" = 50944
| | | | "USB Address" = 2
| | | | "bDeviceProtocol" = 0
| | | | "idVendor" = 3266
| | | | }



_______________________________________________ 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


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.