[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
At my case I have not found any differences with and without 'sudo'.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Till Kamppeter
** Changed in: udev (Ubuntu)
   Importance: Undecided = High

** Changed in: cups (Ubuntu)
   Importance: Undecided = High

** Changed in: udev (Ubuntu)
   Status: New = Confirmed

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Till Kamppeter
We need also to introduce a UDEV rule which makes the /dev/bus/usb/*/*
files being owned by the lp group for all printers (not only HP).
Currently this is only set for HP printers by
/lib/udev/rules.d/40-hplip.rules. We must add something apprpriate to
for example /lib/udev/rules.d/50-udev-default.rules but valid for all
printers.

** Also affects: udev (Ubuntu)
   Importance: Undecided
   Status: New

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
Till,

At my case, as I can understand, USB backend does see the printer (and
can not find it).

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Till Kamppeter
Can you do the following test:

Run

lsusb

and look for the line of your printer. The printer has a Bus and a
Device number. Now run

sudo chgrp lp /dev/bus/usb/bus number/device number
sudo chmod 664 /dev/bus/usb/bus number/device number

with bus number and device number being padded with zeros to be
always of 3 digits (8 - 008, 11 - 011, ...).

Example:

t...@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ lsusb
Bus 002 Device 029: ID 03f0:1c02 Hewlett-Packard PhotoSmart A710 series
t...@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chgrp lp 
/dev/bus/usb/002/029
t...@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chmod 664 
/dev/bus/usb/002/029

Then try to add a print queue and print to it. Does it work?

Note: Do not turn off or unplug the printer during this procedure,
otherwise you will have to do all steps again (device number changes
then).

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Truthiswithin
Ah, sorry, I posted before seeing post 20.  Yay... it works here!  Test
page printed successfully.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Truthiswithin
I don't know if it helps, but I was able to find and add the printer
using foomatic-gui; I had to use an optional ppd from gimp-print project
to do so, and the result was a non-functioning visible printer in
SystemAdministrationPrinting.

Any workaround while we're waiting for updates?

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Till Kamppeter
Truthiswithin, Thanks.

Now we know what to do:

1. Remove/blacklist usblp kernel module (for example by adding a file
/etc/modprobe.d/blacklist-cups.conf to the cups package and also rmmod
usblp to the pre- or post-install script of cups)

2. Add udev rules to make the /dev/bus/usb/*/* files corresponding to
printers have the permissions 664 and group ownership lp.

3. Change AppArmor configuration to let the usb CUPS backend (or CUPS
in general) have read and write access to the /dev/bus/usb/*/* files.

With all this done USB printers will work out-of-the-box again.


** Changed in: udev (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: cups (Ubuntu)
   Status: Confirmed = Triaged

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
For me owner/rights manipulations didn't help. For this ones

$ lsusb | grep Kyocera
Bus 005 Device 002: ID 0482:0015 Kyocera Corp.
$ sudo ls -l /dev/bus/usb/005/002
crw-r--r-- 1 root lp 189, 513 2009-08-28 22:56 /dev/bus/usb/005/002

restarted CUPS admin still don't find a printer (while USB backend see
it).

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Truthiswithin
@ilna, did you issue all of the following commands?


$ sudo rmmod usblp
$ sudo aa-complain cupsd
$ sudo chgrp lp /dev/bus/usb/bus number/device number
$ sudo chmod 664 /dev/bus/usb/bus number/device number

and then add the printer manually through
SystemAdministrationPrintingCTRL+N

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
Till,

$ sudo lsmod | grep usb
usbhid 44000  0

$ sudo aa-status
apparmor module is loaded.
11 profiles are loaded.
...
1 processes are in complain mode.
   /usr/sbin/cupsd (13621)

$ lsusb | grep Kyocera
Bus 005 Device 002: ID 0482:0015 Kyocera Corp.

$ sudo ls -l /dev/bus/usb/005/002
crw-r--r-- 1 root lp 189, 513 2009-08-28 22:56 /dev/bus/usb/005/002

This is a state just at the current moment (typing now). As far as I use
Kubuntu, I can not use GNOME print config frontend. KDE'd
systemsettings/Printer Configuration can not find the printer, as well
as CUPS web admin backend (have tried again just now, after typing and
copy/paste above console output).

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
Sorry, typo. as well as CUPS web admin backend muts be read as as
well as CUPS web admin frontend

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Florent Mertens
Le vendredi 28 août 2009 à 19:31 +, ilna a écrit :
 Till,
 
 $ sudo lsmod | grep usb
 usbhid 44000  0
 
 $ sudo aa-status
 apparmor module is loaded.
 11 profiles are loaded.
 ...
 1 processes are in complain mode.
/usr/sbin/cupsd (13621)
 
 $ lsusb | grep Kyocera
 Bus 005 Device 002: ID 0482:0015 Kyocera Corp.
 
 $ sudo ls -l /dev/bus/usb/005/002
 crw-r--r-- 1 root lp 189, 513 2009-08-28 22:56 /dev/bus/usb/005/002

/dev/bus/usb/005/002 need to be 664 and not 644

Did you do :

sudo chmod 664 /dev/bus/usb/bus number/device number

 
 This is a state just at the current moment (typing now). As far as I use
 Kubuntu, I can not use GNOME print config frontend. KDE'd
 systemsettings/Printer Configuration can not find the printer, as well
 as CUPS web admin backend (have tried again just now, after typing and
 copy/paste above console output).


-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilf
Works for me (HP LaserJet 1000). Thanks!

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
Ugh.. My fault, sorry... With 664 the printer was found.

Till, thanks!

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
... was found, but after printing a test page I have noticed there is an
'usb' process belonging to user 'lp', and this process eats 100% of one
CPU core (almost all is 'system'). Have stopped cups server, killed
'usb' process (doesn't react on sigterm), started CUPS again, queued a
job with few pages - again, eating CPU without terminating after those
pages were printed (at least they were printed :-)).

Must I file a new bug? Or - is it better to report new bug after
official resolution of this one?

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilf
Oh, same here. Not good.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Till Kamppeter
Please report a new bug for the hanging USB backend. Please put a link
to this bug here. You cam also post an upstream bug about this, on
http://www.cups.org/str.php.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
Done here: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/420797

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread ilna
... but failed to register in cups.org. Will anybody more lucky find a
minute to file an appropriate upstream bug with regard to this one?
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/420797

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread Thorsten
I've been having the same problem with a USB-connected Samsung ML-1740
on Kubuntu Karmic w/all recent updates.

Blacklisting usblp and chgrp lp /dev/bus/usb/bus/device helped (I
can now print one document at a time), but after each successful print
job, the job is shown as still pending and 'usb' process sucks 100% CPU
until killed.

Please advise if you need additional help debugging.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 420015] Re: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x

2009-08-28 Thread tlois
Since update to karmic a couple of days ago my brother hl2140 is doing
the same thing- shows in lsusb, but as idle and not waking up when try
to print test page.  it worked before update.  my hpf4440 is still
working.  plugged the brother into my other ubuntu 9.04 laptop and it
worked fine, so not the printer.

tried above, but did not help.

-- 
usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible 
for USB printers to work with CUPS 1.4.x
https://bugs.launchpad.net/bugs/420015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


<    1   2