Toms Online Notebook Sharing my stuff.

(Trying to) Install NVIDIA driver on ASUS Zenbook Fedora

by tgutwin

Posted on Sunday Jun 03, 2018 at 08:08PM in Technology

It did not work because I could not disable intel video chipset in my uefi bios. :( fedora icon

Read More

ASUS Zenbook UX501V - Upgrade F27 to F28

by tgutwin

Posted on Sunday Jun 03, 2018 at 04:52PM in Technology

fedora Icon

UPDATE to F30. and Fixed acpi (see grub commandine below)

NVidia driver issues still persist, but I finally debugged (and disabled) acpi consistent errors that had be plaguing me in F27.

I added a kernel boot param to my Grub2 commandline.

  • acpi=off

use the following to fix grub

grubby --info=ALL
grubby --remove-args="acpi=off" --update-kernel /boot/vmlinuz-5.4.19-100.fc30.x86_64

grubby --set-default /boot/vmlinuz-5.4.19-100.fc30.x86_64
grubby --info=ALL

You can also remove a kernel from the grub menu with

grubby --remove-kernel=/boot/vmlinuz-5.5.10-100.fc30.x86_64

You can also remove the actual kernels

rpm -qa kernel

dnf remove kernel-5.5.16-100.fc30.x86_64

Read More

Neutron Music Player Song Ratings - Database transfer

by tgutwin

Posted on Thursday Jan 19, 2017 at 08:24PM in Technology

Neutron LogoNeutron Music Player Song Ratings: I needed to transfer all the 1000s of song ratings from an old android pad to a new one. I figured out how to access and restore the song ratings in the Neutron music player (Android) SQLite database.

See the SQL, database tables and how I did it.

Read More

Raspberry Pi2 Pi4J Java - RGB LED Example

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:41PM in Technology

Pi4J IconI have started to get some useful sample/examples completed on my Raspberry Pi2. Here is the Schematic and Java code to control an RGB LED.

I also have examples for:

  • controlling multiple GPIO pins with external transistor driven LEDs and Java Pi4J code that times their cycling.
  • Pulse Width Modulation (PWM) control of GPIO pins and an RGP LED.

 These will be discussed in other posts.

Read More

Bluetooth Pairing to HP mouse with no pairing code

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:32PM in Technology

Fedora Icon[FIXED] The Gnome Bluetooth GUI via settings FAILS to pair with my HP Bluetooth Laser Mobile Mouse. This has not worked in the gui bluetooth settings app for a few versions (maybe F19).The problem is that the mouse does NOT have a pair code, and the it won't pair with '0000' or '1234'.

I figured out to manually pair it from the commandline without a pairing code!

use bluetoothctl on the commandline

use the following commands to connect to the MAC address...

Read More

XCircuit - Download, Make and install on Fedora 21

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:28PM in Technology

Now that I have my Raspberry Pi2 working with Java, I need to draw up some schematics....

Here is how I downloaded & installed the latest Git version of XCircuit on my Fedora 21 workstation.

It includes all the Fedora Yum  RPM packages I had to install to get it to build from source - you might need others.

Read More

Raspberry Pi2 -getting setup

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:27PM in Technology

RaspberryPi IconGetting Fedora 21 setup and configured to comfortably work with Java on my new Raspberry Pi2. My last entry desribed the install.

I will describe how I configured things to make it efficient to test and develop Java on my Pi2:

  1. Boot to multi-user commandline (and how to start the graphical desktop if needed)
  2. Samba shared directories
  3. SSH without password from my workstations

Read More

My New Raspberry Pi2 running Fedora 21 with Full JAVA JDK

by tgutwin

Posted on Tuesday Jan 26, 2016 at 08:23PM in Technology

Raspberry IconI Got a Raspberry Pi2 ! It has a 900MHz quad-core ARM Cortex-A7 CPU  and 1GB RAM.

I first tried noobs with Debian and it ran out of the noobs box very well.  The noobs version of Fedora DID NOT because it was not built for the new version of the ARM processor in the Pi2. That was no big deal because thanks to user clivem on the Pi Forums an image was avaialble.  See the forum link for the details. It is a full F21 version that is called FIDORA.

It was very easy to get this working. It is Fedora 21 for the ARM, with full yum repo support including rpmFusion.

Read More

My Onkyo NR-5008 AVR out for repair

by tgutwin

Posted on Monday Jan 25, 2016 at 06:32PM in Technology

NR5008My Onkyo NR-5008 receiver had been showing signs of a well documented hardware problem for months.

  • No speakers show up as being connected. 
  • The network setting menu item is also grey'd out.

See for the details.

Since I am the developer for the Java implementation of the Onkyo eISCP, this is a big problem for me :(

Read More

Small PHP/OwnCloud issue during Fedora 20 to 21 upgrade

by tgutwin

Posted on Monday Jan 25, 2016 at 06:30PM in Technology

After succesfully upgrading F20 to F21 using Fedup (on my server); my Owncloud CRON install was not working.php logo

Cron entry looks like:

*/10  *  *  *  * apache php -f /var/www/html/owncloud/cron.php

So I tried it on the commandline and an error told me that the new
upgraded version of PHP had a change in the default setting (in
/etc/php.ini)  for always_populate_raw_post_data. It told me to set it to:

always_populate_raw_post_data = -1

The cron now runs without error.

My WebAPP/Archiver for Rainforest Eagle Messages

by tgutwin

Posted on Monday Jan 25, 2016 at 06:29PM in Technology

Announcing PowerEYE, your own WebAPP to access & archive your Rainforest Eagle power meter data (privately) to your own computer.

  • Do you have a new smart meter from your power utility?
  • Do you also have a Rainforest Eagle energy access gateway device to that talks to your meter and collects your power & energy usage data?
  • Do you also want more infomation from your Eagle or have concerns about the privacy of sending your data over the internet just to see some detailed usage charts or download your data?
  • Do you also have a UDI ISY-994 home controller that you want to control or send the Rainforest Eagle messages to?

Then this might be of interest to you...

Read More

Change Default (bootup) Runlevel on F17 / MythTV box

by tgutwin

Posted on Monday Jan 25, 2016 at 06:27PM in Technology

fedora.pngF17 has not moved fully to systemd (as doc'd on, so to change the default run level use the following commands:

Go to the non-graphical multi-user commandline bootup:

rm -f /etc/systemd/system/;ln -s /lib/systemd/system/ /etc/systemd/system/

 go to the full graphical bootup:

rm -f /etc/systemd/system/;ln -s /lib/systemd/system/ /etc/systemd/system/

Read More

Java Changed security permission for DERBY network socket

by tgutwin

Posted on Monday Jan 25, 2016 at 06:25PM in Technology

I just realized that my Apache Derby database had stopped listening on its DB port 1527.Apache Derby

It took a bit of tracing but soon found
that a Java runtime policy had changed to be more restrictive than
before. It now restricts java apps to create and listen to IP ports by

The FIX:
add the follwoing to the end of the java.policy file in the jre\lib\security dir

grant {
permission "localhost:1527", "listen";

Thats it. the derby network server now starts as usual.

New Zoneminder install on Fedora20 (from Source)

by tgutwin

Posted on Monday Jan 25, 2016 at 06:22PM in Technology

I updated my Zoneminder installation to the latest version (1.27 master branch) from source at GitHub. My intention is to get the latest version that has an updated FFMPEG library and the libVLC. My original intention was to also building x264 and ffmpeg from source to ensure I have all codecs compiled in from the start.I did not have to do that because the Fedora20 Packages from RPMFusion already have what I needed (that makes life easier). I have done this before (see for by past experiences.

I am also re-installing the OS - Fedora20 to get the latest security updates.

The Zoneminder wiki has pretty good instructions.
The forum also has a very good summary of installing from RPMs

This post documents my steps

Read More

Installing Apache Roller in Jetty 9

by tgutwin

Posted on Sunday Jan 24, 2016 at 05:15PM in Technology

jettyIcon.pngsteamroller5.jpgI have been using Google for my Web Based notebook Blog for a few years, however, it did not have all the features I wanted to use; like commenting and a tag cloud. SO, I installed my own weblog software - Apache Roller. I also looked at WordPress, but I wanted a Java only solution. You are looking at it right now. This is how I got it running on Jetty.

I am going to point out how easy it was to install in a simple Java Servlet engine like Jetty, without a full Application Server. The Roller instal docs say that all it needs is a servlet engine, but then it goes on to only have examples for installing in full J2EE Application Servers (JBOSS, Tomcat, Websphere).

I use Jetty 9 on its own, without a full App server, and it was very easy to get going. My production DB is MariaDB (mySql) on Fedora 23.

Read More