ATTENTION! It turned out that installing oss from funtoo-media overlay with production quality is not so easy! I am more than sure that it installed by default quality 3. The procedure that was given in this forum implying
ebuild oss...-.ebuild unpack
ebuild oss...-.ebuild compile
ebuild oss...-.ebuild install
ebuild oss...-.ebuild qmerge
IS WRONG AND DOES NOT WORK! If you modify configure file within .../work/oss-*/ folder and then issue ebuild ../../...../oss...-.ebuild compile GRC_QUALITY in the configure file WILL BE RESET TO 3! Moreover all instances of local_config.h will have only 3s!
The correct procedure is the following:
1. Backup alsa modules if you intend to use alsa for midi input - oss removes them and u will have to copy them back after oss installation. But this topic is covered in another place of the forum. You are sure to read it. So...
After adding funtoo-media overlay issue the command:
emerge -pv oss
to see the use flags that are proposed to you.
2. Edit /etc/portage/package.use/package.use to set the flags you want. I have such flags:
media-sound/oss gtk -salsa vmix-float -alsa -pax_kernel ogg -midi oss_cards_envy24ht oss_cards_sblive
Beware that you may have different cards in your chassis. Leave all other flags like mine.
3. Switch to gcc 4 if currently it's gcc5 by
gcc-config -l
gcc-config NUMBER
source /etc/profile
4. Go to the ebuild directory. Mine is /var/db/funtoo-media/media-sound/oss
(to have the same location you should cd to /var/db before doing git clone ...url-of-funtoo-media)
Issue two commands:
ebuild oss*.ebuild unpack
ebuild oss*.ebuild prepare
Only after prepare you should modify the configure file to avoid resetting to 3!
5. Modify configure file.
leafpad /var/tmp/portage/media-sound/oss-4.2.2011/work/oss-v4.2-build2011-src-gpl/configure
Change 3 by 6 for GRC.
6. Issue
ebuild oss*.ebuild compile
7. Now its time to check if our modifications were observed. Go to the build dir which located inside the work dir.
cd /var/tmp/portage/media-sound/oss-4.2.2011/work/build
and do:
less ./noregparm/kernel/framework/include/local_config.h
less ./prototype/usr/lib/oss/include/internals/local_config.h
less ./kernel/framework/include/local_config.h
YOU ARE TO HAVE ONLY 6 for quality!
8. Return back to the dir where ebuild is located:
cd -
and issue:
ebuild oss*.ebuild install
ebuild oss*.ebuild qmerge
This will install the driver.
9. You may switch back to gcc5 now.
10. ossdetect -v
11. soundon
12. ossdevlinks -v -r
13. Now as a user (not as a root) you may issue
ossxmix -b -n 1 &
to start ossxmix.
Tricks of OSS installation to gentoo and funtoo
Moderators: hannu, dev, cesium
-
- Known Member
- Posts: 272
- Joined: Thu Jan 08, 2015 12:01 am
- Sound Card: audigy 2 zs platinum, esi juli
- OS: gentu riced to bo0st
- Location: Earth
Re: Tricks of OSS installation to gentoo and funtoo
More detailed manual for oss+alsa is here _http://opensound.com/forum/viewtopic.php?f=3&t=5801&p=21377&hilit=funtoo&sid=8b961de14a349a8f88d416833540e03f#p21377
-
- New Member
- Posts: 8
- Joined: Wed Jan 23, 2013 8:33 am
- Sound Card: Asus Xonar D1 (AV100)
- OS: Gentoo Linux
Re: Tricks of OSS installation to gentoo and funtoo
OSS isn't available on funtoo overlay anymore. Such a shame.. uh..
Cannot compile due to os.h problem with current git snapshot.
Patch didn't work due to pointing incorrect "os.h" out and stops me from using "configure".
According to _gpo.zugaina.org there is only one overlay supporting old (2007) OSS package - angelos.
It seems that only Arch linux has full OSS support now. -_\
Cannot compile due to os.h problem with current git snapshot.
Patch didn't work due to pointing incorrect "os.h" out and stops me from using "configure".
According to _gpo.zugaina.org there is only one overlay supporting old (2007) OSS package - angelos.
It seems that only Arch linux has full OSS support now. -_\
Re: Tricks of OSS installation to gentoo and funtoo
dimibyte wrote:OSS isn't available on funtoo overlay anymore. Such a shame.. uh..
Cannot compile due to os.h problem with current git snapshot.
Patch didn't work due to pointing incorrect "os.h" out and stops me from using "configure".
According to _gpo.zugaina.org there is only one overlay supporting old (2007) OSS package - angelos.
It seems that only Arch linux has full OSS support now. -_\
You can download the Funtoo package for OSS4 here:
_http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5828#p21527
All the links to "funtoo-media" and "oss" are still valid:
_http://www.funtoo.org/Package:Open_Sound_System_(OSS)
_https://github.com/funtoo/funtoo-media
_https://github.com/funtoo/funtoo-media/tree/master/media-sound/oss
dimibyte wrote:OSS isn't available on funtoo overlay anymore.
Repository: Funtoo Media Overlay
_http://www.funtoo.org/Repository:Funtoo_Media_Overlay
This repository has OSS package inside:
_https://github.com/funtoo/funtoo-media
_https://github.com/funtoo/funtoo-media/tree/master/media-sound/oss
If Gentoo is so difficult for you, you may try Linux Mint.
Who is online
Users browsing this forum: No registered users and 3 guests