Posts Tagged “ubuntu”

Here follows a quick description of getting an Epson Perfection V300Photo running in Ubuntu 8.10 Intrepid.

epson_v300_photo

Firstly, the scanner has sane support but requires a ‘non-free’ (as in speech) driver element.

Thinks you need:

Make sure sane and sane-utils are installed:

sudo apt-get install sane sane-utils

Then you will need to ‘borrow’ libltdl3 from Ubuntu 8.04. You can find it here: http://packages.ubuntu.com/hardy/libltdl3

And finally, you need iscan and the esci driver as DEB pacakages from AVASYS. You need to go through the form-driven system here: http://www.avasys.jp/lx-bin2/linux_e/scan/DL2.do

Once you’ve installed that little lot, you need to add a line  to one of your sane config files:

sudo gedit /etc/sane.d/dll.conf

Add epkowa to the list of drivers found there.

You should now be able to use Xsane or any program which calls Xsane (such as GIMP) for scanning.

I’ll readily admit, it’s a really clunky installation process. It seems largely Epson’s fault. The do provide the Linux driver but it’s a binary and doesn’t appear to be licenced in a way which would enable it to be bundled with a Linux distribution. It would either require Epson to release the sourcecode for their V300 driver or for someone to successfully reverse-engineer the scanner software interface for this to become easier ie: direct sane support.

References:

http://ubuntuforums.org/showthread.php?p=6297403
http://ubuntuforums.org/showthread.php?t=978407

Comments 3 Comments »

I recently installed Ubuntu Linux 8.10 on a Compaq Presario 2100 laptop. Specifically, this model of the 2100 series has an intel Celeron mobile processor which nominally runs a 1.7Ghz.

Naturally, on a laptop you don’t want to be running you CPU at full-chat all the time as the fan can be noisy and the flesh on your legs may burn. By default, Ubuntu didn’t work out how to step down the speed of the CPU which is unusual.

I could swear that I’d had this laptop throttling it’s cpu frequency before and with a little brain wracking and internet searching, I [re]found the solution.

You need to activate the p4-clockmod module using the command sudo modprobe p4-clockmod. Once this is done, you can activate the Gnome panel cpu frequency applet (right-click panel>Add to panel>CPU Frequency Scaling Monitor)

cpu_widget_ubuntu

You should now be able to choose a speed from 1.7Ghz down to 212Mhz from the list or select one of the automatic speed governors.

You still need to make sure that the kernel module is loaded every time at boot time. To do this, use sudo gedit /etc/modules and add the line p4-clockmod.

Now, every time your machine starts, the cpu governors will be activated and you’ll hopefully have a quieter and cooler experience.

Comments 1 Comment »

On a Ubuntu 8.04LTS server, I recently had an annoying case where the system would spew an error out seemingly every time a command was executed.

The error format was thus:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Clearly something wasn’t happy and that something appeared to be my ‘locales‘. They are actually quite self-explanatory, they define the language and location of a user in order to allow the correct presentation of the user interface. Great if you want to avoid having to read Kanji on the command line but not so much use if it’s just Crontab talking to the root account and filling up the mailbox with errors.

With a bit of searching, I found a simple enough answer. Obviously, as the error states, the locales need to be set. To do this issue the command:

sudo locale-gen

You can add your preferred locale to the end of this ie:

sudo locale-gen en_US.UTF-8

…which will generate the US English interface language with UTF-8 character formatting.

Then issue:

sudo dpkg-reconfigure locales

Hopefully, your locales will be set and that annoying error will be banished both from the console and your root inbox.

Credit to this thread at Ubuntu Forums

Comments 2 Comments »

Having never tried using a webcam with Ubuntu, I recently picked up a Logitech Quickcam S 5500 – more specifically, the ‘for business’ model.

As far as I can tell, the ‘for business’ version denotes the package rather than any difference in the camera itself. The package was a minimalistically small box with the camera, a compact disk and a manual tucked inside. The exterior motif was simple, just a picture of the camera, a ‘certified for Vista’ logo and a product code panel. This is the sort of packaging that really makes sense, the box is no bigger than it needs to be and doesn’t waste materials which will ultimately be disposed of.

quickcam_s5500_for_business_box

The included software (this may be the distinction of the ‘for business’ moniker) is Logitech’s Quickcam for Enterprise on a CD. Presumably, the consumer oriented version of the S 5500 package would come with different software. Unfortunately, from the point of a review, I left the software in the box untested as I would be connecting this camera to a Ubuntu 8.10 system with which the software would be incompatible.

quickcam_s5500_1

The camera itself is just a bit bigger than a golf-ball with a ‘poseable’ foot/mount and a slide-down lens cover. The sensor is a true 1.3 megapixel unit having a native resolution of 1280×1024 pixels. The USB lead which conveys both video and microphone audio from the camera is about 2 meters long and comes with a thoughful tag near the USB connector which identifies the device to make it easy to find it when unplugging it from a USB hub.

quickcam_s5500_back

Having connected the device to a Ubuntu 8.10 box, ‘lsusb’ reports:

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 046d:09a1 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The two ‘hub’ entries are also apparently generated by the camera.

If found the camera to be working quite literally ”out of the box’ with xawtv. The camera complies with the “USB Video Class” webcam standard and is already supported by the Linux UVC drivers. Sadly, the included luvcview application which allows finer control of the cameras features wasn’t working with the S5500 so I ended up pulling the trunk sources from their git repository and building them myself. This got luvcview working and allowed manual control of the cameras exposure settings.

Logitech includes what they call “Rightlight Technology” with this camera. Put simply, the camera varies it’s exposure duration automatically depending on the available light. For instance in broad daylight, the camera will perform at 30fps. With only the light of the computer monitor on my face in a darkened room, the camera will continue to produce a good quality image at a much lower frame rate (typically 5fps). When changing the exposure manually, you are directly changing the frame rate. The sensor still captures a suprising amount of detail when deliberately set to underexpose.

The field of view is reasonably wide although not excessively so. You could confortably sit two people at a reasonable distance from the screen in front of the camera and have them in frame. The picture is generally quite sharp and well focused – the lens appears to be fixed focus – but there are some minor abberations at the edge of the image presumably caused by the size and type of lens in use. It’s still an extremely good quality image for a webcam.

Again, in the true tradition of being the most annoyingly lax reviewer ever, I neglected to test the integrated microphone which appears to sit just below the lens. The bezel touts “Rightsound Technology” so perhaps this microphone provides automatical level seeking.

There is also a button on the left side of the camera which would provide call activation/cancellation features in some Windows software but doesn’t have a default purpose on most Linux based software.

From the end user perspective, it’s ever so slightly early days for UVC cameras on Linux. Ubuntu 8.10, while supporting the Logitech S5500 has some shortcomings. For instance, Ekiga, the packaged software videophone doesn’t support UVC cameras in the shipped version. I reckon it’ll all be pretty much plug-and-play by the time Ubuntu 9.04 comes around in April though. The latest versions of Ekiga which will be packaged with Jaunty Jackelope  already supports UVC.

quickcam_s5500_2

Finally, the packaging reduced ‘for business’ version of this camera that I bought was actually a bit cheaper than the consumer counterpart.

I’m definitely recommending this product as a quality webcam. Naturally, I don’t intend to use it as a normal webcam but rather I intend to try using it as a security camera in conjunction with Zoneminder. ;)

Comments 6 Comments »

All methods and procedures shown here are carried out entirely at the user's own risk. Please read our disclaimer