Dienstag, 19. Februar 2013

HP ScanJet 4670 on Mac OS 10.7 with VirtualBox


HP ScanJet 4670
Mac OS 10.7
VirtualBox 4.2.6, Host MacOs 10.7, Guest Windows 8

The HP Scanner use a PowerPC Plug-in and therefore does not work on Mac OS > 10.7.

The only solution I found is to use a virtual machine.
I choose the free VirtualBox 4.2.6.

 VirtualBox

-Install the VirtualBox on Mac OS 10.7.

-The guest system is Windows 8. (Windows XP will also work, probably)

Driver HP ScanJet 4670

-Install the general driver for Windows Vista 64 bit, setup_basic_4600.exe
Look on www.hp.com driver site. 

USB Error

Then I plug-in the USB cable from the scanner I got the error:

"...USB Device Status is busy..."

The Mac cannot  read the device, so the virtual machine does not recognize the scanner.

The solution I found on the site
https://forums.virtualbox.org/viewtopic.php?t=737
wstein 6.12.2008, thanks to wstein

"...
1. First and most important, if you are already running your virtual machine(s), USB capture is not going to work for most devices. So, shutdown ALL virtual machines for the moment (properly from within each machine).
2. Open the Device Manager. The easiest way to find it is in the control panel.
3. Locate the device you want to capture. If there is no driver installed then it might appear in the 'Other devices' section as 'Unknown device'. If so skip the next 2 steps.
4. click the menu View->Devices by Connection
5. click on all '+' to expand the tree until you find the device you want, keep an eye out for ones with USB in it. The exact hierarchy is dependant on your hardware.
6. If the name of the device is not clear, make sure its the right one by unplugging it. The one you unplug will disappear in the device manager window within 2 seconds. Plug it back in to make it reappear.
7. right click on the device you want to capture and select 'Properties' from the pop-up menu
8. a properties dialog will appear, click on the 'Details' tab
9. click on the 'Property' dropdown and select 'Hardware Ids'
10. there should be a line of text similar to 'USB\Vid_06CD&PID_011C&REV_0001' Write this down if you can't see it while the VirtualBox control window is up. These are the values needed. Note that they will change when a virtual machine captures them.
11. go to (or start) the VirtualBox control window.
12. select the Virtual machine you wish to associate with this USB device
13. click on the 'USB' in the 'Details' pane or click 'Settings' then 'USB' from the settings dialog
14. click on the empty filter (blue circle), this will add a new [blank] entry (I could not make this work by using the one with the '+' sign on it, don't know why)
15. double click on the new entry to bring up a 'USB Filter Details' dialog
16. enter the 3 four digit hexadecimal numbers from the hardware ID string from Device Manager as follows
four characters following 'Vid_' -> Vender ID:
four characters following 'PID' -> Product ID:
four characters following 'REV_' -> Revision:

..."
in case of ScanJet 4670
Vender ID: 03F0
Product ID: 3005
Revision: 0100



"...
17. You can optionally change the name but do not enter any other values. Click 'OK' to exit the 'USB Filter Details' dialog.
18. Click 'OK' to exit the Settings dialog
19. repeat steps above for other devices or virtual machines
20. If this is the second time trying these instructions, unplug and plug back in the USB device at this point.
21. Start your virtual machine(s).
22. Capture the USB device by selecting it from the USB icon menu in the lower right corner of the virtual machine window. This should cause the device listed in the (Host) Device Manager to change to 'Virtual Box USB'

..."



Now I can scan with the application 'paint' and send the file through a shared folder to the Mac.


Montag, 18. Februar 2013

E-Book erstellen mit SIGIL


Es wird Sigil 0.7 verwendet.
http://code.google.com/p/sigil/

Mit der freien Software SIGIL kann aus einer HTML-Datei leicht eine epub-Datei erstellt werden.

  1. Der Text mit Bildern sollte als HTML-Format vorliegen.
    Wenn nicht kann aus Word oder aus dem Writer (LibreOffice/OpenOffice) der Text als HTML gespeichert werden. Word produziert dabei gewöhlich viel HTML-Müll. Daher die Einstellung "Webseite, gefiltert" benützen. Nach dem Speichern in Word sind die Bilder in einem extra Ordner zu finden. Im Text sind die Bilder nur verknüpft.

    Mein Text lag schon als HTML vor, aber ich musste die Tabellenformatierung und einige unnütze Links in der Datei löschen. Dazu habe ich das alte Adobe Golive 6.0 verwendet. Ich habe den gewünschten Text in eine neue Datei kopiert und als HTML gespeichert.
    Dreamweaver oder ein anderer HTML-Editor wäre auch gegangen.
  2. SIGIL öffnen.
  3. Zuerst die Bilder importieren! Werden die Bilder erst nachträglich importiert, kann SIGIL den Link auf die Bilder nicht einrichten. Siehe Tipp am Ende der Post.
    Dazu in SIGIL Menü Insert : File... klicken.
    Images wählen und den Bilderordner aud der Festplatte suchen.
    Alle Bilder wählen und in SIGIL importieren.
  4. Die HTML-Datei importieren.
    In SIGIL unter dem Menü File : Add..
    Existing Files...
    wählen und die HTML-Datei auf der Festplatte suchen und einfügen.
  5. Die überflüssige Datei Section 0001.html, die zu Beginn automatisch erstellt wurde, eventuell löschen.
  6. Mit Menü Tools : Delete Unused Media Files.. können überflüssige Bilderdateien gelöscht werden. Aber Achtung siehe Tipp.
  7. Mit Menü Tools : Table of Contents wird automatisch ein Inhaltsverzeichnis erstellt.
  8. Mit Tools : Metadata Editor... können Informationen zu der epub-Datei beigefügt werden.
  9. Zum Schluss wird mit Menü File : Save die epub-Datei erstellt.
Die Epub-Datei habe ich mit dem Programm calibre auf dem PC oder Mac angeschaut.

Tipp:
Nicht immer war der Link zu der Bilderdatei richtig gesetzt.
Um das zu reparieren ist das Werkzeug Menü Tools : Saved Searches nützlich.
In dem Fenster Saved Searches kann mit der rechten Maus und Add Entry eine neue Suche und Ersetzen eingerichtet werden. Es wird unter der Find der falsche Link, z.B. File:///d:/daten...
und unter Replace ../Images/ eingetragen.
Dann mit der Schaltfäche Replace All die Suche-Ersetzen durchführen.







Dienstag, 12. Februar 2013

MacBook Pro - System Restore from Time Machine

Harddisk of MacBook Pro 15 inch was broken.
Old Harddisk was a Hitachi 7K750-750 750 GB, 7.000 rpm.
7.000 rpm was to much without cooling!
Bought a new Samsung/Seagate ST1000LM024, only 5.000 rpm.
External Firewire Harddisk LaCie with Backup by Time Machine.

  1. Plugin the external hardisk (firewire) with the Time Machine Backup
  2. Start MacBook with new harddisk and press "ALT"
  3. Choose the external harddisk
  4. Application Disk utility
  5. Restore the system from external harddisk
  6. create new partition
  7. Go with restore and chose the new partion
  8. Restore (about 4 hours).

Intel 82566MC Gigabit Network Device Cannot Start (Code 10)

Notebook: Lenovo R61
Type 7738
Operating System: Windows 7

Error: Ethernet is not working, Device manager shows inactive ethernet device.
"Intel 82566MC Gigabit Network Device Cannot Start (Code 10)"

Solution:

  1. de-install device in device manager
  2. Turn the computer off.
  3. Unplug the laptop.
  4. Pull out the battery
  5. Open the laptop lid and press the power button 11 times. 10 times normally and on the 11th, hold it for 15 seconds. This will clear the board of the excess charge the Lenovo's seem to build up.
  6. Put the battery back in.
  7. Plug the power back in.
  8. Turn the system back on.
  9. install the ethernet device
This is a bug of Lenovo or Intel.


Reverence:
 ITGuyLex:
http://forums.lenovo.com/t5/R-and-L-Series-ThinkPad-Laptops/R61-Intel-82566MC-Gigabit-Network-Device-Cannot-Start-Code-10/td-p/78500/page/5