[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] GMP and laptops



On 2 July 2004, Michael Reiss wrote:

> Thanks... but does that mean that the computer will now think that it
> has a new serial port and you can simply use the same engine code to
> write to it?  Or do you have to re-write your GMP code to send stuff
> to the USB port??


I haven't done any programming for these adapters, but based on my
usage of them, it appears that when you insert the USB adapter the
device shows up as a serial port to the OS.  It might not be your 
standard /dev/ttys0 (com1), but you should be able to treat it as a
serial device from a programming standpoint.

It's just that instead of having a serial card plugged into your
PCI bus, you have a serial card plugged into the USB bus.  That
functionality should be implemented by the device driver for
the hardware that would be loaded when the USB bus detects the
adapter.

Daniel Hallmark
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/