LinuxQuestions.org
Visit Jeremy's Blog.
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 06-20-2010, 09:32 PM   #1
theAdmiral
Member
 
Registered: Oct 2008
Location: Boise, Idaho
Distribution: Debian GNU/Linux (Jessie) + KDE
Posts: 168

Rep: Reputation: 4
Failed to start scanner: Invalid argument HPc6380


Trying to get scanning going with my all-in-one, and have been troubleshooting it for awhile, and nothing works. Could use expert advice on this topic for an HP c6380 All-in-One. Printing does fine. All attempts at scanning are failing. scanimage -L says the device is my webcam. I don't know if usb scanner is in /dev. Please help.

Thanks,
theAdmiral
 
Old 06-21-2010, 02:46 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You have told us your device, but not your linux distro. So please help us to help you.

Some "all in one" devices do not show up as scanners until you press the "Scan" button on the device. Then, they appear, and work.

So put a piece of paper in, press the scan button, then fire up your distro's scan program, and tell us what happens.
 
Old 06-24-2010, 12:57 PM   #3
Laurens73
Member
 
Registered: Aug 2009
Location: Zeewolde, Flevoland NL
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144

Rep: Reputation: 23
What most distro's do have in common is that the scanner doesn't have the right permissions set to it.

Try to scan the same images as root. If it works now, the scanner is installed correctly, but the permissions have to be set.

Depending on the distro you have the permissions should be altered. For example Debian / Ubuntu put users who are allowed to scan also in the group scanner. This can be done by editing /etc/group with your favourite text editor, or with your favourite graphical user adminstration tool. Sometimes the rules files in /etc/udev/rules need altering too. In that case we need more information from you, wich distro you use, and wich model shows up when asking your system:

Example:
Code:
laurens73@pc39:~$ 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.

found USB scanner (vendor=0x147e [TouchStrip        ], product=0x1001 [Fingerprint Sensor   ]) at libusb:001:004
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
laurens73@pc39:~$
In this case: vendor=0x147e and product=0x1001 are the items to search for. Look what number your scanning device offers and try to find it in one of the rules files. Alter the line over there, giving the user full acces by using MODE=0666 in stead of MODE=0644.

After altering group memberships or altering the rules, restart the system to reload the modules automaticly.

Last edited by Laurens73; 06-24-2010 at 12:59 PM. Reason: Forgot to mention to restart
 
Old 06-24-2010, 01:14 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
@Laurens73,
Thanks for the additional information.

But this thread is marked as [SOLVED] and AFAIK this can only be done by the Original Poster, so presumably the OP has found a solution.

It would be helpful to linux users finding this thread if "theAdmiral" told us just how he solved his problem, and supplied the information requested in post #2.

Then we can let this thread lie in peace.
 
Old 06-24-2010, 11:37 PM   #5
theAdmiral
Member
 
Registered: Oct 2008
Location: Boise, Idaho
Distribution: Debian GNU/Linux (Jessie) + KDE
Posts: 168

Original Poster
Rep: Reputation: 4
Thumbs up

http://hplipopensource.com/hplip-web...dora_core.html

http://forums.fedoraforum.org/showth...gument+HPc6380

The original link is embedded in the second link.

Sorry for rushing off.

Thank you,
 
  


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
Command failed: device-mapper: reload ioctl failed: Invalid argument azza Programming 2 01-10-2011 03:16 AM
command failed:Invalid argument azza Programming 2 07-26-2009 07:12 AM
Invalid Argument for Scanner in Ubuntu ~zoey~ Linux - Newbie 5 03-10-2009 04:35 PM
message sending failed : Error[22 ] invalid argument .....but each and every argument rakeshranjanjha Linux - Software 2 01-07-2008 11:22 PM
Mount Failed: Invalid Argument BoboBrazil Linux - Software 4 07-13-2003 12:57 PM

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

All times are GMT -5. The time now is 12:49 PM.

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