I ran into problems with the HP Scanjet G4050 as well. Here's a summary:
• Default upgrade to Leopard over a working Tiger install, with the G4050 working normally.
• G4050 worked, but exhibited odd problems after waking from Mac sleep. It was as if the scanner hardware had gone to sleep and then the HP software lost it. If you're at this stage, here's a workaround that worked for me every time:
1. Switch off G4050 with power button on the left rear.
2. Switch G4050 back on.
3. Put Mac to sleep, then wake again.
If this works, or if you don't need to fix anything, stop. Don't do anything until you read my whole post.
Too bad I didn't leave it there and wait for an HP upgrade of the software. Keep reading.
After troubleshooting for a while, I used the HP uninstaller utility to remove the scanner software. Then I tried to reinstall from the install disc. The installer seemed to work, but the scanner software was not installed, or parts of it weren't installed. Then the G4050 didn't work at all. I couldn't find any way to hand install from my cloned Tiger install.
Then I found this file with a Google search. This URL will download the pdf from HP:
http://h41140.www4.hp.com/macconnect/pdf/Mac_OS_launchspecial.pdf
The document says that no drivers need to be installed in Leopard for the G4050. Leopard includes the driver. It recommends an upgrade install and notes that an Archive and Install or Erase and Install will prevent the scanner from working in Leopard. Wish I'd read this yesterday.
Here's the most relevant paragraph:
"Products using device drivers with VISE
Installer v2.x will currently not run on Mac
OS X Leopard. This includes HP Scanjets
and HP Photosmart digital cameras.
In addition to the full HP driver set built
into Leopard, HP plans to release software
updates in 30 to 60 days."
Bottom line: do an upgrade install and leave the scanner alone at that point. If you've already done an Archive and Install, or uninstalled the HP Scanjet software, you're hosed until HP gets the new software out.
Meantime, I'm using the scanner plugged into a G4 PowerBook with Tiger.