Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 04-12-2011, 08:02 PM   #1
Registered: Oct 2004
Posts: 199

Rep: Reputation: 15
xsane networked scanner returns "invalid argument"

I am having trouble getting my HP 6310 All-In-One scanner working using it on its ethernet interface, set to Installed fine under cups for printing. hplib installed. I do the following.

~ $ hp-makeuri

HP Linux Imaging and Printing System (ver. 3.9.4b)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

CUPS URI: hp:/net/Officejet_6300_series?ip=
SANE URI: hpaio:/net/Officejet_6300_series?ip=
HP Fax URI: hpfax:/net/Officejet_6300_series?ip=


I then run
~ $ xsane hpaio:/net/Officejet_6300_series?ip=

But I get an error window:
Failed to open device hpaio:/net/Officejet_6300_series?ip=
Invalid Argument

/etc/cups/printers.conf contains
<Printer HP6310>
Info All In One
Location Den
DeviceURI socket://
State Idle
StateTime 1302623634
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer

What is wrong?

Old 04-20-2011, 12:19 AM   #2
Registered: Feb 2010
Location: SF Bay Area
Posts: 191

Rep: Reputation: Disabled
Try escaping the '?'
~ $ xsane hpaio:/net/Officejet_6300_series\?ip=
Old 04-22-2011, 05:25 PM   #3
Registered: Oct 2004
Posts: 199

Original Poster
Rep: Reputation: 15
Actually I discoverred the problem. I ASSUMED that all necessary software was loaded at Slackware 13.0 install time. Wrong assumption, hpaio was NOT present. After installing it from the distro dvd I downloaded, everything worked perfectly.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Multipage PDF in xsane -- "Failed to start scanner" pwabrahams Linux - Software 4 05-04-2010 12:06 AM
clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument" raghupv30 Linux - Kernel 1 11-19-2009 03:45 AM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Unable to "scanimage": "invalid argument” in Debian 4.0 sonichedgehog Linux - Newbie 3 12-02-2007 02:31 PM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:05 PM.

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