Mailing Lists: Apple Mailing Lists

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

USB Interrupt Pipe communication



Hi,

I've looked through the archives and read all of the mail on interrupt pipe 
communication however I cannot send/receive data to/from my device using OS X 
10.2.8.

The device I am trying to communicate with is a UPS with a non-standard USB 
implementation. It is in effect emulating a serial port i.e send a string 
request e.g. "Q1" and then receive the data.

The device is shown in the USB Prober as a HID device with an interrupt out 
pipe (0x81) and an interrupt in pipe (0x02). The HIDExplorer application 
shows 3 cookies (2 (Input) ,3 (Output) ,4 (Feature))

When listening in on the windows software that came with the UPS, I can see 
many lines like: BULK or INTERRUPT IN (0x02) and BULK or INTERRUPT OUT (0x81) 
with the data and requests.

My question is what is the method I should use to replicate this? I've tried:

Using the HID manager
getElement, setElement, queryElement, setReport, getReport.

Using the USB manager in conjunction with a codeless kext:
WritePipe, ReadPipe, DeviceRequest, ControlRequest.

I can send/receive control and Device requests and I can read and set elements 
and pipes, but I cannot get any data. Where should I be looking for errors?

/Dave
-- 
Dave Glason, BSc
 _______________________________________________
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.