deb-gen.sh - Debian Package extractor and builder

Today I’ve published: deb-gen.sh - a Debian Package extractor and builder.
with it you can extract .deb package, edit whatever you want and rebuild it without any problem :-)
You can find it here: http://code.alexworld.it/code/deb-gen.sh.html
bye!
3 anni fa
eeepc 900 and kernel linux 2.6.28

alex@dothan:~$ uname -a
Linux dothan 2.6.28-dothan #2 SMP Sun Jan 4 19:04:50 CET 2009 i686 GNU/Linux
alex@dothan:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Celeron(R) M processor 900MHz
stepping : 8
cpu MHz : 900.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts
bogomips : 1800.02
clflush size : 64
power management:
It’s all ok!!
all works ok, kernel 2.6.28 gives you full support to your eeepc 900 hardware without any type of patch!
You have only to update xserver-xorg-synaptics to the latest version: 0.99.* otherwise you won’t have the complete touchpad support (by elantech driver included in the kernel).
you can find xserver-xorg-synaptics debian packages here: http://alioth.debian.org/~dsalt-guest/eee/
elantech driver official website: http://arjan.opmeer.net/elantech/
Goodbye,
3 anni fa
anyRemote
The overall goal of anyRemote is to provide remote control service on Linux through Bluetooth, InfraRed, Wi-Fi or just TCP/IP connection.
anyRemote supports wide range of modern cell phones like Nokia, SonyEricsson, Motorola and others.
It was developed as thin communication layer between Bluetooth (or IR, Wi-Fi) capabled phone and Linux, and in principle could be configured to manage almost any software.
anyRemote is console application, but in addition there are GUI front ends for Gnome and KDE.
VISIT: http://anyremote.sf.net
bash scripting - VGA toggle switch
![]()
VGA port, really useful way to display through big Monitor or TV your tiny videos instead of watching them on your little notebook’s display :-)
Are you bored to have to restart X every time you want to connect your VGA cable?
Don’t you want to use gnome-display-etc-etc-manager to only configure a stupid VGA Monitor?
Don’t worry, you can use a little bash script (linked to some buttons on you panels), to manage your VGA connection.
I works like a switch, the script will enable the output choiced if this is disabled and viceversa it will disable the output if this is enabled.
But stop speaking (/writing) and watch it now:
vga.sh:
#!/bin/bash
#
# This script was created to manage an external output for notebook
# The script only needs a bit of configuration to set the default output, mode, rate and extra options,
# It works like a switch, the script will enable the output choiced if this is disabled and viceversa it will disable
# the output if this is enabled.
# It can be used on various acpi script linking it to your notebook’s fn+key.
#
# Made by: Alessandro Arrichiello <alezzandro@gmail.com>
#
# Configuration starts here:
output=”VGA”
mode=”1024x768”
rate=”60”
extra_options=”—right-of LVDS”
xrandr_cmd=”xrandr —output “$output” —mode “$mode” —rate “$rate” “$extra_options
#
# END of Configuration
xrandr_output=`xrandr|grep $output`
if [ `echo $xrandr_output|grep -c disconnected` == “1” ]; then
echo “Cable for “$output” not connected.”
else
if [ `echo $xrandr_output|grep -c connected` == “1” ]; then
if [ `echo $xrandr_output|grep -c $mode` == “1” ]; then
echo “Putting off: “$output
xrandr —output $output —off
else
echo “Putting on: “$output
`$xrandr_cmd`
fi
else
echo “Output not found check your configuration.”
fi
fi
Remember to set the right permissions (chmod +x vga.sh),
see you,
3 anni fa
Gnu/Linux - eeepc get errors with some sd cards
![]()
Hello, maybe if you have an Asus eeepc this can sound familiar:
[ 2948.736927] sd 2:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
[ 2948.741932] sd 2:0:0:0: [sdb] Write Protect is off
[ 2948.741951] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2948.741959] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2948.751918] sd 2:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB)
[ 2948.754938] sd 2:0:0:0: [sdb] Write Protect is off
[ 2948.754957] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2948.754964] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2948.754980] sdb: sdb1
[ 2984.386913] sd 2:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[ 2984.386941] sd 2:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[ 2984.386959] end_request: I/O error, dev sdb, sector 1983984
[ 2984.386975] Buffer I/O error on device sdb, logical block 247998
[ 2984.407911] sd 2:0:0:0: [sdb] Device not ready: Sense Key : Not Ready [current]
[ 2984.407936] sd 2:0:0:0: [sdb] Device not ready: Add. Sense: Medium not present
[ 2984.407953] end_request: I/O error, dev sdb, sector 1983984
[ 2984.407966] Buffer I/O error on device sdb, logical block 247998
[ 2984.408153] Buffer I/O error on device sdb, logical block 0
[ 2984.408186] Buffer I/O error on device sdb, logical block 0
[ 2984.408229] Buffer I/O error on device sdb, logical block 0
[ 2984.408296] Buffer I/O error on device sdb, logical block 247999
[ 2984.408341] Buffer I/O error on device sdb, logical block 247999
[ 2984.408382] Buffer I/O error on device sdb, logical block 247999
[ 2984.408421] Buffer I/O error on device sdb, logical block 247999
What?? Are you going crazy with some SD CARDS?
Cannot you mount them an dmesg shows you something like previous logfile?
Don’t worry man, the soution is very simple:
reboot your eeepc, press F2 to enter BIOS and set the Variable: “OS Installation” to: [Finished].
That’s all, all of your sd cards will begin to work without any problems!
see you!
3 anni fa
Couldn’t execute command: evolution
Verify that this is a valid command.
This is what you can see if you’ve removed evolution from your ubuntu distro and it will appear every time you’ve plugged in the AC of your notebook.
You can simply avoid this problem by remove execute permission to the script file responsable of this action:
root@dothan:/# chmod -x /etc/acpi/mailbtn.sh
If you have evolution installed, you can also do this command to avoid to launch it every time you will plug AC on your notebook.
gbye,
3 anni fa
Time to change I/O Scheduler on eeepc 900..(not only on it)

Yes you can,
It’s not only a great political slogan..
Does Heavy Disk I/O harm your system responsiveness? (Do Firefox and other apps become unresponsive when using I/O on SSD?)
There is a “little” workaround: change your I/O Scheduler!
You can change I/O Scheduler of your kernel on eeepc 900 (and not only, also on: 901, dell mininote and the other netbooks with Solid State Disk) and use someone that will takes you some advantages,
with the option: “elevator” you can try many different schedulers from you kernel:
Completely Fair Queuing (Linux) (Default one)
Also as you can read by the description of each scheduler, noop seems to be the best I/O Scheduler for Systems placed on SSD,
but I’ve experienced more improvement using Deadline Scheduler.
this is an example showing my current Grub configuration:
title Ubuntu 8.10, kernel 2.6.27-8-eeepc
uuid 32399df8-340e-45bb-8344-430976ffa718
kernel /boot/vmlinuz-2.6.27-8-eeepc root=UUID=32399df8-340e-45bb-8344-430976ffa718 ro elevator=deadline
initrd /boot/initrd.img-2.6.27-8-eeepc
quiet
Please note: what you are experiencing on your system seems to be a bug related to the kernel,
Stay Tuned on: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/131094 to have more updates!
gbyte :-)
3 anni fa
and He came..
*Red Spirit*
http://www.gnome-look.org/content/show.php/Red+Spirit?content=90220
3 anni fa
Time of Debian for my little nslu2..
Time of Armel!
EABI is the new “Embedded” ABI by ARM ltd. EABI is actually a family of ABI’s and one of the “subABIs” is GNU EABI, for Linux. The effective changes for users are:
-
Floating point performance, with or without an FPU is very much faster, and mixing soft and hardfloat code is possible
- Structure packing is not as painful as it used to be
- More compatibility with various tools (in future - currently linux-elf is well supported)
-
A more efficient syscall convention
- At present (with gcc-4.1.1) it works with ARMv4t, ARMv5t processors and above, but supporting ARMv4 (e.g., StrongARM) requires toolchain modifications. See “Thumb interworking” below.
Source: http://wiki.debian.org/ArmEabiPort
3 anni fa


