* udev and parallel printer
@ 2004-03-13 19:21 Thomas Gufler
2004-03-13 21:21 ` Greg KH
2004-03-14 3:59 ` Alexander E. Patrakov
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Gufler @ 2004-03-13 19:21 UTC (permalink / raw)
To: linux-hotplug
Hello,
I'm using udev-021 on a Gentoo system(pure udev, no device.tar.bz2, Linux
2.6.4). I have two problems with udev:
First, udev doesn't create /dev/lp0 for my printer. Is support for /dev/lp0
not implemented or is this my fault?
My second problem is with /dev/nvidia*. When I boot the first time after
installing the nvidia kernel module (with sysfs support) a /dev/nvidia0 and
a /dev/nvidiactl device is created, when I reboot again I don't get these
entries. (nvidia kernel module is autoloaded via
in /etc/modules.autoload.d/kernel-2.6).
Any suggestions?
Tom Gufler
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 3+ messages in thread
* Re: udev and parallel printer
2004-03-13 19:21 udev and parallel printer Thomas Gufler
@ 2004-03-13 21:21 ` Greg KH
2004-03-14 3:59 ` Alexander E. Patrakov
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-03-13 21:21 UTC (permalink / raw)
To: linux-hotplug
On Sat, Mar 13, 2004 at 08:21:07PM +0100, Thomas Gufler wrote:
> Hello,
>
> I'm using udev-021 on a Gentoo system(pure udev, no device.tar.bz2, Linux
> 2.6.4). I have two problems with udev:
> First, udev doesn't create /dev/lp0 for my printer. Is support for /dev/lp0
> not implemented or is this my fault?
parallel port devices are not currently showing up in sysfs, so udev can
not name them at this time, sorry.
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&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] 3+ messages in thread
* Re: udev and parallel printer
2004-03-13 19:21 udev and parallel printer Thomas Gufler
2004-03-13 21:21 ` Greg KH
@ 2004-03-14 3:59 ` Alexander E. Patrakov
1 sibling, 0 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2004-03-14 3:59 UTC (permalink / raw)
To: linux-hotplug
On Sunday 14 March 2004 02:21, Greg KH wrote:
> parallel port devices are not currently showing up in sysfs, so udev can
> not name them at this time, sorry.
???
[patrakov in ~]$ ls -l /sys/class/printer/lp0
…‘œ«œ 0
-r--r--r-- 1 root root 4096 2004-03-14 08:46 dev
[patrakov in ~]$ cat /sys/class/printer/lp0/dev
6:0
[patrakov in ~]$ ls -l /dev/lp0
crw-rw---- 1 root lp 6, 0 2004-01-16 09:57 /dev/lp0
This is a 2.6.4 kernel, with the lp module loaded. So it seems that the OP has
a "chicken-and-egg" problem because lp is a module that cannot be inserted by
hotplug scripts.
Some time ago I posted a very simple solution, and it has been ignored. So I
post it once again below.
A very good approximation to the list of modules not detectable by hotplug but
still providing useful devices is given by the following command:
egrep '(char|block)-major' /lib/modules/`uname -r`/modules.alias | \
awk '{print $3;}'
(please put old cdroms like sbpcd, watchdogs and ieee1394 stuff into a
blacklist)
We just want to probe them all either in udev initstript or as an
additional .rc file in /etc/hotplug.
--
Alexander E. Patrakov
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÃk
_______________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2004-03-14 3:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 19:21 udev and parallel printer Thomas Gufler
2004-03-13 21:21 ` Greg KH
2004-03-14 3:59 ` Alexander E. Patrakov
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).