You are not logged in.

#1 2009-08-24 05:03:16

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

oss wiki (!soundcore...

just a question regarding the oss wiki !soundcore to disable alsa, when i first installed oss i added !soundcore to the module section in my /etc/rc.conf, after the first reboot everything was fine but at some stage maybe 2 or 3 reboots later i all of a sudden had no sound, osstest and ossdetect -v worked but i still had no sound, i eventually had to switch back to alsa and modprobe snd_hda_intel to get my sound back again, at which point i could switch back to oss, but this cycle probably repeated itself maybe 2 or 3 times until i decided to remove !soundcore from my modules section and i haven't had any problems since, no conflicts with alsa or anything, just replaced alsa with oss in my daemons section and removed snd_hda_intel from the modules section and everythings been fine since.

just wondering if any one else has experienced the same thing, maybe a note about it should be put on the wiki page, or is my situation unique?

Offline

#2 2009-08-24 21:57:16

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: oss wiki (!soundcore...

Checking my rc.conf I find the following note to myself after the modules array:

# removed !soundcore, !snd_pcsp, ac97_bus, snd-mixer-oss, snd-pcm-oss, snd-page-alloc, snd-pcm, snd-timer, snd, snd-ac97-codec, snd-intel8x0

No idea why I removed them (great note). I've been using ossv4 for a year without any problems. I think your idea of a note in the wiki is excellent.

Offline

#3 2009-08-25 05:24:24

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: oss wiki (!soundcore...

Please, please,  please,  don't put a note in the wiki.  The wiki is meant for instructional purposes.  Besides if this is a bug as you say it would probably have to do with the init system and the devs wouldn't mind hearing about it.  Using OSS myself and haven't seen this behavior.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2009-08-25 14:29:06

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: oss wiki (!soundcore...

I have !pcspkr !snd-pcsp !soundcore in my modules array and things work fine with oss. You must have had something muted in your mixer, I have noticed that sometimes after a kernel update that the mixer settings are not exactly as I left them, may that is/was your problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2009-08-25 15:45:34

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: oss wiki (!soundcore...

no i spent a long time playing around with the mixer, unmuted every thing and changed the jacks around but nothing ever changed.
it must just something about my hardware, this is my modules and daemons section

MODULES=(powernow-k8 cpufreq_ondemand cpufreq_powersave)
DAEMONS=(syslog-ng hal @networkmanager @cpufreq @oss @preload)

I don't have to blacklist anything alsa related and everything always gets loaded no problem

lsmod
Module                  Size  Used by
ipv6                  336128  10 
oss_usb               124532  0 
oss_hdaudio           147844  0 
osscore               549156  2 oss_usb,oss_hdaudio
arc4                    2192  2 
ecb                     3536  2 
usb_storage            64320  0 
fan                     5656  0 
joydev                 13312  0 
uvcvideo               68316  0 
cpufreq_powersave       1872  0 
videodev               42048  1 uvcvideo
v4l1_compat            18228  2 uvcvideo,videodev
v4l2_compat_ioctl32    10992  1 videodev
cpufreq_ondemand        9256  2 
ath9k                 356404  0 
powernow_k8            15444  0 
mac80211              211296  1 ath9k
acer_wmi               19304  0 
rfkill                 13108  4 ath9k,acer_wmi
cfg80211               78152  2 ath9k,mac80211
freq_table              4528  2 cpufreq_ondemand,powernow_k8
psmouse                60404  0 
video                  24268  0 
i2c_piix4              11584  0 
ohci_hcd               27052  0 
ehci_hcd               40668  0 
serio_raw               7188  0 
output                  3792  1 video
atl1e                  39108  0 
pcspkr                  3088  0 
battery                14072  0 
i2c_core               26816  1 i2c_piix4
thermal                17712  0 
button                  7216  0 
sg                     33824  0 
wmi                     7968  1 acer_wmi
evdev                  12928  16 
ac                      5720  0 
led_class               5112  2 ath9k,acer_wmi
processor              42064  1 powernow_k8
usbcore               179504  6 oss_usb,usb_storage,uvcvideo,ohci_hcd,ehci_hcd
shpchp                 40172  0 
pci_hotplug            33376  1 shpchp
fglrx                2321484  32 
rtc_cmos               13592  0 
rtc_core               22212  1 rtc_cmos
rtc_lib                 3120  1 rtc_core
ext4                  256304  3 
mbcache                 8980  1 ext4
jbd2                   69088  1 ext4
crc16                   2096  1 ext4
sr_mod                 19460  0 
cdrom                  41288  1 sr_mod
ata_generic             6164  0 
sd_mod                 30696  5 
pata_atiixp             6192  0 
pata_acpi               5744  0 
ahci                   40992  4 
libata                192460  4 ata_generic,pata_atiixp,pata_acpi,ahci
scsi_mod              131736  5 usb_storage,sg,sr_mod,sd_mod,libata

I was just curious if any one else had experienced it

Offline

#6 2009-08-25 16:03:58

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: oss wiki (!soundcore...

No ideas here except that hdaudio codecs are a big pain, ask anyone using alsa and you will see wink
Maybe oss got some minor update that doesn't play well with the codec used in your pc ....


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2009-08-26 00:03:10

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: oss wiki (!soundcore...

I guess i'm not exactly complaining or looking for a solution because things have been fine since i removed !soundcore, i just found it a bit odd.
But i remember when i was using alsa there were some quirks also, it's almost like each computer has it's own personality tongue

I have !pcspkr !snd-pcsp !soundcore in my modules array and things work fine with oss. You must have had something muted in your mixer, I have noticed that sometimes after a kernel update that the mixer settings are not exactly as I left them, may that is/was your problem.

i didn't have !pcspkr !snd_pcsp so i will try adding them along with !soundcore and see how things go

Last edited by guzz46 (2009-08-27 08:08:49)

Offline

#8 2009-08-27 08:58:21

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: oss wiki (!soundcore...

Actually guzz, you may have something here.  I use the script on the OSS wiki page to suspend my PC.  The script needs to shutdown all applications running OSS to be able to suspend properly.  I've been noticing though that when I've been suspending that firefox (with a flash movie playing) will not close.  And when I wake from sleep that firefox is still there and the playback will resume.  I tried as you said and removed:

#MODULES=(!soundcore !snd-pcsp !pcspkr vboxdrv)
MODULES=(vboxdrv)

from the modules line.  And now firefox will close when I suspend my PC.  Not sure exactly what is going on but it looks like alsa is still being loaded.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#9 2009-08-27 11:12:50

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: oss wiki (!soundcore...

Actually guzz, you may have something here

funny i was just thinking maybe i didn't, everything was going well till yesterday when i got the whole no sound problem again, so i'm currently trying it with !soundcore !pcspkr !snd_pcsp

while experimenting i booted up with !soundcore and no oss in the daemons array and i got pc beep back, so maybe even with !soundcore not blacklisting pcspkr & snd_pcsp caused them to get loaded in place of/or conflict with oss on rare occasions.

I've been noticing though that when I've been suspending that firefox (with a flash movie playing) will not close.  And when I wake from sleep that firefox is still there and the playback will resume

i just tried suspending my pc while firefox was playing a youtube video and it wasn't there on resume and that was with !soundcore !pcspkr !snd_pcsp in my modules array plus the oss script, so don't know why it works when your's doesn't, it wouldn't have anything to do with what order you blacklist the modules would it?

Edit:

so i'm currently trying it with !soundcore !pcspkr !snd_pcsp

that didn't work either, going to try removing !soundcore and just use !pcspkr !snd-pcsp

Edit: !pcspkr !snd-pcsp didn't work either, i'm going back too alsa, there must be something about oss that doesn't agree with my soundcard

Last edited by guzz46 (2009-08-30 11:27:45)

Offline

Board footer

Powered by FluxBB