LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2002, 04:22 AM   #31
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30

I have installed xsane-0.90.tar.gz. Entering "xsane" in a terminal brings up the Xsane End User Licence Agreement, and spends some time 'scanning for devices' - and finally returns: "no devices available".

"sane-find-scanner" and "scanimage -L" also return a no scanner found message.

"modprobe scanner vendor=0x04a9 product=2206" returns an error "modprobe : can't locate module scanner"

This is a new problem since installing xsane - previously the modprobe command worked ok - (entered in su mode)
 
Old 12-17-2002, 04:58 AM   #32
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok' please just try "/sbin/modprobe scanner" and see what happens.
 
Old 12-17-2002, 05:23 AM   #33
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
/sbin/modprobe scanner did not show any errors (ie the prompt returned).

xsane, sane-find-scanner, and scanimage -L all failed to find a scanner.
 
Old 12-17-2002, 06:39 AM   #34
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Can you do "ls -al /dev/usb/scanner0" and post the output.
 
Old 12-17-2002, 02:33 PM   #35
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
crw------- 1 john root 180, 48 Dec 18 09:23 /dev/usb/scanner0
 
Old 12-17-2002, 06:49 PM   #36
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, do "chmod 666 /dev/usb/scanner*" and try again with xsane.
 
Old 12-17-2002, 10:58 PM   #37
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
"chmod 666 /dev/usb/scanner" failed to get attributes - No such file or directory (the current directory is /dev/usb/scanner0)

so I tried "chmod 666 /dev/usb/scanner0", xsane failed to find a scanner.

Next I did "mkmod /dev/usb/scanner c 180 48" and "chmod 666 /dev/usb/scanner", and xsane failed to find a scanner.

Next I did "/sbin/modprobe scanner vendor=0x04a9 product=2206", which returned: modprobe : Can't locate module scanner
 
Old 12-17-2002, 11:07 PM   #38
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
In the plustek.conf file change the device to /dev/usb/scanner0
 
Old 12-18-2002, 04:27 AM   #39
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
Bingo!!!!!

I went back and checked everything we had done, and found a spelling error in the modprobe line added tp /etc/rc.d/rc.local (modprobe spelt modeprobe!). Even so, I would have thought that entering the command as su would have ridden the mis-spelt command(?).

Thank you for your patience Aussie - I am very gratefull - I was getting to the stage of expecting to have to retain the other OS!

Cheers Johng
 
Old 12-18-2002, 04:42 AM   #40
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
W00H00!!!!!
 
Old 12-18-2002, 01:51 PM   #41
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
Hi Aussie

It would be nice to compliment xsane by adding xsane-gimp to The Gimp. When I attempt to install xsane-gimp-0.89-1mdk.i586.rpm, it fails dependencies:

sane >= 1.0 is needed by xsane-gimp-0.89-1mdk
xsane = 0.89-1mdk is needed by xsane-gimp-0.89-1mdk
libsane.so.1 is needed by xsane-gimp-0.89-1mdk

Since I have installed sane-backends-1.0.9.tar.gz and xsane-0.90.tar.gz, is it safe to ignore the warning and force the install?

And a couple of related questions:
Is this because the RPM package manager does not know about non-rpm installs?
Is it safe to upgrade source installs using rpm's?

Cheers
Johng
 
Old 12-18-2002, 04:33 PM   #42
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Quote:
Originally posted by Johng
Hi Aussie

It would be nice to compliment xsane by adding xsane-gimp to The Gimp. When I attempt to install xsane-gimp-0.89-1mdk.i586.rpm, it fails dependencies:

sane >= 1.0 is needed by xsane-gimp-0.89-1mdk
xsane = 0.89-1mdk is needed by xsane-gimp-0.89-1mdk
libsane.so.1 is needed by xsane-gimp-0.89-1mdk

Since I have installed sane-backends-1.0.9.tar.gz and xsane-0.90.tar.gz, is it safe to ignore the warning and force the install?
Dont bother, just open a terminal and do the following "ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/" Thats all the gimp plugin is, a symlink.
Quote:

And a couple of related questions:
Is this because the RPM package manager does not know about non-rpm installs?
Yes.
Quote:

Is it safe to upgrade source installs using rpm's?
It may work and it may not. I wouldn't recomend it.
Quote:

Cheers
Johng
 
Old 12-18-2002, 06:46 PM   #43
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
I tried that but it could not find "file or directory".

I have /usr/bin/gimp (executable) and /usr/bin/gimp-1.2(executable), and there is /etc/gimp/1.2 with six (text) files.

So I created a directory /etc/gimp/1.2/plug-ins and ececuted "ln -s /usr/local/bin/xsane /etc/gimp/1.2/plug-ins/" (which added xsane (executable) to the plug-ins directory).

But gimp still only has "screen shot" as an acquire option.
 
Old 12-18-2002, 06:58 PM   #44
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
"ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/", notice the period before .gimp-1.2/plugins/? It's a hidden directory in your home, the ~ is bash shorthand for current users home directory. Copy and paste this into a term,
Code:
ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/
 
Old 12-18-2002, 10:54 PM   #45
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 303

Original Poster
Rep: Reputation: 30
I did do the original command with the "." and got the "no file or directory" error. Further looking reveals there was no "plug-ins" directory under ~/.gimp

I have now created one, and re-issued the command, and now there is the xsane file in the /plug-ins directory - but gimp still does not have scanner in the "File-Aquire- option.

cheers
 
  


Reply


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
SANE to INSANE mikeghet Linux - Newbie 2 06-16-2005 11:11 PM
Please help going insane here mdk3 Linux - Software 1 03-05-2005 07:57 PM
Insane websites carrja99 General 27 05-06-2003 03:16 PM
am i insane? wlfdgcrkz Linux - Newbie 2 04-23-2003 02:33 PM
to..many....going..insane Denton Linux - Distributions 24 05-07-2002 01:17 PM


All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration