tiny udev on ARM
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 8 lines · Pelle Svensson
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?
Quoted 11 lines
/sbin/udev39388 bytes/sbin/udevd22468 bytes/sbin/udevend5588 bytes/sbin/udevstart39356 bytes/usr/bin/udevinfo27028 bytes/usr/bin/udevtest38820 bytes
/udev emphty/etc/udev/udev.conf321 bytes rw-r--r--/etc/udev/rules.d/50-udev.rules1531 bytes rw-r--r--/etc/rc.d/rc.start_udev627 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_id492&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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_id492&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Pelle Svensson
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.
Quoted 9 lines
I have following now, but it is not working... need some help. Do I need all this?
/sbin/udev39388 bytes/sbin/udevd22468 bytes/sbin/udevend5588 bytes/sbin/udevstart39356 bytes/usr/bin/udevinfo27028 bytes/usr/bin/udevtest38820 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.
Quoted 1 line
/udev emphty
... I made buildroot completely replace /dev, using ramfs and populating it with "udevstart".
Quoted 2 lines
/etc/udev/udev.conf321 bytes rw-r--r--/etc/udev/rules.d/50-udev.rules1531 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).
Quoted 2 lines
/etc/rc.d/rc.start_udev627 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_id492&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel