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
.
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
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.
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 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 :
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
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.
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
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:0000Downloaded the Syntek driver from the sourceforge site
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
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
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
root@bismarck:~# l2ping 00:1A:DC:F6:31:4E Ping: 00:1A:DC:F6:31:4E from 00:0A:3A:80:CC:AD (data size 44) ... 0 bytes from 00:1A:DC:F6:31:4E id 0 time 8.85ms 0 bytes from 00:1A:DC:F6:31:4E id 1 time 21.90ms 0 bytes from 00:1A:DC:F6:31:4E id 2 time 17.89ms 0 bytes from 00:1A:DC:F6:31:4E id 3 time 17.89ms 0 bytes from 00:1A:DC:F6:31:4E id 4 time 16.90ms
root@bismarck:~# obexftp --bluetooth 00:1A:DC:F6:31:4E --channel 10 --put images/myself.jpg Browsing 00:1A:DC:F6:31:4E ... Channel: 10 Connecting...failed: connect Still trying to connect Connecting...failed: connect Still trying to connect Connecting...failed: connect Still trying to connect