Posts

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 ∼

Secret Data

· General

Secret Data

On replication in economics. Just in time for bar-room discussions at the annual meetings. “I have a truly marvelous demonstration of this proposition which this margin is too narrow to contain.” -Fermat “I have a truly mar…

This was posted on Google+

The wonders of Android 6.0 (Marshmallow) battery saving

· Android

My Nexus 7 (2013) got it’s Android 6.0 (aka Marshmallow) upgrade two weeks ago. One of the features of Android M was improved battery life. After multiple reboots, app upgrades, etc., here’s what it looked like:

Screenshot_20151119-164155

Of course, that seems totally wrong - before the upgrade, I was getting about 2 days worth of morning/evening use out of it. Now this? Google helpdesk (yes, there is such a thing) couldn’t offer much:

∼ Continue Reading ∼