You are not logged in.
Pages: 1
Hi, i've a problem with my printer an Epson Stylus C60 because i can't check its ink level with ink tool or other tool like mtink, inkblot. I've installed libinklevel from aur but when i run the command "ink -p usb" it gives me this error:
ink v0.5.0 (c) 2009 Markus Heinz
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.
Can anyone tell me how to fix this problem? Thanks, Marco
Offline
Do you have read/write permission on the device, as suggested in the manual?
Offline
I recommend: http://aur.archlinux.org/packages.php?ID=30319
And your problem seems to be that you aren't in the lp group.
Last edited by Andrwe (2009-10-23 15:52:06)
Website: andrwe.org
Offline
thanks, i'm already in the group lp i've tried also stylus toolbox but it doesn't find my prnter i can't understand which is the device, maybe the upgrade of cups causes it because now we have to blacklist usblp module, i don't know
Offline
this is lpinfo output:
[marco@sondarch ~]$ sudo lpinfo -v
direct scsi
network http
network ipp
network socket
network lpd
direct parallel:/dev/lp0
direct usb://EPSON/Stylus%20C60?serial=LMHQR0202122128500
network smb
Offline
I've solved finally the problem by removing the usblp module from the blacklisted beause without this module the printer can't be connected to /dev/usb/lp0 and so ink tool can't do its work and check ink's level. I've deleted the printers from Cups and add it again with tthe module abled and now it works fine also ink tool, stylus toolbox and of course i can print without problem. Now my printer is connected to /dev/usb/lp1. I've written an email to the develomper of libinklevel who have answered this:
The root cause is most probably the blacklisting of the usblp.ko kernel
module.There are two options:
1. Compile cups with ./configure --enable-libusb=no
Then you get the old cups usb backend which works with a loaded
usblp.ko kernel module.
2. The Debian maintainers of cups have written a patch with makes cups
work with the new libusb backend and a loaded usblp.ko module in
parallel. This patch should be included in this file:
http://ftp.de.debian.org/debian/pool/ma … -4.diff.gzA loaded usblp.ko module is a necessity for the operation of
libinklevel.Maybe you can contact the maintainers of the cups package of your
distribution to apply one of the given fixes for all users of your
distribution.Best regards,
so maybe a complete solution is to add this patch to our cups version
Last edited by toketin (2009-10-23 19:05:58)
Offline
so here is mine:
network ipp
direct scsi
network http
network socket
network lpd
network smb
direct usb://EPSON/Stylus%20D92?serial=423035433246F8C075
Can you try to comment all Require lines in your cupsd.conf?
Website: andrwe.org
Offline
The problem is that some distributions like Mandriva 2010.1 have removed support for usblp kernel module and bases all USB ports on libusb.
When this happens, utils like ink or escp cannot work because are based on device access.
Kernel is changing their bases from kernel space to user space in most things, but utils like ink or escp are not changed according. So maybe in the future, developers of this utils or new maintainers, change them to allow access via "user space" libusb method Vs current "kernel space" device access.
Offline
+1 for adding the debian patch
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
i got a spin-off problem on my workstation: installed stylus toolbox a wwhile ago and it was running just fine until one of updates.
now it seems that the toolbox script is pretty much corrupted - bugs, bugs everywhere. one of them:
File "/usr/share/stylus-toolbox/stylus_toolbox.py", line 717
iter=None
^
IndentationError: expected an indented block
so here's my request: can anyone post their working script (stylus_toolbox.py)?
Offline
you have to replace python with python2 in the startscript, or just redownload the PKGBUILD and build the packages again.
Website: andrwe.org
Offline
Pages: 1