Собственно, сабж. Имеется SamsungSCX4100. Он, сцуко, не хочет сканировать. Хотя на другой машине с теми же драйверами все работает. Печать идет нормально. Ни scanimage -L, ни sane-find-scanner не могут его найти. В /dev/usb есть два файла, hiddev0 и lp1.
udevadm info -a /dev/bus/usb/001/005
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-9':
KERNEL=="1-9"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{devnum}=="5"
ATTR{serial}=="3561874335......"
ATTR{devspec}=="(null)"
ATTR{bNumConfigurations}=="1"
ATTR{bDeviceClass}=="00"
ATTR{authorized}=="1"
ATTR{idProduct}=="423b"
ATTR{devpath}=="9"
ATTR{maxchild}=="0"
ATTR{busnum}=="1"
ATTR{bmAttributes}=="c0"
ATTR{idVendor}=="0924"
ATTR{bDeviceSubClass}=="00"
ATTR{removable}=="removable"
ATTR{product}=="Xerox WorkCentre PE114 Series"
ATTR{bcdDevice}=="0100"
ATTR{bDeviceProtocol}=="00"
ATTR{ltm_capable}=="no"
ATTR{bMaxPower}=="0mA"
ATTR{speed}=="12"
ATTR{bConfigurationValue}=="1"
ATTR{urbnum}=="68"
ATTR{quirks}=="0x0"
ATTR{tx_lanes}=="1"
ATTR{manufacturer}=="Xerox"
ATTR{configuration}==""
ATTR{version}==" 1.10"
ATTR{bNumInterfaces}==" 1"
ATTR{avoid_reset_quirk}=="0"
ATTR{bMaxPacketSize0}=="8"
ATTR{rx_lanes}=="1"
looking at parent device '/devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1':
KERNELS=="usb1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{idProduct}=="0002"
ATTRS{product}=="xHCI Host Controller"
ATTRS{ltm_capable}=="no"
ATTRS{devpath}=="0"
ATTRS{version}==" 2.00"
ATTRS{serial}=="0000:01:00.0"
ATTRS{speed}=="480"
ATTRS{bNumConfigurations}=="1"
ATTRS{quirks}=="0x0"
ATTRS{bMaxPower}=="0mA"
ATTRS{bConfigurationValue}=="1"
ATTRS{bcdDevice}=="0504"
ATTRS{busnum}=="1"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{maxchild}=="10"
ATTRS{manufacturer}=="Linux 5.4.50-1-lts xhci-hcd"
ATTRS{devspec}=="(null)"
ATTRS{interface_authorized_default}=="1"
ATTRS{authorized}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{removable}=="unknown"
ATTRS{bNumInterfaces}==" 1"
ATTRS{rx_lanes}=="1"
ATTRS{bDeviceProtocol}=="01"
ATTRS{tx_lanes}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{idVendor}=="1d6b"
ATTRS{authorized_default}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{configuration}==""
ATTRS{urbnum}=="190"
ATTRS{devnum}=="1"
looking at parent device '/devices/pci0000:00/0000:00:01.2/0000:01:00.0':
KERNELS=="0000:01:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{vendor}=="0x1022"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="000f"
ATTRS{max_link_width}=="4"
ATTRS{irq}=="44"
ATTRS{revision}=="0x02"
ATTRS{class}=="0x0c0330"
ATTRS{current_link_speed}=="8 GT/s"
ATTRS{max_link_speed}=="8 GT/s"
ATTRS{d3cold_allowed}=="1"
ATTRS{numa_node}=="-1"
ATTRS{subsystem_device}=="0x1142"
ATTRS{local_cpulist}=="0-3"
ATTRS{subsystem_vendor}=="0x1b21"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{ari_enabled}=="0"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"
ATTRS{device}=="0x43bb"
ATTRS{driver_override}=="(null)"
ATTRS{devspec}==""
ATTRS{current_link_width}=="2"
looking at parent device '/devices/pci0000:00/0000:00:01.2':
KERNELS=="0000:00:01.2"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{dma_mask_bits}=="32"
ATTRS{aer_rootport_total_err_fatal}=="0"
ATTRS{max_link_speed}=="8 GT/s"
ATTRS{current_link_width}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-3"
ATTRS{d3cold_allowed}=="1"
ATTRS{max_link_width}=="2"
ATTRS{current_link_speed}=="8 GT/s"
ATTRS{secondary_bus_number}=="1"
ATTRS{device}=="0x15d3"
ATTRS{aer_rootport_total_err_cor}=="0"
ATTRS{local_cpus}=="000f"
ATTRS{subsystem_device}=="0x1453"
ATTRS{class}=="0x060400"
ATTRS{subordinate_bus_number}=="8"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{ari_enabled}=="0"
ATTRS{irq}=="26"
ATTRS{revision}=="0x00"
ATTRS{enable}=="2"
ATTRS{broken_parity_status}=="0"
ATTRS{devspec}==""
ATTRS{numa_node}=="-1"
ATTRS{driver_override}=="(null)"
ATTRS{subsystem_vendor}=="0x1022"
ATTRS{vendor}=="0x1022"
ATTRS{aer_rootport_total_err_nonfatal}=="0"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
lsusb -v
Bus 001 Device 005: ID 0924:423b Xerox Printing Support
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0924 Xerox
idProduct 0x423b Printing Support
bcdDevice 1.00
iManufacturer 1 Xerox
iProduct 2 Xerox WorkCentre PE114 Series
iSerial 3 3561874335......
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 2 Bidirectional
iInterface 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
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0001
Self Powered
Что делать? Ковырять udev?