Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: solorin on September 24, 2013, 12:31:20 PM
-
Hi,
Is anybody working on OSS (Open Sound System) drivers and extension for 5.x?
If not, I'm willing to build test or update any build scripts the maintainers have.
cheerio,
solorin
-
Not working on it currently. I'm afraid there isn't a build script. The binaries and other scripts do not need updating, so you would only need to build the modules.
However, there hasn't been a release in a while, and I believe the latest release won't work with a recent kernel.
-
However, there hasn't been a release in a while, and I believe the latest release won't work with a recent kernel.
Hrm? Latest seems to be a bit more than 3 months ago: http://www.opensound.com/forum/viewtopic.php?f=19&t=5231
-
Urghh, I was hoping OSS would get migrated soon. I'm using it in 4.7 and it works fine. I tried alsa in 5.0 and it gave error messages saying it couldn't detect my sound card or chips. That's an issue for another thread though.
-
Thanks for the reply, curaga.
a couple days ago, I did a rudimentary search,
someone on the interwebs said something about
pulling it from the mercurial repository.
maybe i'll have a more in-depth look see about it
if other peeps are busy.
cheerio,
solorin
p.s. i've never built a kernel module extension. i don't have to to do anything arcane do I?
-
If you search these forums I believe there's a couple of threads about compiling kernel modules/kernel module extensions.
-
However, there hasn't been a release in a while, and I believe the latest release won't work with a recent kernel.
Hrm? Latest seems to be a bit more than 3 months ago: http://www.opensound.com/forum/viewtopic.php?f=19&t=5231
Yes, but the kernel fixes are only after that, in the unreleased git version.
-
p.s. i've never built a kernel module extension. i don't have to to do anything arcane do I?
Well, you actually do have to for OSS. It has a custom build system.
Half the effort is preparing the kernel source, the other half the cross-compiling env (if you're also making the 64-bit modules). The actual build is just a command or two.
-
I was afraid that might be the case with OSS.
Forums are great for building community;
perhaps not really optimal as a knowledge repository though.
Thanks again for the excellent advice and all your hard work, gentlemen.
cheerio,
solorin
-
H'mmm looks like I may have to step in here and offer some help :)
-
I have downloaded the sources for oss-v4.2 and oss-v4.0 also downloaded the git source and have been looking for the change log ever since, meanwhile have been reading all the build and install readme's I can find.
oss-v4.2 build date June 14th 2013 appears to be the official latest, although there are fixes for Linux 3.8.x in the git source dated 2013-07-25
-
ok so the latest v4.2 git version builds and appears to run on tc-5
but these 10+ year old drivers have been depreciated and are not included by default
oss_allegro
oss_als3xx
oss_als4k
oss_digi32
oss_maestro
oss_neomagic
oss_s3vibes
oss_vortex
They are available to be included, ('cept allegro drivers which may never be fixed) if anyone need them, otherwise am testing without
-
OSS has started OK
+ echo -e \n Done
Done
+ exit 2
tc@box:/tmp$ osstest
Sound subsystem and version: OSS 4.2 (b 2006/201309262222) (0x00040100)
Platform: Linux/i686 3.8.10-tinycore #3810 SMP Tue Apr 30 15:45:26 UTC 2013
*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): Intel ICH (2415)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48066.00 Hz (0.14%)>
*** All tests completed OK ***
tc@box:/tmp$
Ouch my ear drums!
-
However, there hasn't been a release in a while, and I believe the latest release won't work with a recent kernel.
Hrm? Latest seems to be a bit more than 3 months ago: http://www.opensound.com/forum/viewtopic.php?f=19&t=5231
Yes, but the kernel fixes are only after that, in the unreleased git version.
Thanks for the pointer, you are right - it is not exactly obvious on first sight...
-
If nobody needs the old drivers listed above then I think I'll call this a wrap, and submit it
-
That's only the 32-bit modules, or did you build 64-bit too?
-
Have build the complete OSS 32bit applications and modules for starters
not stripped either, yet
-
As some of the scripts were edited, and the apps haven't changed, please only submit the modules - we can likely copy the main extension as-is.
-
As some of the scripts were edited, and the apps haven't changed
Am wondering which scripts we are referring to? perhaps the original OSS extension had some optimizations you'd like to keep ?
When checked against the original apps, there are some differences to all but a couple of apps in terms of compared final compiled size, exactly what changes to the code are I'm not sure, didn't check but these version are directly from the latest git source.
Whatever you say though, I'll fire up the original OSS extension with the new modules and test it.
How about identifying which if any of the discontinued modules need to be added? The OSS team put aside the modules listed in above post, considering neomagic was a common audio chip back in the day (15 years ago), takes only a few minutes to run the build script another time. Probably no one has any of these chips? Was just a thought.
-
curaga, you'll be pleased to hear your original OSS.tcz loads and osstest plays without error additionally is considerably more compact than the latest version. Looks like it can be copied as is to the tc-5 repo, will work some more on the modules (particularly 64bit versions)
Original OSS.tcz + new 32bit modules
tc@box:~$ tce-load -i OSS
/etc/sysconfig/tcedir/optional/OSS.tcz: OK
tc@box:~$ osstest
Sound subsystem and version: OSS 4.2 (b 2006/201309262222) (0x00040100)
Platform: Linux/i686 3.8.10-tinycore #3810 SMP Tue Apr 30 15:45:26 UTC 2013
*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): Intel ICH (2415)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48150.00 Hz (0.31%)>
*** All tests completed OK ***
tc@box:~$
:)
-
Am wondering which scripts we are referring to? perhaps the original OSS extension had some optimizations you'd like to keep ?
I don't recall exactly which ones, but soundon at least. Parts not applicable to TC were removed, speeding up and simplifying the sound enabling; and support for using 64-bit modules with 32-bit userspace was added.
The OSS team put aside the modules listed in above post, considering neomagic was a common audio chip back in the day (15 years ago), takes only a few minutes to run the build script another time. Probably no one has any of these chips? Was just a thought.
They weren't enabled in the TC 4 OSS builds, as some of them didn't build. Given how little complaints there were (2-3 during the TC 4 lifetime), I don't think anyone would use those.
curaga, you'll be pleased to hear your original OSS.tcz loads and osstest plays without error additionally is considerably more compact than the latest version. Looks like it can be copied as is to the tc-5 repo, will work some more on the modules (particularly 64bit versions)
Thanks for testing. Good that my assumptions held ;)
I'll wait for the modules to be submitted before copying the main extension over. You can submit the 32-bit modules before you get to the 64-bit ones, they don't need to be in lockstep.
-
It took a couple hours to create and test the build script, but just a couple of minutes to build and test the set of 32bit modules. All 32bit modules and build script submitted middle of last week so I believe they should be showing up any time.
On the other hand, the 64bit modules are somewhat of a challenge.
I've created portable 64bit modules which emerge in x86_64 ELF format but fail as far as versionmagic is concerned which is odd since i assumed was the meaning of portable?
Portable is the only configure option available with the package.
Next, I'm thinking of separating the modules from the build package then create my own configure and make scripts.
still have a few more tricks to try though.
Sent from my iPad using Tapatalk HD
-
OSS extension copied to tc-5.x repo