Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd, cups and WF-3520 Epson printer [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
koubykoub
n00b
n00b


Joined: 19 Sep 2014
Posts: 4

PostPosted: Fri Sep 19, 2014 2:46 pm    Post subject: systemd, cups and WF-3520 Epson printer [SOLVED] Reply with quote

Hello everybody !
I'm new on this forum and it's my first topic.

Recently I've installed a new 64 bits gentoo linux with xfce4 on my computer to try systemd.
I've got an Epson sanner/printer WF-3520 ; the scanner works perfectly but the printer doesn't want to work.
The printer is usb plugged on my computer.

I've tried this tuto (https://forums.gentoo.org/viewtopic-t-948946.html) to install the printer filter.
The filter is compiling and installing well but when I restart cups (# systemctl restart cups.service) and I go in http://localhost:631/admin, if I click on "Add printer"and I logged in root, The "Local Printers" line is empty and there's no options to install my printer. If I click on "Find New Printers" it says me "No printers found.".
cups is starting at boot time ; I've done this :
# systemctl enable cups.service
# systemctl enable cups-browsed.service
and # systemctl status ... says me thoses services are active
the version of cups is 1.7.5

My question is simple : why cups doesn't want to recognize my printer ?
Maybe I forget enable/disable something in the kernel, or a config file have to be setting, or the filter is not correctly compiled and/or installed ?
Tell me if you want more details.

Thank you for your attention (and I'm sorry for my poor English)
Koubykoub


Last edited by koubykoub on Fri Sep 19, 2014 5:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7196
Location: almost Mile High in the USA

PostPosted: Fri Sep 19, 2014 3:48 pm    Post subject: Reply with quote

Welcome to Gentoo.

This printer seems to be a proprietary driver printer so I've got to guess since I don't have one of these printers.

Do you have CONFIG_USB_PRINTER set as "M"? I think a lot of these proprietary/custom drivers require CONFIG_USB_PRINTER to be turned off and use libusb, and hope that the kernel USB printer driver doesn't take over first. I usually keep it as "M" so I have the flexibility to switch.

Is the printer showing up in lsusb at least?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
koubykoub
n00b
n00b


Joined: 19 Sep 2014
Posts: 4

PostPosted: Fri Sep 19, 2014 4:08 pm    Post subject: Reply with quote

Thank you for your answer

the CONFIG_USB_PRINTER is set as "n". Should I set it as "M" ?
lsusb give me :
...
Bus 002 Device 005: ID 04b8:0899 Seiko Epson Corp.
...
And the scanner works fine.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1704
Location: United Kingdom

PostPosted: Fri Sep 19, 2014 4:49 pm    Post subject: Reply with quote

Any error messages in /var/log/cups/error_log?
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
koubykoub
n00b
n00b


Joined: 19 Sep 2014
Posts: 4

PostPosted: Fri Sep 19, 2014 4:50 pm    Post subject: Reply with quote

I have solved my problem by set the CONFIG_USB_PRINTER as "y" in the kernel.
After I have reemerged cups without the usb flag (net-print/cups -usb in package.use).
I have rebooted the system and cups could recognize my printer. So I could configure it and it's working fine.

Thank you for your attention and for the idea of the CONFIG_USB_PRINTER flag in the kernel

Have a good day !
Koubykoub
Back to top
View user's profile Send private message
koubykoub
n00b
n00b


Joined: 19 Sep 2014
Posts: 4

PostPosted: Fri Sep 19, 2014 4:54 pm    Post subject: Reply with quote

Fitzcarraldo
/var/log/cups/error_log gived me this error :
E [19/Sep/2014:18:34:45 +0200] Unable to bind socket for address [v1.::1]:631 - Address already in use.

but now it's work and there's no errors
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7196
Location: almost Mile High in the USA

PostPosted: Sat Sep 20, 2014 12:10 am    Post subject: Reply with quote

Cool, I guess that driver actually does use the usbprinter driver after all. I guess it's your call to specify "Y" or "M" - I've seen some printers that require that USB_PRINTER be turned off so the printer driver can use libusb. I believe HPLIP needs this for the so called "winprinters" or "gdi" printers.

And nice, systemd was a red herring!
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum