Commit graph

123 commits

Author SHA1 Message Date
Solomon Peachy dd64a8f78f hiti: Initial support for P320 series. Just detection and tables.
This is where things will stand until I get one in my hands.
2023-06-05 22:26:09 -04:00
Solomon Peachy 7a6c82828c hiti: Beginnings of support for the HiTi P310 series
Just basic detection and data tables for now

And replace some magic numbers with proper names
2023-06-04 00:03:01 -04:00
Solomon Peachy ccf7fd1d93 hiti: Correct errors in the data data table filenames
Most of these are filling in gaps and changing 'default' to only apply
if it's a higher media version number than we know about.
2023-05-20 20:18:40 -04:00
Solomon Peachy f7e14cb73b hiti: Add in all known heattable files for the P520/P525 series
They'll be ignored for the most part, but that will change.
2023-05-04 15:48:15 -04:00
Solomon Peachy e34bdd143a hiti: Log the detected heattable version
This comes on the heels of adding a _lot_ of heattable decoding stuff

Getting incrementally closer...
2023-05-04 12:26:37 -04:00
Solomon Peachy f82889068d hiti: Fix error in turning on Matte mode. 2023-05-03 16:01:07 -04:00
Solomon Peachy e475160089 hiti: Update error code list and other documentation 2023-05-02 10:32:13 -04:00
Solomon Peachy 63ae3242dd hiti: Allow media version to be overridden by the printjob 2023-04-24 14:47:03 -04:00
Solomon Peachy b3258299c4 hiti: hardcode ribbonvendor code
It's what HiTi's drivers do.  the sub-verison code is a PPD option!
2023-04-23 17:58:35 -04:00
Solomon Peachy 490647876b hiti: Document a few more commands seen in the FW update process 2023-04-23 11:49:46 -04:00
Solomon Peachy 42fc2bb2bd hiti: Add support for the P461 'Prinhome'
There are still some unknowns:

 * Matte mode
 * Ribbon vendor/subtype (needed for color correction / heat table selection)
2023-04-22 11:51:22 -04:00
Solomon Peachy 3f30912f96 hiti: Document a couple more things, and fix the log messages for media type 2023-04-16 23:33:20 -04:00
Solomon Peachy 38bcf551b0 hiti: Add in correction table and heat table for P461.
We need to figure out where the ribbon vendor stuff comes from still.

Otherwise it's code complete, I think?
2023-04-16 20:48:51 -04:00
Solomon Peachy 62ae9f74f3 hiti: Implement (and decode) CMD_RDC_ROC 2023-04-14 14:06:08 -04:00
Solomon Peachy 2f5e58eab9 hiti: Add in some more heat tables for the P51x, P52x, and P72x series 2023-04-14 12:18:54 -04:00
Solomon Peachy 20bf68fc0e hiti: Updates along the way to get P461 working 2023-04-14 10:07:59 -04:00
Solomon Peachy d9147f6cac hiti: doc update 2023-04-04 12:01:16 -04:00
Solomon Peachy 79c555e195 hiti: Beginning of P461 support. Doesn't work yet! 2023-03-31 19:03:30 -04:00
Solomon Peachy 88dbbf5014 hiti: Documentation & TODO update 2023-03-20 11:46:54 -04:00
Solomon Peachy c2bf60c6eb hiti: Add P525L to usb blacklist and improve debug output slightly 2023-03-17 15:00:19 -04:00
Solomon Peachy 7c0f42ac1e hiti: Update copyright year. 2023-03-17 13:16:05 -04:00
Solomon Peachy ee1a6056f8 hiti: P525 has some differences with the P520
* Different firmware version strings
 * Use 'ri1' data files instead of 'ri'
 * CMD_EFD_CHS doesn't work
2023-03-17 13:10:48 -04:00
Solomon Peachy 7fa4515e0d hiti: P52x firmware is up to v1.28 now 2023-03-16 18:22:08 -04:00
Solomon Peachy a2ea304f5d hiti: Fix heattable_v2 read on the P52x series (nothing defined yet) 2023-03-16 18:08:47 -04:00
Solomon Peachy 247d294350 hiti: Increase buffer size for CMD_RDC_RS
P525's message is 14 bytes longer than the rest.  Details unknown.
2023-03-12 09:55:55 -04:00
Solomon Peachy 14d3709158 hiti: Correct the USB PID of the P525L 2023-03-11 13:15:13 -05:00
Solomon Peachy 7e5d0b7ed1 Revert "hiti: Fix data length specified in CMD_SEPD"
This reverts commit 49a606d5a8.

I made the change in the wrong place, and it turns out it was fine.
2022-10-29 11:20:16 -04:00
Solomon Peachy 49a606d5a8 hiti: Fix data length specified in CMD_SEPD
It should be buffer_len + 8, not + 5.  For some reason the P520L (and
supposedly the P510L) worked just fine but apparently the P510S doesn't.

Fingers crossed that this is the main problem.
2022-10-29 10:53:25 -04:00
Solomon Peachy f753005e7e hiti: set HITI_NODATA in the environment to disable data table sends
o
2022-10-29 10:27:51 -04:00
Solomon Peachy 7fc8ba7088 hiti: Major improvements in parsing v2 heattable data files.
* Properly decode length
 * Handle secondary/embedded tables
 * Document the known field types
2022-10-28 01:33:25 -04:00
Solomon Peachy e5df30205c hiti: Refactor the p51x heat table loading code a bit 2022-10-27 05:17:51 -04:00
Solomon Peachy adc7d669a1 hiti: Matrix table (aka nvram) is actually 512 bytes 2022-10-22 22:03:21 -04:00
Solomon Peachy 498fde721d hiti: fix compile error (missed a chunk when commiting) 2022-10-21 17:31:25 -04:00
Solomon Peachy 3e26608a69 hiti: Query the matrix data on p51x 2022-10-20 20:56:40 -04:00
Solomon Peachy 89700f105f hiti: Fix incorrect data accounting if we retry a plane. 2022-10-01 21:31:22 -04:00
Solomon Peachy 1e908e0422 hiti: Properly check the job status flag.
An unknown flag is ocming up that's signifying an error state.
2022-10-01 21:10:30 -04:00
Solomon Peachy 68f79125a9 docs: Update copyright year for files modified (so far) in 2022 2022-09-29 14:28:16 -04:00
Solomon Peachy 9c93ee1091 hiti: Rework paper/ribbon queries a little
* Read the paper type from the correct offset of CMD_RDS_RSUS
 * Use structs instead of byte arrays for RIS and RSUS queries

Unable to test for regressions at the moment.
2022-09-16 14:55:01 -04:00
Solomon Peachy d47097e56d hiti: Fill in heat data files for P72x and P75x 2022-06-26 18:33:12 -04:00
Solomon Peachy 9316644f0b hiti: Hook up P530D, probably won't work yet. 2022-06-26 18:01:08 -04:00
Solomon Peachy a809283189 hiti: Parse v2 of the heatdata format
The structure is known, and some guesses as to the individual data blocks.
Don't know how this maps to actual printer commands just yet.
2022-06-26 17:54:54 -04:00
Solomon Peachy da2a15df6a hiti: Fix inverted vertical offset compensation 2022-06-26 17:54:54 -04:00
Solomon Peachy ede367ee5b hiti: Use proper delays when sending SEHT and CVD data.
(Vendor code delays 200ms after sending each!)
2022-06-23 16:29:40 -04:00
Solomon Peachy 6d24d9ab46 hiti: Forgot to commit a few definitions 2022-06-21 10:55:02 -04:00
Solomon Peachy d9f9337d67 hiti: Add in an unknown command seen on the P51x. 2022-06-20 23:29:25 -04:00
Solomon Peachy d553166783 hiti: Some models only return 64 bytes of data at a time
So if we are reading larger chunks of data, keep reading until we're set.
2022-06-18 18:16:26 -04:00
Solomon Peachy 20797ec00c hiti: Another attempt to fix the P510-series wonkiness
libusb is kicking back an overflow error, which in turn comes from the
kernel.  What doesn't make sense is that the buffer is supposedly
right-sized.
2022-06-17 21:52:14 -04:00
Solomon Peachy 12ca1f99de hiti: RDS_RIS and RDS_RSUS take 0 arguments, not 1.
...Hopefully fixes the P51x probing.
2022-06-12 11:13:31 -04:00
Solomon Peachy 8150fdeb83 hiti: P51x models don't handle CMD_RDS_RSUS (request supplies status)
Instead they only use RDS_RIS (request input status)
2022-06-09 13:24:13 -04:00
Solomon Peachy 1d8f534ffc hiti: Add in a bunch of updated LUTs, and doc updates
(Affects: P51x, P52x, P72x, P75x)
2022-05-26 14:36:36 -04:00