Board.KolibriOS.org

Официальный форум KolibriOS
Текущее время: Пн дек 11, 2017 8:59 am

Часовой пояс: UTC+03:00




Начать новую тему  Ответить на тему  [ 19 сообщений ]  На страницу Пред. 1 2
Автор Сообщение
 Заголовок сообщения: Re: Driver service
СообщениеДобавлено: Ср июл 20, 2011 9:32 pm 
Не в сети
Mentor/Kernel Developer
Аватара пользователя

Зарегистрирован: Пт июн 30, 2006 9:01 am
Сообщения: 1232
"The kernel is responsible for loading and calling all hardware drivers. What if autorun.dat references a resource on a storage device supported by dynamically loaded driver?"

It's a good question, I didnt think of it because all those drivers are inside kernel now.

"A binary file is also an option. However, I'm not sure that "it should not be easy to change for users anyway" - what if a new driver needs to be tested? what if the system doesn't boot due to some driver and this driver should be disabled?"

A driver can be disabled by removing/renaming it. Perhaps we can even make a "safe mode" loading only most essential drivers?
Testing drivers always involves developers who can provide the files needed.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Вернуться к началу
 Заголовок сообщения: Re: Driver service
СообщениеДобавлено: Ср июл 20, 2011 9:36 pm 
Не в сети
Kernel Developer
Аватара пользователя

Зарегистрирован: Чт сен 03, 2009 1:52 pm
Сообщения: 1601
Well, maybe I'm too developer-centric and users indeed don't need to edit the database. In this case a binary file is indeed better.


Вернуться к началу
 Заголовок сообщения: Re: Driver service
СообщениеДобавлено: Ср июл 20, 2011 9:42 pm 
Не в сети
Mentor/Kernel Developer
Аватара пользователя

Зарегистрирован: Пт июн 30, 2006 9:01 am
Сообщения: 1232
I am just presenting my ideas, I'll think about it some more..

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Вернуться к началу
 Заголовок сообщения: Re: Driver service
СообщениеДобавлено: Чт июл 21, 2011 12:16 pm 
Не в сети
Kernel Developer
Аватара пользователя

Зарегистрирован: Пт авг 14, 2009 1:46 am
Сообщения: 1291
CleverMouse писал(а):
art_zh, we develop different systems.
Sadly, you're right.
That's because we think very different concepts.
CleverMouse писал(а):
You work on Kolibri-A branch and think from a perspective of an embedded system with fixed PCI/PCI-e hardware. Indeed, such a system doesn't need to re-enumerate PCI bus at every startup.
It is one of minor reasons; let me mention the other ones:
- I know my code will barely work on every machine smoothly;
- I expect my user is experienced, responsible and clever enough to configure his computer properly;
- the user can be helped by an external device_enumerator (by Linux or MS) if our own one fails;
- the user needs to have a chance to edit/modify his configuration settings when necessary;
- I don't want to spend the rest of my life answering stupid questions like "why is it not working(detected) on my machine?" and fixing all the countless bugs related.
But again, those were minor reasons.

The main reason is: what we can get following PnP-mainstream is yet another flavour of Linux.

CleverMouse писал(а):
However, even Kolibri-A needs PnP capability e.g. for USB.
What I actually need is hotplug not start-up PnP.
One can manage hotplug hw_detection in a runtime process, and do it better and safer.
In some special cases (i.e. flash disks plugging) the system can be silently restarted after hotplug reconfiguring.
That takes shorter than start-up enumeration, and will follow the spirit of KolibriOS.


Вернуться к началу
Показать сообщения за:  Поле сортировки  
Начать новую тему  Ответить на тему  [ 19 сообщений ]  На страницу Пред. 1 2

Часовой пояс: UTC+03:00


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 1 гость


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Limited
Русская поддержка phpBB