Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. brsaneconfig4 -a name=DCP-7055W model=DCP-7055W ip=192.168.002.150
  2.  
  3. $ brsaneconfig4 -p
  4. test DCP-7055W
  5. ping 192.168.002.150 -w 10
  6.  
  7. PING 192.168.002.150 (192.168.2.150) 56(84) bytes of data.
  8. 64 bytes from 192.168.2.150: icmp_req=1 ttl=255 time=9.21 ms
  9. 64 bytes from 192.168.2.150: icmp_req=2 ttl=255 time=5.67 ms
  10. 64 bytes from 192.168.2.150: icmp_req=3 ttl=255 time=6.01 ms
  11. 64 bytes from 192.168.2.150: icmp_req=4 ttl=255 time=3.33 ms
  12.  
  13. $ ls -l /usr/lib/sane/libsane-brother4*
  14. lrwxrwxrwx 1 root root 35 Sep 25 07:18 /usr/lib/sane/libsane-brother4.so -> /usr/lib/sane/libsane-brother4.so.1
  15. lrwxrwxrwx 1 root root 39 Sep 25 07:18 /usr/lib/sane/libsane-brother4.so.1 -> /usr/lib/sane/libsane-brother4.so.1.0.7
  16. -rwxr-xr-x 1 root root 129376 Sep 25 07:18 /usr/lib/sane/libsane-brother4.so.1.0.7
  17.  
  18. $ grep saned /lib/udev/rules.d/40-libsane.rules
  19. ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="saned"
  20.  
  21. $ scanimage -T
  22. scanimage: open of device brother4:net1;dev0 failed: Invalid argument
  23.  
  24. # SANE_DEBUG_BROTHER4=255 scanimage
  25. [sanei_debug] Setting debug level of brother4 to 255.
  26. [brother4] brother init
  27. [brother4] brother version: 1000001
  28. [brother4] starting bus scan
  29. [brother4] scanning bus 005
  30. [brother4] found dev 0483/2016
  31. [brother4] found dev 1D6B/0001
  32. [brother4] scanning bus 004
  33. [brother4] found dev 1D6B/0001
  34. [brother4] scanning bus 003
  35. [brother4] found dev 1D6B/0001
  36. [brother4] scanning bus 002
  37. [brother4] found dev 1D6B/0001
  38. [brother4] scanning bus 001
  39. [brother4] found dev 18A5/0302
  40. [brother4] found dev 1D6B/0002
  41. scanimage: open of device brother4:net1;dev0 failed: Invalid argument
  42.  
  43. # SANE_DEBUG_BROTHER4=255 scanimage -T
  44. [sanei_debug] Setting debug level of brother4 to 255.
  45. [brother4] brother init
  46. [brother4] brother version: 1000001
  47. [brother4] starting bus scan
  48. [brother4] scanning bus 005
  49. [brother4] found dev 0483/2016
  50. [brother4] found dev 1D6B/0001
  51. [brother4] scanning bus 004
  52. [brother4] found dev 1D6B/0001
  53. [brother4] scanning bus 003
  54. [brother4] found dev 1D6B/0001
  55. [brother4] scanning bus 002
  56. [brother4] found dev 1D6B/0001
  57. [brother4] scanning bus 001
  58. [brother4] found dev 04F9/02CE
  59. [brother4] found dev 1D6B/0002
  60. scanimage: rounded value of br-x from 215.9 to 215.88
  61. scanimage: rounded value of br-y from 355.6 to 355.567
  62. scanimage: sane_start: Invalid argument
  63. [brother4] cancel called...
  64.  
  65. # strace -o strace.out -f scanimage -T
  66.  
  67. 4019 ioctl(151, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0xbfbfe0a8) = -1 ENOENT (No such file or directory)
  68. 4019 gettimeofday({1387487538, 170759}, NULL) = 0
  69. 4019 ioctl(151, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0xbfbfe0a8) = -1 ENOENT (No such file or directory)
  70. 4019 gettimeofday({1387487538, 170926}, {4294967236, 0}) = 0
  71. 4019 gettimeofday({1387487538, 171013}, {4294967236, 0}) = 0
  72. 4019 gettimeofday({1387487538, 171104}, NULL) = 0
  73. 4019 ioctl(151, USBDEVFS_SUBMITURB or USBDEVFS_SUBMITURB32, 0xbfbfe068) = -1 ENOENT (No such file or directory)
  74. 4019 write(2, "scanimage: sane_start: Invalid a"..., 40) = 40
  75. 4019 ioctl(151, USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0xbfbfe2e0) = 5
  76. 4019 ioctl(151, USBDEVFS_RELEASEINTERFACE, 0xbfbfe304) = 0
  77. 4019 semop(1245186, {{0, 1, SEM_UNDO}}, 1) = 0
  78. 4019 semctl(1245186, 0, IPC_64|IPC_RMID, 0xbfbfe2b8) = 0
  79. 4019 close(151) = 0
  80. 4019 munmap(0xb755a000, 134532) = 0
  81. 4019 munmap(0xb7525000, 104424) = 0
  82. 4019 munmap(0xb751b000, 38084) = 0
  83. 4019 munmap(0xb74ef000, 176256) = 0
  84. 4019 exit_group(4) = ?
  85.  
  86. # uname -r
  87. 3.2.0-57-generic-pae
  88.  
  89. [10210.399432] usb 1-1: usbfs: interface 0 claimed by usblp while 'scanimage' sets config #1
  90. [10210.399446] usb 1-1: usbfs: process 5347 (scanimage) did not claim interface 1 before use
  91. [10211.428906] usb 1-1: usbfs: interface 0 claimed by usblp while 'scanimage' sets config #1
  92. [10213.519554] usb 1-1: usbfs: interface 0 claimed by usblp while 'scanimage' sets config #1
  93. [10213.519567] usb 1-1: usbfs: process 5352 (scanimage) did not claim interface 1 before use
  94. [10214.549025] usb 1-1: usbfs: interface 0 claimed by usblp while 'scanimage' sets config #1
  95.  
  96. -name=Scanner---adding type brother
  97. -name=SCANNER_DCP770CW
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement