Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753252AbbEFRJm (ORCPT ); Wed, 6 May 2015 13:09:42 -0400 Received: from mail-qk0-f174.google.com ([209.85.220.174]:36552 "EHLO mail-qk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbbEFRJk convert rfc822-to-8bit (ORCPT ); Wed, 6 May 2015 13:09:40 -0400 MIME-Version: 1.0 In-Reply-To: <20150506165556.GA23190@milliways> References: <5547B89B.5070502@nod.at> <5547FFB8.5050007@nod.at> <20150505222644.GA27497@milliways> <20150506165556.GA23190@milliways> Date: Wed, 6 May 2015 18:09:39 +0100 Message-ID: Subject: Re: how to have the kernel do udev's job and autoload the right modules ? From: linuxcbon linuxcbon To: Ken Moffat Cc: Richard Weinberger , LKML Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1450 Lines: 29 On Wed, May 6, 2015 at 5:55 PM, Ken Moffat wrote: > I suggest that you take the time to look at eudev and mdev, and > think about how you can use the facilities they offer. I was wishing the kernel would offer some minimal support for network, sound and full screen video for my hw :(. But it seems I need to load modules to achieve this. And to load modules, it needs some kind of "hotplug" called udev or mdev. > Alternatively, get over your dislike of modprobe and write some > scripts - perhaps using lspci as well as reading /sys - to work out > what hardware is present. No manual modprobe, I need hotplug. Why have udev then, if we have to manually modprobe ? Yes I think reading /sys will be the job, but why the user has to do such things and not the kernel ? (get crazy and put udev and all the hotplug stuff inside the kernel.) > If you have not compiled all of the necesary disk drivers into the > kernel, you are likely to find that some (older) machines will not > be able to access their disk(s). But we all learn best when we try > things out, so I wish you an enjoyable learning experience! > ĸen yes still learning, testing and will never stop. linuxcbon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/