Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6597 closed defect (fixed)

CUPS + HPLIP+ SANE

Reported by: ridershome@… Owned by: florian
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

I updated cups + hplip to the newest version. To do so, I had to modify the files a bit.

Attachments (5)

20-hplip (667 bytes) - added by ridershome@… 8 years ago.
change permission. hplip won't run with user root
160-ppdc.patch (534 bytes) - added by anonymous 8 years ago.
cups.patch (3.8 KB) - added by anonymous 8 years ago.
hplip.patch (845 bytes) - added by anonymous 8 years ago.
sane.patch (556 bytes) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by ridershome@…

change permission. hplip won't run with user root

Changed 8 years ago by anonymous

Changed 8 years ago by anonymous

Changed 8 years ago by anonymous

Changed 8 years ago by anonymous

comment:1 Changed 8 years ago by anonymous

I set the type to defect, since the current version of hplip + cups did not work for me. The patch 160-ppdc.patch disable the generation of localized string. This did not run, since the make file generated genstrings.o using the mips-gcc on my host machine and tried to execute it.

comment:2 Changed 8 years ago by anonymous

I just figured out that if I set file permissions in hotplug.d/usb/20-hplip for a usb device, e.g., /proc/bus/usb/001/005, the permission during booting is either not set or overwritten after executing 20-hplip. Another thing is that during boot, I get different environment variables ($PRODUCT is not set during boot), thus I have changed 20-hplip to

PID=`cat /sys/bus/usb/devices/$DEVICENAME/idProduct`
VID=`cat /sys/bus/usb/devices/$DEVICENAME/idVendor`
[ "$PID" = "1717" ] && [ "$VID" = "03f0" ] && chown nobody $DEVICE && chmod 666 $DEVICE

However, $DEVICE does not keep the permissions and hplip complains.

comment:3 Changed 8 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to accepted

comment:4 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from accepted to closed

Applied in r20306 and r20307, thanks!

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.