LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-15-2011, 07:02 AM   #1
Sir Prised
Member
 
Registered: Sep 2009
Posts: 42

Rep: Reputation: 0
Samsung ML-1910 :-(


Hi

Has anyone managed to get this mono-laser printer working ?
I've installed the Universal driver but nothing I've tried has worked.
Like others, it appears to accept the job, make the appropriate whirring noises, but nothing emerges from the printer. All very disappointing.

Has anyone any pointers ?
TIA

Using Centos 6.0
 
Old 08-15-2011, 09:46 AM   #2
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
Don't know about Centos, but have you tried CUPS? Have you tired using another Samsung driver? I've never tested another Samsung driver, but I know HP printers will allow you to use other HP drivers (within that family of printers) and they work correctly. Have you checked the Samsung site because they do have some linux drivers for their machines.

If it goes through the motions, and then craps out, it sounds like there is something wrong with the driver or the settings of the driver. What country, etc. is Centos configured for? Is that the same in the printer driver?
 
Old 08-15-2011, 11:02 AM   #3
Sir Prised
Member
 
Registered: Sep 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Samsung have pointed me to a later Unified Driver Configurater, so I'm pretty convinced now, that the driver bit is OK.

Yes, I've just been playing with CUPS and it immediately reports 'filter rastertosamsungspl unavailable. Permission denied !
I *think* this is an SELinux issue, so I'll have a play tomorrow, but I don't really understand what I'm doing. I guess it's in the wrong group ????

Cheers
 
Old 08-15-2011, 11:06 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
my big discovery in selinux was /etc/selinux.conf. That has a line defining policy. It's one of: enforcing; paranoid; disabled.

Set that tio disabled and you stop falling over yourself.
 
Old 08-15-2011, 11:10 AM   #5
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
Well, I tried, but I think you need to put more info up here including all the things you tried. This helps those who can solve it to know what doesn't work. Haven't use SELinux, so I can't answer that one, but try reposting with all the things you have tried, and all the info your system will "print" out in the way of messages.
 
Old 08-15-2011, 11:53 AM   #6
Sir Prised
Member
 
Registered: Sep 2009
Posts: 42

Original Poster
Rep: Reputation: 0
A little harsh I think ! I explained I had obtained a later driver from Samsung. I then pointed out I suspected it was SELinux.. business_kid suggested a diagnostic technique, which I should have thought of myself, but then I'm getting old now, but I'll try it in the morning. All the time I'm progressing, I don't see the point of describing everything I've tried over a good couple of hours. What I will do, if and when I get it working, is summarise what I did. How's that ?

Disabling SELinux with setenforce 0 (Fedora + Redhat) enabled the printer to work! :-))
For now, I've re-enabled it with setenforce 1 Current status can be checked with cat/selinux/enforce

I'll be checking the log to see what's required permanently.

Last edited by Sir Prised; 08-15-2011 at 12:41 PM.
 
Old 08-15-2011, 01:36 PM   #7
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
I guess that's why I still consider myself a Newbie.
 
Old 08-16-2011, 10:00 AM   #8
Sir Prised
Member
 
Registered: Sep 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Ok, it in and working. Yeh !! :-)

Firstly get the latest driver from Samsung.com/uk support UnifiedLinuxDriver_1.02.tar.gz
Install and select driver ML-191x%20252x%20Series (It's not numerically where you might expect it to be)
If the printer still doesn't work, try switching SELinux to 'Permissive' setenforce 0 Check with getenforce
If it now works, you need to add a rule. (The AVC error can be seen with tail -f /var/log/audit/audit.log)
Create rule with grep cupsd_t /var/log/audit/audit.log | audit2allow -M samsung
Install rule with setmodule -i samsung.pp
Re-enable enforcing setenforce 1
Hopefully now, the printer will be working.

Good luck
 
Old 08-16-2011, 10:29 AM   #9
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
As I said before, I don't know Centos or SELinux, but can you temporarily uninstall SELinux? It's a separarte package system on my LinuxMint. Then after the printer is working, add SELinux back. Perhaps you should post your last post on this thread to the Security section with all the uname -rv, and other command output info and your original question Then perhaps those in the security section can discern and solve. Sorry, but this one's above my head.
 
Old 08-16-2011, 10:52 AM   #10
Sir Prised
Member
 
Registered: Sep 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gentisle View Post
As I said before, I don't know Centos or SELinux, but can you temporarily uninstall SELinux? It's a separarte package system on my LinuxMint. Then after the printer is working, add SELinux back. Perhaps you should post your last post on this thread to the Security section with all the uname -rv, and other command output info and your original question Then perhaps those in the security section can discern and solve. Sorry, but this one's above my head.
Firstly I have marked the thread as [SOLVED].

Then check out the third line which explains you can switch SELinux to 'Permissive' mode. What that does is allow events which it would normally stop, but enters the details in it's log at /var/log/audit/audit.log. Because the printer started working in that mode of operation, you know it's SELinux preventing the printer working !

You can then use audit2allow to extract the relevant details from the log and create a rule/module, which you add to SELinux, so that when you switch SELinux back to enforcing with setenforce 1, the printer will still work with SELinux in operation.

HTH ;-))
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Splix driver for Samsung - New samsung printers iqbala Linux - Hardware 3 07-02-2010 04:50 PM
Samsung 10 - Jolicloud Bob j Linux - Laptop and Netbook 1 04-07-2010 08:47 PM
Samsung YP-K3 Nille_kungen Slackware 1 08-24-2008 09:19 AM
LXer: Linux in 1910, according to Google Timeline LXer Syndicated Linux News 1 10-26-2007 05:42 AM
Samsung CD-R/RW ilikesci Slackware 2 05-26-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration