!!! Ubuntu Gutsy Gibbon experiences

[Ubuntu Feisty Fawn install|InstallConfigHistoryAsusZ53F]

[{TableOfContents }]

\\I decided to try out the latest ''Gutsy Gibbon'' Ubuntu on my laptop. 
\\While the official version will be released in october 2007, I tried the [Tribe 5 release|http://cdimage.ubuntu.com/releases/gutsy/tribe-5/].

What attracted me most was the latest kernel 2.6.22, with all the nice power consumption features in it. I also wanted to see what powertop had to offer.

I downloaded the CD image (see link above), and started the install on a free 19GB partition.
The first try failed because the migration-assistant failed ,see this [bug report|https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/135149]
\\I worked around this by starting up the installer from within a shell with ''ubiquity --no-migration-assistant''. (I remember I had these type of problems before with migration assistant).

Now the rest of the installation went smoothless.
\\All hardware is properly recognized, sound, USB, also the ultrabright screen and the wifi-card, everything just works ''out-of-the-box'', .  The Ubuntu people have done a really good job !


Desktop effects are now enabled by default, but not so extreme as in Feisty, but you can now choose between 3 levels.

I also noticed that the by default dim's to about 10% after a short period of inactivity (that's good).

\\The system also feels faster and more responsive, even with the desktop effects.

!! Powertop

I installed powertop, and ran this a few times, and you see immediately that the screen uses the most power. Furthermore the following suggestions are given:
{{{
Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

Suggestion: Enable wireless power saving mode by executing the following command:
  iwpriv eth1 set_power 5
hintso
Suggestion: enable the noatime filesystem option by executing the following command:
   mount -o remount,noatime /          or by pressing the T key
  
Suggestion: increase the VM dirty writeback time from 5,00 to 15 seconds with:
  echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
}}}

So I turned on wireless powersaving:
{{{
root@bismarck:~# iwlist eth1 power
eth1      Current mode:off
root@bismarck:~# iwpriv eth1 set_power 5
root@bismarck:~# iwlist eth1 power
eth1      Current mode:on
                  timeout:25ms
}}}
And also entered the U command and changed the /boot/grub/menu.lst (added usbcore.autosuspend=1)
\\I added the ''iwpriv eth1 set_power 5'' to /etc/init.d/bootmisc.sh
\\I did not set the filesystem -noatime option, since I find the ''last reference date'' of files sometimes useful. 

!! Additional software install

I always try to keep a track of all the customizations done, and all software installed, just as a reminder for the next install.
\\The following software packages were installed :

* run the Ubuntu update
* sun-java5-jdk
* eclipse
* all codecs (applications => add/remove software => select "all available applications" top right corner => search for Gstreamer)
* gtk-gnutella
* exaile
* Google Earth
* Gnomad2
* K3B
* wifi-radar
* bluefish editor
* sshd openssh server
* Adobe Reader [download here|http://www.adobe.com/products/acrobat/readstep2_servefile.html?option=full&esdcanbeused=0&esdcanhandle=0&hasjavascript=0&platform=LINUX_.deb&language=English&order=1&x=62&y=16]

!! Power consumption

One of the nice things I noticed is that the fan is blowing much less often. Also I can run longer with the batteries.
\\It really seems that the 2.6.22 kernel is using less power.
\\I added the following commands to __/etc/init.d/bootmisc.sh__ : 
{{{
iwlist eth1 power >>/tmp/iwlist.stdout
iwpriv eth1 set_power 5
iwlist eth1 power >>/tmp/iwlist.stdout
}}}
\\This works fine, until you suspend/resume, then this setting is lost. To solve this I also added these lines to the (new) script __/etc/acpi/resume.d/91-iwpriv.sh__.

! USB autosuspend
I also added the folling piece of script to __/etc/init.d/bootmisc.sh__ , this also seems to help in reducing power consumption :
{{{
files=`find /sys/bus/usb/devices/usb*/power -type f -name autosuspend`
for f in $files
do
   echo 10 > $f
done
}}}

After the above tricks, powertop reports that the power consumption is about 15 W.

!! Printer

Adding a printer definition.
\\First you have added already a printer configuration on the server (grafspee). Then you have to define a local printer that is an ipp printer pointing to this device (see device URI).
\\Also note that you need admin privileges to do this, and make sure the printer is enabled (System => Administration => Printers => <Select local printer> => Second Tab: Enabled
[addprinter.png]


!!  Webcam
The following device is present in the laptop (first line) :
{{{
metskem@bismarck:/tmp/stk11xx-1.1.0$ lsusb
Bus 005 Device 002: ID 05e1:0501 Syntek Semiconductor Co., Ltd 
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
}}}
Downloaded the Syntek driver from the [sourceforge site|http://syntekdriver.sourceforge.net/] 

* untarred
* install ctags
* make
* make clean
* sudo modprobe videodev
* sudo insmod stk11xx.ko
Then install camorama and camstream (I just picked to webcam programs), and off we go !
\\__The strange thing now is that the pictures are upside down :-) __
\\So, reverted back to the stk11xx-1.0.0 version (instead of the stk11xx-1.1.0 version), now. pictures are not upside down anymore

To make sure everthing survives a reboot, I moved everything to /user/local and added the following to /etc/init.d/bootmisc.sh :
{{{
#
#  make arrangements for the Syntek webcam:
modprobe videodev
insmod /usr/local/stk11xx-1.0.0/stk11xx.ko 
}}}

!! Miscellaneous

* installed GPSBabel, GPSMan, GPSTrans (Ubuntu repository)
* installed wireless PCI card on desktop see [Wireless PCI Ubuntu]
* ''sudo apt-get install apache2-utils''
* ''sudo dpkg-reconfigure fontconfig-config''
* ''sudo apt-get install libmotif3''  (nodig voor wfcmgr, citrix mgmt tool)

!! Hardy Heron

! Extra installed packages

* gammu + wammu + libbtctl4 + python-bluez (bluetooth phone) 
* sabayon (gnome config)

! Nokia phone wammu
* ''hciconfig hci0 up''
*
{{{
metskem@bismarck:~$ hciconfig 
hci0:	Type: USB
	BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
	DOWN 
	RX bytes:0 acl:0 sco:0 events:0 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0

metskem@bismarck:~$ hciconfig hci0 up
Can't init device hci0: Permission denied (13)
metskem@bismarck:~$ sudo -s
root@bismarck:~# hciconfig hci0 up
root@bismarck:~# hciconfig 
hci0:	Type: USB
	BD Address: 00:0A:3A:80:CC:AD ACL MTU: 1017:5 SCO MTU: 64:0
	UP RUNNING 
	RX bytes:342 acl:0 sco:0 events:10 errors:0
	TX bytes:35 acl:0 sco:0 commands:10 errors:0
}}}
* sdptool browse:
{{{
root@bismarck:~# sdptool browser 00:1A:DC:F6:31:4E
Browsing 00:1A:DC:F6:31:4E ...
Service Name: Dial-up networking
Service RecHandle: 0x100ff
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Nokia PC Suite
Service RecHandle: 0x10100
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: COM 1
Service RecHandle: 0x10101
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10102
Service Class ID List:
  "Handfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0101

Service Name: Audio Gateway
Service RecHandle: 0x10103
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: SIM ACCESS
Service RecHandle: 0x10108
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x1010a
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x1010b
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x1010d
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
}}}