Ah... sounds painfull. In rc.local, you should only need this:
/usr/bin/pd -nogui -nomidi -lib /usr/lib/pd/extra/OSC -lib /usr/lib/pd/extra/zexy -open /home/glui/proj/pd/GPlayerStereo.pd &
and did you remember to chkconfig --del pd_start ?
Pall
Sukandar Kartadinata wrote:
OK, that sounds interesting I had added a ps command in the startup script just before and after calling pd (to see what's going on) and then I got lots of sound-related error messages interweaved with the process list so what you suggest seems to be a step in the right direction
however, now that I tried rc.local the system hangs at
<snip> Starting anacron: [OK] Starting atd: [OK] Starting system message bus: [OK] starting pd...Sample width set to 2 bytes _
and then I can't even get to the login prompt....
On 14. Oct 2004, at 0:08 Uhr, Pall Thayer wrote:
Maybe it's trying to run PD before it's initialized some required stuff. How about trying putting you're script in /etc/rc.d/rclocal instead of /etc/init.d ? That way, it won't be run untill after all the normal boot stuff has been initialized.
Pall
Sukandar Kartadinata wrote:
thanks again just tried that - no difference except that now not even the OSC line shows up Sukandar On 13. Oct 2004, at 23:46 Uhr, Pall Thayer wrote:
Ah... true. But the file you're opening should be prepended with -open. I don't see that in your script. Should be: -open /home/glui/proj/pd/GPlayerStereo.pd
Pall
Sukandar Kartadinata wrote:
thanks for the reply I'll try your suggestion, however I doubt that's the problem. If I understand correctly your command would tell pd to turn on DSP processing. However, as I mentioned, pd doesn't even show up in the process list (ps command) and besides I'm loadbanging [pd dsp 1] within pd. Sukandar On 13. Oct 2004, at 23:34 Uhr, Pall Thayer wrote:
try adding -send "pd dsp 1"
Pall
Sukandar Kartadinata wrote:
> Hi, > I'm trying to make a Linux system autoboot a pd patch. Being > still relatively new to Linux I can't quite figure out what I'm > doing wrong. Maybe you can help. Here's what I do: > my pd startup script looks like this: > #! /bin/sh > # chkconfig 2345 98 98 > # description: starts pd > echo -n "starting pd..." > /usr/bin/pd -nogui -nomidi
> -lib /usr/lib/pd/extra/OSC
> -lib /usr/lib/pd/extra/zexy
> /home/glui/proj/pd/GPlayerStereo.pd & > I save this as pd_start in /etc/init.d/ > then: chkconfig --add pd_start > checking with chkconfig --list shows that it's enabled at run > level 3 > after reboot no sound nor an an entry in the process list > however /var/etc/messages shows: > Oct 13 22:05:59 digimatrix pd_start: starting pd... > Oct 13 22:05:59 digimatrix pd_start: OSCroute object version 1.05 > by Matt Wright > . pd: jdl Win32 raf. > Oct 13 22:05:59 digimatrix rc: Starting pd_start: succeeded > no mention of zexy being loaded though > thanks, > Sukandar > _______________________________________________ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://iem.at/cgi-bin/mailman/listinfo/pd-list-- _______________________________ Pall Thayer artist/teacher http://www.this.is/pallit http://pallit.lhi.is/panse _______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
-- _______________________________ Pall Thayer artist/teacher http://www.this.is/pallit http://pallit.lhi.is/panse _______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
-- _______________________________ Pall Thayer artist/teacher http://www.this.is/pallit http://pallit.lhi.is/panse _______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list