You are not logged in.
no!!!
why should I load things I don't use?
hotplug is for "wimps"
arch + gentoo + initng + python = enlisy
Offline
Why thank you
Mr Green
Mr Green
Offline
the wiki says that you "must" use hotplug,
I don't have hotplug in rc.conf and it works anyway.
Same here I don't use hotplug and works fine when having the modules in /etc/rc.conf. Moreover I don't want several pages of hotplug stuff scrolling in my screen during booting.
Markku
Offline
Here you go...
#Hotplug removed as per xerxes2 as hotplug is for wimps...
DAEMONS=(syslog-ng klogd cups !pcmcia network crond netfs xinetd !hotplug portmap fam kdm)
Just to keep the swede happy
Mr Green....
Mr Green
Offline
what did I say green!
udev is doing just fine without hotplug.
read here for more info about hotplug http://linux-hotplug.sourceforge.net/
it's a great project.
here is my daemons array.
#I load the mr_green daemon first so he can check that the system is OK!
DAEMONS=(mr_green syslogd klogd cups !pcmcia network crond netfs !hotplug)
arch + gentoo + initng + python = enlisy
Offline
where do i get the mr_green daemon?
The impossible missions are the only ones which succeed.
Offline
I think I know how it goes... anything loaded before the udev daemon starts, gets devices created by udev with no problem. Anything loaded after udev starts needs hotplug to have a device created (ie. modules, etc).
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
where do i get the mr_green daemon?
I'm working on the GUI wrapper at the moment.......
Mr Green
Offline
I changed my menu.lst to
root=/dev/hda1
and then it all worked. I was getting errors detecting my ps2 mouse & other things with
root=/dev/discs/disc0/part1
The good news is that USB appears to work in a more straightforward manner now. Before I had to mount /proc/bus/usb after I started devfsd to get the camera recognised & sda? created.
via chipset, 82xxx sound rhine nic. All is go 8)
The amlug live arch CD taught me about the /dev/hda1 alteration.
--(*(cs25x--));
Offline
update from my side
hotplug is not needed to be running as daemon, it should be installed
it sets some modules for you but at startup if you don't want that it is not needed
hotplug is needed for usb-scanners permissions but it has not to be in the daemons list tested it on two pcs
problems rise when no nodes are created and libusb is used
pcmcia is also no problem with no hotplug daemon running
usb-sticks are also recognized
no prob at all
i remove hotplug from the wiki
Offline
back again.
After configuring udev, without hotplug in my daemons list in rc.conf I get this message on startup...
alsactl: load_state: 1134: No soundcards found
...and sound consequently does not work. A little googling failed to enlighten me.
OTOH with hotplug in my daemons list in rc.conf, I get this message on startup...
modprobe: FATAL: Error inserting shpchp (/lib/modules/2.67/kernel/drivers/pci/hotplug/shpchp.ko): Operation not permitted
can't load module shpchp
missing kernel or user mode driver shpchp
...but sound works. I haven't yet seen any tragic consequences I can attribute to this nice error.
So I am happy that sound is going, but I am curious if anyone knows what is going on, and what shpchp is good for.
Also, if hotplug appears in rc.d and as a daemon, doesn't that mean it gets loaded twice? And am I the only one that needs hotplug as a daemon?
EDIT: shpchp seems to be the Standard Hotplug Pci Controller.
Offline
my camera only works as root.
I can't find what permission to change!
if someone know, please update the wiki.....
arch + gentoo + initng + python = enlisy
Offline
you have a fstab entry for your camera
with "users" as option?
else try to change /dev/sd* perhaps it helps
Offline
I changed my permission for sd* to root:users:660, but I don't have an entry in fstab.
strange it works as root.
arch + gentoo + initng + python = enlisy
Offline
If you don't mount your camera as a hard drive, then you've configured the camera permissions with hotplug. If you don't have hotplug running, it won't set your permissions when the camera is hotplugged.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
no!!!
why should I load things I don't use?hotplug is for "wimps"
says it all....
Mr Green
Offline
I nuked my root partition a while ago, so i went through the old camera wiki and now it works as user also..
arch + gentoo + initng + python = enlisy
Offline
I've decided to take the plundge into udev tonight.
Everything worked.. except for the soundcard.
This is how IceRAM started reading AGAIN the Wiki and the WHOLE 7 pages before. Like a very attentive person IceRAM is, he noticed that some users used alsaconf for configuring the sound. 3 months ago, when I first configured my ArchLinux, the Docs mentioned that I only need to add the soundcard module name to the MODULES=(...) line in /etc/rc.conf.
This DOES NOT work with udev. (at least not for me, others please confirm)
tpowa, please mention this in a beautiful way in the Wiki.
I don't know how exactly but, udev likes the aliases alsaconf creates in /etc/modprobe.conf. The volumes are set kind of weird by alsaconf so I had to manually slow my soundcard using the "alsamixer" tool.
I still use the "alsamixer" script in the Wiki to store and load volumes. "/etc/rc.d/alsamixer stop" to store and "... start" to load.
:: / my web presence
Offline
...the Docs mentioned that I only need to add the soundcard module name to the MODULES=(...) line in /etc/rc.conf.
This DOES NOT work with udev. (at least not for me, others please confirm)...
What's alsaconf? I hacked away until I figured out what modules I need for sound and then added them to modules in rc.conf. Sound worked after that. When I switched to udev, it did not work, I spent 2 minutes in the first 3 pages of this thread and got my sound back. My two cents.
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline
alsaconf checks what module is needed for your soundcard and makes some aliases to modprobe.conf
wiki updated hope now that the sound problems are gone
perhaps the sound wiki should be updated too
Offline
My sound works fine with no aliases, just rc.conf modules and udev.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Yeah, I have the module loaded by rc.conf, not in modprobe.conf and it works with udev. But I did it by hand, not with alsaconf.
Offline
just converted my laptop to udev - everything working beautifully, configured by hand and without hotplug 8)
Kaleph
jabber: kaleph@jabber.org
Offline
Playing around with udev, i'm having a little problem.
I've managed to create a rule to make udev identify my printer and create /dev/hp0 (it was MUCH easier than I tought ).
Everything was ok, but CUPS doesnt identify it. Looks like it just identifies usb printers following the /dev/usb/lpN structure.
Have anyone tried something similar? I'm gonna try to discover something at the cups website and mailing lists.
Kaleph
jabber: kaleph@jabber.org
Offline
try loading usblp in rc.conf module list
then cups identifies it and
need no longer dev/usb/lpx
Offline