Re: Scanner experiences

2019-04-13 Thread Martin Husemann
On Fri, Apr 12, 2019 at 07:58:40PM -0400, Bob Bernstein wrote:
> At this point the wiki page gives instructions for configuring and
> re-making the kernel. Two concerns give me pause:

We have removed the uscanner driver from all kernel configs some time
ago, so your device should already attach as ugen and be directly
usable by sane / xsane (maybe needing some /dev/ugen* permission/ownership
changes).

Martin


Re: Scanner experiences

2019-04-13 Thread Mayuresh
On Fri, Apr 12, 2019 at 07:58:40PM -0400, Bob Bernstein wrote:
> At this point the wiki page gives instructions for configuring and
> re-making the kernel. Two concerns give me pause:

I have an epson scanner, too, though not same model number. Currently it's
set under Linux but I recollect it was working on NetBSD as ugen0 itself.
So I think you might not require reconfiguring kernel since yours is shown
as ugen0. You might just have to tinker with the device option (-d) of
scanimage.

[I do not have that setup now, otherwise I'd have shared my exact device
string.]

Mayuresh


Scanner experiences

2019-04-13 Thread Bob Bernstein
My Epson scanner has quite a few years on it but it never so much
as hiccuped throughout those years while connected to Windows. The
Windows is now gone. I am running:

% uname -a
NetBSD nebby.localdomain 8.99.35 NetBSD 8.99.35 (GENERIC) #0: Fri Mar
15 22:09:21 UTC 2019
mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

Plugging the scanner's USB cable into the box yields this
in /var/log/messages:

Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0 at uhub0 port 7
Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0: EPSON (0x4b8)
EPSON Scanner (0x122), rev 2.00/1.10, addr 4

I found this site: https://wiki.netbsd.org/scanner/ and followed the
link 'SANE:Supported Devices' to this page:

http://www.sane-project.org/sane-mfgs.html#Z-EPSON

...where the following typifies the entries that match 0x122:

GT-F570 USB 0x04b8/0x0122 Unsupported supported by the
   epkowa backend plus non-free interpreter epson2

At this point the wiki page gives instructions for configuring and
re-making the kernel. Two concerns give me pause:

1. I don't have kernel source for 8.99.35

2. The wiki page bears this legend: "Last edited mid-morning Monday,
June 20th, 2011"

I can countenance upgrading to a more contemporary instance of
-current (and grabbing kernel source!), but I wonder if the state of the
SANE drivers, libs, and so on are now such that the kernel hacking
might not be needed, not at least at this early stage of the project. 

Just trying to plan my next move!

Thanks all,


-- 
These are not the droids you are looking for.



Re: Scanner experiences

2019-04-12 Thread Greg Troxel
Bob Bernstein  writes:

> Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0 at uhub0 port 7
> Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0: EPSON (0x4b8)
> EPSON Scanner (0x122), rev 2.00/1.10, addr 4
>
> I found this site: https://wiki.netbsd.org/scanner/ and followed the
> link 'SANE:Supported Devices' to this page:
>
> http://www.sane-project.org/sane-mfgs.html#Z-EPSON
>
> ...where the following typifies the entries that match 0x122:
>
> GT-F570 USB 0x04b8/0x0122 Unsupported supported by the
>epkowa backend plus non-free interpreter epson2
>
> At this point the wiki page gives instructions for configuring and
> re-making the kernel. Two concerns give me pause:

You can always upgrade to more recent current if you really need to
build a kernel.

But, I expect this to really work, if it can work, via libusb on ugen,
rather than a kernel scanner driver.


Scanner experiences

2019-04-12 Thread Bob Bernstein
My Epson scanner has quite a few years on it but it never so much
as hiccuped throughout those years while connected to Windows. The
Windows is now gone. I am running:

% uname -a
NetBSD nebby.localdomain 8.99.35 NetBSD 8.99.35 (GENERIC) #0: Fri Mar
15 22:09:21 UTC 2019
mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

Plugging the scanner's USB cable into the box yields this
in /var/log/messages:

Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0 at uhub0 port 7
Apr 12 15:59:01 nebby /netbsd: [ 90497.9861323] ugen0: EPSON (0x4b8)
EPSON Scanner (0x122), rev 2.00/1.10, addr 4

I found this site: https://wiki.netbsd.org/scanner/ and followed the
link 'SANE:Supported Devices' to this page:

http://www.sane-project.org/sane-mfgs.html#Z-EPSON

...where the following typifies the entries that match 0x122:

GT-F570 USB 0x04b8/0x0122 Unsupported supported by the
   epkowa backend plus non-free interpreter epson2

At this point the wiki page gives instructions for configuring and
re-making the kernel. Two concerns give me pause:

1. I don't have kernel source for 8.99.35

2. The wiki page bears this legend: "Last edited mid-morning Monday,
June 20th, 2011"

I can countenance upgrading to a more contemporary instance of
-current (and grabbing kernel source!), but I wonder if the state of the
SANE drivers, libs, and so on are now such that the kernel hacking
might not be needed, not at least at this early stage of the project. 

Just trying to plan my next move!

Thanks all,