[gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-06 Thread walt
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).



Re: [gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-06 Thread William Kenworthy
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




Re: [gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-04 Thread Urs Schutz
On Sun, 04 Aug 2013 10:42:54 +0800
William Kenworthy bi...@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 dilfri...@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




Re: [gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-04 Thread William Kenworthy
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 bi...@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 dilfri...@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
 
 




[gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-03 Thread walt
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?






Re: [gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-03 Thread William Kenworthy
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 EPSONStylus Storage
 1.00 PQ: 0 ANSI: 2
[   16.953592] usb 5-3: Manufacturer: EPSON
[   17.967490] scsi 5:0:0:0: Direct-Access EPSONStylus 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)