Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163325 - Ebuild wrapper for Samsung SCX-4200 MFP binary drivers.
Summary: Ebuild wrapper for Samsung SCX-4200 MFP binary drivers.
Status: VERIFIED DUPLICATE of bug 139715
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 21:03 UTC by Serhij S. Stasyuk
Modified: 2007-01-22 21:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-misc/smfp-scx4200-bin/smfp-scx4200-bin-2.00.92.ebuild (smfp-scx4200-bin-2.00.92.ebuild,2.39 KB, text/plain)
2007-01-22 21:20 UTC, Serhij S. Stasyuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serhij S. Stasyuk 2007-01-22 21:03:24 UTC
Creating ebuild for Samsung SCX-4200.
Now I can print via cups and scan via xsane. Please, if someone use this MFP, report if it works installed on the clean system. Also, if someone installed full drivers and apps from Samsung, pls report me what are the files in at_opt (Configurator and co.)

I don't know what category to select - printer drivers are in net-print, scanner drivers are in media-gfx, so I select app-misc.

Needed tasks - create simple script for architecture detecting (i386 or x86_64).
Check samsung apps. Maybe set fetch restrictions. Find out driver license. Find out if we need to modify /etc/hotplug/usb/libsane.usermap and/or /etc/udev/rules.d/99-libsane.rules.


Reproducible: Always





Printer was started quite quickly, there were problems with scanner.
There was main problem with symlinks, but it was detected quickly with ldd * | grep "not found".

So, my work was based on http://jacobo.tarrio.org/Samsung_SCX-4200_on_Debian, http://gentoo-wiki.com/HOWTO_use_the_scanner_and_printer_Samsung_SCX4200 and a bit http://forums.gentoo.org/viewtopic.php?t=439815

I was trying to get device or libusb identification.
/etc/hotplug/usb/libsane.usermap
#Samsung SCX-4200
libusbscanner             0x0003      0x04e8   0x341b    0x0000       0x0000       0x00         0x00            0x00            0x00            0x00               0x00               0x00000000 

/etc/udev/rules.d/99-libsane.rules
# Samsung SCX-4200
SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="341b", MODE="660", GROUP="scanner"

BTW, why in /etc/udev/permissions.d/50-udev.permissions we have 'root:root and not 'root:scanner ?
# scanner devices
scanner:root:root:0600
usb/scanner*:root:root:0600

Needed files:
http://downloadcenter.samsung.com/content/DR/200701/20070110181304562_UnifiedLinuxDriver.tar.gz
http://jacobo.tarrio.org/files/soft/scx/fix-nopar-scx4200-2.00.92-2007011301.tar.gz
http://jacobo.tarrio.org/files/soft/scx/fix-nopar-scx4200-2.00.92-2007011301.tar.gz.asc

Need use-flag fix-nopar to apply or not binary patch.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 21:19:07 UTC

*** This bug has been marked as a duplicate of bug 139715 ***
Comment 2 Serhij S. Stasyuk 2007-01-22 21:20:54 UTC
Created attachment 107836 [details]
app-misc/smfp-scx4200-bin/smfp-scx4200-bin-2.00.92.ebuild

This is my working ebuild. Expected MFP_ARCH is i386. Works for me (both printer and scanner). Also there is disputable moment with commenting out geniusvp2 backend. Need to be checked.
Comment 3 Serhij S. Stasyuk 2007-01-22 21:26:11 UTC
Sorry for spamming here, have not mentioned original bug and your reply. I'll try to join our ebuilds in the original bug.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 21:30:22 UTC
(In reply to comment #3)
> Sorry for spamming here, have not mentioned original bug and your reply. I'll
> try to join our ebuilds in the original bug.

No problem; yeah it'd be cool to merge this into one bug :)