Re: [sane-devel] Can't use scanner on Mac High Sierra (10.13)

2017-11-18 Thread Olaf Meeuwissen
Hi again,

Olaf Meeuwissen writes:

> Hi Tom,
>
> Cc:ing the list for the benefit of everyone.
>
> Tom Myers writes:
>
>> I have faith that we will get the code to work with High Sierra. I
>> have now been able to build the software now and in my “spare” time
>> trying to debug why it isn’t connecting. It works on 10.11, but not
>> 10.12 or 10.13 so I am hopeful either I find the problem or the group
>> finds the issue.  I figured since I have access to the 12000XL and
>> noticed it wasn’t in there I would share it with the group.
>>
>> Thanks for all the work you do.
>>
>>> On Nov 9, 2017, at 7:51 AM, Olaf Meeuwissen  
>>> wrote:
>>>
>>> Hi Tom,
>>>
>>> Tom Myers writes:
>>>
 I have been able to build the SANE-Backends-1.0.27 But running it
 gives a problem on USB scanners. It works fine with network scanner

 ――― Building ---

 ./configure BACKENDS="epson2" PRELOADABLE_BACKENDS="epson2" --with-usb
 make
 make install

 Note it would be great if the epson2.desc file be updated for the new 
 12000XL

 :model  "Expression 12000XL"
 :interface  "USB"
 :usbid  "0x04b8" "0x015b"
 :status :good
 :comment"overseas version of the DS-G2"
>>>
>>> I'd gladly do so but ... seeing that you have trouble using it via USB
>>> on your Mac, what makes you confidently say that this should be added to
>>> the epson2.desc file?
>
> So seeing that it works on 10.11 (but not on 10.12 and 10.13, yet?),
> I'll add it to the epson2.desc (and epson2_usb.c) file.

Done.  Changes are in d6a93b83.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Can't use scanner on Mac High Sierra (10.13)

2017-11-14 Thread Olaf Meeuwissen
Hi Tom,

Cc:ing the list for the benefit of everyone.

Tom Myers writes:

> I have faith that we will get the code to work with High Sierra. I
> have now been able to build the software now and in my “spare” time
> trying to debug why it isn’t connecting. It works on 10.11, but not
> 10.12 or 10.13 so I am hopeful either I find the problem or the group
> finds the issue.  I figured since I have access to the 12000XL and
> noticed it wasn’t in there I would share it with the group.
>
> Thanks for all the work you do.
>
>> On Nov 9, 2017, at 7:51 AM, Olaf Meeuwissen  
>> wrote:
>>
>> Hi Tom,
>>
>> Tom Myers writes:
>>
>>> I have been able to build the SANE-Backends-1.0.27 But running it
>>> gives a problem on USB scanners. It works fine with network scanner
>>>
>>> ――― Building ---
>>>
>>> ./configure BACKENDS="epson2" PRELOADABLE_BACKENDS="epson2" --with-usb
>>> make
>>> make install
>>>
>>> Note it would be great if the epson2.desc file be updated for the new 
>>> 12000XL
>>>
>>> :model  "Expression 12000XL"
>>> :interface  "USB"
>>> :usbid  "0x04b8" "0x015b"
>>> :status :good
>>> :comment"overseas version of the DS-G2"
>>
>> I'd gladly do so but ... seeing that you have trouble using it via USB
>> on your Mac, what makes you confidently say that this should be added to
>> the epson2.desc file?

So seeing that it works on 10.11 (but not on 10.12 and 10.13, yet?),
I'll add it to the epson2.desc (and epson2_usb.c) file.

BTW, you are adding the USB info to your epson2.conf (or epson2_usb.c),
aren't you?  You probably also need to do something to get read/write
access to the device when the OS first sees it (or try with root
privileges).  Don't know what you did on 10.11 but maybe things have
changed for 10.12 and 10.13 in that area.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Can't use scanner on Mac High Sierra (10.13)

2017-11-09 Thread Olaf Meeuwissen
Hi Tom,

Tom Myers writes:

> I have been able to build the SANE-Backends-1.0.27 But running it
> gives a problem on USB scanners. It works fine with network scanner
>
> ――― Building ---
>
> ./configure BACKENDS="epson2" PRELOADABLE_BACKENDS="epson2" --with-usb
> make
> make install
>
> Note it would be great if the epson2.desc file be updated for the new 12000XL
>
> :model  "Expression 12000XL"
> :interface  "USB"
> :usbid  "0x04b8" "0x015b"
> :status :good
> :comment"overseas version of the DS-G2"

I'd gladly do so but ... seeing that you have trouble using it via USB
on your Mac, what makes you confidently say that this should be added to
the epson2.desc file?

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] Can't use scanner on Mac High Sierra (10.13)

2017-10-25 Thread Tom Myers
I have been able to build the SANE-Backends-1.0.27   But running it gives a 
problem on USB scanners. It works fine with network scanner 

——— Building ---

./configure BACKENDS="epson2" PRELOADABLE_BACKENDS="epson2" --with-usb
make
make install

Note it would be great if the epson2.desc file be updated for the new 12000XL

:model  "Expression 12000XL"
:interface  "USB"
:usbid  "0x04b8" "0x015b"
:status :good
:comment"overseas version of the DS-G2"

——— LibUSB 
I am using libusb 1.0.21

(found from brew list —versions)

— Testing -

BUG Report

sane-find-scanner returns 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x0bda [Realtek], product=0x8153 [USB 10/100/1000 
LAN]) at libusb:001:006
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.


——— And more verbose

sane-find-scanner -v -v
This is sane-find-scanner from sane-backends 1.0.27

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

searching for SCSI scanners:
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
trying libusb:


bLength   18
bDescriptorType   1
bcdUSB3.00
bDeviceClass  0
bDeviceSubClass   0
bDeviceProtocol   0
bMaxPacketSize0   9
idVendor  0x0BDA
idProduct 0x8153
bcdDevice 48.00
iManufacturer 1 (Realtek)
iProduct  2 (USB 10/100/1000 LAN)
iSerialNumber 6 (0100)
bNumConfigurations2
 
 bLength  9
 bDescriptorType  2
 wTotalLength 57
 bNumInterfaces   1
 bConfigurationValue  1
 iConfiguration   0 ()
 bmAttributes 160 (Remote Wakeup)
 MaxPower 64 mA
  
   
   bLength9
   bDescriptorType4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints  3
   bInterfaceClass255
   bInterfaceSubClass 255
   bInterfaceProtocol 0
   iInterface 0 ()

bLength   7
bDescriptorType   5
bEndpointAddress  0x81 (in 0x01)
bmAttributes  2 (bulk)
wMaxPacketSize1024
bInterval 0 ms
bRefresh  0
bSynchAddress 0

bLength   7
bDescriptorType   5
bEndpointAddress  0x02 (out 0x02)
bmAttributes  2 (bulk)
wMaxPacketSize1024
bInterval 0 ms
bRefresh  0
bSynchAddress 0

bLength   7
bDescriptorType   5
bEndpointAddress  0x83 (in 0x03)
bmAttributes  3 (interrupt)
wMaxPacketSize2
bInterval 8 ms
bRefresh  0
bSynchAddress 0
 
 bLength  9
 bDescriptorType  2
 wTotalLength 98
 bNumInterfaces   2
 bConfigurationValue  2
 iConfiguration   0 ()
 bmAttributes 160 (Remote Wakeup)
 MaxPower 64 mA
  
   
   bLength9
   bDescriptorType4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints  1
   bInterfaceClass2
   bInterfaceSubClass 6
   bInterfaceProtocol 0
   iInterface 5 (CDC Communications Control)

bLength   7
bDescriptorType   5
bEndpointAddress  0x83 (in 0x03)
bmAttributes  3 (interrupt)
wMaxPacketSize16
bInterval 8 ms
bRefresh  0
bSynchAddress 0
  
   
   bLength9
   bDescriptorType4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints  0
   bInterfaceClass10
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 0 ()
   
   bLength9
   bDescriptorType4
   bInterfaceNumber   1
   bAlternateSetting  1
   bNumEndpoints  2
   bInterfaceClass10
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface 4 (Ethernet Data)

bLength   7