• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: USB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB


  • Subject: Re: USB
  • From: Andrew Mellinger <email@hidden>
  • Date: Tue, 18 Nov 2003 09:45:01 -0800

There is nothing preventing you from working with USB in Cocoa. In Cocoa you gave access to all CF routines (many are "toll-free bridged") and you can always stick any C and C++ in .mm files. I've done this sort of thing before and it is no big deal.

Of course, with any USB using thinkg in IOKit make sure you are doing the right things with RunLoops and whatnot. It has been a few months since I wrote any USB stuff, but the examples were good last time I checked.

-Andrew

There is a sample program called USBSimpleExample that shows how to interact
with a USB device from user space. It uses with CoreFoundation.framework
and IOKit.framework and is a command line tool. I would like to put a UI on
it using Cocoa. Would I be shoveling against the tide if I attempt this
project?

What I am trying to do is get something running that will allow me to use my
Umax Astra 1220U scanner from OS X. I have the Astra command set.

Any thoughts or suggestions from you wizards out there?

David Blanton


BTW, I do not want to write a kernel level driver.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >USB (From: David Blanton <email@hidden>)

  • Prev by Date: Re: USB
  • Next by Date: NSPrintPaperName
  • Previous by thread: Re: USB
  • Next by thread: Re: 2 interface questions
  • Index(es):
    • Date
    • Thread