Problem with Samsung Unified Linux Driver [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
fucitol
Baby Hen
Posts: 6
Joined: Tue Feb 15, 2011 11:59

Problem with Samsung Unified Linux Driver [Solved]

Post by fucitol » Tue Feb 15, 2011 12:12

I am trying to installing the driver for my Samsung ML-1660 printer. I downloaded the Unified Linux Driver from Samsung's website. When I run the installer, text appears as squares. Is there any way to solve this?

Image
Last edited by fucitol on Wed Feb 23, 2011 10:18, edited 1 time in total.

smb96
Simple Hen
Posts: 70
Joined: Mon Nov 23, 2009 11:44

Re: Problem with Samsung Unified Linux Driver

Post by smb96 » Tue Feb 15, 2011 12:46

Hi,

always try to get software first from our package managers.

eix samsung shows

Code: Select all

* net-print/samsung-unified-linux-driver
     Available versions:  1.01[1] 1.01[2] (~)1.01[3] {doc test}
     Homepage:            http:///www.samsung.com/us/support/downloads/CLX-3175FW/XA
     Description:         Samsung's proprietary printer driver binaries known as UnifiedLinuxDriver

to install you need to prepare Portage and install it via emerge (all in root termial)

Code: Select all

# emerge --sync
# layman -a calculate
# layman -S
# emerge -pv =net-print/samsung-unified-linux-driver-1.01
###### if it doesn't want to pull any deps do it without "p", if it wants deps try to install them with entropy first.
# emerge -v =net-print/samsung-unified-linux-driver-1.01
# equo rescue spmsync
good luck :)

fucitol
Baby Hen
Posts: 6
Joined: Tue Feb 15, 2011 11:59

Re: Problem with Samsung Unified Linux Driver

Post by fucitol » Wed Feb 16, 2011 14:37

This is my first time using emerge. I got errors when I did layman -a calculate. This is what I did (I removed the downloading part of emerge --sync):

Code: Select all

# emerge --sync

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)                
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/2Q-2004................................................................................................................
/usr/portage/profiles/updates/3Q-2004...............................................................................................................................................................................................
/usr/portage/profiles/updates/4Q-2004.....................................................................................................................................................................................................................................................................
/usr/portage/profiles/updates/1Q-2005..................................................................................................................................................................................................................................................
/usr/portage/profiles/updates/2Q-2005..........................................................................................................
/usr/portage/profiles/updates/3Q-2005..............................................................................
/usr/portage/profiles/updates/4Q-2005.......................................
/usr/portage/profiles/updates/1Q-2006...........................................
/usr/portage/profiles/updates/2Q-2006........................................
/usr/portage/profiles/updates/3Q-2006...............
/usr/portage/profiles/updates/4Q-2006.........................
/usr/portage/profiles/updates/1Q-2007.....................
/usr/portage/profiles/updates/2Q-2007..........................
/usr/portage/profiles/updates/3Q-2007........................................
/usr/portage/profiles/updates/4Q-2007.................
/usr/portage/profiles/updates/1Q-2008................
/usr/portage/profiles/updates/2Q-2008....................................
/usr/portage/profiles/updates/3Q-2008..............
/usr/portage/profiles/updates/4Q-2008...........................
/usr/portage/profiles/updates/1Q-2009..............
/usr/portage/profiles/updates/2Q-2009.....................................................................................
/usr/portage/profiles/updates/3Q-2009......................................................
/usr/portage/profiles/updates/4Q-2009........................
/usr/portage/profiles/updates/1Q-2010..........................................................................
/usr/portage/profiles/updates/2Q-2010.......................................
/usr/portage/profiles/updates/3Q-2010............
/usr/portage/profiles/updates/4Q-2010............................
/usr/portage/profiles/updates/1Q-2011..........................................
##


 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.

 * To update portage, run 'emerge portage' now.


 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

# layman -a calculate
* Program "/usr/bin/git" not found
* Failed to add overlay "calculate".
* Error was: Adding overlay "calculate" failed!

# emerge portage

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/portage-2.2.0_alpha24
bash: /usr/portage/distfiles/.__portage_test_write__: Permission denied
Adjusting permissions recursively: '/usr/portage/distfiles/'
>>> Downloading 'http://ftp.heanet.ie/pub/gentoo/distfiles/portage-2.2.0_alpha24.tar.bz2'
--2011-02-16 21:20:17--  http://ftp.heanet.ie/pub/gentoo/distfiles/portage-2.2.0_alpha24.tar.bz2
Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 779273 (761K) [application/x-bzip2]
Saving to: “/usr/portage/distfiles/portage-2.2.0_alpha24.tar.bz2”

100%[============================================>] 779,273      210K/s   in 5.0s    

2011-02-16 21:20:26 (151 KB/s) - “/usr/portage/distfiles/portage-2.2.0_alpha24.tar.bz2” saved [779273/779273]

 * portage-2.2.0_alpha24.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
>>> Downloading 'http://ftp.heanet.ie/pub/gentoo/distfiles/portage-man-pl-2.1.2.tar.bz2'
--2011-02-16 21:20:26--  http://ftp.heanet.ie/pub/gentoo/distfiles/portage-man-pl-2.1.2.tar.bz2
Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53893 (53K) [application/x-bzip2]
Saving to: “/usr/portage/distfiles/portage-man-pl-2.1.2.tar.bz2”

100%[============================================>] 53,893      32.0K/s   in 1.6s    

2011-02-16 21:20:28 (32.0 KB/s) - “/usr/portage/distfiles/portage-man-pl-2.1.2.tar.bz2” saved [53893/53893]

 * portage-man-pl-2.1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * Package:    sys-apps/portage-2.2.0_alpha24
 * Repository: gentoo
 * Maintainer: [email protected]
 * Upstream:   [email protected]
 * USE:        amd64 elibc_glibc ipc kernel_linux linguas_pl multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>> Unpacking source...
>>> Unpacking portage-2.2.0_alpha24.tar.bz2 to /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work
>>> Unpacking portage-man-pl-2.1.2.tar.bz2 to /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work
>>> Source unpacked in /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work
>>> Preparing source in /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work/portage-2.2.0_alpha24 ...
 * Setting portage.VERSION to 2.2.0_alpha24 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work/portage-2.2.0_alpha24 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/work/portage-2.2.0_alpha24 ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-apps/portage-2.2.0_alpha24

>>> Install portage-2.2.0_alpha24 into /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/image/ category sys-apps
patching file make.conf
Hunk #1 succeeded at 22 (offset -1 lines).
Hunk #2 succeeded at 37 (offset -1 lines).
Hunk #3 succeeded at 99 (offset 8 lines).
>>> Completed installing portage-2.2.0_alpha24 into /var/tmp/portage/sys-apps/portage-2.2.0_alpha24/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
ecompressdir: bzip2 -9 /usr/share/man

>>> Installing (1 of 1) sys-apps/portage-2.2.0_alpha24
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 2.6 ...                                                    [ ok ]
 * 
 * For help with using portage please consult the Gentoo Handbook
 * at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
 * 
 * If you always want to use the latest development version of portage
 * please read http://www.gentoo.org/proj/en/portage/doc/testing.xml
 * 

 * Messages for package sys-apps/portage-2.2.0_alpha24:

 * If you always want to use the latest development version of portage
 * please read http://www.gentoo.org/proj/en/portage/doc/testing.xml
 * 
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 152 info files.

 * IMPORTANT: 1 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

# layman -a calculate
* Program "/usr/bin/git" not found
* Failed to add overlay "calculate".
* Error was: Adding overlay "calculate" failed!

# equo rescue spmsync
>>  Scanning Source Package Manager and Entropy databases for differences...
>>  Differential Scan...Are you ready ? [Yes/No] yes
>>  @@ Someone added these packages. They would be added to the system database:
>>    # sys-apps/portage-2.2.0_alpha24
>>  ++ (1/1) >>> Adding sys-apps/portage-2.2.0_alpha24
>>  @@ Database update completed.

# equo conf update
>>  @@ Scanning filesystem ...
>> Automerging file: /etc/._cfg0000_dispatch-conf.conf
>> All fine baby. Nothing to do!
What should I do now?

micia
Sagely Hen
Posts: 2718
Joined: Wed Nov 26, 2008 16:41
Contact:

Re: Problem with Samsung Unified Linux Driver

Post by micia » Wed Feb 16, 2011 14:46

You should not upgrade portage using portage itself, since the Sabayon version of portage is a bit different, do the following:
(as root)

Code: Select all

equo install portage
equo install git
layman -a calculate
layman -S
emerge -pv =net-print/samsung-unified-linux-driver-1.01
The first two commands are in order to reinstall portage from entropy and install GIT (since layman was complaining about missing git command, thus it could not add the calculate overlay).
The other commands are the one suggested by smb96.
After the installation process, following the advice given by smb96, run again:
(as root)

Code: Select all

equo rescue spmsync

fucitol
Baby Hen
Posts: 6
Joined: Tue Feb 15, 2011 11:59

Re: Problem with Samsung Unified Linux Driver

Post by fucitol » Sun Feb 20, 2011 3:55

After installing git and portage, layman -a calculate gives me another error

Code: Select all

# layman -a calculate
* Running... # /usr/bin/git clone git://git.calculate.ru/dev/overlay.git /var/lib/layman/calculate
Cloning into /var/lib/layman/calculate...
remote: Counting objects: 26094, done.
remote: Compressing objects: 100% (10162/10162), done.
fatal: write error: Broken pipe
fatal: error in sideband demultiplexer
* Failed to add overlay "calculate".
* Error was: Adding overlay "calculate" failed!

micia
Sagely Hen
Posts: 2718
Joined: Wed Nov 26, 2008 16:41
Contact:

Re: Problem with Samsung Unified Linux Driver

Post by micia » Sun Feb 20, 2011 17:23

there seems to be some sort of problem with git, they are probably now trying to sort it out, see this topic that deals with this issue:
http://forum.sabayon.org/viewtopic.php?f=5&t=23102

fucitol
Baby Hen
Posts: 6
Joined: Tue Feb 15, 2011 11:59

Re: Problem with Samsung Unified Linux Driver [Solved]

Post by fucitol » Wed Feb 23, 2011 10:21

A upgrade fixed git. Now my printer is working. Thank you for your help! :D

Post Reply