The method is very simple:
1. Boot a proper LiveCD
2. Remove ALSA, pulseaudio, and the like.
3. Install OSS4 and skype-oss, and test how they work.
NOTE: OSS4, skype-oss (and other things) will be installed somewhere in RAM. They will disappear after reboot. This means that you should have enough RAM for such experiments.
From my experience, 500MB RAM is sufficient for Archiso-live LiveCD (Arch Linux, XFCE). The experiments were performed on an old computer (of 2001). Everything was successfully installed and worked as it should, and sound quality was good.
I have an old Archiso-live LiveCD of April 11, 2010 (by Christopher Rogers, aka godane). You may try a new one, of course. Arch Linux LiveCDs can be downloaded here: http://godane.wordpress.com/
Passwords:
user: arch pass: arch
root pass: ArchLinux
Before making experiments, you may want to know which drivers you need. If you have Linux installed (or booted from LiveCD), you may run command:
$ lspci -v
It will tell you something like this:
- Code: Select all
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 30)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device a139
Flags: medium devsel, IRQ 10
I/O ports at e400 [size=256]
Capabilities: <access denied>
Kernel driver in use: oss_via823x
Kernel modules: snd-via82xx
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 0100
Flags: bus master, stepping, 66MHz, medium devsel, latency 32, IRQ 11
Memory at e4000000 (32-bit, prefetchable) [size=64M]
I/O ports at c000 [size=256]
Memory at e9000000 (32-bit, non-prefetchable) [size=16K]
[virtual] Expansion ROM at e8000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel modules: aty128fb
The video driver in use (on my old machine) is aty128fb, and Archiso LiveCD can be booted with this exactly driver (using cheatcode).
Before booting Archiso LiveCD, we disconnect USB audio devices (such as USB webcams with internal microphones).
1. Boot Archiso LiveCD
2. Select language
3. Select boot options
If you need to modify boot options, do this:
Press on [Tab] to enter a 'cheatcode'
You may change "xdriver=no" to "xdriver=vesa" (if you want).
Note: The vesa driver is the most generic, and should work with almost any modern video chipset. If you cannot find a suitable driver for your video chipset, vesa should work.
You may also define the driver you need, for example: xdriver=aty128fb
You may add some other options too. On this old computer, I have to add "acpi=force pci=noacpi". Otherwise, it might be impossible to connect it to Internet.
Press ENTER to start boot process.
POSSIBLE PROBLEMS: If you get a message: "The kernel is not supporting your CPU", it may mean exactly that.
http://godane.wordpress.com/2010/02/17/ ... 7-release/
QUOTE: "I found out that some pentium M cpu will not work with my newer pae kernel. I’m sorry for the inconvenience. Pae kernel was the better way for still having i686 os with wine and virtualbox-ose support. This also meant i didn’t need to build and upload 2 isos."
In this case, you may try to boot an old i686 version of Archiso-live, for example:
Archiso-live 20100114 Release
http://godane.wordpress.com/2010/01/14/ ... 4-release/
archiso-live-2010-01-14-i686.iso
http://arch-live.isawsome.net/iso/archi ... 4-i686.iso
See also: http://wiki.archlinux.org/index.php/Archiso-live
Godane’s Development Blog: http://godane.wordpress.com/
Sources: http://github.com/godane/archiso-live/tree/master
ISO download: http://arch-live.isawsome.net/iso
It makes sense to try ArchBang LiveCD. It is available in both 32bit and 64bit (very fast, minimal RAM usage).
http://www.archbang.org/
http://archbang.org/Guide/Guide
http://wiki.archlinux.org/index.php/ArchBang
If Archiso-live is booted successfully, you get an XFCE desktop.
Step 1: Click on "Keyboard" icon on the XFCE panel and select the keyboard layout you need.
Step 2: Check your Internet connection (try Aurora web browser, for example).
Step 3: Remove Mixer applet from the panel
Step 4: Change to root terminal
$ sudo su
Step 5: Open /etc/pacman.conf with a text editor, and comment out all unofficial repositories, such as "archiso-live" and "arch-games"
# leafpad /etc/pacman.conf
The official repositories (core, extra, community) should be, of course, enabled:
- Code: Select all
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
Step 6: Synchronize package databases
# pacman -Syy
Step 7: Upgrade pacman
# pacman -Sd pacman
Step 8: Install gtk2
# pacman -S gtk2
Step 9: Remove pulseaudio and ESound
# killall pulseaudio
# pacman -Rn pulseaudio
# pacman -Rd esound
Step 10: Stop alsa daemon
# /etc/rc.d/alsa stop
Step 11: Remove alsa-utils and alsa-oss
# pacman -Rn alsa-utils
# pacman -Rn alsa-oss
Step 12: Check which ALSA modules are loaded:
$ lsmod | grep snd
Step 13: Unload ALSA modules. Useful commands:
rmmod -f [name-of-module]
modprobe -rf [name-of-module]
The simplest way to unload ALSA modules is, perhaps, a brutal one, for example:
- Code: Select all
[root@arch-live arch]# rmmod -f $(lsmod | grep 'snd' | grep -v codec | awk '{print $1}') soundcore
ERROR: Removing 'snd_timer': Resource temporarily unavailable
ERROR: Removing 'snd_page_alloc': Resource temporarily unavailable
ERROR: Removing 'soundcore': Resource temporarily unavailable
ERROR: Removing 'gameport': Resource temporarily unavailable
ERROR: Removing 'soundcore': Resource temporarily unavailable
[root@arch-live arch]# lsmod | grep snd
snd_ac97_codec 87349 0
ac97_bus 782 1 snd_ac97_codec
snd_pcm 57457 1 snd_ac97_codec
snd_timer 15758 1 snd_pcm
snd_page_alloc 5969 1 snd_pcm
snd 43328 3 snd_ac97_codec,snd_pcm,snd_timer
soundcore 5071 1 snd
[root@arch-live arch]# modprobe -rf snd_ac97_codec
[root@arch-live arch]# modprobe -rf snd_pcm
[root@arch-live arch]# modprobe -rf snd_page_alloc
[root@arch-live arch]# modprobe -rf snd_timer
[root@arch-live arch]# modprobe -rf snd
[root@arch-live arch]# modprobe -rf soundcore
[root@arch-live arch]# lsmod | grep snd
[root@arch-live arch]#
Do not forget to check whether ALSA modules are still loaded!
Step 14: When all ALSA modules are unloaded, you can install OSS:
# pacman -S oss
# /etc/rc.d/oss start
Step 15: Run on Terminal:
$ osstest
$ ossxmix
Consult the OSS manual:
http://wiki.archlinux.org/index.php/OSS#Install
You may want to test microphone (ossrecord), etc.
Step 16: Install Skype for OSS
# pacman -S skype-oss
Now you can connect your webcam (and analog microphone), run Skype and test it. See also:
http://wiki.archlinux.org/index.php/Webcam
http://wiki.archlinux.org/index.php/Webcam#Skype
What else to try? First of all, you may want to fix GStreamer.
Download Temüjin's soundproperties.tar.gz and unpack it
viewtopic.php?f=3&t=3324#p13359
Install gnome-sound-properties:
# cp gnome-sound-properties /usr/bin/
# mkdir /usr/share/gnome-control-center/glade/
# cp sound-properties.glade /usr/share/gnome-control-center/glade/
Run on terminal:
$ gnome-sound-properties
It may tell you such things: "Unable to start gnome-settings-daemon", and so on. This can be safely ignored. Click "OK", and sound preferences menu (gui) will emerge.
In Sound Preferences, select everywhere OSS4 (playback, sound capture, mixer, etc.)
Now you should be able to use XFCE mixer with OSS4. You may add Mixer applet to panel and configure it: select controls, etc.
You may run gPodder and listen to a podcast. The default audio player (in gPodder) is VLC, it should work "out of the box" in any case. You may try other players as well. Audacity should work "out of the box" too. See also:
http://wiki.archlinux.org/index.php/OSS ... ns_for_OSS
http://www.4front-tech.com/wiki/index.p ... _for_OSSv4
Godane's Archiso-live LiveCDs seem to be very special. It is possible to install OSS4 on them, simply because they have the proper kernel26-headers package inside, for example:
http://arch-live.isawsome.net/iso/archi ... kages.list
kernel26 2.6.34-3live
kernel26-headers 2.6.34-3live
This trick does not works with any other LiveCDs which I have tried. Perhaps, you have to find the proper kernel dev package and install it, before installing OSS4.
In short, Archiso-live LiveCDs are the only working solution for now. You should simply find one which is bootable on your computers. The newest Archiso-live LiveCDs might be problematic. They may not have hardware-detection scripts, because they are not likely to work with the newer xorg 1.8, see http://godane.wordpress.com/2010/07/25/ ... 5-release/
It is also possible to install Arch with OSS4 into a bootable USB device
http://chakra-project.org/wiki/index.ph ... _USB-stick
http://wiki.archlinux.org/index.php/Ins ... _a_USB_key
NOTE: It is highly recommended to review the Tips for Minimizing SSD Read/Writes on the SSD wiki article.
http://wiki.archlinux.org/index.php/SSD ... d.2FWrites
Chakra LiveCD seems to be bootable on any computer, but you may have to upgrade it, before installing OSS4 (it may take 1GB of memory)
http://chakra-project.org/
