QLC 2.6.1 for Mandriva 2008.1

QLC 2.6.1 on Mandriva 2008.1

I’ve just backported QLC 2.6.1 from Fedora Core to Mandriva 2008.1. Q Light Controller is a software designed to pilot lights (both moving and static ones) on stages via the DMX communication protocol. This is my first step to bring together two of my main recent interests: stage lightning and linux.

These RPMs are currently only available for the x86_64 version of Mandriva but includes the Open DMX USB drivers and Lighting Architecture for Linux (LLA) packages. All the sources of these packages came from the repository I found in the “LLA, OpenDMX USB and Q Light Controller Tutorial” tutorial.

I haven’t played with QLC yet: I’ve just started it and as you can see on the screenshot it seems to work. Happy testing ! ;)

HP w2207h external display on Intel 945

I recently had the oportunity to plug the HP w2207h screen (see review #1 and review #2) as an external display to my Samsung Q35 laptop. The external display has a native resolution of 1680×1050 and the laptop’s is 1280×800.

The laptop is powered by an Intel 945 graphic chip:

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
(…)

After some googling and tests, I’ve designed the perfect xorg.conf for this configuration:

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Extensions"
  Option "Composite"
EndSection

Section "ServerFlags"
  AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
  Load "dbe" # Double-Buffering Extension
  Load "v4l" # Video for Linux
  Load "extmod"
  Load "type1"
  Load "freetype"
  Load "glx" # 3D layer
  Load "dri" # direct rendering
EndSection

Section "InputDevice"
  Identifier "Keyboard1"
  Driver "kbd"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "fr"
  Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
  Identifier "Mouse1"
  Driver "mouse"
  Option "Protocol" "ExplorerPS/2"
  Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
  Identifier "SynapticsMouse1"
  Driver "synaptics"
  Option "SHMConfig" "on"
EndSection

Section "Monitor"
  Identifier "laptop"
  Option "PreferredMode" "1280×800"
  Option "Below" "external"
EndSection

Section "Monitor"
  Identifier "external"
  Option "PreferredMode" "1680×1050@60"
  HorizSync 24.0 - 82.0
  VertRefresh 48.0 - 76.0
  Modeline "1680×1050@60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
EndSection

Section "Device"
  Identifier "device1"
  VendorName "Intel Corporation"
  BoardName "Intel 810 and later"
  Driver "intel"
  Option "DPMS"
  # Option "XaaNoOffscreenPixmaps" "1"
  Option "monitor-LVDS" "laptop"
  Option "monitor-VGA" "external"
EndSection

Section "Screen"
  Identifier "screen1"
  Device "device1"
  Monitor "external"
  Subsection "Display"
    Virtual 1680 1850
  EndSubsection
EndSection

Section "ServerLayout"
  Identifier "layout1"
  InputDevice "Keyboard1" "CoreKeyboard"
  InputDevice "Mouse1" "CorePointer"
  InputDevice "SynapticsMouse1" "AlwaysCore"
  Screen "screen1"
EndSection

What I’ve learned so far during these experiments:

  • With DRI, virtual screen can’t be greater than 2048×2048 for Intel 945 (or less) chips. This explain why my screens are one above the other instead of side-by-side.
  • XRandR and its friend KRandRTray make screen positionning user-friendly…
  • …until you play with the xrandr’s “--off” option ! After I manually called it, this parameter disabled all my screens, forever, and at each boot. I’ve randomly deleted xorg-related files, but I still didn’t know how I solved this mess. If you have a better understanding of how xrandr store its configuration, please let me know !
  • Dual screening is awesome ! :D

How to fix Samsung Q35 random freeze

If like me you have a Samsung Q35, do not forget to update your optical drive firmware.

I’ve upgraded my TSSTcorp CD/DVDW TS-L632D drive from the SC02 to SC04 firmware revision and my laptop is stable now ! :)

By the way, to get the model name and revision of your optical drive under linux, use:

cdrdao scanbus

Amarok 1.4.8 for Mandriva 2008.0 and repository update

amarok-148.pngI’ve just rebuild Amarok 1.4.8 for Mandriva 2008.0 with MySQL and PostgreSQL support.

This was also an opportunity for me to rebuild old packages (Interreta Televidilo, Rugg and python-icalendar) for Mandriva 2008.0. For now there is no x86_64 version of the packages (including Amarok). I plan to do it later.

Update: Amarok was recompiled to include latest libgpod version (0.6.0).

e107 to Wordpress migration : v0.9 plug-in released

9 months after the last one, here is the new version (v0.9) of my e107 to Wordpress import plug-in !

Change log:

  • “One-click migration” instead of multiple step process (more user-friendly),
  • Better error management (a must-have for precise bug reports),
  • Replace all links to old content with permalinks (increased SEO),
  • Better database management,
  • Work with latest Wordpress v2.3.2 and e107 v0.7.11,
  • Code cleaned up ! ;)