I've found that with a foldable, there is no need to kill process
suspend does not stop processes, rather just output? not an expert
i did notice you have a typo midprobe, but that may be an irrelevance,
please check whether your keyboard works after suspend, without scripts.
Only ever disconnect whilst running, I've found that disconnecting after
suspend can mess things up.
thanks
jonathan
----- Original Message -----
From: "Dink Meeker" <dinkmeeker2000@yahoo.com>
To: <iPAQ@handhelds.org>
Sent: Sunday, June 09, 2002 10:38 PM
Subject: [iPAQ] problem w/ suspend/resume scripts for stowaway keyboard
> 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
> _______________________________________________
> Open Source Software for Compaq iPAQ Handhelds.
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
>
Received on Tue Jun 11 06:02:02 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:51 EDT