ipp-usb compatibility issues with existing/future software in distributions

オープン
#56 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go
領域
backend

調査の方向性

まず、互換性のケースと、issue本文にリンクされているCUPS、PAPPL、ipp-usb issue 50、およびSANEのissueを確認してください。このissueではリポジトリのファイルやテストは指定されていません。完了するには、列挙されているプリンターおよびスキャナーの統合問題に対する修正を定義し、調整する必要があります。

索引モデルが issue の本文から書いたものです。

説明

To ease up using ipp-usb in the system by default, we should try to tackle and track issues which other apps have if ipp-usb is on system.

There are:

  1. any classic USB printer backends (CUPS usb, hplip hp, gutenprint gutenprint53+usb and more proprietary ones) list the device even if its interface is claimed by ipp-usb, which means the newly installed printer won't work, even if the device was advertised by the backend
  2. any printer applications list the device even if it claimed by ipp-usb, thus unavailable
  3. any already installed USB printers from the past which interface is now claimed by ipp-usb don't work - aka migration solution
  4. there is duplicity in the scanner's list, if the scanner/multifunction device is supported by ipp-usb and by a classic driver, but the classic driver won't work because ipp-usb claims the device's interface.

Ad 1.

  • CUPS tracks the issue - usb backend will check mDNS comm and if the found device is on mDNS, ignore this device in usb backend
  • the similar solution can be done in other open source driver packages - probably gutenprint will be a possible candidate because it has responsive upstream

Ad 2.

Ad 3.

Ad 4.

  • I've reported the issue to SANE project, proposing the CUPS solution. I mentioned an idea for ipp-usb writing a file with claimed devices in /tmp, and function in SANE library, libusb_scan_devices() will read it and ignore devices mentioned there
  • issue https://gitlab.com/sane-project/backends/-/issues/603
主要言語
Go
スター
211
フォーク
35
平均マージ
5時間 47分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenPrinting/ipp-usb のほかの issue

OpenPrinting/ipp-usb の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。