From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 22 Nov 2005 02:18:28 +0000 Subject: Re: no /dev entry for printer when it is out of ink Message-Id: <20051122021827.GB3719@vrfy.org> List-Id: References: <4381C39A.6080907@kordik.net> In-Reply-To: <4381C39A.6080907@kordik.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Nov 21, 2005 at 08:10:54PM -0500, Mike wrote: > The rule I wrote is supposed to create /dev/printers/EPC80. It was > creating this directory, up until recently. How does the rule look like? > udevmonitor output: > UEVENT[1132621451.657266] add@/devices/pci0000:00/0000:00:02.1/usb2/2-1/2-1.3 > UEVENT[1132621451.661395] add@/devices/pci0000:00/0000:00:02.1/usb2/2-1/2-1.3/2-1.3:1.0 > UEVENT[1132621451.669255] add@/class/usb/lp0 > UDEV [1132621454.756357] add@/devices/pci0000:00/0000:00:02.1/usb2/2-1/2-1.3 > UDEV [1132621456.822296] add@/class/usb/lp0 > UDEV [1132621458.547985] add@/devices/pci0000:00/0000:00:02.1/usb2/2-1/2-1.3/2-1.3:1.0 > I understand what you are saying about udev not communicating with the > printer. It appears to me that the kernel is telling udev that the > printer is connected but why isn't udev creating the device directory entry? Looks all fine. What does: - find /sys/class/usb - udevtest /class/usb/lp0 usb - udevinfo -q all -p /class/usb/lp0 print, when the printer is connected? Kay ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&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