Amiga.org

Operating System Specific Discussions => AROS Research Operating System => Topic started by: bloodline on December 10, 2003, 04:10:30 PM

Title: Unified Driver Interface
Post by: bloodline on December 10, 2003, 04:10:30 PM
Following on from the SkyOS thread, I was wondering what thoughts people have on a Unified Driver interface.

Something that would allow all the small OS projects to share drivers and increase their usefullenss.
Title: Re: Unified Driver Interface
Post by: dammy on December 10, 2003, 04:34:54 PM
How about that M$ driver wrapper for Linux?  Could that be ported over?

Dammy
Title: Re: Unified Driver Interface
Post by: Amiga1200PPC on December 10, 2003, 04:38:46 PM
Short: no.
Title: Re: Unified Driver Interface
Post by: pixie on December 10, 2003, 04:52:16 PM
I thought that AROS had a similar driver concept...
Title: Re: Unified Driver Interface
Post by: bloodline on December 10, 2003, 04:54:11 PM
Quote

dammy wrote:
How about that M$ driver wrapper for Linux?  Could that be ported over?

Dammy


A lot of the AROS devs have said that it would be perfectly possible to use Linux drivers in AROS... but have never really gone into much detail about it.
Title: Re: Unified Driver Interface
Post by: on December 10, 2003, 04:55:21 PM
I think it'd be great. Heck, I'd love to see a unified driver interface in AmigaOS alone, all this nonsense of having to develop for prometheus/Zorro/Grex/Mediator/AmigaOne all being somewhat different only makes for less drivers everyone can use. OpenPCI was a good attempt but was foiled by someone not wanting their product to benefit from sharing drivers. And another someone only allowed their product supported under conditions that prevented something else good to happen.

And if no one can cooperate to make this possible inside a single OS, I don't see it happening across multiple OSes in our little community. :(
Title: Re: Unified Driver Interface
Post by: xisp on December 10, 2003, 07:19:52 PM
You mean this (http://www.projectudi.org/)?
Title: Re: Unified Driver Interface
Post by: bloodline on December 10, 2003, 09:35:30 PM
Quote

xisp wrote:
You mean this (http://www.projectudi.org/)?


Yup, that has been suggested, but I notice that there don't seem to be many drivers for it, and that SCO are involved... two downers... But I think someone more qualified than me should look at it :-D
Title: Re: Unified Driver Interface
Post by: KennyR on December 10, 2003, 09:38:05 PM
If you're trying to copy the Windows driver system, don't, because it's one of the worst inventions in computing history. Amiga is amiga because we don't have anything like this, and never should have.
Title: Re: Unified Driver Interface
Post by: bloodline on December 10, 2003, 09:47:34 PM
Quote

KennyR wrote:
If you're trying to copy the Windows driver system, don't, because it's one of the worst inventions in computing history. Amiga is amiga because we don't have anything like this, and never should have.


No, I just think there needs to be a standard driver interface. This would mean the all the OS projects that are out there AROS, SkyOS, AtheOS, ReactOS, NewOS, OBeOS etc.. etc.. etc... can all use the same driver.

Imagine that! If someone writes a Nvidia Graphics driver for AtheOS (for example), then any of the other OS projects could use it without the need to port it, just download it and install it.
Title: Re: Unified Driver Interface
Post by: JetFireDX on December 10, 2003, 10:46:29 PM
I think a unified driver system shared through all of the "hobby" OSes out there would be great. It would certainly cut back on the work that was needed for any specific OS to get support for hardware. . . but how to coordinate this will each of the seperate teams/OSes? Each team is going to want it done their way (probably closest to how they already have their driver system implemented so they don't need to change a whole lot) and in the end I don't think they could all come together on it. It would be great if they could though.
Title: Re: Unified Driver Interface
Post by: whabang on December 10, 2003, 10:52:48 PM
How about a specific driver standard and a wrapper for each OS' driver system?
Title: Re: Unified Driver Interface
Post by: Karlos on December 10, 2003, 10:57:08 PM
@whabang

Well, I have often thought about that. Some nice open polymorphic interface for devices of all kinds would be ideal as the wrapper. Given OS's can then implement the interface in whatever way suits them best.

Mind you, any such suggestions I have ever made about creating wrapper systems for each (amiga) OS has usually been shot down in flames by people lecturing "it cant be done, you should simply do it our way..."
Title: Re: Unified Driver Interface
Post by: whabang on December 10, 2003, 11:00:07 PM
Well, such a sytem would definitely boost the number of availible drivers for every OS that supports it.
Title: Re: Unified Driver Interface
Post by: Karlos on December 10, 2003, 11:05:42 PM
Youd need a well defined heirarchy for such a system. Devices by their very nature suit OOP design very well.

I wouldn't hold your breath though :-(
Title: Re: Unified Driver Interface
Post by: bloodline on December 10, 2003, 11:27:18 PM
Quote

Karlos wrote:
Youd need a well defined heirarchy for such a system. Devices by their very nature suit OOP design very well.

I wouldn't hold your breath though :-(


Well all modern OS projects support OOP... come on I know you have some good ideas :-)
Title: Re: Unified Driver Interface
Post by: Martyn on December 11, 2003, 02:03:46 PM
Here's what i posted in the previous thread:

bloodline wrote:

Quote


Some things I note about UDI is the large SCO input, that immediatelly makes me cautious of such a system and the rather conspicious lack of drivers...



True, that raised my eyebrows at first but you need to bear it mind when UDI first got off the ground (around 1999-time) and SCO's recent history of buy-outs, renaming, linux firtation and not litigation. I'm not sure if if really the same company anymore.

I think it's "clean".

Quote


But it is exactly the sort of thing we need.


Sure is.
Title: Re: Unified Driver Interface
Post by: Wolfe on December 11, 2003, 02:04:23 PM
Practical :  YES

Doable:  Probably not.  Getting all those different OS's to cooperate and unify would be like getting a practical common sense idea through the US Congress.

But it is a good idea.   :idea:
Title: Re: Unified Driver Interface
Post by: Martyn on December 11, 2003, 02:07:08 PM
Quote

...but I notice that there don't seem to be many drivers for it [UDI]


So then you've got a choice....

1. Write all your own drivers for AROS
2. Write all your own drivers for AROS using UDI, where they be usable to any other OS that supports UDI.

Hey!  Then if there's some useful drivers other OSs might use UDI!
Hey!  Then they might write their own drivers that AROS will be able to use!

Geddit?
Title: Re: Unified Driver Interface
Post by: bloodline on December 11, 2003, 02:45:03 PM
Quote

Martyn wrote:
Quote

...but I notice that there don't seem to be many drivers for it [UDI]


So then you've got a choice....

1. Write all your own drivers for AROS
2. Write all your own drivers for AROS using UDI, where they be usable to any other OS that supports UDI.

Hey!  Then if there's some useful drivers other OSs might use UDI!
Hey!  Then they might write their own drivers that AROS will be able to use!

Geddit?


Doh! Yes of course :-)

I woudl be nice if someone could do a feasabilitry study on this. Sicne it looks like quite a task. But if we were able to put down a good solid profile/plan, then wer could present it to the other OS projects and get them involved.  :-)
Title: Re: Unified Driver Interface
Post by: Martyn on December 11, 2003, 03:31:34 PM
That's the spirit!!

If I had the time (and some lower-level coding ability) I'd join in with you!
Title: Re: Unified Driver Interface
Post by: bloodline on December 11, 2003, 04:29:21 PM
Quote

Martyn wrote:
That's the spirit!!

If I had the time (and some lower-level coding ability) I'd join in with you!


I'd Vote for Karlos to do it :lol:
Title: Re: Unified Driver Interface
Post by: Crumb on March 03, 2004, 10:38:17 AM
"A lot of the AROS devs have said that it would be perfectly possible to use Linux drivers in AROS... but have never really gone into much detail about it."

Well, that would be one of the most interesting things you could do... even if the windows system of drivers is horrible the possibility of using them would be great...
Title: Re: Unified Driver Interface
Post by: bloodline on March 03, 2004, 11:05:25 AM
Quote

Crumb wrote:
"A lot of the AROS devs have said that it would be perfectly possible to use Linux drivers in AROS... but have never really gone into much detail about it."

Well, that would be one of the most interesting things you could do... even if the windows system of drivers is horrible the possibility of using them would be great...


Latest update is that, there is now talk of using *BSD drivers... Which as I understand it would be quite easy... we shall see.
Title: Re: Unified Driver Interface
Post by: asian1 on March 03, 2004, 11:42:50 AM
Hello
What about commercial linuxant loader or jungo Windriver?

Linuxant (http://www.linuxant.com)
Jungo (http://www.jungo.com)