Showing posts with label Image Capture. Show all posts
Showing posts with label Image Capture. Show all posts

Wednesday, 28 March 2012

Canon LiDE 60 on OS X 10.6.6 and Active Directory probs

So, after installing the scanner (heres the notes) I then thought all would be fine. It turns out that students logging in through active directory would not be able to scan. It would not provide a preview of what was in the scanner, nor would it let you press the scan button.

On looking in the logs I found this entry:
28/03/2012 12:56:47 /System/Library/CoreServices/coreservicesd[48] removing dropped transaction for -114,_mac_bind/Library/Preferences/CanoScan LiDE 60/~SGCheck.tmp

It appears the program cannot gain the right access privilages to this folder, as it is on a Windows SMB share (I think) through active directory.

On trying to create an alias to this using OS X finder I saw this error:
28/03/2012 13:02:29 kernel smb_maperr32: no direct map for 32 bit server error (0xc0000279)

As I have NHR installed, which redirects certain folders, I thought I'd try and redirect this /Library/Preferences/CanoScan LiDE 60/ folder.

After redirecting it to the local drive, I found it still not working. I found another error:

3/28/12 1:07:52 PM /System/Library/Image Capture/Devices/TWAINBridge.app/Contents/MacOS/TWAINBridge[4423] Allocator race detected: transaction is not verified for -114/2 - _mac_bind/Library/Preferences/~SGCheck.tmp
3/28/12 1:07:55 PM /System/Library/CoreServices/coreservicesd[48] removing dropped transaction for -114,_mac_bind/Library/Preferences/~SGCheck.tmp
3/28/12 1:07:59 PM /System/Library/CoreServices/coreservicesd[48] removing dropped transaction for -114,_mac_bind/Library/Preferences/~SGCheck.tmp
3/28/12 1:07:59 PM /System/Library/CoreServices/coreservicesd[48] removing dropped transaction for -114,_mac_bind/Library/Preferences/~SGRot.tmp

It looks like it needs to write two files to the ~/Library/Preferences folder:
~SGCheck.tmp
~SGRot.tmp

I regigged the LIclean.hook to delete the Preferences folder, create it in the tmp folder on the local drive, and to create a symlink in the users Library folder.

Having done this, it worked like a dream. I would preferably have it so that it just had a symlink to these files it needs, but they are probably deleted as soon as they're not needed any more, and that would be the end of the symlink until the next login.

Anyway, for reference, here are the lines I added to the LIclean.hook file:
rm -rf "$home_loc"/Library/Preferences
mkdir /tmp/$1/Preferences
ln -s /tmp/$1/Preferences/ "$home_loc"/Library/Preferences


Thinking about it I'll also need to sort the LOcleanupclean.hook file. Here's what I need to add:
rm -rf "$home_loc"/Library/Preferences

Thats a good days work.

Thursday, 15 December 2011

Scanning on the Canon LiDE 60 Scanner on OS X 10.6

Go to Applications > Image Capture



1. Click on the scanner in the top left
2. Click "Show Details"
3. Check that the details are correct (300 dpi is good)
4. Click "Scan"


Installing Canon LiDE 60 scanner on OS X 10.6.6

I recently updated one of the PC's to an iMac, yay, but forgot to think about the scanner attached. It was a Canon LiDE 60 scanner. The mac had OS X 10.6.6. Tried "Image Capture" at the off chance it'd pick it up straight away and alas it did not.

I did a quick search on the internet and found this bit of info. It says you have to install two things, a driver and something else (didn't pay too much attention). A lot of people agreed with it.

I went to Canons website, found the downloads section for the scanner here and downloaded all the OS X stuff. I was a little annoyed that it does not have a description of any of the downloads. I would like to know what they actually are.

After I downloaded it I started off trying the driver called "deldrvosx1510efg.dmg". Looked good to begin with but then asked if I was sure I wanted to uninstall the Canon LiDE 60 scanner! After saying yes (didn't think it would do any harm) it crashed.

I next tried the "lide60osx11131en.dmg" which contained the "ScanGear CS 11.1 Eng_Installer.pkg" file. It was quick and painless and wanted a reboot. After the reboot I loaded up Image Capture and it worked a treat!

So, to conclude, you basically just need to install the ScanGear CS pkg file.

Done.