The HP PSC 1315 is recognized by FC4, print but no scan yet.

Vinicius cviniciusm at terra.com.br
Sat Jul 16 01:34:04 UTC 2005


Vinicius wrote:
> Vinicius wrote:
> 
>> Hello,
>>
>> I have a HP PSC 1315 and the computer OS is FC4 (the kernel is 
>> 2.6.12-1.1387_FC4).
>>
>> The command lspci is not showing the printer, but it did show on FC3 
>> and the printer was working on FC3.
>>
>> Any ideias, please?
>>
>>
>> TIA,
>>
>> Vinicius.
>>
> 
> Finally, after the kernel "kernel-2.6.12-1.1398_FC4" installed, I was 
> able to install the printer. Now the command 'lsusb' detects the printer.
> 
> 
> Thanks,
> 
> Vinicius.
> 
> 
> P.S.: As suggested by Dave Jones I did do backups of modprobe.conf and 
> hwconf, but kudzu wasn't able to detect all my hardware even after a 
> reboot. So, I had to restore modprobe.conf .
> 

Well, I can print with success but scan not.

I think it's something related to SELinux and some python programs by HPLIP.

See the following:
"# ./info -pPSC1315

  HP Linux Imaging and Printing System (ver. 0.9.3)
  Device Information Utility ver. 2.8

  Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.


Info for: hp:/usb/psc_1310_series_?serial=XXXXXXXXXXXX

    Info                Value(s)
    ------------------ 
----------------------------------------------------------
    Device URI:         hp:/usb/psc_1310_series_?serial=XXXXXXXXXXXX
    Model name:         psc 1310 series
    Serial no.:         XXXXXXXXXXXX
    CUPS back end:      hp
    Device file:        hp:/usb/psc_1310_series_?device=/dev/usb/lp0
    I/O bus:            usb
  [ERROR]: Unable to contact services daemon. Exiting.

# ./toolbox
toolbox
toolbox HP Linux Imaging and Printing System (ver. 0.9.3)
toolbox HP Device Manager ver. 4.0
toolbox
toolbox Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
toolbox This software comes with ABSOLUTELY NO WARRANTY.
toolbox This is free software, and you are welcome to distribute it
toolbox under certain conditions. See COPYING file for more details.
toolbox
toolbox Listening on localhost port 32789
Traceback (most recent call last):
   File "./toolbox", line 411, in ?
     sys.exit( main( sys.argv[1:] ) )
   File "./toolbox", line 330, in main
     toolbox = devmgr4( toolboxCleanup )
   File "/usr/share/hplip/ui/devmgr4.py", line 249, in __init__
     self.service = service.Service()
   File "/usr/share/hplip/base/service.py", line 51, in __init__
     raise Error( ERROR_UNABLE_TO_CONTACT_SERVICE )
base.g.Error: ('Unable to contact service', 96)

# ausearch -sv no
...
time->Fri Jul 15 20:36:47 2005
type=SOCKETCALL msg=audit(1121470607.263:39769): nargs=3 a0=5 
a1=b7d04b60 a2=10
type=SOCKADDR msg=audit(1121470607.263:39769): 
saddr=020080027F0000010000000000000000
type=SYSCALL msg=audit(1121470607.263:39769): arch=40000003 syscall=102 
success=no exit=-13 a0=3 a1=bfdd5e30 a2=4c3114 a3=b7d04b48 items=0 
pid=2240 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 
fsgid=0 comm="python" exe="/usr/bin/python"
type=AVC msg=audit(1121470607.263:39769): avc:  denied  { name_connect } 
for  pid=2240 comm="python" dest=32770 
scontext=system_u:system_r:hplip_t tcontext=system_u:object_r:port_t 
tclass=tcp_socket
..."

Any suggestions, please?




More information about the users mailing list