Podpora tiskárny Epson: chybí LSB v Debianu 11

Jigdo

  • ***
  • 225
    • Zobrazit profil
    • E-mail
Podpora tiskárny Epson: chybí LSB v Debianu 11
« kdy: 23. 12. 2021, 10:54:45 »
Snazim se na Debain 11 64bit rozchodit tiskarnu EPSON XP-2100 serie (kterou uz byvaly majitel nepotrebuje),
ze stranek vyrobce jsem stahnul:
- epson-inkjet-printer-escpr_1.7.17-1lsb3.2_amd64.deb
- epson-printer-utility_1.1.1-1lsb3.2_amd64.deb
- epsonscan2-bundle-6.6.40.0.x86_64.deb.tar.gz

ale zadrhel je v tom ze to chce LSB ktere debian uz nesparvuje podle
https://wiki.debian.org/DebianLsb
a "lsb-release lsb-base" uz mam v systemu nainstalovane a "lsb-compat" je uz jen v Debian 10/Stretch

Zkousel jsem lsb z Centos/RedHat

wget http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/redhat-lsb-4.1-47.el8.x86_64.rpm
sudo alien --to-deb -c redhat-lsb-4.1-47.el8.x86_64.rpm
sudo apt install ./redhat-lsb_4.1-48_amd64.deb

Ale po instalaci stale LSB chybi :(
« Poslední změna: 23. 12. 2021, 11:54:34 od Petr Krčmář »


Jigdo

  • ***
  • 225
    • Zobrazit profil
    • E-mail
Re:Podpora tiskárny Epson: chybí LSB v Debianu 11
« Odpověď #1 kdy: 23. 12. 2021, 12:17:30 »
Po pripojeni USB kabelem se tiskarna v dmesg ukaze takto:

Kód: [Vybrat]
[86997.655520] usb 2-1: new high-speed USB device number 4 using xhci_hcd
[86997.815678] usb 2-1: New USB device found, idVendor=04b8, idProduct=114e, bcdDevice= 1.00
[86997.815682] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[86997.815684] usb 2-1: Product: XP-2100 Series
[86997.815686] usb 2-1: Manufacturer: EPSON
[86997.815687] usb 2-1: SerialNumber: 543210123456789012
[86997.844603] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[86997.844642] usbcore: registered new interface driver usblp
[87002.945151] process 'lib/cups/backend/z600' started with executable stack
[87002.968086] usblp2: removed
[87002.982760] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[87080.327513] usblp2: removed
[87096.926419] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[87311.550878] usb 2-1: USB disconnect, device number 4
[87311.552714] usblp2: removed
[87311.871230] usb 2-1: new full-speed USB device number 5 using xhci_hcd
[87311.999188] usb 2-1: device descriptor read/64, error -71
[87312.243238] usb 2-1: device descriptor read/64, error -71
[87312.479268] usb 2-1: new full-speed USB device number 6 using xhci_hcd
[87312.607243] usb 2-1: device descriptor read/64, error -71
[87313.148540] usb 2-1: not running at top speed; connect to a high speed hub
[87313.156604] usb 2-1: New USB device found, idVendor=04b8, idProduct=114e, bcdDevice= 1.00
[87313.156612] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[87313.156615] usb 2-1: Product: XP-2100 Series
[87313.156618] usb 2-1: Manufacturer: EPSON
[87313.156621] usb 2-1: SerialNumber: 543210123456789012
[87313.158740] usb 2-1: can't set config #1, error -71
[88541.952103] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[88541.953714] usblp2: removed

Automaticky se nainstaluje ovladac ;) a tisk funguje, ale "scanner" ne :(



sudo sane-find-scanner

Kód: [Vybrat]
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04b8, product=0x114e) at libusb:002:006
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.



scanimage -L
Kód: [Vybrat]
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


Wi-Fi tisk nekdo?

« Poslední změna: 23. 12. 2021, 12:24:35 od Jigdo »

Jigdo

  • ***
  • 225
    • Zobrazit profil
    • E-mail
Re:Podpora tiskárny Epson: chybí LSB v Debianu 11
« Odpověď #2 kdy: 03. 02. 2022, 13:15:20 »
Podarilo se mi udelat pokrok u teto tikarnu

Tato tiskarna po zapnuti ma activni tzv. Wi-Fi Direct (Simple AP)
heslo se da ziskat vytiskem "network status".

Po pripojeni je pote mozne nakonfigurovat jednoduse pres webove rozhrani
ktere bezi na adrese http://192.168.223.1

Nastavil jsem statickou IP teto tiskarne po pripojeni k domacimu Wi-Fi AP.

Pres Windows tiskne/scanuje po wi-fi i pres USB bez problemu.

Sane, je treba specialne nastavit, takze jsem zkousel nainstalovat Epson Scan 2
a ten funguje po siti i pres usb

Kód: [Vybrat]
cd ~/Install
curl --doh-url https://doh.mullvad.net/dns-query -kLO https://download2.ebz.epson.net/epsonscan2/common/deb/x64/epsonscan2-bundle-6.6.40.0.x86_64.deb.tar.gz
tar -tvf epsonscan2-bundle-6.6.40.0.x86_64.deb.tar.gz
cd epsonscan2-bundle-6.6.40.0.x86_64.deb
sudo chmod 755 install.sh
./install.sh

Aplikace se nachazi v menu: Applications - Graphics - Epson Scan 2


#epson-inkjet-printer-escpr_1.7.18-1lsb3.2_amd64.deb
#epson-printer-utility_1.1.1-1lsb3.2_amd64.deb

Ale instalace jejich noveho ESC/P-R Driver (generic driver) / Epson Printer Utility
stale hlasi ze nemam LSB:


Kód: [Vybrat]
$ dpkg-deb -I epson-inkjet-printer-escpr_1.7.18-1lsb3.2_amd64.deb
 new Debian package, version 2.0.
 size 5006052 bytes: control archive=16932 bytes.
     755 bytes,    20 lines      control             
   77285 bytes,   596 lines      md5sums             
     866 bytes,    30 lines   *  postinst             #!/bin/bash
     970 bytes,    33 lines   *  postrm               #!/bin/bash
     218 bytes,     7 lines   *  preinst              #!/bin/bash
      38 bytes,     1 lines      shlibs               
      60 bytes,     2 lines      triggers             
 Package: epson-inkjet-printer-escpr
 Version: 1.7.18-1lsb3.2
 Architecture: amd64
 Maintainer: Seiko Epson Corporation <linux-printer@epson.jp>
 Installed-Size: 5642
[b] Depends: lsb (>= 3.2)[/b]
 Section: alien
 Priority: extra
 Description: Epson Inkjet Printer Driver (ESC/P-R) for Linux
  This software is a filter program used with Common UNIX Printing
  System (CUPS) from the Linux. This can supply the high quality print
  with Seiko Epson Color Ink Jet Printers.
  .
  This product supports only EPSON ESC/P-R printers. This package can be
  used for all EPSON ESC/P-R printers.
  .
  For detail list of supported printer, please refer to below site:
  http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
  .
  (Converted from a rpm package by alien version 8.95.)

Takze jsem ted znovu instaloval LSB balicek:

Kód: [Vybrat]
#redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm
curl --doh-url https://doh.mullvad.net/dns-query -kLO http://mirror.centos.org/centos/7/os/x86_64/Packages/redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm
sudo alien --to-deb -c redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm

warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: redhat-lsb-4.1-27.el7.centos.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
redhat-lsb_4.1-28_amd64.deb generated

sudo apt install ./redhat-lsb_4.1-28_amd64.deb


Tak vazne nevim co s tim :(
Nepomuze jina verze z jine distribuce?

https://pkgs.org/download/lsb

Tyhle balicky mam taky nainstalovane v systemu:

Kód: [Vybrat]
sudo apt install -y lsb-release lsb-base printer-driver-escpr printer-driver-all printer-driver-all-enforce
« Poslední změna: 03. 02. 2022, 13:23:18 od Jigdo »