WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: OSS v4.2-build2017  (Read 3348 times)

Offline nimday

  • Jr. Member
  • **
  • Posts: 75
OSS v4.2-build2017
« on: November 04, 2017, 12:47:06 AM »
« Last Edit: November 04, 2017, 12:48:41 AM by nimday »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: OSS v4.2-build2017
« Reply #1 on: November 15, 2017, 02:55:54 AM »
Code: [Select]
$ modinfo osscore
filename:       /lib/modules/4.8.17-tinycore64/kernel/oss/osscore.ko
author:         4Front Technologies (support@opensound.com)
description:    Open Sound System core services
license:        GPL v2
depends:       
vermagic:       4.8.17-tinycore64 SMP mod_unload

$ sudo modprobe osscore
modprobe: can't load module osscore (kernel/oss/osscore.ko): unknown symbol in module, or unknown parameter

..the latest entry to the oss source repo is 2012.

There are various patches in the oss forum, but they don't seem to help and I could not locate a more up to date source repo.

..plus oss doesn't support installing to /usr/local.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
Re: OSS v4.2-build2017
« Reply #2 on: November 15, 2017, 04:44:30 AM »
from http://archive.li/yqrcc
" Thu Feb 02, 2017 4:45 pm 4Front is happy to announce the release of Open Sound System v4.2 Build 2017 sources and binaries "

https://archive.li/o/yqrcc/www.opensound.com/release/oss-freebsd11-amd64-v4.2-2017.txz
https://archive.li/o/yqrcc/www.opensound.com/release/oss-linux-v4.2-2017-i386.tar.bz2
all the inside files are from 28/03/2017 ;)

and in archlinux: https://aur.archlinux.org/packages/oss-nonfree/
"alexdw commented on 2017-02-13 23:49
Updated (4.2_2017-1) for new release - OSS v4.2 Build 2017: http://ossnext.trueinstruments.com/forum/viewtopic.php?f=19&t=5841
Now working again with Arch kernel 4.8."

have a nice day

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: OSS v4.2-build2017
« Reply #3 on: November 15, 2017, 05:23:27 AM »
I used the source from here:

http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2017-src-gpl.tar.bz2

..and it didn't work, even though there were no errors that I could see during the build.
« Last Edit: November 15, 2017, 05:25:15 AM by Juanito »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: OSS v4.2-build2017
« Reply #4 on: November 15, 2017, 10:50:14 AM »
I had some difficulty with the last oss build  and until recently have not had a PC to test any new builds on. 
iirc the last build for tc x86 included the older modified for tc binaries from years back.   The x86_64 version was built without such tc modifications. 

I’ll try again though...


Sent from my iPhone using Tapatalk

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
Re: OSS v4.2-build2017
« Reply #5 on: November 15, 2017, 12:33:18 PM »
I am not a programmer, but i can google search:

http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5837#p21586
"For anyone else having this issue, I've made a simple patch (attached, and already included in Arch Linux AUR packages oss and oss-git) to make oss work with CONFIG_HARDENED_USERCOPY in Linux kernel 4.8.
 linux-4.8-usercopy.patch.txt
Patch for CONFIG_HARDENED_USERCOPY"

they solved even for linux kernel 4.11 ;)
http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5845
"Re: Kernel 4.11.0 osscore.c compile fix; Postby hash » Mon Sep 25, 2017 10:24 am
Here is updated patch for current git from sf.net
 oss-4.9999-001_oss4_linux_4.11_osscore_fix_git.patch.txt
UpDated Kernel 4.11.0 osscore.c compile fix"


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: OSS v4.2-build2017
« Reply #6 on: November 15, 2017, 01:42:45 PM »
Yes, I tried both of those patches

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: OSS v4.2-build2017
« Reply #7 on: November 15, 2017, 01:44:26 PM »
I’ll try again though...

Please do 🙂

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: OSS v4.2-build2017
« Reply #8 on: November 15, 2017, 02:58:16 PM »
I’ll try again though...

Please do 🙂
I have a new notebook now so I'll try asap

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: OSS v4.2-build2017
« Reply #9 on: November 18, 2017, 06:23:33 PM »
Note sure if I got any further down this build path, but it seems that I still have no way to test OSS
Code: [Select]
tc@box:~$ osstest
subsystem and version: OSS 4.2 (b 2017/201711181512) (0x00040100)
Platform: Linux/i686 4.8.17-tinycore #2017 SMP Sun Mar 5 15:49:22 UTC 2017


NOTICE! You don't have any audio devices available.
        It looks like your audio hardware was not recognized
        by OSS.
               
        If you have installed OSS just a moment ago then it may be necessary to.
        to reboot the system before trying to use the device(s).
tc@box:~$


I am not a programmer, but i can google search:

http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5837#p21586
"For anyone else having this issue, I've made a simple patch (attached, and already included in Arch Linux AUR packages oss and oss-git) to make oss work with CONFIG_HARDENED_USERCOPY in Linux kernel 4.8.
 linux-4.8-usercopy.patch.txt
Patch for CONFIG_HARDENED_USERCOPY"
These patches are already applied to the source
« Last Edit: November 18, 2017, 06:32:40 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: OSS v4.2-build2017
« Reply #10 on: November 18, 2017, 08:20:43 PM »
It appears that my hardware is not supported even by the latest OSS version

Code: [Select]
00:1f.3 Audio device: Intel Corporation Device a171 (rev 31)
Last supported hd_audio device is a170
Code: [Select]
oss_hdaudio pci8086,a170 Intel High Definition Audio (Skylake)

Code: [Select]
tc@box:~$ ossinfo
Version info: OSS 4.2 (b 2017/201711181512) (0x00040100) GPL
Platform: Linux/i686 4.8.17-tinycore #2017 SMP Sun Mar 5 15:49:22 UTC 2017 (box)

Number of audio devices:        0
Number of audio engines:        0
Number of MIDI devices:         0
Number of mixer devices:        0


Device objects
 0: osscore0 OSS core services
 1: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices

Audio devices

Nodes
tc@box:~$

Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: P 
oss_usb               110592  0
osscore               548864  1 oss_usb
nvidia_drm             32768  1
...
OSSCORE loads and appears to function but the hardware specific driver fails to load since my hardware is not supported,  I'm still looking for older hardware to test with..

built from "http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2017-src-gpl.tar.bz2"
I guess I'll submit for x86 repo just incase..
« Last Edit: November 18, 2017, 08:27:54 PM by coreplayer2 »