WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't find OSS-kernel  (Read 2425 times)

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Can't find OSS-kernel
« on: April 05, 2015, 12:04:11 PM »
What's about OSS in TC 6.x ? There are some files in the repo (though they lack OSS-modules which is OSS.tcz' dependency) but even when I'm tricking OSS.tcz with old renamed OSS-modules from 5.x' repo it doesn't install properly saying that some oss.ko in /usr/lib/kernel/modules/... is not found.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Can't find OSS-kernel
« Reply #1 on: April 05, 2015, 01:04:06 PM »
Nobody has built it yet.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Can't find OSS-kernel
« Reply #2 on: April 05, 2015, 02:36:38 PM »
You could try  alsa-oss.tcz  from 4.x repo.

Seems to work on 6.x
Code: [Select]
$ aoss mplayer -ao oss file.avi
...
  CPLAYER: ==========================================================================
  CPLAYER: AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
  CPLAYER:
...

http://tinycorelinux.net/4.x/x86/tcz/alsa-oss.tcz.info
« Last Edit: April 05, 2015, 02:42:39 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Can't find OSS-kernel
« Reply #3 on: April 05, 2015, 04:55:50 PM »
Didn't work for me... It doesn't create /dev/mixer which is needed by mp3blaster to manipulate voulme properly... Just now it has no volume control in fact. It can play music and do some nice stuff but I have to set another tty with alsamixer opened to be able to change volume.

Maybe I can build it for myself... I have built vlc-nox about 5MB of size (tcz) that can play movies and music but, building OSS driver is much more serious job to do. I mean, I even would submit this vlc-just-for-fun and use it myself for watching movies, but I better wait for some kind of official build of OSS.

Hmm... what else... well, nothing I can remember I couldn't handle by myself. So far...
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Can't find OSS-kernel
« Reply #4 on: April 05, 2015, 05:27:05 PM »
I need to rebuild odd for tc6


Sent from my iPhone using Tapatalk

gordon64

  • Guest
Re: Can't find OSS-kernel
« Reply #5 on: September 21, 2015, 07:16:19 AM »
@ coreplayer2
I have built it for x86

@ Scampada
and any interested 32 bit user.

I have compiled OSS and its modules using coreplayer2's kernel-sources-env script and the GPL version of OSS.

As my main computer is 8G of RAM and too modern, I failed to create a device entry in the devices that works for my sound device.

However, I have tested today OSS on an older computer and altho its got a few quirks
OSS is running OK thru ossplay.

If anyone wants to pm in the next few days ....on 32 bit only....who have previously used and want OSS.....I can give you some link so you can test it.

Testing it is always good idea, but if no replies in say 3 days, I will check everything and submit.
Naturally I delay if testers available.

To save time, I hope others don't mind how I got my internal intel working with current build?

read on if interested

Code: [Select]
tce-load -i OSS
sudo soundoff
sudo rmmod oss_usb (if showing for lsmod)
sudo modprobe oss_hdaudio (if lsmod shows missing)
sudo soundon
ossinfo

snip
Version info: OSS 4.2 (b 2011/201509200422) (0x00040100) GPL
Platform: Linux/i686 3.16.6-tinycore #777 SMP Thu Oct 16 09:42:42 UTC 2014 (box)

Number of audio devices: 7
Number of audio engines: 11
Number of MIDI devices: 0
Number of mixer devices: 1

Mixer devices
 0: High Definition Audio STAC9221 (Mixer 0 of device object 1)
snip

Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0

I have yet to ask maintainers permission but hope they agree  ;D

good luck

AFAIK OSS can only play wav and a small number of other formats excluding ogg mp3 wma etc
« Last Edit: September 21, 2015, 07:28:05 AM by gordon64 »

gordon64

  • Guest
Re: Can't find OSS-kernel
« Reply #6 on: September 21, 2015, 09:02:21 PM »
Hi

No need for testers. I have submitted OSS-modules-3.16.6-tinycore.tcz, OSS-doc.tcz, ossxmix.tcz
should land in a couple of weeks. PS old ossxmix does not work, this is a newer version built for libpng16

cheers