can't get samsung ml2510 printer to work with pogoplug v2

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

can't get samsung ml2510 printer to work with pogoplug v2

Postby kbot » Thu Sep 15, 2011 6:34 pm

Hello,

I have a pogoplug v2 (pink) and a samsung ml2510 printer. I'm trying to get networked printing working (i.e. printer connected to pogoplug and print over my network to it). I'm rather new to linux but here is what I've done so far:

Installed cups via the documentation page ( http://archlinuxarm.org/support/guides/ ... e-airprint ) and got to step 14.

Also installed the "splix" package (via "pacman -S splix"

Then i went to http://192.168.1.X:10000/ (because 192.168.1.X:631 doesn't work) and entered in a printer name and description for my samsung printer. However the "cups driver" portion of the page is blank and if I try to select "cups driver" anyways it just spits out an error message

"Failed to save printer : lpadmin failed :
lpadmin: Unable to open PPD file "/etc/cups/ppd/test.ppd" - No such file or directory"

next i noticed on this page ( https://bbs.archlinux.org/viewtopic.php?id=98889 ) that they recommended installing "cups-usblp", so I installed yaourt, and when i tried installing "cups-usblp" through "yaourt -S cups-usblp" it gives me the error:

" Please run yaourt as a non-privileged user.
==> ERROR: cups-usblp is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').
==> ERROR: Makepkg was unable to build cups-usblp.
==> Restart building cups-usblp ? [y/N]"

next I tried nano'ing it adding the "arm" to the arch=() line and it still didn't work
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build cups-usblp.
==> Restart building cups-usblp ? [y/N]

what else would you recommend that I do?
kbot
 
Posts: 5
Joined: Thu Sep 15, 2011 6:20 pm

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby pepedog » Thu Sep 15, 2011 8:26 pm

It offers to edit PKGBUILD, say y and choose nano as editor

Edit this line
arch=('i686' 'x86_64')
to
arch=(arm)
Save (ctrl o)(ctrl x)
then proceed
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby kbot » Thu Sep 15, 2011 9:11 pm

okay, i tried changing that line with nano and proceeding to install it, but got this message:

"==> Starting build()...
/tmp/yaourt-tmp-root/aur-cups-usblp/./PKGBUILD: line 31: patch: command not found
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build cups-usblp.
==> Restart building cups-usblp ? [y/N]
==> -----------------------------------
==>
"
kbot
 
Posts: 5
Joined: Thu Sep 15, 2011 6:20 pm

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby hydro » Thu Sep 15, 2011 9:46 pm

VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby kbot » Fri Sep 16, 2011 2:40 am

i installed the "base-devel" and tried installing the "cups-usblp" as before, after half an hour of compiling it said the installation failed.
kbot
 
Posts: 5
Joined: Thu Sep 15, 2011 6:20 pm

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby kbot » Fri Sep 16, 2011 4:00 pm

kbot
 
Posts: 5
Joined: Thu Sep 15, 2011 6:20 pm

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby hydro » Fri Sep 16, 2011 7:19 pm

Obviously cups and cups-usblp cannot be installed at the same time, so I guess there should be a line
$this->bbcode_second_pass_code('', '
conflicts=(cups)
')
in the PKGBUILD of cups-usblp. You do not need to recompile, just go into the directory cups-usblp, edit the PKGBUILD and run
$this->bbcode_second_pass_code('', '
makepkg -Rf
')
to recreate the package containing that information. This only works, of course, if the src directory has not been deleted after creating the package the first time (I don't know about yaourt, I don't use it).
When you install the new package you'll get
$this->bbcode_second_pass_code('', '
# pacman -U cups-usblp-1.5.0-1-arm.pkg.tar.gz
resolving dependencies...
looking for inter-conflicts...
:: cups-usblp and cups are in conflict. Remove cups? [y/N]
')
and answer 'y'. Of course you can also just remove cups manually before installing cups-usblp.

Also look at troubleshooting section in https://wiki.archlinux.org/index.php/Cups
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby pepedog » Sat Sep 17, 2011 3:22 pm

I don't know if the correct ppd file will help
Go to samsung.com, download and extract the tar file, and in this directory
cdroot/Linux/noarch/at_opt/share/ppd
is the ppd

A lot of the other stuff in the tar is compiled for x86
http://linuxprinting.org/ is down
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby pepedog » Sat Sep 17, 2011 8:09 pm

I compiled it for you
$this->bbcode_second_pass_code('', 'pacman -Uf http://myplugbox.com/bunghole/cups-usblp/cups-usblp-1.5.0-1-arm.pkg.tar.xz')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: can't get samsung ml2510 printer to work with pogoplug v

Postby kbot » Thu Oct 20, 2011 4:23 am

still didn't seem to work. Is the problem that unifiedlinuxdriver is compiled only for x86 and not for arm, and hence won't work?
kbot
 
Posts: 5
Joined: Thu Sep 15, 2011 6:20 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests