Bug#698060: all better

2013-01-17 Thread mark anderson
Brian, OdyX--

Thanks for your help, the printer got better.  Sadly, I don't know
exactly what changed, so I can't document what fixed the problem.

One thing that may have poked things into success is I pm-suspend my
machine every night.  That may have disturbed some software package in
the right direction.

I'll contend that there is still a problem here, the printer should
have self installed.  In the span of 3 days I installed wheezy
(printer didn't work), installed squeeze (printer worked), installed
wheezy (printer didn't work).

I do know the "waiting for printer to become available" was resolved
when I power cycled the printer.  I'd unplugged/replugged the USB
cable and didn't see anything show up in dmesg.  I also plugged into a
different USB port and didn't see that in dmesg either.  I'm guessing
the printer got into some oddball state.  I suspect this "waiting"
problem is separate from the self installation problem.

Regardless, I appreciate the help and direction.  If you find yourself
in Fort Collins, Colorado, the first beer is on me.

--mark


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: not sure

2013-01-15 Thread mark anderson
Brian, OdyY--

I should start with saying I'm a hardware guy working in the areas of
DSP and VLSI.  Software higher than system calls and library functions
just confuses me, massively parallel hardware is fun.  I miss the days
of `cat file > /dev/lp`.

It looks like bug https://www.cups.org/str.php?L4177 is awfully
similar to what I'm seeing.

> First select "Add Printer" and either authenticate or go back and try
> "Find New Printers"

I tried this again and the stupid printer showed up.  How about that.
I have no idea what got poked but something changed.

The printer did show up as paused, and once I resumed it, I got a new
and interesting status:
"Waiting for printer to become available."

When I google that string, I'm finding lots of people with variations
of printers that seen by the kernel but not cups.

I'll keep poking around seeing what I can do here.  It's still not
printing but progress is happening.

--mark


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060:

2013-01-14 Thread Didier 'OdyX' Raboud
Hi mark,

Le lundi, 14 janvier 2013 06.12:06, mark anderson a écrit :
> Not that I know what I'm doing, but I installed it anyway and tried
> the localhost:631 thing but didn't see any difference.

Please run "cupsctl --debug-logging" to enable debug logging and then provide 
the output of "lpinfo -v" and a copy of the /var/log/cups/error_log file

Cheers,

OdyX

[0] Shamelessly copied verbatim from https://www.cups.org/str.php?L4177


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060:

2013-01-14 Thread Brian Potkin
On Sun 13 Jan 2013 at 22:12:06 -0700, mark anderson wrote:

> Brian--
> 
> The command:
> 
> $ dpkg -l | grep "system-config-printer-udev"
> 
> does in fact return nothing.
> 
> A quick look in aptitude shows that the package does exist but is not 
> installed.
> 
> Not that I know what I'm doing, but I installed it anyway and tried
> the localhost:631 thing but didn't see any difference.
> 
> Thanks for the suggestion.

I wasn't suggesting you use system-config-printer-udev, but if you did
have it on the system it would automatically set up a print queue.
Which would mean CUPS would have no new printers to find.

Anyway, I get the same as you do, so it is not your printer at fault.
When CUPS says "No printers found" I reckon it does not mean "printers
have been looked for but haven't been found". It is more like "You
haven't authenticated, so I'm not bothering even to look".

First select "Add Printer" and either authenticate or go back and try
"Find New Printers".

Regards,

Brian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060:

2013-01-13 Thread mark anderson
Brian--

The command:

$ dpkg -l | grep "system-config-printer-udev"

does in fact return nothing.

A quick look in aptitude shows that the package does exist but is not installed.

Not that I know what I'm doing, but I installed it anyway and tried
the localhost:631 thing but didn't see any difference.

Thanks for the suggestion.

--mark


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: more output

2013-01-13 Thread Brian Potkin
On Sun 13 Jan 2013 at 14:52:51 -0700, mark anderson wrote:

> OdyX--
> 
> I figured it was specific to my printer, anything else would have been
> seen by a lot of people.

Just a thought: is the output of

   dpkg -l | grep "system-config-printer-udev"

empty or not?

Regards,

Brian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: more output

2013-01-13 Thread mark anderson
OdyX--

I figured it was specific to my printer, anything else would have been
seen by a lot of people.

Thanks again.

--mark

# /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=7
DEBUG2: Printer found with device ID:
MFG:Brother;CMD:PJL,HBP;MDL:HL-2040 series;CLS:PRINTER; Device URI:
usb://Brother/HL-2040%20series?serial=M5J406566
direct usb://Brother/HL-2040%20series?serial=M5J406566 "Brother
HL-2040 series" "Brother HL-2040 series"
"MFG:Brother;CMD:PJL,HBP;MDL:HL-2040 series;CLS:PRINTER;" ""


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: HL-2040 more info

2013-01-13 Thread Didier 'OdyX' Raboud
Hi mark,

I just tested, I can successfully detect and setup my HP printer over USB 
here: it's therefor not a universal problem and will likely stay "important".


Le dimanche, 13 janvier 2013 19.03:01, mark anderson a écrit :
> OdyX--
> 
> Thanks for your very quick response.

> $  /bin/ls -al /usr/lib/cups/backend
> …
> -r-xr--r--  2 root root 30096 Dec 30 08:10 usb
> 
> $  /bin/ls -al /usr/lib/cups/backend-available/
> …
> -r-xr--r--  2 root root 30096 Dec 30 08:10 usb

Sounds sane enough. Can you now run

# /usr/lib/cups/backend/usb 

as root and paste the result in the bugreport?

Thanks in advance, cheers,

OdyX


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: HL-2040 more info

2013-01-13 Thread mark anderson
OdyX--

Thanks for your very quick response.

--mark

$  /bin/ls -al /usr/lib/cups/backend
total 528
drwxr-xr-x  2 root root  4096 Jan 12 14:59 .
drwxr-xr-x 10 root root  4096 Jan 12 14:42 ..
-rwxr-xr-x  1 root root  7250 Jul  5  2012 beh
-rwxr--r--  3 root root 17808 Dec 30 08:10 dnssd
-rwxr-xr-x  1 root root 18068 Jun 24  2012 hp
-rwxr-xr-x  1 root root  9303 Jun 24  2012 hpfax
-rwxr--r--  5 root root 62932 Dec 30 08:10 http
-rwxr--r--  5 root root 62932 Dec 30 08:10 https
-rwxr--r--  5 root root 62932 Dec 30 08:10 ipp
-rwxr--r--  5 root root 62932 Dec 30 08:10 ipps
-rwxr--r--  2 root root 38352 Dec 30 08:10 lpd
-rwxr--r--  3 root root 17808 Dec 30 08:10 mdns
-rwxr-xr-x  1 root root 17936 Nov 22 14:02 parallel
-rwxr-xr-x  1 root root 13812 Nov 22 14:02 serial
lrwxrwxrwx  1 root root21 Aug  5 09:03 smb -> ../../../bin/smbspool
-r-xr-xr-x  2 root root 26004 Dec 30 08:10 snmp
-r-xr-xr-x  2 root root 30160 Dec 30 08:10 socket
-r-xr--r--  2 root root 30096 Dec 30 08:10 usb

$  /bin/ls -al /usr/lib/cups/backend-available/
total 276
drwxr-xr-x  2 root root  4096 Jan 12 14:42 .
drwxr-xr-x 10 root root  4096 Jan 12 14:42 ..
-rwxr--r--  3 root root 17808 Dec 30 08:10 dnssd
lrwxrwxrwx  1 root root 3 Dec 30 08:09 http -> ipp
lrwxrwxrwx  1 root root 3 Dec 30 08:09 https -> ipp
-rwxr--r--  5 root root 62932 Dec 30 08:10 ipp
-rwxr--r--  1 root root 46548 Dec 30 08:10 ipp14
lrwxrwxrwx  1 root root 3 Dec 30 08:09 ipps -> ipp
-rwxr--r--  2 root root 38352 Dec 30 08:10 lpd
-r-xr-xr-x  2 root root 26004 Dec 30 08:10 snmp
-r-xr-xr-x  2 root root 30160 Dec 30 08:10 socket
-r-xr--r--  2 root root 30096 Dec 30 08:10 usb


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: cups fails to recognize brother HL-2040 usb printer

2013-01-13 Thread Didier 'OdyX' Raboud
Control: severity -1 important
Control: tags -1 +moreinfo

Hi Mark, and thanks for your bugreport!

Le dimanche, 13 janvier 2013 17.54:35, mark anderson a écrit :
> I did a complete wipe and install with Wheezy and cups doesn't recognize
> nor auto-install my Brother HL-2040.  I did a complete wipe and install
> with Squeeze and it worked great (although it configured as a HL-2060).
> 
> I hope that wasn't confusing, the printer auto configures under Squeeze
> but not Wheezy.  Wheezy/cups never sees the printer.

Can you send to the bug the result of the following commands ?

$ ls -la /usr/lib/cups/backend /usr/lib/cups/backend-available/

Thanks in advance, cheers,

OdyX


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#698060: cups fails to recognize brother HL-2040 usb printer

2013-01-13 Thread mark anderson
Package: cups
Version: 1.5.3-2.12
Severity: normal

Dear Maintainer,

I did a complete wipe and install with Wheezy and cups doesn't recognize
nor auto-install my Brother HL-2040.  I did a complete wipe and install
with Squeeze and it worked great (although it configured as a HL-2060).

I hope that wasn't confusing, the printer auto configures under Squeeze
but not Wheezy.  Wheezy/cups never sees the printer.



Under Wheezy, when I go to http://localhost:631/admin and click on 
"Find New Printer" it responds with "No printers found".



The command "lsusb" reports:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04f9:0028 Brother Industries, Ltd Printer
Bus 005 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305

This is exactly the same for both Squeeze and Wheezy installations.



Under Wheezy, the command "lsmod | grep lp" reports:

lp 12797  0 
usblp  17115  0 
drm_kms_helper 22699  1 radeon
drm   134220  4 drm_kms_helper,ttm,radeon
parport31254  3 parport_pc,lp,ppdev
i2c_core   19116  5 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,radeon
usbcore   104503  5 ehci_hcd,uhci_hcd,usbhid,usblp

For comparison, under Squeeze "lsmod | grep lp" reports:

lp  5570  0 
usblp   7899  0 
drm_kms_helper 18569  1 radeon
drm   112621  4 radeon,ttm,drm_kms_helper
parport22554  3 ppdev,lp,parport_pc
i2c_core   12803  5 radeon,drm_kms_helper,i2c_i801,drm,i2c_algo_bit
usbcore99426  5 usblp,usbhid,uhci_hcd,ehci_hcd



When the printer was configured under Squeeze, 
http://localhost:631/admin  -> Manage Printers  -> HL-2040 reports:

Description:Brother HL-2040 series
Location:   carpe
Driver: Brother HL-2060 Foomatic/hpijs-pcl5e (recommended) (grayscale, 2-sided 
printing)
Connection: usb://Brother/HL-2040%20series
Defaults:   job-sheets=none, none media=na_letter_8.5x11in sides=one-sided


Any help would be greatly appreciated.  Many thanks.

--mark

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser3.113+nmu3
ii  bc 1.06.95-2
ii  cups-client1.5.3-2.12
ii  cups-common1.5.3-2.12
ii  cups-filters   1.0.18-2.1
ii  cups-ppdc  1.5.3-2.12
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg   1.16.9
ii  ghostscript9.05~dfsg-6.3
ii  libavahi-client3   0.6.31-1
ii  libavahi-common3   0.6.31-1
ii  libc-bin   2.13-37
ii  libc6  2.13-37
ii  libcups2   1.5.3-2.12
ii  libcupscgi11.5.3-2.12
ii  libcupsimage2  1.5.3-2.12
ii  libcupsmime1   1.5.3-2.12
ii  libcupsppdc1   1.5.3-2.12
ii  libdbus-1-31.6.8-1
ii  libgcc11:4.7.2-4
ii  libgnutls262.12.20-2
ii  libgssapi-krb5-2   1.10.1+dfsg-3
ii  libkrb5-3  1.10.1+dfsg-3
ii  libldap-2.4-2  2.4.31-1
ii  libpam0g   1.1.3-7.1
ii  libpaper1  1.1.24+nmu2
ii  libslp11.2.1-9
ii  libstdc++6 4.7.2-4
ii  libusb-1.0-0   2:1.0.11-1
ii  lsb-base   4.1+Debian8
ii  poppler-utils  0.18.4-4
ii  procps 1:3.3.3-2
ii  ssl-cert   1.0.32

Versions of packages cups recommends:
ii  avahi-daemon   0.6.31-1
ii  colord 0.1.21-1
ii  foomatic-filters   4.0.17-1
ii  ghostscript-cups   9.05~dfsg-6.3
ii  printer-driver-gutenprint  5.2.9-1

Versions of packages cups suggests:
ii  cups-bsd   1.5.3-2.12
pn  cups-pdf   
ii  foomatic-db-compressed-ppds [foomatic-db]  20120523-1
ii  hplip  3.12.6-3
ii  printer-driver-hpcups  3.12.6-3
ii  smbclient  2:3.6.6-3
ii  udev   175-7

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, socket, usb, snmp, dnssd


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org