ok,
Got a little confused previously when mknod /dev/ttyS3 was used for
the first ts port, and made me think that perhaps the 3rd port was CPU
based.
Is there a document that says which com port corresponds to which on
the DB9 connectors (apart from the com1,2&3)?
The comports info.txt file just says howmany there are, whilst the
schematic shows the ppinds but named using the cts/rts name, but I
didnt see any reference to say which was for which.
--- In "Michael Schmidt" <> wrote:
>
>
> On Wed, January 2, 2008 11:24 am, JD wrote:
> > Ok,
> >
> > Kind of back up now.
> >
> > I can open ttyS3 ok now, but S4 etc was still failing.
> > I copied up the latest tsuart1 and tsuart7800 modules and now each of
> > uarts loads and sets/get tcattr without errors.
> >
> > The (maybe) last question then is how does ttyS2 get activated?
> > Using the same code as previous, ttyS2 opens ok with 'open' but
> > returns -1 for get/setattr.
>
> Well if you start with "mknod /dev/ttyS3 c 234 1" then there is no
ttyS2.
> Maybe that should be "mknod /dev/ttyS2 c 234 1", and then "mknod
> /dev/ttyS3 c 234 2", etc... but basically the idea is that major 234,
> minor 1 is the first TS-UART, minor 2 is the second TS-UART, etc. It
> doesn't matter what the actual device names are, it's the
major/minor that
> actually bind the device file to the driver.
>
> ______ Best Regards,
> |__ __/ Michael Schmidt
> || Software Engineer
> ||echnologic Systems (EmbeddedARM.com)
> || (480) 16610 East Laser Drive #10
> |/ 837-5200 Fountain Hills, AZ 85268
> http://oz.embeddedarm.com/~michael
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|