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

Author Topic: Samsung ML-1665 USB problem  (Read 8809 times)

R0axet

  • Testing the water
  • **
  • Posts: 3
    • View Profile
  • Linux Distribution: Fedora 17
  • Printer: Samsung ML-1665
Samsung ML-1665 USB problem
« on: June 13, 2012, 13:41:39 »
Samsung ML 1665 - according to Open Printing - a paperweight
Linux distro - Fedora 17
USB connected
UnifiedLinuxDriver_0.86
Smartpanel_0.86
No errors - shows a popup window "Checking driver ok", "Printing test page ok"
Downloaded the drivers from Samsung's site.
When in Configurator, the testing printer shows 'ML-1660-Series (Samsung ML-1660 Series) on usb://Samsung/ML-1660%20Series... Checking driver... Ok. Printing test page... Ok.

I've tried completely uninstalling Unified and SmartPanel and re-installing.
I know I didn't spend a lot of money on this ML-1665... but I hate to throw it out :)
Thanks in advance for any consideration.

bchemnet

  • Administrator
  • *****
  • Posts: 547
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung ML-1665 USB problem
« Reply #1 on: June 13, 2012, 21:44:38 »
When in Configurator, the testing printer shows 'ML-1660-Series (Samsung ML-1660 Series) on usb://Samsung/ML-1660%20Series... Checking driver... Ok. Printing test page... Ok.

Did you override/ignore the SELinux warning?  Your second screenshot suggests the driver is doing what it is supposed to, but your SELinux configuration isn't recognizing the Samsung components as allowed access through CUPS and therefore blocks it.  The simplest thing might be to temporarily disable your SELinux configuration (or at least the component of it regulating CUPS, I'm not sure which is simpler in a current Fedora release), and see if it prints then.

R0axet

  • Testing the water
  • **
  • Posts: 3
    • View Profile
  • Linux Distribution: Fedora 17
  • Printer: Samsung ML-1665
Re: Samsung ML-1665 USB problem
« Reply #2 on: June 14, 2012, 08:24:36 »
I disabled the warning by executing setenforce 0, however the next SELinux warning was with totem....

The printer appears to receive the print job signal, but still fails to print.

SELinux proposed the following to fix the totem warning:

grep multiqueue0:src /var/log/audit/audit.log |audit2allow -M mypol
semodule -i mypol.pp

the second line from above failed with:

ge.trans.LOCK. (Resource temporarily unavailable).
semodule:  Failed on mypol.pp!

Perhaps this Samsung ML 1665 is truely a paperweight at this point or no?

bchemnet

  • Administrator
  • *****
  • Posts: 547
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung ML-1665 USB problem
« Reply #3 on: June 15, 2012, 09:26:43 »
Perhaps this Samsung ML 1665 is truely a paperweight at this point or no?

With SELinux enabled, yes, probably.  It's still possible it may work if you turn off SELinux or exempt everything related to CUPS and the Samsung driver.  I believe other reports have indicated this printer does work on some Linux systems, so (assuming nothing is wrong with the physical printer) it probably is a configuration issue.  AppArmor in Ubuntu caused many problems when it was first introduced, although it seems better behaved recently; you are the first person who has shared anything regarding experience with SELinux (and Fedora, for that matter).

R0axet

  • Testing the water
  • **
  • Posts: 3
    • View Profile
  • Linux Distribution: Fedora 17
  • Printer: Samsung ML-1665
Re: Samsung ML-1665 USB problem
« Reply #4 on: June 15, 2012, 12:43:15 »
I've uninstalled/reinstalled 1. smartpanel then 2. the driver...., chose a ppd from the list ML-1660, and then following the suggestion from a fedora suggestion, I'm printing.

http://forums.fedoraforum.org/showthread.php?t=280567

From the above url I ran:

restorecon -R -v /usr/lib64
restorecon -R -v /usr/lib
restorecon -R -v /usr/share

According to domg472 (SELinux contributor):
"turns out that this pos smasung unified driver installer moves files from $HOME to all over the place which breaks stuff.

Not sure if that means a revision for the driver is required for new stuff in SELinux or not.

All the best,

« Last Edit: June 15, 2012, 13:48:48 by R0axet »

bchemnet

  • Administrator
  • *****
  • Posts: 547
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung ML-1665 USB problem
« Reply #5 on: June 15, 2012, 18:27:46 »
From the above url I ran:

restorecon -R -v /usr/lib64
restorecon -R -v /usr/lib
restorecon -R -v /usr/share
If you are inclined to do remove and reinstall the driver again, I would be interested in the output from those commands.  The Samsung installer does tend to have permission issues (one of many reasons I created this repository), and I fix those in my packages.  However, I don't know if what I'm doing now works with SELinux; if it does, and there is demand, I could probably generate rpm packages as well as the .debs.  (Although it may take a while - I'd have to learn how rpm-based repositories work first.)

According to domg472 (SELinux contributor):
"turns out that this pos smasung unified driver installer moves files from $HOME to all over the place which breaks stuff.

I read the thread with that comment and don't actually understand it.  The installer does not touch $HOME, although perhaps Fedora expects some of the installed files in $HOME instead of system directories?  I think it's more likely just a general file permissions problem.

nick4mony

  • Testing the water
  • **
  • Posts: 2
    • View Profile
  • Linux Distribution: Ubuntu Lucid 64-bit
  • Printer: CLX-3185FW (Colour laser/scanner)
Re: Samsung ML-1665 USB problem
« Reply #6 on: June 18, 2012, 08:36:51 »
you are the first person who has shared anything regarding experience with SELinux (and Fedora, for that matter).
And I'll be the second (albeit with no printing). I tried Fedora a long time ago (about 2006), with SELinux. My conclusion was that SELinux wasn't ready for prime-time. A simple Apache-PHP web page got broken. Looks like SELinux still isn't ready for prime-time (much like most other stuff by the U.S. Govt).

AppArmor in Ubuntu caused many problems when it was first introduced, although it seems better behaved recently;
AppArmor in Hardy Heron broke HP LaserJet printing - and it didn't work to turn off AppArmor. I had to dual-boot between Breezy and Hardy to keep printing working (I didn't have a Samsung printer then), but I'd say it's a lot better now (ie in Lucid).

 

Repository Information Legal Contact Alternative Drivers