[sane-devel] Fail to detect the SCSI card (Problem solved)
Tue, 23 Nov 2004 20:00:57 +0800 (CST)
Thanks for your advice.
Problem solved with following steps;
1) ln -s /dev/sg0 /dev/scanner
2) groupadd scanner
2) chown root scanner /dev/scanner
3) usermod -G scanner satimis (add user to group)
4) chmod g+rw /dev/sg0
5) edit /etc/rc.d/rc.local
putting following line on it
It is done. Each time booting the PC "aha152" is
Now I can start 'xsane' either on terminal or from;
KStart > Graphics > Kooka
In these 2 days I went through many documents on
Internet. The more I read the more confuse I was.
I did it based on some broken information from
Internet, advice as well as on my weak recollection.
I installed this old scanner on RH8 only once about
2/3 years ago. I'm not very knowledgeable on its
installation as I'm not doing it daily.
Anyway lot of thanks for your continue advice. I
expect to learn follows with your assistance.
1) modprobe -v sg
What is its function. There is no output here (on
2) How to ckeck the kernel whether it supports ISA
card and how to detect ISA SCSI card without
installing additional tools, such scan isapnp tools,
3) Can you recommend an "ebook" software from
OpenSource" as there are many of them on Internet.
What I expect to have is binding scaned images as
book, re-arrange/resort its pages, simple editing
tools to add notes, etc.
--- Klaus Dahlke <email@example.com> wrote:
> On Mon, 22 Nov 2004 16:38:19 +0800 (CST)
> Stephen Liu <firstname.lastname@example.org> wrote:
> > Hi Klaus,
> > FedoraCore2
> > ===========
> > Tks for your advice.
> > --- Klaus Dahlke <email@example.com> wrote:
> > > you need to configure the kernel or at least the
> > > module to get build.
> > # cat /proc/version
> > Linux version 2.6.9-1.3_FC2
> > (firstname.lastname@example.org) (gcc version
> > 20040412 (Red Hat Linux 3.3.3-7)) #1 Mon Nov 15
> > 14:46:43 EST 2004
> > # rpm -qa | grep kernel
> > kernel-2.6.5-1.358
> > kernel-2.6.8-1.521
> > kernel-utils-2.4-9.1.131
> > kernel-2.6.9-1.3_FC2
> > I suppose to rebuild "kernel-2.6.9-1.3_FC2". If
> > wrong please correct me.
> > > You need something like
> > > aha152x.ko in
> > >
> > > directory.
> > $ ls -al
> > /lib/modules/2.6.9-1.3_FC2/kernel/drivers/scsi/ |
> > aha152x.ko
> > -rwxr--r-- 1 root root 52628 Nov 15 15:52
> > aha152x.ko
> > It is already there.
> > > If it is an ISA card, make sure you switched on
> > > support in the kernel.
> > Is it possible to check before starting
> > the kernel.
> do a 'zcat /proc/config.gz | grep -i isa' if
> /proc/config.gz is present. Otherwise, install the
> kernel sources and check the .config file in the
> root directory of the kernelsources
> > > As before: the kernel module hasn't been build
> or is
> > > not include in the kernel. Ckeck your kernel
> > > (re-)compile and it should work. Have alook at
> > > special documentation
> > > /usr/src/KERNEL/Documentation/scsi/aha152x.txt.
> KERNEL means your kernel version,
> > I could not locate them.
> > # find / -name KERNEL
> > find: /proc/2714/task: No such file or directory
> > # find / -name aha152.x.txt
> Install the sources for the kernel and you hopefully
> will find the file
> Hi Stephen,
> okay that's fine, the module is already build. Do a
> 'modprobe -v aha152x' and watch the output. Then do
> a 'modprobe -v sg' and watch the output (or vice
> vesa, first modprobe -v sg, then modprobe -v
> aha152x). And again ckeck the kernel whether the
> kernel supports ISA card.