Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel <korgull@home.nl>
To: buildroot@busybox.net
Subject: [Buildroot] mdev
Date: Mon, 10 May 2010 20:40:46 +0200	[thread overview]
Message-ID: <201005102040.46995.korgull@home.nl> (raw)

Hi,

I'm trying to create a couple of device nodes in /dev and somehow doing this 
manually seems not preferred so I'm trying to do this via mdev. 

My first question is whether I'm on the right track by using mdev?

I tried mdev but I can't make it work. Probably this is because I have 
something wrong in either the startup code , the mdev.conf file or whatever. 
Second I wonder how mdev works because I think it needs MAKEDEV or something 
else) which I may be missing and can't find in my buildroot. mknod is on my 
system though.
mdev -s starts and returns after a second or so, I see no errors and no other 
feedback.

I am looking for an example that works with spidev. My guess is that the entry 
in mdev.conf should be something like :

spidev 0:153 0660

Would my kernel need hotplug enabled ? (I guess it does).

I'm using a 2.6.33 kernel with a sam9g45 Atmel processor if that matters.

Best regards,
Marcel

             reply	other threads:[~2010-05-10 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 18:40 Marcel [this message]
2010-05-10 20:26 ` [Buildroot] mdev Peter Korsgaard
2010-05-10 20:56   ` Marcel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005102040.46995.korgull@home.nl \
    --to=korgull@home.nl \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox