From: Song Zhiwei <songzw@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] How to set udev rule?
Date: Thu, 27 Aug 2009 15:22:26 +0800 [thread overview]
Message-ID: <e8dc92830908270022p6cfe1612of9564230512d3f09@mail.gmail.com> (raw)
Hi all,
I complied a driver esdcan_usb331.so. I'd like use udev to create
character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1
for the driver. How to write the udev rule for it?
The dmesg is:
esd CAN driver: CAN_USB331
esd CAN driver: baudrate not set
esd CAN driver: mode = 0x00000000, major = 50, verbose = 0x00000001
esd CAN driver: version 3.8.3 06:03:32 Aug 24 2009: successfully loaded
usbcore: registered new interface driver CAN_USB331
next reply other threads:[~2009-08-27 2:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 7:22 Song Zhiwei [this message]
2009-08-27 10:01 ` [gentoo-user] How to set udev rule? KH
2009-08-28 1:51 ` Song Zhiwei
2009-08-28 3:33 ` David Relson
2009-08-30 17:29 ` Alex Schuster
2009-08-30 19:38 ` Dirk Heinrichs
2009-08-30 20:15 ` Jesús Guerrero
2009-08-30 21:13 ` Dale
2009-08-30 21:26 ` Alex Schuster
2009-08-31 5:38 ` Jesús Guerrero
2009-08-31 14:32 ` Stroller
2009-08-31 16:41 ` Dirk Heinrichs
2009-08-31 19:40 ` Mick
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=e8dc92830908270022p6cfe1612of9564230512d3f09@mail.gmail.com \
--to=songzw@gmail.com \
--cc=gentoo-user@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