No. I'm justing trying to learn from gurus like you & rod.Originally Posted by Oleg
JF, you're master of ipkgs.Originally Posted by Jean-Fabrice
No. I'm justing trying to learn from gurus like you & rod.Originally Posted by Oleg
I'm trying to get saned working on my wl500g. Saned is working but it isn't detecting my HP PSC 2100. Does any body got it working.
Hope to hear from you soon. I'm real looking forward to get it working.
Hello,
After figuring out for several hours what's wrong I got an solution:
The main problem is that the required kernel module for scanner support is not yet compiled in the wl500g kernel (and I found it nowhere on the net)
Here a list of my steps:
Precondition: / must be writable!
1) I had to recompile the sources in order to get the missing scanner.o kernel module (you can recompile the sources for yourself or I can send you the module; just mail me your email adress )
-> trying an "insmod scanner" -> result:
usb.c: registered new driver usbscanner
scanner.c: USB scanner device (0x04a9/0x220d) now attached to scanner0
scanner.c: 0.4.16:USB Scanner Driver
so far so good...
now you can try sane-find-scanner and check if your scanner is found
2) ipkg install xinetd (from unslung)
3) ipkg install sane-backends (from unslung)
4) remove all files from /opt/etc/xinetd.d:
rm /opt/etc/xinetd.d/*
5) create a new file in /opt/etc/xinetd.d/ called saned containing the following lines:
service saned
{
port = 6566
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
6) add the following line to /etc/services:
saned 6566/tcp # SANE network scanner daemon
7) copy /etc/services to /usr/local/etc/services
8) edit /opt/etc/sane.d/saned.conf:
add the following line (after adapting it to your network):
192.168.1.0/24 #grant access to scanner from network 192.168.1.x
9) finally edit /usr/local/sbin/post-boot and add the following lines:
insmod scanner # load scanner module first
cp /usr/local/etc/services /etc/services # copy the previously modified services file to /etc
/opt/sbin/xinetd # start xinetd as wrapper for saned
10) finally.. (pooh) do a
flashfs save && flashfs commit && flashfs enable
11) reboot
To use the system from remote you have to adapt your local /etc/sane.d/net.conf and add the adress of the router to the file.
It is also possible to access the scanner over net via windows. (See www.sane-project.org for details)
HINTS:
after installing xinetd and sane-backends you can do "/opt/sbin/xinetd -d" for debugging output: when doing sane-find-scanner from another machine you should see xinetd starting and stopping saned
you may also test sane-find-scanner after loading the module to see if your scanner is supported:
oops... I found the upload button...
put the module into
/lib/modules/2.4.20/kernel/drivers/usb
Hi all
I tried to attach an Epson USB-Scanner to my WL500gx. At first it looks good, but I'm unable to scan anything. Directly connected to my linux-notebook, this scanner works great with sane.
What I did:
- Installed sane-backends
- and alex_g's scanner.o
sane-find-scanner shows me now the device, but scanning with scanimage does not work (see output below).
Any ideas?
Thanks.
Thomas
Code:[admin@router /tmp]$ sane-find-scanner ... found USB scanner (vendor=0x04b8, product=0x011d) at /dev/usb/scanner0 found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner], chip=LM983x?) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. ... [admin@router /tmp]$ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
hi!
can someone tell me how i can copy the scanner.o into the directory /lib/modules/2.4.20/kernel/drivers/usb/ ?
it seams that this is a readonly file system. then when i want to creat a new textfile with nano in this directory, there comes an error " [ Could not open file for writing: Read-only file system ] "
can somebody help me?
thanks!
Here is the answer:Originally Posted by noiser
Here it is explained how to do this.Originally Posted by alex_g
ok. so i need to write a procedure into the post-firewall which copys the scanner.o file to /lib/modules/2.4.20/kernel/drivers/usb/ ?
what is the meaning of / must be writable?
greez
'/' = root directoryOriginally Posted by noiser
I posted a link to a howto. The topic is "Root file system on the external USB drive"
Last edited by snobordo; 26-06-2006 at 16:40.
If you don't want to have a writeable / here's what I did:
I've put scanner.o in /opt/scanner (/opt is writeable ). Then put in post-boot 'insmod /opt/scanner/scanner.o' instead of 'insmod scanner'.
I am happy though with the guidance in this thread, I've got my HP scanjet up and running nicely now so everyone can use the scanner and not everyone needs my pc since it had the scanner attached
I just spend 4 hours on setting up my WL-500gP (hdd, partition, mount, post-boot, etc) to get SANE working with my Epson DX6000.
I just finished installing "sane-backends" with ipkg.
Now I'm stuck.
How do I copy the scanner.o.bz2 file from my windows desktop to the router?
ftp is a easy choice.
Is FTP available out of the OLEG package? Can I just "ftp://192.168.1.1"? I can't access my box at home now. So I can't try right now.
You can simply enable it from the web interface. It is the same procedure as in the standard firmware.