public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] device node problem
Date: Sat, 10 Jan 2009 07:16:41 -0500	[thread overview]
Message-ID: <200901100716.42644.vapier@gentoo.org> (raw)
In-Reply-To: <200901081944.33319.ladmanj@volny.cz>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

On Thursday 08 January 2009 13:44:32 Jakub Ladman wrote:
> please be patient with my stupid question.
>
> I have switched my embedded gentoo system to udev and now i have trouble
> with one device driver.
>
> This is lincan from http://sourceforge.net/projects/ocera
>
> it is a character device with major 91 and minor 0 and 1 numbers, if i use
> mknod i can have functional device nodes, but after reboot udev discards
> it.
>
> I am googling any manual to udev, that may help me, but i understand it
> not. Can't find how to write rule to make node from major minor numbers.

udev doesnt "discard" device nodes.  Gentoo by default runs a fs out of ram 
for /dev so anything created there is lost after a reboot.  if the device 
driver isnt triggering userspace to create a device node, then most likely it 
is broken and needs fixing.

you can add a simple `mknod` statement to your /etc/conf.d/local (or 
local.start).

you can use `udevadm monitor` to see the events the driver is sending to 
userspace when you load the module.  for more info though, you really should 
ask on the udev mailing lists as this question really isnt embedded related.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

      reply	other threads:[~2009-01-10 12:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08 18:44 [gentoo-embedded] device node problem Jakub Ladman
2009-01-10 12:16 ` Mike Frysinger [this message]

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=200901100716.42644.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /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