DSD 1.4 with Linux Ubuntu - help needed

Status
Not open for further replies.

c5corvette

Member
Premium Subscriber
Joined
Sep 17, 2008
Messages
744
Reaction score
8
Location
*REBANDED*
I only know enough about Linux to get DSD running and decoding successfully. I would like some help with the following...

I would like to configure the DSD program so that it starts automaticlaly when the computer is powered up.

I don't plan to have a keyboard, mouse or monitor installed so Ubuntu is automatically logging into my Administrator account. Once its up an running I would like it to run DSD automatically.

I tried putting the path to DSD into the gnome Startup Programs tool, but it doesn't correctly run (and it screws up the audio sound card.)

Is there a SIMPLE way to launch this in some sort of startup batch file or to run as a service with the - option like (dsd -x) that I need?

Does anyone know how to do this????
 
Last edited:

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
I would like to configure the DSD program so that it starts automatically when the computer is powered up.
A daemon process is the Linux/Unix equivalent of a Windows NT service. They can be configured to start at boot time.

You can either add code to dsd that will cause it to "self-daemonize" or use something like this.

You''ll need to edit the appropriate init script (look in /etc/rc or /etc/rc.d) to check for the appropriate run level (pick a run level after all audio subsystems have started) before running your dsd daemon.

As part of the daemonizing effort, choose a log file location for stderr and stdout (syslog probably isn't the place for DSD messages).

You'll need to know some bash or ksh scripting. To make dsd self-daemonize, you need about two paragraphs of code - so some knowledge of C and POSIX are needed.

If you can wait a few months, most likely someone else will do this for you.
 
Last edited:

c5corvette

Member
Premium Subscriber
Joined
Sep 17, 2008
Messages
744
Reaction score
8
Location
*REBANDED*
A daemon process is the Linux/Unix equivalent of a Windows NT service. They can be configured to start at boot time.

You can either add code to dsd that will cause it to "self-daemonize" or use something like this.

You''ll need to edit the appropriate init script (look in /etc/rc or /etc/rc.d) to check for the appropriate run level (pick a run level after all audio subsystems have started) before running your dsd daemon.

As part of the daemonizing effort, choose a log file location for stderr and stdout (syslog probably isn't the place for DSD messages).

You'll need to know some bash or ksh scripting. To make dsd self-daemonize, you need about two paragraphs of code - so some knowledge of C and POSIX are needed.

If you can wait a few months, most likely someone else will do this for you.

Thanks, Unitrunker. FYI, I know nothing about these here fire breathing daemons or scripture you mention !!!

However, if I translate this to english, I do understand the most important part is that I cannot launch DSD until the sound card is initialized.
(I learned this the hard way by trying to lauch DSD at boot using the gui Start Up Preferences in gnome. Not only did it not work, but the sound card never initialized.)

I can't wait a few months - if anyone would like to make a few extra bucks to perform the exorcism (make dsd self-daemonize) send me a PM right away.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
I can't wait a few months - if anyone would like to make a few extra bucks to perform the exorcism (make dsd self-daemonize) send me a PM right away.
Slight clarification: you aren't excising daemons, you're creating one. :)
 

c5corvette

Member
Premium Subscriber
Joined
Sep 17, 2008
Messages
744
Reaction score
8
Location
*REBANDED*
A daemon process is the Linux/Unix equivalent of a Windows NT service. They can be configured to start at boot time.

You can either add code to dsd that will cause it to "self-daemonize" or use something like this.

You''ll need to edit the appropriate init script (look in /etc/rc or /etc/rc.d) to check for the appropriate run level (pick a run level after all audio subsystems have started) before running your dsd daemon.

As part of the daemonizing effort, choose a log file location for stderr and stdout (syslog probably isn't the place for DSD messages).

You'll need to know some bash or ksh scripting. To make dsd self-daemonize, you need about two paragraphs of code - so some knowledge of C and POSIX are needed.

If you can wait a few months, most likely someone else will do this for you.

For anyone interested in doing this on Linux Ubuntu 10.04 -- its just been done!!! See the code and instructions (read all posts carefully) in the following thread.

http://forums.radioreference.com/fl...ecoded-dsd-1-3-palm-bay-fl-2.html#post1390720
 
Status
Not open for further replies.
Top