Hi again, now a silly one: 1. Am I right : all the scripts in cron-daily get executed daily ? 2. How can I switch it on/off ? 3. Where is the Docu for that one ? 4. Who (UID) executes the stuff ? Sorry for being simple Regards Dan
* Dan Am <suse@dertext.de> [Oct 30. 2002 11:59]:
Hi again, now a silly one: 1. Am I right : all the scripts in cron-daily get executed daily ?
Yes
2. How can I switch it on/off ?
It's in /etc/crontab
3. Where is the Docu for that one ?
man cron
4. Who (UID) executes the stuff ?
root pr. default, can be changed in /etc/crontab -- Mads Martin Jørgensen, http://mmj.dk [Favorite flag: Cloaking] "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort?" -- A. P. J.
Dan Am wrote:
2. How can I switch it on/off ?
Not good. -- Silviu Marin-Caea Systems Engineer Linux/Unix http://www.genesys.ro Phone +40723-267961
OK - running SuSE 8.1 with Audigy sound card connected to digital-only speakers. The machine reckons its an Audigy card, and also reckons its playing sound to me. But either its lying or I've gone deaf. I installed the emu-tools that SuSE supply in the distro, but couldn't get them running. So I removed that package and grabbed the latest from Sourceforge - same problem. It kept saying that I wasrunnig an incompatiable driver. I then turned of ALSA - maybe ALSA isn't compatiable with the emu-tools? But then the machine didn't even pretend that it was playing sounds to me, as it didn't have a sound server running. Then I got completely stuck. As you can tell - I'm a newbie. Any clues on how to get sound on my set-up without going completely mad? Andy
On 30 Oct 2002 13:51:06 +0000 andy stone <andy@darkfox.co.uk> wrote:
OK - running SuSE 8.1 with Audigy sound card connected to digital-only speakers. The machine reckons its an Audigy card, and also reckons its playing sound to me. But either its lying or I've gone deaf.
Most likely culprit: The mixer always startsup with it's output turned down to zero. So put the above setup backin and the next time you try it, start amixer as root, and turn the volume up. -- use Perl; #powerful programmable prestidigitation
Nope - sorry Zentra, mixer settings are fine. Its more to do with how to pursuade it to output digital instead of analogue. Any other ideas? On Wed, 2002-10-30 at 14:28, zentara wrote:
On 30 Oct 2002 13:51:06 +0000 andy stone <andy@darkfox.co.uk> wrote:
OK - running SuSE 8.1 with Audigy sound card connected to digital-only speakers. The machine reckons its an Audigy card, and also reckons its playing sound to me. But either its lying or I've gone deaf.
Most likely culprit: The mixer always startsup with it's output turned down to zero. So put the above setup backin and the next time you try it, start amixer as root, and turn the volume up.
-- use Perl; #powerful programmable prestidigitation
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thanks for helping, everyone. The problem is resolved - thought I'd share my solution in case anyone else is suffering. My setup - Suse 8.1, Audigy sound card, didital-only speakers. The basic problem is that ALSA can emulate the Audigy, but not for digital-only output (or maybe it can but I couldn't work out how). YAST seems very keen on using ALSA drivers wherever possible, and so even if only some of the card's features are supported it will still use it. It did not seem easy for me to tell YAST about my card without it automaticallly using the ALSA driver. So here's what I did to get a result: In YAST, hardware, sound, remove the entry for the card. In YAST, system, runlevel editor, disable auto-hardware detection and ALSA. Grab the driver and tools from Creative Lab's opensource area: http://sourceforge.net/projects/emu10k1 Rmmod anything vaguely sound-ish (soundcore, sound, etc) Install the driver and tools as per the instructions (v. simple) Add 1 or 2 lines to modules.conf as per the instructions Modify the emu10k1.conf file that the tools give you (in /usr/local/etc/) to say 'yes' to digital output, and whatever else you want. When I start a new session, I then:
modprobe sound modprobe emu10k1 /usr/local/etc/audigy-script #(the card configuration tool) aumix -L #(restoring the mixer's last-saved sound settings)
And that's it. Obviously I have the above in a script that gets run when entering my run-level of choice, but as a newbie my script is horrendous - its probably better that I don't share that with you ;) I won't pretend that the above way is the best way - I suspect that its deeply flawed on several levels. But it works, and will probably work for you if you have this problem. Improvement suggestions welcome. Andy On Wed, 2002-10-30 at 15:29, andy stone wrote:
Nope - sorry Zentra, mixer settings are fine. Its more to do with how to pursuade it to output digital instead of analogue. Any other ideas?
On Wed, 2002-10-30 at 14:28, zentara wrote:
On 30 Oct 2002 13:51:06 +0000 andy stone <andy@darkfox.co.uk> wrote:
OK - running SuSE 8.1 with Audigy sound card connected to digital-only speakers. The machine reckons its an Audigy card, and also reckons its playing sound to me. But either its lying or I've gone deaf.
Most likely culprit: The mixer always startsup with it's output turned down to zero. So put the above setup backin and the next time you try it, start amixer as root, and turn the volume up.
-- use Perl; #powerful programmable prestidigitation
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Sorry for this incredibly basic question - I really have looked first but obviously in the wrong places. How and where do you add paths (like paths to a specific directory). Is this done on a per-user basis? Hope I've explained this OK - say I want to executre script Z from anywhere without typing the full path, and it lives in /a/b/c/, how do I do this? Andy
On Wed, 2002-10-30 at 10:35, andy stone wrote:
Sorry for this incredibly basic question - I really have looked first but obviously in the wrong places.
Been there, done that ;^)
How and where do you add paths (like paths to a specific directory). Is this done on a per-user basis?
Hope I've explained this OK - say I want to executre script Z from anywhere without typing the full path, and it lives in /a/b/c/, how do I do this?
Andy
If you are using the bash shell try: export PATH=$PATH:/a/b/c/ if you want it to stay everytime you login, add this to ~/.bashrc (i.e. the .bashrc file in your home directory) to verify it is in your path type: echo $PATH or sift through the following command: env Hope that helps. -jeric
The 02.10.30 at 11:58, Dan Am wrote:
2. How can I switch it on/off ?
The crun job as defined in "/etc/crontab" executes the script "/usr/lib/cron/run-crons". Reading it, I see it ignores scripts with extensions .rpm, .swap, .bak, .orig or ~ (you may add any new one you like). Otherwise, if you simply remove the excutable flag of the particular cron.daily (or weekly, monthly, etc) script you want to skip, it will not run. Interestingly, all are (or should be) skipped if it is a laptop without AC power.
3. Where is the Docu for that one ?
Just read the scripts. :-)
4. Who (UID) executes the stuff ?
root. -- Cheers, Carlos Robinson
participants (7)
-
andy stone
-
Carlos E. R.
-
Dan Am
-
Jeric
-
Mads Martin Joergensen
-
Silviu Marin-Caea
-
zentara