← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 1386241] Re: Add the full IPP Everywhere support from Utopic to Trusty

 

Hello Till

I'm still testing but something appears wrong. When I plug the printer
in I get "Missing sysattr idVendor" in the syslog. Which means the
device path udev-configure-printer is trying to find the vendor,
product ids, and serial number from, is not the device's root.


udev-configure-printer is reporting the device as
/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1 which is not the
device's root but instead the path to one of the device's interfaces.
But the patch I included should be navigating up the tree to the
device's root. This is one of the existing bugs I tried to fix that
occured before I made my patch. If I unplug and plug the printer into
a different usb port it correctly finds the vendor id.

This second time when it worked the path was:
/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.1

I've even removed the ippusbxd binary from /usr/sbin so it is oing
through ippusb scanning. Which means, at least for this printer,
something more fundamental is broken.

Sorry, I do not had much time to work on printer stuff so I'm slowly
testing the patches.

Daniel

2014-11-07 7:48 GMT+09:00 Till Kamppeter <1386241@xxxxxxxxxxxxxxxxxx>:
> Daniel, can you test whether all is working correctly with IPP-over-USB
> on both Utopic and Trusty?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1386241
>
> Title:
>   Add the full IPP Everywhere support from Utopic to Trusty
>
> Status in “cups” package in Ubuntu:
>   Fix Released
> Status in “cups-filters” package in Ubuntu:
>   Fix Released
> Status in “system-config-printer” package in Ubuntu:
>   Fix Released
> Status in “cups” source package in Trusty:
>   Fix Committed
> Status in “cups-filters” source package in Trusty:
>   Fix Committed
> Status in “system-config-printer” source package in Trusty:
>   Fix Committed
>
> Bug description:
>   This is a hardware enablement SRU for Ubuntu 14.04 LTS (Trusty).
>
>   From 14.10 (Utopic) on Ubuntu has full support for IPP Everywhere
>   printing:
>
>   1. Printing on IPP Everywhere printers
>
>   2. Printing on IPP-over-USB printers
>
>   3. When sharing a printer to the network the shared print queue
>   emulates an IPP Everywhere printer
>
>   4. PPD-less printing on IPP network printers (IPP Everywhere, PDF,
>   PostScript, PCL) without need of a printer setup tool
>
>   14.04 *Trusty), the current LTS, supports only (4). An OEM asked
>   whether we could backport the full IPP Everywhere support to Trusty.
>
>   This bug report is about the backport of IPP Everywhere support into
>   Trusty as an SRU.
>
>   Affected are the source packages cups-filters, cups, and system-
>   config-printer:
>
>   cups-filters:
>
>       - Add ippusbxd (Support for IPP-over-USB printers), generating the new binary package cups-filters-ippusbxd. Its installation in Trusty will be assured by a dependency on it in system-config-printer-udev
>       - Add rastertopdf filter. This filter allows PWG Raster as input format for a CUPS queue. This is needed to make shared CUPS printers fully emulating IPP Everywhere printers (all other requirements are fulfilled by CUPS itself).
>       - Add conversion rule for rastertopdf filter to the MIME conversion rules.
>       - Add PPD file for a generic IPP Everywhere printer (on-the-fly auto-generation by cupsfilters.drv).
>       - Support for PWG-Raster output activation via a keyword in the PPD file.
>       - pdftoraster filter: Support for output in the color spaces 18 (sGray), 19 (sRGB), and 20 (Adobe RGB). No color management appropriate to these color spaces is added yet.
>
>   system-config-printer:
>
>       - Add auto-setup for UDEV-discovered IPP-over-USB printers using
>   ippusbxd.
>
>   cups:
>
>       - Fix priority setting of PWG Raster MIME type, so that PWG Raster
>   input is actually recognized.
>
>   [Impact]
>
>   Trusty has a total support life of 5 years, ending in April 2019, but
>   it does not support the new PWG standard IPP Everywhere for driverless
>   printing. So in the near future many new printer models which can get
>   easily supported under Linux as they are fulfilling an open standard
>   are not supported by Trusty. This is especially very bad for Trusty
>   being used as pre-installed OS on new PC/notebook/server hardware and
>   on mobile devices.
>
>   [Test Case]
>
>   1. Connect an IPP Everywhere printer to the network and try to set it up. There is no suitable selection in the Make/Model lists (no "Generic IPP Everywhere Printer").
>   2. Connect an IPP-over-USB printer to the USB. It gets set up automatically but with the conventional USB interface, not giving access to the printer's configuration web interface and other network-printer-typical features.
>   3. Share a local print queue on your box and try to access this queue with a mobile device which supports printing on IPP Everywhere printers. The printer will not be found or be found based on older mobile printing protocols.
>
>   After installing this SRU (all three packages) all this will work.
>
>   [Regression Potential]
>
>   Most changes are addition of new code files and new conversion rules,
>   there are only a few simple changes in existing code files so the risk
>   of regressions is very low.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1386241/+subscriptions

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1386241

Title:
  Add the full IPP Everywhere support from Utopic to Trusty

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups-filters” package in Ubuntu:
  Fix Released
Status in “system-config-printer” package in Ubuntu:
  Fix Released
Status in “cups” source package in Trusty:
  Fix Committed
Status in “cups-filters” source package in Trusty:
  Fix Committed
Status in “system-config-printer” source package in Trusty:
  Fix Committed

Bug description:
  This is a hardware enablement SRU for Ubuntu 14.04 LTS (Trusty).

  From 14.10 (Utopic) on Ubuntu has full support for IPP Everywhere
  printing:

  1. Printing on IPP Everywhere printers

  2. Printing on IPP-over-USB printers

  3. When sharing a printer to the network the shared print queue
  emulates an IPP Everywhere printer

  4. PPD-less printing on IPP network printers (IPP Everywhere, PDF,
  PostScript, PCL) without need of a printer setup tool

  14.04 *Trusty), the current LTS, supports only (4). An OEM asked
  whether we could backport the full IPP Everywhere support to Trusty.

  This bug report is about the backport of IPP Everywhere support into
  Trusty as an SRU.

  Affected are the source packages cups-filters, cups, and system-
  config-printer:

  cups-filters:

      - Add ippusbxd (Support for IPP-over-USB printers), generating the new binary package cups-filters-ippusbxd. Its installation in Trusty will be assured by a dependency on it in system-config-printer-udev
      - Add rastertopdf filter. This filter allows PWG Raster as input format for a CUPS queue. This is needed to make shared CUPS printers fully emulating IPP Everywhere printers (all other requirements are fulfilled by CUPS itself).
      - Add conversion rule for rastertopdf filter to the MIME conversion rules.
      - Add PPD file for a generic IPP Everywhere printer (on-the-fly auto-generation by cupsfilters.drv).
      - Support for PWG-Raster output activation via a keyword in the PPD file.
      - pdftoraster filter: Support for output in the color spaces 18 (sGray), 19 (sRGB), and 20 (Adobe RGB). No color management appropriate to these color spaces is added yet.

  system-config-printer:

      - Add auto-setup for UDEV-discovered IPP-over-USB printers using
  ippusbxd.

  cups:

      - Fix priority setting of PWG Raster MIME type, so that PWG Raster
  input is actually recognized.

  [Impact]

  Trusty has a total support life of 5 years, ending in April 2019, but
  it does not support the new PWG standard IPP Everywhere for driverless
  printing. So in the near future many new printer models which can get
  easily supported under Linux as they are fulfilling an open standard
  are not supported by Trusty. This is especially very bad for Trusty
  being used as pre-installed OS on new PC/notebook/server hardware and
  on mobile devices.

  [Test Case]

  1. Connect an IPP Everywhere printer to the network and try to set it up. There is no suitable selection in the Make/Model lists (no "Generic IPP Everywhere Printer").
  2. Connect an IPP-over-USB printer to the USB. It gets set up automatically but with the conventional USB interface, not giving access to the printer's configuration web interface and other network-printer-typical features.
  3. Share a local print queue on your box and try to access this queue with a mobile device which supports printing on IPP Everywhere printers. The printer will not be found or be found based on older mobile printing protocols.

  After installing this SRU (all three packages) all this will work.

  [Regression Potential]

  Most changes are addition of new code files and new conversion rules,
  there are only a few simple changes in existing code files so the risk
  of regressions is very low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1386241/+subscriptions


References