Dee Sharpe | 2 Dec 2010 14:45

Non- *nix/posix port

Does anyone ever tried to port OSS to another platform?

Dee Sharpe

People deserve more,
from themselves & each other!

Sent from my iPhone

On Dec 2, 2010, at 5:30 AM, <oss <at> lilltiger.se> wrote:

> Hi!
> 
> Is it possible to Faking/Emulating drivers/cards, so I can test my 
> GUI-mixer to see if the layout works well on other sound-devices/cards?
> _______________________________________________
> oss-devel mailing list
> oss-devel <at> mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
Dee Sharpe | 2 Dec 2010 14:58

Re: Non- *nix/posix port

That was a horrible typo. I meant, "Does anyone know if someone has ever tried to port OSS to another
(non-posix) platform?

Dee Sharpe

People deserve more,
from themselves & each other!

Sent from my iPhone

On Dec 2, 2010, at 7:45 AM, Dee Sharpe <demetrioussharpe <at> netscape.net> wrote:

> Does anyone ever tried to port OSS to another platform?
> 
> Dee Sharpe
> 
> People deserve more,
> from themselves & each other!
> 
> Sent from my iPhone
> 
> On Dec 2, 2010, at 5:30 AM, <oss <at> lilltiger.se> wrote:
> 
>> Hi!
>> 
>> Is it possible to Faking/Emulating drivers/cards, so I can test my 
>> GUI-mixer to see if the layout works well on other sound-devices/cards?
>> _______________________________________________
>> oss-devel mailing list
>> oss-devel <at> mailman.opensound.com
(Continue reading)

Hannu Savolainen | 8 Dec 2010 17:30

Re: Non- *nix/posix port

Hi,

In addition to Haiku there is also a port for VxWorks (which may be bit
incomplete).

OSS is not bound to Poxix. However the API depends on the Posix style
device file interface (/dev/xxxxx and open/close/read/write/ioctl/etc).
If this kind of interface is not available then applications may require
some OS specific tweaking.

Best regards,

Hannu
---
2.12.2010 15.58, Dee Sharpe wrote:
> That was a horrible typo. I meant, "Does anyone know if someone has ever tried to port OSS to another
(non-posix) platform?
> 
> Dee Sharpe
> 
> People deserve more,
> from themselves & each other!
> 
> Sent from my iPhone
> 
> On Dec 2, 2010, at 7:45 AM, Dee Sharpe <demetrioussharpe <at> netscape.net> wrote:
> 
>> Does anyone ever tried to port OSS to another platform?
>>
>> Dee Sharpe
(Continue reading)

Dee Sharpe | 8 Dec 2010 17:46

Re: Non- *nix/posix port

If the POSIX device file interface is the only major hurdle, then I may not have much to worry about. The purpose of the port isn't to allow the porting of programs that already use OSS. It's to push OS/2 forward with modern soundcard support. I'm not so sure that I will be able to support OSS's build environment, though. I will research to see if i can gather what's normally needed. Though, I may just end up trying to move the whole build system over to OpenWatcom.

Dee Sharpe

People deserve more,
from themselves & from each other!



-----Original Message-----
From: Hannu Savolainen <hannu <at> opensound.com>
To: Discussion mailing list for developers of OSS <oss-devel <at> mailman.opensound.com>
Sent: Wed, Dec 8, 2010 10:30 am
Subject: Re: [oss-devel] Non- *nix/posix port

Hi,

In addition to Haiku there is also a port for VxWorks (which may be bit
incomplete).

OSS is not bound to Poxix. However the API depends on the Posix style
device file interface (/dev/xxxxx and open/close/read/write/ioctl/etc).
If this kind of interface is not available then applications may require
some OS specific tweaking.

Best regards,

Hannu
---
2.12.2010 15.58, Dee Sharpe wrote:
> That was a horrible typo. I meant, "Does anyone know if someone has ever tried
to port OSS to another (non-posix) platform?
>
> Dee Sharpe
>
> People deserve more,
> from themselves & each other!
>
> Sent from my iPhone
>
> On Dec 2, 2010, at 7:45 AM, Dee Sharpe <demetrioussharpe <at> netscape.net> wrote:
>
>> Does anyone ever tried to port OSS to another platform?
>>
>> Dee Sharpe
>>
>> People deserve more,
>> from themselves & each other!
>>
>> Sent from my iPhone
>>
>> On Dec 2, 2010, at 5:30 AM, <oss <at> lilltiger.se> wrote:
>>
>>> Hi!
>>>
>>> Is it possible to Faking/Emulating drivers/cards, so I can test my
>>> GUI-mixer to see if the layout works well on other sound-devices/cards?
>>> _______________________________________________
>>> oss-devel mailing list
>>> oss-devel <at> mailman.opensound.com
>>> http://mailman.opensound.com/mailman/listinfo/oss-devel
>> _______________________________________________
>> oss-devel mailing list
>> oss-devel <at> mailman.opensound.com
>> http://mailman.opensound.com/mailman/listinfo/oss-devel
>
> _______________________________________________
> oss-devel mailing list
> oss-devel <at> mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel

_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
François Revol | 8 Dec 2010 17:55
Picon
Favicon
Gravatar

Re: Non- *nix/posix port


Le 8 déc. 2010 à 17:46, Dee Sharpe a écrit :


If the POSIX device file interface is the only major hurdle, then I may not have much to worry about. The purpose of the port isn't to allow the porting of programs that already use OSS. It's to push OS/2 forward with modern soundcard support. I'm 

Indeed, in Haiku I don't publish soundcard.h either, applications just use the native Media Kit interfaces and use the opensound media node or another one regardless through the system mixer. Command line tools like osstest are provided for convenience but other than that we do not expose anything else, because we don't claim to be UNIX.

not so sure that I will be able to support OSS's build environment, though. I will research to see if i can gather what's normally needed. Though, I may just end up trying to move the whole build system over to OpenWatcom.

The build system might be a bit tricky since it builds some tools to generate other build required files, but It can be doable, don't you have something similar to mingw/cygwin in OS/2 ?

François.
_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
Dee Sharpe | 8 Dec 2010 18:55

Re: Non- *nix/posix port

-----Original Message-----
From: François Revol <revol <at> free.fr>
To: Discussion mailing list for developers of OSS <oss-devel <at> mailman.opensound.com>
Sent: Wed, Dec 8, 2010 10:55 am
Subject: Re: [oss-devel] Non- *nix/posix port


Le 8 déc. 2010 à 17:46, Dee Sharpe a écrit :


If the POSIX device file interface is the only major hurdle, then I may not have much to worry about. The purpose of the port isn't to allow the porting of programs that already use OSS. It's to push OS/2 forward with modern soundcard support. I'm 

Indeed, in Haiku I don't publish soundcard.h either, applications just use the native Media Kit interfaces and use the opensound media node or another one regardless through the system mixer. Command line tools like osstest are provided for convenience but other than that we do not expose anything else, because we don't claim to be UNIX.

not so sure that I will be able to support OSS's build environment, though. I will research to see if i can gather what's normally needed. Though, I may just end up trying to move the whole build system over to OpenWatcom.

The build system might be a bit tricky since it builds some tools to generate other build required files, but It can be doable, don't you have something similar to mingw/cygwin in OS/2 ?



Yes, we do have something of that nature, but I'm more of a purist when it comes to OSes. I want all of my system level work to all be done on OpenWatcom, because, you never know if someone will decide to build on your work in an effort to create a clone of the OS. If that does happen, I'd like for my contribution to have one overall structure & theme. I do not want to have bits & pieces of various code types scattered about, forcing the next developer to hunt for more pieces to assemble a suitable development environment. Fortunately, I have the luxioury of this not needing to be ported back into any other system. The closest system to OS/2 is Windows & they don't need OSS, currently.


Dee Sharpe

People deserve more,
from themselves & from each other!



_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
François Revol | 2 Dec 2010 15:02
Picon
Favicon
Gravatar

Re: Non- *nix/posix port

Hi,

Le 2 déc. 2010 à 14:45, Dee Sharpe a écrit :

> Does anyone ever tried to port OSS to another platform?

I made a port to BeOS & Haiku,
cf.
http://revolf.free.fr/Alchimie-7/Alchimie7_OSS_Haiku.en.pdf
and
http://revolf.free.fr/FOSDEM/2010/FOSDEM2010_ALTOS_011_OSSv4_Haiku_Port.pdf

I've got a report_OSS_to_Minix_port.pdf here but can't find where I got it from, written by http://www.few.vu.nl/~hphijma/

and I recall hearing about a possibility for Syllable.

I tried to get the AROS people look at it, they already have a driver to use OSS for their Linux-hosted port.

François.

> Sent from my iPhone

Why not a FreeRunner ? :P

And please do not hijack threads by answering to mails with different subjects, this breaks MUA which
handle threads. Just start a new one.
Dee Sharpe | 2 Dec 2010 16:19

Re: Non- *nix/posix port

Yeh, I was doing the Syllable port, but that was spare time work. A job opportunity has arisen that will give
me post-army employment & one of the subsystems that I'd like to bring to the table is OSS, for OS/2 - eComStation.

Dee Sharpe

People deserve more,
from themselves & each other!

Sent from my iPhone

On Dec 2, 2010, at 8:02 AM, François Revol <revol <at> free.fr> wrote:

> Hi,
> 
> Le 2 déc. 2010 à 14:45, Dee Sharpe a écrit :
> 
>> Does anyone ever tried to port OSS to another platform?
> 
> I made a port to BeOS & Haiku,
> cf.
> http://revolf.free.fr/Alchimie-7/Alchimie7_OSS_Haiku.en.pdf
> and
> http://revolf.free.fr/FOSDEM/2010/FOSDEM2010_ALTOS_011_OSSv4_Haiku_Port.pdf
> 
> I've got a report_OSS_to_Minix_port.pdf here but can't find where I got it from, written by http://www.few.vu.nl/~hphijma/
> 
> and I recall hearing about a possibility for Syllable.
> 
> I tried to get the AROS people look at it, they already have a driver to use OSS for their Linux-hosted port.
> 
> François.
> 
>> Sent from my iPhone
> 
> Why not a FreeRunner ? :P
> 
> And please do not hijack threads by answering to mails with different subjects, this breaks MUA which
handle threads. Just start a new one.
> _______________________________________________
> oss-devel mailing list
> oss-devel <at> mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel

_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
François Revol | 2 Dec 2010 17:47
Picon
Favicon
Gravatar

Re: Non- *nix/posix port


Le 2 déc. 2010 à 16:19, Dee Sharpe a écrit :

> Yeh, I was doing the Syllable port, but that was spare time work. A job opportunity has arisen that will give
me post-army employment & one of the subsystems that I'd like to bring to the table is OSS, for OS/2 - eComStation.

Interesting, maybe you could get around with the ReactOS people, I tried to get them interested too but they
didn't do much yet...

btw, I recall reading about a port of ALSA to OS/2, this was a fake right ? I don't see ALSA as portable at all.

François.

(oh and don't top-post :p)
Clemens Ladisch | 2 Dec 2010 18:04
Picon
Gravatar

Re: Non- *nix/posix port

François Revol wrote:
> I recall reading about a port of ALSA to OS/2, this was a fake right ?

Looks real: <http://svn.netlabs.org/uniaud/>.

Regards,
Clemens
_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
François Revol | 2 Dec 2010 18:23
Picon
Favicon
Gravatar

Re: Non- *nix/posix port


Le 2 déc. 2010 à 18:04, Clemens Ladisch a écrit :

> François Revol wrote:
>> I recall reading about a port of ALSA to OS/2, this was a fake right ?
> 
> Looks real: <http://svn.netlabs.org/uniaud/>.

Ah so it somehow works.
I'm wondering how much the spend on merging ALSA each time.
OTH it seems to talk about ACPI and suspend, one thing OSS lacks as of yet.

François.
Dee Sharpe | 2 Dec 2010 21:11

Re: Non- *nix/posix port

On 12/2/2010 11:04 AM, Clemens Ladisch wrote:
> François Revol wrote:
>> I recall reading about a port of ALSA to OS/2, this was a fake right ?
> Looks real:<http://svn.netlabs.org/uniaud/>.

It's very real & it's been in use for quite awhile.

Dee Sharpe

People deserve more,
from themselves & each other!
_______________________________________________
oss-devel mailing list
oss-devel <at> mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel
Dee Sharpe | 2 Dec 2010 21:09

Re: Non- *nix/posix port

On 12/2/2010 10:47 AM, François Revol wrote:
> Interesting, maybe you could get around with the ReactOS people, I 
> tried to get them interested too but they didn't do much yet...

They're probably more interested in getting drivers already written for 
Windows to work correctly. I doubt they're interested in creating an 
alternate sound driver set.

> btw, I recall reading about a port of ALSA to OS/2, this was a fake right ? I don't see ALSA as portable at all.

No, this isn't fake. It's called UniAud.sys, it's their Universal Audio 
driver.

> François.
>
> (oh and don't top-post :p)

Sorry, when using Netscape email from the browser, it does that 
automatically & I've yet to find a way to make it post from the bottom 
correctly.

Dee Sharpe

People deserve more,
from themselves & each other!
François Revol | 2 Dec 2010 21:15
Picon
Favicon
Gravatar

Re: Non- *nix/posix port


Le 2 déc. 2010 à 21:09, Dee Sharpe a écrit :

> On 12/2/2010 10:47 AM, François Revol wrote:
>> Interesting, maybe you could get around with the ReactOS people, I 
>> tried to get them interested too but they didn't do much yet...
> 
> They're probably more interested in getting drivers already written for 
> Windows to work correctly. I doubt they're interested in creating an 
> alternate sound driver set.

Except I don't think there are many of those drivers they legally ship with ReactOS...

> 
>> btw, I recall reading about a port of ALSA to OS/2, this was a fake right ? I don't see ALSA as portable at all.
> 
> No, this isn't fake. It's called UniAud.sys, it's their Universal Audio 
> driver.

Fine, maybe I'll have a look at it someday with enough aspirin :)

>> (oh and don't top-post :p)
> 
> Sorry, when using Netscape email from the browser, it does that 
> automatically & I've yet to find a way to make it post from the bottom 
> correctly.

Well, Mail.app also has lots of issues, I couldn't disable html entirely nor find where to activate line wrapping...

François.
Dee Sharpe | 2 Dec 2010 21:21

Re: Non- *nix/posix port

On 12/2/2010 2:15 PM, François Revol wrote:
> Except I don't think there are many of those drivers they legally ship 
> with ReactOS...

Yeh, I doubt that they'd ship any of that kind of driver. I'm willing to 
bet that they'd expect people to just download the drivers from the 
hardware OEM's website & install those. Afterall, the drivers on the 
websites are more up to date than the drivers on the Windows install cd 
& the driver cds that come with the hardware.

> Fine, maybe I'll have a look at it someday with enough aspirin :)

The way the OS/2 world is going these days, you'll need quite a bit. I'm 
trying to do what I can to right some of the wrongs that were done over 
the year & perhaps make the OS/2 world a bit more modern.

> Well, Mail.app also has lots of issues, I couldn't disable html 
> entirely nor find where to activate line wrapping...

Sending mail from my iphone also top posts.

Dee Sharpe

People deserve more,
from themselves & each other!

Gmane