# This file is a part of package samsung-unified-driver
# Rules to allow low level USB device access for smfpautoconf
SUBSYSTEM!="usb|usb_device", GOTO="label_end"
ACTION!="add", GOTO="label_end"
ATTRS{idVendor}=="0419", MODE="0666"
ATTRS{idVendor}=="04e8", MODE="0666"
ATTRS{idVendor}=="0924", MODE="0666"
ATTRS{idVendor}=="413c", MODE="0666"
LABEL="label_end"
So now I can print with splix! Everybody, thank you for your help.
I think libstdc++5 can be removed but I won't touch anything in the next few days.
]]>Update:
I'm out of tricks. I don't like the idea but I'll restore a 2 week-old system backup when cups recognized the printer.
Update2:
It sux. My backup 2 months old. No way I'd restore this. With all those system upgrades. :cry:
On my desktop computer printer is not detected, but when I issue the following command, it's there:
# /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=10
DEBUG2: Printer found with device ID: MFG:Samsung;CMD:PCL5E,SPL,FWV,EXT;MDL:SCX-3200 Series;CLS:PRINTER;MODE:SCN;STATUS:BUSY; Device URI: usb://Samsung/SCX-3200%20Series?serial=Z509BFEB902638M&interface=1
direct usb://Samsung/SCX-3200%20Series?serial=Z509BFEB902638M&interface=1 "Samsung SCX-3200 Series" "Samsung SCX-3200 Series" "MFG:Samsung;CMD:PCL5E,SPL,FWV,EXT;MDL:SCX-3200 Series;CLS:PRINTER;MODE:SCN;STATUS:BUSY;" ""
root ~ # lpinfo -vl
network http
network lpd
network socket
network smb
network https
network ipp
network ipps
Thanks for your advice. I found an AUR package and installed splix svn (307), but previously I removed then installed cups again and now cups doesn't detect this usb printer with or without usblp.
I'll continue tomorrow.
The driver package from Samsung is bloated garbage. So I only used the PPD scx3200.ppd and copied the required filter rastertosamsungspl. The scanner is supported out of the box by SANE.
But recently I dropped the vendor drivers and switched to SpliX. Unfortunately you have to compile the latest Subversion revision to get a SpliX version with support for the SCX-3200. For me it works for a SCX-3205W flawless over ethernet.
Have fun!
]]>Update:
Compiled without a glitch. But nothing changed. Test page is garbage, and I tried to print some lines from Geany, the job just didn't reach the printer however cups said it was sent.
I'll install another distro in virtualbox and check whether my printer works or not with Linux. Or should I just downgrade cups?
]]>test if the following PKGBUILD works for you. You need the files 99_smfpautoconf.rules and samsungUDC.desktop from the aur package samsung-unified-driver.
pkgname=samsung-unified-driver
pkgver=3.00.90
pkgrel=1
pkgdesc="Unified Linux Driver for Samsung printers and scanners."
arch=(i686 x86_64)
url="http://www.samsung.com"
license=('custom:samsung')
depends=('libstdc++5' 'libtiff' 'cups' 'ghostscript' 'sane')
conflicts=samsungmfp-configurator-qt4
options=(!strip)
source=("http://www.bchemnet.com/suldr/UnifiedLinuxDriver-${pkgver}.tar.gz"
'99_smfpautoconf.rules' 'samsungUDC.desktop')
sha1sums=('95de115a32399392cf3e50837c445f277cb3fdb6'
'29ee51d7bcb2541967f34c36c72ac62ecc621a1e'
'e2e337d2e22cab41071e5af585f04dcf9e779c7b')
if [ "$CARCH" = "x86_64" ]; then
CARCHCUSTOM="x86_64"
LIBDIRCUSTOM="lib64"
else
CARCHCUSTOM="i386"
LIBDIRCUSTOM="lib"
fi
build() {
# mpf
install -d "${pkgdir}/usr/lib"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/etc/udev/rules.d/"
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/libmfp.so.1.0.1" \
"${pkgdir}/usr/lib/libmfp.so.1.0.1"
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/opt/smfp-common/${LIBDIRCUSTOM}/libnetsnmp.so.10.0.2" \
"${pkgdir}/usr/lib/libnetsnmp.so.10.0.2"
install -m 644 "${srcdir}/99_smfpautoconf.rules" "${pkgdir}/etc/udev/rules.d/99_smfpautoconf.rules"
# cups
install -d "${pkgdir}/usr/lib/cups/filter"
install -d "${pkgdir}/usr/lib/cups/backend/"
install -d "${pkgdir}/etc/cups/"
install -d "${pkgdir}/usr/share/cups/model/samsung/cms"
install -m 444 -t "${pkgdir}/usr/share/cups/model/samsung/cms/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/ppd/cms/*
install -m 644 -t "${pkgdir}/usr/share/cups/model/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/ppd/*.ppd
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/backend/mfp" \
"${pkgdir}/usr/lib/cups/backend/mfp"
install -m 755 -t "${pkgdir}/usr/lib/cups/filter/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/filter/*
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/filter/smfpautoconf" \
"${pkgdir}/usr/lib/cups/filter/smfpautoconf"
install -m 644 -t "${pkgdir}/etc/cups/" ${srcdir}/cdroot/Linux/noarch/at_root/etc/cups/*
# sane
install -d "${pkgdir}/usr/lib/sane/"
install -d "${pkgdir}/etc/sane.d/dll.d"
install -m 644 "${srcdir}/cdroot/Linux/noarch/at_root/etc/sane.d/smfp.conf" "${pkgdir}/etc/sane.d/smfp.conf"
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/sane/libsane-smfp.so.1.0.1" \
"${pkgdir}/usr/lib/sane/libsane-smfp.so.1.0.1"
install -d "${pkgdir}/opt/Samsung/mfp/bin/"
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_opt/bin/netdiscovery" "${pkgdir}/opt/Samsung/mfp/bin/netdiscovery"
install -d "${pkgdir}/usr/sbin/"
install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/sbin/smfpd" "${pkgdir}/usr/sbin/smfpd"
install -d "${pkgdir}/opt/Samsung/mfp/share/"
install -m 644 "${srcdir}/cdroot/Linux/OEM.ini" "${pkgdir}/opt/Samsung/mfp/share/OEM.ini"
#create symbolic links
# mpf
cd "${pkgdir}/usr/lib"
ln -s ./libmfp.so.1.0.1 ./libmfp.so.1
ln -s ./libmfp.so.1.0.1 ./libmfp.so
#
cd "${pkgdir}/usr/lib/sane"
ln -s ./libsane-smfp.so.1.0.1 ./libsane-smfp.so.1
ln -s ./libsane-smfp.so.1 ./libsane-smfp.so
echo "smfp" >> "${pkgdir}/etc/sane.d/dll.d/smfp"
chmod 644 "${pkgdir}/etc/sane.d/dll.d/smfp"
# samsungmfp-configurator-qt4
install -d "${pkgdir}/opt/Samsung/mfp/bin/"
install -d "${pkgdir}/opt/Samsung/mfp/lib/"
install -d "${pkgdir}/opt/Samsung/mfp/share/"
install -d "${pkgdir}/opt/Samsung/mfp/share/help/"
install -d "${pkgdir}/opt/Samsung/mfp/share/images/"
install -d "${pkgdir}/opt/Samsung/mfp/share/tr/"
install -d "${pkgdir}/opt/Samsung/mfp/share/ui/"
install -d "${pkgdir}/opt/Samsung/mfp/share/utils/"
install -d "${pkgdir}/usr/share/applications/"
install -m 755 -t "${pkgdir}/opt/Samsung/mfp/bin/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_opt/bin/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_opt/lib/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/eula.htm
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Common_LINUX
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Common_LINUX_Script
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Printer_LINUX
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Printer_LINUX-Script
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Scanner_LINUX
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Scanner_LINUX-Script
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/help/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/help/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/images/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/images/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/utils/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/utils/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/tr/" ${srcdir}/cdroot/Linux/noarch/qt4/at_opt/share/tr/*
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/ui/" ${srcdir}/cdroot/Linux/noarch/qt4/at_opt/share/ui/*
install -m 644 "${startdir}/samsungUDC.desktop" "${pkgdir}/usr/share/applications/samsungUDC.desktop"
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_root/opt/smfp-common/${LIBDIRCUSTOM}/*
echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/Configurator" >> "${pkgdir}/usr/bin/SamsungConfigurator"
chmod 555 "${pkgdir}/usr/bin/SamsungConfigurator"
echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/ImageManager" >> "${pkgdir}/usr/bin/SamsungImageManager"
chmod 555 "${pkgdir}/usr/bin/SamsungImageManager"
echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/smfpscan" >> "${pkgdir}/usr/bin/smfpscan"
chmod 555 "${pkgdir}/usr/bin/smfpscan"
mkdir -p "${srcdir}/libtiff/"
tar xzf "${srcdir}/cdroot/Linux/noarch/libtiff-3-${CARCHCUSTOM}.tar.gz" -C "${srcdir}/libtiff"
install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/libtiff/usr/${LIBDIRCUSTOM}/*
}
Some months ago I got a Samsung SCX-3200 mono multifunction printer. I installed samsung unified driver from AUR I think it was v3 and printer worked.
After the driver got updated to v4 I think my problems started. Sometimes when printing a document I only got pages with garbage characters in the first line on the whole page. Recently I am unable to print anything, always getting the same result, smileys, hearts etc on the first line. printing test page is the same.
I installed windows to another HDD in my desktop computer and no printing issue occurred. Also I installed samsung unified driver to another computer (running Arch), used the same USB cable, but garbage text was all I got.
Then I tried the official samsung package / installer and everything was the same.
Unfortunately there's no samsung unified driver 3 package in AUR anymore.
Please help me get my printer back.
]]>