If your scanner doesn't work

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Husse

If your scanner doesn't work

Post by Husse »

Check if your scanner can be found in
/etc/udev/rules.d/45-libsane.rules
If not add an entry like the others in there

Code: Select all

# Brother|DCP 7010
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0182", MODE="664", GROUP="scanner"
This does not take effect until after a reboot.
To get the idVendor and idProduct run lsusb and you may get something like

Bus 001 Device 003: ID 04f9:0182 Brother Industries, Ltd

It's easy to see where to put what in the line above

Edit - I suddenly see that the subject line has "broken English"
Edited in this post :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: If your scanner don't work

Post by Husse »

This no longer works with Elyssa - the file /etc/udev/rules.d/45-libsane.rules no longer exists
Seems like Hardy is providing libsane 1.0.19.1ubuntu3 which no longer contains the 45-linsane.rules file. libsane 1.0.18.1ubuntu3 seems the last package containing the file.
So we have to find a new way to fix this - but there are many more scanners (including this one) in SANE now
According to this blog
http://www.shallowsky.com/blog/linux/sc ... hardy.html
scanners are moved from udev to hal, which does not work for a lot of people.
All you have to do is to copy your Daryna/Gutsy /etc/udev/rules.d/45-libsane.rules to Elyssa/Hardy
Or - of course - make a new /etc/udev/rules.d/45-libsane.rules in Elyssa
Husse

Re: If your scanner don't work

Post by Husse »

Become root - right click in the destination folder > Open as root
Or

Code: Select all

sudo cp 45-libsane.rules /etc/udev/rules.d/45-libsane.rules 
qbicdesign

Re: If your scanner don't work

Post by qbicdesign »

default install on Mint actually gives you NO clues at all as to whether your scanner is installed and working or not.
scanner has no config icon in Control Center, and Gimp showed nothing under the "acquire " dialog.
There's also no indication or instruction that you have to install XSane to use your scanner.
Husse

Re: If your scanner don't work

Post by Husse »

Hey - you have a point
It's been there right in front of my eyes and I have not thought of it
Let's hope there's time for Clem to make something nice for Felicia
Husse

Re: If your scanner don't work

Post by Husse »

Some more info
Brother has released a workaround for their scanners, but I have a feeling this may work for any scanner that can only be used in root.
http://solutions.brother.com/linux/sol/ ... faq.html#9
If that does not help here is a link for a /etc/udev/rules.d/45-libsane.rule from Gutsy
http://launchpadlibrarian.net/14664165/45-libsane.rules
User avatar
Pierre
Level 21
Level 21
Posts: 13182
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: If your scanner don't work

Post by Pierre »

was it fixed in Felicia ?.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Husse

Re: If your scanner don't work

Post by Husse »

I have a Brother scanner working - I realise I should have made a follow up. This will come later - no time now
hotweiss

Re: If your scanner don't work

Post by hotweiss »

My Canon scanner is collecting dust thanks to the fact that Canon doesn't think that 30 million Linux users are not important...
Husse

Re: If your scanner don't work

Post by Husse »

hotweiss wrote:My Canon scanner is collecting dust thanks to the fact that Canon doesn't think that 30 million Linux users are not important...
One not too many :)
Husse

Re: If your scanner don't work

Post by Husse »

Pierre wrote:was it fixed in Felicia ?.
I don't think you need to use a workaround in Felicia
I just installed the drivers and made a change to /etc/udev/rules.d/40-basic-permissions.rules
The lines for USB should (probably) be changed to
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"
They are 0664 by default, denying write for "the world"
Dogs1985

Re: If your scanner don't work

Post by Dogs1985 »

if have problem with flegita.
i can go in the flegita, but if i press scan. directly stop the application. why?

Code: Select all

(flegita:6813): GnomeScan-DEBUG: Setting option brother2:bus2;dev1 source = NULL
Segmentation fault
what i'm missing? but i can use scanimage to scan my work.
Husse

Re: If your scanner don't work

Post by Husse »

As long as you can scan you're fine
It seems that flegita does not use USB the right way and the result is a segfault (which means "illegal memory use")
Dogs1985

Re: If your scanner don't work

Post by Dogs1985 »

https://bugs.launchpad.net/ubuntu/+sour ... bug/164122

is that any upgrade patch to flegita? and is that new version really is 0.6?

http://ftp.gnome.org/pub/GNOME/sources/gnome-scan/0.6/

is that links for upgrade flegita new version?
Husse

Re: If your scanner don't work

Post by Husse »

Seems to be the latest version
You have to compile it - not user friendly and if you do remember to install build essential first
There should be a read me in the tarball
Dogs1985

Re: If your scanner don't work

Post by Dogs1985 »

Husse wrote:Seems to be the latest version
You have to compile it - not user friendly and if you do remember to install build essential first
There should be a read me in the tarball
can youu compile it become deb files? and make it easy to mintupdate?
David Brown

Re: If your scanner don't work

Post by David Brown »

Hamrick VueScan supports many, many scanners (including the two I have, Epson and Canon) and comes in versions for Linux, MacOS and Windows. It's not free, but worth what it costs.
Husse

Re: If your scanner don't work

Post by Husse »

I see that I had not added the solution for Gloria as I thought I had
This is taken from the Brother support site
1. Open "/lib/udev/rules.d/50-udev-default.rules" file.
2. Edit "0664" to "0666" in "libusb device nodes" section.

Before the edit---------------------------------

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0664"


After the edit----------------------------------

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0666"


3. Restart the OS.
This provides read and write for "all"
I have seen someone recommend 0660 for this - I don't think it's right but worth a try if you cant get it to work
jaqian

Re: If your scanner don't work

Post by jaqian »

My HP 5530C Scanjet doesn't work (has never worked under Linux) I'll eventually be replacing it as the glass has gone a bit foggy. What would be a good modern replacement that will work with Linux without messing about.

Cheers,
Rob
Husse

Re: If your scanner don't work

Post by Husse »

I would say HP or Brother
Locked

Return to “Hardware Support”