[PD] autoboot in Linux

Pall Thayer palli at pallit.lhi.is
Thu Oct 14 00:08:30 CEST 2004


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 at 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 at 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 at 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
_______________________________




More information about the Pd-list mailing list