bug: 420015 title: usblp Kernel module needs to be removed and /dev/bus/usb/*/* made accessible for USB printers to work with CUPS 1.4.x date-reported: Thu, 27 Aug 2009 16:02:34 -0000 date-updated: Mon, 30 Jan 2012 07:42:03 -0000 reporter: NoahY (noahy) duplicate-of: duplicates: 419873 420216 421085 422232 422930 426248 438858 442064 443981 attachments: https://bugs.launchpad.net/bugs/420015/+attachment/684437/+files/troubleshoot.txt text/plain https://bugs.launchpad.net/bugs/420015/+attachment/684438/+files/BootDmesg.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684439/+files/CurrentDmesg.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684440/+files/Dependencies.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684441/+files/Locale.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684442/+files/Lspci.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684443/+files/Lsusb.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684444/+files/PrintingPackages.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684445/+files/ProcCpuinfo.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684446/+files/ProcInterrupts.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684447/+files/ProcModules.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684448/+files/UdevDb.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/684449/+files/UdevLog.txt text/plain; charset="utf-8" https://bugs.launchpad.net/bugs/420015/+attachment/686721/+files/usbOut.txt text/plain https://bugs.launchpad.net/bugs/420015/+attachment/686722/+files/text text/plain https://bugs.launchpad.net/bugs/420015/+attachment/698692/+files/50-udev-default.rules text/plain https://bugs.launchpad.net/bugs/420015/+attachment/784462/+files/printer.txt text/plain https://bugs.launchpad.net/bugs/420015/+attachment/985300/+files/lsusbvvv.txt text/plain patches: tags: amd64 apport-bug regression-release subscribers: ts_petrov (ts-petrov) Florent Mertens (givre) Martin Pitt (pitti) ilf (ilf) Thorsten (kdefan) Eric B (ebischoff) GuyR (guy-rouger) Gianfranco Liporace (dr.kabuto) Brian Harkness (maestro-bwh) Dan Andreșan (danyer) Stroud (stroudcuster-gmail) oh (oystein-homelien) Muharem Hrnjadovic (al-maisan) Markus Mauder (m-mauder) Jeffrey Baker (jwbaker) Fraser Murray (fraserm) Alex Kunitsa (mc-troy) Tim (tim-barlotta) Dušan Miletić (karl3) zob (zob) Paul Cullum (paul-cullum) Yuan Chao (yuanchao) lopatoid (lopatoid) nh2 (nh2) pinzia (pinzia) Manjul Apratim (manzdagratiano) task: cups (Ubuntu) status: Fix Released date-created: Thu, 27 Aug 2009 16:02:34 -0000 date-left-new: Fri, 28 Aug 2009 11:03:18 -0000 date-confirmed: Mon, 30 Jan 2012 07:31:33 -0000 date-triaged: Mon, 30 Jan 2012 07:31:33 -0000 date-inprogress: Mon, 30 Jan 2012 07:31:33 -0000 date-closed: Mon, 30 Jan 2012 07:31:33 -0000 date-fix-committed: Mon, 30 Jan 2012 07:31:33 -0000 date-fix-released: Mon, 30 Jan 2012 07:31:33 -0000 date-left-closed: Thu, 02 Sep 2010 10:18:05 -0000 reporter: NoahY (noahy) importance: High component: main assignee: milestone: task: udev (Ubuntu) status: Fix Released date-created: Fri, 28 Aug 2009 17:26:38 -0000 date-left-new: Fri, 28 Aug 2009 17:27:10 -0000 date-confirmed: Tue, 15 Sep 2009 11:47:42 -0000 date-triaged: Tue, 15 Sep 2009 11:47:42 -0000 date-assigned: Tue, 01 Sep 2009 10:42:16 -0000 date-inprogress: Thu, 08 Oct 2009 14:43:15 -0000 date-closed: Thu, 08 Oct 2009 14:43:15 -0000 date-fix-committed: Thu, 08 Oct 2009 14:43:15 -0000 date-fix-released: Thu, 08 Oct 2009 14:43:15 -0000 date-left-closed: Tue, 06 Oct 2009 18:32:00 -0000 reporter: Till Kamppeter (till-kamppeter) importance: Wishlist component: main assignee: Martin Pitt (pitti) milestone: ubuntu-9.10 task: cups (Ubuntu Karmic) status: Fix Released date-created: Mon, 31 Aug 2009 14:50:34 -0000 date-left-new: Fri, 28 Aug 2009 11:03:18 -0000 date-confirmed: Fri, 28 Aug 2009 11:03:18 -0000 date-triaged: Tue, 29 Sep 2009 18:20:44 -0000 date-inprogress: Tue, 29 Sep 2009 18:20:44 -0000 date-closed: Fri, 02 Oct 2009 08:48:41 -0000 date-fix-committed: Tue, 29 Sep 2009 18:20:44 -0000 date-fix-released: Fri, 02 Oct 2009 08:48:41 -0000 date-left-closed: Tue, 29 Sep 2009 00:57:01 -0000 reporter: Martin Pitt (pitti) importance: High assignee: milestone: task: udev (Ubuntu Karmic) status: Fix Released date-created: Mon, 31 Aug 2009 14:50:34 -0000 date-left-new: Fri, 28 Aug 2009 17:27:10 -0000 date-confirmed: Tue, 15 Sep 2009 11:47:42 -0000 date-triaged: Tue, 15 Sep 2009 11:47:42 -0000 date-inprogress: Thu, 08 Oct 2009 14:43:15 -0000 date-closed: Thu, 08 Oct 2009 14:43:15 -0000 date-fix-committed: Thu, 08 Oct 2009 14:43:15 -0000 date-fix-released: Thu, 08 Oct 2009 14:43:15 -0000 date-left-closed: Tue, 06 Oct 2009 18:32:00 -0000 reporter: Martin Pitt (pitti) importance: Wishlist assignee: milestone: ubuntu-9.10 Content-Type: multipart/mixed; boundary="===============0883391835198493768==" MIME-Version: 1.0 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Binary package hint: cups As of updates this morning, my local USB connected Epson Stylus C66 is no longer found by Ubuntu Karmic Alpha. It worked before, and the driver was still installed, but even when plugged in: $ lsusb ... Bus 008 Device 003: ID 04b8:0005 Seiko Epson Corp. Stylus D88+ ... I was told that the printer is offline or disconnected. I deleted the printer from System>Adminstration>Printing, then searched for it, and it was not found. Enclosed is the troubleshooting info. To reproduce, just plug in the local printer, turn it on, then try to add a new printer in System>Adminstration>Printing (actually, if I remember correctly, it should be recognized automatically once it is plugged in and turned on). ProblemType: Bug Architecture: amd64 CupsErrorLog: E [27/Aug/2009:08:43:10 -0700] [cups-driverd] Skipping "/usr/share/ppd/1-l= ocal-admin": loop detected! E [27/Aug/2009:08:45:41 -0700] Unable to remove temporary file "/var/spool= /cups/tmp/.hplip" - Is a directory E [27/Aug/2009:08:47:06 -0700] [cups-driverd] Skipping "/usr/share/ppd/1-l= ocal-admin": loop detected! E [27/Aug/2009:08:48:10 -0700] [cups-driverd] Skipping "/usr/share/ppd/1-l= ocal-admin": loop detected! E [27/Aug/2009:08:48:38 -0700] [cups-driverd] Skipping "/usr/share/ppd/1-l= ocal-admin": loop detected! Date: Thu Aug 27 08:57:16 2009 DistroRelease: Ubuntu 9.10 Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No= destinations added. MachineType: Acer Aspire 6930G NonfreeKernelModules: nvidia Package: cups 1.4.0~svn8773-1 Papersize: letter PccardctlIdent: =20 PccardctlStatus: =20 ProcCmdLine: BOOT_IMAGE=3D/boot/vmlinuz-2.6.31-7-generic root=3DUUID=3Da301= 128a-e5ba-44c8-9b56-6f991b3979b3 ro quiet splash ProcEnviron: PATH=3D(custom, user) LANG=3Den_US.UTF-8 SHELL=3D/bin/bash ProcVersionSignature: Ubuntu 2.6.31-7.27-generic SourcePackage: cups Uname: Linux 2.6.31-7-generic x86_64 dmi.bios.date: 09/25/2008 dmi.bios.vendor: Acer dmi.bios.version: v0.3204 dmi.board.name: Makalu dmi.board.vendor: Acer dmi.board.version: Not Applicable dmi.chassis.type: 1 dmi.chassis.vendor: Acer dmi.chassis.version: N/A dmi.modalias: dmi:bvnAcer:bvrv0.3204:bd09/25/2008:svnAcer:pnAspire6930G:pvr= NotApplicable:rvnAcer:rnMakalu:rvrNotApplicable:cvnAcer:ct1:cvrN/A: dmi.product.name: Aspire 6930G dmi.product.version: Not Applicable dmi.sys.vendor: Acer --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Thu, 27 Aug 2009 16:02:34 -0000 Message-Id: <20090827160236.4104.63682.malone@gangotri.canonical.com> --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 00:26:28 -0000 Message-Id: <20090828002628.31083.6746.malone@gandwana.canonical.com> I wonder if this is the same as: https://bugzilla.redhat.com/show_bug.cgi?id=3D514244 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 00:29:49 -0000 Message-Id: <20090828002949.1875.73993.malone@potassium.ubuntu.com> Here's what I get when I plug the printer in: $ dmesg ... [ 5441.420591] usb 8-2: new full speed USB device using uhci_hcd and addres= s 3 [ 5441.598336] usb 8-2: configuration #1 chosen from 1 choice [ 5441.607247] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 v= id 0x04B8 pid 0x0005 [ 5442.782444] type=3D1503 audit(1251419314.664:14): operation=3D"open" pid= =3D7836 parent=3D7833 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" de= nied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 00:35:41 -0000 Message-Id: <20090828003541.31083.65756.malone@gandwana.canonical.com> Here's more from the debug log after plugging the printer in: Aug 27 17:28:33 my-desktop udev-configure-printer: add /devices/pci0000:00/= 0000:00:1d.2/usb8/8-2/8-2:1.0 Aug 27 17:28:33 my-desktop udev-configure-printer: parent devpath is /devic= es/pci0000:00/0000:00:1d.2/usb8/8-2 Aug 27 17:28:33 my-desktop udev-configure-printer: Device vendor/product is= 04B8:0005 Aug 27 17:28:33 my-desktop udev-configure-printer: add /devices/pci0000:00/= 0000:00:1d.2/usb8/8-2/8-2:1.0/usb/lp0 Aug 27 17:28:33 my-desktop udev-configure-printer: failed to claim interface Aug 27 17:28:33 my-desktop udev-configure-printer: parent devpath is /devic= es/pci0000:00/0000:00:1d.2/usb8/8-2 Aug 27 17:28:33 my-desktop udev-configure-printer: MFG:EPSON MDL:Stylus C66= SERN:- serial:L57040505130842230 Aug 27 17:32:32 my-desktop udev-configure-printer: remove /devices/pci0000:= 00/0000:00:1d.2/usb8/8-2 Aug 27 17:32:35 my-desktop udev-configure-printer: add /devices/pci0000:00/= 0000:00:1d.2/usb8/8-2/8-2:1.0 Aug 27 17:32:35 my-desktop udev-configure-printer: add /devices/pci0000:00/= 0000:00:1d.2/usb8/8-2/8-2:1.0/usb/lp0 Aug 27 17:32:35 my-desktop udev-configure-printer: parent devpath is /devic= es/pci0000:00/0000:00:1d.2/usb8/8-2 Aug 27 17:32:35 my-desktop udev-configure-printer: Device vendor/product is= 04B8:0005 Aug 27 17:32:35 my-desktop udev-configure-printer: failed to claim interface Aug 27 17:32:35 my-desktop udev-configure-printer: parent devpath is /devic= es/pci0000:00/0000:00:1d.2/usb8/8-2 Aug 27 17:32:35 my-desktop udev-configure-printer: MFG:EPSON MDL:Stylus C66= SERN:- serial:L57040505130842230 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 11:03:06 -0000 Message-Id: <20090828110306.27030.23011.malone@palladium.canonical.com> This is due to the changes of the new CUPS 1.4.0 in Karmic. The problem is caused by a new USB CUPS backend. For this backend the "usblp" kernel module must be unloaded. Edit /etc//etc/modprobe.d/blacklist.conf adding a line blacklist usblp and then run the command sudo rmmod usblp Now CUPS should see your USB printers again. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 11:59:14 -0000 Message-Id: <20090828115914.979.59369.malone@potassium.ubuntu.com> In addition to removing the kernel module, the CUPS "usb" backend needs full access to the /dev/bus/usb/*/* files to get fully functional. The settings in /etc/apparmor.d/usr.sbin.cupsd need to get adapted. Currently, I get audit messages like that in /var/log/syslog: Aug 28 13:49:51 till-laptop kernel: [330386.770396] type=3D1502 audit(12514= 60191.621:2380): operation=3D"open" pid=3D3873 parent=3D3871 profile=3D"/us= r/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0= name=3D"/dev/bus/usb/" Aug 28 13:49:51 till-laptop kernel: [330386.770437] type=3D1502 audit(12514= 60191.621:2381): operation=3D"file_perm" pid=3D3873 parent=3D3871 profile= =3D"/usr/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 o= uid=3D0 name=3D"/dev/bus/usb/" Aug 28 13:49:51 till-laptop kernel: [330386.770489] type=3D1502 audit(12514= 60191.621:2382): operation=3D"open" pid=3D3873 parent=3D3871 profile=3D"/us= r/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0= name=3D"/dev/bus/usb/" Aug 28 13:49:51 till-laptop kernel: [330386.770510] type=3D1502 audit(12514= 60191.621:2383): operation=3D"file_perm" pid=3D3873 parent=3D3871 profile= =3D"/usr/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 o= uid=3D0 name=3D"/dev/bus/usb/" Aug 28 13:49:51 till-laptop kernel: [330386.770567] type=3D1502 audit(12514= 60191.621:2384): operation=3D"file_perm" pid=3D3873 parent=3D3871 profile= =3D"/usr/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 o= uid=3D0 name=3D"/dev/bus/usb/" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 15:27:18 -0000 Message-Id: <20090828152718.1875.9906.malone@potassium.ubuntu.com> @Till - Thanks! Not that it works yet, but at least someone who knows what's going on has taken interest :) Confirmed, after rmmod, I get a new message after the old ones: type=3D1503 audit(1251473058.025:14): operation=3D"open" pid=3D4700 parent=3D4696 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 15:29:10 -0000 Message-Id: <20090828152910.4104.44770.malone@gangotri.canonical.com> Oh wait, no, that message was there before... I don't see a difference, then. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 15:42:41 -0000 Message-Id: <20090828154241.26952.34497.malone@gandwana.canonical.com> As long as the AppArmor configuration for CUPS is not fixed yet, please run the command line sudo aa-complain cupsd and USB printing should work again. As soon as a fixed CUPS package is there, return to the default mode via sudo aa-enforce cupsd --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 15:49:48 -0000 Message-Id: <20090828154949.4266.16055.malone@gangotri.canonical.com> Thanks, I must be doing something wrong... now I get all the messages you printed out above: [ 2014.320739] type=3D1502 audit(1251474493.201:17): operation=3D"open" pid= =3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" de= nied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" [ 2014.320789] type=3D1502 audit(1251474493.201:18): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" [ 2014.320849] type=3D1502 audit(1251474493.201:19): operation=3D"open" pid= =3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" de= nied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" [ 2014.320873] type=3D1502 audit(1251474493.201:20): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" [ 2014.320965] type=3D1502 audit(1251474493.201:21): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/" [ 2014.321076] type=3D1502 audit(1251474493.205:22): operation=3D"open" pid= =3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" de= nied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/008/" [ 2014.321101] type=3D1502 audit(1251474493.205:23): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/008/" [ 2014.321165] type=3D1502 audit(1251474493.205:24): operation=3D"open" pid= =3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::r" de= nied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/008/005" [ 2014.321217] type=3D1502 audit(1251474493.205:25): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/008/005" [ 2014.321252] type=3D1502 audit(1251474493.205:26): operation=3D"file_perm= " pid=3D5401 parent=3D5397 profile=3D"/usr/sbin/cupsd" requested_mask=3D"::= r" denied_mask=3D"::r" fsuid=3D7 ouid=3D0 name=3D"/dev/bus/usb/008/005" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 16:06:10 -0000 Message-Id: <20090828160610.4104.92499.malone@gangotri.canonical.com> Have removed usblp module, also removed cupsd from apparmor, restarted cups - still a printer isn't visible by cups. Which additional info must I supply? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 16:12:19 -0000 Message-Id: <20090828161219.20978.83609.malone@palladium.canonical.com> same here... still no printer. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 16:23:20 -0000 Message-Id: <20090828162320.26952.26617.malone@gandwana.canonical.com> Can you all post the output of the following commands: /usr/lib/cups/backend/usb ls -l /dev/bus/usb/*/* lsusb lsusb -vvv --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 16:54:28 -0000 Message-Id: <20090828165429.20978.69347.malone@palladium.canonical.com> Till, Attached. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 16:56:11 -0000 Message-Id: <20090828165611.4104.84308.malone@gangotri.canonical.com> Thanks again for taking time with this... Some commands gave errors as a normal user, so I've included both with and without "sudo", though I imagine you only need the ones using "sudo"... --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 16:57:43 -0000 Message-Id: <20090828165744.4104.70018.malone@gangotri.canonical.com> Hmm... this looks interesting: $ /usr/lib/cups/backend/usb DEBUG: list_devices DEBUG: usb_find_busses=3D8 DEBUG: usb_find_devices=3D12 DEBUG: Failed to set configuration 1 for 04b8:0005 DEBUG: Failed to claim interface 0 for 04b8:0005: Operation not permitted $ sudo /usr/lib/cups/backend/usb DEBUG: list_devices DEBUG: usb_find_busses=3D8 DEBUG: usb_find_devices=3D12 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 17:26:11 -0000 Message-Id: <20090828172611.26952.76954.malone@gandwana.canonical.com> 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. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 17:26:54 -0000 Message-Id: <20090828172654.31218.31056.malone@gandwana.canonical.com> At my case I have not found any differences with and without 'sudo'. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 17:40:11 -0000 Message-Id: <20090828174012.4104.5885.malone@gangotri.canonical.com> Till, At my case, as I can understand, USB backend does see the printer (and can not find it). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 18:15:41 -0000 Message-Id: <20090828181542.26952.94549.malone@gandwana.canonical.com> 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// sudo chmod 664 /dev/bus/usb// with and being padded with zeros to be always of 3 digits (8 -> 008, 11 -> 011, ...). Example: till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ lsusb Bus 002 Device 029: ID 03f0:1c02 Hewlett-Packard PhotoSmart A710 series till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chgrp lp /dev/bus/usb= /002/029 till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chmod 664 /dev/bus/us= b/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). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 18:17:43 -0000 Message-Id: <20090828181744.4104.77055.malone@gangotri.canonical.com> 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 System>Administration>Printing. Any workaround while we're waiting for updates? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 18:22:12 -0000 Message-Id: <20090828182212.4266.86901.malone@gangotri.canonical.com> Ah, sorry, I posted before seeing post 20. Yay... it works here! Test page printed successfully. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 18:41:12 -0000 Message-Id: <20090828184112.979.68678.malone@potassium.ubuntu.com> 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. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 18:59:28 -0000 Message-Id: <20090828185929.1739.34790.malone@potassium.ubuntu.com> 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). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Fri, 28 Aug 2009 19:14:26 -0000 Message-Id: <20090828191426.4104.81048.malone@gangotri.canonical.com> @ilna, did you issue all of the following commands? $ sudo rmmod usblp $ sudo aa-complain cupsd $ sudo chgrp lp /dev/bus/usb// $ sudo chmod 664 /dev/bus/usb// and then add the printer manually through System>Administration>Printing>CTRL+N --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 19:31:14 -0000 Message-Id: <20090828193114.20978.49762.malone@palladium.canonical.com> 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). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 19:33:01 -0000 Message-Id: <20090828193302.1739.67501.malone@potassium.ubuntu.com> Sorry, typo. "as well as CUPS web admin backend" muts be read as "as well as CUPS web admin frontend" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilf (ilf) Date: Fri, 28 Aug 2009 19:46:52 -0000 Message-Id: <20090828194652.31083.54970.malone@gandwana.canonical.com> Works for me (HP LaserJet 1000). Thanks! --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Florent Mertens (givre) Date: Fri, 28 Aug 2009 19:47:48 -0000 Message-Id: <1251488868.3734.1.camel@flo-laptop> Le vendredi 28 ao=C3=BBt 2009 =C3=A0 19:31 +0000, ilna a =C3=A9crit : > Till, >=20 > $ sudo lsmod | grep usb > usbhid 44000 0 >=20 > $ sudo aa-status > apparmor module is loaded. > 11 profiles are loaded. > ... > 1 processes are in complain mode. > /usr/sbin/cupsd (13621) >=20 > $ lsusb | grep Kyocera > Bus 005 Device 002: ID 0482:0015 Kyocera Corp. >=20 > $ 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// >=20 > 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). > --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 20:00:56 -0000 Message-Id: <20090828200056.4266.91571.malone@gangotri.canonical.com> Ugh.. My fault, sorry... With 664 the printer was found. Till, thanks! --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 20:21:01 -0000 Message-Id: <20090828202101.20841.61532.malone@palladium.canonical.com> ... 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? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilf (ilf) Date: Fri, 28 Aug 2009 20:59:32 -0000 Message-Id: <20090828205934.4266.66636.malone@gangotri.canonical.com> Oh, same here. Not good. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 28 Aug 2009 21:19:18 -0000 Message-Id: <20090828211918.27030.9464.malone@palladium.canonical.com> 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. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 21:49:45 -0000 Message-Id: <20090828214945.31218.20278.malone@gandwana.canonical.com> Done here: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/420797 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Fri, 28 Aug 2009 22:16:01 -0000 Message-Id: <20090828221601.31218.69162.malone@gandwana.canonical.com> ... 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 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Thorsten (kdefan) Date: Fri, 28 Aug 2009 22:47:31 -0000 Message-Id: <20090828224731.4104.10287.malone@gangotri.canonical.com> 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//" 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. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: tlois (tlois3) Date: Sat, 29 Aug 2009 03:49:04 -0000 Message-Id: <20090829034904.8171.41640.malone@potassium.ubuntu.com> 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. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Eric B (ebischoff) Date: Sat, 29 Aug 2009 15:14:06 -0000 Message-Id: <20090829151406.8034.70014.malone@potassium.ubuntu.com> Same here. My printer was working fine before I upgraded to karmic, then stopped working after the distribution update. First, the printer was not seen by CUPS. Solved it by: - blacklisting usblp kernel module - changing group of /dev/bus/usb/00x/00y device - not letting apparmor supervise cupsd operation as adviced here. So I was able to add my printer into cups. But printing a test page does not work. The print job shows up in print queue, but never ends. In the list of processes I see : lp 9520 0.0 0.0 48596 1832 ? S 17:07 0:00 usb://EPSON/Stylus%20DX7000F?serial=3DB05P108062510410&interface=3D1 638 root motd 1 finishings=3D3 media=3Diso_a4_210x297mm number-up=3D1 job- uuid=3Durn:uuid:1f86a76d-d133-3cf5-5dbf-77e34bd688bd job-originating-host- name=3Dlocalhost It does not matter whether in 2.6.28 or 2.6.31 kernel. I hope that helps. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Sat, 29 Aug 2009 15:39:27 -0000 Message-Id: <20090829153927.20841.42163.malone@palladium.canonical.com> Eric, I have noticed after those owner/rights manipulations and detecting a printer last one stays in suspended state. Try to resume it in CUPS web admin frontend. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Eric B (ebischoff) Date: Sat, 29 Aug 2009 15:41:32 -0000 Message-Id: <20090829154132.31218.27846.malone@gandwana.canonical.com> I don't know if this helps, but here is the output of strace poll([{fd=3D0, events=3DPOLLIN}, {fd=3D4, events=3DPOLLIN}], 2, -1) =3D 1 (= [{fd=3D0, revents=3DPOLLHUP}]) (... repeated in infinite loop) and here is output of lsof : COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME usb 9846 lp 4u unix 0xffff88007e521b80 0t0 42632 socket so the "hanging" usb process keeps polling a UNIX domain socket in vain. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Sat, 29 Aug 2009 15:53:11 -0000 Message-Id: <20090829155312.31218.44496.malone@gandwana.canonical.com> There is dedicated bug for usb hanging: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/420797 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Eric B (ebischoff) Date: Sat, 29 Aug 2009 16:05:25 -0000 Message-Id: <20090829160525.31218.17792.malone@gandwana.canonical.com> ilna : killing the print job and resuming the printer does not help. Only killing the process named "usb://EPSON something" helps. The print job disappears from the print queue cleanly then. It really looks like CUPS does not close some socket it is writing on after printing, so the usb process does not terminate, and prevents further printing. I have a workaround that helps me work normally : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D #! /bin/bash /bin/kill -9 $(/bin/ps aux | /bin/grep usb:// | /bin/grep -v grep | /usr/bi= n/awk '{print $2}') =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D and I am running this every minute from a crontab. This is a DANGEROUS AND UGLY hack, not a real solution. Use it at your own risks. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Eric B (ebischoff) Date: Sat, 29 Aug 2009 16:08:52 -0000 Message-Id: <20090829160852.8034.46515.malone@potassium.ubuntu.com> I agree the "usb hanging" bug is a different bug from the "printer not seen by cups" problem described by this issue. I would say the bug described here is basically solved by the three-step method explained above. Therefore I suggest we continue the discussion at https://bugs.launchpad.net/ubuntu/+source/cups/+bug/420797. Thanks ilha for having opened a separate bug report. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: GuyR (guy-rouger) Date: Sat, 29 Aug 2009 18:55:55 -0000 Message-Id: <20090829185555.20841.40376.malone@palladium.canonical.com> Hello all, Same problem with EpsonRX425, I had to do it through lpadmin: lpadmin -p RX425 -P /etc/cups/ppd/Stylus_Photo_RX420.ppd -v /dev/usb/lp0 assuming that I put the pdd file from a backup and followed the advice of t= he command FileDevice dans =C2=AB=C2=A0/etc/cups/cupsd.conf=C2=A0=C2=BB. I add FileDevice=3Dyes :/etc/cups$ cd /etc/modprobe.d=20 :/etc/modprobe.d$ sudo gedit blacklist.conf (do not blacklist usblp) :/etc/modprobe.d$ sudo rmmod usblp=20 :/etc/modprobe.d$ sudo service cups restart=20 * Restarting Common Unix Printing System: cupsd [ = OK ]=20 :/etc/modprobe.d$ lpstat=20 RX425-1 guy 153600 jeu. 27 ao=C3=BBt 2009 12:= 02:35=20 service cups status=20 Status of Common Unix Printing System: cupsd is running. Then my printer is seeing in cups http://localhost:631/ sorry for my bad english, I am french --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Richard Garvin (garvinrick4) Date: Sun, 30 Aug 2009 15:43:04 -0000 Message-Id: <20090830154304.8034.65650.malone@potassium.ubuntu.com> Brother HL-2140 =20 9.10 Karmic Koala Printer did not see USB device since Alpha 4 download Used item #25 and saw USB device and installed driver and printed. Beautiful fix and Thank You. Truthiswithin --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Harkness (maestro-bwh) Date: Mon, 31 Aug 2009 01:09:35 -0000 Message-Id: <20090831010935.6391.73548.malone@gangotri.canonical.com> konica-minolta pagepro 1350 Generally works with the min12xxw driver. following the steps leads to my printer being seen, but it will only fire off 1 test page: Must be the usb hanging issue after the first one is solved? Oddly, even after a hard boot, the printer still will not print one more thing. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Mon, 31 Aug 2009 14:49:08 -0000 Message-Id: <20090831144908.5646.15048.malone@palladium.canonical.com> Till, I'm not sure how reliable it is to create udev rules which provide access for lp to raw USB devices. Shouldn't we rather install /usr/lib/cups/backend-available/usb as 0711, so that it runs as root? I'll do that, unless you have an objection. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Mon, 31 Aug 2009 15:19:51 -0000 Message-Id: <20090831151951.6231.17622.malone@potassium.ubuntu.com> All tree fixes committed to cups bzr now. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Mon, 31 Aug 2009 15:31:57 -0000 Message-Id: <20090831153158.1374.20171.malone@gangotri.canonical.com> OK, so it would be nice if /dev/bus/usb/* would be owned by group lp, then we could have the backend run as user lp again, instead of root. Could folks please try whether this rule makes the printer device owned by root:lp ? ACTION=3D=3D"add", SUBSYSTEM=3D=3D"usb", ATTR{bInterfaceClass}=3D=3D"07", ATTR{bInterfaceSubClass}=3D=3D"01", GROUP=3D"lp", MODE=3D"660" (add it to e. g. /etc/udev/rules.d/cups.rules) --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Mon, 31 Aug 2009 15:45:01 -0000 Message-Id: <20090831154502.6231.75064.malone@potassium.ubuntu.com> In fact, it needs to run later than 50-udev-default.rules, so try adding the rule to /etc/udev/rules.d/70-cups.rules And it should look like this: ACTION=3D=3D"add", SUBSYSTEM=3D=3D"usb", ENV{DEVTYPE}=3D=3D"usb_device", ATTR{bInterfaceClass}=3D=3D"07", ATTR{bInterfaceSubClass}=3D=3D"01", GROUP= =3D"lp", MODE=3D"660" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Mon, 31 Aug 2009 16:00:06 -0000 Message-Id: <20090831160015.702.44342.malone@cocoplum.canonical.com> This bug was fixed in the package cups - 1.4.0-2 --------------- cups (1.4.0-2) experimental; urgency=3Dlow * Add debian/blacklist-cups.conf: Blacklist the usblp module, it's obsole= te. CUPS uses libusb directly now. (LP: #420015, part 1) * debian/local/apparmor-profile: Allow cupsd to access /dev/bus/usb/. (LP: #420015, part 2) * debian/rules: Make the usb backend run as root, since /dev/bus/usb/* are root:root, and cups does not use the usblp kernel module any more. (LP: #420015, part 3) * disable-pdftoopvp-with-old-poppler.dpatch: Update. -- Martin Pitt Mon, 31 Aug 2009 17:34:48 +0200 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Mon, 31 Aug 2009 16:46:15 -0000 Message-Id: <20090831164615.5585.1884.malone@palladium.canonical.com> The deb package failed to build... I tried adding the rule and restarting cups; no change. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Tue, 01 Sep 2009 10:34:48 -0000 Message-Id: <20090901103448.11149.81148.malone@palladium.canonical.com> Sorry, the previous rule can't work, since we need the device, not the interface. Please try this instead: ACTION=3D=3D"add", SUBSYSTEM=3D=3D"usb", ENV{DEVTYPE}=3D=3D"usb_device", ID_USB_INTERFACES=3D":0701*:", GROUP=3D"lp", MODE=3D"660" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Tue, 01 Sep 2009 10:41:41 -0000 Message-Id: <20090901104141.8518.81273.malone@potassium.ubuntu.com> This rule works perfectly for me with the HP DesignJet 130nr. Note that this model is not supported by HPLIP and so no HPLIP udev rules apply. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Tue, 01 Sep 2009 10:42:15 -0000 Message-Id: <20090901104216.2352.68148.malone@gangotri.canonical.com> This was confirmed to work. I'll discuss that with Kay first, and apply to udev upstream as appropriate. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Tue, 01 Sep 2009 10:42:42 -0000 Message-Id: <20090901104243.8518.31572.malone@potassium.ubuntu.com> Not a karmic blocker, closing release task and using floating task. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NeverMind (agathe-durieux) Date: Tue, 01 Sep 2009 13:22:38 -0000 Message-Id: <20090901132238.10257.29407.malone@gandwana.canonical.com> Fixed for my Brother MFC-620CN Thank ! --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Tue, 01 Sep 2009 16:57:20 -0000 Message-Id: <20090901165720.29391.89500.malone@gangotri.canonical.com> So why doesn't it work for me yet? Fully updated, still no printer, unless I use the workaround. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Tue, 01 Sep 2009 17:01:46 -0000 Message-Id: <20090901170147.3492.68800.malone@potassium.ubuntu.com> oh, wait, I've got a bigger problem... now lsusb gives no output unless I sudo lsusb... here's dmesg when I insert the printer: [ 1082.568088] usb 8-2: new full speed USB device using uhci_hcd and addres= s 4 [ 1082.742064] usb 8-2: configuration #1 chosen from 1 choice [ 1082.751968] usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 v= id 0x04B8 pid 0x0005 [ 1083.993956] type=3D1503 audit(1251824472.876:43): operation=3D"open" pid= =3D10752 parent=3D10748 profile=3D"/usr/sbin/cupsd" requested_mask=3D"r::" = denied_mask=3D"r::" fsuid=3D0 ouid=3D0 name=3D"/dev/bus/usb/" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Tue, 01 Sep 2009 17:04:17 -0000 Message-Id: <20090901170418.1568.57954.malone@gandwana.canonical.com> Once I run sudo chgrp lp /dev/bus/usb/008/004 sudo chmod 664 /dev/bus/usb/008/004 then lsusb gives the following output: Bus 008 Device 004: ID 04b8:0005 Seiko Epson Corp. Stylus D88+ whereas sudo lsusb gives: Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 004: ID 04b8:0005 Seiko Epson Corp. Stylus D88+ Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 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 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage D= evice Bus 001 Device 003: ID 064e:a103 Suyin Corp.=20 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub (which is what lsusb used to give...) --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Tue, 01 Sep 2009 18:16:52 -0000 Message-Id: <20090901181652.8239.99096.malone@palladium.canonical.com> For me the problem isn't resolve (cups 1.4.03 is installed now) - now even after chgrp/chmod new printer can not be found: $ sudo lsusb | grep Kyo Bus 005 Device 002: ID 0482:0015 Kyocera Corp. $ sudo ls -l /dev/bus/usb/005/002 crw-rw-r-- 1 root lp 189, 513 2009-09-01 22:11 /dev/bus/usb/005/002 $ sudo lsmod | grep usb usbhid 44000 0 $ sudo /etc/init.d/cups restart * Restarting Common Unix Printing System: cupsd=20 ... and now "Find New Printers" in CUPS admin - "No printers found". --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Dan_Andre=C8=99an_=28danyer=29?= Date: Wed, 02 Sep 2009 07:14:10 -0000 Message-Id: <20090902071410.29391.92291.malone@gangotri.canonical.com> @ilna, cups runs as root now, so no need to make the printer owned by lp group, I guess. For me, it kind of works but not quite: the printer it is not detected. If I replace /etc/cups/printers.conf with the old one (where I had the prin= ter configured) and restart cups, then it appears in the list of printers, = I can modify it, save default options, etc. I did not try to print. You might want to try my /etc/cups/printers.conf, adjust it to your needs. For people thinking this bug is fixed: remove the printer and try to detect it again. It is not detected here. root@shuttle:/etc/cups# cat /etc/cups/printers.conf # Printer configuration file for CUPS v1.4.0 # Written by cupsd on 2009-09-02 10:05 Info Kyocera FS-1030D Location shuttle MakeModel Kyocera FS-1030D DeviceURI usb://Kyocera/FS-1030D State Idle StateTime 1251696880 Type 8425556 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-command 0 commandtops Filter application/vnd.cups-postscript 0 - Accepting Yes Shared No JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Wed, 02 Sep 2009 07:58:00 -0000 Message-Id: <20090902075800.22107.83080.malone@palladium.canonical.com> I did another test and it seems that in CUPS 1.4.0-3 the USB backend still conflicts with AppArmor. Please run sudo aa-complain cupsd for the time being. Please report here whether USB printing works for you then, for us to know whether the other changes are working correctly. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Wed, 02 Sep 2009 08:38:11 -0000 Message-Id: <20090902083811.16004.98354.malone@potassium.ubuntu.com> Please add the line /dev/bus/usb/ r, to the /usr/sbin/cupsd section of /etc/apparmor.d/usr.sbin.cupsd. Very important is the slash in the end of /dev/bus/usb/. After that restart AppArmor with sudo /etc/init.d/apparmor reload and return CUPS into enforce mode: sudo aa-enforce cupsd USB printing should now work correctly. I have committed this fix to the Debian BZR repository of CUPS. Will be part of the next CUPS package. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Wed, 02 Sep 2009 09:10:24 -0000 Message-Id: <20090902091024.20252.73747.malone@potassium.ubuntu.com> Till, the string /dev/bus/usb/ r, helped to find a printer (but bug 420797 still exists). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilf (ilf) Date: Wed, 02 Sep 2009 09:26:05 -0000 Message-Id: <20090902092605.29325.96267.malone@gangotri.canonical.com> Thanks. With the new line in /etc/apparmor.d/usr.sbin.cupsd my printer is seen by CUPS. Yet, when printing a job, nothing is printed. Only a 100% CPU process "usb" owned by "root" is active. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilna (a-gaydenko) Date: Wed, 02 Sep 2009 10:01:17 -0000 Message-Id: <20090902100117.1634.47635.malone@gandwana.canonical.com> ilf , See bug 420797. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Wed, 02 Sep 2009 15:05:06 -0000 Message-Id: <20090902150514.640.56073.malone@cocoplum.canonical.com> This bug was fixed in the package cups - 1.4.0-3.1 --------------- cups (1.4.0-3.1) karmic; urgency=3Dlow Urgent bzr head upload to karmic to unbreak printing for Alpha-5. [ Till Kamppeter ] * debian/patches/usb-backend-infinite-loop-on-end-of-job.dpatch: Fixed the patch so that the usb backend really terminates after a job (LP: #42079= 7). * debian/local/apparmor-profile: cupsd needs also to be allowed to read the /dev/bus/usb/ directory, given with the "/" in the end. This should finally fix LP: #420015. [ Martin Pitt ] * debian/control: Drop the transitional cupsys packages. * printer-filtering.dpatch: Fix sometimes overzealous filtering, thanks to St=C3=A9phane Graber! * debian/rules: Drop autoconf call on build again, we have a proper upstr= eam release. -- Martin Pitt Wed, 02 Sep 2009 17:01:51 +0200 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Wed, 02 Sep 2009 15:16:52 -0000 Message-Id: <20090902151653.20252.10188.malone@potassium.ubuntu.com> not fixed here... added the string to apparmor, restart apparmor, now even the workaround doesn't work... and why can't I see my usb devices by just running lsusb all of a sudden? now I need to be root to see them. Anyway, here's dmesg: [ 879.056259] usb 8-2: new full speed USB device using uhci_hcd and addres= s 5 [ 879.234868] usb 8-2: configuration #1 chosen from 1 choice [ 880.463416] type=3D1503 audit(1251904396.308:197): operation=3D"open" pi= d=3D5409 parent=3D5405 profile=3D"/usr/sbin/cupsd" requested_mask=3D"r::" d= enied_mask=3D"r::" fsuid=3D0 ouid=3D0 name=3D"/dev/bus/usb/" And the Admin>Printing says the printer is "unplugged or turned off" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Wed, 02 Sep 2009 15:30:45 -0000 Message-Id: <20090902153045.1634.92874.malone@gandwana.canonical.com> okay, I had to delete the old instance of the printer, then let it find the printer again. And I added the apparmor line to the wrong place... silly me. Now I can verify that adding the line to apparmor makes everything okay in this bug. The only thing left for me is the usb process at 100%, which I see is fixed in the latest cups. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Wed, 02 Sep 2009 15:47:25 -0000 Message-Id: <20090902154725.26099.76350.malone@palladium.canonical.com> Installed cups 1.4.0-3.1 Deleted the old printer Set sudo aa-enforce cupsd Plugged printer in Printer found Print test page Printed successfully No residual usb service eating CPU Looks like everything is fixed from this end. Thanks people, your work is appreciated :) --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Roland Hughes (original-seasoned-geek) Date: Wed, 02 Sep 2009 16:27:41 -0000 Message-Id: <200909021127.41816.roland@logikalsolutions.com> The only real fix is to switch to either Parallel or Network printers. Thi= s=20 USB stuff is a looooooong way from being sorted out. Just wait until they = try=20 to get the USB KVM switches working again. They worked with all prior=20 versions, but are a paperweight now. On Wednesday 02 September 2009 10:16:52 am Truthiswithin wrote: > not fixed here... added the string to apparmor, restart apparmor, now > even the workaround doesn't work... and why can't I see my usb devices > by just running lsusb all of a sudden? now I need to be root to see > them. Anyway, here's dmesg: >=20 > [ 879.056259] usb 8-2: new full speed USB device using uhci_hcd and > address 5 [ 879.234868] usb 8-2: configuration #1 chosen from 1 choice > [ 880.463416] type=3D1503 audit(1251904396.308:197): operation=3D"open" > pid=3D5409 parent=3D5405 profile=3D"/usr/sbin/cupsd" requested_mask=3D"r= ::" > denied_mask=3D"r::" fsuid=3D0 ouid=3D0 name=3D"/dev/bus/usb/" >=20 > And the Admin>Printing says the printer is "unplugged or turned off" >=20 --=20 Roland Hughes, President Logikal Solutions (630)-205-1593 (cell) http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.logikalsolutions.com --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: NoahY (noahy) Date: Wed, 02 Sep 2009 17:06:32 -0000 Message-Id: <20090902170632.1634.77003.malone@gandwana.canonical.com> parallel port on a notebook? or what, buy a network adapter for my usb printer? Haven't a clue what KVM is, but my printer is working fine now. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Fri, 04 Sep 2009 14:45:07 -0000 Message-Id: <20090904144508.19794.76106.malone@potassium.ubuntu.com> Till, I confirmed that with Kay, I'm good to add the new rule. However, I did another typo. Can you please remove the local rules file you did for this, and replace /lib/udev/rules.d/50-udev-default.rules with the one I attached? Does it still work okay? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Fri, 04 Sep 2009 15:09:41 -0000 Message-Id: <20090904150941.9656.8480.malone@gangotri.canonical.com> Pitti, I have checked it now and it works (I have also set the permissions of the usb backend back to 755). We can go this way. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Fri, 04 Sep 2009 15:16:42 -0000 Message-Id: <20090904151642.32211.91609.malone@palladium.canonical.com> http://git.kernel.org/?p=3Dlinux/hotplug/udev.git;a=3Dcommit;h=3Df61e72d897= 3cf9d889a4f1233150870085c0b3e1 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: JPSanchez (pediatracancun) Date: Tue, 08 Sep 2009 00:27:11 -0000 Message-Id: <20090908002712.27294.67282.malone@potassium.ubuntu.com> I just installed Karmic AMD64. Initially my Samsung ML-2240 printer was det= ected and installed. After updating Karmic, I wasn't unable to start the pr= inter. Although it was detected using lsusb, the printer configuration didn= ' t find any USB printer. After reading, and trying, and more reading and trying, finally using your = suggestion # 5, I succeeded in installing it. Samsung ML-2240 is not included in the drivers list, so I installed it as a= n ML-2250 and configured it like Samsung ML-2250 Foomatic/gd Hope this helps to other users. Best regards, Juan Pedro Sanchez. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Tue, 08 Sep 2009 09:18:21 -0000 Message-Id: <20090908091821.23968.37899.malone@potassium.ubuntu.com> Problem was probably that the simple update of your system did not unload the "usblp" kernel module. For a missing entry in the list of printer models, please report a bug on foomatic-db (or directly upstream at http://bugs.linux- foundation.org/, product "OpenPrinting", component "foomatic-db"). --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeffrey Baker (jwbaker) Date: Mon, 14 Sep 2009 01:44:44 -0000 Message-Id: <20090914014444.22678.8060.malone@palladium.canonical.com> Is this really fixed? My 1.4.0-5 cupsd still doesn't see my Epson printer, exactly the same symptoms as the original reporter. I checked and usblp is not loaded. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Tue, 15 Sep 2009 11:47:30 -0000 Message-Id: <20090915114743.3492.45127.malone@cocoplum.canonical.com> This bug was fixed in the package udev - 147~-1 --------------- udev (147~-1) karmic; urgency=3Dlow FFE LP: #427356. * Update to GIT HEAD (pre 147 release): - worker signal mask corrected. LP: #407428. - database format change to avoid path length issues. LP: #377121. - multiple devices may not claim the same /dev names, except with symlinks - NAME=3D"%k" produces a warning - symlinks to udevadm no longer resolve to the original command - rules updates. LP: #281335, LP: #407940, #420015, #426647. * Build-depend on gawk, since build fails with mawk. * Replace init scripts with Upstart jobs. * debian/control: - Add missing ${misc:Depends} - Bump build-dependency on debhelper for Upstart-aware dh_installinit -- Scott James Remnant Tue, 15 Sep 2009 03:22:11 +0100 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Mon, 28 Sep 2009 20:39:54 -0000 Message-Id: <20090928203954.10051.52421.malone@palladium.canonical.com> I have been trying unsuccessfully to install a Canon MP210 usb printer/scan= ner in Ubuntu Karmic (64 bit). I have tried the fixes listed above, but wit= hout success. All I get is an error message "There was an error during the = CUPS operation: 'client-error-not-possible'"=20 lsusb gives:- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 04a9:1721 Canon, Inc. MP210 ser Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 1058:0402 Western Digital Technologies, Inc.=20 Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash C= ard Reader/Writer (Internal/External) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Previously, I was using Ubuntu Jaunty (64 bit) detected the usb printer/scanner and I was able to select the Canon MP220 driver which worked faultlessly. So its back to Ubuntu Jaunty for me! --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Mon, 28 Sep 2009 20:53:43 -0000 Message-Id: <20090928205343.16048.3768.malone@gandwana.canonical.com> Colin, can you attach your /etc/cups/printers.conf file, then remove and re-create your print queue, and after that post your /etc/cups/printers.conf again? Does the new print queue work for you? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Roland Hughes (original-seasoned-geek) Date: Mon, 28 Sep 2009 21:18:54 -0000 Message-Id: <200909281618.54557.roland@logikalsolutions.com> Sounds like he has already bailed on the release. On Monday 28 September 2009 03:53:43 pm Till Kamppeter wrote: > Colin, can you attach your /etc/cups/printers.conf file, then remove and > re-create your print queue, and after that post your > /etc/cups/printers.conf again? Does the new print queue work for you? >=20 --=20 Roland Hughes, President Logikal Solutions (630)-205-1593 (cell) http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.logikalsolutions.com --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Mon, 28 Sep 2009 22:26:00 -0000 Message-Id: <20090928222600.13330.43832.malone@gandwana.canonical.com> No, I haven't bailed out yet! Some more background information. If I run from the installation cd in live mode, I can turn on the printer, and the printer icon appears on the desktop, i can click on to it, it opens the printer selection screen, I select the Canon MP220 Printer/Scanner and it installs perfectly ok. When I repeat the procedure with the installed latest version of Ubuntu Karmic (64 bit) nothing happens, there is no icon, nothing!!! I go to 'System-Administration->Printing' there is no printer icon at all. I select 'New Printer' and it takes me to the 'Select Device' screen. I have confirmed that all Ubuntu updates have been installed. I select 'Other' and enter "hal:///org/freedesktop/Hal/devices/usb_device_4a9_1721_505BD0_if1_printer_= noserial" and try to install the printer manually, but it is obviously not working. I have re-installed Ubuntu Karmic, and have not tried to install the printer manually this time, so at the moment there is no /etc/cups/printers.conf file. Any help in suggesting the way forward would be appreciated. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Tue, 29 Sep 2009 00:13:44 -0000 Message-Id: <20090929001344.17486.6101.malone@potassium.ubuntu.com> I noticed an error in my previous post. It should have read ' .... and the = printer icon appears on the panel' not the desktop. Sorry! --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steven Harms (sharms) Date: Tue, 29 Sep 2009 00:56:42 -0000 Message-Id: <20090929005642.17365.47132.malone@potassium.ubuntu.com> This is not resolved yet. My system: usblp not loaded -- had to run: chgrp lp /dev/bus/usb/001/003=20 chmod 664 /dev/bus/usb/001/003=20 then it works. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Roland Hughes (original-seasoned-geek) Date: Tue, 29 Sep 2009 01:21:08 -0000 Message-Id: <200909282021.08430.roland@logikalsolutions.com> I resolved this issue by hooking up a parallel cable. It was the only way. On Monday 28 September 2009 07:56:42 pm Steven Harms wrote: > This is not resolved yet. >=20 > My system: >=20 > usblp not loaded -- had to run: > chgrp lp /dev/bus/usb/001/003 > chmod 664 /dev/bus/usb/001/003 >=20 > then it works. >=20 > ** Changed in: cups (Ubuntu Karmic) > Status: Fix Released =3D> Confirmed >=20 --=20 Roland Hughes, President Logikal Solutions (630)-205-1593 (cell) http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.logikalsolutions.com --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeffrey Baker (jwbaker) Date: Tue, 29 Sep 2009 01:42:35 -0000 Message-Id: <20090929014235.2497.11931.malone@gangotri.canonical.com> I also re-re-re-confirm that this is still just as busted as ever. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Tue, 29 Sep 2009 07:31:08 -0000 Message-Id: <20090929073108.3899.92318.malone@gangotri.canonical.com> Everyone with problems please run the following shell commands: ls -l /dev/bus/usb/*/* lsusb /usr/lib/cups/filter/usb /usr/lib/cups/filter/hp lpinfo -v lpstat -v lsusb -vvv and post all the output here. Thanks. Note also that there is no "hal" CUPS backend any more. If your printer's URI starts with "hal:" please remove your print queue and create a new one. If you still cannot print after that, run the commands and post the output. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: GuyR (guy-rouger) Date: Tue, 29 Sep 2009 07:51:40 -0000 Message-Id: <20090929075140.2497.12582.malone@gangotri.canonical.com> Hello all, Below my status: lsusb 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 002: ID 04b8:080f Seiko Epson Corp. Stylus Photo RX425 scann= er Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub=20 I declare my printer as it: sudo lpadmin -p RX425 -P /etc/cups/ppd/Stylus_Photo_RX420.ppd -v /dev/usbmo= n3 sudo chgrp lp /dev/bus/usb/003/002 sudo chmod 664 /dev/bus/usb/003/002 At this step no more errors in CUPS error logfile but no output at the pri= nter side! Finally I created a new printer through CUPS http://localhost:631/ (seen as= a RX420 despite it is a RX425???) then deleted the old one (RX425) Set the new one as partaged, enabled and default one And all is working now! I still do not understood why, but it is ok for me as I am not an expert lpstat -t le programmateur s=E2=80=99ex=C3=A9cute destination syst=C3=A8me par d=C3=A9faut : EPSON_Stylus_Photo_RX420 p=C3=A9riph=C3=A9rique pour EPSON_Stylus_Photo_RX420 : usb://EPSON/Stylus%2= 0Photo%20RX420?serial=3DLJ2030412222119500&i nterface=3D1 EPSON_Stylus_Photo_RX420 acceptant des requ=C3=AAtes depuis lun. 28 sept. 2= 009 18:21:33 CEST l=E2=80=99imprimante EPSON_Stylus_Photo_RX420 est inactive, mais activ=C3= =A9e depuis lun. 28 sept. 2009 18:21:33 CEST Finished page 1... --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Tue, 29 Sep 2009 08:18:40 -0000 Message-Id: <20090929081840.10051.57091.malone@palladium.canonical.com> As requested, I have runthe commands ls -l /dev/bus/usb/*/* lsusb /usr/lib/cups/filter/usb /usr/lib/cups/filter/hp lpinfo -v lpstat -v lsusb -vvv and these are the output. Still can't get my printer recognised. colin@colin-desktop:~$ ls -l /dev/bus/usb/*/* crw-rw-r-- 1 root root 189, 0 2009-09-29 08:46 /dev/bus/usb/001/001 crw-rw-r-- 1 root root 189, 2 2009-09-29 08:46 /dev/bus/usb/001/003 crw-rw-r-- 1 root root 189, 3 2009-09-29 08:56 /dev/bus/usb/001/004 crw-rw-r-- 1 root root 189, 128 2009-09-29 08:46 /dev/bus/usb/002/001 crw-rw-r--+ 1 root root 189, 129 2009-09-29 09:08 /dev/bus/usb/002/002 crw-rw-r-- 1 root root 189, 256 2009-09-29 08:46 /dev/bus/usb/003/001 crw-rw-r-- 1 root root 189, 257 2009-09-29 08:46 /dev/bus/usb/003/002 crw-rw-r-- 1 root root 189, 384 2009-09-29 08:46 /dev/bus/usb/004/001 colin@colin-desktop:~$ lsusb Bus 002 Device 002: ID 04a9:1721 Canon, Inc. MP210 ser Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 1058:0402 Western Digital Technologies, Inc.=20 Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash C= ard Reader/Writer (Internal/External) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub colin@colin-desktop:~$ /usr/lib/cups/filter/usb bash: /usr/lib/cups/filter/usb: No such file or directory colin@colin-desktop:~$ /usr/lib/cups/filter/hp bash: /usr/lib/cups/filter/hp: No such file or directory colin@colin-desktop:~$ lpinfo -v network http serial serial:/dev/ttyS0?baud=3D115200 network beh network smb network ipp network lpd direct scsi network socket direct parallel:/dev/lp0 direct hp direct hpfax colin@colin-desktop:~$ lpstat -v device for Canon-PIXMA-MP220: http://localhost:631/ colin@colin-desktop:~$ lsusb -vvv Bus 002 Device 002: ID 04a9:1721 Canon, Inc. MP210 ser Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x04a9 Canon, Inc. idProduct 0x1721 MP210 ser bcdDevice 1.05 iManufacturer 1 Canon iProduct 2 MP210 series iSerial 3 33D935 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 62 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xc0 Self Powered MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0=20 bInterfaceProtocol 255=20 iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x07 EP 7 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x88 EP 8 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x89 EP 9 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 11 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceProtocol 2 Bidirectional iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 can't get hub descriptor: Operation not permitted can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 001 Device 004: ID 1058:0402 Western Digital Technologies, Inc.=20 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x1058 Western Digital Technologies, Inc. idProduct 0x0402=20 bcdDevice 4.12 iManufacturer 138=20 iProduct 154=20 iSerial 168=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x88 EP 8 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash C= ard Reader/Writer (Internal/External) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x058f Alcor Micro Corp. idProduct 0x6362 Hi-Speed 21-in-1 Flash Card Reader/Writer (Inte= rnal/External) bcdDevice 1.29 iManufacturer 1=20 iProduct 2=20 iSerial 3=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0x80 (Bus Powered) MaxPower 250mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 can't get hub descriptor: Operation not permitted can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 can't get hub descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0xc018 Optical Wheel Mouse bcdDevice 43.01 iManufacturer 1=20 iProduct 2=20 iSerial 0=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0=20 ** UNRECOGNIZED: 09 21 11 01 00 01 22 34 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0005 1x 5 bytes bInterval 10 can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 can't get hub descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Hope this helps --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeffrey Baker (jwbaker) Date: Tue, 29 Sep 2009 16:42:09 -0000 Message-Id: <20090929164210.6148.56174.malone@palladium.canonical.com> crw-rw-r-- 1 root root 189, 0 2009-09-28 13:51 /dev/bus/usb/001/001 crw-rw-r-- 1 root root 189, 1 2009-09-28 13:51 /dev/bus/usb/001/002 crw-rw-r-- 1 root root 189, 3 2009-09-28 13:51 /dev/bus/usb/001/004 crw-rw-r-- 1 root root 189, 4 2009-09-28 13:51 /dev/bus/usb/001/005 crw-rw-r-- 1 root root 189, 128 2009-09-28 13:51 /dev/bus/usb/002/001 crw-rw-r-- 1 root root 189, 256 2009-09-28 13:51 /dev/bus/usb/003/001 crw-rw-r-- 1 root root 189, 384 2009-09-28 13:51 /dev/bus/usb/004/001 crw-rw-r-- 1 root root 189, 385 2009-09-28 13:51 /dev/bus/usb/004/002 crw-rw-r-- 1 root root 189, 512 2009-09-28 13:51 /dev/bus/usb/005/001 crw-rw-r-- 1 root root 189, 640 2009-09-28 13:51 /dev/bus/usb/006/001 crw-rw-r--+ 1 root root 189, 641 2009-09-29 09:34 /dev/bus/usb/006/002 crw-rw-r-- 1 root root 189, 768 2009-09-28 13:51 /dev/bus/usb/007/001 crw-rw-r-- 1 root root 189, 896 2009-09-28 13:51 /dev/bus/usb/008/001 Bus 006 Device 002: ID 04b8:0808 Seiko Epson Corp. Stylus CX5200 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash C= ard Reader/Writer (Internal/External) Bus 001 Device 005: ID 046d:c51a Logitech, Inc. MX Revolution/G7 Cordless M= ouse Bus 001 Device 004: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Don= gle (HCI mode) Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub network beh network smb network ipp direct scsi network http network socket network lpd direct hp serial serial:/dev/ttyS0?baud=3D115200 direct hpfax Bus 006 Device 002: ID 04b8:0808 Seiko Epson Corp. Stylus CX5200 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 8 idVendor 0x04b8 Seiko Epson Corp. idProduct 0x0808 Stylus CX5200 bcdDevice 1.00 iManufacturer 1 EPSON iProduct 2 USB MFP iSerial 3 HS0290402250123170 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 4 USB MFP bmAttributes 0xc0 Self Powered MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 5 EPSON Scanner Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceProtocol 2 Bidirectional iInterface 6 USB Printer Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0000 (Bus Powered) Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0103 power enable connect Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 0000:00:1d.7 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 6 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Port 3: 0000.0100 power Port 4: 0000.0100 power Port 5: 0000.0100 power Port 6: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash C= ard Reader/Writer (Internal/External) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x058f Alcor Micro Corp. idProduct 0x6362 Hi-Speed 21-in-1 Flash Card Reader/Writer (Inte= rnal/External) bcdDevice 1.26 iManufacturer 1 Generic iProduct 2 Mass Storage Device iSerial 3 058F312D81B bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0x80 (Bus Powered) MaxPower 250mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) Bus 001 Device 005: ID 046d:c51a Logitech, Inc. MX Revolution/G7 Cordless M= ouse Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0xc51a MX Revolution/G7 Cordless Mouse bcdDevice 41.01 iManufacturer 1 Logitech iProduct 2 USB Receiver iSerial 0=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 59 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 4 RR41.01_B0025 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 98mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0=20 ** UNRECOGNIZED: 09 21 11 01 00 01 22 43 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0=20 ** UNRECOGNIZED: 09 21 11 01 00 01 22 4f 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 1 Device Status: 0x0000 (Bus Powered) Bus 001 Device 004: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x0424 Standard Microsystems Corp. idProduct 0x2504 USB 2.0 Hub bcdDevice 0.01 iManufacturer 0=20 iProduct 0=20 iSerial 0=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 1 Single TT iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 2 TT per port iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x0000 Ganged power switching Ganged overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 1 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0103 power enable connect Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 0000:00:1a.7 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 6 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0503 highspeed power enable connect Port 2: 0000.0100 power Port 3: 0000.0100 power Port 4: 0000.0100 power Port 5: 0000.0503 highspeed power enable connect Port 6: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1a.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Don= gle (HCI mode) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 224 Wireless bDeviceSubClass 1 Radio Frequency bDeviceProtocol 1 Bluetooth bMaxPacketSize0 64 idVendor 0x0a12 Cambridge Silicon Radio, Ltd idProduct 0x0001 Bluetooth Dongle (HCI mode) bcdDevice 5.25 iManufacturer 0=20 iProduct 0=20 iSerial 0=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 193 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0000 1x 0 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0000 1x 0 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0009 1x 9 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0009 1x 9 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 2 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0011 1x 17 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0011 1x 17 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 3 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0019 1x 25 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0019 1x 25 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 4 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0021 1x 33 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0021 1x 33 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 5 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0031 1x 49 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x0031 1x 49 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 254 Application Specific Interface bInterfaceSubClass 1 Device Firmware Update bInterfaceProtocol 0=20 iInterface 0=20 Device Firmware Upgrade Interface Descriptor: bLength 7 bDescriptorType 33 bmAttributes 7 Will Not Detach Manifestation Tolerant Upload Supported Download Supported wDetachTimeout 5000 milliseconds wTransferSize 1023 bytes Device Status: 0x0001 Self Powered Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1a.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0103 power enable connect Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3 Linux 2.6.31-11-generic uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1a.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 2 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Device Status: 0x0003 Self Powered Remote Wakeup Enabled --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeffrey Baker (jwbaker) Date: Tue, 29 Sep 2009 17:20:28 -0000 Message-Id: <20090929172028.31537.55158.malone@potassium.ubuntu.com> I noted that the printer has an ACL so here's the output of getfacl: # file: dev/bus/usb/006/002 # owner: root # group: root user::rw- user:jwb:rw- group::rw- mask::rw- other::r-- --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Tue, 29 Sep 2009 18:20:41 -0000 Message-Id: <20090929182042.16576.80809.malone@gandwana.canonical.com> Seems not all USB printers are covered by the udev rule, so I revert the recent change in cups and have the usb backend run as root again for now. Fix committed to cups bzr, will upload after karmic beta. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Danny Wood (danwood76) Date: Thu, 01 Oct 2009 21:57:33 -0000 Message-Id: <20091001215733.31537.83622.malone@potassium.ubuntu.com> Im sorry but this is not fixed. To make my printer work I have to run this each boot: "sudo aa-enforce cupsd" Some of the commands gave useless or no info but the ones that might be use= ful: My printer wasn't visible with the lsusb commands like it used to be and th= ese were run after the above command was run. ---- lpinfo -v serial serial:/dev/ttyS0?baud=3D115200 serial serial:/dev/ttyS1?baud=3D115200 direct scsi network lpd network ipp network beh network socket network http network smb direct hp direct hpfax direct usb://Samsung/ML-1210?serial=3D? ---- device for Samsung-ML-1210: usb://Samsung/ML-1210?serial=3D? ---- --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Fri, 02 Oct 2009 08:44:30 -0000 Message-Id: <20091002084842.30730.26400.malone@cocoplum.canonical.com> This bug was fixed in the package cups - 1.4.1-4 --------------- cups (1.4.1-4) unstable; urgency=3Dlow [ Till Kamppeter ] * debian/patches/usb-backend-both-usblp-and-libusb.dpatch: Make the USB backend supporting both printer access via libusb and via the usblp ker= nel module. Make it also printing via libusb if the URI for the queue was generated via usblp and vice versa. This should solve most USB printing problems which occured on the transition to CUPS 1.4.x (LP: #420015, LP: #436495; Closes: #546558, #545288, #545453). [ Martin Pitt ] * debian/rules: Make the USB backend run as root again, udev rules do not cover all printers. (LP: #420015) * Drop debian/blacklist-cups.conf, and remove it on upgrade. With Till's = fix from above this is not necessary any more. cups (1.4.1-3) unstable; urgency=3Dlow * Add disable-pie-mipsen.dpatch: Disable PIE on mipsen, its binutils segfaults with it. (Closes: #548246) -- Martin Pitt Wed, 30 Sep 2009 15:17:53 +0200 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Fri, 02 Oct 2009 14:11:11 -0000 Message-Id: <20091002141111.6148.76779.malone@palladium.canonical.com> I downloaded the latest beta Ubuntu live cd and tried to install my Canon MP210 scanner, but as I reported earlier, the distribution fails to detect my printer. Any idea when this problem is likely to be resolved? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Beltov (mbeltov) Date: Fri, 02 Oct 2009 14:41:40 -0000 Message-Id: <20091002144140.6210.2100.malone@palladium.canonical.com> Same for me. I need to run manual commands in order for cups to "see" the usb printer --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Fraser Murray (fraserm) Date: Fri, 02 Oct 2009 15:18:16 -0000 Message-Id: <20091002151816.31476.61905.malone@potassium.ubuntu.com> The fixed version is scheduled for build in 45 minutes. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Colin Mills (cm006a5077) Date: Fri, 02 Oct 2009 19:16:41 -0000 Message-Id: <20091002191641.31476.44881.malone@potassium.ubuntu.com> I have just downloaded the latest Ubuntu Karmic updates and my MP210 printer now works!!!! I just wanted to say a big thank you for all the developers involved. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeffrey Baker (jwbaker) Date: Sat, 03 Oct 2009 00:14:04 -0000 Message-Id: <20091003001404.16325.86027.malone@gandwana.canonical.com> This also fixed my Epson Stylus CX5400. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ruslan Tabolin (ruslan-tabolin) Date: Sun, 04 Oct 2009 20:02:35 -0000 Message-Id: <20091004200235.32421.88896.malone@gangotri.canonical.com> I have downloaded the latest updates, but hp 1020 don't work yet. cups do not see my printer. ruslan@ruslan:~$ ls -l /dev/bus/usb/*/* crw-rw-r-- 1 root root 189, 0 2009-10-04 23:25 /dev/bus/usb/001/001 crw-rw-r--+ 1 root lp 189, 1 2009-10-04 23:28 /dev/bus/usb/001/002 crw-rw-r-- 1 root root 189, 128 2009-10-04 23:25 /dev/bus/usb/002/001 crw-rw-r-- 1 root root 189, 256 2009-10-04 23:25 /dev/bus/usb/003/001 ruslan@ruslan:~$ lsusb Bus 001 Device 002: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub /usr/lib/cups/filter/usb No such file or directory /usr/lib/cups/filter/hp No such file or directory cat: /usr/lib/cups/filter/hp: No such file or directory ruslan@ruslan:~$ lpinfo -v network smb network beh serial serial:/dev/ttyS0?baud=3D115200 serial serial:/dev/ttyS1?baud=3D115200 network http direct scsi direct parallel:/dev/lp0 network ipp network socket network lpd ruslan@ruslan:~$ lsusb -vvv Bus 001 Device 002: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x03f0 Hewlett-Packard idProduct 0x2b17 LaserJet 1020 bcdDevice 1.00 iManufacturer 1=20 iProduct 2=20 iSerial 3=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xc0 Self Powered MaxPower 98mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceProtocol 2 Bidirectional iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 can't get device qualifier: Connection timed out can't get debug descriptor: Connection timed out Device Status: 0x0001 Self Powered Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 can't get hub descriptor: Operation not permitted can't get device qualifier: Operation not permitted can't get debug descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 can't get hub descriptor: Operation not permitted cannot read device status, Operation not permitted (1) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 2.06 iManufacturer 3=20 iProduct 2=20 iSerial 1=20 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 can't get hub descriptor: Operation not permitted cannot read device status, Operation not permitted (1) --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Sun, 04 Oct 2009 21:23:17 -0000 Message-Id: <20091004212317.8370.91640.malone@gandwana.canonical.com> Can everyone with problems please run the following shell commands: lsmod | grep usblp ls -l /dev/usb/lp* ls -l /dev/bus/usb/*/* lsusb /usr/lib/cups/backend/usb /usr/lib/cups/backend/hp lpinfo -v lpstat -v lsusb -vvv --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ruslan Tabolin (ruslan-tabolin) Date: Mon, 05 Oct 2009 12:16:28 -0000 Message-Id: <20091005121628.31537.17970.malone@potassium.ubuntu.com> Hello again. Today I turned on computer and updated ubuntu. I don't know that is the rea= son, but now printer is working very good. And I am happy. Thank you. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: databubble (phil-linttell) Date: Tue, 06 Oct 2009 15:57:30 -0000 Message-Id: <20091006155730.31476.75678.malone@potassium.ubuntu.com> My printer still isn't working. I reported this in https://bugs.launchpad.net/ubuntu/+source/cups/+bug/443981 but was directed here. The following is a snippet from dmesg where I turn the printer off, and then on... [71725.855070] usb 1-2: usbfs: interface 0 claimed by usb-storage while 'us= b' sets config #1 [72207.592101] usb 1-2: usbfs: interface 0 claimed by usb-storage while 'us= b' sets config #1 [72231.720873] usb 1-2: usbfs: interface 0 claimed by usb-storage while 'us= b' sets config #1 [72566.124804] usb 1-2: usbfs: interface 0 claimed by usb-storage while 'us= b' sets config #1 [72584.698424] usb 1-2: usbfs: interface 0 claimed by usb-storage while 'us= b' sets config #1 [72660.539781] usb 1-2: USB disconnect, address 7 [72668.121306] usb 1-2: new high speed USB device using ehci_hcd and addres= s 8 [72668.273324] usb 1-2: configuration #1 chosen from 1 choice [72668.280149] scsi12 : SCSI emulation for USB Mass Storage devices [72668.282795] usb-storage: device found at 8 [72668.282800] usb-storage: waiting for device to settle before scanning [72673.281613] usb-storage: device scan complete [72673.285603] scsi 12:0:0:0: Direct-Access EPSON Stylus Storage 1= .00 PQ: 0 ANSI: 2 [72673.286954] sd 12:0:0:0: Attached scsi generic sg4 type 0 [72673.298289] sd 12:0:0:0: [sdd] Attached SCSI removable disk It doesn't seem to be recognized as a printer at all. However, it did work= under jaunty and in early alphas of karmic. Also, I note that the udev rule changes mentioned in #74 are not included in udev - 174~-5. To verify, I tried making the changes to usb and printer by hand, and then did a "apt-get install --reinstall udev" and my changes were wiped out. To get the device permissions below, I had to change the group ownership by hand. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Till Kamppeter (till-kamppeter) Date: Tue, 06 Oct 2009 18:31:28 -0000 Message-Id: <20091006183128.3970.72387.malone@palladium.canonical.com> pitti, it seems that the new udev rule for libusb-accessed USB printers got lost again. You introduced it with udev 147~-1 (comment #80) and in the current version (174~-5) it seems to have disappeared again. Can you check? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Thu, 08 Oct 2009 14:43:13 -0000 Message-Id: <20091008144314.17590.21712.malone@gandwana.canonical.com> They are still in /lib/udev/rules.d/50-udev-default.rules, where they are supposed to be: # hplip and cups 1.4+ use raw USB devices, so permissions should be similar= to # the ones from the old usblp kernel module SUBSYSTEM=3D=3D"usb", ENV{DEVTYPE}=3D=3D"usb_device", ENV{ID_USB_INTERFACES= }=3D=3D"", IMPORT{program}=3D"usb_id --export %p" SUBSYSTEM=3D=3D"usb", ENV{DEVTYPE}=3D=3D"usb_device", ENV{ID_USB_INTERFACES= }=3D=3D":0701*:", GROUP=3D"lp", MODE=3D"660" --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ilf (ilf) Date: Wed, 14 Oct 2009 09:34:34 -0000 Message-Id: <20091014093434.23657.95047.malone@gandwana.canonical.com> My HP LaserJet 1000 still doesn't print. I am not sure if the reason is still related to this. But since it works on= my Jaunty box, I am adding this here hoping to get it fixed for the Karmic= release. After all these usblp changes, when blacklisting usblp the firmware isn't u= ploaded to the printer correctly, because foo2zjs needs the printer device = in /dev/usb, provided by usblp: https://bugs.launchpad.net/ubuntu/+source/f= oo2zjs/+bug/425300 usblp is not blacklisted any more, so this works now. However, the printer still does not print, telling me in /var/log/cups/error_log to blacklist usblp again, when I have "more than one HP LaserJet 1000 connected": https://bugs.launchpad.net/ubuntu/+source/cups/+bug/450513 I really hope this can be fixed for Karmic, I need my printer. Thanks --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?b?RHXFoWFuIE1pbGV0acSHIChrYXJsMyk=?= Date: Sun, 25 Oct 2009 13:17:39 -0000 Message-Id: <20091025131739.24568.82964.malone@gandwana.canonical.com> the same thing with canon lbp2900 - still not detected --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: zob (zob) Date: Wed, 04 Nov 2009 19:24:00 -0000 Message-Id: <20091104192400.30524.80606.malone@wampee.canonical.com> Ok. I have the same bug. My printer is Brother HL-2140. Not able to be "seen". All my other usb-hardware works fine. My cups-version is 1.4.1-5ubuntu2. I'm on ubuntu 9.10, kernel 2.6.31-14-generic. Usb connected directly to a computer not through a hub (connection, cable, usb-port and printer verified to work in windows). Also printer worked under 9.04. Here are my outputs: lars@lars-desktop:~$ lsmod | grep usblp usblp 15136 0=20 lars@lars-desktop:~$ ls -l /dev/usb/lp* crw-rw---- 1 root lp 180, 0 2009-11-04 19:53 /dev/usb/lp0 lars@lars-desktop:~$ ls -l /dev/bus/usb/*/* crw-rw-r-- 1 root vboxusers 189, 0 2009-11-04 20:05 /dev/bus/usb/001/001 crw-rw-r-- 1 root vboxusers 189, 1 2009-11-04 20:05 /dev/bus/usb/001/002 crw-rw-r-- 1 root vboxusers 189, 2 2009-11-04 20:05 /dev/bus/usb/001/003 crw-rw-r-- 1 root vboxusers 189, 4 2009-11-04 20:05 /dev/bus/usb/001/005 crw-rw-r-- 1 root vboxusers 189, 128 2009-11-04 20:05 /dev/bus/usb/002/001 crw-rw---- 1 root lp 189, 130 2009-11-04 19:53 /dev/bus/usb/002/003 crw-rw-r-- 1 root vboxusers 189, 256 2009-11-04 20:05 /dev/bus/usb/003/001 lars@lars-desktop:~$ lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 0499:1011 Yamaha Corp. P-250 Bus 001 Device 003: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link D= UB-H4 USB 2.0 Hub Bus 001 Device 002: ID 0bc2:3101 Seagate RSS LLC=20 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub lars@lars-desktop:~$ /usr/lib/cups/backend/usb bash: /usr/lib/cups/backend/usb: Permission denied lars@lars-desktop:~$ lpinfo -v lpinfo: Connection refused lars@lars-desktop:~$ lpstat -v lpstat: Connection refused May something interesting happened when I did sudo aa-enforce cupsd because before that turning on my printer and tailing dmesg would give me: [ 711.292551] usb 2-3: new full speed USB device using ohci_hcd and addres= s 2 [ 711.528665] usb 2-3: configuration #1 chosen from 1 choice [ 711.612618] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 v= id 0x04F9 pid 0x0033 [ 711.612639] usbcore: registered new interface driver usblp After said command dmesg returns the following: [ 2850.049704] type=3D1505 audit(1257360769.685:22): operation=3D"profile_r= eplace" pid=3D6172 name=3D/usr/lib/cups/backend/cups-pdf [ 2850.049942] type=3D1505 audit(1257360769.685:23): operation=3D"profile_r= eplace" pid=3D6172 name=3D/usr/sbin/cupsd [ 2869.722555] usb 2-3: new full speed USB device using ohci_hcd and addres= s 3 [ 2869.961662] usb 2-3: configuration #1 chosen from 1 choice [ 2869.976057] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 v= id 0x04F9 pid 0x0033 So now at least were talking cups. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: zob (zob) Date: Thu, 05 Nov 2009 19:30:02 -0000 Message-Id: <20091105193002.6891.1186.malone@palladium.canonical.com> I just found out that if I run 9.10 64bit from the LiveCD I installed from, there's no problem. The printer just show up and is even recognized as soon as I turn it on. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: zob (zob) Date: Thu, 05 Nov 2009 21:49:17 -0000 Message-Id: <20091105214917.10819.92942.malone@wampee.canonical.com> Sorry. Just solved my problem. To get a faster boot with a dual-core machine I made a change in /etc/init.= d/rc where i changed concurrency=3Dnone to concurrency=3Dshell. Setting it back to concurrency=3Dnone solved this problem and another probl= em I had with Grub. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Paul Cullum (paul-cullum) Date: Mon, 23 Nov 2009 12:51:34 -0000 Message-Id: <20091123125134.5480.85004.malone@palladium.canonical.com> I'm fully updated with the latest patches but could group permissions seem to be assigned to vboxusers... $ ls -l /dev/bus/usb/*/* crw-rw-r-- 1 root vboxusers 189, 0 2009-11-13 10:34 /dev/bus/usb/001/001 crw-rw-r-- 1 root vboxusers 189, 128 2009-11-13 10:34 /dev/bus/usb/002/001 crw-rw-r-- 1 root vboxusers 189, 256 2009-11-13 10:34 /dev/bus/usb/003/001 crw-rw-r-- 1 root vboxusers 189, 384 2009-11-13 10:34 /dev/bus/usb/004/001 crw-rw-r-- 1 root vboxusers 189, 512 2009-11-13 10:34 /dev/bus/usb/005/001 crw-rw-r-- 1 root vboxusers 189, 513 2009-11-13 10:34 /dev/bus/usb/005/002 crw-rw-r-- 1 root vboxusers 189, 640 2009-11-13 10:34 /dev/bus/usb/006/001 crw-rw-r-- 1 root vboxusers 189, 646 2009-11-18 13:39 /dev/bus/usb/006/007 crw-rw-r-- 1 root vboxusers 189, 768 2009-11-13 10:34 /dev/bus/usb/007/001 --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Paul Loughman (snowhog) Date: Mon, 25 Jan 2010 00:48:48 -0000 Message-Id: <20100125004848.19821.46758.malone@gangotri.canonical.com> System: Kernel 2.6.31-17-generic i686 (32 bit) Distro Ubuntu 9.10 karmic CUPS: 1.4.1 (Installed Version: 1.4.1-5ubuntu2.1) modinfo usblp: filename: /lib/modules/2.6.31-17-generic/kernel/drivers/usb/class/usb= lp.ko license: GPL description: USB Printer Device Class driver author: Michael Gee, Pavel Machek, Vojtech Pavlik, Randy Dunlap, Pe= te Zaitcev, David Paschal srcversion: 2E3BEEBC12905CCBCD57D87 alias: usb:v04B8p0202d*dc*dsc*dp*ic*isc*ip* alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip03* alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip02* alias: usb:v*p*d*dc*dsc*dp*ic07isc01ip01* alias: usb:v*p*d*dc07dsc01dp03ic*isc*ip* alias: usb:v*p*d*dc07dsc01dp02ic*isc*ip* alias: usb:v*p*d*dc07dsc01dp01ic*isc*ip* depends: vermagic: 2.6.31-17-generic SMP mod_unload modversions 586 parm: proto_bias:Favourite protocol number (int) tail -f /var/log/messages: Jan 24 15:35:15 myotherbrain kernel: [ 1209.912127] usb 2-2: USB disconnect= , address 2 Jan 24 15:35:15 myotherbrain kernel: [ 1209.912443] usblp0: removed Jan 24 15:35:21 myotherbrain kernel: [ 1216.612055] usb 2-2: new full speed= USB device using uhci_hcd and address 3 Jan 24 15:35:22 myotherbrain kernel: [ 1216.799305] usb 2-2: configuration = #1 chosen from 1 choice Jan 24 15:35:22 myotherbrain kernel: [ 1216.847494] usblp0: USB Bidirection= al printer dev 3 if 0 alt 1 proto 2 vid 0x1309 pid 0xF002 foomatic-gui, under Add > Choose printer connection shows a selectable entr= y for: USB Printer #1 Unknown Selecting it and clicking Forward allows me to enter Printer Identification= data. Clicking Forward I am allowed to select the printer make and model -= Panasonic KX-P4410 - and presented with three printer drivers: gutenprint-ijs-simplified.5.2 gutenprint-ijs.5.2 ljet2p (recommended) Selecting ljet2p (recommended) and clicking Forward and Apply results in the printer being 'added' but it fails to print. It isn't permitting the selection of the CUPS+ drivers, which in my Jaunty 9.04 installation, works flawlessly. What can I provide that might aid in getting this bug fixed? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Paul Loughman (snowhog) Date: Mon, 25 Jan 2010 00:50:36 -0000 Message-Id: <20100125005036.28510.21250.malone@potassium.ubuntu.com> Also, CUPS does not see this USB printer either. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Paul Loughman (snowhog) Date: Mon, 01 Feb 2010 23:33:33 -0000 Message-Id: <20100201233333.19326.74138.malone@soybean.canonical.com> giorgos on 2009-11-10=20 Changed in cups (Ubuntu):=20 status: Fix Committed =E2=86=92 Fix Released My udev version is: apt-cache show udev | grep Version Version: 147~-6.1 Version: 147~-6 My USB printer does not work in Kubuntu Karmic: Kernel 2.6.31-17-generic i686 (32 bit) Distro Ubuntu 9.10 karmic KDE version; 4.3.5 Please tell me how to fix this. If as giorgos says, it has been fixed and released, why doesn't my USP printer work in Karmic? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Yuan Chao (yuanchao) Date: Sun, 07 Feb 2010 05:51:26 -0000 Message-Id: <20100207055126.6000.1435.malone@wampee.canonical.com> I have a USB to Printer port cable to connect my old HP DJ890C. It can only= be seen by lsusb if run by root: Bus 004 Device 005: ID 04b4:4100 Cypress Semiconductor Corp. For Fedora 7 or 11 (ever tried), when plugged in, 'usblp' will be loaded and '/dev/usb/lp0' will be setup. However, for Ubuntu 810, 904 or 910, usblp won't be loaded and CUPS can't see it. The kernel message show the following error: [ 2564.232074] usb 4-2: new full speed USB device using ohci_hcd and addres= s 4 [ 2564.439134] usb 4-2: config 1 has an invalid descriptor of length 26, sk= ipping remainder of the config [ 2564.439150] usb 4-2: config 1 interface 0 has no altsetting 0 [ 2564.463318] usb 4-2: configuration #1 chosen from 1 choice [ 2564.467521] usb 4-2: can't set config #1, error -32 If I manually loads usblp, after issuing 'lpinfo -v', the device file will be setup and I can use the printer if manually set the URI. (usblp can't see it w/o lpinfo; CUPS can't probe it anyway) [ 2643.521134] usblp0: USB Bidirectional printer dev 4 if 0 alt 2 proto 2 vid 0x04B4 pid 0x4100 I'm wondering if this is simply a new device should be set in udev rules, or udev rule is still broken here? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Atti (atti84it) Date: Fri, 28 May 2010 17:34:29 -0000 Message-Id: <20100528173429.1683.25212.malone@palladium.canonical.com> On Lucid Lynx 10.04 after updates I was having the same problem. My dmesg h= ad the line: [ 279.196192] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb' set= s config #1 and "usblp" module was still loaded. I solved everything by blacklisting the usblp module, but not chmodding the /dev/bus... files. I used these commands (as root): echo "blacklist usblp" > /etc/modprobe.d/blacklist-cups.conf rmmod usblp /etc/init.d/cups restart update-initramfs -u should we file a new bug? --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: nh2 (nh2) Date: Sun, 11 Jul 2010 18:02:07 -0000 Message-Id: <20100711180207.22766.44291.malone@soybean.canonical.com> We should indeed check if this is still a problem. In my dmesg on 10.04 with a HP LaserJet 2200DN on cable plug-in: [295072.380908] usblp1: USB Bidirectional printer dev 8 if 0 alt 1 proto 2 = vid 0x03F0 pid 0x0217 [295073.503061] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb' se= ts config #1 [295073.504937] usb[22618]: segfault at 0 ip 001cbdbb sp bf9b3e94 error 4 i= n libc-2.11.1.so[157000+153000] [295073.506473] type=3D1503 audit(1278841151.903:852): operation=3D"open" = pid=3D22614 parent=3D22613 profile=3D"/usr/sbin/cupsd" requested_mask=3D"w:= :" denied_mask=3D"w::" fsuid=3D0 ouid=3D0 name=3D"/dev/ttyUSB0" I guess the last line is related to another problem, but usblp gets still loaded when I attach the USB printer cable unless blacklisted and segfaults in libc aren't that cool, either. They stop appearing when I blacklist usblp. The line [295073.503061] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb' se= ts config #1 does also appear on other 10.04 laptops I tested, but printing works fine t= here. --===============0883391835198493768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: pinzia (pinzia) Date: Thu, 02 Sep 2010 10:17:30 -0000 Message-Id: <20100902101730.23597.42611.malone@soybean.canonical.com> I have similar problem on lucid lynx 64bit [ 34.200259] usb 8-2: usbfs: interface 0 claimed by usblp while 'usb' set= s config #1 [ 34.200288] usb 8-1: usbfs: interface 1 claimed by usblp while 'usb' set= s config #1 $ lpstat -a ML-1710 accetta richieste da gio 15 lug 2010 15:54:52 CEST ML-2010 accetta richieste da ven 18 giu 2010 16:32:28 CEST Stampanti accetta richieste da sab 05 giu 2010 18:11:38 CEST --===============0883391835198493768==--