WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] OSS sound crashes at the cold boot. Why?  (Read 2941 times)

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
[SOLVED] OSS sound crashes at the cold boot. Why?
« on: August 09, 2013, 05:35:27 AM »
Hi all, as in the title, i load at the boot the OSS extension to enable the sound on my notebook; however it has a "crazy" behaviour: at the cold boot it crashes and the sound does not work but if i reboot the sound works so well.
Why?

P.S.
I do not really want to use ALSA, i would want to try to resolve with OSS.
« Last Edit: August 10, 2013, 07:56:19 AM by paskali »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: OSS sound crashes at the cold boot. Why?
« Reply #1 on: August 09, 2013, 05:38:05 AM »

P.S.
I do not really want to use ALSA, i would want to try to resolve with OSS.

Why?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
Re: OSS sound crashes at the cold boot. Why?
« Reply #2 on: August 09, 2013, 05:53:06 AM »
Quote
Why?

Because i found it more hard to configure, i do not have so time to waste, and because on this notebook i do not have enough resources.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: OSS sound crashes at the cold boot. Why?
« Reply #3 on: August 09, 2013, 08:30:06 AM »
What happens if you remove OSS4 from onboot.lst and then load it after cold boot?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
Re: OSS sound crashes at the cold boot. Why?
« Reply #4 on: August 09, 2013, 10:19:45 AM »
What happens if you remove OSS4 from onboot.lst and then load it after cold boot?

If i do not load OSS on cold boot but after, ondemand, it seems to work well.

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
Re: [SOLVED] OSS sound crashes at the cold boot. Why?
« Reply #5 on: August 10, 2013, 08:05:06 AM »
Dear friends, thanks for your help but i have solved by myself.
I use a persistent home directory in which there is the .profile startup script.
I have edit this file and below the definition of the ONDEMAND enviroment variable:

Code: [Select]
ONDEMAND=/etc/sysconfig/tcedir/ondemand
[ -d "$ONDEMAND" ] && export PATH=$PATH:"$ONDEMAND"

i wrote:
Code: [Select]
# Load and enable sound
sleep 3
ondemand -e OSS.tcz &&
sudo soundoff &&
sudo soundon

This solution makes the startup boot process a bit more slow but works fine in the cold boot as well as in warm boot.
I hope this tip can to be usefull.
« Last Edit: August 13, 2013, 04:23:46 AM by paskali »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: [SOLVED] OSS sound crashes at the cold boot. Why?
« Reply #6 on: August 10, 2013, 09:46:16 AM »
I think you will find ondemand is already in your path.