site  contact  subhomenews

Xine and ethernet fixes

October 09, 2016 — BarryK
A couple of "interesting" bugs fixed, running Quirky on the Pi2.

Xine
The menu entry for Xine multimedia player was wrong.
woofq, the Quirky build system, has a template for package 'xine-ui', that amongst other things, installs a custom /usr/share/application/xine.desktop

However, in the DEB package, /usr/share/applications/xine.desktop is a symlink to /var/lib/xine/xine.desktop, and this caused the custom xine.desktop to not install.

Why on earth put xine.desktop in /var/lib/xine?!
Anyway, I fixed it.

SNS
This is Simple Network Setup, to be found in /usr/local/simple_network_setup.
Running on the Pi2, I am using my new TP-Link ethernet-wifi adaptor:
http://bkhome.org/news/201609/tp-link-ethernet-wifi-adaptor.html

Easy to connect to the Internet with this, however, after a reboot is is supposed to automatically connect, but doesn't. Nor does clicking the "connect now" button in the SNS window.

I discovered why. SNS assumes that all of the network drivers are modules. However, I am using the official Pi kernel, not one that I compiled myself, and the 'smsc95xx' driver is built-in to the kernel, not a module.

I have edited /usr/local/simple_network_setup/rc.network and fixed this bug.

Tags: linux