RE: Accessing Hardware
RE: Accessing Hardware
- Subject: RE: Accessing Hardware
- From: "Bill Judd" <email@hidden>
- Date: Tue, 14 Aug 2001 10:38:14 -0700
Roger,
I want to access a USB device, based on the Cypress / AnchorChips EZ-USB
chip, such as described in Apple's document "Working With USB Device
Interfaces". Could the example code, starting on page 11 of that document,
be implemented as a Cocoa app? Or could the example, as is, be wrapped by a
Cocoa front-end? A simple goal for my project would be a single-document
app showing three buttons, "1", "2", and "3". Clicking on a button would
cause a USB Bulk OUT transfer of the corresponding numeric value to the USB
device.
Thanks
Bill
Bill Judd
Staff Applications Engineer, USBApps,
Cypress Semiconductor
3901 N. First St. M/S 4
San Jose, CA 95134
V: +1 (408) 545-7846
F: +1 (408) 545-6918
W:
http://www.cypress.com/usb/index.html
For USB Technical Support
Applications Hotline: +1 (858) 613-7929
Applications E-Mail: email@hidden
>
-----Original Message-----
>
From: Roger Smith [mailto:email@hidden]
>
Sent: Tuesday, August 14, 2001 10:09 AM
>
To: Bill Judd; email@hidden
>
Subject: Re: Accessing Hardware
>
>
>
You have to be more specific in your goal, what is your hardware and
>
what are you trying to do. Are you writing the driver and App
>
yourself and need to communicate between them? Are your trying to
>
talk to a serial port? Depending on your needs there are slightly
>
different approaches..
>
>
>
Roger
>
>
At 9:58 AM -0700 8/14/01, Bill Judd wrote:
>
>How do you access hardware from Cocoa apps?
>
>
>
>Apple's document "Accessing Hardware From Applications"
>
>(http://developer.apple.com/techpubs/macosx/Kernel/IOKit/DeviceIn
>
terfaces/Ac
>
>cessingHardware.pdf) shows how to access hardware by
>
communicating with the
>
>kernel.
>
>
>
>I'm a Cocoa newbie... or maybe even just a Cocoa wannabe. It's not clear
>
>how to implement what's in Apple's doc in Cocoa. Can someone out there
>
>point the way? Perhaps with some sample code?
>
>
>
>Thanks much!
>
>
>
>--
>
>Bill Judd
>
>Staff Applications Engineer, USBApps,
>
>Cypress Semiconductor
>
>3901 N. First St. M/S 4
>
>San Jose, CA 95134
>
>V: +1 (408) 545-7846
>
>F: +1 (408) 545-6918
>
>
>
>W: http://www.cypress.com/usb/index.html
>
>
>
>For USB Technical Support
>
> Applications Hotline: +1 (858) 613-7929
>
> Applications E-Mail: email@hidden
>
>_______________________________________________
>
>cocoa-dev mailing list
>
>email@hidden
>
>http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>
>
--
>
Roger Smith 408-974-8122
>
Apple Computer, Inc. email@hidden
>
6 infinite Loop
>
MS 306-2HN