Hi Pat,
What does ioreg output for the Interface?
From what I recall the Timex heart rate monitor presents itself as a
vendor specific HID device. If so, the exclusive access issue you are
experiencing is the IOUSBHIDDriver matching to IOUSBInterface. You
can choose to use the HID Manager talk to the device, or setup a
code-less kext that prevents the IOUSBHIDDriver from matching on the
interface. There are plenty of messages in the archives that explain
how to accomplish this.
- Rob
On Feb 20, 2006, at 6:43 PM, Pat Murray wrote:
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