Search This Blog

Friday, March 6, 2015

Testing Ciwiki 2.0.3

I'm currently testing Ciwiki 2.0.3. It's running on a Raspberry Pi B+.
You can take a look here: wiki.jpredonnet.fr  (Sorry pages are in French. I will translate them as soon as I have more time.)

Ciwiki is now able to serve usual html pages and is still able to serve wiki pages (markdown languages).  

Wednesday, March 4, 2015

Ciwiki 2.0.3 (alias didiwiki)

I worked hard to update ciwiki (alias didiwiki) with new features. The previous new features vs didiwiki, included:
  • A login procedure to protect pages of any change/delete risk. (ciwiki 1.2)
  • The tag {{private}} to hide pages to no logged in users. (ciwiki 1.2)
  • Collapsible / expandable boxes. (ciwiki 1.3)
  • Automatic table of content {{toc}}. (ciwiki 1.4)

And many small improvements and bug fixes  (...ciwiki 1.6).

January 2015, the version 2.0.0 (ciwiki-2.0.0) marked a major change and rupture with the previous version.

ciwiki >= 2.0.0 are not strictly compatible with the previous versions:
  • Executable file didiwiki was renamed ciwiki
  • Working folder had changed for ./ciwiki
  • notifynewuser.sh script had moved to /usr/local/libexec (ciwiki >= 2.0.2)

It's now easier to create linux package. The executable name ciwiki, the working directory .ciwiki are consistent with the package name.

The last improvement (ciwiki-2.0.3) and I think very interresting, is the possibility for ciwiki to open html pages.

The html pages are stored in the folder .ciwiki/html/ and the wiki pages can have links to these html pages with the tag: html=anyhtmlpage.html.
Normally, ciwiki open the page WikiHome as default page, but it is possible
to open the index.html page as default page. Start ciwiki with the option ciwiki -t and have the index.html file in the folder .ciwiki/html/

Inside the index.html page, we can have links to other pages located in .ciwiki/html/  or links to wiki pages located in .ciwiki/ folder.

On 2015, March 4th - ciwiki-2.0.3 is already coded and is currently tested. As soon as, it will be stable, I will release it on http://sourceforge.net/projects/ciwiki/


Thursday, July 12, 2012

Arduino ChipKit and LaunchPad

Hello all,

Created a new blog about MCU development board such as Arduino Uno, ChipKit Uno32 and MSP430 LaunchPad used in the development of an experimental robot.

The link :  http://microcontroleurs.blogspot.fr/

I posted some pictures of the current robot (still in development), and some comments & programs about the MSP430 LaunchPad.

All the blog is in French (Sorry). If you understand a little bit this language / or if you like google Translate; perhaps you could be interested?

Thanks.

Wednesday, January 19, 2011

Epson Stylus SX218 drivers for Linux

If you are looking for drivers for your Epson printer, try AVASYS http://avasys.jp/eng/linux_driver/

In my case; I'm using ubuntu 10.04 64bits and I have an Epson Stylus SX218

So I installed:

1) epson-inkjet-printer-workforce-320-sx218_1.0.0-1lsb3.2_amd64.deb

2) iscan_data_1.6.0-0-all.deb

3) iscan_2.26.1-3.ltdl7_amd64.deb

4) sudo apt-get install lsb


Saturday, November 6, 2010

synclient -m var doesn't work and how to fix the problem

synclient -m 100 will report the error message "can't access shared memory SHMConfig disabled?" under Ubuntu 10.10.

The solution is simple, type in the console:
sudo gedit /etc/X11/xorg.conf

and add the line below (if xorg.conf doesn't exist, just create it with lines below):

Section "InputClass"
Identifier "enable synaptics SHMConfig"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "SHMConfig" "on"
EndSection

Save the file and reboot!

Now, the command synclient -m 100 should print something like that:

time x y z f w l r u d m multi gl gm gr gdx gdy
62.283 3304 3177 77 1 4 0 0 0 0 0 00000000 0 0 0 0 0
62.383 3240 3173 81 1 4 0 0 0 0 0 00000000 0 0 0 0 0
62.483 3206 3162 81 1 4 0 0 0 0 0 00000000 0 0 0 0 0
62.583 1 5855 2 1 5 0 0 0 0 0 00000000 0 0 0 0 0
62.684 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0

Weird results when 2 fingers touch the pad:

time x y z f w l r u d m multi gl gm gr gdx gdy
15.867 868 -1846 97 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.876 4885 2595 77 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.887 1380 -1846 91 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.899 4879 2608 77 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.911 2148 -1846 85 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.924 4877 2603 77 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.935 3940 -2102 92 1 5 0 0 0 0 0 00000000 0 0 0 0 0
15.947 4877 2603 77 1 5 0 0 0 0 0 00000000 0 0 0 0 0

Two fingers generate negative y coordinates! Perhaps, that explains the jumpy pointer?

Friday, November 5, 2010

I tried Fedora 14 64bits on my Pavilion dm4 1160us

I tried the live cd Fedora 14 - xfce. It boots without problem but shortly the screen turns dark (exactly the same problem as Ubuntu 10.10), but it's not possible to turn on the backlight by pressing 'f3'. I suppose the reason is that the login name is required before launching xfce (Is it the same problem with gnome and kde?).

I tried again but I interrupted the initial countdown and I chose the 'basic video' rather the default boot. So now, I saw the three horizontal bars progressing until the dialog box pops up, requiring the login name. Finally xfce started correctly.

I tried the touchpad and I observed the same problems as Ubuntu 10.10: 2 fingers on the pad generate erratic jumps of the pointer, and the right click doesn't work. So Fedora 14 and Ubuntu 10.10 suffer of the same problems concerning the touchpad of the Pavilion dm4.

I tried the wifi too. Like Ubuntu 10.10, the Wifi works perfectly.

And like Ubuntu, the fingerprint reader is not recognized.

My first impression is Fedora 14 and Ubuntu 10.10 are pretty equivalent regarding how the Pavilion dm4-1160 features are supported.


Tuesday, October 19, 2010

Pavilion dm4-1160 touchpad erratic bis

I changed the parameter BottomEdge with the value 3500. The right click is now emulated by a short tap on the botton and right edge of the pad ( a small area of 1/2 inch on the bottom-right corner ). The script is below:

#! /bin/sh
#Configure synaptics divers, must be run at each session
PROG=synclient
echo edges
$PROG LeftEdge=1750
$PROG RightEdge=5200
$PROG TopEdge=1620
$PROG BottomEdge=3500
echo Finger Press
$PROG FingerLow=24
$PROG FingerHigh=29
$PROG FingerPress=255
echo taps time
$PROG MaxTapTime=180
$PROG MaxTapMove=220
$PROG MaxDoubleTapTime=180
$PROG SingleTapTimeout=180
$PROG ClickTime=100
$PROG FastTaps=1
echo emulate
$PROG EmulateMidButtonTime=75
$PROG EmulateTwoFingerMinZ=280
$PROG EmulateTwoFingerMinW=7
echo scrolling
$PROG VertScrollDelta=100
$PROG HorizScrollDelta=0
$PROG VertEdgeScroll=1
$PROG HorizEdgeScroll=0
$PROG CornerCoasting=0
$PROG VertTwoFingerScroll=0
$PROG HorizTwoFingerScroll=0
echo Pointer speed
$PROG MinSpeed=0.1
$PROG MaxSpeed=1
$PROG AccelFactor=1
$PROG TrackstickSpeed=0
$PROG EdgeMotionMinZ=29
$PROG EdgeMotionMaxZ=159
$PROG EdgeMotionMinSpeed=1
$PROG EdgeMotionMaxSpeed=401
$PROG EdgeMotionUseAlways=0
echo scrolling flags
$PROG UpDownScrolling=1
$PROG LeftRightScrolling=1
$PROG UpDownScrollRepeat=1
$PROG LeftRightScrollRepeat=1
$PROG ScrollButtonRepeat=100
echo Touchpad Mouse one/off
$PROG TouchpadOff=0
$PROG GuestMouseOff=0
echo dragging
$PROG LockedDrags=0
$PROG LockedDragTimeout=5000
echo corners
$PROG RTCornerButton=0
$PROG RBCornerButton=2
$PROG LTCornerButton=0
$PROG LBCornerButton=1
echo tap
$PROG TapButton1=1
$PROG TapButton2=2
$PROG TapButton3=0
echo click
$PROG ClickFinger1=1
$PROG ClickFinger2=0
$PROG ClickFinger3=0
echo Circular
$PROG CircularScrolling=0
$PROG CircScrollDelta=0.1
$PROG CircScrollTrigger=0
$PROG CircularPad=0
echo Palm
$PROG PalmDetect=1
$PROG PalmMinWidth=10
$PROG PalmMinZ=199
$PROG CoastingSpeed=0
echo Grab
$PROG GrabEventDevice=1
$PROG TapAndDragGesture=1
echo Area
$PROG AreaLeftEdge=0
$PROG AreaRightEdge=0
$PROG AreaTopEdge=0
$PROG AreaBottomEdge=0
echo Jumpy
$PROG JumpyCursorThreshold=60