TahrPup 5.8.4

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

cups

#61 Post by sszindian »

(1)Fresh download tahr-5.8.0.8 (downloaded with Racy-5.5, checksum varified)
(2)Created new savefile (different HDD)
(3)Installed hplip-14's (from rcrsn51 thread)
(4)Installed tahrfix-5.8.0.8.pet

Same as with previous tahr-5.8.0.8, cups will NOT recognize my HP USB 1050 All-In-One Printer!!!!!! Only available printer available for setup is the PFD Printer in cups.

I will have to conclude that it's 'tahr' that has the issue and not myself or my equipment.

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#62 Post by rcrsn51 »

Here are some things to try.

1. Go to the folder /usr/lib/cups/backend
2. Open a terminal
3. Type: ./usb

Does it find anything?

Then go to the folder /dev. Turn the printer off and on several times. Do you see the folder "usb" being created/deleted?

With your printer turned ON, type

Code: Select all

lsmod | grep usblp
Is this module loaded? If not, load it

Code: Select all

modprobe usblp
Check your printer in CUPS.

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

cups

#63 Post by sszindian »

Here are some things to try.

1. Go to the folder /usr/lib/cups/backend
2. Open a terminal
3. Type: ./usb

Does it find anything?

sszindian: it says- bash: ./usb: No such file or directory/dev

Then go to the folder /dev. Turn the printer off and on several times. Do you see the folder "usb" being created/deleted?

sszindian: No

With your printer turned ON, type
Code:
lsmod | grep usblp

Is this module loaded? If not, load it
Code:
modprobe usblp

Check your printer in CUPS.

sszindian: Nope, not there!
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#64 Post by rcrsn51 »

Are you saying that your folder /usr/lib/cups/backend does NOT contain the executable file named "usb"?

If you do NOT have this file, then it certainly explains your problem.

But it does not explain why this file is missing. I have it in my Tahr.
Is this module loaded?
You never answered this question.

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

cups

#65 Post by sszindian »

Maybe a couple pictures will explain what you ask?

>>>---Indian------>
Attachments
cups-2.png
(10.76 KiB) Downloaded 908 times
cups-1.png
(31.74 KiB) Downloaded 924 times
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

CUPS on Tahr Puppy

#66 Post by shinobar »

I have tested my printer which is working on Precise Puppy 571JP.

Tahr Puppy 5.8.0.8 furugal install RAM mode.
Installed the driver epson_inkjet_printer_escpr-1.4.0.pet.

Typed on a virtual terminal:

Code: Select all

# /usr/lib/cups/backend/usb
direct usb://EPSON/EP-704A "EPSON EP-704A" "EPSON EP-704A" "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2;MDL:EP-704A;CLS:PRINTER;DES:EPSON EP-704A;CID:EpsonRGB;FID:FXN,DPN,WFN,ETN,AFN,DAN;" ""
But the CUPS does not show my USB printer on the list of the Local Prnters

Installed gstoraster_s533-9.05.pet... same result.
Installed tahrfix-5.8.0.8.pet ... same result.
.
In all cases, the CUPS does not show my USB printer :cry:
Attachments
cups_doesnt_show_usb_printer.png
(4.87 KiB) Downloaded 856 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#67 Post by rcrsn51 »

When you turn on your printer, two things should happen. The device node /dev/usb/lp0 gets created. And the module usblp gets loaded.

It sounds like this isn't happening with some users. I cannot duplicate the problem.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

CUPS on Tahr Puppy does not show my USB printer

#68 Post by shinobar »

1. Power off the USB connected printer
2. Boot the Tahr Puppy 5.8.0.8 without pupsave
3. Power on the USB connected printer

Code: Select all

# /usr/lib/cups/backend/usb 
direct usb://EPSON/EP-704A "EPSON EP-704A" "EPSON EP-704A" "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR2;MDL:EP-704A;CLS:PRINTER;DES:EPSON EP-704A;CID:EpsonRGB;FID:FXN,DPN,WFN,ETN,AFN,DAN;" ""
# ls /dev/usb/lp0
/dev/usb/lp0
# lsmod | grep usblp
usblp                   7582  0
CUPS --> Administration --> Add Printer shows only the SCSI Printer and PDF writer on the Local Printers list. :cry:
I couldn't find anything particular in /var/log/cups/error.log.
Last edited by shinobar on Wed 11 Jun 2014, 14:41, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#69 Post by rcrsn51 »

Try clicking on Find New Printers.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Find New Printers

#70 Post by shinobar »

rcrsn51 wrote:Try clicking on Find New Printers.
Tried again and agin, but only the PDF writer shows.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#71 Post by 666philb »

rcrsn51

i can reproduce this odd problem ... printing is working on my netbook on a vanilla tahr5.8.0.8 with your pet or mine (this is the computer i've been using for testing) but i've just tried on my desktop, same setup as above and the same printer isn't found.

output is the same on both computers

Code: Select all

#  /usr/lib/cups/backend/usb 
direct usb://hp/deskjet%205550?serial=MY29A1J2NS2L "hp deskjet 5550" "hp deskjet 5550" "MFG:hp;MDL:deskjet 5550;CID:hpdeskjet_5550A851;CMD:MLC,PCL,PML,DW-PCL,DYN,DESKJET;CLS:PRINTER;DES:hp deskjet 5550;SN:MY29A1J2NS2L;S:0380008084001000002c14d0000c2570000;P:1962,FL,B0;J:                    ;" ""
# ls /dev/usb/lp0
/dev/usb/lp0
#  lsmod | grep usblp 
usblp                   7582  0 
# 
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#72 Post by rcrsn51 »

This is like the occasional situation where CUPS refuses to detect a network printer. In that case, you can manually install the printer using the AppSocket/JetDirect protocol.

I don't know why it is happening with a USB printer, but can someone try this?

1. Run CUPS. Under Add Printer, select AppSocket/JetDirect.
2. On the next screen, delete "socket" and type "parallel:/dev/usb/lp0"
3. Finish the install as usual. You will still need the gstoraster patch.

Then try using the URI that comes out of /usr/lib/cups/backend/usb, like

Code: Select all

usb://hp/deskjet%205550?serial=MY29A1J2NS2L

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#73 Post by 666philb »

hi rcrsn51,
can you explain how to do the last bit 'use the URI'?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#74 Post by rcrsn51 »

It is printer's identifier to CUPS. Instead of "socket", paste in that line.

Have you tried the first method yet?

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#75 Post by 666philb »

with the first method i get "Unable to open device file "/dev/usb/lp0": Permission denied" in the jobs tab

and the second method just says "Rendering completed" and then doesn't print
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#76 Post by rcrsn51 »

666philb wrote:with the first method i get "Unable to open device file "/dev/usb/lp0": Permission denied" in the jobs tab
Check the permissions on /dev/usb/lp0. It needs to be 666. Other Puppies have a udev rule that sets this permission automatically.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#77 Post by rcrsn51 »

Go to /etc/udev/rules.d

Open the file 55-cups.rules in a text editor. Change

Code: Select all

SUBSYSTEM=="usb"
to

Code: Select all

SUBSYSTEM=="usbmisc"
That will give the printer device node 666 permissions.

wyzguy
Posts: 37
Joined: Sun 14 Oct 2012, 01:20

#78 Post by wyzguy »

I have a desktop computer with Tahr 5.8.0.8 fresh frugal install connected
to a HP1050 using a local usb cable.

I went Cups - Admin - Add printer and it does show HP Deskjet 1050 j410
series...
I clicked on the circle and it continued to next screen ok.

My computer is 5 years old and has AMI bios v0702. You might check your
bios setup - usb configuration - Legacy usb support. I have mine set to
"enabled".

Have you tried a different usb cable?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#79 Post by rcrsn51 »

666philb: I set up a printer in Tahr the manual way and it worked.

1. Install the gstoraster patch
2. Install the 55-cups.rules patch
3. Install in CUPS as parallel:/dev/usb/lp0

But I will be interested in knowing if wyzguy's USB BIOS change works.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#80 Post by 01micko »

Definitely some weird printing issue. My USB Cannon-MP490 is detected fine, driver installs fine then I get a mime error :?

Code: Select all

I [02/Jun/2014:04:26:55 +2300] Listening to [v1.::1]:631 (IPv6)
I [02/Jun/2014:04:26:55 +2300] Listening to 127.0.0.1:631 (IPv4)
I [02/Jun/2014:04:26:55 +2300] Listening to /var/run/cups/cups.sock (Domain)
I [02/Jun/2014:04:26:55 +2300] Remote access is disabled.
I [02/Jun/2014:04:26:55 +2300] Loaded configuration file "/etc/cups/cupsd.conf"
I [02/Jun/2014:04:26:55 +2300] Using default TempDir of /var/spool/cups/tmp...
I [02/Jun/2014:04:26:55 +2300] Configured for up to 100 clients.
I [02/Jun/2014:04:26:55 +2300] Allowing up to 100 client connections per host.
I [02/Jun/2014:04:26:55 +2300] Using policy "default" as the default!
I [02/Jun/2014:04:26:55 +2300] Full reload is required.
I [02/Jun/2014:04:26:55 +2300] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 36 types, 40 filters...
I [02/Jun/2014:04:26:55 +2300] Generating printcap /etc/printcap...
I [02/Jun/2014:04:26:55 +2300] Full reload complete.
I [02/Jun/2014:04:26:55 +2300] Cleaning out old files in "/var/spool/cups/tmp"...
I [02/Jun/2014:04:26:55 +2300] Cleaning out old files in "/var/cache/cups"...
E [02/Jun/2014:04:26:55 +2300] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
I [02/Jun/2014:04:26:55 +2300] Listening to 127.0.0.1:631 on fd 4...
I [02/Jun/2014:04:26:55 +2300] Listening to /var/run/cups/cups.sock on fd 6...
I [02/Jun/2014:04:26:55 +2300] Resuming new connection processing...
I [02/Jun/2014:04:27:26 +2300] Saving printers.conf...
I [02/Jun/2014:02:30:55 +2300] Scheduler shutting down normally.
I [02/Jun/2014:02:30:55 +2300] Saving job cache file "/var/cache/cups/job.cache"...
I [02/Jun/2014:02:32:03 +2300] Listening to [v1.::1]:631 (IPv6)
I [02/Jun/2014:02:32:03 +2300] Listening to 127.0.0.1:631 (IPv4)
I [02/Jun/2014:02:32:03 +2300] Listening to /var/run/cups/cups.sock (Domain)
I [02/Jun/2014:02:32:03 +2300] Remote access is disabled.
I [02/Jun/2014:02:32:03 +2300] Loaded configuration file "/etc/cups/cupsd.conf"
I [02/Jun/2014:02:32:03 +2300] Using default TempDir of /var/spool/cups/tmp...
I [02/Jun/2014:02:32:03 +2300] Configured for up to 100 clients.
I [02/Jun/2014:02:32:03 +2300] Allowing up to 100 client connections per host.
I [02/Jun/2014:02:32:03 +2300] Using policy "default" as the default!
I [02/Jun/2014:02:32:03 +2300] Full reload is required.
I [02/Jun/2014:02:32:03 +2300] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 36 types, 40 filters...
I [02/Jun/2014:02:32:03 +2300] Loading NextJobId from job cache file "/var/cache/cups/job.cache"...
I [02/Jun/2014:02:32:03 +2300] Full reload complete.
I [02/Jun/2014:02:32:03 +2300] Cleaning out old files in "/var/spool/cups/tmp"...
I [02/Jun/2014:02:32:03 +2300] Cleaning out old files in "/var/cache/cups"...
E [02/Jun/2014:02:32:03 +2300] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
I [02/Jun/2014:02:32:03 +2300] Listening to 127.0.0.1:631 on fd 4...
I [02/Jun/2014:02:32:03 +2300] Listening to /var/run/cups/cups.sock on fd 6...
I [02/Jun/2014:02:32:03 +2300] Resuming new connection processing...
I [02/Jun/2014:02:32:35 +2300] Saving printers.conf...
I [02/Jun/2014:03:46:21 +2300] Scheduler shutting down normally.
I [02/Jun/2014:03:46:21 +2300] Saving job cache file "/var/cache/cups/job.cache"...
I [13/Jun/2014:10:25:23 +2300] Listening to [v1.::1]:631 (IPv6)
I [13/Jun/2014:10:25:23 +2300] Listening to 127.0.0.1:631 (IPv4)
I [13/Jun/2014:10:25:23 +2300] Listening to /var/run/cups/cups.sock (Domain)
I [13/Jun/2014:10:25:23 +2300] Remote access is disabled.
I [13/Jun/2014:10:25:23 +2300] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2014:10:25:23 +2300] Using default TempDir of /var/spool/cups/tmp...
I [13/Jun/2014:10:25:23 +2300] Configured for up to 100 clients.
I [13/Jun/2014:10:25:23 +2300] Allowing up to 100 client connections per host.
I [13/Jun/2014:10:25:23 +2300] Using policy "default" as the default!
I [13/Jun/2014:10:25:23 +2300] Full reload is required.
I [13/Jun/2014:10:25:23 +2300] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 36 types, 40 filters...
I [13/Jun/2014:10:25:23 +2300] Loading NextJobId from job cache file "/var/cache/cups/job.cache"...
I [13/Jun/2014:10:25:23 +2300] Full reload complete.
I [13/Jun/2014:10:25:23 +2300] Cleaning out old files in "/var/spool/cups/tmp"...
I [13/Jun/2014:10:25:23 +2300] Cleaning out old files in "/var/cache/cups"...
E [13/Jun/2014:10:25:24 +2300] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
I [13/Jun/2014:10:25:24 +2300] Listening to 127.0.0.1:631 on fd 4...
I [13/Jun/2014:10:25:24 +2300] Listening to /var/run/cups/cups.sock on fd 6...
I [13/Jun/2014:10:25:24 +2300] Resuming new connection processing...
I [13/Jun/2014:10:25:54 +2300] Saving printers.conf...
I [13/Jun/2014:10:28:00 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=31749)
I [13/Jun/2014:10:28:04 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=31818)
I [13/Jun/2014:10:28:04 +2300] Started "/usr/lib/cups/daemon/cups-deviced" (pid=31819)
I [13/Jun/2014:10:28:19 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=32021)
I [13/Jun/2014:10:28:22 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=32086)
I [13/Jun/2014:10:28:22 +2300] Started "/usr/lib/cups/daemon/cups-driverd" (pid=32087)
I [13/Jun/2014:10:28:22 +2300] [cups-driverd] Wrote "/var/cache/cups/ppds.dat", 776 PPDs...
I [13/Jun/2014:10:28:31 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=32215)
I [13/Jun/2014:10:28:31 +2300] Setting Canon_MP490_series device-uri to "usb://Canon/MP490%20series" (was "file:///dev/null".)
I [13/Jun/2014:10:28:31 +2300] Setting Canon_MP490_series printer-is-accepting-jobs to 1 (was 0.)
I [13/Jun/2014:10:28:31 +2300] Setting Canon_MP490_series printer-is-shared to 0 (was 1.)
I [13/Jun/2014:10:28:31 +2300] Setting Canon_MP490_series printer-state to 3 (was 5.)
I [13/Jun/2014:10:28:31 +2300] New printer "Canon_MP490_series" added by "anonymous".
I [13/Jun/2014:10:28:41 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=32364)
I [13/Jun/2014:10:28:41 +2300] Printer "Canon_MP490_series" modified by "anonymous".
I [13/Jun/2014:10:28:46 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=32441)
I [13/Jun/2014:10:28:46 +2300] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=32442)
I [13/Jun/2014:10:28:52 +2300] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=32519)
I [13/Jun/2014:10:28:52 +2300] [Job ???] Request file type is application/vnd.cups-banner.
E [13/Jun/2014:10:28:52 +2300] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_MP490_series) from localhost
I [13/Jun/2014:10:29:02 +2300] Saving printers.conf...
I [13/Jun/2014:10:29:02 +2300] Generating printcap /etc/printcap...
I [13/Jun/2014:10:29:56 +2300] [Job ???] Request file type is application/pdf.
E [13/Jun/2014:10:29:56 +2300] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_MP490_series) from localhost
I [13/Jun/2014:10:31:08 +2300] [Job ???] Request file type is application/pdf.
E [13/Jun/2014:10:31:08 +2300] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_MP490_series) from localhost
I [13/Jun/2014:10:31:21 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=2243)
I [13/Jun/2014:10:31:23 +2300] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2271)
I [13/Jun/2014:10:31:26 +2300] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2321)
I [13/Jun/2014:10:31:46 +2300] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2617)
I [13/Jun/2014:10:31:46 +2300] [Job ???] Request file type is application/vnd.cups-banner.
E [13/Jun/2014:10:31:46 +2300] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_MP490_series) from localhost
I [13/Jun/2014:10:32:09 +2300] [Job ???] Request file type is application/pdf.
E [13/Jun/2014:10:32:09 +2300] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/Canon_MP490_series) from localhost
I [13/Jun/2014:10:32:33 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3327)
Puppy Linux Blog - contact me for access

Post Reply