Just a guess here but could you need a delay between the telinit and
the cat in your script. If init hasn't gotten getty shutdown before
you get to the cat you would get the in use message. Did you ever try
the cat after it had failed with the error, by then getty would
probably be out of the way.
Pete Borders
On 8 Jan 2002 at 17:09, D.A.Johnston wrote:
>
>
> Hmm, the suggestion doesn't work for me, apparently,
>
> Here's the tail end of my inittab:
>
> T0:5:respawn:/sbin/getty -L ttySA0 115200 vt100
> pd:23:respawn:/usr/sbin/pppd /dev/ttySA0 -detach
>
>
> The params are the defaults (i.e. no /boot/params, so the console is
> still there).
>
> Here's the stowaway script:
>
> #!/bin/sh
> telinit 4
> modprobe h3600_stowaway
> cat /dev/stowaway &
>
> and here's the result:
>
> sh-2.03# cat: /dev/stowaway: Device or resource busy
>
> So the console is still grabbing the serial port presumably.
> There are no gettys or pppd running....
> What are you running (Familiar v0.5?)
>
>
> Des Johnston
>
>
> =================================================================
>
>
> On Tue, 8 Jan 2002, Michael Scott Shappe wrote:
>
> > You do not have to redirect the console at all from its default,
> > contrary to advice that's been published here, to get the stowaway
> > keyboard to work. I've only ever redirected the console for
> > debugging purposes; otherwise, I leave it pointed at the serial
> > port. I have yet to have a single problem. As long as the line in
> > inittab that runs getty is commented out, it should Just Work(tm).
> >
> > What I *do* still have issues with is using the keyboard after a
> > suspension; but then, *none* of the services that use the usb/serial
> > port (including usb ethernet) seem to survive suspension.
> >
> > /m
> >
> > On Tue, Jan 08, 2002 at 03:26:25PM +0000, D.A.Johnston wrote:
> > >
> > > The question has been asked several times, but I haven't seen (or
> > > found) a working answer:
> > >
> > > Can a stowaway keyboard be made to co-exist with Qtopia without
> > > plastering console messages across the screen on any system
> > > events? (removing the console=.. from /boot/params is putting all
> > > the stuff on screen instead, suggestions such as console=
> > > /dev/null don't work either, and if I'm running Qtopia I can't set
> > > up an rxvt as a console...)
> > >
> > > Setup is Familiar v0.5, Bipolar's QPE feed.
> > >
> > > Des Johnston
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Familiar mailing list
> > > Familiar@handhelds.org
> > > http://handhelds.org/mailman/listinfo/familiar
> > > irc://irc.openprojects.net #familiar
> >
> > --
> > Michael Scott "Uncle Mikey" Shappe <mikey@hundred-acre-wood.com>
> > Visit MELMSPLAT! It's good for you! <http://splat.melm.org/> PGP/GPG
> > Public Key: finger mikey@melm.org
> >
>
> _______________________________________________
> Familiar mailing list
> Familiar@handhelds.org
> http://handhelds.org/mailman/listinfo/familiar
> irc://irc.openprojects.net #familiar
>
Received on Thu Jan 10 01:41:21 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:21 EDT