Hp deskjet 5940

Well, if your user doesn't have write permissions in his own home directory, nothing is going to work. What are the permissions and ownership on /home/emberdaemon? And if $HOME/.hplip exists, what are the permissions on it?
 
I gave:
Code:
sudo chown -R emberdaemon /home
sudo chown -R emberdaemon /home/emberdaemon
sudo chown -R emberdaemon /home/emberdaemon/.hplip
Now I guess hole home directory own to me.
Run again hp-systray:
Open a gui and a balloon with error: Device communication error
 
Hmm, perhaps you need to run it as $ hp-systray &.
But - do you get the hp icon in the systray? (Which desktop environment are you using?)
 
But - do you get the hp icon in the systray?
Yeap. I use fluxbox. I see the systray of hp. I double click on it. Open the program and this balloon appears.
Terminal return this:
Code:
error: Fax disabled.
error: Fax disabled.
warning: Please install version 2.0+ of Reportlab for coverpage support.
error: Fax address book disabled - Python 2.3+ required.
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_5900_series?serial=CN6431Z13604KF
error: Device not found

Ps: My hp-setup and cups see the printer. On cups recognize my printer like this: HP Deskjet 5900 Series hpijs, 3.10.9.11 and as PPD, I choosed that: hp-deskjet_5900_series-hpijs.ppd.gz I made something wrong?
 
sk8harddiefast said:
On my post 7, I say that I have already made that

Oh my..... Well if your devfs.rules file looks like this for a USB device, then it is not correct...

Code:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/X.Y.Z' mode 0660 group cups
 
ok, what does $ hp-info and $ hp-check say? Lastly, if you run hp-setup as your user, does it still see the printer?
 
hp-info Open a gui and an error:
Code:
Unable to open device hp:/usb/Deskjet_5900_series?serial=CN6431Z13604KF
hp-check return: http://pastie.org/1384201

Also this is my hplip flags:

Code:
[X] QT     Graphical User Interface (Qt4)                                  
[ ] FAX    PC Send Fax support                                 
[ ] SNMP   Network/JetDirect support                                     
[ ] SCAN   Scanning support                                    
[ ] XSANE  Install XSane for scanning (requires SCAN)

Only the first I need. I have no fax, scanner or use my printer via network.

Oh my..... Well if your devfs.rules file looks like this for a USB device, then it is not correct...

Just edit this: add path 'usb/X.Y.Z' mode 0660 group cups to add path 'usb/6.2' mode 0660 group cups according my dmesg: ugen6.2: <HP> at usbus6

And Yes. Printer is connected on my FreeBSD via USB :p
 
Well, it seems like your user are missing something (permissions?) in order to communicate with your printer.
If you look at the hp-check output, it doesn't find your printer (lines 231-236).
Ok, one more detail: is you user a member of the group cups? (it doesn't look like it, from lines 264-269)
 
sk8harddiefast said:
Following the handbook:
My /etc/devfs.rules
Code:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/X.Y.Z' mode 0660 group cups
Ok, I didn't notice this before now. Devices unlpt, ulpt and lpt have nothing to do with usb, and are not needed to get your printer to work.
Also, I hope that it is not literally 'usb/X.Y.Z' in your /etc/devfs.rules?
For now, try to change it to 'usb/*', re-plug your printer and see if that helps.
You probably also need a line for 'ugen*', like the one for 'usb/*'.
HTH
 
is you user a member of the group cups?
Is now.... :)
Also the problem maybe is somewhere on devfs.rules. as JimW said.

My devfs.rules

Code:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/6.2' mode 0660 group cups

Ps. I changed it: add path 'usb/*' mode 0660 group cups
and
Code:
/etc/rc.d/devfs restart.
Error Insist
 
sk8harddiefast said:
What I must write exactly?

Use usbconfig to figure out what your printer is named, here is an example from me
Code:
tingo@kg-v2$ usbconfig
ugen0.1: <OHCI root HUB nVidia> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <EHCI root HUB nVidia> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen2.1: <OHCI root HUB nVidia> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <EHCI root HUB nVidia> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen2.2: <Snapscan1212u_2 AGFA> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.2: <PS2 to USB Converter CHESEN> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.3: <USB 2.0 Reader Generic> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.3: <USB-Serial Controller Prolific Technology Inc.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.2: <Photosmart 8200 series HP> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
As you can see, my printer is ugen1.2.
Then put
Code:
add path 'ugenX.Y' mode 0660 group cups
in your /etc/devfs.rules, in addition to lines there already.
 
My usbconfig:
Code:
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.1: <UHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen7.1: <EHCI root HUB Intel> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen3.2: <product 0x8187 vendor 0x0bda> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.2: <USB camera vendor 0x045e> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.3: <Microsoft Basic Optical Mouse Microsoft> at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen5.2: <USB Receiver Logitech> at usbus5, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
[B]ugen6.2: <Deskjet 5900 series HP> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON[/B]

My devfs.rules
Code:
add path 'ugen6.2' mode 0660 group cups
Also I run again:
Code:
 /etc/rc.d/devfs restart
Same result :( Pff :(
 
Today I want to do one more try to make my printer to work. System cannot see the usb of printer. According all the above my system now have this.
My dmesg
Code:
ugen6.2: <HP> at usbus6
My usbconfig
Code:
ugen6.2: <Deskjet 5900 series HP> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
My /etc/group
Code:
cups:*:193:root,emberdaemon
My devfs.rules
Code:
[system=10]
#add path 'unlpt*' mode 0660 group cups
#add path 'ulpt*' mode 0660 group cups
#add path 'lpt*' mode 0660 group cups
#add path 'usb/*' mode 0660 group cups
add path 'ugen6.2' mode 0660 group cups
My hplip flags:
Code:
[X] QT     Graphical User Interface (Qt4)                                  
[ ] FAX    PC Send Fax support                                 
[ ] SNMP   Network/JetDirect support                                     
[ ] SCAN   Scanning support                                    
[ ] XSANE  Install XSane for scanning (requires SCAN)
Only the first I need. I have no fax, scanner or use my printer via network.
My hp-info
Code:
Unable to open device hp:/usb/Deskjet_5900_series?serial=CN6431Z13604KF.
My hp-check
http://pastie.org/1387201
I have rebooted my system, devfs but my system refuse to see that my printer is on USB. What is missing? I really don't understand why is refusing. Should work :(
 
sk8harddiefast said:
My devfs.rules
Code:
[system=10]
#add path 'unlpt*' mode 0660 group cups
#add path 'ulpt*' mode 0660 group cups
#add path 'lpt*' mode 0660 group cups
#add path 'usb/*' mode 0660 group cups
add path 'ugen6.2' mode 0660 group cups

lpt (line 3) is not needed for a USB printer, but uncomment the rest. Make sure /etc/rc.conf contains
Code:
devfs_system_ruleset="system"

After connecting and turning on the printer, see if /dev/ulpt0 is created.
 
Back
Top