Re: Dead parallel port (/dev messup)
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Wed, 12 Jul 2006 18:28:38 -0500
On Wed, 12 Jul 2006 20:31:07 +0200, kaczfan staggered into the Black Sun
and said:
Dances With Crows wrote:
kaczfan wrote:Yeah, i'd probably have to add a cron task to do it automatically :>
I have ACCIDENTALY erased all the contents of /dev directoryThis is yet another reason to use udev. Device nodes are dynamically
created when udev's running, so
It's definitely better solution, but I'm short on time and don't want
to play with kernel configuration now.
Eh? udevd runs in userspace, unlike devfs. udevd watches /sys , and
you need kernel support for sysfs, but if you're using 2.6, you've
almost certainly got sysfs available. No kernel config needed, and your
distro's package for udev should include a mostly sensible set of rules
in /etc/udev/ .
I've followed your advice (the module wouldn't load automatically,when I echo to /dev/parport0 or /dev/lp0, I get"modprobe lp". This module should be modprobed automagically
bash: /dev/parport0: no such device
whenever a char device with major 6 is accessed in any way, but if
your modules.conf (or modprobe.conf) file is mangled, that may not be
although modules.conf and modprobe.conf don't seem suspicious) and the
result is that now echoing to lp0 works fine, but parport0 still
results with 'no such device'
You need to have ppdev modprobed for the /dev/parport? devices to
function. That's "alias char-major-99 ppdev" in modules.conf. Ah well,
HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.
- References:
- Dead parallel port (/dev messup)
- From: kaczfan
- Re: Dead parallel port (/dev messup)
- From: Dances With Crows
- Re: Dead parallel port (/dev messup)
- From: kaczfan
- Dead parallel port (/dev messup)
- Prev by Date: Re: Dead parallel port (/dev messup)
- Next by Date: Re: 3ware raid card installation takes away suse's ability to load x windows
- Previous by thread: Re: Dead parallel port (/dev messup)
- Next by thread: Re: Dead parallel port (/dev messup)
- Index(es):