OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 5:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Haiku drivers
PostPosted: Sun Jul 09, 2023 4:08 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
Hi, I am not sure if this is the right place to ask this question or not. If not, @mod, please move it where it belongs (maybe except /dev/null ;) )

I recently tried recent version of Haiku and I really like it. It has become much more usable since when I tried it last time. I want to use it on my `music` PC. Everything I need runs fine on on it, except USB MIDI devices. This is a must for me. Now I just reverted back to using Linux. But I've looked into Haiku source code and I've found actual `usb_midi` driver. I've even read somewhere that it works. The thing is I am not familiar with Haiku's driver model, its build system or even general architecture. My question is: Can I build drivers by themselves and load them at runtime just like Windows drivers or Linux modules? Or do I have to rebuild entire kernel and somehow swap it with existing one?


Top
 Profile  
 
 Post subject: Re: Haiku drivers
PostPosted: Sun Jul 09, 2023 4:33 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4597
Location: Chichester, UK
Since Haiku is based on BEOS I would imagine it uses the same driver model of dynamically loaded modules. So for starters you probably want to read the Be Book: https://www.haiku-os.org/legacy-docs/be ... ction.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group