danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

SANE scanner support #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi,

i think snake-os would be even better if it had SANE support as a lot of
people have multifunction printers, etc.

thanks,

britto

Original issue reported on code.google.com by britt...@gmail.com on 19 Apr 2010 at 4:17

GoogleCodeExporter commented 8 years ago
sorry, this was meant to be under the type "Enhancement"

Original comment by britt...@gmail.com on 19 Apr 2010 at 4:18

GoogleCodeExporter commented 8 years ago
I have cross-compiled sane binaries and libusb (required for sane). But I could 
not get 
it to work. Sane didn't find my scanner although it is supported (Samsung 
SCX-4200).

Unfortunately I do not have time to test it very well in the last days. 

Regards,

Miguel

Original comment by miguelmo...@gmail.com on 21 Apr 2010 at 2:14

GoogleCodeExporter commented 8 years ago
Hi Miguel!! (Hi all, ;-))

I've chrooted a Debian system under the NAS, installed libusb, sane and 
sane-utils,
edited the inetd.conf, the sane config files as in my working ubuntu 
pinter+scanner
server with the same (mine) multifunction device (Epson DX3800), the system 
shows
open the 6566 port to the LAN (nmap 192.168.0.11), also there is a 
/dev/usbdev2.1
file device when I connect the scanner+printer usb cable to the NAS and 
disappears
after unplug-it, but nothing appears after a lsusb command, and after a 'xsane
net:192.168.0.11:epson:libusb:002:001' command from the client side...

I don't know how can I do? After your libusb successful compiling job, 'lsusb' 
throws
any message? I understand that your cross-compiled version is executed outside a
chroot environment, isn't it?

Thanx in advance for your answers.

Regards.

David.

Original comment by DavidFL....@gmail.com on 28 Apr 2010 at 12:12

GoogleCodeExporter commented 8 years ago
Gentlemen!

I've been doing the same thing, http://groups.google.es/group/dealextreme-nas-
/browse_frm/thread/a691dfb4d465f4ba# with the same result.

However, I'm still wondering where the printer is in the chrooted environment. 
And I 
know it's there, I can print just fine.

Original comment by gerard.p...@gmail.com on 23 May 2010 at 2:16

GoogleCodeExporter commented 8 years ago
check /dev/lp

and /usr/sbin/lpinfo -v

Original comment by wellum...@gmail.com on 17 Sep 2010 at 8:00

GoogleCodeExporter commented 8 years ago
I have done much the same.. (for other devices)

libusb fails to initialise as there is no USB_FS compiled in to the kernel. The 
effect is that libusb cant find devices 

Original comment by tuxbox.g...@gmail.com on 20 Oct 2010 at 6:55

GoogleCodeExporter commented 8 years ago
HINT : to enable libUSB debugs, type in

export LIBUSB_DEBUG=1 

before running the application that uses the library. 

Original comment by tuxbox.g...@gmail.com on 20 Oct 2010 at 6:57

GoogleCodeExporter commented 8 years ago
Hi All,

I was wondering if anyone has managed to get this working or found other 
methods for their mutifunction printers. I have a samsung SCX-4623F and trying 
to get the scanning feature available through the network

Original comment by omidmahb...@gmail.com on 2 Aug 2011 at 3:46

GoogleCodeExporter commented 8 years ago
It could be a SANE .opk

...

Original comment by matheusa...@gmail.com on 27 Apr 2012 at 6:23

GoogleCodeExporter commented 8 years ago
I have chroot Debian enviroment from this tutorial: 
http://code.google.com/p/snake-os/wiki/Debian_Chroot

Installed lshw package, the problem is I cannot see attached printer (Samsung 
SCX-4600) or usb bus. From snake-os device is visible through web interface. 

Is that normal for chroot enviroment. Does anbody have solution?

sh-3.1# lspci
00:00.0 Class ff00: Device eeee:8131

sh-3.1# lshw -short
H/W path      Device     Class      Description
===============================================
                         system     Computer
/0                       bus        Motherboard
/0/1                     memory     29MiB System memory
/0/2                     processor
/0/0                     generic
/0/3          scsi0      storage
/0/3/0.0.0    /dev/sda   disk       2021MB SCSI Disk
/0/3/0.0.0/1  /dev/sda1  volume     1926MiB EXT3 volume
/1            eth0       network    Ethernet interface

Original comment by ivan.vi...@gmail.com on 10 May 2012 at 7:22

GoogleCodeExporter commented 8 years ago
take a look at https://wiki.archlinux.org/index.php/CUPS#USB_printers

As I understand it lpsub and usblip can't both be loaded at the same time the 
above link will help you switch between them.

Original comment by charlie....@gmail.com on 13 Sep 2012 at 3:29