Modem wary098-woof-5 upgrade

I have applied rerwin's latest modem upgrade, 'modem_update_to_wary098-woof-5.pet', see forum:

http://www.murga-linux.com/puppy/viewtopic.php?p=467639#467639

I have rewritten one of the boot scripts, /sbin/pup_event_backend_modprobe, greatly simplified and with basic multithreading protection. It fixes the muted-sound problem on my laptop. This is experimental so is not in Woof, but as a separate PET:

http://murga-linux.com/puppy/viewtopic.php?p=469044#469044

If you are having problems with sound muted at boot, or network connection not remembered at bootup, try this. Ideally, it should be builtin, when Puppy is created, so it is there at first boot, but anyway, you can grab the PET and try it on subsequent boots.

My PET should work on all recent puppies, not just Wary.


Posted on 20 Nov 2010, 13:45


Comments:

Posted on 20 Nov 2010, 14:14 by BarryK
Script syntax error
That is interesting, another difference between using #!/bin/sh and #!/bin/ash on the shebang line.

In my simplified script /sbin/pup_event_backend_modprobe and /etc/rc.d/functions4puppy4, I had lines like this:

SLEEPU=$((${$} \* 10))

Which is fine with Ash, however /bin/sh (which is a symlink to /bin/bash) gives a syntax error -- the latter objects to the back-slash.

Fortunately I am using Ash for the scripts, so the PET does not need to be fixed.



Posted on 20 Nov 2010, 16:03 by Sage
It works!
Solves sound issues on all tested systems so far, new & old.


Posted on 20 Nov 2010, 16:32 by Sage
Either/Or
When I load zzz...pet, sound is activated but net connection is errr disconnected. When I SNS, the network signs up again and - guess what - sound disconnects!
All bog std. HW.