LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Epson USB printer not detected by cups (https://www.linuxquestions.org/questions/slackware-14/epson-usb-printer-not-detected-by-cups-948209/)

ahzthecat 06-02-2012 06:59 PM

Epson USB printer not detected by cups
 
After chiming in on a recent thread about printers, I decided to have another stab at getting my Epson PM-A890 up and running in Slackware 13.37 64bit. I downloaded and installed the driver from the avasys site.

First I tried to build from the tar.gz, but was unable to confirm a successful build. The ppd files all went into the /etc/share/cups/model directory, but cups still didn't see the printer.

lsusb shows

Code:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0138 Realtek Semiconductor Corp.
Bus 002 Device 010: ID 5986:0148 Acer, Inc
Bus 004 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 005 Device 006: ID 0a5c:2150 Broadcom Corp. BCM2046 Bluetooth Device
Bus 002 Device 014: ID 04b8:081c Seiko Epson Corp. Stylus Photo RX640/RX650 (PM-A890)

so I can be sure there's not a physical connectivity problem.

I then pulled down the x86_64.rpm package, used rpm2tgz to convert it and installpkg to install it. Restarted cups, but still no love.

Fascinating side note, this is a multifunction inkjet printer, and the scanner works just fine with xsane.

I'm stumped. Any ideas?
-ahz

willysr 06-02-2012 07:42 PM

Have you tried this driver?

ahzthecat 06-02-2012 08:03 PM

Thanks willysr, I just installed that driver rpm2tgz --> installpkg then restarted cups. Still not detected from the cups admin page.

A config problem?

kareempharmacist 06-02-2012 08:12 PM

did u download this file ?
http://linux.avasys.jp/drivers/lsb/e...1lsb3.2.tar.gz
notice the part src in the address..we will make it together but just be patient..

kareempharmacist 06-02-2012 08:18 PM

if you can find the ppd file why don't you Specify/offer it manually to the cups through the browser interface localhost:631
there is an option which makes you able to browse to the ppd file

ahzthecat 06-02-2012 08:18 PM

The first package I downloaded was the .tar.gz from the avasys website.
I ran

./config
make
make install

and the ppd files all were copied over to the proper cups directory, but the printer was not detected by cups.

From there, I tried the rpm2tgz package, and I've now installed 1.2.0 from willysr's link. Restart cups, still not detected.

kareempharmacist 06-02-2012 08:19 PM

the file I mentioned is source file ..we can compile it..which distribution are u trying to install on now ..slackware??

kareempharmacist 06-02-2012 08:23 PM

is the printer connected via usb.. is it a network printer if.. so connect it via a network cable then it may be detected..waiting for your answer

ahzthecat 06-02-2012 08:26 PM

Got this when I tried testing the ppd from localhost

Code:

Epson-PM-A890-epson-escpr-en.ppd: FAIL
      **FAIL**  Missing cupsFilter file "epson-escpr-wrapper"
        WARN    Non-standard size name "L"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "TL"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "2L"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "T2L"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "TPostcard"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "T8x10"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "TA4"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "CARD"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "TCARD"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "4X7"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "T4X7"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "NC91"!
                REF: Page 187, section B.2.
        WARN    Non-standard size name "TNC91"!
                REF: Page 187, section B.2.


ahzthecat 06-02-2012 08:28 PM

Using Slackware 13.37 x64 and this printer is connected via usb.

ahzthecat 06-02-2012 08:37 PM

Also just noticed that while /usr/share/cups/model is fully populated with ppd files, /etc/cups/ppd was empty.
cp'd the proper ppd file to /etc/cups/ppd, restart cups, still not detected.

kareempharmacist 06-02-2012 08:51 PM

I think it is about the x64 aspect of your computer but check this out
http://pkgs.org/ubuntu-11.10/ubuntu-...deb.html#files

kareempharmacist 06-02-2012 08:52 PM

we need a way to convert this package to be slackware compatible because it contains the file we need epson-escpr-wrapper

ahzthecat 06-02-2012 09:33 PM

Thanks, I'll give that a closer look once I'm back at my desk.

ahzthecat 06-03-2012 01:31 AM

Ok, so I extracted epson-escpr-wrapper and placed it in the /usr/lib/cups/filter file, reinstalled the driver packages from the avasys source, restarted cups, and.... still nothing. Hmmm.

ahzthecat 06-04-2012 01:43 AM

Been looking around, and have more questions. What directory should all these ppd files and such be installed to in Slackware? Seems the avasys source installs to the wrong places in Arch Linux, could I be seeing a similar issue? Where does Slackware keep its printer drives and whatnot?

check the cups man page perhaps?

ahzthecat 06-04-2012 01:59 AM

From man cups-driverd


Code:

DRIVERS
      Drivers can be static PPD files under the /usr/share/cups/model  direc-
      tory  or  programs under the /usr/lib/cups/driver directory. Static PPD
      files must conform to the Adobe PPD File Format  Specification  version
      4.3  and  may  be compressed using the gzip(1) program. Driver programs
      must implement the command-line interface shown in the next section.

These directories are all empty on my -current system after installing the openprinting.org package.

ahzthecat 06-04-2012 02:19 AM

Decided to remove the driver package and try to reinstall. When I did, I saw this

Code:

Removing package /var/log/packages/epson-inkjet-printer-escpr-1.2.0-1lsb3.2.i486...
Removing files:
  --> Deleting symlink /opt/epson-inkjet-printer-escpr/lib/libescpr.so
  --> Deleting symlink /opt/epson-inkjet-printer-escpr/lib/libescpr.so.1
  --> Deleting /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr
  --> Deleting /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/AUTHORS
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/COPYING
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/NEWS
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/README
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/README.ja
  --> Deleting /opt/epson-inkjet-printer-escpr/lib/libescpr.so.1.0.0

  --> Deleting /opt/epson-inkjet-printer-escpr/ppds/Epson/Epson-PM-A890-epson-inkjet-printer-escpr.ppd.gz

  --> Deleting /opt/epson-inkjet-printer-escpr/share/paper_list.csv
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/share/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/ppds/Epson/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/ppds/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/lib/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/doc/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/lib/filter/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/lib/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/

Looks like converting the rmp with rpm2tgz and then installing the resulting package writes all the files to the /opt directory. Thus CUPS can't find it and my printer doesn't work...right?

ahzthecat 06-04-2012 06:58 AM

Here is the ppd, right where it's supposed to be, but why is there an asterisk after the filename?

I think the permissions are correct, are they?

Code:

root@slacktop:/usr/lib/cups/driver# ls -l
total 80
-rwxr-xr-x 1 root root 79036 Jun  3 15:18 Epson-PM-A890-epson-escpr-en.ppd*


kareempharmacist 06-04-2012 07:49 AM

check this out
http://forums.whirlpool.net.au/archive/961288

kareempharmacist 06-04-2012 07:54 AM

Quote:

Originally Posted by ahzthecat (Post 4694927)


Looks like converting the rmp with rpm2tgz and then installing the resulting package writes all the files to the /opt directory. Thus CUPS can't find it and my printer doesn't work...right?

right ..!!

ahzthecat 06-04-2012 08:22 AM

also, there's this output from lpinfo... no direct usb

Code:

root@slacktop:~# lpinfo -v
direct scsi
network smb
network http
network socket
network ipp
network lpd
network beh
direct hp
direct hpfax
root@slacktop:~#

Which config file do I monkey with now?

I've already uncommented the usb printer line in rc.modules and rebooted...

ahzthecat 06-05-2012 02:02 AM

Googled and googled today, found lots of people with similar problems, but no solutions. One thread on the Linux Mint forums suggested upgrading the kernel to fix the connectivity issue. Is it possible that changing kernels would work in this case? I found a post about compiling and installing the current stable kernel in 13.37...is that worth a shot, or do I run the risk of turning a small problem into a large one?

Here's the link...
https://abi71.wordpress.com/2012/02/...ackware-13-37/

kareempharmacist 06-05-2012 07:42 AM

Backup your important data first
you can do ti to gain experience but remember u may fail and have to install your system from the beginning.. but it worth
now I am using slackopuppy on my dell inspiron 6400 just for fun and to learn linux well asnd gain experience ..
I am trying to learn VectorLinux which has EXCELLENT HARDWARE DETECTION ..It ran on my Fujitsu Siemens laptop on which nothing could run at all ..and remember.. no pain no gain..but I want to say something ..the best place for this thread was the hardware forum
http://www.linuxquestions.org/questi...x-hardware-18/
there you may find experts in hardware configuration so next time remember to place your thread in the most suitable forum.ou
I wish you good luck .and please inform me of any success you make .I am Linuxically connected with you..!!

ahzthecat 06-06-2012 11:19 PM

Vector Linux is great, I ran it on my Inspiron 1100 for a long time because I couldn't get 13.37 to run properly. Im currently using Slackware -current on the old Dell, and it runs fine, if a little bit slow.

I actually have installed the Avasys drivers on the Dell and it sees the printer just fine, prints and everything. Looking more and more like an update on my 64bit system is in order.


All times are GMT -5. The time now is 05:38 AM.