ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Serial port example for TS7800

To:
Subject: Re: [ts-7000] Re: Serial port example for TS7800
From: "Michael Schmidt" <>
Date: Wed, 2 Jan 2008 11:58:14 -0700 (MST)
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU