Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

CHDK on a2200

Everything camera related. Includes triggers, batteries, power supplies, flatbeds and sheet-feeding scanners, too.
yesplease
Posts: 8
Joined: 28 Nov 2012, 04:07
Number of books owned: 0
Country: Sweden

CHDK on a2200

Post by yesplease » 30 Aug 2013, 08:32

Hello
I have a 2 canon a2200 setup that was preconfigured when i ordered it. (diybookscanner.eu)
One of them where crashing a lot and when swapping SD-cards it became clear that it was the card which was the problem.
When plugging in the SD-card directly into the computer i discovered that small thumbnail pictures were still there after a book was finnished and i had used an automatic script for uploading and erasing pictures.
So for a long time i have used the procedure of plugging in the SD-card and erasing the thumbnailpictures as to make sure the card wont get full.

Now i have got a problem where that SD-cards says it is out of memory while there is only 30mb of CHDK on it.
So i want to reinstall CHDK.

According to this page, using the same cameras, you cant reinstall the sd-cards yourself. http://atxhackerspace.org/wiki/Book_Scanner
Whats the problem with reinstalling it my self?

User avatar
jbaiter
Posts: 98
Joined: 17 Jun 2013, 16:42
E-book readers owned: 2
Number of books owned: 0
Country: Germany
Location: Munich, Germany
Contact:

Re: CHDK on a2200

Post by jbaiter » 30 Aug 2013, 08:49

That shouldn't be a problem at all, just remove the cards from your cameras, unlock them, remove all CHDK files and folders (or format the card), copy new files over, lock the SD card, re-insert, done.
I think the Wiki tells people not to remove the SD card because it's located in a hackerspace, and you don't want people messing with the CHDK files, potentially disabling it, etc.
spreads: Command-line workflow assistant

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: CHDK on a2200

Post by daniel_reetz » 30 Aug 2013, 12:32

jbaiter has it right. You can install CHDK yourself. Those are rules for a specific hackerspace, not for you.

yesplease
Posts: 8
Joined: 28 Nov 2012, 04:07
Number of books owned: 0
Country: Sweden

Re: CHDK on a2200

Post by yesplease » 28 Sep 2013, 16:12

Ok!
Thank you for the quick answer!
I will try that as soon as i get hold of a good replacement SD-card!

yesplease
Posts: 8
Joined: 28 Nov 2012, 04:07
Number of books owned: 0
Country: Sweden

Re: CHDK on a2200

Post by yesplease » 27 Oct 2013, 11:07

Ok.
I have unlocked the working card and copied the files directly from the ubntu filebrowser, and then copied the files onto the new card. It does not work. Something about finding the CHDK version i think. Note that i am using testing the new card with the same camera as which the functioning card is installed in.
When trying to copy the card using win32 diwsk imager the program says the file system is incompatible.

When using the following command in ubuntu:
sudo dd if=dev/a2200 of=home/Einsteinsaur/backup.img
it says it cant find "dev/a2200"

Im not an experienced ubuntu user and didnt install the CHDK myself.
What i want to do is to copy the card from the other camera, does that even work?

abmartin
Posts: 79
Joined: 15 Sep 2010, 15:33
Number of books owned: 2000
Country: USA
Location: Ohio

Re: CHDK on a2200

Post by abmartin » 27 Oct 2013, 15:48

I can only answer one of your questions quickly. (Truthfully, it's been so long since I installed CHDK, that I don't remember the details, but I you need to make the cards bootable as well as copying files. http://chdk.wikia.com/wiki/Bootable_SD_card#Linux )

The reason it cannot find /dev/a2200 is because that's not a system device. The /dev/ stuff is very deep down in the system and the reasons for it is a history lesson in itself. Suffice it to say that the partition name is independent of it's system ID. To find out what the correct /dev/ entry for your device, there are two ways. If the disk is already mounted, you can find that by just typing "mount" in a terminal and that will list all currently mounted partitions. You can also use blkid as root (or sudo) to list all connected devices. That makes it pretty clear which /dev/sdx# goes with which partition. They should also all be listed in /proc/partitions.

Be very careful with dd. It doesn't warn if you make a mistake. (It's often referred to as Destroy Disk, since we all, at some point, messed up a floppy or two by doing something wrong) Particularly, if you are copying to a /dev/sdx, be sure to have the correct device, because the wrong letter can mean you overwrite a drive for which you care deeply.

yesplease
Posts: 8
Joined: 28 Nov 2012, 04:07
Number of books owned: 0
Country: Sweden

Re: CHDK on a2200

Post by yesplease » 28 Oct 2013, 02:55

3 newbie Lessons:

1 Use EOScard on a newly formatted card to make a bootsector.
2 The bootsector must be installed before and not after CHDK is copied to the card.
3 CHDK is just some files on the card, it doesnt change the firmware on the camera. Its totally reversable. Its function does however, depend, on the firmware installed in the camera.

I will write a book about this some day...

yesplease
Posts: 8
Joined: 28 Nov 2012, 04:07
Number of books owned: 0
Country: Sweden

Re: CHDK on a2200

Post by yesplease » 31 Oct 2013, 03:22

After PM about this:
There was no thread about this, i found information about EOScard via the CHDK-wiki.
On the EOScard webpage there are some very accessible instrucitons, and the program is very straightforward.

On another note, i couldnt repeat the process again. I couldnt make my SD-card bootable when i tried again with my old CHDK.

Now its working, the method i used was:
Format with the cameras built-in formatting function (low-level)
Use EOScard
Copy CHDK files to the SD-card. (using the version correct for the camera, instructions are on CHDK homepage)
Install the card in the camera, still unlocked.
Activate CHDK by starting the camera with the play-button while in playbackmode(the camera on the wheel), furthest down in the menu choose "firmware update"
NOTICE! You dont actually update the firmware, thats not possible with the files from CHDK, youll just start CHDK.
Activate CHDKs alt-mode.
Menu, misc-stuff, make card bootable.
Lock card.
Party hard.

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: CHDK on a2200

Post by daniel_reetz » 02 Nov 2013, 18:20

yesplease wrote: Lock card.
Party hard.
YES.

nafraf
Posts: 25
Joined: 29 Oct 2013, 09:33
Number of books owned: 0
Country: Brazil

Re: CHDK on a2200

Post by nafraf » 03 Nov 2013, 09:00

It is possible to use STICK to install CHDK.

Post Reply