LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-19-2003, 04:26 AM   #1
jeru
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Debian Sid
Posts: 57

Rep: Reputation: 15
sane /dev/scanner?


I'm trying to get sane working with my scanner...

I got the backend and all that jazz and can scanimage -L or -T it just fine and everything works ok if i were to use root

root = bad

so i've been trying to symlink something like /dev/scanner and allow all users to access it

The only problem is;

sane-find-scanner gives me this
found USB scanner (vendor=0x055f, product=0x021e) at libusb:001:002

instead of what I expect
found USB scanner (vendor=0x055f, product=0x021e) at /dev/usb/scanner0

So I assume it's going directly off the port.....

so my question, why or how do i symlink this thing so this thing can be used with all users? (i'm using the newest .11 sane)

-----
scanimage -L under root returns
device `gt68xx:libusb:001:002' is a Mustek BearPaw 1200 TA flatbed scanner
------------
 
Old 10-05-2003, 08:26 AM   #2
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,340

Rep: Reputation: 42
No idea, but if you get any tips, pass them on to me please.
One thing: I read that libusb is the newest thing, to get scanners and other things out of the kernel. Maybe the the module scanner and libusb don't / can't both be on the machine.
 
Old 10-05-2003, 04:44 PM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can try to use mknod but you need to find where your scanner is located. It could be under proc but I don't know.
 
Old 10-22-2004, 09:28 PM   #4
LancerNZ
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Fedora Core 2
Posts: 40

Rep: Reputation: 15
Question Aything like the 1200CU ?

If your scanner is similar to the 1200CU, here's how I got it going on Fedora Core 2...
From xsane: Failed to open device: 'gt68xx:libusb:002:006': Invalid argument

First up - I tried to download driver ftp://ftp.mustek.com.tw/pub/driver/B...LV10/panel.tgz from the page http://www.mustek.com.tw/Download/dr...e/b1200cu.html
This expanded into a buggy (I shortcutted the whole readme after all) panel application. I was really only interested in the drivers themselves.

There was also .tar called "drivers" - this uncompressed into the essential files! Installing simply put them into the wrong place as follows...

[lancer@localhost lancer]$ scanimage
[gt68xx] Couldn't open firmware file (neither `/usr/share/sane/gt68xx/PS1fw.usb' nor `/usr/share/sane/gt68xx/ps1fw.usb'): No such file or directory
scanimage: open of device gt68xx:libusb:002:006 failed: Invalid argument

Alright - after the previous steps, the README told me to expect that files would be in /usr/local/bin/ This was correct. However, the error report from running scanimage (above) led me to believe the problem was simply relocating the files. so, (as root)...

[root@localhost root]# mkdir /usr/share/sane/gt68xx
[root@localhost root]# cp /usr/local/bin/ps1fw.usb /usr/share/sane/gt68xx/
[root@localhost root]# cp /usr/local/bin/ps1 /usr/share/sane/gt68xx/

From there - I fired up gimp and ran File > Acquire > Xsane... and presto! It was working.
 
  


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
Installing sane scanner software JeTa Suse/Novell 3 03-29-2006 01:25 AM
Sane in Breezy won't detect scanner GreatBrak Ubuntu 0 11-06-2005 10:43 AM
Sane will NOT detect installed scanner! revdg Linux - Hardware 2 01-21-2005 05:04 PM
sane over network - can't find scanner Smerk Linux - Networking 1 07-18-2004 03:56 AM
Help with SANE, parallel scanner sb73542 Linux - Software 0 07-31-2003 09:47 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration