SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ellepdesk

#1
I've managed to get the suld drivers working on armhf/arm64 devices by using qemu-user emulation of amd64.
Sharing my work so others can benefit:

# enable transparent emulation of amd64 (on armhf/arm64)

apt install qemu-user-binfmt binfmt-support
dpkg --add-architecture amd64

# enable suldr repo for amd64
echo 'deb [arch=amd64] https://www.bchemnet.com/suldr/ debian extra' > /etc/apt/sources.list.d/suldr.list
wget 'http://www.bchemnet.com/suldr/pool/debian/extra/su/suldr-keyring_2_all.deb'
dpkg -i suldr-keyring_2_all.deb


# Make sure you have set up apt to install packages for amd64
# You may need to add [arch=arm64] or [arch=armhf] modifiers to lines in /etc/apt.sources.list
# and/or add the main ubuntu/debian repositories for arm64

# Update the package DB
apt update

# Install the driver indicated for your printer, in my case for a Samsung C410, suld-driver2-1.00.39. 

# This wil pull in a LOT of dependencies (about 200MB) of amd64 libs
apt install suld-driver2-1.00.39:amd64


Enjoy printing

IMPORTANT NOTICE:
This procedure is BROKEN for raspberry os/raspbian, due to a difference in the version of libc used!

UPDATE:
Thanks to bchemnet for updating the drivers before anyone else read this, the procedure has been shortened considerably.
I've removed the redundant steps to avoid confusion
#2
Hi,

I'm trying to bypass the restrictions on architecture by enabling qemu-user-static to run amd64 binaries on arm.
Installation of the suldr-driver2 packages fails because the driver depends on common, and common is installed only for the current architecture.

By patching the common and ppd .deb files to include 'Multi-Arch: foreign' these packages are seen as a fulfillment of the dependencies of suld-driver2:amd64 even when installed on a native arm system.

Using these patched debs an qemu-user-static I have successfully printed a test page from an arm system on a Samsung C410 printer. At the cost on a bunch of arm64v libs an a big overhead on executing, this could solve the long-standing issue of using the SULD drivers on a raspberry pi.

In sort: Please add 'Multi-Arch: foreign' to the control file for all 'Architecture: all' .deb files.
Repository Information Legal Contact Alternative Drivers