Hello Lukas, thanks very much for your proposal.
(udev-rules-service 'usb-hpaio (specification->package "hplip"))
Should I put it like this in my config.scm file?
(after the (service cups-service-type)?
(packages
(append
(list)
%base-packages))
(services
(append
(list (service mate-desktop-service-type)
(service plasma-desktop-service-type)
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions (list cups-filters hplip))))
(udev-rules-service 'usb-hpaio (specification->package "hplip"))
(service openssh-service-type)
(service tor-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout)))
(service libvirt-service-type
(libvirt-configuration
(unix-sock-group "libvirt")
(tls-port "16555")))
(service virtlog-service-type
(virtlog-configuration
(max-clients 1000)))
(service samba-service-type (samba-configuration
(enable-smbd? #t)
(config-file (plain-file "smb.conf" "\
[global]
map to guest = Bad User
logging = syslog@1
[public]
browsable = yes
path = /home/gfp/public
read only = no
guest ok = yes
guest only = yes\n")))))
Thanks again
Gottfried
Am 21.05.25 um 23:47 schrieb Lukas Gradl:
Hello Gottfried, concerning the issue with the HP printer/scanner: gfp <[email protected]> writes:Am 04.04.25 um 00:24 schrieb Lukas Gradl:gfp <[email protected]> writes:I had the same issue with my HP printer. Am I guessing correctly that your printer is connected through the network, not USB?My printer is connected with USB to my laptop. Is than all you have written valid for me also?The USB case is probably different.I believe there is a permissions problem that prevents non-root users from accessing HP printers via USB. This is because the udev rules file that the hplip package provides somehow does not get installed in the system. To check, you can manually add the udev rules file to your system by adding the following service to the list of services in your system configuration: (udev-rules-service 'usb-hpaio (specification->package "hplip")) After reconfiguring, there should exist a file '/etc/udev/rules.d/56-hpmud.rules', which was not there before. After rebooting, run 'guix shell hplip -- hp-setup', select the USB option and hit 'Next' - the printer should show up now. With this setup I was able to print and scan with my HP printer over USB. Let me know if it works for you as well. Best, Lukas
OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
