Archive for category Ubuntu

Ubuntu on ASUS X401U AMD E2-1800

Installing [UBUNTU] on [ASUS X401U E2-1800]

Last updated: 02/11/2012

General Hardware Specifications of [ASUS X401U E2-1800]:

Hardware Components
Status under Linux
Notes
AMD E2 1800 Works No special procedure required during installation.
14″ LCD Works No special procedure required during installation
AMD Works No special procedure required during installation
HDMI output and VGA not tested
4GB RAM Works No special procedure required during installation
500 GB SATA Hard Drive Works No special procedure required during installation
Integrated  Memory Card Reader Should Works Not tested should work
Internal WEBCAM Works No special procedure required during installation
Internal WIFI Works No special procedure required during installation
Internal Ethernet Works No special procedure required during installation
Internal SoundCard Works No special procedure required during installation

This laptop is operating under Kernel version [Linux boucaron-X401U 3.5.0-17-generic #28-Ubuntu SMP]

Basic Installation of [UBUNTU]:
  • Why to use [UBUNTU]
    • It is the simplest to install on this laptop (for the moment)
  • Obtaining [UBUNTU]
  • Installing
    • This laptop has UEFI, the first thing to do is to disable in the BIOS (Security panel) the secure HD.
    • Download the x86_64 desktop ISO version that has UEFI boot loader
    • Format a fresh USB stick in FAT32
    • Mount the ISO and Copy all the content to the USB stick
    • Boot on the USB stick (Go in the BIOS, you should have a new entry to boot onto)
  • Post-Install modifications/tweaks see below
Setting up additional features for [UBUNTU]

 

Contact Information
  • julien DOT boucaron AT gmail DOT com
Links:

Plus other useful things I may have forgotten


No Warranties: This information is provided “as is” without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. All logos or trademarks on this site are the property of their respective owner. In no event shall linux-laptop.net, linux-on-laptops.com, or any directors, trustees, associates, or employees thereof be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this web site.

No Comments

Cross compiling lpsolve under linux for win32

Here is the attached Makefile (no other patch)

<<

#
# Makefile for cross-compiling lp_solve using GNU Make
# Usage:
#   make -f Makefile.MinGW [all | bin | lib | clean]
#
# $Revision: 1.1 $
#

AR = i586-mingw32msvc-ar
ARFLAGS = rv
CC = i586-mingw32msvc-gcc
LEX = flex
YACC = bison

INCLUDE = -I. -Ibfp -Ibfp/bfp_LUSOL -Ibfp/bfp_LUSOL/LUSOL -Icolamd -Ishared

# Uncomment any of the following two depending on your profile
#DEBUG = -g -pg
DEBUG = -O2

DEFINE = -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine

# Uncomment any of the following two depending on how easily compiler messages scare you
#CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE) -fpic -Wall -pedantic -trigraphs
CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE)  -mno-cygwin -DWIN32 -Wall

LFLAGS = -L
YFLAGS = --no-lines -y

LDFLAGS = -lm -Wl,--allow-multiple-definition

demo.exe: demo/demo.c $(OBJECTS)
	$(CC) $(CFLAGS) $(DEBUG) $(DEFINE) $(INCLUDE) $< $(OBJECTS) -o demo/demo $(LDFLAGS)

LUSOLSRC = bfp/bfp_LUSOL/lp_LUSOL.c bfp/bfp_LUSOL/LUSOL/lusol.c
LUSOLOBJS = bfp/bfp_LUSOL/lp_LUSOL.o bfp/bfp_LUSOL/LUSOL/lusol.o

OBJECTS = $(LUSOLOBJS) lp_MDO.o shared/commonlib.o colamd/colamd.o \
shared/mmio.o shared/myblas.o ini.o fortify.o lp_rlp.o lp_crash.o  \
lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o	   \
lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o	   \
lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o

SRC = $(LUSOLSRC) lp_MDO.c shared/commonlib.c colamd/colamd.c	   \
shared/mmio.c shared/myblas.c ini.c fortify.c lp_rlp.c lp_crash.c  \
lp_Hash.c lp_lib.c lp_wlp.c lp_matrix.c lp_mipbb.c lp_MPS.c	   \
lp_params.c lp_presolve.c lp_price.c lp_pricePSE.c lp_report.c	   \
lp_scale.c lp_simplex.c lp_SOS.c lp_utils.c yacc_read.c

LIBRARIES = liblpsolve55.a liblpsolve55.so liblpsolve55.dll
BINARIES = lp_solve.exe demo.exe
ALL =  $(BINARIES) $(DEMOS) $(LIBRARIES)
.PHONY=clean lp_solve

all: $(ALL)
lib: $(LIBRARIES)
bin: $(BINARIES)
objects: $(OBJECTS)

lp_rlp.o: lp_rlp.l lp_rlp.y
	$(LEX) $(LFLAGS) lp_rlp.l
	sed -e "s/yy/lp_yy/g" lex.yy.c >lp_rlp.h
	rm -f lex.yy.c

	$(YACC) $(YFLAGS) lp_rlp.y
	sed -e "s/yy/lp_yy/g" y.tab.c >lp_rlp.c
	rm -f y.tab.c

	$(CC) $(CFLAGS) $(DEBUG) $(DEFINE) $(INCLUDE) -c $*.c

lp_solve.exe: lp_solve/lp_solve.c $(OBJECTS)
	$(CC) $(CFLAGS) $(DEBUG) $(DEFINE) $(INCLUDE) $< $(OBJECTS) -o lp_solve/lp_solve.exe $(LDFLAGS)

demo.exe: demo/demo.c $(OBJECTS)
	$(CC) $(CFLAGS) $(DEBUG) $(DEFINE) $(INCLUDE) $< $(OBJECTS) -o demo/demo.exe $(LDFLAGS)

liblpsolve55.a: $(OBJECTS)
	$(AR) $(ARFLAGS) lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.o/g'`
	ranlib lpsolve55/$@

liblpsolve55.so: $(OBJECTS)
	$(CC) -shared -Wl,-Bsymbolic -Wl,-soname,$@ -o lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.o/g'` $(LDFLAGS)

liblpsolve55.dll: $(OBJECTS)
	$(CC) -shared  -o $@ -Wl,--out-implib,liblpsolve55.a $(OBJECTS) $(LDFLAGS)

clean:
	rm -f $(OBJECTS)  *.so *.a lp_solve/lp_solve.exe demo/demo.exe lpsolve55/*.so lpsolve55/*.a lpsolve55/*.dll

>>

No Comments

SystemC for Linux amd64

I have update the systemc package version 2.2 for Ubuntu amd64, see there:

http://julien.boucaron.free.fr/systemc/

No Comments

Ubuntu 8.10 x64 on Dell Latitude D630

Installing [UBUNTU 8.10 (x64)] on [DELL LATITUDE D630]

Last updated: 18/11/2008

General Hardware Specifications of [DELL LATITUDE D630]:

Hardware Components
Status under Linux
Notes
Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz Works No special procedure required during installation.
14″ LCD Works No special procedure required during installation
nVidia Corporation Quadro NVS 135M Works Check your BIOS (last release is A13) and the GPU fan will run at full speed using version 177 driver, I am using version 173 driver and there is no fan issue with an old BIOS
2GB, RAM, 2DIMMs Works No special procedure required during installation
120 GB SATA Hard Drive Works No special procedure required during installation
Integrated Bluetooth Works No special procedure required during installation, BUT must be enabled using Windows utility
Integrated PCMCIA Works No special procedure required during installation
Integrated IEEE1384 Works No special procedure required during installation
Internal V92 Modem Should Work Not tested
DVD-RW Unit Works No special procedure required during installation
Internal Intel WIFI Works No special procedure required during installation
Internal Intel Ethernet Works No special procedure required during installation
Intel HDA SoundCard Works No special procedure required
during installation

INTERNAL MIC CAPTURE ISSUE see https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller

This laptop is operating under Kernel version [Linux 2.6.27-7-generic]

Basic Installation of [UBUNTU 8.10 (x64)]:
  • Why to use [UBUNTU 8.10 (x64)]
    • Because only one live CD that we can install, good support for auto detection of hardware
  • Obtaining [UBUNTU]
  • Installing
  • Post-Install modifications/tweaks see below
Setting up additional features for [UBUNTU 8.04 (x64)]:
  • sudo apt-get install nvidia-settings sensors-applet
Contact Information
  • julien DOT boucaron AT free DOT fr
Links:

Plus other useful things I may have forgotten

Linux on Laptops

No Warranties: This information is provided “as is” without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. All logos or trademarks on this site are the property of their respective owner. In no event shall linux-laptop.net, linux-on-laptops.com, or any directors, trustees, associates, or employees thereof be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this web site.

No Comments

Ubuntu on Sony VAIO VGN-FE21B

Installing [UBUNTU] on [SONY VAIO VGN-FE21B]

Last updated: 13/01/2007

General Hardware Specifications of [SONY VAIO VGN-FE21B]:

Hardware Components
Status under Linux
Notes
Pentium
T2300 @ 1.66 GHz
Works No special procedure required during installation.
15.4″ LCD Works No special procedure required during installation
NVIDIA 7400 Works No special procedure required during installation
If you want xgl, compiz or beryl download and install NVIDIA drivers see procedure here and X11 configuration here
VGA output and S-video output not tested
1GB, RAM, 2DIMMs Works No special procedure required during installation
80 GB SATA Hard Drive Works No special procedure required during installation
Integrated 5-1 Memory Card Reader Should Works Not tested should work
Integrated Bluetooth Works No special procedure required during installation
Integrated PCMCIA Works No special procedure required during installation
Integrated IEEE1384 Works No special procedure required during installation
Internal V92 Modem Should Work Not tested should work
see http://www.linuxant.com/drivers/
DVD-RW Unit Works No special procedure required during installation
Internal Intel WIFI Works No special procedure required during installation
Internal Intel Ethernet Works No special procedure required during installation
Intel HDA SoundCard Works No special procedure required
during installation for PLAYBACK
If you want to CAPTURE with integrated microphone see instructions here

This laptop is operating under Kernel version [Linux boucaron-laptop 2.6.17-10-generic #2 SMP]

Basic Installation of [UBUNTU]:
  • Why to use [UBUNTU]
    • Because only one live CD that we can install, good support for auto detection of hardware
  • Obtaining [UBUNTU]
  • Installing
  • Post-Install modifications/tweaks see below
Setting up additional features for [UBUNTU]
NVIDIA LAST DRIVER WORKING WITH UBUNTU
  • Download and install NVIDIA Drivers
  • However if you reboot now you will do not have X11 working, actually because in UBUNTU nvidia is a “restricted” module and UBUNTU is having a service run at startup called /etc/init.d/linux-restricted-modules-common that “copy” files from /lib/linux-restricted-modules/2.6.17-10-generic/nvidia (our case) into the appropriate place in the /lib/modules/2.6.17-10-generic/.
  • The trick is the following after installing NVIDIA driver we just have to copy the nvidia.ko file from /lib/modules/2.6.17-10-generic/ into /lib/linux-restricted-modules/2.6.17-10-generic/nvidia/ after removed present files in this directory. Take care also to remove /lib/linux-restricted-modules/2.6.17-10-generic/nvidia_legacy.
Configuration Files
  • X11 Configuration for xgl, beryl
  • # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Oct 16 22:13:07 PDT 2006

    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    # (Type “man /etc/X11/xorg.conf” at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg

    Section “ServerLayout”
    Identifier     “Default Layout”
    Screen         “Default Screen” 0 0
    InputDevice    “Generic Keyboard”
    InputDevice    “Configured Mouse”
    InputDevice    “stylus” “SendCoreEvents”
    InputDevice    “cursor” “SendCoreEvents”
    InputDevice    “eraser” “SendCoreEvents”
    InputDevice    “Synaptics Touchpad”
    EndSection

    Section “Files”

    # path to defoma fonts
    FontPath        “/usr/share/X11/fonts/misc”
    FontPath        “/usr/share/X11/fonts/cyrillic”
    FontPath        “/usr/share/X11/fonts/100dpi/:unscaled”
    FontPath        “/usr/share/X11/fonts/75dpi/:unscaled”
    FontPath        “/usr/share/X11/fonts/Type1″
    FontPath        “/usr/share/X11/fonts/100dpi”
    FontPath        “/usr/share/X11/fonts/75dpi”
    FontPath        “/usr/share/fonts/X11/misc”
    FontPath        “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
    EndSection

    Section “Module”
    Load           “i2c”
    Load           “bitmap”
    Load           “ddc”
    Load           “extmod”
    Load           “freetype”
    Load           “glx”
    Load           “int10″
    Load           “type1″
    Load           “vbe”
    EndSection

    Section “InputDevice”
    Identifier     “Generic Keyboard”
    Driver         “kbd”
    Option         “CoreKeyboard”
    Option         “XkbRules” “xorg”
    Option         “XkbModel” “pc105″
    Option         “XkbLayout” “fr”
    Option         “XkbOptions” “lv3:ralt_switch”
    EndSection

    Section “InputDevice”
    Identifier     “Configured Mouse”
    Driver         “mouse”
    Option         “CorePointer”
    Option         “Device” “/dev/input/mice”
    Option         “Protocol” “ExplorerPS/2″
    Option         “ZAxisMapping” “4 5″
    Option         “Emulate3Buttons” “true”
    EndSection

    Section “InputDevice”
    Identifier     “Synaptics Touchpad”
    Driver         “synaptics”
    Option         “SendCoreEvents” “true”
    Option         “Device” “/dev/psaux”
    Option         “Protocol” “auto-dev”
    Option         “HorizScrollDelta” “0″
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “stylus”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “stylus”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “eraser”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “eraser”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “cursor”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “cursor”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “Monitor”
    Identifier     “Generic Monitor”
    HorizSync       28.0 – 64.0
    VertRefresh     43.0 – 60.0
    Option         “DPMS”
    EndSection

    Section “Device”

    #Driver “nv”
    Identifier     “NVIDIA Corporation NVIDIA Default Card”
    Driver         “nvidia”
    #    Option  “XAANoOffscreenPixmaps”
    Option “TripleBuffer” “True”
    EndSection

    Section “Screen”
    Identifier     “Default Screen”
    Device         “NVIDIA Corporation NVIDIA Default Card”
    Monitor        “Generic Monitor”
    DefaultDepth    24
    Option         “RenderAccel” “true”
    Option         “AllowGLXWithComposite” “true”
    SubSection     “Display”
    Depth       1
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       4
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       8
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       15
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       16
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       24
    Modes      “1280×800″
    EndSubSection
    Option “AddARGBGLXVisuals” “True”
    EndSection

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    Section “DRI”
    Mode 0666
    EndSection
  • Modules options for sound card, append this to /etc/modprobe.d/alsa-base
    options snd-hda-intel model=vaio position_fix=0
Contact Information
  • julien DOT boucaron AT free DOT fr
Links:

Plus other useful things I may have forgotten

Linux on Laptops

No Warranties: This information is provided “as is” without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. All logos or trademarks on this site are the property of their respective owner. In no event shall linux-laptop.net, linux-on-laptops.com, or any directors, trustees, associates, or employees thereof be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this web site.

No Comments

Hello World

Here is the attached modified HelloGPGPU that is compiling just out of the box for Linux (Ubuntu)hellogpgpu-102-ubuntutar.gz

See the attached screenshot

hellogpgpu_screenshot.png

No Comments

Systemc package

This is a basic systemc package see http://julien.boucaron.free.fr/systemc/

A patch is available to build systemc verification lib also with gcc4.xscv-10p2-sysc22-boucaron-ubuntu-gcc4xpatch.bz2

No Comments

Linux Kernels for Titanium 2

Kernel 2.4.19 and Modules Binaries 2.4.19 : (works pretty well but lost the config)
RadeonFB, ADB, Airport, Firewire, IDE-SCSI , Sound, USB, PCMCIA, IRDA, Suspend.
Supported FS: ext2-3, reiserfs,hfs,nfs,ufs,udf,msdos,vfat,iso9660…etc…

X11 Xorg conf
Kernel 2.6.11.7 Configuration Same as 2.4.19, Apple agp_gart, hfs+ …etc…

Here is the 2.6.20 kernel for Ubuntu Feisty and Ubuntu Gutsy with config, debian package.

http://julien.boucaron.free.fr/apple_titanium/

No Comments

Magic Package

There is a preliminary package for Ubuntu, for Magic a VLSI layout tool. See there http://julien.boucaron.free.fr/magic/.

No Comments

CEC Package

There is a package for CEC (Columbia Esterel Compiler) here: http://julien.boucaron.free.fr/cec/
for Ubuntu and also for Win32

No Comments