lion-simba / reink

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

EPSON L631 L630 series #15

Open kumaran-kraj opened 2 years ago

kumaran-kraj commented 2 years ago

The counter already hit overflow so i couldn't run a cleaning cycle , the device just does not respond just keeps flashing the lights for the error code. I was thinking of searching the hex dump for the value max that they specified. I just wanted to ask if the device will lockup and not respond when I change some values or will I maintain the ability to write to the eeprom regardless of what I change. should i stick to externally rewriting the eeprom.

I will see if I can get my hands on another printer.

log file contents: ReInk v0.6 test report. sysname: Linux release: 4.15.0-162-generic varsion: #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 arch: x86_64

testreport.log === printer_connect === Opening raw device... OK Entering IEEE 1284.4 mode... --- EnterD4Mode --- Send: *****@EJL 1284.4 @EJL @EJL

0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34 @ E J L 1 2 8 4 . 4 16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a @ E J L @ E J L
SafeWrite: *****@EJL 1284.4 @EJL @EJL

0: 00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34 @ E J L 1 2 8 4 . 4 16: 0a 40 45 4a 4c 0a 40 45 4a 4c 0a @ E J L @ E J L
length: 8 read: 8 total: 8 Recv: 0: 00 00 00 08 01 00 c5 00 OK Perfoming IEEE 1284.4 Init transaction... --- Init --- Send: 0: 00 00 00 08 01 00 00 10 SafeWrite: 0: 00 00 00 08 01 00 00 10 length: 9 read: 9 total: 9 Recv: 0: 00 00 00 09 01 00 80 00 10 OK ^^^ printer_connect ^^^ === open_channel === Obtaining IEEE 1284.4 socket for "EPSON-CTRL" service... --- GetSocketID --- Send: ** EPSON-CTRL 0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52 E P S O N - C T R 16: 4c L SafeWrite: ** EPSON-CTRL 0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 43 54 52 E P S O N - C T R 16: 4c L length: 19 read: 19 total: 19 Recv: ***EPSON-CTRL 0: 00 00 00 13 01 00 89 00 02 45 50 53 4f 4e 2d 43 E P S O N - C 16: 54 52 4c T R L OK, socket=2. Opening IEEE 1284.4 channel 2-2... --- OpenChannel --- Send: 0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00 16: 00 SafeWrite: 0: 00 00 00 11 01 00 01 02 02 02 00 02 00 00 00 00 16: 00 length: 16 read: 16 total: 16 Recv: 0: 00 00 00 10 01 00 81 00 02 02 00 40 02 00 00 00 OK ^^^ open_channel ^^^ === open_channel === Obtaining IEEE 1284.4 socket for "EPSON-DATA" service... --- GetSocketID --- Send: ** EPSON-DATA 0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54 E P S O N - D A T 16: 41 A SafeWrite: ** EPSON-DATA 0: 00 00 00 11 01 00 09 45 50 53 4f 4e 2d 44 41 54 E P S O N - D A T 16: 41 A length: 19 read: 19 total: 19 Recv: ****@EPSON-DATA 0: 00 00 00 13 01 00 89 00 40 45 50 53 4f 4e 2d 44 @ E P S O N - D 16: 41 54 41 A T A OK, socket=64. Opening IEEE 1284.4 channel 64-64... --- OpenChannel --- Send: 0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00 16: 00 SafeWrite: 0: 00 00 00 11 01 00 01 40 40 02 00 02 00 00 00 00 16: 00 length: 16 read: 16 total: 16 Recv: 0: 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-2... --- CreditRequest --- Send: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff SafeWrite: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff length: 12 read: 12 total: 12 Recv: 0: 00 00 00 0c 01 00 84 00 02 02 00 01 OK, got 1 credits. Writing data to printer... --- Send Data --- SafeWrite: 0: 02 02 00 0b 00 00 64 69 01 00 01 OK Get the answer... --- Credit --- Send: 0: 00 00 00 0b 01 00 03 02 02 00 01 SafeWrite: 0: 00 00 00 0b 01 00 03 02 02 00 01 length: 10 read: 10 total: 10 Recv: 0: 00 00 00 0a 01 00 83 00 02 02 Recv: 0: 02 02 00 b1 00 01 toGet: 171 Recv: @EJL ID MFG:EPSON; CMD:ESCPL2,BDC,D4,D4PX,END4; MDL:L360 Series; CLS:PRINTER; DES:EPSON L360 Series; CID:EpsonStd10; FID:FXN,DPN,WFN,ETN,AFN,DAN,WRN; RID:00; DDS:011180; ELG:0E64; 0: 40 45 4a 4c 20 49 44 0d 0a 4d 46 47 3a 45 50 53 @ E J L I D M F G : E P S 16: 4f 4e 3b 43 4d 44 3a 45 53 43 50 4c 32 2c 42 44 O N ; C M D : E S C P L 2 , B D 32: 43 2c 44 34 2c 44 34 50 58 2c 45 4e 44 34 3b 4d C , D 4 , D 4 P X , E N D 4 ; M 48: 44 4c 3a 4c 33 36 30 20 53 65 72 69 65 73 3b 43 D L : L 3 6 0 S e r i e s ; C 64: 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 3a 45 L S : P R I N T E R ; D E S : E 80: 50 53 4f 4e 20 4c 33 36 30 20 53 65 72 69 65 73 P S O N L 3 6 0 S e r i e s 96: 3b 43 49 44 3a 45 70 73 6f 6e 53 74 64 31 30 3b ; C I D : E p s o n S t d 1 0 ; 112: 46 49 44 3a 46 58 4e 2c 44 50 4e 2c 57 46 4e 2c F I D : F X N , D P N , W F N , 128: 45 54 4e 2c 41 46 4e 2c 44 41 4e 2c 57 52 4e 3b E T N , A F N , D A N , W R N ; 144: 52 49 44 3a 30 30 3b 44 44 53 3a 30 31 31 31 38 R I D : 0 0 ; D D S : 0 1 1 1 8 160: 30 3b 45 4c 47 3a 30 45 36 34 3b 0 ; E L G : 0 E 6 4 ; OK ^^^ printer_transact ^^^ === printertransact === Requesting some IEEE 1284.4 credits on channel 2-2... --- CreditRequest --- Send: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff SafeWrite: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff length: 12 read: 12 total: 12 Recv: 0: 00 00 00 0c 01 00 84 00 02 02 00 01 OK, got 1 credits. Writing data to printer... --- Send Data --- SafeWrite: 0: 02 02 00 0b 00 00 73 74 01 00 01 OK Get the answer... --- Credit --- Send: 0: 00 00 00 0b 01 00 03 02 02 00 01 SafeWrite: 0: 00 00 00 0b 01 00 03 02 02 00 01 length: 10 read: 10 total: 10 Recv: 0: 00 00 00 0a 01 00 83 00 02 02 Recv: 0: 02 02 00 71 00 01 toGet: 107 Recv: @BDC ST2 **** *iiii* N*** unknown$*/**6***Q **'***7**@ X38K008097 0: 40 42 44 43 20 53 54 32 0d 0a 5f 00 01 01 00 02 @ B D C S T 2 _
16: 01 10 06 02 01 00 0f 0d 03 03 01 69 04 02 69 05 i i
32: 03 69 01 00 69 10 03 01 09 4e 13 01 01 19 0c 00 i i N
48: 00 00 00 00 75 6e 6b 6e 6f 77 6e 24 02 00 00 2f u n k n o w n $ / 64: 01 02 36 14 ff ff ff ff ff ff ff ff 51 0a 00 00 6 Q
80: 27 11 00 00 15 00 00 00 37 05 02 02 00 00 00 40 ' 7 @ 96: 0a 58 33 38 4b 30 30 38 30 39 37 X 3 8 K 0 0 8 0 9 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-2... --- CreditRequest --- Send: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff SafeWrite: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff length: 12 read: 12 total: 12 Recv: 0: 00 00 00 0c 01 00 84 00 02 02 00 01 OK, got 1 credits. Writing data to printer... --- Send Data --- SafeWrite: 0: 02 02 00 11 00 00 7c 7c 07 00 00 00 41 be a0 00 16: 00 OK Get the answer... --- Credit --- Send: 0: 00 00 00 0b 01 00 03 02 02 00 01 SafeWrite: 0: 00 00 00 0b 01 00 03 02 02 00 01 length: 10 read: 10 total: 10 Recv: 0: 00 00 00 0a 01 00 83 00 02 02 Recv: 0: 02 02 00 10 00 01 toGet: 10 Recv: ||:41:NA; 0: 7c 7c 3a 34 31 3a 4e 41 3b 0c | | : 4 1 : N A ;
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-2... --- CreditRequest --- Send: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff SafeWrite: 0: 00 00 00 0d 01 00 04 02 02 00 80 ff ff length: 12 read: 12 total: 12 Recv: 0: 00 00 00 0c 01 00 84 00 02 02 00 01 OK, got 1 credits. Writing data to printer... --- Send Data --- SafeWrite: 0: 02 02 00 11 00 00 7c 7c 07 00 82 02 41 be a0 00 16: 00 OK Get the answer... --- Credit --- Send: 0: 00 00 00 0b 01 00 03 02 02 00 01 SafeWrite: 0: 00 00 00 0b 01 00 03 02 02 00 01 length: 10 read: 10 total: 10 Recv: 0: 00 00 00 0a 01 00 83 00 02 02 Recv: 0: 02 02 00 1a 00 01 toGet: 20 Recv: @BDC PS EE:000000; 0: 40 42 44 43 20 50 53 0d 0a 45 45 3a 30 30 30 30 @ B D C P S E E : 0 0 0 0 16: 30 30 3b 0c 0 0 ;
OK ^^^ printer_transact ^^^ === get_tag === Searching for "EE:" substring... FOUND, pos=9. Searching for ";" character... FOUND, pos_end=18. Tag value:"000000". ^^^ get_tag ^^^ OK EEPROM addr 0 = 0. ^^^ read_eeprom_address ^^^ We found model code: 0x82 0x02

EEPROM DUMP: 0x00 = 0x00 0x01 = 0x00 0x02 = 0x03 0x03 = 0x00 0x04 = 0x00 0x05 = 0x00 0x06 = 0x00 0x07 = 0x00 0x08 = 0x00 0x09 = 0x00 0x0A = 0x00 0x0B = 0x00 0x0C = 0x00 0x0D = 0x00 0x0E = 0x00 0x0F = 0x00 0x10 = 0x00 0x11 = 0x00 0x12 = 0x00 0x13 = 0x00 0x14 = 0x00 0x15 = 0x00 0x16 = 0x00 0x17 = 0x00 0x18 = 0x3F 0x19 = 0x18 0x1A = 0x00 0x1B = 0x00 0x1C = 0x02 0x1D = 0x28 0x1E = 0x00 0x1F = 0x00 0x20 = 0x00 0x21 = 0x00 0x22 = 0x00 0x23 = 0x03 0x24 = 0xB7 0x25 = 0x2D 0x26 = 0x00 0x27 = 0x00 0x28 = 0x36 0x29 = 0x73 0x2A = 0xAE 0x2B = 0x23 0x2C = 0x00 0x2D = 0x00 0x2E = 0x68 0x2F = 0x5E 0x30 = 0x00 0x31 = 0x00 0x32 = 0x00 0x33 = 0x00 0x34 = 0xE0 0x35 = 0x41 0x36 = 0xE0 0x37 = 0x41 0x38 = 0x00 0x39 = 0x00 0x3A = 0x00 0x3B = 0x00 0x3C = 0x08 0x3D = 0x00 0x3E = 0x00 0x3F = 0xFF 0x40 = 0x00 0x41 = 0x00 0x42 = 0x00 0x43 = 0x00 0x44 = 0x00 0x45 = 0x00 0x46 = 0x00 0x47 = 0x00 0x48 = 0x00 0x49 = 0x00 0x4A = 0x00 0x4B = 0x00 0x4C = 0x00 0x4D = 0x00 0x4E = 0x00 0x4F = 0x00 0x50 = 0x00 0x51 = 0x00 0x52 = 0x17 0x53 = 0x13 0x54 = 0x0B 0x55 = 0x0D 0x56 = 0x0B 0x57 = 0x0D 0x58 = 0x00 0x59 = 0x00 0x5A = 0x00 0x5B = 0x00 0x5C = 0x00 0x5D = 0x00 0x5E = 0x20 0x5F = 0x00 0x60 = 0x00 0x61 = 0x00 0x62 = 0x00 0x63 = 0x08 0x64 = 0x08 0x65 = 0x00 0x66 = 0x00 0x67 = 0xFC 0x68 = 0xF0 0x69 = 0xFE 0x6A = 0xE5 0x6B = 0x1B 0x6C = 0xFC 0x6D = 0xFC 0x6E = 0xFC 0x6F = 0xFD 0x70 = 0x00 0x71 = 0x00 0x72 = 0x00 0x73 = 0x01 0x74 = 0x00 0x75 = 0x00 0x76 = 0x00 0x77 = 0x01 0x78 = 0x00 0x79 = 0x00 0x7A = 0x01 0x7B = 0x98 0x7C = 0x97 0x7D = 0x77 0x7E = 0x00 0x7F = 0x4A 0x80 = 0x07 0x81 = 0x0C 0x82 = 0x00 0x83 = 0x00 0x84 = 0x00 0x85 = 0x00 0x86 = 0x00 0x87 = 0x00 0x88 = 0x08 0x89 = 0x00 0x8A = 0x00 0x8B = 0x00 0x8C = 0x00 0x8D = 0x00 0x8E = 0x00 0x8F = 0x41 0x90 = 0x00 0x91 = 0x00 0x92 = 0x02 0x93 = 0x25 0x94 = 0x03 0x95 = 0x03 0x96 = 0x00 0x97 = 0x00 0x98 = 0x00 0x99 = 0x10 0x9A = 0x00 0x9B = 0x00 0x9C = 0x00 0x9D = 0x00 0x9E = 0x00 0x9F = 0x00 0xA0 = 0x01 0xA1 = 0x00 0xA2 = 0x00 0xA3 = 0x00 0xA4 = 0x8F 0xA5 = 0x1B 0xA6 = 0x00 0xA7 = 0x00 0xA8 = 0xD0 0xA9 = 0xB3 0xAA = 0x03 0xAB = 0x00 0xAC = 0x46 0xAD = 0x23 0xAE = 0x00 0xAF = 0x00 0xB0 = 0x00 0xB1 = 0x00 0xB2 = 0xE4 0xB3 = 0x00 0xB4 = 0xD7 0xB5 = 0x00 0xB6 = 0x00 0xB7 = 0x00 0xB8 = 0x00 0xB9 = 0x00 0xBA = 0x00 0xBB = 0x74 0xBC = 0x03 0xBD = 0x00 0xBE = 0x00 0xBF = 0x00 0xC0 = 0x58 0xC1 = 0x33 0xC2 = 0x38 0xC3 = 0x4B 0xC4 = 0x30 0xC5 = 0x30 0xC6 = 0x38 0xC7 = 0x30 0xC8 = 0x39 0xC9 = 0x37 0xCA = 0x00 0xCB = 0x03 0xCC = 0x50 0xCD = 0x03 0xCE = 0x00 0xCF = 0x00 0xD0 = 0x01 0xD1 = 0xFE 0xD2 = 0x00 0xD3 = 0x00 0xD4 = 0x00 0xD5 = 0x00 0xD6 = 0x00 0xD7 = 0x00 0xD8 = 0x00 0xD9 = 0x00 0xDA = 0x00 0xDB = 0x00 0xDC = 0x00 0xDD = 0x00 0xDE = 0x00 0xDF = 0x00 0xE0 = 0x00 0xE1 = 0x00 0xE2 = 0x00 0xE3 = 0x00 0xE4 = 0x00 0xE5 = 0x00 0xE6 = 0x00 0xE7 = 0x00 0xE8 = 0x00 0xE9 = 0x00 0xEA = 0x00 0xEB = 0x00 0xEC = 0x00 0xED = 0x00 0xEE = 0x00 0xEF = 0x00 0xF0 = 0x00 0xF1 = 0x00 0xF2 = 0x00 0xF3 = 0x00 0xF4 = 0x00 0xF5 = 0x00 0xF6 = 0x00 0xF7 = 0x00 0xF8 = 0x00 0xF9 = 0x00 0xFA = 0x00 0xFB = 0x00 0xFC = 0x00 0xFD = 0x00 0xFE = 0x00 0xFF = 0x00