Mailing Lists: Apple Mailing Lists

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

Re: (no subject)



Check out:

http://www.easysw.com/~mike/serial/serial.html

Which is a great tutorial for how to talk to and use a standard PSIX serial device.

Jim

On Jan 28, 2004, at 9:56 AM, Barry Twycross wrote:

At 10:23 +0100 1/28/04, Cedric Vuillet wrote:

I received a Wacom serial graphical tablet and a Keyspan usb to serial adaptor. Now, I must develop a driver for the tablet.
I tried to search for a usb interface of the keyspan adaptor and I found one with two alternate settings. There are a many bulk and isochronous pipes and one interrupt pipe. I tried to read on bulk in pipes but I've got an error saying that there is no async port.
Do you think tablet use the interupt pipe or a bulk pipe?
I downloaded keyspan driver and intalled it but I don't understand what is the aim of this driver... What does the driver do? Must I pass through it? What can I do with this driver? Do I need this driver to develop the Wacom driver?
Must I speak with USB interface directly or must I speak with Keyspan driver and make a serial driver?

The way I'd do this is to use the Keyspan serial adapter driver to do whatever it does and just talk to the tablet as if it were a serial tablet (which it is).


I don't think replicating Keyspan's work is at all sensible, or really relevant to the problem at hand.

The Keyspan serial driver provides a standard interface to a serial port, just like any other serial port. Any application which expect to talk to a serial port should be able to talk to a device attached via it and should remain blissfully unaware that USB is involved at all.

You really need to be investigation serial comms. Not something I know a great deal about in OS X, I do know that the adapter pops up as a /dev/cu.* device. (Possibly in addition to anything OS X specific.) If you program to the serial APIs you should find it'll work whether the tablet is attached via the adapter or via a real serial port (such as found on a Blue and White G3, or by the use of third party hardware).
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >(no subject) (From: Cedric Vuillet <email@hidden>)
 >Re: (no subject) (From: Barry Twycross <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.