Happy New Year everyone!
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.
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.
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".
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...
<p>I'm glad you liked Ubuntu, it's definitely my favourite distro at the moment.
You should check out <a class="reference external" href="http://easyubuntu.freecontrib.org">Easy Ubuntu</a>, it allows you to install a whole lot of
other cool stuff. Particularly useful if you have an nvidia / ati graphics
card.</p>
<p>Thanks for the tip, I just bought a new Canon camera yesterday and had the
same problem.. <img src="/static/forum/img/smilies/smile.png"></p>
<p>Cheers!</p>
<p>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.</p>
<p>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.</p>
<p>[<a class="reference external" href="http://commandline.org.uk/2007/my-day-with-ubuntu-edgy-eft/#comment-18664">Zeth's answer is below</a>]</p>
<p>Hi Sean,</p>
<ol class="arabic" start="0">
<li><dl class="first docutils">
<dt>Make sure that you have the module videodev available in your kernel,</dt>
<dd><p class="first last">i.e. try:</p>
</dd>
</dl>
</li>
</ol>
<p>> <tt class="docutils literal"><span class="pre">modprobe</span> <span class="pre">videodev</span></tt></p>
<p>Then test it with</p>
<p>> <tt class="docutils literal"><span class="pre">lsmod</span> <span class="pre">|</span> <span class="pre">grep</span> <span class="pre">videodev</span></tt></p>
<p>Then unload it again:</p>
<p>> <tt class="docutils literal"><span class="pre">modprobe</span> <span class="pre">-r</span> <span class="pre">videodev</span></tt></p>
<p>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.</p>
<p>2. Get this file and unpack it:
<a class="reference external" href="http://home.mag.cx/messenger/source/qc-usb-messenger-1.6.tar.gz">http://home.mag.cx/messenger/source/qc-usb-messenger-1.6.tar.gz</a></p>
<ol class="arabic simple" start="3">
<li>Run the script as a normal user:</li>
</ol>
<p>> <tt class="docutils literal"><span class="pre">./quickcam.sh</span></tt></p>
<p>Do everything it says, you might have to stop several times and get the
dependencies or whatever.</p>
<p>It threatens you several times through the process with something like:</p>
<p>> WARNING: If you press Enter, I'll try to continue anyway but this probably
will fail. You SHOULD press Ctrl+C now.</p>
<p>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.</p>
<p>Since I have no idea about your system, that is all I can say now,</p>
<p>Good Luck!
Zeth</p>
<p>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.</p>
<p>[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</p>
<p>Thank you so much for providing a fix to that camera problem. It now works
perfectly.</p>
<p>And also, ive submitted your fix as a "howto" to the ubuntu forums
(<a href="http://ubuntuforums.org" rel="nofollow">ubuntuforums.org</a>), and its helped a few other people <img src="/static/forum/img/smilies/big_smile.png"></p>
<p>thanks again for writing it!</p>
<p>thread if you want to see it:</p>
<p><a class="reference external" href="http://ubuntuforums.org/showthread.php?p=2117143">http://ubuntuforums.org/showthread.php?p=2117143</a></p>
<p>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.</p>
<p>Polygon's link for extra camera help has changed to:
<a class="reference external" href="http://ubuntuforums.org/showthread.php?t=340271">http://ubuntuforums.org/showthread.php?t=340271</a></p>
<p>Hi People
How are you doing?</p>
[quote=unauthenticated_user]Thanks for the reply, still can't get it working. One big problem is it's not
<br/>creating a /dev/video0 device. I'll keep trying of course. Thanks again.
<br/>
<br/>[17217352.148000] usb 1-1: new full speed USB device using uhci_hcd and
<br/>address 7
<br/>[17217352.332000] usb 1-1: configuration #1 chosen from 1 choice
<br/>[17217352.336000] quickcam: QuickCam USB camera found (driver version
<br/>QuickCam Messenger/Communicate USB 1.5 $Date: 2006/11/05 00:00:00 $)
<br/>[17217352.336000] quickcam: Kernel:2.6.17-10-generic bus:1 class:FF
<br/>subclass:FF vendor:046D product:08DA
<br/>[17217352.336000] quickcam [57.523132]: poisoning qc in qc_usb_init
<br/>[17217352.336000] quickcam [57.526003]: Filed qc_stv_set()=-32
<br/>[17217352.336000] quickcam [57.526016]: qc_stv_set STV_ISO_ENABLE=0 failed
<br/>-32
<br/>[17217352.336000] quickcam [57.526029]: failed qc_usb_init()=-32[/quote
<br/>Hi Sean,I'm new to computers,I have ubuntu 10.10 set up better than windows could ever be,thanks to figuring out the terminal,for webcam jusy enter sudo apt-get install cheese and then look in the sound and video under applications and it's done,have a great year all <img src="/static/forum/img/smilies/smile.png">