LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Firmware for the Officejet 4500 G510g-m ? (https://www.linuxquestions.org/questions/linux-hardware-18/firmware-for-the-officejet-4500-g510g-m-938209/)

Xeratul 04-05-2012 12:45 AM

Firmware for the Officejet 4500 G510g-m ?
 
Hi, I would need a pro here. I would like to find the firmware to use it to scan with the tray (no hplip).

Do you read german, have they this file?

http://h30492.www3.hp.com/t5/Drucker...bar/td-p/35063

hp no firmware file

The firmware version is probably the: MWM2FN0936CR

where could I retrieve this firmware file please?

Is it this file attached from a board: http://gigapeta.com/dl/2311203ad59dc1 ? How to use it to scan please?


I need a bin from HP that could be placed to /etc/sane.d/snapscan.conf
Code:

#------------------------------ General -----------------------------------

# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
#firmware /usr/share/sane/snapscan/your-firmwarefile.bin
firmware /etc/sane.d/HP-g510.bin

I have a :
Hewlett-Packard Officejet_4500_G510g-m all-in-one

Under installed HPLIP machine, where to find this bin / firmware?
Code:

[ 1972.708148] usb 1-1: new high speed USB device using ehci_hcd and address 4
[ 1972.841930] usb 1-1: New USB device found, idVendor=03f0, idProduct=2d12
[ 1972.841942] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1972.841950] usb 1-1: Product: Officejet 4500 G510g-m
[ 1972.841957] usb 1-1: Manufacturer: HP
[ 1972.842230] usb 1-1: configuration #1 chosen from 1 choice
[ 1972.913317] usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2D12
[ 1972.913374] usbcore: registered new interface driver usblp
[ 1974.254526] usb 1-1: usbfs: interface 1 claimed by usblp while 'usb' sets config #1



How to know what uses LIBUSB as firmware for this :
Code:

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.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

found USB scanner (vendor=0x03f0 [HP], product=0x2d12 [Officejet 4500 G510g-m]) at libusb:001:004

it looks like it could be :
Code:

USB\VID_03F0&PID_2D12&REV_0100&MI_02 <---- Your Driver
USB\VID_03F0&PID_2D12&MI_02

Compatible ID:
USB\CLASS_FF&SUBCLASS_FF&PROT_FF
USB\CLASS_FF&SUBCLASS_FF
USB\CLASS_FF

and then?
http://ftp.hp.com/pub/softlib/softwa...1_Basic_14.exe

it gives:
OJ100ML411_Basic_14/drivers/dot4/win2000$ ls
difxapi.dll hppldcoi.dll hpzc3212.dll hpzid412.sys hpzipr12.sys hpzisc12.sys hpzius12.sys hpzs2k12.sys



where to find it and how to install in onto debian for scanimage?

thank you

Xeratul 04-05-2012 01:27 AM

bump please

Xeratul 04-05-2012 11:48 AM

bump

there is here : tar xvpfz HPIJS.tar.gz
hp-officejet_6500_e709n-hpijs.ppd

http://ubuntuforums.org/showthread.php?t=1183108

can I use this ppd to scan wiht sane witthout cups? how`?

Xeratul 04-07-2012 09:55 AM

This
solution will prevent users from installing HPLIP since HP would not like to make use of their HPLIP, without installing all their mess, as publicized in the package description:
"This package is useful for a minimal footprint headless scanning solution"

HPLIP refuses to provide support, since they simply refer to install HPLIP. I mean, that's not fair since servers needs really "a minimal footprint headless scanning solution" and we do not need HPLIP and other mess.


OK got it to work.

Code:

$ dpkg -l | grep sane
ii  libsane                        1.0.21-9                    API library for scanners
ii  libsane-extras                  1.0.21.2                    API library for scanners -- extra backends
ii  libsane-hpaio                  3.10.6-2+squeeze1            HP SANE backend for multi-function peripherals
ii  sane-utils                      1.0.21-9                    API library for scanners -- utilities


then you add the directory scan and the file scan.py that you take from hplip deb.

so that you have:

Code:

/usr/share/hplip# ls
data  scan  scan.py


Code:

mkdir /etc/hp/

then you simply do create /etc/hp/hplip.conf




Code:

# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.10.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no


then you type to see your newly found scanner
Code:

# scanimage  -L

and then you see that udev does not see it. Ok, let's work on udev.


OK. Let's simply change the UDEV to right permissions, into the directory /etc/udev/rules.d#
Simple. Done.


OK. Un/replug the USB of our officejet.

let's try:
Let's try now with a regular user:
Code:

$ scanimage  -L
[sanei_debug] Setting debug level of dll to 0.
device `hpaio:/usb/Officejet_4500_G510g-m?serial=XX' is a Hewlett-Packard Officejet_4500_G510g-m all-in-one


Then what you do?
- Say thank you, + reportbug to libsane-hpaio (maybe one day, libsane-hpaio will care about it, and will tell you sthg else : INSTALL HPLIP and KDE and all the mess we advice you )

[ SOLVED ]


All times are GMT -5. The time now is 11:48 PM.