2011-09-23

Solaris 11 Express 2010.11 on Ultra 10 etc. -- not supported

Well, I've tried to test Oracle Solaris 11 Express 2010.11 (it's the resulting product of "closing" the OpenSolaris, not to mention an open source fork called OpenIndiana) on old Sun Ultra 10 workstation with 440 MHz UltraSPARC IIi CPU (64-bit), 512 MB of RAM, 20 GB IDE HDD (Seagate) and integrated PGX24 (ATI Rage, 4 MB RAM) video adapter.
  • CD-RW with burnt "text install" ISO was used as installation media (luckily, the built-in IDE CD-ROM made by LG can read CD-RW disks).
  • Text install procedure didn't show any serious problems, except the setup routine couldn't output the text correctly if non-standard screen resolution was selected and the install process was rather slow (nothing strange, the IDE subsystem of this computer is really slow).
  • The OS boots! Slowly. ZFS is definitely funny. And so the text mode is (kernel can't find a driver for the video buffer, but it's not really related to the lack of desktop environment). Console text editor called nano said it "doesn't know how to deal with your dumb terminal", but the mighty vi works.
  • It was a text install, so the graphical desktop environment is not installed by default. To get the GNOME, additional packages are needed to be installed from the repository.
  • For greater repository availablity, it was transferred into the local filesystem: it was copied through SSH in the form of DVD image, which was mounted and its contents copied (yeah, it's an ugly way, don't try this at home: http://www.oracle.com/technetwork/articles/servers-storage-admin/s11exrepositoriesalta-187967.pdf )))
  • The next step was to install (and then remove) the slim_install package, which depends on Xorg, GNOME and so on: http://blogs.oracle.com/stw/entry/getting_gdm_to_work_on
  • Really, it not helps, because X Server needs some drivers to work with the peripherals. OpenSolaris drivers for SPARC graphic cards can be downloaded here: http://hub.opensolaris.org/bin/view/downloads/sparc_graphics
  • Yes, they install, but complain there's no Xsun installed, and it's the main problem. After installation of the graphic card drivers and restarting the GNOME GDM login screen shows up, but the colors are distorted and keyboard with mouse are functioning non-adequately (some people confirm that: https://forums.oracle.com/forums/thread.jspa?threadID=2136250). Xsun was removed with no further support planned in Solaris 11 and Xorg provided in the repository has no SPARC graphics support. But you can try to hack it yourself and/or use remote X server.
  • Don't waste your time installing it on your Ultra 5, it's basically the same computer with some parameters reduced to fit in a pizzabox case.
  • At last, Oracle has simply stated that "legacy SPARC hardware" (UltraSPARC I, II, IIe, III, IIIi, III+, IV and IV+ processor architectures, as reported by the Solaris psrinfo -pv command) support has been removed from Solaris 11, only SPARC Enterprise M-series and T-series Servers will be supported; "legacy SPARC hardware" still will be supported by Solaris 10: http://www.oracle.com/technetwork/systems/end-of-notices/eonsolaris11-392732.html

Conclusion: the last version of Solaris that really supports 64-bit SPARC workstations is Solaris 10.

OpenWindows in Solaris 9 and Solaris 10

OpenWindows desktop environment was removed from Solaris 9 in favor of CDE (Common Desktop Environment). Some OpenWindows compatibility libraries are still present in the system, however.

IMHO, OpenWindows looks much more better than CDE :-)

Fortunately, there is a project that allows to have almost full OpenWindows environment in Solaris 9 and 10 (SPARC and x86). It's called OWAcomp (OpenWindows Augmented Compatibility Environment):
http://freshmeat.net/projects/OWacomp
http://step.polymtl.ca/~coyote/XView/index.php?path=OWacomp/

OpenWindows needs Display PostScript to work correctly, so if you want to use it in Solaris on x86 platform, you need to switch X server from Xorg to Xsun (use kdmconfig utility, /usr/openwin/bin/kdmconfig).

2011-09-21

Few notes about using Canon LBP CAPT laser printers in Linux / *nix

LBP means "laser beam printer" and CAPT does "Canon advanced printing technology".

CAPT devices are some kind of "Windows GDI [Graphics Device Interface] printers". All the RIP [Raster Image Processing] for these printers is done by the driver installed on the host computer, which allows the printer itself to stay relatively "dumb" and inexpensive. They use some proprietary / undocumented protocols called SCoA ("smart compression architecture") and HiSCoA ("high" version, probably) for data compression and communication.

The official Linux CAPT drivers are closed-source with some open-source parts. They support mainly RPM-based (like RHEL, Fedora and openSUSE) and DEB-based (like Debian and Ubuntu) Linux distributions.
CUPS carries out the standard PostScript print processing work, the rest is done by the CAPT driver part itself (and it has some bugs and limitations).
Some instructions about configuring the CAPT printers in Ubuntu can be found here:
Note. It's quite interesting that LBP-810 is unofficially supported by the LBP-1120 driver.

AFAIK, currently the most up-to-date version of official Linux CAPT driver is 2.71 (May 2017).
  1. Canon South & Southeast Asia ("Issue Number : 0100459601");
  2. Canon Australia support website ("Issue Number : 0100459602");
  3. Canon Europe support website (it's called "Download: 0100459604", but unfortunately I can't find a more specific generic direct link; please try to search using your printer model).
(Sometimes, some regional sites can have some delays in version release, so it's better to check multiple download links above).

Also, some projects do exist in attempt to develop alternative, free & open source Linux / *NIX drivers with some help of reverse engineering.
  1. Canon LBP-810 / LBP-1120 CAPT Linux driver (inactive; there's also a Canon LBP-660 / LBP-460 Linux driver there).
  2. Unofficial LBP-3010 CAPT3 Solaris driver at SourceForge (another inactive project).
  3. captdriver is a project somewhat inspired by the preceding ones; initially was aimed at LBP-2900, support planned for LBP-810 / LBP-1120 and newer printers like LBP-3000 etc.
    1. GitHub - agalakhov/captdriver: Driver for Canon CAPT printers
    2. GitHub - agalakhov/anticapt: CAPT reverse engineer scratch repo
    3. foo2capt [old versions at SourceForge]
    4. Canon LBP-2900 и другие CAPT-принтеры - ПИШУ ДРАЙВЕР [a discussion in Russian on the LINUX.ORG.RU forum]
---
Last updated: 2017-07-15