Sunday, 27 May 2012

Garmin Forerunner 405 Connect to OpenSuse linux

I just got my Garmin Forerunner 405 gps watch and it looks great, a little bit on the chuggy side for my wrist, but ok, what can we expect ;-)

I wanted to connect to linux to download my first workout.

lsusb did not recognise the stick at first. Only when I installed garmin drivers found at software.opensuse.org, it would recognise the stick.

Ok, so now what...
I downloaded and compiled gant, from: https://github.com/jamesarbrown/Gant

 make clean
make clean
make

Now to pair the device:
./gant -f mydevname -a auth405

Make sure your watch in settings has pairing on. This creates a tcx file, that you can import on endomondo, or garmin connect. 

The result:

Now I am just experimenting and seeing if I can get a browser plugin to work... http://software.opensuse.org/package/GarminPlugin looks promising...

Friday, 13 April 2012

Kobo Touch ebook reader

After considering somewhat all ebook readers, I just got a kobo touch ebook reader.




It supports all type of file formats (including pdf, epub, mobi and cbr which are the ones I use). Has wifi. Is superlight. If you look around it's even cheaper than the kindle. Advantage is that you are able to rotate the screen, which is a feature that is no longer available on the kindle. The system is quite stable, and battery life is ab. 1 month. It even has a social app to connect to facebook if you are into that.

And not to mention... it's superfun and nice to read... easy on the eyes... I love it!

Friday, 16 March 2012

Consider the Kindle Touch as an ebook reader

Seriously considering getting one of these:




The low price makes it a perfect option to stop printing out my pdf books... A friend of mine showed me his and I was seriously impressed by the e-inkt. It has 2Gb of storage (no sd slot), of which 1.2Gb at least free for books. It has touch, so you can annotate. The page turning speed is not that fast, but it is the book-reading experience... I read some other reviews and although I was also doubting the Kobo touch (both seem to be quite slow, slower that the kindle 4 which on the downside lacks good pdfs support and touch). 

I guess these days you should just look at an ebook reader as a cheap device that you take everywhere. It's not a tablet, but great to stop printing out what you have to read... Passing by the store later on...

----
Update: ok, noticed this nice gadget is 25 euros cheaper in the UK. Luckily I'm visiting a friend in Southampton next week... will pick one up there... 

Saturday, 10 March 2012

MyBook Live for Linux/OpenSuse

I just spent a few hours reading up on the best way to connect my new 2T MyBook Live, NAS.

I first tried to mount the network hard disk manually, that when ok, except I couldn't get the permissions right.
I fiddled with fstab... couldn't get the permissions quite right... Installed smb4k... reading worked fine... no writing, even though the files are correctly chmodded...

So... then I fixed it in 1 minute...

Open Dolphin (file browser), click on network (in the places window). Add network folder -> Microsoft Windows Network Drive (even though the MyBook works with Lenny linux). Fill in the IP addres of your NAS (check this in your router table). And voila... done... omg... IT IS THAT EASY...

Wednesday, 22 June 2011

Old text based computer game - Kirsta Computers

I just did something I have been meaning to do for some time now... I dove into my computer file archive and dug up files of 3 floppy disks with games from Kirsta Computers.

My favourite is KCA1.exe, an text-based adventure game.



The other files are some classic maze game, backgammon and patience...

I used dosBOX to play them on my OpenSuse machine. I have put the original exe files on my site. Enjoy!


Download them here.


Sorry, Kirsta, I hope you don't mind me giving it away for free, but I don't think you're selling it anymore...

Tuesday, 17 August 2010

Installing OpenSuse 11.3 (64 bit) on a Dell XPS M1530 laptop

I just did a fresh install of OpenSuse 11.3 on my Dell XPS 1530. This machine used to run OpenSuse 10.3 (see this post: http://dorienherremans.blogspot.com/2010/08/opensuse-110-installation-guide-on-dell.html).

I kept the /home partition, so a lot of the settings and the desktop where already custom. I love it. Even my internet favorites are kept!

Anyway, first evaluation:

- Touchpad fix: no need for it this time. Works great.
- Ethernet: works great
- Wireless: will need some drivers for the BCM card etc
- Sound: seems to work ok
- 3D: will need NVIDIA drivers

Let's fix the wireless first.

Just a note. i am using the bcm wireless card. If you have an intel card, it will probably work out of the box. Fire up a console as su and type:

cd /lib/firmware
install_bcm43xx_firmware

to install the correct firmware. You need to be connected to the internet for this to work.



Add some additional repositories to Yast. Especially Packman (http://en.opensuse.org/Additional_package_repositories), so that you can install the following packages:

- ndiswrapper

Mmmm... last time I used kndiswrapper as a UI for ndiswrapper, that worked great. Seems that there is no release available yet for 11.3. Mmmm... ok, we'll have to do it manually...

Download the (64 bit!) .exe driver from Dell, you can find it here: http://ftp.us.dell.com/network/R151517.EXE

Go to the directory where you want to keep the driver and:
unzip -a R151517.EXE

Install the driver:

cd DRIVER
ndiswrapper -i bcmwl5.inf
ndiwrapper -l
modprobe ndiswrapper

For the first time now. I see my WIFI light burning! I first had to flick the switch on and off.

iwlist scanning
It is scanning! That's a good sign!

Now we can right-click on the KNetworkManager icon to connect over wireless. Yoehoe!



Now for 3D effects

Install the NVIDIA drivers. You can do this via Yast:

X11-Video-NVIDIAG02


Voila, after a X11 reboot, 3D should be enabled and you should be able to turn on 3D desktop effects.

-------------------------------------------------------------------

I must say, this all went a lot smoother than with the 10.3 release.

Thanks OpenSuse community, still my fav distro!

Wednesday, 4 August 2010

How to install OpenSuse 11.3 on an HP TC1100 tablet

I was very exited to finally get my very own tc1100 in the mail yesterday. My first thoughts, of course, where: how can I get rid of this W7 and get a nice OpenSuse on there. Well, here we go:

1. Create an install USB

I downloaded the Network install iso at opensuse.org. To make this iso bootable from a USB key, you need to install SysLinux first (either via Yast), or:


zypper in syslinux


Unfortunalty, whatever I tried, syslinux was not recognized. Turns out, you need the very latest version of syslinux (which was not available on my 11.0), so I booted up a 11.2 computer, did the same there and all went well.

Next we will unpack the iso onto a USB key:

Check which device is your usb key:

# ls -l /dev/disk/by-id/*usb*

his will print out something like the following, with sdX being the actual device (for example, sdb in my case).

lrwxrwxrwx 1 root root 9 2010-03-05 18:22 /dev/disk/by-id/usb-SanDisk_Cruzer_Colors+_4527710EBF819BC0-0:0 -> ../../sdX
lrwxrwxrwx 1 root root 10 2010-03-05 18:22 /dev/disk/by-id/usb-SanDisk_Cruzer_Colors+_4527710EBF819BC0-0:0-part1 -> ../../sdX1

Once you know your device name, eject it:

# umount /dev/sdX1

And write the uncompressed iso to it:

# dd if=/path/to/iso/openSUSE-11.3-NetworkInstall-i586.iso of=/dev/sdX bs=4M;sync



2. Boot the TC1100 from USB

Put the USB in the TC1100 USB port and power on the tablet. On the bootup screen, press the scroll button on the top of the computer to enter the boot menu. Once there, you can change the boot order under the menu tools. Make sure to look under Hard Drive, that was where my USB was hiding.


3. Install OpenSuse 11.3

Once you boot from the USB key, you see the installation program start up. Just follow the steps like any regular Linux install. Make sure to select the tablet options under software.

Oh yeah, since we are using the network install... be sure to connect to either an ethernet network or a wireless network. I did my install wireless, I was impressed that my wifi card was recognised out of the box.

Voila... around 3 hours later, I had a full OpenSuse install.

4. What works out-of the box

As mentioned before, wifi works out of the box. The tablet seems to be functionning for the most part so far. The stylus pointer also works (exept for the right button).


5. Graphics card driver

The GeForce 420 needs the legacy NVIDIA driver. Unfortunately, OpenSuse 11.3 no longer offers the precompiled legacy drivers. It does however offer an opensource 'nouveau' driver, that supports the card. I decided to use the original NVIDIA installer that is offered by NVIDIA here: http://www.nvidia.com/object/linux-display-ia32-96.43.18-driver.html For me, the driver did not work. So I just did nothing and used the nouveau driver.

So far, compositing does not work, but I can use xrandr to rotate my screen.

PS: I compiled the driver from NVIDIA manually, but it did not function properly and caused my xrandr to stop working, so I'll stick to nouveau for the time being.

6. Enabling 3D effects and compositing
not yet


7. Create a screen rotation script

screen rotation should work with:

xrandr -o left

and

xrandr - o normal

Let's create a file (set permissions to executable) with the following contents. I call the file rotate:

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted| right)')"
case "$rotation" in
normal)
# -rotate to the left
xrandr -o left
xsetwacom set "Serial Wacom Tablet" rotate cck
;;
left)
# -rotate to inverted
xrandr -o normal
xsetwacom set "Serial Wacom Tablet" rotate none
;;
inverted)
# -rotate to the right
xrandr -o normal
xsetwacom set "Serial Wacom Tablet" rotate none
;;
right)
# -rotate to normal
xrandr -o normal
xsetwacom set "Serial Wacom Tablet" rotate none
;;
esac



The xsetwacom command makes sure that the tablet's stylus functions properly.

In order to make this executable, right click on it and set permissions to executable.

cp /pathtofile/rotate /usr/bin/rotate

will make it a real command. You can type rotate in a terminal and see what happens...


8. Fix the tablet hotkeys and get right click

Download xbindkeys. This utility needs compiling, so make sure you have gcc etc installed.

Next:

./configure --disable-guile
make
make install

create a file:

/home/yourname/.xbindkeysrc

with the following contents:

"rotate"
c:157
"cellwriter"
c:23
"Menu"
c:156

This will assign some useful commands to the top buttons. You can use the command xbindkey -k to find out the code of a button (or use xev)


To autostart:

ln -s /usr/bin/xbindkeys /home/dorien/.kde4/Autostart/xbindkeys



9. Some useful aps

cellwriter, xournal,...


10. What's left..

Jacksense in not enabled, so if you plugin headphones, you can still hear sound through the speakers: just click o
Publish Post
n the mixer icon and configure channels, add line jack sense and uncheck the box. That fixes that.