RE: Accessing Hardware
RE: Accessing Hardware
- Subject: RE: Accessing Hardware
- From: "Bill Judd" <email@hidden>
- Date: Tue, 14 Aug 2001 11:41:49 -0700
Roger, et. al.,
>
-----Original Message-----
>
From: Roger Smith [mailto:email@hidden]
>
Sent: Tuesday, August 14, 2001 11:21 AM
>
To: Bill Judd; email@hidden
>
Subject: RE: Accessing Hardware
>
>
>
This cocoa-dev list is probably the wrong list for these types of
>
questions,
Sorry. I thought I was asking Cocoa questions...
>
...you should join the Apple USB mailing list.
OK! I'll move this topic over there.
Also did you
>
try the MacOSX USB DDK via:
>
>
ftp://ftp.apple.com/developer/Development_Kits/Mac_OS_USB/USB1.8.2
>
SDK.pkg.sit
>
>
There is an example of talking to an Anchor based USB device. You
>
should be able to achieve what you want to do by using the userclient
>
API's in your coca App.
>
That's what I want to do. I told you I'm a "cocoa-startup". Point me to an
example of
"..using the userclient API's in your coca App", and I'll go away quietly.
Thanks
Bill Judd
>
>
Roger
>
>
At 10:38 AM -0700 8/14/01, Bill Judd wrote:
>
>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
>
>_______________________________________________
>
>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