LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-05-2012, 12:45 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
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

Last edited by Xeratul; 04-05-2012 at 01:32 AM.
 
Old 04-05-2012, 01:27 AM   #2
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
bump please
 
Old 04-05-2012, 11:48 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
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`?

Last edited by Xeratul; 04-05-2012 at 11:53 AM.
 
Old 04-07-2012, 09:55 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
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 ]

Last edited by Xeratul; 04-07-2012 at 09:57 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP Officejet 4500 VIM Linux Mint 7 10-17-2018 05:33 AM
HP Officejet 4500 - Linux Driver grabro Linux - Hardware 4 12-15-2011 12:38 AM
LXer: How to Install an HP Officejet 4500 G510 on Sabayon Linux LXer Syndicated Linux News 0 11-06-2011 05:00 AM
Officejet 4500 : configuring the button of the printer Xeratul Linux - General 1 04-01-2011 08:03 AM
Failure to find E100 firmware even though present in /lib/firmware afhartman Linux - Networking 2 07-27-2009 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration