soapee01
05-13-2003, 04:07 PM
Sorry, but this will be a bit long winded.
Background
I'm are trying to get gnomemeeting working. My motherboard is an ECS k7s5a Pro with built in sound (C-Media CMI9738/4CH AC'97 CODEC). When running gnomemeeting after knx-hdinstall and following the howto upgrade to unstable, I'm getting an error during setup that said something like "cannot write to /dev/dsp" Figured out this has something to do with fullduplex not being enabled. Note: I did not use the "knoppix alsa" cheatcode when I booted before the knx-hdinstall, but I did run /etc/init.d/alsa-autoconfig as suggested (http://www.knoppix.net/forum/viewtopic.php?t=2173#10717). I don't know if this makes a difference, I'll be reinstalling later today since I borked my system. Regardless, I'd like to know what?s going on. Please note, the microphone is working and I'm able to play mp3s/waves without enabling ALSA, and after running alsa-autoconfig, so it just seems to be this fullduplex thing.
What I've noticed
If you put in the knoppix cd (v3.2 may 3, 2003) and run with the "knoppix alsa" cheatcode, gnomemeeting runs perfectly. If you run off the cdrom w/o the cheatcode, I get the same error as from hard drive. First I checked "ls -la /dev/dsp" to make sure the write permissions were set up properly. The results were the same for all cases (cdrom with alsa, cdrom w/o alsa, and hard drive), so I have to assume that the permissions are fine. Next I decided to do an lsmod on all the cases and see what was different. Here's the results.
CDROM with ALSA
---------------------
Module Size Used by Not tainted
snd-pcm-oss 37060 0 (autoclean)
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
nls_cp437 4380 0 (autoclean)
snd-mixer-oss 11224 0 (autoclean) [snd-pcm-oss]
snd-intel8x0 16516 0 (autoclean)
snd-pcm 56256 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer 14792 0 (autoclean) [snd-pcm]
snd-ac97-codec 30688 0 (autoclean) [snd-intel8x0]
snd-page-alloc 3936 0 (autoclean) [snd-intel8x0 snd-pcm]
snd-mpu401-uart 2992 0 (autoclean) [snd-intel8x0]
snd-rawmidi 12224 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3716 0 (autoclean) [snd-rawmidi]
snd 27012 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3364 3 (autoclean) [snd]
agpgart 34720 0 (unused)
8139too 17128 0
mii 2128 0 [8139too]
sis900 12428 1
serial 51876 0 (autoclean)
usb-ohci 18120 0 (unused)
usb-uhci 21836 0 (unused)
usbcore 57088 1 [usb-ohci usb-uhci]
apm 9612 1
rtc 6908 0 (autoclean)
cloop 5168 1
CDROM without ALSA
------------------------
Module Size Used by Not tainted
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
nls_cp437 4380 0 (autoclean)
agpgart 34720 0 (unused)
i810_audio 23112 0
ac97_codec 9992 0 [i810_audio]
soundcore 3364 2 [i810_audio]
8139too 17128 0
mii 2128 0 [8139too]
sis900 12428 1
serial 51876 0 (autoclean)
usb-ohci 18120 0 (unused)
usb-uhci 21836 0 (unused)
usbcore 57088 1 [usb-ohci usb-uhci]
apm 9612 1
rtc 6908 0 (autoclean)
cloop 5168 1
HDINSTALL after running /etc/init.d/alsa-autoconfig
-----------------------------------------------------------
Module Size Used by Not tainted
snd-seq-oss 24000 0 (autoclean)
snd-seq-midi-event 2824 0 (autoclean) [snd-seq-oss]
snd-seq 38960 2 (autoclean) [snd-seq-oss snd-seq-midi-event]
snd-timer 14792 0 (autoclean) [snd-seq]
snd-seq-device 3700 0 (autoclean) [snd-seq-oss snd-seq]
snd 27012 0 (autoclean) [snd-seq-oss snd-seq-midi-event sn
d-seq snd-timer snd-seq-device]
parport_pc 24776 1 (autoclean)
lp 7492 0 (autoclean)
parport 22496 1 (autoclean) [parport_pc lp]
autofs4 8724 1
af_packet 13448 0
nls_iso8859-1 2844 1
nls_cp437 4348 1
agpgart 34720 0 (unused)
i810_audio 23112 0
ac97_codec 9992 0 [i810_audio]
soundcore 3364 4 [snd i810_audio]
8139too 17096 0 (unused)
mii 2112 0 [8139too]
sis900 12396 1
serial 51844 0
usb-ohci 18088 0 (unused)
usb-uhci 21804 0 (unused)
usbcore 57088 0 [usb-ohci usb-uhci]
apm 9612 1
rtc 6876 0
ext3 62688 1
jbd 45300 1 [ext3]
As you can see, the lsmods are very similar between the HDINSTALL and the CDROM without ALSA (regarding the sound modules). I'm leary of just rmmod-ing the modules I think shouldn't be there, and insmod-ing the ones I think should be there, but I'm very open to suggestion.
One Last Thing
Don't try this at home. I decided to try to install the alsa packages from debian (alsa-config, alsa-base, alsa-modules-2.4.20-1-k7...). Note that this also requires installation of a new kernel image, and removal of knx-alsa (who knows what's in here). I used kernel-image-2.4.20-1-k7. During the kernel-installation I received all kinds of warnings, I updated lilo.conf like it said (cross your fingers) and rebooted. Kernel Panic followed (guess I screwed up lilo or something), so I rebooted into the knoppix kernel and my usb mouse doesn't work anymore. I plan on reinstalling today.
If I'm doing something seriously wrong, please tell me. Any and all ideas are greatly appreciated.
soap
Background
I'm are trying to get gnomemeeting working. My motherboard is an ECS k7s5a Pro with built in sound (C-Media CMI9738/4CH AC'97 CODEC). When running gnomemeeting after knx-hdinstall and following the howto upgrade to unstable, I'm getting an error during setup that said something like "cannot write to /dev/dsp" Figured out this has something to do with fullduplex not being enabled. Note: I did not use the "knoppix alsa" cheatcode when I booted before the knx-hdinstall, but I did run /etc/init.d/alsa-autoconfig as suggested (http://www.knoppix.net/forum/viewtopic.php?t=2173#10717). I don't know if this makes a difference, I'll be reinstalling later today since I borked my system. Regardless, I'd like to know what?s going on. Please note, the microphone is working and I'm able to play mp3s/waves without enabling ALSA, and after running alsa-autoconfig, so it just seems to be this fullduplex thing.
What I've noticed
If you put in the knoppix cd (v3.2 may 3, 2003) and run with the "knoppix alsa" cheatcode, gnomemeeting runs perfectly. If you run off the cdrom w/o the cheatcode, I get the same error as from hard drive. First I checked "ls -la /dev/dsp" to make sure the write permissions were set up properly. The results were the same for all cases (cdrom with alsa, cdrom w/o alsa, and hard drive), so I have to assume that the permissions are fine. Next I decided to do an lsmod on all the cases and see what was different. Here's the results.
CDROM with ALSA
---------------------
Module Size Used by Not tainted
snd-pcm-oss 37060 0 (autoclean)
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
nls_cp437 4380 0 (autoclean)
snd-mixer-oss 11224 0 (autoclean) [snd-pcm-oss]
snd-intel8x0 16516 0 (autoclean)
snd-pcm 56256 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer 14792 0 (autoclean) [snd-pcm]
snd-ac97-codec 30688 0 (autoclean) [snd-intel8x0]
snd-page-alloc 3936 0 (autoclean) [snd-intel8x0 snd-pcm]
snd-mpu401-uart 2992 0 (autoclean) [snd-intel8x0]
snd-rawmidi 12224 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3716 0 (autoclean) [snd-rawmidi]
snd 27012 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3364 3 (autoclean) [snd]
agpgart 34720 0 (unused)
8139too 17128 0
mii 2128 0 [8139too]
sis900 12428 1
serial 51876 0 (autoclean)
usb-ohci 18120 0 (unused)
usb-uhci 21836 0 (unused)
usbcore 57088 1 [usb-ohci usb-uhci]
apm 9612 1
rtc 6908 0 (autoclean)
cloop 5168 1
CDROM without ALSA
------------------------
Module Size Used by Not tainted
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
nls_cp437 4380 0 (autoclean)
agpgart 34720 0 (unused)
i810_audio 23112 0
ac97_codec 9992 0 [i810_audio]
soundcore 3364 2 [i810_audio]
8139too 17128 0
mii 2128 0 [8139too]
sis900 12428 1
serial 51876 0 (autoclean)
usb-ohci 18120 0 (unused)
usb-uhci 21836 0 (unused)
usbcore 57088 1 [usb-ohci usb-uhci]
apm 9612 1
rtc 6908 0 (autoclean)
cloop 5168 1
HDINSTALL after running /etc/init.d/alsa-autoconfig
-----------------------------------------------------------
Module Size Used by Not tainted
snd-seq-oss 24000 0 (autoclean)
snd-seq-midi-event 2824 0 (autoclean) [snd-seq-oss]
snd-seq 38960 2 (autoclean) [snd-seq-oss snd-seq-midi-event]
snd-timer 14792 0 (autoclean) [snd-seq]
snd-seq-device 3700 0 (autoclean) [snd-seq-oss snd-seq]
snd 27012 0 (autoclean) [snd-seq-oss snd-seq-midi-event sn
d-seq snd-timer snd-seq-device]
parport_pc 24776 1 (autoclean)
lp 7492 0 (autoclean)
parport 22496 1 (autoclean) [parport_pc lp]
autofs4 8724 1
af_packet 13448 0
nls_iso8859-1 2844 1
nls_cp437 4348 1
agpgart 34720 0 (unused)
i810_audio 23112 0
ac97_codec 9992 0 [i810_audio]
soundcore 3364 4 [snd i810_audio]
8139too 17096 0 (unused)
mii 2112 0 [8139too]
sis900 12396 1
serial 51844 0
usb-ohci 18088 0 (unused)
usb-uhci 21804 0 (unused)
usbcore 57088 0 [usb-ohci usb-uhci]
apm 9612 1
rtc 6876 0
ext3 62688 1
jbd 45300 1 [ext3]
As you can see, the lsmods are very similar between the HDINSTALL and the CDROM without ALSA (regarding the sound modules). I'm leary of just rmmod-ing the modules I think shouldn't be there, and insmod-ing the ones I think should be there, but I'm very open to suggestion.
One Last Thing
Don't try this at home. I decided to try to install the alsa packages from debian (alsa-config, alsa-base, alsa-modules-2.4.20-1-k7...). Note that this also requires installation of a new kernel image, and removal of knx-alsa (who knows what's in here). I used kernel-image-2.4.20-1-k7. During the kernel-installation I received all kinds of warnings, I updated lilo.conf like it said (cross your fingers) and rebooted. Kernel Panic followed (guess I screwed up lilo or something), so I rebooted into the knoppix kernel and my usb mouse doesn't work anymore. I plan on reinstalling today.
If I'm doing something seriously wrong, please tell me. Any and all ideas are greatly appreciated.
soap