Eu tenho uma dúvida e confusão sobre links simbólicos nas configurações da "impressora Brother MFC-660CN"
Eu instalei os drivers através de um arquivo de instalação do site Brother
O arquivo é "linux-1.0-installer-brfax"
Instalado tudo certo sem erros ...
Mas no /var/log/sys.log ou no boot , aparece:
FX6300 udevd[412]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/40-brother-libsane-type1.rules:17
FX6300 udevd[412]: invalid rule '/etc/udev/rules.d/40-brother-libsane-type1.rules:17'
No arquivo /etc/udev/rules.d/40-brother-libsane-type1.rules eu tenho isto:
> # udev rules sample for Brother MFP
> # version 1.0.0-1
> #
> # Copyright (C) 2012 Brother. Industries, Ltd.
> #
> # copy to /etc/udev/rules.d or /lib/udev/rules.d
> #
>
>
> ACTION!="add", GOTO="brother_mfp_end"
>
> SUBSYSTEM=="usb", GOTO="brother_mfp_udev_1" SUBSYSTEM!="usb_device",
> GOTO="brother_mfp_end" LABEL="brother_mfp_udev_1"
>
>
> SYSFS{idVendor}=="04f9", GOTO="brother_mfp_udev_2"
> ATTRS{idVendor}=="04f9", GOTO="brother_mfp_udev_2"
> GOTO="brother_mfp_end" LABEL="brother_mfp_udev_2"
>
> # ATTRS{bInterfaceNumber}=="01", GOTO="brother_mfp_udev_3"
> # ATTRS{bInterfaceNumber}=="02", GOTO="brother_mfp_udev_3"
> # ATTRS{bInterfaceNumber}=="03", GOTO="brother_mfp_udev_3"
> # GOTO="brother_mfp_end"
> # LABEL="brother_mfp_udev_3"
>
> ATTRS{bInterfaceClass}!="0ff", GOTO="brother_mfp_end"
> ATTRS{bInterfaceSubClass}!="0ff", GOTO="brother_mfp_end"
> ATTRS{bInterfaceProtocol}!="0ff", GOTO="brother_mfp_end"
>
> #MODE="0666"
> #GROUP="scanner" ENV{libsane_matched}="yes"
> #SYMLINK+="scanner-%k"
>
> LABEL="brother_mfp_end"
No arquivo /lib/udev/rules.d/40-libsane.rules :
# Kernel < 2.6.22 jumps here
LABEL="libsane_usb_rules_begin"
# Brother scanners
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01b0", ENV{libsane_matched}="yes"
# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"
LABEL="libsane_usb_rules_end"
Quando eu instalo qualquer coisa do terminal, também tenho este erro:
/sbin/ldconfig.real: /usr/lib/libbrcolm2.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib/libbrscandec2.so.1 is not a symbolic link
Quando eu uso o comando ls -l eu tenho isto:
$ ls -l /usr/lib/libbrscandec2.so
-rwxr-xr-x 1 root root 37064 Nov 23 18:21 /usr/lib/libbrscandec2.so
$ ls -l /usr/lib/libbrscandec2.so.1
-rwxr-xr-x 1 root root 37064 Nov 23 18:21 /usr/lib/libbrscandec2.so.1
$ ls -l /usr/lib/libbrscandec2.so.1.0.0
-rwxr-xr-x 1 root root 37064 Nov 23 18:21 /usr/lib/libbrscandec2.so.1.0.0
$ ls -l /usr/lib64/libbrscandec2.so
lrwxrwxrwx 1 root root 29 Dez 2 2009 /usr/lib64/libbrscandec2.so -> /usr/lib64/libbrscandec2.so.1
$ ls -l /usr/lib64/libbrscandec2.so.1
lrwxrwxrwx 1 root root 33 Dez 2 2009 /usr/lib64/libbrscandec2.so.1 -> /usr/lib64/libbrscandec2.so.1.0.0
$ ls -l /usr/lib64/libbrscandec2.so.1.0.0
-rwxr-xr-x 1 root root 37064 Dez 2 2009 /usr/lib64/libbrscandec2.so.1.0.0
$ ls -l /usr/lib/libbrcolm2.so
-rwxr-xr-x 1 root root 15072 Nov 23 18:21 /usr/lib/libbrcolm2.so
$ ls -l /usr/lib/libbrcolm2.so.1
-rwxr-xr-x 1 root root 15072 Nov 23 18:21 /usr/lib/libbrcolm2.so.1
$ ls -l /usr/lib/libbrcolm2.so.1.0.1
-rwxr-xr-x 1 root root 15072 Nov 23 18:21 /usr/lib/libbrcolm2.so.1.0.1
$ ls -l /usr/lib64/libbrcolm2.so
lrwxrwxrwx 1 root root 26 Dez 2 2009 /usr/lib64/libbrcolm2.so -> /usr/lib64/libbrcolm2.so.1
$ ls -l /usr/lib64/libbrcolm2.so.1
lrwxrwxrwx 1 root root 30 Dez 2 2009 /usr/lib64/libbrcolm2.so.1 -> /usr/lib64/libbrcolm2.so.1.0.1
$ ls -l /usr/lib64/libbrcolm2.so.1.0.1
-rwxr-xr-x 1 root root 15072 Dez 2 2009 /usr/lib64/libbrcolm2.so.1.0.1
Eu não sei se é a maneira correta que eu acho, mas ..
Na pasta:
/ usr / lib64 /
O link simbólico é de:
libbrscandec2.so para libbrscandec2.so.1 e termina em libbrscandec2.so.1.0.0 ?
O mesmo para libbcolm2.so ?
Pelo que entendi em outros posts, o link simbólico deve estar entre as pastas:
/ usr / lib / e / usr / lib64 /
Ou eu estou pensando de maneira errada?
O que há de errado aqui?
Agradeço qualquer ajuda sobre isso ..
Obrigado.