DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th June 2021
rdikarlus rdikarlus is offline
Real Name: Carlosn
Fdisk Soldier
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 63
Default PROBLEM CONFIGURING SCANNER HP Deskjet 2540 Series

Hi all,

I am trying to install an all-in-one printer/scanner on NetBSD 9.2. I use hp-setup -i PRINTER_IP... hp-setup detects the printer but before finishing, when adding print queue to CUPS, this error message appears:

"Adding print queue to CUPS:
Device URI: hp:/net/Deskjet_2540_series?ip=192.168.99.100
Queue name: hp99
PPD file: drv:///hp/hpcups.drv/hp-deskjet_2540_series.ppd
Location: abajo
Information: no
Traceback (most recent call last):
File "/usr/pkg/bin/hp-setup", line 627, in <module>
utils.sendEvent(EVENT_CUPS_QUEUES_ADDED,print_uri, printer_name)
File "/usr/pkg/share/hplip/base/utils.py", line 2131, in sendEvent
SystemBus().send_message(msg)
File "/usr/pkg/lib/python3.8/site-packages/dbus/_dbus.py", line 195, in __new__
return Bus.__new__(cls, Bus.TYPE_SYSTEM, mainloop=mainloop,
File "/usr/pkg/lib/python3.8/site-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/pkg/lib/python3.8/site-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

"

Printer is working anyway but I am not able to make the scanner working... any idea how to solve this ?


Any help welcome! thanks!
Reply With Quote
  #2   (View Single Post)  
Old 7th June 2021
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

I can only be of very limited (if any) help since I no longer run NetBSD, nor have a working hp printer, but since noone else has replied, here are a couple of thoughts:

1) The end of your error message includes

Quote:
DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
That sounds like dbus is not running. You should try to start it, or find out why it isn't starting, and go from there.

2) Quite generically, for scanning I used to use the xsane package on NetBSD.
Reply With Quote
  #3   (View Single Post)  
Old 8th June 2021
rdikarlus rdikarlus is offline
Real Name: Carlosn
Fdisk Soldier
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 63
Default

You are right ! dbus was the problem.... after installing and starting it hplip is working properly and I can scan using xsane and my remote HP scanner! I also added the line dbus=YES in my /etc/rc.conf file. thanks for your help!
Reply With Quote
  #4   (View Single Post)  
Old 8th June 2021
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

You're welcome, great to hear it's working.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using an HP DeskJet 2540 for scanning rdikarlus OpenBSD Packages and Ports 6 25th November 2018 12:16 PM
Manually Configuring an IP Address problem munchiez OpenBSD General 7 31st March 2013 10:45 PM
FreeBSD on the PowerMac G series. Mr-Biscuit Guides 1 3rd May 2010 01:34 AM
Biometric scanner There0 OpenBSD General 3 10th November 2009 11:11 AM
qmail scanner problem t4y4n FreeBSD General 1 5th August 2008 07:36 PM


All times are GMT. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick