Re: hexadecimal C syntax for serial ports

Matto Marjanovic (maddog@mir.com)
Sat, 04 Dec 1999 18:11:23 -0500

> >> Newbie-me would say that the printer port would be /dev/ttyS1, as
> >> this port has been used successfully to activate a printer in the
> >> past. Is there a method to determine this address in hexadecimal
> >> form?

>Hmmm... I think that the original qcams were made for Mac and for its
>serial ports and I am pretty sure that there isn't any sort of
>parallel port on the thing. Looking at the owner's manual...
>nope.. just serial.
>
>Also, no such beast, BIOS on an Apple box. dmesg reveals nothing,
>however...

Looks like you have the Mac version of the QuickCam, which is indeed a
serial device, of sorts. The qcam driver is for the PC version which
is a parallel port device, and the driver directly flips bits on the
parallel port, which is why it needs the port address. So, I'd say
you're kind of out of luck from that perspective.

feature of the Mac serial port, whereby the Mac could clock data
in/out of the port at some high rate, like 1Mbps or so, which is
why the Mac version couldn't be used on a PC (and hence no x86-linux
driver for the Mac version, that I ever heard of).

-matt m.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com