ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: How to get TS-SER1 to work

To:
Subject: Re: [ts-7000] Re: How to get TS-SER1 to work
From: Jim Jackson <>
Date: Fri, 13 May 2005 12:29:30 +0100 (BST)
On Thu, 12 May 2005, othello61 wrote:

> Thanks Tony,
>
> I tried creating a link via "ln" to create /dev/ttyS02 - and this
> started to work somewhat (i.e. I can read characters from the port -
> but don't seem to be able to write to it).  Also, my link dissapears
> on a reboot.

Thats because the kernel is using devfs. The /dev directory is a "virtual"
one like /proc

Why not just use the name you link to as the device name?????
Whereever you would use /dev/ttyS2 use /dev/ttys/2

> I'll try mknod over the weekend and see what happens

Not sure it will work with devfs! Not that I actually know much about
devfs - this is the first system I've used using it.

>
> I'm making progress...
>
> Thanks
> Andrew
>
>
> --- In  "vocemanago" <> wrote:
> > --- In  "vocemanago" <>
> wrote:
> > > --- In  "othello61" <>
> > wrote:
> > > > Thanks Tony - that sounds logical... one question, I don't have
> such a
> > > > device in /dev (see below) - do I have to create one?  If so,
> how do I
> > > > do it and link it to /dev/tts/2 (which i use setserial to set
> the irq)
> > > >
> > > > $ ls /dev
> > > > console   discs     kmem      null      random    tts
> urandom
> > > > cua       fd        mem       port      root      tty       zero
> > > > cuaam0    full      misc      ptmx      stderr    ttyAM0
> > > > cuaam1    ide       mtd       pts       stdin     ttyAM1
> > > > cuaam2    initctl   mtdblock  pty       stdout    ttyAM2
> > > > $
> > > > cheers
> > > > Andrew
> > >
> > > Oops... I am working on a debian development image and it has the
> full
> > > setserial setup script and everything. I forget a lot about the on
> > > board flash file system and its makeup.
> > > You can make links I think using ln ... however using /dev/tts/2
> > > should work fine.
> > >
> > > I made an assumption that since the driver listed ttyS02 in its
> > > message that it was somehow made at that point... I really don't
> know
> > > enough about the startup scripts , and it gets me into trouble.
> > > Tony
> >
> > I made a mistake , its mknod, not ln...
> > Tony
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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