Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 18:18:37 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        David Marec <david.marec@davenulle.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: [Upgrade to FreeBSD10] hplip issue
Message-ID:  <CACdU%2Bf8Lm0oyuxb19FsqXCkbuud7P81_qF9Dv6tD4w1Pac0YbA@mail.gmail.com>
In-Reply-To: <52ECC8FA.4050206@davenulle.org>
References:  <52ECC0D9.2010607@davenulle.org> <52ECC8FA.4050206@davenulle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 1, 2014 at 4:14 AM, David Marec <david.marec@davenulle.org> wrote:
>     On 01.02.2014 10:39, David Marec wrote:
>>
>> First, I had to rebuild the port to switch on the 'scanning feature',
>> which is not available by the binary package, but scanning still fails.
>
>
> Finally, while checking in the hplip configuration files, I found that the
> scanning feature was still disabled in the file
>     /usr/local/etc/hp/hplip.conf
> So, I changed the entry line :
>     scanner-build=yes
>
> and now, the scanner can be used.
>
> I don't know why this file was not updated during the hplip installation.
>

According to the pkg-plist:

@unexec if cmp -s %D/etc/hp/hplip.conf.sample %D/etc/hp/hplip.conf;
then rm -f %D/etc/hp/hplip.conf; fi
etc/hp/hplip.conf.sample
@exec if [ ! -f %B/hplip.conf ]; then cp -p %D/%F %B/hplip.conf; fi

 if there were any changes to hplip.conf file, it doesn't get removed
when the port is uninstalled.  And if the file exists, it won't
overwrite your changes.

Did you customize this file before you re-installed?

Does the hplip.conf.sample file have scanner-build=yes?

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8Lm0oyuxb19FsqXCkbuud7P81_qF9Dv6tD4w1Pac0YbA>