From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Date: Tue, 22 Nov 2005 23:28:34 +0000 Subject: Re: no /dev entry for printer when it is out of ink Message-Id: <4383A9A2.30708@kordik.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------090905000804010707050205" List-Id: References: <4381C39A.6080907@kordik.net> In-Reply-To: <4381C39A.6080907@kordik.net> To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------090905000804010707050205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I found the problem with udev. udev-073 did not work but 071 works fine. I didn't remember recently upgrading to 073. I still couldn't get the status from the printer until I added ink. Thanks for your help! Mike Kay Sievers wrote: >On Mon, Nov 21, 2005 at 10:08:44PM -0500, Mike wrote: > > >>The rule: >>BUS="usb", SYSFS{serial}="0HSLL0108041158030", NAME="lp0", SYMLINK="printers/EPC80" >> >> > >You may look at: > udevinfo -a -p /class/usb/lp0 > >if that matches your keys and better use "==" for comparison, but with >the keys you use, it should not cause a problem. > > > >>/dev/lp0 is being created. So it looks like the generic udev rule is >>working. I can change my path to now point there. I don't understand why >>my rule quit working though. I tried escputil with it pointing to >>/dev/lp0 but it just times out. >> >>I changed my printer to point /dev/lp0 but nothing happens when I print. >>I am just going to give in an replace all my color ink cartridges and >>see if that changes anything. >> >> > >Yeah, that may help to get it to print something, but it's unlikely to >change udev's behavior. > >Kay > > > --------------090905000804010707050205 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I found the problem with udev. udev-073 did not work but 071 works fine. I didn't remember recently upgrading to 073.

I still couldn't get the status from the printer until I added ink.

Thanks for your help!

Mike

Kay Sievers wrote:
On Mon, Nov 21, 2005 at 10:08:44PM -0500, Mike wrote:
  
The rule:
BUS="usb", SYSFS{serial}="0HSLL0108041158030", NAME="lp0", SYMLINK="printers/EPC80"
    

You may look at:
  udevinfo -a -p /class/usb/lp0

if that matches your keys and better use "==" for comparison, but with
the keys you use, it should not cause a problem.

  
/dev/lp0 is being created. So it looks like the generic udev rule is 
working. I can change my path to now point there. I don't understand why 
my rule quit working though. I tried escputil with it pointing to 
/dev/lp0 but it just times out.

I changed my printer to point /dev/lp0 but nothing happens when I print. 
I am just going to give in an replace all my color ink cartridges and 
see if that changes anything.
    

Yeah, that may help to get it to print something, but it's unlikely to
change udev's behavior.

Kay

  

--------------090905000804010707050205-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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