lion-simba / reink

An utility to reset Epson printer ink counters
GNU General Public License v3.0
115 stars 32 forks source link

Epson EcoPrint L355 #14

Open r4dh4l opened 3 years ago

r4dh4l commented 3 years ago

Dear @lion-simba

Thank you for ReInk! Unfortunately my Epson EcoPrint is not supported and ReInk seems to be the only way to reset the Waste Ink Counter (WIC) without using proprietary software.

The testreport created with

$ sudo ./reink -t -r /dev/usb/lp1 > epson-l355-testreport.log
Please, be patient.
Wait at least 10 minutes before force interrupt.
Report complete. Thank you.
You will provide even more help for me if
you run printer head cleaning now and
then make another report with command:
./reink -r /dev/usb/lp1 -t4109 > ./testreport2.log

has the following content:

ReInk v0.6 test report.
sysname: Linux
release: 4.19.0-16-amd64
varsion: #1 SMP Debian 4.19.181-1 (2021-03-19)
arch: x86_64

=== open_channel ===
Obtaining IEEE 1284.4 socket for "EPSON-DATA" service... --- GetSocketID    ---
Send: 
0000: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54  .......EPSON-DAT
0010: 41                                               A
SafeWrite: 
0000: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54  .......EPSON-DAT
0010: 41                                               A
length: 19
read: 0 19 total: 19
Recv: 
0000: 00 00 00 13 01 00 89 00 40 45 50 53 4f 4e 2d 44  ........@EPSON-D
0010: 41 54 41                                         ATA
OK, socket=64.
Opening IEEE 1284.4 channel 64... --- OpenChannel    ---
Send: 
0000: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00  .......@@.......
0010: 00                                               .
SafeWrite: 
0000: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00  .......@@.......
0010: 00                                               .
length: 16
read: 0 16 total: 16
Recv: 
0000: 00 00 00 10 01 00 81 04 40 40 02 00 02 00 00 00  ........@@......
No sufficient resources available now.
IEEE 1284.4: "OpenChannel" transaction failed.
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2... --- CreditRequest  ---
Send: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
SafeWrite: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
length: 12
read: 0 12 total: 12
Recv: 
0000: 00 00 00 0c 01 00 84 00 02 02 00 01              ............
OK, got 1 credits.
Writing data to printer... --- Send Data      ---
SafeWrite: 
0000: 02 02 00 0b 00 00 64 69 01 00 01                 ......di...
OK
Get the answer... --- Credit         ---
Send: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
SafeWrite: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
length: 10
read: 0 10 total: 10
Recv: 
0000: 00 00 00 0a 01 00 83 00 02 02                    ..........
Recv: 
0000: 02 02 00 99 00 01                                ......
toGet: 147
Recv: 
0000: 40 45 4a 4c 20 49 44 0d 0a 4d 46 47 3a 45 50 53  @EJL ID..MFG:EPS
0010: 4f 4e 3b 43 4d 44 3a 45 53 43 50 4c 32 2c 42 44  ON;CMD:ESCPL2,BD
0020: 43 2c 44 34 2c 44 34 50 58 2c 45 53 43 50 52 31  C,D4,D4PX,ESCPR1
0030: 3b 4d 44 4c 3a 4c 33 35 35 20 53 65 72 69 65 73  ;MDL:L355 Series
0040: 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53  ;CLS:PRINTER;DES
0050: 3a 45 50 53 4f 4e 20 4c 33 35 35 20 53 65 72 69  :EPSON L355 Seri
0060: 65 73 3b 43 49 44 3a 45 70 73 6f 6e 52 47 42 3b  es;CID:EpsonRGB;
0070: 46 49 44 3a 46 58 4e 2c 44 50 4e 2c 57 46 41 2c  FID:FXN,DPN,WFA,
0080: 45 54 4e 2c 41 46 4e 2c 44 41 4e 3b 52 49 44 3a  ETN,AFN,DAN;RID:
0090: 30 30 3b                                         00;
OK
^^^ printer_transact ^^^
=== printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2... --- CreditRequest  ---
Send: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
SafeWrite: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
length: 12
read: 0 12 total: 12
Recv: 
0000: 00 00 00 0c 01 00 84 00 02 02 00 01              ............
OK, got 1 credits.
Writing data to printer... --- Send Data      ---
SafeWrite: 
0000: 02 02 00 0b 00 00 73 74 01 00 01                 ......st...
OK
Get the answer... --- Credit         ---
Send: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
SafeWrite: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
length: 10
read: 0 10 total: 10
Recv: 
0000: 00 00 00 0a 01 00 83 00 02 02                    ..........
Recv: 
0000: 02 02 00 65 00 01                                ...e..
toGet: 95
Recv: 
0000: 40 42 44 43 20 53 54 32 0d 0a 53 00 01 01 00 02  @BDC ST2..S.....
0010: 01 10 06 02 01 ff 0f 0d 03 03 01 69 04 02 69 05  ...........i..i.
0020: 03 69 01 00 69 10 03 01 09 4e 13 01 01 19 0c 00  .i..i....N......
0030: 00 00 00 00 75 6e 6b 6e 6f 77 6e 24 02 00 00 2f  ....unknown$.../
0040: 01 02 36 14 ff ff ff ff ff ff ff ff be 30 00 00  ..6..........0..
0050: 56 00 00 00 24 00 00 00 37 05 02 02 00 00 00     V...$...7......
OK
^^^ printer_transact ^^^
Searching printer secret model code with brute force.
=== read_eeprom_address ===
Reading eeprom address 0... === printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2... --- CreditRequest  ---
Send: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
SafeWrite: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
length: 12
read: 0 12 total: 12
Recv: 
0000: 00 00 00 0c 01 00 84 00 02 02 00 01              ............
OK, got 1 credits.
Writing data to printer... --- Send Data      ---
SafeWrite: 
0000: 02 02 00 11 00 00 7c 7c 07 00 00 00 41 be a0 00  ......||....A...
0010: 00                                               .
OK
Get the answer... --- Credit         ---
Send: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
SafeWrite: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
length: 10
read: 0 10 total: 10
Recv: 
0000: 00 00 00 0a 01 00 83 00 02 02                    ..........
Recv: 
0000: 02 02 00 10 00 01                                ......
toGet: 10
Recv: 
0000: 7c 7c 3a 34 31 3a 4e 41 3b 0c                    ||:41:NA;.
OK
^^^ printer_transact ^^^
=== get_tag ===
Searching for "EE:" substring... NOT FOUND.
Can't get reply data.
=== read_eeprom_address ===
Reading eeprom address 0... === printer_transact ===
Requesting some IEEE 1284.4 credits on channel 2... --- CreditRequest  ---
Send: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
SafeWrite: 
0000: 00 00 00 0d 01 00 04 02 02 00 80 ff ff           .............
length: 12
read: 0 12 total: 12
Recv: 
0000: 00 00 00 0c 01 00 84 00 02 02 00 01              ............
OK, got 1 credits.
Writing data to printer... --- Send Data      ---
SafeWrite: 
0000: 02 02 00 11 00 00 7c 7c 07 00 41 09 41 be a0 00  ......||..A.A...
0010: 00                                               .
OK
Get the answer... --- Credit         ---
Send: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
SafeWrite: 
0000: 00 00 00 0b 01 00 03 02 02 00 01                 ...........
length: 10
read: 0 10 total: 10
Recv: 
0000: 00 00 00 0a 01 00 83 00 02 02                    ..........
Recv: 
0000: 02 02 00 1a 00 01                                ......
toGet: 20
Recv: 
0000: 40 42 44 43 20 50 53 0d 0a 45 45 3a 30 30 30 30  @BDC PS..EE:0000
0010: 30 30 3b 0c                                      00;.
OK
^^^ printer_transact ^^^
=== get_tag ===
Searching for "EE:" substring... FOUND
Searching for ";" character... FOUND, len=6.
Tag value:"000000".
^^^ get_tag ^^^
OK
EEPROM addr 0 = 0.
^^^ read_eeprom_address ^^^
0000: 00 00 01 00 b4 83 c5 27 65 8f ac 08 71 fe 00 09  .......'e...q...
0010: 00 00 00 00 c5 0c 28 09 85 19 00 00 3c 2c 00 00  ......(.....<,..
0020: 00 00 00 00 04 2d 00 00 60 6d e8 21 00 00 63 00  .....-..`m.!..c.
0030: 00 00 00 01 16 2d 16 2d 00 00 52 30 03 08 0d 00  .....-.-..R0....
0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0050: 00 00 13 11 0a 0a 0a 0b 00 00 00 00 00 00 0c 00  ................
0060: 00 00 00 04 0c 00 00 fc ec 00 b1 31 00 00 00 00  ...........1....
0070: 00 00 00 01 00 00 00 01 00 b4 03 9f 8e 66 4b 6c  .............fKl
0080: 08 0e ac 18 26 a0 0f f7 08 00 ff ff ff ff 00 41  ....&..........A
0090: 00 00 02 0c 02 01 04 0a 03 28 00 00 00 00 00 00  .........(......
00a0: 01 b4 00 00 3b 31 00 00 9e c8 0e 00 ff 1e 00 00  ....;1..........
00b0: 00 00 08 01 e8 00 00 00 00 00 00 87 03 00 00 00  ................
00c0: 55 48 33 4b 30 30 35 30 37 37 00 08 f1 50 f1 00  UH3K005077...P..
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
...
00f0: 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
We found model code: 0x41 0x09

EEPROM DUMP:

Unfortunately I couldn't provide the enhanced log because the non-reset Waste Ink Counter doesn't allow me anything to to, even not to initialize the printer head cleaning.