Archive for Gadgets

Canon Canoscan n670u on Ubuntu 12.04 Server.

Begins

I still own an old scanner given by my cousin (Thanks Cousin L, yes I still uses it), this scanner was dated back from the year 2k era, I think Aunt gave 1 set to me first and I left it behind in AUS for mate YX, and in about 2005 Cousin L decided to upgrade his second set so this was given to me too, nice scanner to have, it runs with the 5V power from USB (at the time most scanner require extra power), it does fair speed on scanning, it works without much trouble on Windows XP.

It was severing me well for quite some time, I even developed code allowing me to scan by Web (PHP > shell_exec to my share folder and dropbox, from my Android and iPad), till I upgraded to 64bits Windows, dear Canon decided NOT to support this device any more (Curse the person who decided to make a SAME Hardware configuration with 64bit support), I was left alone..

I just hate throwing good hardware away because some greedy company wants more $$ from my pocket! so I try to get my hands dirty and get so workaround!

By first, I try to run it under a Lited version of  32bit XP (which only consume me like 90MB RAM), it works ok but the problem is virtualbox runs USB device like a 99 years old man, scanning a page of  B5 would take me more than 4 minutes….well can’t complain much as it still works, since I only uses it to scan books cover, which I tolerated that for a while…

Recently, I started to use VMware instead of Virtualbox, which give me much better USB support and speed on VMs, so I started to make this old baby works again on my system…

On the VM, I am running Ubuntu 12.04 Server LTS.

By reading some Ubuntu hardware compatible list, it sure does list as supported natively by Ubuntu, good start!

Ubuntu Wiki – https://wiki.ubuntu.com/HardwareSupportComponentsScannersCanon
Hardware4linux – http://hardware4linux.info/component/11206/

A bit of search leads me to SANE, Scanner Access Now Easy, the scanning solution on Ubuntu, sounds good too!!
SANE – http://www.sane-project.org/

And I also found someone who happens to have the same scanner, sweet!!!

Wrestling a Canoscan N670U / N676U / LiDE20 scanner in Edgy – http://www.soours.com/wordpress/archives/2007/01/27/wrestling-a-canoscan-n670u-n676u-lide20-scanner-in-edgy/

Ok, lets start rolling:

Installation

apt-get install sane

apt-get install sane-utils

Done done, follow the above page example,

nano /etc/sane.d/plustek.conf

The part that confuse me a bit was the file, he actually means copying the block from the link http://linuxplusvalue.be/mylpv.php?id=302

The second part is to edit the dll.conf of SANE

nano /etc/sane.d/dll.d/dll.conf

What we do is just comment out all unneeded modules, you can follow the link too if you are unsure.

by running “lsusb” and “sane-find-scanner”

lsusb
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
>Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
>Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
>Bus 002 Device 009: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20

sane-find-scanner

># sane-find-scanner will now attempt to detect your scanner. If the
># result is different from what you expected, first make sure your
># scanner is powered up and properly connected to your computer.

># No SCSI scanners found. If you expected something different, make sure that
># you have loaded a kernel SCSI driver for your SCSI adapter.

>found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:002:009
># Your USB scanner was (probably) detected. It may or may not be supported by
># SANE. Try scanimage -L and read the backend’s manpage.

># Not checking for parallel port scanners.

># Most Scanners connected to the parallel port or other proprietary ports
># can’t be detected by this program.

Good, SANE sees my scanner, now to the scanning part, running “scanimage -L” (part of sane-utils, -L list devices)

scaniamge -L
>device `plustek:libusb:002:009′ is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner

I am good to go! a bit more digging for config needs, runs:

scanimage –help -d “plustek:libusb:002:009”

This output all the config I would need for scans.

My final command for the scan:

scanimage -d “plustek:libusb:002:009″ -x 215 -y 190 –resolution 600 –format=tiff > /mnt/ramdrv/output.tiff”

I am able to scan my books cover again!!!

Results

With the better USB speed on VMware compare to Virtualbox, I get my B5 book cover in 600dpi in about 118.5 secs, a bit below 2 minutes, not that bad for a 12 years old scanner!!

BTW, I do most of my scanning job now by my other scanner Canon P-150, which has a auto paper feeder and do double side, 5ppm (10pages) at 600dpi , but this 12 years old baby is still working good, colors are fine and I am happy it still serves me, and once again thanks to Aunt and Cousin L, I had such a nice scanner and fun with it!!!

Maybe when I have more free time, I shall make my old Webbase scanning code to work with my new Raspberry Pi, a Wireless (Power of coz) Scanning server is just fun!

Extra reading.

Scanning from Terminal – http://askubuntu.com/questions/106769/scanning-from-terminal
SANE how to – http://www.howtoforge.com/sane_xsane_scanner
SANE Documentation – http://www.sane-project.org/lj98/doc003.html
MAN scanimage – http://manpages.ubuntu.com/manpages/hardy/man1/scanimage.1.html
Canon USA n670u – Canon USA n670u

New toy of the day, RF RC buggy for iDevices by Dexim.

image

Thanks to workmate K, what a nice toy to play with!!

In stead of most remote toy for mobile which operates with IR, this mini buggy runs with RF, which the range is much better and does not affect by direct sights.

It comes with a Apple connector which works with iOS devices, and the controller app can be download from Appstore for free, a bit of charging up with the bundle USB adaptor, and here we go!

A bit to nag is the controller App, it is iPhone resolution only, which doesn’t look that good on the new iPad, well, it works great so it is still good to use.

Once again thanks K for the nice toy.

Lytro Camera on desk!

I really would love to have one, hum………(nope, this nice gadget is not mine)…

Just in case you don’t know what is this cool stuff, head Lytro Camera for more.

Eneloop special editions.


110 Year Disney Limited Edition


Eneloop tone

Oh man, I just wanted to buy them!!!!!!!!!

Panasonic Eneloop product page

Canon P-150

New toy in the house!

I would like to starts scanning my books!!

Asus Transformer Prime on hand.

image

Thanks to ac, he is the man!!!

Sony RM-AV1000 on desk!

USB IR Toy is great, but a physical remote is just GREAT, I wonder how would I make it to work with my needs..

Colouring the iPhone.

Thanks to jp! (photo by @DinCooCniD from http://steply.com/photos/eeinghk?t).

Not Google TV, but an Android TV..

A famous local HDTV set top / PVR box manufacturer has done it, a build in 42 inch LCD full HD TV with Android 2.2 build in!

Model number 8TV4233, featuring 42 inch 50000:1, 1080p, RGB, VGA, HDMI in X4, USB X 2, DVB-T decode, PVR and the most important, Android OS!!! (Too bad it is on 2.2, I wonder what solution it is gonna use, lets ROOT+OC+Whatsoever it, if source code were EVER released…)

As advertised, the main sale point of this device is the build in browser for Internet browsing with Flash support.
TVB, the leading local TV station, provide TV shows ondemand services by mytv.tvb.com, which uses Flash + encrypted H264 to serve TV Shows, which iOS is missing, there should be a fair amount of users who would like this on a TV.

No word on price or release date yet, but I sure I am interested…

Links
Eight Group – Spec PDF (8TV4233)
Eight Group – Product page 8TV4233

Good tips and tricks about Samsung Galaxy S II

Saw this post over at android forum, very good to read just in case you forgot or don’t know.

If you are yet another 3 million SGS2 owner/user in these 55 days, it sure is a worth to read.
🙂

Links
Android Forum – Tips n Tricks thread.