Pizza is currently certified at Master level.

Name: Solomon Peachy
Member since: 2001-10-04 19:49:21
Last Login: 2016-10-21 11:31:33

FOAF RDF Share This

Homepage: http://www.peachyphotos.com/blog

Notes:

A human being should be able to change a diaper,
plan an invasion, butcher a hog, conn a ship, design a
building, write a sonnet, balance accounts, build a wall,
set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, pitch manure, solve equations, analyze
a new problem, program a computer, cook a tasty meal,
fight efficiently, die gallantly.

Specialization is for insects.

-- Robert A. Heinlein, "The Notebooks of
Lazarus Long"

Currently residing in sunny
Melbourne,
Florida
, I'm employed by href="http://www.linux-wlan.com">AbsoluteValue Systems
to write 802.11 network drivers for Linux and other
miscellaneous embedded-type stuffs.

My main passion
these days is photography;
href="http://www.peachyphotos.com">here is the portal to
it all.

Projects

Recent blog entries by Pizza

Syndication: RSS 2.0

Call for testing on Mitsubishi printers

In the past I've written about the particularly poor level of support for Mitsubishi printers under Linux. In the past couple of months, that has changed substantially, although not due to any action or assistance on Mitsubishi's part.

Gutenprint 5.2.11 had usable support for the CP-9550DW and CP-9550DW-S models, including an intelligent backend that handled the printer communications. However, the rest of the CP-9xxx family wasn't supported.

The 5.2.12 release of Gutenprint will support most of the CP-9xxx family. This includes a considerable amount of work on the backend, genericizing it so that the other models can be cleanly handled. This was a rather disruptive change, so it's possible the formerly-working CP-9550 family has regressed. Beyond that, the newly-supported models need testing to confirm everything functions as expected.

Here is the list of all models affected by this development:

  • CP-9000DW
  • CP-9500DW
  • CP-9550DW (previously working, needs retesting)
  • CP-9550DW-S (previously working, needs retesting)
  • CP-9600DW
  • CP-9600DW-S
  • P-9800DW
  • CP-9800DW-S (confirmed working!)
  • CP-9810DW
  • CP-9820DW-S

Also, I still need testers for the following models:

  • DNP DS80DX
  • Sony UP-CR10L (aka DNP DS-SL10)
  • Mitsubishi CP-D70DW, CP-D707DW, CP-D80DW, and CP-D90DW (plus their -S variants!)
  • Fujifilm ASK-300
  • Sinfonia CHC-S1245/E1 and CHC-S6245/CE1
  • Kodak 7000, 7010, 7015, and 8810

If anyone reading this has access to one or more of these printers, please drop me a line!

Syndicated 2016-10-18 15:23:19 from I Dream of Rain (free_software)

Mitsubishi CP-D70 family, working!

Over the past few years, I've written a lot about the various members of the Mitsubishi CP-D70 family of printers, and how they were utterly worthless under Linux.

These printers are unusual in that they required the host computer to perform perform gamma correction and thermal compensation to the image data in order to generate sane output. (If this sounds familiar, it's because the Sinfonia CS2 was similarly afflicted). This relied on unknown, proprietary algorithms only implemented within Mitsubishi's drivers.

To make along story short, I've been attempting to reverse engineer those algorithms for nearly three years, and I'm pleased to announce that I've finally succeeded. While I can't promise the results are identical to Mitsubishi's own code, It is now possible to generate high-quality prints with these printers using entirely Free Software.

The library is called 'libMitsuD70ImageReProcess', released to the public under a GPLv3+ license.

Just to be absolutely clear, Mitsibushi is not responsible for this library in any way, and will not support you if you complain that the output is somehow deficient or your printer catches fire when you try to print pictures of Margaret Thatcher posing in her skivvies.

Here's the list of the now-functional printers:

  • Mitsubishi CP-D70DW, CP-D707DW, CP-K60DW-S, CP-D80DW
  • Kodak 305
  • Fujifilm ASK-300

While all of these models are expected to work, only the Kodak 305 has actually been tested. Please drop me an email or comment here if you have one of these printers and would like to help test things out.

In particular, if there's someone out there with a dual-decker CP-D707DW, there are opportunities for further enhancements that I'd like to try.

All code except for the library is now committed into Gutenprint, but is not yet part of any [pre-]release. So if you want to test this stuff out, you'll need to grab the latest Gutenprint code and libMitsu70ImageReProces out of git and compile/install them manually. Once this is a little more stable I'll package the library code in a tarball for simpler distribution.

In other news, while the Kodak 305's official Windows drivers only expose 4x6 and 8x6 prints, the printer firmware also supports the 6x6, 4x62, and 2x62 sizes that the Mitsubishi CP-K60DW-S supports. You'll need to ensure you're using the 1.04 firmware! I have also received reports that the '305 will accept the K60's print media, so in theory 5x7 and 6x9 support is possible.

Happy printing!

Syndicated 2016-10-06 19:08:53 from I Dream of Rain (free_software)

Progress with the Mitsubishi CP-K60DW-S and Kodak 305

As mentioned earlier, the Kodak 305 is a rebadged variant of the popular Mitsubishi CP-K60DW-S. Both models, along with their siblings (ie the CP-D70/D707/D80 and the Fuji ASK300), utilize a print engine that requires the host system to perform thermal compensation and other processing typically handled within the printer itself.

Not knowing how those algorithms work, these printers haven't been terribly useful under Linux, with the only prospect being a painful reverse-engineering of the Windows drivers.

A couple of months ago, Mitsubishi released a x86 binary-only CUPS driver for the D70 and D707 models. Other models weren't supported, and naturally this wouldn't work on other CPU architechures. Still, it provided a much more attractive reverse-engineering target, and as my interest came and went, I made slow progress.

Another wrinkle is that the CP-K60DW-S and Kodak 305 are slightly different from the others, to the point where my backend code was unable to print at all -- the printer communicates fine until the image data is sent over, and then nothing. All attempts to diagnose this further hit a dead end. That said, due to the unknown image processing algorithms, it was largely an academic exercise anyway.

Fast forward to a week ago. I lowballed a bid for a used Kodak 305 along with some unused media, in an "as-is, no warranty or returns" state. The printer arrived two days ago, and I got lucky; not only did the printer work, but it had about 140 prints worth of remaining media, far more than enough to get things going. An added bonus is that the printer had only logged 587 prints in total, a pittance for this kind of printer.

I quickly found and fixed a small pile of bugs, but successful printing still eluded me. I could find no differences in the data being sent between Windows vs Linux. Lacking a true hardware USB sniffer, I turned my attention to the enumeration to see if anything different was going on there.. and in the process I discovered something unexpected.

It turns out that these two printers enumerated differently under Linux than under Windows. Under Windows, only two endpoints were reported, one each for bulk input and output. However, under Linux, there were three endpoints; two for output and one for input. It seems that the backend was attaching to the second output endpoint, which accepted all commands, but not the actual image data needed to submit prints.

I'm at a loss to explain why the device would enumerate differently under Windows vs Linux; perhaps there's somthing funky going on behind the scenes and usbpcap only saw "cooked" data based on the driver's needs, whereas Linux's view more accurately represented the actual negotiation?

In any case, the backend now binds to the first pair of endpoints it finds, and can now print on all models of the printer family -- but the output is still unusably awful.

That success enables me to resume my reverse-engineering efforts, with an actual printer to test my experiments upon. Fortunately, the printers all use the same algorithms, differing only in a couple of tabular (CSV-based) data files. Inferring the internal data structures based on how the data flows into the system will be my next step.

Things are looking up, and perhaps sooner rather than later Mitsubishi's current printer family will be fully usable with Free Software. It's a shame this effort is even necessary, but I do love a challenge!

Syndicated 2016-09-02 13:22:23 from I Dream of Rain (free_software)

Netflix and Hurricane Electric's IPv6 service

For a few years now, I've used Hurricane Electric to get a native IPv6 tunnel to the internet. I've also been using Netflix streaming since it was first introduced. Life was good.

Netflix, on behest of its content suppliers, has started to crack down on folks using VPNs or proxys, because they're often used to work around artificial geographical restrictions.

A day or two, that blocked proxy list grew to include Hurricane Electric's IPv6 service, which I make heavy use of. Despite a US billing address, being physically located in the US, and using a US tunnel endpoint, Netflix treats me as an eeeevil bad person.

Their only advice is "disable your proxy", which is not an option as I have IPv6-attached servers that need to remain online.

Netflix's applications don't provide a way to utilize IPv4 only, which basically means I had to figure out a way to force netflix traffic to travel over IPv4. Ideally, I'd block the IPv6 AAAA dns lookups, but there's no simple way to do that.

However, one can just null-route the entire Netflix IPv6 address range:

    ip -6 route add blackhole 2406:DA00:FF00::/48

This will, after a little delay, cause Netflix to fall back to using IPv4, and all is well.

Ironically, being able to avoid this sort of BS is one of the reasons why Netflix was such a compelling service, but the balance is tilting back towards piracy providing a better overall user experience. Part of me hopes that the stats show a nice correlation between making legal services less useful and piracy rates going back up.

Addendum: About a year ago, my ISP (Comcast Business) rolled out native IPv6 service which by all acconts works quite well. Unfortunately, they don't offer a static IPv6 allocation, which renders the whole thing useless for my needs.

Syndicated 2016-06-04 12:41:06 from I Dream of Rain (free_software)

This is why ECC RAM is a good thing

    [2954432.978093] [Hardware Error]: Corrected error, no action required.
    [2954432.982285] [Hardware Error]: CPU:6 (10:8:0) MC4_STATUS[-|CE|MiscV|-|AddrV|CECC]: 0x9c5cc820001c017b
    [2954432.986453] [Hardware Error]: MC4 Error Address: 0x000000054a089400
    [2954432.990528] [Hardware Error]: MC4 Error (node 1): L3 data cache ECC error.
    [2954432.994525] [Hardware Error]: cache level: L3/GEN, tx: GEN, mem-tx: EV
    [2954432.998450] mce: [Hardware Error]: Machine check events logged

Who knows what was going at the time...

Syndicated 2016-02-24 02:08:18 from I Dream of Rain (free_software)

166 older entries...

 

Pizza certified others as follows:

  • Pizza certified Pizza as Journeyer
  • Pizza certified rpl as Journeyer
  • Pizza certified alan as Master
  • Pizza certified jameson as Journeyer
  • Pizza certified proski as Master
  • Pizza certified Stevey as Master
  • Pizza certified joey as Master
  • Pizza certified etbe as Master
  • Pizza certified davej as Master
  • Pizza certified marcelo as Master
  • Pizza certified BrucePerens as Master
  • Pizza certified miguel as Master
  • Pizza certified davem as Master

Others have certified Pizza as follows:

  • Pizza certified Pizza as Journeyer
  • rpl certified Pizza as Journeyer
  • jameson certified Pizza as Journeyer
  • mobius certified Pizza as Apprentice
  • lev certified Pizza as Apprentice
  • sprite certified Pizza as Apprentice
  • Denny certified Pizza as Apprentice
  • gp certified Pizza as Journeyer
  • mattr certified Pizza as Journeyer
  • ishamael certified Pizza as Journeyer
  • mascot certified Pizza as Journeyer
  • mrsbrisby certified Pizza as Journeyer
  • realblades certified Pizza as Journeyer
  • richdawe certified Pizza as Journeyer
  • proski certified Pizza as Master
  • mpr certified Pizza as Journeyer
  • ebf certified Pizza as Journeyer
  • Stevey certified Pizza as Journeyer
  • nixnut certified Pizza as Master
  • fzort certified Pizza as Journeyer
  • sye certified Pizza as Journeyer
  • ncm certified Pizza as Master
  • dangermaus certified Pizza as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page