public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] usb printer disappears on cups upgrade
@ 2013-08-03  2:23 William Kenworthy
  2013-08-03  2:48 ` Bruce Hill
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: William Kenworthy @ 2013-08-03  2:23 UTC (permalink / raw
  To: gentoo-user

I have a long running machine with a local epson usb printer using the
kernel lpusb

Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
see the usb printer.  The only errors in the cups log are to do with
systemd service files which I masked a couple of days ago - the usb
problem was happening before though.

I tried both with and without the kernel module and usb use flag with no
difference.  I cant create a new printer in 1.6.2 because the usb port
doesnt show up at all.

[ebuild     U  ] net-print/cups-1.6.2-r5 [1.5.2-r4] USE="X dbus filters
gnutls java pam python ssl threads -acl -debug -kerberos -lprng-compat%
(-selinux) -static-libs -usb -xinetd -zeroconf% (-avahi%*) (-jpeg%*)
(-ldap%*) (-perl%*) (-png%*) (-slp%*) (-tiff%*)" LINGUAS="-ca% -es -fr%
-ja% -ru%" 0 kB
[ebuild  N     ] net-print/cups-filters-1.0.34-r1  USE="jpeg perl png
tiff -static-libs -zeroconf" 0 kB

Everything looks ok, suggestions welcome.

BillK


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] usb printer disappears on cups upgrade
  2013-08-03  2:23 [gentoo-user] usb printer disappears on cups upgrade William Kenworthy
@ 2013-08-03  2:48 ` Bruce Hill
  2013-08-03  3:21   ` William Kenworthy
  2013-08-04  1:42 ` [gentoo-user] " walt
  2013-08-05  4:37 ` [gentoo-user] " Sebastian Beßler
  2 siblings, 1 reply; 10+ messages in thread
From: Bruce Hill @ 2013-08-03  2:48 UTC (permalink / raw
  To: gentoo-user

On Sat, Aug 03, 2013 at 10:23:25AM +0800, William Kenworthy wrote:
> I have a long running machine with a local epson usb printer using the
> kernel lpusb
> 
> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
> see the usb printer.  The only errors in the cups log are to do with
> systemd service files which I masked a couple of days ago - the usb
> problem was happening before though.
> 
> I tried both with and without the kernel module and usb use flag with no
> difference.  I cant create a new printer in 1.6.2 because the usb port
> doesnt show up at all.
> 
> [ebuild     U  ] net-print/cups-1.6.2-r5 [1.5.2-r4] USE="X dbus filters
> gnutls java pam python ssl threads -acl -debug -kerberos -lprng-compat%
> (-selinux) -static-libs -usb -xinetd -zeroconf% (-avahi%*) (-jpeg%*)
> (-ldap%*) (-perl%*) (-png%*) (-slp%*) (-tiff%*)" LINGUAS="-ca% -es -fr%
> -ja% -ru%" 0 kB
> [ebuild  N     ] net-print/cups-filters-1.0.34-r1  USE="jpeg perl png
> tiff -static-libs -zeroconf" 0 kB
> 
> Everything looks ok, suggestions welcome.
> 
> BillK

You have USB turned off in USE ... -usb
-- 
Happy Penguin Computers               >')
126 Fenco Drive                       ( \
Tupelo, MS 38801                       ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.                                                                                                                                                          
Q: Why is top-posting such a bad thing?                                                                                                                                                                                        
A: Top-posting.                                                                                                                                                                                                                
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] usb printer disappears on cups upgrade
  2013-08-03  2:48 ` Bruce Hill
@ 2013-08-03  3:21   ` William Kenworthy
  0 siblings, 0 replies; 10+ messages in thread
From: William Kenworthy @ 2013-08-03  3:21 UTC (permalink / raw
  To: gentoo-user

On 03/08/13 10:48, Bruce Hill wrote:
> On Sat, Aug 03, 2013 at 10:23:25AM +0800, William Kenworthy wrote:
>> I have a long running machine with a local epson usb printer using the
>> kernel lpusb
>>
>> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
>> see the usb printer.  The only errors in the cups log are to do with
>> systemd service files which I masked a couple of days ago - the usb
>> problem was happening before though.
>>
>> I tried both with and without the kernel module and usb use flag with no
>> difference.  I cant create a new printer in 1.6.2 because the usb port
>> doesnt show up at all.
>>
>> [ebuild     U  ] net-print/cups-1.6.2-r5 [1.5.2-r4] USE="X dbus filters
>> gnutls java pam python ssl threads -acl -debug -kerberos -lprng-compat%
>> (-selinux) -static-libs -usb -xinetd -zeroconf% (-avahi%*) (-jpeg%*)
>> (-ldap%*) (-perl%*) (-png%*) (-slp%*) (-tiff%*)" LINGUAS="-ca% -es -fr%
>> -ja% -ru%" 0 kB
>> [ebuild  N     ] net-print/cups-filters-1.0.34-r1  USE="jpeg perl png
>> tiff -static-libs -zeroconf" 0 kB
>>
>> Everything looks ok, suggestions welcome.
>>
>> BillK
> 
> You have USB turned off in USE ... -usb
> 

Thats because I am using the kernel lsusb module.  The other way is to
not use the kernel module and enable usb on the cups build - Ive tried
both ways and neither work on 1.6.2 - the kernel module works on 1.5.4
and I seem to remember thats the reccomended choice unless you are using
a manufacturers driver like the HP one.

Oh, and Ive accidentally tried both together on a few upgrades and that
has not worked for some time.

BillK




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-03  2:23 [gentoo-user] usb printer disappears on cups upgrade William Kenworthy
  2013-08-03  2:48 ` Bruce Hill
@ 2013-08-04  1:42 ` walt
  2013-08-04  2:42   ` William Kenworthy
  2013-08-05  4:37 ` [gentoo-user] " Sebastian Beßler
  2 siblings, 1 reply; 10+ messages in thread
From: walt @ 2013-08-04  1:42 UTC (permalink / raw
  To: gentoo-user

On 08/02/2013 07:23 PM, William Kenworthy wrote:
> I have a long running machine with a local epson usb printer using the
> kernel lpusb
> 
> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
> see the usb printer.  The only errors in the cups log are to do with
> systemd service files which I masked a couple of days ago - the usb
> problem was happening before though.
> 
> I tried both with and without the kernel module and usb use flag with no
> difference.  I cant create a new printer in 1.6.2 because the usb port
> doesnt show up at all.

Does the printer appear in dmesg when you plug it in?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-04  1:42 ` [gentoo-user] " walt
@ 2013-08-04  2:42   ` William Kenworthy
  2013-08-04 12:56     ` Urs Schutz
  0 siblings, 1 reply; 10+ messages in thread
From: William Kenworthy @ 2013-08-04  2:42 UTC (permalink / raw
  To: gentoo-user

On 04/08/13 09:42, walt wrote:
> On 08/02/2013 07:23 PM, William Kenworthy wrote:
>> I have a long running machine with a local epson usb printer using the
>> kernel lpusb
>>
>> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
>> see the usb printer.  The only errors in the cups log are to do with
>> systemd service files which I masked a couple of days ago - the usb
>> problem was happening before though.
>>
>> I tried both with and without the kernel module and usb use flag with no
>> difference.  I cant create a new printer in 1.6.2 because the usb port
>> doesnt show up at all.
> 
> Does the printer appear in dmesg when you plug it in?
> 
> 
> 
> 

yes, it also shows in lsusb, and works if I roll back to the older
version ... dont even have to reboot.  I am thinking its a configuration
issue but whatever it is is not obvious :(

moriah ~ # dmesg|grep -i epson
[    3.276904] usb 2-1: Manufacturer: EPSON
[    4.296921] scsi 4:0:0:0: Direct-Access     EPSON    Stylus Storage
 1.00 PQ: 0 ANSI: 2
[   16.953592] usb 5-3: Manufacturer: EPSON
[   17.967490] scsi 5:0:0:0: Direct-Access     EPSON    Stylus Storage
 1.00 PQ: 0 ANSI: 2
moriah ~ #

moriah ~ # lsusb
Bus 001 Device 003: ID 050d:0081 Belkin Components F8T001v2 Bluetooth
Bus 002 Device 005: ID 045e:001c Microsoft Corp. Internet Keyboard Pro
Bus 004 Device 003: ID 0403:6001 Future Technology Devices
International, Ltd FT232 USB-Serial (UART) IC
Bus 005 Device 003: ID 04b8:082e Seiko Epson Corp. PX-A720 [Stylus
CX5900/CX6000/DX6000]
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
moriah


I cant confirm (I have rolled back as I need to print today) but believe
the scanner (xsane) in this printer still works fine with either version
of cups (its basicly independent)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-04  2:42   ` William Kenworthy
@ 2013-08-04 12:56     ` Urs Schutz
  2013-08-04 13:19       ` William Kenworthy
  0 siblings, 1 reply; 10+ messages in thread
From: Urs Schutz @ 2013-08-04 12:56 UTC (permalink / raw
  To: gentoo-user

On Sun, 04 Aug 2013 10:42:54 +0800
William Kenworthy <billk@iinet.net.au> wrote:

> On 04/08/13 09:42, walt wrote:
> > On 08/02/2013 07:23 PM, William Kenworthy wrote:
> >> I have a long running machine with a local epson usb
> >> printer using the kernel lpusb
> >>
> >> Using cups <=1.5.2-r4 I can print ... upgrade to
> >> 1.6.2-r* and cups cant see the usb printer.  The only
> >> errors in the cups log are to do with systemd service
> >> files which I masked a couple of days ago - the usb
> >> problem was happening before though.
> >>
> >> I tried both with and without the kernel module and
> >> usb use flag with no difference.  I cant create a new
> >> printer in 1.6.2 because the usb port doesnt show up
> >> at all.
> > 
> > Does the printer appear in dmesg when you plug it in?
> > 
> > 
> > 
snip...
> 
> 
> I cant confirm (I have rolled back as I need to print
> today) but believe the scanner (xsane) in this printer
> still works fine with either version of cups (its basicly
> independent)
> 

Did you read that?

> eselect news read 30
2013-06-30-cups16
  Title   Printer browsing in net-print/cups-1.6
  Author  Andreas K. Huettel <dilfridge@gentoo.org>
  Posted 2013-06-30
  Revision                  1

net-print/cups-1.6 no longer supports automatic remote
printers or implicit classes via the CUPS, LDAP, or SLP
protocols, i.e. "network browsing".

The browsing functionality can be restored by running
cups-browsed from net-print/cups-filters as a separate
daemon (just add its init script to your default runlevel).
By default cups-browsed uses the net-print/cups-1.5 browse
protocol, but it can also utilize zeroconf (if the zeroconf
use flag is set). See /etc/cups/cups-browsed.conf for
configuration.

Of course, directly specifying the location of your
printers in the cups interface works as well.

Seems to me that you could try as root: 
> /etc/init.d/cups-browsed start


Urs



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-04 12:56     ` Urs Schutz
@ 2013-08-04 13:19       ` William Kenworthy
  0 siblings, 0 replies; 10+ messages in thread
From: William Kenworthy @ 2013-08-04 13:19 UTC (permalink / raw
  To: gentoo-user

I'll give it a try tomorrow (getting late here) but this is a local usb
connected printer and I thought "browse" is used to allow cups to find
or offer printers to other hosts across the network.

BillK


On 04/08/13 20:56, Urs Schutz wrote:
> On Sun, 04 Aug 2013 10:42:54 +0800
> William Kenworthy <billk@iinet.net.au> wrote:
> 
>> On 04/08/13 09:42, walt wrote:
>>> On 08/02/2013 07:23 PM, William Kenworthy wrote:
>>>> I have a long running machine with a local epson usb
>>>> printer using the kernel lpusb
>>>>
>>>> Using cups <=1.5.2-r4 I can print ... upgrade to
>>>> 1.6.2-r* and cups cant see the usb printer.  The only
>>>> errors in the cups log are to do with systemd service
>>>> files which I masked a couple of days ago - the usb
>>>> problem was happening before though.
>>>>
>>>> I tried both with and without the kernel module and
>>>> usb use flag with no difference.  I cant create a new
>>>> printer in 1.6.2 because the usb port doesnt show up
>>>> at all.
>>>
>>> Does the printer appear in dmesg when you plug it in?
>>>
>>>
>>>
> snip...
>>
>>
>> I cant confirm (I have rolled back as I need to print
>> today) but believe the scanner (xsane) in this printer
>> still works fine with either version of cups (its basicly
>> independent)
>>
> 
> Did you read that?
> 
>> eselect news read 30
> 2013-06-30-cups16
>   Title   Printer browsing in net-print/cups-1.6
>   Author  Andreas K. Huettel <dilfridge@gentoo.org>
>   Posted 2013-06-30
>   Revision                  1
> 
> net-print/cups-1.6 no longer supports automatic remote
> printers or implicit classes via the CUPS, LDAP, or SLP
> protocols, i.e. "network browsing".
> 
> The browsing functionality can be restored by running
> cups-browsed from net-print/cups-filters as a separate
> daemon (just add its init script to your default runlevel).
> By default cups-browsed uses the net-print/cups-1.5 browse
> protocol, but it can also utilize zeroconf (if the zeroconf
> use flag is set). See /etc/cups/cups-browsed.conf for
> configuration.
> 
> Of course, directly specifying the location of your
> printers in the cups interface works as well.
> 
> Seems to me that you could try as root: 
>> /etc/init.d/cups-browsed start
> 
> 
> Urs
> 
> 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] usb printer disappears on cups upgrade
  2013-08-03  2:23 [gentoo-user] usb printer disappears on cups upgrade William Kenworthy
  2013-08-03  2:48 ` Bruce Hill
  2013-08-04  1:42 ` [gentoo-user] " walt
@ 2013-08-05  4:37 ` Sebastian Beßler
  2013-08-06 23:48   ` [gentoo-user] " walt
  2 siblings, 1 reply; 10+ messages in thread
From: Sebastian Beßler @ 2013-08-05  4:37 UTC (permalink / raw
  To: gentoo-user

Am 03.08.2013 04:23, schrieb William Kenworthy:

> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
> see the usb printer.  The only errors in the cups log are to do with
> systemd service files which I masked a couple of days ago - the usb
> problem was happening before though.

I have exactly the same issue with my Epson Stylus SX218 printer
connected via USB.

I tried everything to get it to print with cups 1.6 but no success. At
the moment to print I start a Windows VM (Windows inside the VM sees and
installs the printer without problem) and connect to the shared printer
with cups.

Greetings

Sebastian Beßler


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-05  4:37 ` [gentoo-user] " Sebastian Beßler
@ 2013-08-06 23:48   ` walt
  2013-08-07  1:23     ` William Kenworthy
  0 siblings, 1 reply; 10+ messages in thread
From: walt @ 2013-08-06 23:48 UTC (permalink / raw
  To: gentoo-user

On 08/04/2013 09:37 PM, Sebastian Beßler wrote:
> Am 03.08.2013 04:23, schrieb William Kenworthy:
> 
>> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
>> see the usb printer.  The only errors in the cups log are to do with
>> systemd service files which I masked a couple of days ago - the usb
>> problem was happening before though.
> 
> I have exactly the same issue with my Epson Stylus SX218 printer
> connected via USB.
> 
> I tried everything to get it to print with cups 1.6 but no success. At
> the moment to print I start a Windows VM (Windows inside the VM sees and
> installs the printer without problem) and connect to the shared printer
> with cups.

I've had some strange problems occasionally when I upgrade cups, and often
the problems have been fixed by deleting/reinstalling the printers using
the cups html interface (on localhost:631).


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: usb printer disappears on cups upgrade
  2013-08-06 23:48   ` [gentoo-user] " walt
@ 2013-08-07  1:23     ` William Kenworthy
  0 siblings, 0 replies; 10+ messages in thread
From: William Kenworthy @ 2013-08-07  1:23 UTC (permalink / raw
  To: gentoo-user

On 07/08/13 07:48, walt wrote:
> On 08/04/2013 09:37 PM, Sebastian Beßler wrote:
>> Am 03.08.2013 04:23, schrieb William Kenworthy:
>>
>>> Using cups <=1.5.2-r4 I can print ... upgrade to 1.6.2-r* and cups cant
>>> see the usb printer.  The only errors in the cups log are to do with
>>> systemd service files which I masked a couple of days ago - the usb
>>> problem was happening before though.
>> I have exactly the same issue with my Epson Stylus SX218 printer
>> connected via USB.
>>
>> I tried everything to get it to print with cups 1.6 but no success. At
>> the moment to print I start a Windows VM (Windows inside the VM sees and
>> installs the printer without problem) and connect to the shared printer
>> with cups.
> I've had some strange problems occasionally when I upgrade cups, and often
> the problems have been fixed by deleting/reinstalling the printers using
> the cups html interface (on localhost:631).
>
same here, but in this case it cant see the usb printer to recreate it
... will be a week until I get back to this one ...

BillK



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-07  1:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-03  2:23 [gentoo-user] usb printer disappears on cups upgrade William Kenworthy
2013-08-03  2:48 ` Bruce Hill
2013-08-03  3:21   ` William Kenworthy
2013-08-04  1:42 ` [gentoo-user] " walt
2013-08-04  2:42   ` William Kenworthy
2013-08-04 12:56     ` Urs Schutz
2013-08-04 13:19       ` William Kenworthy
2013-08-05  4:37 ` [gentoo-user] " Sebastian Beßler
2013-08-06 23:48   ` [gentoo-user] " walt
2013-08-07  1:23     ` William Kenworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox