[OE-core] [PATCH 0/2] Busybox mdev improvements

Mike Looijmans mike.looijmans at topic.nl
Fri Dec 5 12:57:37 UTC 2014


On 12/05/2014 12:27 PM, Otavio Salvador wrote:
> On Fri, Dec 5, 2014 at 4:18 AM, Mike Looijmans <mike.looijmans at topic.nl> wrote:
>> On 12/04/2014 09:47 PM, Otavio Salvador wrote:
>>>
>>> On Thu, Dec 4, 2014 at 8:27 AM, Mike Looijmans <mike.looijmans at topic.nl>
>>> wrote:
>>>>
>>>> This first series fixes the touchscreen support. A patch to automatically
>>>> have mdev mount storage devices will follow soon, I'm still testing it.
>>>
>>>
>>> I enjoy this idea but please put this one in a specific sub-package or
>>> with a setting in /etc/default/mdev to enable/disable it.
>>
>>
>> By "this" you refer to the automatic mounting? No problem, and a good
>> suggestion too.
>
> Yes.
>
>> Another problem I solved in various projects is the automatic loading of
>> kernel drivers. It makes mdev automatically load modules and firmware, e.g.
>> when plugging in a USB device, and adds a script to scan for hotpluggable
>> devices at boot. It's only a few lines, but these make mdeve provide most of
>> udev's functionality.
>
> Agreed and I think this is also a good addition; however we should
> have it in a subpackage as well.

"busybox-mdev" is already a separate package. Both automounter and module 
loader need an entry in mdev.conf to work. (The module loader is nothing but 
an entry).

If projects or users don't want these, they can provide their own mdev.conf 
(it's a CONFFILE anyway). This just makes for a better default.

The "load modules at boot" script is yet on its way, it contains about 3 lines 
of shell script which only make sense for mdev, so putting that in a separate 
package seems overkill to me.


(PS:)
 From the current state of busybox-mdev in OE-core, my perception is that 
there are only a handful of projects in the world that use it, and I'm a 
member of two of those...


Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax:  (+31) (0) 499 33 69 70
E-mail: mike.looijmans at topic.nl
Website: www.topic.nl

Please consider the environment before printing this e-mail

Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/




More information about the Openembedded-core mailing list