[iPAQ] problem w/ suspend/resume scripts for stowaway keyboard

From: Dink Meeker <dinkmeeker2000.a.t.yahoo.com>
Date: Sun Jun 09 2002 - 17:38:41 EDT

I'm trying to automate the process of retaining my
stowaway keyboard after suspending my iPAQ. I've
written the following scripts:

/etc/suspend-scripts/S40stowaway
#!/bin/sh
pid=$(pidof -o $$ -o $PPID -x cat /dev/stowaway)
kill -TERM $pid 2>/dev/null
rmmod h3600_stowaway

/etc/resume-scripts/R50stowaway
#!/bin/sh
midprobe h3600_stowaway
cat /dev/stowaway &

both scripts work fine from the command line, but I
always have to run the resume script manually for my
keyboard to work. My USB networking suspend/resume
scripts run automatically without any problems. I've
tried playing with the order the scripts run, but that
hasn't helped. Any ideas?

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Received on Mon Jun 10 20:24:23 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:51 EDT