IZhaq_melo
(usa FreeBSD)
Enviado em 30/07/2014 - 09:27h
luisctel escreveu:
Srs,
Estou com uma impressora Samsung SN 5635 com conexão USB no linux Slackware 12 e Fedora 20.
lsusb não aparece a impressora.
Os modulos estão carregados uhci_hcd, ehci_hcd, ohci_hcd...
Já instalei os Driver mpf "Smart Panel" mas não comunica com a impressora
Peço uma ajuda !
verifique se instalou o driver adequado:
http://www.samsung.com/br/support/model/SCX-5635FN/XAZ-downloads
eu verifiquei o script instalador do psu, tem uma opções diferentes de plataforma, fique atento as bibliotecas de x32 e x64 bits.
veja código:
#!/bin/sh
VENDOR=Samsung
BASE_DIR=`dirname "$0"`
cd "$BASE_DIR"
# check_libstdcxx procedure from Unified Linux Driver project. Modified.
HARDWARE_PLATFORM=`uname -m`
if [ "$HARDWARE_PLATFORM" = "i486" -o "$HARDWARE_PLATFORM" = "i586" -o "$HARDWARE_PLATFORM" = "i686" ]
then
PLSFX=
HARDWARE_PLATFORM=i386
fi
if [ "$HARDWARE_PLATFORM" = "x86_64" ]
then
PLSFX=64
fi
##ESSA EH A PARTE QUE MERECE A SUA ATENÇÃO.
check_libstdcxx() {
if [ "$PLSFX" != "64" ]; then
LIBSTDCXX_FILES=`ls /usr/lib${PLSFX}/libstdc++.so.5* 2> /dev/null`
LIBSTDCXX_ARC="share/libstdc++-5-${HARDWARE_PLATFORM}.tar.gz"
if test -z "$LIBSTDCXX_FILES" -a -f $LIBSTDCXX_ARC ; then
echo -n "libstdc++.so.5 (gcc 3.0.x .. 3.3.x) not found, intstall ... "
zcat $LIBSTDCXX_ARC | tar -xf - -C /
ldconfig
echo "done"
fi
fi
}
check_libstdcxx
DEST_PATH="/opt/$VENDOR/PSU"
#recreate destination
rm -fr "$DEST_PATH"
mkdir -p "$DEST_PATH"
mkdir -p "$DEST_PATH/share"
if [ $? -ne 0 ]
then
echo "ERROR: Cannot copy binaries! Check your permissions."
return
fi
( tar -cf - . | tar -xf - -C $DEST_PATH 2> /dev/null )
if [ "$PLSFX" = "64" ]; then
rm -rf "$DEST_PATH/bin"
mv "$DEST_PATH/bin64" "$DEST_PATH/bin"
fi
mkdir -p $DEST_PATH/share/translation
rm -rf $DEST_PATH/install.sh $DEST_PATH/bin64 $DEST_PATH/share/libstdc*
ls -d $DEST_PATH/share/?? 2>/dev/null &&
mv $DEST_PATH/share/?? $DEST_PATH/share/translation/
#copy uninstall script
cp -f ./uninstall.sh "$DEST_PATH"
#change ownerships
find "$DEST_PATH" -exec chown -h root:root \{\} \;
#change attributes
chown root "$DEST_PATH/bin/psu"
chmod 4755 "$DEST_PATH/bin/psu"
VERSION=`cat "$DEST_PATH/bin/.version"`
echo "INFO: psu (ver.$VERSION) has been installed successfully in $DEST_PATH"
# Start Phonebook install if found
if test -e ../phonebook/install.sh ; then
sh ../phonebook/install.sh $VENDOR
fi
# Start Emailbook install if found
if test -e ../emailbook/install.sh ; then
sh ../emailbook/install.sh $VENDOR
fi
# Start psulauncher install if found
if test -e ../psulauncher/install.sh ; then
sh ../psulauncher/install.sh
fi