Category: Computers

The power of... old laptops? (Lenovo X200t)

· Computers

After I failed to install pfSense on my old Lenovo X200t (manufactured 05/2009!), I guess I was on a roll. So after verifying that openSUSE Tumbleweed ran, I immediately blew it and its thousands of configuration options away and tried to install Chrome OS. More specifically, Neverware Cloudready Home Edition. Turns out, works like a charm. Coldstarted boot-up (with a spinning hard-drive, not a SSD!) in about 20s to the login screen, and though the pen doesn’t work, it’s a perfectly functional and fast web browsing device, running everything that the Google Chrome store has to offer very well.

∼ Continue Reading ∼

Adding an old Dell Color Laser Printer 1320c on Linux

· Computers

Brought back an old Dell 1320c Color laser. First had to find how to hook it up on Windows 10, then Linux.

  • Win 10: download the driver file from the Dell support site, even if Windows says it has a driver file. The default Windows driver will allow you to print, but will not allow you to configure the printer - for instance, how it hooks into the network. For that, switch to the Dell driver.
  • Linux: no PPD available (at least not on openSUSE). Fix was found by … Googling! I can confirm that this old post still works. Note that it is not sufficient (as I thought) to just grab the PPD - you need the cups filters that the RPM installs (mirrored here for convenience).

Success with touch and pen on Lenovo X1 Yoga (2016)

· Computers

Found the solution, and it should be moving into the next kernel (see my post here):

(note: I’m on openSUSE LEAP 42.1/kernel 4.5.0-10.gb98c3d3-default)

git clone git://git.code.sf.net/p/linuxwacom/input-wacom linuxwacom-input-wacom
cd linuxwacom-input-wacom
git checkout origin/jiri/for-4.6
./autogen.sh
make
sudo make install
sudo /sbin/modprobe -r wacom
sudo /sbin/modprobe -r wacom_w8001
sudo /sbin/modprobe  wacom
sudo /sbin/modprobe  wacom_w8001
sudo /sbin/mkinitrd

Not certain the last line is necessary, but did it anyway. Yey!

Using Lenovo X1 Yoga with openSUSE Leap 42.1

· Computers

(reposted from forums.opensuse.org)

New Lenovo X1 Yoga Gen 1 (really nice machine). Originally installed openSUSE 13.2 (no Wifi, no touchscreen), then upgraded to Leap 42.1 (direct install did not work, blank screen). Previous device is Lenovo X220T with openSUSE 12.1 through 13.2, everything working with some custom scripts (I generally know what I’m doing).

Problem: Touchscreen does not work (pen or touch)

I have tried this with stock kernel from Leap 42.1 (kernel-default-4.1.15-8.1.x86_64), then tried a kernel from kernel:stable (kernel-default-4.4.1-4.1.g4dac1be.x86_64), results are (for touchscreen) the same.

∼ Continue Reading ∼

The joys of Linux kernels, distros, and Google Chrome

· Computers

One tends to think of something like a web browser being very much disconnected from the intricacies of Linux kernels. But Google Chrome regularly tries to interface in very deep ways, either with the kernel or the X11 graphical system. One recent example is:

Check failed: NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid_)

As usual, Google (not Chrome) is the answer, leading (in this case) to https://productforums.google.com/forum/#!topic/chrome/EAc_PuY9uh0.

Two tips from my experience running a triple-monitor workstation with virtual machines (VMware, VirtualBox) and Nvidia drivers: keep older kernels around, and keep the installation materials (Nvidia) around.  In my case, each kernel upgrade requires a re-install of the Nvidia drivers (there are probably more elegant ways of doing this, but I didn’t do those), and keeping kernels around in case that doesn’t work. To keep multiple kernels around (live, installed on the system), go to /etc/zypp/, and (as sudo) edit zypp.conf to contain the following lines:

∼ Continue Reading ∼

Making Crashplan work on Ubuntu 12.04 LTS in 2015

· Computers

It’s always nice to have a LTS version, but sometimes, software does lag behind. To wit, I noticed some complaints about failure to update in Crashplan (well, the failed updates filled up the filesystem…): it needed Java > 7, which of course wasn’t available.

Wed Nov 4 10:43:45 EST 2015 : JAVACOMMON is set: /usr/bin/java
Wed Nov 4 10:43:51 EST 2015 : Current Java Version: 1.6
Wed Nov 4 10:43:51 EST 2015 : This client requires one of these JREs: 1.7 1.8.  Exiting upgrade

I followed instructions at How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS, with the modification that I only installed the openjdk-8-jre-headless package, which greatly reduced the amount of dependencies (no graphics!). That might affect running Crashplan locally, but mostly, I connect to it remotely. So, we’ll see.

∼ Continue Reading ∼

Benchmarking old systems

· Computers

Gearing up to soon buy a new laptop - taking stock of old ones still hanging around the house:

and my desktop (Intel Core i7 CPU 980 @ 3.33GHz with a Asus P6X58D-E, 12 cores) [zotique] (names in [brackets] refer to the system name below). Most of my work is done on ECCO anyway, but the occasional test runs and compiles are done on these systems. Still use the X61 and the X200T for travel (when you don’t want to bring everything with you), and they still (kind of) work well. More precise benchmarking using the Phoronix Test Suite:

∼ Continue Reading ∼

Convert AVCHD to MP4

· Computers

I often have run into the problem that Linux can directly read the MTS files, but Windows and Mac can only read them within the original file structure. There may be a good reason for that, but I don’t see it.

This converts MTS to MP4 using ffmpeg or its successors:

ffmpeg -i 00008.MTS -c:a copy -c:v copy 0008.mp4

Oh, and to then put the videos side-by-side, this might work (testing it right now)

∼ Continue Reading ∼