Hi,
I have FreeBSD 8-p2 with CUPS1.4.2 and HPLIP 3.9.8 running.
My problem is that I can't get hplip running for normal users. It detects my printer (HP OJ-Pro 7480) when I run hp-check as root. But it won't work for my regular user account. I've read another thread about it on the list and tried what was supplied there but it doesn't work for me. Basically what happens is that the hp gui tool shows a configuration error and CUPS's hp-backend shows this:
➜ ~ /usr/local/libexec/cups/backend/hp
direct hp "Unknown" "HP Printer (HPLIP)"
While it probably should show:
➜ ~ sudo /usr/local/libexec/cups/backend/hp
direct hp:/usb/Officejet_Pro_L7400?serial=MY82S1519Z "HP Officejet Pro L7400" "HP Officejet Pro L7400 USB MY82S1519Z HPLIP" "MFG:HP;MDL:Officejet Pro L7400;CLS:PRINTER;DES:Officejet Pro L7400;SN:MY82S1519Z;"


This is from my devfs.rules:
[system=10]
add path 'usb*' mode 0660
add path 'usb/3.2*' mode 0660 group cups
add path 'ugen3.2*' mode 0660 group cups

This is from my rc.conf:
cupsd_enable="YES"
hpiod_enable="YES"
hpssd_enable="YES"

Relevant stuff from /dev:
➜ ~ ls -la /dev/ugen*
lrw-rw-rw- 1 root operator 9 13 Apr 00:32 /dev/ugen3.1 -> usb/3.1.0
lrw-rw-rw- 1 cups operator 9 13 Apr 00:32 /dev/ugen3.2 -> usb/3.2.0

/dev/usb:
ls: .: Permission denied
ls: ..: Permission denied
ls: 3.1.0: Permission denied
ls: 3.1.1: Permission denied
ls: 3.2.0: Permission denied
ls: 3.2.1: Permission denied
ls: 3.2.10: Permission denied
ls: 3.2.11: Permission denied
...

➜ ~ sudo ls -la /dev/usb*
Password:
crw-rw-rw- 1 root operator 0, 73 13 Apr 00:32 /dev/usbctl

/dev/usb:
total 2
drw-rw-rw- 2 root operator 512 13 Apr 00:32 .
dr-xr-xr-x 7 root wheel 512 13 Apr 00:32 ..
crw-rw-rw- 1 root operator 0, 82 13 Apr 00:32 3.1.0
crw-rw-rw- 1 root operator 0, 95 13 Apr 00:32 3.1.1
crw-rw-rw- 1 cups operator 0, 116 13 Apr 00:32 3.2.0
crw-rw-rw- 1 cups operator 0, 121 13 Apr 00:32 3.2.1
crw-rw-rw- 1 cups operator 0, 126 13 Apr 00:32 3.2.10
crw-rw-rw- 1 cups operator 0, 127 13 Apr 00:32 3.2.11
crw-rw-rw- 1 cups operator 0, 122 13 Apr 00:32 3.2.2
crw-rw-rw- 1 cups operator 0, 123 13 Apr 00:32 3.2.3
crw-rw-rw- 1 cups operator 0, 124 13 Apr 00:32 3.2.7
crw-rw-rw- 1 cups operator 0, 125 13 Apr 00:32 3.2.8
...

➜ ~ dmesg | grep ugen
ugen0.1: <Intel> at usbus0
ugen1.1: <Intel> at usbus1
ugen2.1: <Intel> at usbus2
ugen3.1: <Intel> at usbus3
ugen4.1: <Intel> at usbus4
ugen5.1: <Intel> at usbus5
ugen6.1: <Intel> at usbus6
ugen7.1: <Intel> at usbus7
ugen7.2: <vendor 0x03f0> at usbus7
ugen3.2: <HP> at usbus3
ugen7.3: <Apple Inc.> at usbus7
ugen2.2: <Logitech> at usbus2
ugen7.4: <Apple Inc.> at usbus7

What am I missing here? I've been messing around with this for quite a while now and I don't see whats wrong here.

Regards,
Julian Wissmann

_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to