linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tiny udev on ARM
@ 2005-06-14 15:39 Pelle Svensson
  2005-06-14 17:59 ` Kay Sievers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pelle Svensson @ 2005-06-14 15:39 UTC (permalink / raw)
  To: linux-hotplug


Hi

What is the minimum I need for a simple set-up?

I have following now, but it is not working... need some help.
Do I need all this?

/sbin/udev 39388 bytes
/sbin/udevd 22468 bytes
/sbin/udevend 5588 bytes
/sbin/udevstart 39356 bytes
/usr/bin/udevinfo 27028 bytes
/usr/bin/udevtest 38820 bytes
/udev emphty
/etc/udev/udev.conf 321 bytes rw-r--r--
/etc/udev/rules.d/50-udev.rules 1531 bytes rw-r--r--
/etc/rc.d/rc.start_udev 627 bytes rwxr-xr-x (copied from extras)
call rc.start during inittab

/Pelle

_________________________________________________________________
Nyhet! Hotmail direkt i din Mobil! http://mobile.msn.com/



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny udev on ARM
  2005-06-14 15:39 tiny udev on ARM Pelle Svensson
@ 2005-06-14 17:59 ` Kay Sievers
  2005-06-15  9:22 ` Pelle Svensson
  2005-06-16 19:21 ` David Brownell
  2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2005-06-14 17:59 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Jun 14, 2005 at 05:39:14PM +0200, Pelle Svensson wrote:
> 
> Hi
> 
> What is the minimum I need for a simple set-up?
> 
> I have following now, but it is not working... need some help.
> Do I need all this?
> 
> /sbin/udev 39388 bytes
> /sbin/udevd 22468 bytes
> /sbin/udevend 5588 bytes
> /sbin/udevstart 39356 bytes
> /usr/bin/udevinfo 27028 bytes
> /usr/bin/udevtest 38820 bytes
> /udev emphty
> /etc/udev/udev.conf 321 bytes rw-r--r--
> /etc/udev/rules.d/50-udev.rules 1531 bytes rw-r--r--
> /etc/rc.d/rc.start_udev 627 bytes rwxr-xr-x (copied from extras)
> call rc.start during inittab

Well nobody can tell you. It completely depends on what you want to do.
You can do anything from just using /sbin/udev invoked from the kernel-forked
hotplug-helper or in contrast serialize everything through the udevsend/udevd
daemon to get "managed" events or disable kernel-event forking completely
and use netlink instead.
Or do hotplug event replay from initramfs instead of using udevstart, and so
on...

Kay


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny udev on ARM
  2005-06-14 15:39 tiny udev on ARM Pelle Svensson
  2005-06-14 17:59 ` Kay Sievers
@ 2005-06-15  9:22 ` Pelle Svensson
  2005-06-16 19:21 ` David Brownell
  2 siblings, 0 replies; 4+ messages in thread
From: Pelle Svensson @ 2005-06-15  9:22 UTC (permalink / raw)
  To: linux-hotplug


Hi Kay,

Basicaly I want the smallest possible with basic standard devices and
with USB add and remove detecting.

More or less same as devfs.

/Pelle

_________________________________________________________________
Hitta rätt på nätet med MSN Search http://search.msn.se/



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny udev on ARM
  2005-06-14 15:39 tiny udev on ARM Pelle Svensson
  2005-06-14 17:59 ` Kay Sievers
  2005-06-15  9:22 ` Pelle Svensson
@ 2005-06-16 19:21 ` David Brownell
  2 siblings, 0 replies; 4+ messages in thread
From: David Brownell @ 2005-06-16 19:21 UTC (permalink / raw)
  To: linux-hotplug

On Tuesday 14 June 2005 8:39 am, Pelle Svensson wrote:
> 
> What is the minimum I need for a simple set-up?

I've got a pretty minimal setup getting generated from "buildroot"
lately, completely replacing devfs.  Get the latest from SVN then
apply the patch "br2-udev-v2.patch" from the entry in bugthing.


> I have following now, but it is not working... need some help.
> Do I need all this?
> 
> /sbin/udev 39388 bytes
> /sbin/udevd 22468 bytes
> /sbin/udevend 5588 bytes
> /sbin/udevstart 39356 bytes
> /usr/bin/udevinfo 27028 bytes
> /usr/bin/udevtest 38820 bytes

That is, pretty much what udev-058 installs.
Probably only "udev" and "udevstart" are really
essential in the current install setup ... but
I didn't want to play too many games just now.


> /udev emphty

... I made buildroot completely replace /dev, using ramfs and
populating it with "udevstart".


> /etc/udev/udev.conf 321 bytes rw-r--r--
> /etc/udev/rules.d/50-udev.rules 1531 bytes rw-r--r--

That looks like the default rules.  I made buildroot use the
rules from "frugalware" since the defaults use nasty permissions,
like "/dev/zero" and "/dev/null" not being world-readable (so
that many programs can't start or run).


> /etc/rc.d/rc.start_udev 627 bytes rwxr-xr-x (copied from extras)
> call rc.start during inittab

I trimmed down the "start_udev" a bit, but yes it wanted to
be started from inittab (before "mount -a").


One thing that's also missing is a really trimmed-down hotplug.
Yes, some of that can come from making "udev" itself replace
the /sbin/hotplug, but that won't modprobe.  Plus, the new
"pcmcia-utils" (cardmgr vanishing at last, yay!) currently
wants some hotplug support.

- Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-16 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-14 15:39 tiny udev on ARM Pelle Svensson
2005-06-14 17:59 ` Kay Sievers
2005-06-15  9:22 ` Pelle Svensson
2005-06-16 19:21 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).