On Wed, May 08, 2002 at 04:58:46PM +0100, jonathan chetwynd wrote:
> I just dont have the wit, to understand all you've both got to say about
> runlevels.
>
> for the present I'd just like a working keboard with x.
>
> perhaps you could start another thread, or add something to the wiki?
>
> meanwhile, if you do have any comments thanks.
>
> hope this doesn't come across as ungrateful.
>
Not ungrateful, but don't take things private that start on the list
that would be useful to others on the list.
After I sent that note, I thought I should probably do something with the
wiki.
Here's what my solution addresses: I use a stowaway, but also login to
the ipaq (both minicom and ppp) regularly, so I need a way to switch
between serial functions. As I mentioned, I also have a GPS and camera
I'd like to use with my ipaq.
Here's a step-by-step, from a fresh install of 0.5.2:
1) create a /boot/params file, as so:
# echo 'set linuxargs="noinitrd root=/dev/mtdblock1 init=/linuxrc"' >/boot/params
2) copy all of /etc/rc2.d symlinks to /etcrc4.d - note the '-d' to keep
from dereferencing the symlinks:
# cd /etc
# cp -d rc2.d/* rc4.d/
install the appropriate stowaway module ipkg:
# ipkg install stowaway-modules-2.4.18-rmk3
Create the /usr/lib/menu/stowaway file with these contents (unwrap these to
each be one long line: I've attached the file, as well)
?package(stowaway):needs="x11" section="Serial" title="Stowaway" command="telinit 4 ; modprobe h3600_stowaway; sleep 10; cat /dev/stowaway >/dev/null 2>&1 &"
?package(stowaway):needs="x11" section="Serial" title="Getty" command="kill `pidof cat`; sleep 1; modprobe -r h3600_stowaway; telinit 2"
(Note that these don't really _need_ x11, but there has to be something
in there: update-menus chokes on no 'needs' key, and a blank one keeps
the entries from being created.)
reboot.
Now, it should Just Work(tm).
Note that the keyboard/module something doesn't wake up properly from sleep,
so after suspending the ipaq, I switch to getty, then back to stowaway.
Ross
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:47 EDT