[sane-devel] libsane and my scanner in Ubuntu 20.10

Thierry HUCHARD thierry at ordissimo.com
Wed Oct 7 15:54:31 BST 2020


Le 2020-10-07 16:19, Martin van Es a écrit :
> On Wed, Oct 7, 2020 at 3:25 PM Alexander Pevzner <pzz at apevzner.com>
> wrote:
> 
>> Hi Martin.
>> 
>> On 10/7/20 3:35 PM, Martin van Es wrote:
>>> Yesterday I upgraded to Ubuntu 20.10 and I can't use my scanner
>> anymore.
>>> My (Canon N670U) was (and is?) supported for a very long time, but
>> now
>>> scanimage -L doesn't return the scanner (and therefore xsane does
>> not
>>> find it):
>>> 
>>> $ scanimage -L
>> 
>> Please, lsusb -v
> 
>  Bus 001 Device 005: ID 04a9:220d Canon, Inc. CanoScan
> N670U/N676U/LiDE 20 Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               1.10
>  bDeviceClass          255 Vendor Specific Class
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0         8
>  idVendor           0x04a9 Canon, Inc.
>  idProduct          0x220d CanoScan N670U/N676U/LiDE 20
>  bcdDevice            1.00
>  iManufacturer          64 Canon
>  iProduct               77 CanoScan
>  iSerial                 0
>  bNumConfigurations      1
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength       0x0027
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          0
>    bmAttributes         0xa0
>      (Bus Powered)
>      Remote Wakeup
>    MaxPower              500mA
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           3
>      bInterfaceClass       255 Vendor Specific Class
>      bInterfaceSubClass      0
>      bInterfaceProtocol    255
>      iInterface              0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x81  EP 1 IN
>        bmAttributes            3
>          Transfer Type            Interrupt
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0001  1x 1 bytes
>        bInterval              16
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x82  EP 2 IN
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x03  EP 3 OUT
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
> can't get debug descriptor: Resource temporarily unavailable
> Device Status:     0x0000
>  (Bus Powered)
> 
> dmesg when inserting the scanner:
> [ 1027.863405] usb 1-1: new full-speed USB device number 6 using
> xhci_hcd
> [ 1028.023470] usb 1-1: New USB device found, idVendor=04a9,
> idProduct=220d, bcdDevice= 1.00
> [ 1028.023475] usb 1-1: New USB device strings: Mfr=64, Product=77,
> SerialNumber=0
> [ 1028.023479] usb 1-1: Product: CanoScan
> [ 1028.023481] usb 1-1: Manufacturer: Canon
> 
> And for Sedat:
> 
>> Typo? Version *1*0.31-2?
> 
> Yes, it actually is 1.0.31-2, my apologies
> 
> Martin

Your device is referenced for a long time in the : 
backend/plustek-usbdevs.c
Check that <plustek> is not commented in : /etc/sane.d/dll.conf



More information about the sane-devel mailing list