[sane-devel] Scanner Canon - CanoScan 300, udev rules missing?

Marek Straka straka at post.cz
Thu Apr 9 20:06:47 UTC 2009


My original /etc/sane.d/canon.conf

#canon.conf
/dev/scanner
#/dev/sg0


I have tried following alternatives

#canon.conf
/dev/scanner
/dev/sg0

or

#canon.conf
/dev/scanner
#/dev/sg0
scsi CANON IX

in both cases same behaviour:

First try:
tata at dell:~$ scanimage -L
Neoprávněný přístup do paměti (SIGSEGV)    (it means not allowed access to memory)

...but second try:
tata at dell:~$ scanimage -L
device `canon:/dev/sg0' is a CANON IX-03035B        flatbed scanner

and from this point is xsane working normally. If I restart computer I need again start scanimage -L two times. What is this?

Marek

> ------------ Původní zpráva ------------
> Od: m. allan noah <kitno455 at gmail.com>
> Předmět: Re: [sane-devel] Scanner Canon - CanoScan 300, udev rules missing?
> Datum: 09.4.2009 16:02:25
> ----------------------------------------
> Marek- can you remove the symlink, and try this instead:
> 
> edit /etc/sane.d/canon.conf, and add the following line at the end:
> 
> scsi CANON IX
> 
> and see if scanimage -L shows your scanner as root.
> 
> If that works, then try changing the 'IX' to 'DR', and that should NOT work.
> 
> please report back your results.
> 
> allan
> 
> On Thu, Apr 9, 2009 at 9:43 AM, Marek Straka <straka at post.cz> wrote:
> >
> > My scanner does not  works until I make a symbolic link /dev/scanner pointing
> to /dev/sg0
> > As I asked on other help forums this is due to missing udev rules.
> >
> > Is it possible to add this definition there?
> >
> > dell:/home/tata# lsscsi -v
> > [0:0:5:0]    scanner CANON    IX-03035B        2.01  -
> >  dir: /sys/bus/scsi/devices/0:0:5:0
>  [/sys/devices/pci0000:00/0000:00:1e.0/0000:02:08.0/host0/target0:0:5/0:0:5:0]
> > It is SCSI scanner from Canon, typ CanoScan 300. This is a bit older machine
> but still working very well.
> >
> > Thank you for tips.
> >
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-request at lists.alioth.debian.org



More information about the sane-devel mailing list