HID USB Writepipe failing in 64 bit Lion

Hi,
I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcodeon OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my app in XCode writepipe returns with errors "404f" and "2ed". 
I've had a various look at other forums and there's nothing out there helpful.  Why would writepipe work in 32 bit mode but not in 64 bit mode?
Are there alternatives to writepipe? I don't  want to get a USB analyzer to see what the data is doing.  Is this a timing issue if so what does Lion 64 bit do different to Lion 32 bit? 
Regards,
Saj

The easiest solution is the best in most cases

Similar Messages

  • XCode HID USB Development on 64bit.  Writepipe Failing to send data

    Hi,
    I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcode on OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my app in XCode writepipe returns with errors "404f" and "2ed".
    I've had a various look at other forums and there's nothing out there helpful.  Why would writepipe work in 32 bit mode but not in 64 bit mode?
    Are there alternatives to writepipe? I don't  want to get a USB analyzer to see what the data is doing.  Is this a timing issue if so what does Lion 64 bit do different to Lion 32 bit?
    Regards,
    Saj

    K T wrote:
    Have you used USBProber to sniff the connection for clues?
    Hi,
    I have tried the USB Prober (but this doesn't seem to give any useful feedback) and also the usbtracer program.  I have looked at various forums online and below is a common response.
    " The main architectureal difference between the 27" i7 iMac (as well as any of the new MacBook Pro's 15" and 17") is that there are no OHCI or UHCI USB controllers;  there are 2 EHCI controllers, along with 2 high speed hubs inside the machine.  That means that any device that you attach will be attached to the high speed hub.    All devices are still supported, but now they are ultimately attached to the high speed controller and so the low level timing might be different.  They are also attached through a hub and not directly to the root hub (even high speed devices).
    The errors that you describe indicate that the device is either not responding to the requests or stalling the requests.
    My question is why can I transfer data in 32 bit mode on the same machine, yet in 64 bit I cannot.  The above response doesnt seem to answer that because writepipe works fine in 32 bit mode on the same machine.  Is USB timing different in 32 bit mode regardless of the architectureal difference ? 
    Below is snippet of the usbtracer tool output:
    32521.035    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32521.060 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  bmRequestType: 0x23, bRequest: 0x03, wValue: 0x0004, wIndex: 0x0003, wLength: 0x0000
    32521.095 <- Controller::Control End        (0xffffff8007dae000) error 0x0
    32521.114    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206478, microframe: 1
    32521.164 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
    32521.165    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32521.168 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32521.169 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32521.170 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32521.170 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32521.175    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32521.176 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32521.177 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
    32521.178    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32521.178 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32521.189    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
    32521.194 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
    32521.208    EHCI::PollInterrupts           (0xffffff8007dae000) Frame Rollover Interrupt
    32521.209 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32521.260    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32523.382    OutstandingIO::HubDecrement    (0xffffff8007f6cc00) serial #: 549, IO: 1, needInterruptRead: no
    32523.505    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206480, microframe: 1
    32523.531 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
    32523.532    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
    32523.536 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.537 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.538 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.539 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
    32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
    32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
    32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
    32523.578    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
    32523.617 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
    32523.624 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
    32523.625    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
    32523.635    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32523.636 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.636 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.637 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.637 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.645 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32523.706    HID::CheckForDeadDevice        (0xffffff8009648400) _retryCount: 3, _deviceHasBeenDisconnected = 0
    32523.736 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (in)  bmRequestType: 0xa3, bRequest: 0x00, wValue: 0x0000, wIndex: 0x0003, wLength: 0x0004
    32523.738    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32523.767 <- Controller::Control End        (0xffffff8007dae000) error 0x0
    32523.861    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206480, microframe: 1
    32523.901 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
    32523.901    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32523.902 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.903 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.904    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.905 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.905 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x60 status 0x0
    32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.906 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
    32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.909    Controller::Packet Handler     (0x0000000000000000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  length: 4, data: 0x1101000000000000 0x0000000000000000
    32523.913    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
    32523.916 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
    32523.923 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) GetDeviceInformation returned info: 0x48, retryCount: 3
    32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) device is still connected (and enabled) _retryCount: 3
    32523.940    HID::CheckForDeadDevice        (0xffffff8009648400) Still connected but retry count (2) not reached
    32523.949    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32526.618    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206483, microframe: 1
    32526.665 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
    32526.666    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
    32526.672 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32526.672 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.673 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32526.674 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.689    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
    32526.694    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
    32526.699    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
    32526.702    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
    32526.705    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
    32526.741 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
    32526.748 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
    32526.749    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
    32526.759    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32526.760 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32526.760 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.761 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32521.035    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32521.060 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  bmRequestType: 0x23, bRequest: 0x03, wValue: 0x0004, wIndex: 0x0003, wLength: 0x0000
    32521.095 <- Controller::Control End        (0xffffff8007dae000) error 0x0
    32521.114    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206478, microframe: 1
    32521.164 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
    32521.165    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32521.168 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32521.169 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32521.170 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32521.170 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32521.175    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32521.176 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32521.177 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
    32521.178    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32521.178 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32521.189    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
    32521.194 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
    32521.208    EHCI::PollInterrupts           (0xffffff8007dae000) Frame Rollover Interrupt
    32521.209 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32521.260    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32523.382    OutstandingIO::HubDecrement    (0xffffff8007f6cc00) serial #: 549, IO: 1, needInterruptRead: no
    32523.505    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206480, microframe: 1
    32523.531 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
    32523.532    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
    32523.536 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.537 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.538 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.539 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
    32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
    32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
    32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
    32523.578    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
    32523.617 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
    32523.624 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
    32523.625    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
    32523.635    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32523.636 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.636 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.637 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.637 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.645 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32523.706    HID::CheckForDeadDevice        (0xffffff8009648400) _retryCount: 3, _deviceHasBeenDisconnected = 0
    32523.736 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (in)  bmRequestType: 0xa3, bRequest: 0x00, wValue: 0x0000, wIndex: 0x0003, wLength: 0x0004
    32523.738    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32523.767 <- Controller::Control End        (0xffffff8007dae000) error 0x0
    32523.861    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206480, microframe: 1
    32523.901 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
    32523.901    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32523.902 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.903 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32523.904    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.905 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.905 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x60 status 0x0
    32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.906 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
    32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
    32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
    32523.909    Controller::Packet Handler     (0x0000000000000000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  length: 4, data: 0x1101000000000000 0x0000000000000000
    32523.913    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
    32523.916 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
    32523.923 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
    32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) GetDeviceInformation returned info: 0x48, retryCount: 3
    32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) device is still connected (and enabled) _retryCount: 3
    32523.940    HID::CheckForDeadDevice        (0xffffff8009648400) Still connected but retry count (2) not reached
    32523.949    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
    32526.618    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206483, microframe: 1
    32526.665 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
    32526.666    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
    32526.672 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32526.672 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.673 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    32526.674 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.689    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
    32526.694    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
    32526.699    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
    32526.702    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
    32526.705    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
    32526.741 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
    32526.748 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
    32526.749    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
    32526.759    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
    32526.760 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
    32526.760 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
    32526.761 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
    The error "0xe00002ed" is listed above: 
    32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
    32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
    32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
    32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
    What does any of this mean? I do not want to re-write my app but rather would like to understand what WRITEPIPE is doing different in 32 and 64 bit. 
    Regards,
    Saj

  • XCode USB Development on 64bit.  Writepipe Failing to send data

    Hi,
    I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcode on OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my app in XCode writepipe returns with errors "404f" and "2ed".
    I've had a various look at other forums and there's nothing out there helpful.  Why would writepipe work in 32 bit mode but not in 64 bit mode?
    Are there alternatives to writepipe? I don't  want to get a USB analyzer to see what the data is doing.  Is this a timing issue if so what does Lion 64 bit do different to Lion 32 bit?
    Regards,
    Saj

    The Developer Forum is here https://discussions.apple.com/community/developer_forums
    Might be best to ask there.
    Stefan

  • MTP USB drive Winodws 7 64 bit error

    I have recently bought iPad 4. When I connected to my computer through USB running Windows 7 Professional 64 bit  i got the following error message
    "MTP USB Device  failed to install"
    Please guide me for a solution.
    Thanks

    The user "auto-xr" posted one solution that worked for several people that you could try here: https://discussions.apple.com/thread/3153566?start=0&tstart=0.
    Edit: just substiture Apple iPad instead of iPhone.

  • Windows 7 64bit has an MTP USB Device Failed error message when I attach my Ipad1

    I keep getting an MTP USB Device Failed error message when I plug in my USB cable into my Ipad1.  Can someone help?

    This is NOT resolved.  The "Upper..."Key in the registry editor doesn't exist as you can see below in the image I am providing.  This is still an OUTSTANDING issue, can someone please help with resolving this issue, super frustrating.
    This is not just an iPAD issue, I get the same problem with my iPhone as well, both (iPhone and iPad) have the latest iOS 6.1.3 installed as well.

  • USB device failed, when I plug in iPhone 4S running windows 7 (64bit)

    When I plug in my 4s it says USB device failed. In details it says that windows terminated the process (error 43) I tried telling it to use the apple mobile device driver, but that errors as well. I last synced this phone in June, with no issues. I have uninstalled and re installed iTunes. I'm scratching my head now. Any help is appreciated

    Thanks alot mate, Sloved my problem

  • Mtp usb device failed error - iphone 3g - win 7 pro

    I have iphone 3g. I use Win 7 pro OS. when i plug in iphone to usb port, i get error message as - device driver failed to install - in detail - mtp usb device failed..
    In iTUNES i am able to view the iphone, sync my contacts with MS outlook etc..
    kindly help
    shansui

    What a load of hogwash.
    I've just had this error come up - WITH NO CHANGE OTHER THAN UPGRADE OF IPHONE 4 TO IOS 5.1.1.
    (running iTunes 10.6.1.7 on 64 Win7)
    Powered phone off, and back on again - same error... Haven't had to reinstall windows in a few years - maybe iTunes is now the least stable software in my collection - Might have to try the two (button) salute to Apple...
    Error on device "MTP USB Device";
    "This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)"

  • OBIEE 11.1.1.5 configuration failing on 64 bit Linux(please don't delete)

    Please DONOT delete this thread. I see someone keeps trying to do it don't know why. The last two threads on the same topic were
    https://forums.oracle.com/forums/thread.jspa?messageID=10473944#10473944
    and
    https://forums.oracle.com/forums/messageview.jspa?messageID=10467383&stqc=true
    OBIEE 11.1.1.5 Software only install configuration failing on 64 bit Linux
    My scenario is installing in 64 bit Linux with WLS 10.3.5 (with SOA/BAM server installed already). So as recommend by Oracle (http://docs.oracle.com/cd/E21764_01/bi.1111/e10539/a1_installscrn.htm) I did a software only install and then tried to configure BI using config.sh. I didn’t have root privilege, so continued with local inventory, hope that wasn't an issue.
    1) First time it failed in 'Configure BI Domain' step. I aborted and retried. It failed saying there is already entry in HSS Component table. I fixed the issue and tried again
    2) Then it failed again in 'Configure BI Domain' step, the error stack is
    Executing Task: Configure BI Domain
    javax.management.InstanceNotFoundException: oracle.biee.admin:group=Service,type=BIDomain
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
    at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
    at oracle.as.install.bi.biconfig.standard.BIDomainConfigureTask.doExecute(BIDomainConfigureTask.java:58)
    at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
    at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
    at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.management.InstanceNotFoundException: oracle.biee.admin:group=Service,type=BIDomain
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:58)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getClassLoaderFor(WLSMBeanServerInterceptorBase.java:53)
    at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.getClassLoaderFor(FederatedMBeanServerInterceptor.java:141)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:56)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getClassLoaderFor(WLSMBeanServerInterceptorBase.java:53)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:56)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getClassLoaderFor(WLSMBeanServerInterceptorBase.java:53)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:56)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getClassLoaderFor(WLSMBeanServerInterceptorBase.java:53)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getClassLoaderFor(WLSMBeanServer.java:527)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$19.run(JMXConnectorSubjectForwarder.java:1014)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$19.run(JMXConnectorSubjectForwarder.java:1012)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getClassLoaderFor(JMXConnectorSubjectForwarder.java:1012)
    at javax.management.remote.rmi.RMIConnectionImpl$5.run(RMIConnectionImpl.java:1326)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1323)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:771)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Does this option actually work?? Can someone help please

    Has someone ever got it to work? Is there any resolution to the problem described

  • How to communicate with HID USB device under windows XP with Labview

              I have designed a EZ-USB FX2 device and I need to communicate with LabVIEW. I mean I just want to send and receive data. I don’t know how to achieve this goal.Someone have advised me to design a HID device,then use VISA Driver Development Wizards to generate driver(inf file).SO I defined it to a hid device .However when I connect my hid device to the computer, it will automatically be recognized as HID compliance device. I can’t to install the inf file driver. I wondered whether all HID devices will be acquiescently installed the drivers contained in the windows rather than use the inf file driver generated by VISA Driver Development Wizards? If so,what should I do next to communicate with HID USB device under windows XP with Labview? HOPE TO GET HELP!
              KIVI

    Hi,
    I am working on a project using PIC18F4550 MCU and USB.
    I would need to send and receive data from the MCU thru USB. I have uninstaled the HID and created a new NI-VISA driver for my MCU. this worked fine, and it did showed up in MAX
    Unfortunately I was not able to receive data from the MCU, Just sending!
    I thought to use HID.DLL but the way I need to use the functions inside the HID DLL is simply too much for me, I am not a PC programmer.
    There is any kind of VI that is able to use HID.DLL to comunicate with external devices conected to PC thru USB?
    Please Help
    Andrei

  • Help MTP usb device failed N97

    When connected N97 via cable to pc ( windows 7 )  " MTP usb device failed" and cant see N97 in Pc suite. In mass storage mode work fine.
    Please HELP.

    Download ovi suite for n97 and your issue will be resolved.
    When u connect ur n97 for the first time after installation make sure to press install on whatever the phone is being prompted to install. Oh and one more thing .. make sure you restart your phone and your pc before doing all this
    Message Edited by agha_ali on 31-Jan-2010 11:11 AM

  • Is it possible to disable the trackpad when a wireless or usb mouse is present? With Lion 10.7.2, I can not find the checkbox that was there before I installed Lion. Is the option gone on Lion?

    Is it possible to disable the trackpad when a wireless or usb mouse is present? With Lion 10.7.2, I can not find the checkbox that was there before I installed Lion. Is the option gone on Lion?

    There is no BIOS in OS X. There is only the EFI stored in ROM that is not user modifiable. OS X is probably checking Bay 0 for the boot drive since that is where it should be. It won't check the Tempo drive since it is treated like an external drive. I suggest you open Startup Disk preferences to see if the Tempo device is selected as the boot device. If it isn't, then select it. That will probably shave off a few seconds in the startup time.

  • USB devices fail to mount

    After installing 10.4.6 my USB devices fail to mount. No icons on desktop.
    If I go to Apple menu/ Apple system Profiler/ more info/ USB, they show up OK with all correct information.
    If I go to applications/ utilities/ disk utility, they do not show up so I can mount them. In fact, disk utility spins forever. Removing the USB devices, disk utlity works OK.
    Another post suggested to reset-nvram, then reset-all. Things happened, but it did not help.
    These worked fine before the update.
    I have tried each device through a hub and directly to the computer. Still no good.
    The devices are a Dazzle compact flash reader and a Nikon camera.
    Any help would be appriciated.
    G4   Mac OS X (10.4.6)  
    G4   Mac OS X (10.4.6)  
    G4   Mac OS X (10.4.6)  

    Have you tried plugging in the devices one at a time to see if the problem is with just one of them?
    If so, you may need to contact the manufacturer & see if they say it is compatible with 10.4.6 as is, or may need a firmware update, which hopefully they can provide.
    Note: when I Googled "Dazzle compact flash reader OS X" I got several hits suggesting at least one model with this description isn't very compatible with OS X, like this one.

  • USB port fails

    I cannot believe this: never has a USB port failed on any technical object I have owned. 
    Now, when I place any cable into the mini USB port on the Playbook, there is no reaction.
    That is a disaster, what?
    Anyone else had this happen?
    Returning it on Tuesday, after the long weekend, to see what Telus will do, considering that they have ceased selling RIM Playbooks. 

    swipe up from bottom left corner to center to bring up keyboard
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • 3g usb modem does not work on Lion?

         I have had a 3g usb modem for almost two years now, it worked fine on Snow Leopard but does not pick up any connection to any cell tower after my upgrade to Lion. Any suggestions?

    Thank you 'etresoft'. With minimal information from me you have provided a fix to the problem. Although, the cost at 49.5 euros per computer is a bit steep. I think I will just buy a later spec modem at $A79 and be able to use it on all my computers. Regards from iadoreapples

  • Windows 7 Ultimate 64 bit Lion "Installer disc not found." What gives?

    I'm trying to install Windows 7 Ultimate 64 bit on a Late 2008 MacBook Pro running Lion. When I get to the partition step I get the message "Installer disc not found." I am logged in as an admisitrator. I'm using a brand new store bought DVD. Any advice?.

    Hello @rossinnit and welcome to the HP Forums!
    I'd like to help you get the Deskjet 2542 installed on your Windows 7 PC
    I'd recommend that you download and run the HP Printer Install Wizard, and that will seek out the drivers online (from the HP web page) and download them for you and then start the install as well.
    With that tool you can plug in the USB cable when it asks near the beginning to find the right drivers.
    Let me know how things go for you!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

Maybe you are looking for

  • Problem in mail sending

    hi all,        my issue is i want to send a mail by using distribution list, im doing it successfully, but the problem is that the mail is received by all the recipient but the mail doesnt shows the mail id's of htose mentioned in the cc of the distr

  • TS3212 Has anyone had trouble reinstalling iTunes??

    Anyone having trouble reinstalling Itunes? I removed it and then tried to download the latest version, but it won't complete the installation process. I get an error message saying, "it couldn't remove the previous version of Bonjour." I've tried mut

  • Copy standard BAPi

    Can anybody send me the step by step procedure for copy the standard bapi , i copied the bapi , but its no coping all the incules and function modules , when iam tyring to copy those its error.. pls any help me abt this pls.. Regards, pandu

  • Please Help!  Need to get this done soon - Bigger Size slideshow on web

    Hello, I need to publish on the web a slideshow of some of my pics, but I need to publish them at a size much bigger than the little iMovie screen size I have now with iLife 06 and .Mac (the little screens that looks like a movie screen and other des

  • Why has open with photoshop stopped working

    I have been using the 'Open With Photoshop' addon since it first became available but it has now stopped working since the last FF update. I've tried reinstalling etc. but makes no difference. Having the same issue with 'View source in Dreamweaver' I