oygle
February 6th, 2022, 08:50 AM
After finally getting this Brother MFC-J1300DW to print a page ( see https://ubuntuforums.org/showthread.php?t=2471590 ) , now the scanner does not work. Tried three different tools for scanning, either device not found, unable to connect to scanner, or 'inavlid argument'. The tools were all SANE based.
There is a post 8 years ago at https://askubuntu.com/questions/389636/invalid-argument-brother-scanner-not-working-after-upgrade-brscan2-driver , and have tried a few of the suggestions to no avail. This statement ..
1 The error Invalid argument is not a argument problem, but is a write access problem.
2 The other problem is that the bus and dev number are wrong from the scanimage error.
could be a solution for my situation, as
lsusb
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 008: ID 0cf3:0036 Qualcomm Atheros Communications
Bus 001 Device 005: ID 0c45:670b Microdia
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 013: ID 04f9:040b Brother Industries, Ltd
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 011: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
scanimage -L
device `brother4:bus3;dev1' is a Brother MFC-J1300DW USB scanner
device `escl:http://127.0.0.1:60001' is a ESCL MFC-J1300DW flatbed scanner
One says bus 1 and device 13, the other says bus 3 and device 1
Now, this statement
You can use the following script to update the permissions for the scanner. and the code ..
lsusb | grep -i brother | sed 's/://' | awk '{printf "/dev/bus/usb/%s/%s", $2,$4}' | xargs -i -t sudo chmod 666 "{}"
If I modify the code to suit , is that code SAFE to use ?
There is a post 8 years ago at https://askubuntu.com/questions/389636/invalid-argument-brother-scanner-not-working-after-upgrade-brscan2-driver , and have tried a few of the suggestions to no avail. This statement ..
1 The error Invalid argument is not a argument problem, but is a write access problem.
2 The other problem is that the bus and dev number are wrong from the scanimage error.
could be a solution for my situation, as
lsusb
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 008: ID 0cf3:0036 Qualcomm Atheros Communications
Bus 001 Device 005: ID 0c45:670b Microdia
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 013: ID 04f9:040b Brother Industries, Ltd
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 011: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
scanimage -L
device `brother4:bus3;dev1' is a Brother MFC-J1300DW USB scanner
device `escl:http://127.0.0.1:60001' is a ESCL MFC-J1300DW flatbed scanner
One says bus 1 and device 13, the other says bus 3 and device 1
Now, this statement
You can use the following script to update the permissions for the scanner. and the code ..
lsusb | grep -i brother | sed 's/://' | awk '{printf "/dev/bus/usb/%s/%s", $2,$4}' | xargs -i -t sudo chmod 666 "{}"
If I modify the code to suit , is that code SAFE to use ?