My day with Ubuntu Edgy Eft

3 January 2007

*Happy New Year everyone! *

System Message: WARNING/2 (<string>, line 1); backlink

Inline emphasis start-string without end-string.

Some relatives saved up half a dozen problems with their Windows PC and hoped I would fix them.

Did I?

Regular readers will know the answer is...

...did I heck!

Instead I finally got to try out Ubuntu properly! Regular readers will also know that I am a ardent Gentoo Linux user, but actually I had a great time. Lets start the year with something a little different. This is no how to or guide, just a rough diary of my little Ubuntu festival.

The Install

I downloaded the Desktop install CD via bittorrent to my Gentoo macbook and burnt it to CD-R. I then used your friendly neighbourhood gparted to reduce the Windows partition to give some blank space.

Next I ran the Ubuntu installer, in Finnish no less, and I was quite shocked at how little I had to do. I cannot remember being asked any technical questions at all, I just provided the person's username, password and timezone. Unlike a Redhat install, there were no questions about window managers or web servers. It was quite smart of Ubuntu to separate out the Desktop from its other CDs.

The one thing that still requires a tiny of bit of common sense and/or documentation is the disk partitioning step, where you have to choose between two or three checkboxes. This is an observation rather than a criticism, I have no idea how this can be improved further.

The LiveCD environment meant that I could surf the web with a full copy of Firefox while I waited for the packages to be copied. Once they had then I rebooted and had a working computer with a decent set of default applications.

The Ubuntu Desktop with Firefox, webcam app and Gnome Terminal

Peripherals

Next step was to sort out the large pile of legacy peripherals that lay on and around the desk. The wireless rat (including scroll wheel), headset and speakers worked out of the box. The wireless keyboard was a Logitech affair with all the extra buttons so I just called up the "Keyboard shortcuts" tool and 20 seconds later I had a fully working set of eight buttons to help with volume, media, email, web and so on.

Next was the Webcam - a Logitech Quickcam Messenger, which to be honest, I had already written off as 'never going to work'. Unfairly as it turned out, one download and one script later I could see myself in full post-sauna glory.

System Message: ERROR/3 (<string>, line 59)

Error in "image" directive: invalid option block.

.. image:: http://commandline.org.uk/images/posts/webcam/midnight-ish.png
    :alt: Me about midnight, just after a late sauna, had not yet figured
    out how to take shot at a good resolution
Now about 3am, but I had fixed the resolution Another late one, this is the elven look!

A Digital Camera was next, HP Photosmart R818 with a rather attractive "R-series dock". There was a small bug but once I had overcome that, it worked out fantastically, far better than Windows. You just throw the camera into the dock, press the button and voila, your pictures are displayed in an application called "gthumb".

gthumb in action

Lastly and definitely least was the all in one Printer/Scanner combo, the Canon Pixma MP110. I think the printer is the same as the LP1000, however not that it helped me much. I managed to get the printer to accept jobs but it cannot be bothered to push the paper through. So a rather large doorstep so far. Moral of the story, do not buy cheap printers that do not have proper ghostscript support. I have not had the heart to look into the scanner yet.

Fixing Camera support on Ubuntu Edgy Eft

The slight bug was an Ubuntu Edgy Eft problem, easily fixed. When gthumb or whatever launched itself, it spat out this error:

> An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.

Not very jovial, but the part about read/write reinforced my idea that a permissions problem was by far the most likely culprit. To the rescue came the lsusb command, this gave me the following line:

> Bus 001 Device 010: ID 03f0:7e02 Hewlett-Packard

The code in the middle is the key, the first half refers to the vendor, the second to the product, I added those numbers into the following line:

SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="7e02", MODE="0660", GROUP="plugdev"

Which I then posted into /etc/udev/rules.d/45-libgphoto2.rules . Now it all works perfectly, far better than HP's own Windows application.

Software

First thing was to install all the usual crap: Java, Flash, MP3 support and so on. I then set up Ekiga and Skype.

I was surprised to find that instead of one GUI package manager, there were four. The main one called "Add/Remove" had pride of place at the bottom of the Applications Menu. There was also Synaptic of Debian fame, as well as one called gdebi-gtk and another that had something to do with dpkg.

If they just added a preferences button to the Add/Remove tool that could replace Synaptic, i.e. so you could select your repositories and so on. If they added an "open downloaded package" button then it could replace the other two.

Under "System" in the top menu, the first two choices are "Preferences" and "Administration". Under these two options are a combined 41 tools! I know my program choices added a couple but cripes that is one big mess.

On the other hand each tool is very well labelled and easy to use, so it is not quite as bad as the "Windows Control Panel", where all the options are hidden inside a tab inside a completely differently labelled icon, or the Apple 'Finder' which does the exact opposite of its name.

Conclusion

I think Ubuntu is my favourite binary Linux Distribution so far. The package manager, despite multiple GUIs, is rather less painful than the RPM world (yum notwithstanding). It also has very sensible defaults and a nice set of default applications, remarkable considering the applications have to share the one CD with an operating system and a graphical LiveCD environment. (I remember using Redhat where you had to burn 4 CDs but only ever used the first one).

I will certainly be recommending it to others. It is very easy to get a good desktop setup out of this. Now I am off to emerge sync before I come down with something...

1 Phill says...

I'm glad you liked Ubuntu, it's definitely my favourite distro at the moment. You should check out Easy Ubuntu, it allows you to install a whole lot of other cool stuff. Particularly useful if you have an nvidia / ati graphics card.

Posted at 8:57 a.m. on January 3, 2007


2 Arangel says...

Thanks for the tip, I just bought a new Canon camera yesterday and had the same problem.. :)

Cheers!

Posted at 9:08 a.m. on January 5, 2007


3 Sean says...

Hi nice job on the quickcam messenger, how the hell did you do that? I have everything working except it. Arch Linux had a package for it.

Don't know if you help with these kinds of things, I came across your site looking for quickcam help. At least I know it's possible. Thanks.

[Zeth's answer is below]

Posted at 3:53 a.m. on January 12, 2007


4 Zeth says...

Hi Sean,

  1. Make sure that you have the module videodev available in your kernel,

    i.e. try:

> modprobe videodev

Then test it with

> lsmod | grep videodev

Then unload it again:

> modprobe -r videodev

You will not get very far without that. If you do not have it then you will have to recompile your kernel and add support for it if not. Some distros make this very easy while some make it very hard.

2. Get this file and unpack it: http://home.mag.cx/messenger/source/qc-usb-messenger-1.6.tar.gz

  1. Run the script as a normal user:

> ./quickcam.sh

Do everything it says, you might have to stop several times and get the dependencies or whatever.

It threatens you several times through the process with something like:

> WARNING: If you press Enter, I'll try to continue anyway but this probably will fail. You SHOULD press Ctrl+C now.

This was true for quite a few times but somewhere near the end (I cannot remember exactly) it was wrong and I was right - it did not fail and it worked well. So if you have done something it tells you to do (and you can otherwise verify it somehow) and it throws a warning anyway, then carry on regardless. That is what I did anyway.

Since I have no idea about your system, that is all I can say now,

Good Luck! Zeth

Posted at 9:33 p.m. on January 12, 2007


5 Sean says...

Thanks for the reply, still can't get it working. One big problem is it's not creating a /dev/video0 device. I'll keep trying of course. Thanks again.

[17217352.148000] usb 1-1: new full speed USB device using uhci_hcd and address 7 [17217352.332000] usb 1-1: configuration #1 chosen from 1 choice [17217352.336000] quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB 1.5 $Date: 2006/11/05 00:00:00 $) [17217352.336000] quickcam: Kernel:2.6.17-10-generic bus:1 class:FF subclass:FF vendor:046D product:08DA [17217352.336000] quickcam [57.523132]: poisoning qc in qc_usb_init [17217352.336000] quickcam [57.526003]: Filed qc_stv_set()=-32 [17217352.336000] quickcam [57.526016]: qc_stv_set STV_ISO_ENABLE=0 failed -32 [17217352.336000] quickcam [57.526029]: failed qc_usb_init()=-32

Posted at 1:45 a.m. on January 13, 2007


6 Polygon says...

Thank you so much for providing a fix to that camera problem. It now works perfectly.

Posted at 4:40 a.m. on January 17, 2007


7 Polygon says...

And also, ive submitted your fix as a "howto" to the ubuntu forums (ubuntuforums.org), and its helped a few other people :D

thanks again for writing it!

thread if you want to see it:

http://ubuntuforums.org/showthread.php?p=2117143

Posted at 5:05 a.m. on February 7, 2007


8 dR_schneider says...

OMG. It worked. Your tip to modify /etc/udev/rules.d/45-libgphoto2.rules was successful. However I did a very funny mistake at the beginning. When you are mentioning the command lsusb, the letter l looks like /. So I tried executing /susb.(;. But I found out another way of retreiving the vendor and the product ID. If you go to System -> Administration -> Device Manager, and then look up your camera and choose the Advanced 'option', there are the variables usb.vendor_id and usb.product_id. Thanks alot.

Posted at 9:04 a.m. on February 24, 2007


9 Zeth says...

Polygon's link for extra camera help has changed to: http://ubuntuforums.org/showthread.php?t=340271

Posted at 11:23 a.m. on March 31, 2007


What do you have to say?

Show Editing Help

Europython

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

jythlkedl;rg

July 2, 2009
????? ??? ????????? ?????? ?? ???????? ? ????????? ???, ? ??????? ??? ??????? ??????? ? ??? ?? ???? ?? ?? ????? ???????????????? ??????????????????. ??????????????????? ????? ?? ?? ????, ?, ???, ...
Burning an iso to CD on Windows

gbi-service-ru

July 1, 2009
???? ?????????, ?????????? ?? ?? ? ???"??? ??????, ?????????? ??? ?? ???? ? ????, ? ? ?????. ?? ??? ???? ???? ??? ???. ?? ?????????? ???? ?? ?. ???????? ?, ...
Burning an iso to CD on Windows

seo techniques

July 1, 2009
I would like to thank you for the inforamtion you have put on this article no matter.
Only the penitent man will pass - on captchas and cotton wool

Online Craps lernen

July 1, 2009
I would like to thank you for the making these clarifications in such a detailed manner to rebuilt the communication and enhancing the strategies of the organization which could be ...
Disclaimer: NO WARRANTY

ZK@Web Marketing Blog

July 1, 2009
Django is an amazing web framework; we built a lot of features in a very short period of time and Django [mostly] stayed out of our way. Last night as ...
Baby Steps with Django - Part 4 Django Applications and flow

overnight payday loans

July 1, 2009
I found commandline.org.uk very informative. The article is professionally written and I feel like the author knows the subject very well. commandline.org.uk keep it that way.
Only the penitent man will pass - on captchas and cotton wool

Drogo

June 30, 2009
Gotta agree with your sentiments about many modern games. The cost of a new game is prohibitive, especially for consoles (although I've noticed that PS2 games have crashed in price ...
Retro British Gaming - Part 3: Amstrad CPC Games

pppiohooddd

June 29, 2009
Free vadult video site! http://crech.us/ 1000 free video every day!
OpenSolaris, Gobuntu, and be careful who you kiss

Tesyimasystus

June 29, 2009
...Love this dude!!! http://www.esnips.com/doc/79c22395-7bd6-4299-92db-cf392e381698/kutiman---this-is-what-it-became Peace
5 Homebrew Python Games

Simon Tite

June 28, 2009
twitterfall is still there, I just tried it, and to me it beats Visible Tweets hands down. Problem with Visible Tweets: * Extremely **irritating** animations! (There are three available, but ...
Visualising your favourite keywords in Twitter

piffAltetle

June 28, 2009
??? ??? ???? ???????????? ??????,?????????? ???? ?????? ??????????? ???????,??????????? ????? mp3,??????? ??????????? ??????.
Encrypt your /home this Christmas: part three - moving your data to the encrypted partition

idhyougjdsyhfr

June 26, 2009
SMS Trap is something that never fails to help you get your partner off guard? Our software will make reading other people?s SMS as easy as ABC. Ready for some ...
Burning an iso to CD on Windows

Sozdanie-saitov-com

June 26, 2009
???? ???????? ? ?????????????????? ????????????? - ??? - ???? ?? ????? ?????. ???? ?? ??? ? ??????? ?????? ????????? ?????! ???, ?????23126 sozdanie-saitov.com@mail.ru
Burning an iso to CD on Windows

gameskillz

June 26, 2009
Killzone 2 - the best PS3 game yet?Still LittleBigPlanet for me, but Sony's new shooter is mightily impressive. What you think about my web? http://www.easyfaxlesspaydayloan.com/payday-loans-online.html
Email Syntax Check in Python

Anish

June 25, 2009
hey Moritz, Check this http://commandline.org.uk/python/my-merry-five-minutes-with-bazaar/
Setting up a bazaar server

gbi zavod 177

June 24, 2009
???? ?????????, ?????????? ?? ?? ? ???"??? ??????, ?????????? ??? ?? ???? ? ????, ? ? ?????. ?? ??? ???? ???? ??? ???. ?? ?????????? ???? ?? ?. ???????? ?, ...
Burning an iso to CD on Windows

vettone

June 24, 2009
??? ????? ????? ????,??????? ?? ???,????? ???? ???.????? ?? ??????????? ????,?????????? ?????? ???????? ?? ????.???? ????????: http://euro-football.ucoz.com ????? ???? ??????????.
Burning an iso to CD on Windows

tuegjhg78kjfhuey

June 23, 2009
? ???????????????? ???? ??? ???, ?? ?????? ?? ?????????, ???, ???????????????? ??? ??????????, ???? ????? ??? ??? http://remont.ucoz.ua/
Burning an iso to CD on Windows

viagra

June 23, 2009
Thanks
The Ultimate Cheatsheets and the end of memory

viagra

June 23, 2009
Thanks
Email with Mutt, IMAP and SSMTP