Bug 547171

Summary: Automatic config of bogus printers
Product: [Fedora] Fedora Reporter: alan
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-printer-1.1.19-3.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-27 02:53:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description alan 2009-12-13 20:34:18 UTC
Description of problem:

FC12 adds the utterly brilliant feature of autoconfiguring and adding printers. Unfortunately its brain dead about unknown devices and happily auto adds things like knife cutting machines and the like. These speak HP-GL (badly) so should not be auto configured as they need to be fed subset vector hp-gl and are not really a "printer".

Not only that but it gets autoadded wrongly, busting everything and only root can undo the mess. This is every time it gets discovered.

How reproducible:

100%

Steps to Reproduce:
1. Use a Graphtec Pro or CE/ series knife cutter with USB interface
2. Watch cups add a load of crap
3. Despair and delete it all again
  
Actual results:

Mayhem

Expected results:

The device should be blacklisted and ignored.


Additional info:

Bus 006 Device 006: ID 0b4d:1115 Graphtec America, Inc. 

All the Graphtec America printer devices should be blacklisted as far as I can tell. They either need hpgl-distiller and inkscape and the right special setup, or they need a magic libusb driver (the basic Craft Robo)

Can test fixes trivially.

Comment 1 Tim Waugh 2010-04-08 10:49:27 UTC
Are these devices USB only or can they be connected via other means?

I think I need to see the output of 'lpinfo -l -v' to be sure they won't be autoconfigured via another connection type.

Comment 2 alan 2010-06-21 16:58:24 UTC
I had to do a bit of digging. Some versions also support parallel. I don't know if they support being identified over parallel or not.

Comment 3 alan 2010-06-21 16:59:58 UTC
Device: uri = usb://Graphtec/CE5000-40-CRP
        class = direct
        info = Graphtec CE5000-40-CRP
        make-and-model = Graphtec CE5000-40-CRP
        device-id = MANUFACTURER:Graphtec;MODEL:CE5000-40-CRP;CLASS:PRINTER;DESCRIPTION:Graphtec CE5000-40-CRP;
        location =

Comment 4 Tim Waugh 2010-06-22 14:56:31 UTC
Thanks.  Fixed upstream.

Comment 5 Fedora Update System 2010-06-28 16:21:39 UTC
system-config-printer-1.1.19-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/system-config-printer-1.1.19-3.fc12

Comment 6 Fedora Update System 2010-06-29 15:31:39 UTC
system-config-printer-1.1.19-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.1.19-3.fc12

Comment 7 Fedora Update System 2010-07-27 02:52:21 UTC
system-config-printer-1.1.19-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.