#author("2020-09-13T02:39:44+00:00","","") #topicpath #author("2020-09-13T08:54:01+00:00","","") /////////////////////////////////////////////////////////////////////////////// * 目次 [#za7aae9f] #contents(); /////////////////////////////////////////////////////////////////////////////// * Scanner [#w4fab564] /////////////////////////////////////////////////////////////////////////////// * Scanner の検出 [#x015857f] $ sane-find-scanner # 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. could not open USB device 0x2109/0x0817 at 004:002: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions) could not open USB device 0x2109/0x8888 at 003:003: Access denied (insufficient permissions) could not open USB device 0x2109/0x2817 at 003:002: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions) could not open USB device 0x04f2/0xb5a7 at 001:005: Access denied (insufficient permissions) could not open USB device 0x8087/0x0a2b at 001:004: Access denied (insufficient permissions) found USB scanner (vendor=0x04a9 [Canon], product=0x190d [CanoScan]) at libusb:001:003 could not open USB device 0x046d/0xc52b at 001:002: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions) # 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. - 上記結果から、権限がないことがわかる。 - scanner のデバイスファイルは /dev/sg* のどれかとなるので、パーミッションを確認する $ ls -l /dev/sg* crw-rw---- 1 root disk 21, 0 9月 13 11:08 /dev/sg0 ~ $ getfacl /dev/sg0 getfacl: Removing leading '/' from absolute path names # file: dev/sg0 # owner: root # group: disk user::rw- group::rw- other::--- /////////////////////////////////////////////////////////////////////////////// * 参考リンク [#o12cae4f] - https://wiki.debian.org/Scanner#perms