VectorLinux
August 01, 2014, 02:14:58 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: kernel headers for 2.6.22.14?  (Read 7669 times)
kozimodo
Member
*
Posts: 12


« on: February 19, 2008, 09:33:19 am »

Where does one find the current kernel headers?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #1 on: February 19, 2008, 10:08:33 am »

the kernel source for the VL-5.9 2.6.22.14 kernel comes on every 5.9 ISO except VL-Light.
you can download the package here: http://vectorlinux.osuosl.org/veclinux-5.9/packages/kernel/kernel-src-2.6.22.14-i586-1vl59.tlz

We use the kernel headers from slackware-12 because that is what the main packages were built against.


HTH,
Uelsk8s
Logged
kozimodo
Member
*
Posts: 12


« Reply #2 on: February 19, 2008, 11:33:20 am »

Thanks!
Logged
waynev
Member
*
Posts: 44


« Reply #3 on: March 07, 2008, 07:37:00 am »

the kernel source for the VL-5.9 2.6.22.14 kernel comes on every 5.9 ISO except VL-Light.
you can download the package here: http://vectorlinux.osuosl.org/veclinux-5.9/packages/kernel/kernel-src-2.6.22.14-i586-1vl59.tlz

We use the kernel headers from slackware-12 because that is what the main packages were built against.


HTH,
Uelsk8s

Please excuse this post

« Last Edit: March 07, 2008, 12:41:37 pm by waynev » Logged
rbistolfi
Packager
Vectorian
****
Posts: 2277


« Reply #4 on: March 07, 2008, 11:08:30 am »

waynev, if you installed the package with installpkg you are done, the packages are installed. EXCLUDED in gslapt means gslapt is not able to manage the package by itself. The kernel packages are excluded from gslapt because there is some risk involved and is preferable you installing them manually.
If you want to be sure, check /usr/src, should be a dir named linux-2.6.22.14 (or similar Smiley) with the sources inside.

HTH. Rodrigo.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
waynev
Member
*
Posts: 44


« Reply #5 on: March 07, 2008, 12:45:10 pm »

waynev, if you installed the package with installpkg you are done, the packages are installed. EXCLUDED in gslapt means gslapt is not able to manage the package by itself. The kernel packages are excluded from gslapt because there is some risk involved and is preferable you installing them manually.
If you want to be sure, check /usr/src, should be a dir named linux-2.6.22.14 (or similar Smiley) with the sources inside.

HTH. Rodrigo.

Thank you Rodrigo.  I modified my post before I read your post.  Again thank you for your welcomed direction.  I checked /usr/src and yes there is a package named linux-2.6.22.14.  I believe I'm beginning to understand the process.  Using terminal # slapt-get --install kernel-headers the kernel-headers seem to be installed:)

However:  I'm attemting to install a SourceForce Pkg libUSB.   At first, I believed the reason the executables could not be created was because the kernel-headers were not present.  Apparently, this is not the cause.  As far as I can tell all the necessary C LIb are installed.  I'm stumped.

WayneV
« Last Edit: March 07, 2008, 01:27:33 pm by waynev » Logged
rbistolfi
Packager
Vectorian
****
Posts: 2277


« Reply #6 on: March 07, 2008, 01:47:25 pm »

I know very few things about  low level stuff (or high level Cheesy) but if you post the error message you are getting and what are you trying to accomplish surely someone will help you.
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
waynev
Member
*
Posts: 44


« Reply #7 on: March 07, 2008, 11:46:51 pm »

I know very few things about  low level stuff (or high level Cheesy) but if you post the error message you are getting and what are you trying to accomplish surely someone will help you.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The package I'm attempting to install is a package from SourceForge (libusb).   The aim of the LIBUSB project.is to create a library for use by user level applications to access USB devices regardless of OS. libusb is an open source project licensed under the GNU Lesser General Public License version 2.1.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

My hope! is this package will allow me to use the scanner part of the hp 1400 series printer All-in-One now printing via cups.  I've had no luck in with  various other methods.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

>>>>>>>>>>>> Here is what is in the extracted libusb tar package:

vector://home/wayne/Desktop/libusb-0.1.12
root:# ls
AUTHORS            Makefile.in   config.guess*  doc/              linux.h
COPYING            NEWS          config.h.in    error.c           ltmain.sh
ChangeLog          README        config.log     error.h           missing*
Doxyfile           README.in     config.sub*    install-sh*       tests/
Doxyfile.in        acinclude.m4  configure*     libusb-config.in  usb.c
INSTALL.libusb     aclocal.m4    configure.in   libusb.pc.in      usb.h.in
INSTALL.libusb.in  apidocs/      darwin.c       libusb.spec       usbi.h
LICENSE            bsd.c         depcomp*       libusb.spec.in    usbpp.cpp
Makefile.am        compile*      descriptors.c  linux.c           usbpp.h


>>>>>>>>>>>>>>>>>>>>>>Here is what occurs when I attempt to configure the extracted tar package.

vector:/~/Desktop/libusb-0.1.12
root:# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... none
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>Here is the config.log generated using ./configure

vector:/~/Desktop/libusb-0.1.12
root:# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libusb configure 0.1.12, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = vector.linux.net
uname -m = i686
uname -r = 2.6.22.14
uname -s = Linux
uname -v = #1 SMP PREEMPT Sun Nov 25 19:27:11 MST 2007

/usr/bin/uname -p = Pentium III (Katmai)
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/X11/bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /opt/Adobe/Reader8/bin/
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /usr/lib/qt/bin
PATH: /opt/seamonkey/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1559: checking for a BSD-compatible install
configure:1614: result: /usr/bin/ginstall -c
configure:1625: checking whether build environment is sane
configure:1668: result: yes
configure:1725: checking for gawk
configure:1741: found /usr/bin/gawk
configure:1751: result: gawk
configure:1761: checking whether make sets $(MAKE)
configure:1785: result: no
configure:2090: checking build system type
configure:2108: result: i686-pc-linux-gnuoldld
configure:2116: checking host system type
configure:2130: result: i686-pc-linux-gnuoldld
configure:2150: checking for style of include used by make
configure:2178: result: none
configure:2249: checking for gcc
configure:2265: found /usr/bin/gcc
configure:2275: result: gcc
configure:2519: checking for C compiler version
configure:2522: gcc --version </dev/null >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2525: $? = 0
configure:2527: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.1.2/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.1.2
configure:2530: $? = 0
configure:2532: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2535: $? = 1
configure:2558: checking for C compiler default output file name
configure:2561: gcc -march=i586 -mtune=i686   conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:2564: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libusb"
| #define PACKAGE_TARNAME "libusb"
| #define PACKAGE_VERSION "0.1.12"
| #define PACKAGE_STRING "libusb 0.1.12"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libusb"
| #define VERSION "0.1.12"
| #define LIBUSB_MAJOR_VERSION 0
| #define LIBUSB_MINOR_VERSION 1
| #define LIBUSB_MICRO_VERSION 12
| #define LIBUSB_INTERFACE_AGE 4
| #define LIBUSB_BINARY_AGE 8
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2603: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnuoldld
ac_cv_build_alias=i686-pc-linux-gnuoldld
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i586 -mtune=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=i586 -mtune=i686'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnuoldld
ac_cv_host_alias=i686-pc-linux-gnuoldld
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/Desktop/libusb-0.1.12/missing --run aclocal-1.8'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/Desktop/libusb-0.1.12/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/Desktop/libusb-0.1.12/missing --run autoconf'
AUTOHEADER='${SHELL} /root/Desktop/libusb-0.1.12/missing --run autoheader'
AUTOMAKE='${SHELL} /root/Desktop/libusb-0.1.12/missing --run automake-1.8'
AWK='gawk'
BIGENDIAN=''
BSD_API=''
BSD_API_FALSE=''
BSD_API_TRUE=''
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=i586 -mtune=i686'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=i586 -mtune=i686'
CYGPATH_W='echo'
DARWIN_API=''
DARWIN_API_FALSE=''
DARWIN_API_TRUE=''
DEFS=''
DEPDIR='.deps'
DOXYGEN=''
DOXYGEN_PROJECT_NAME=''
DOXYGEN_PROJECT_NUMBER=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
JADE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBUSB_BINARY_AGE='8'
LIBUSB_HAS_DOXYGEN=''
LIBUSB_HAVE_DOT=''
LIBUSB_INTERFACE_AGE='4'
LIBUSB_MAJOR_VERSION='0'
LIBUSB_MICRO_VERSION='12'
LIBUSB_MINOR_VERSION='1'
LIBUSB_VERSION='0.1.12'
LINUX_API=''
LINUX_API_FALSE=''
LINUX_API_TRUE=''
LN_S=''
LTLIBOBJS=''
LT_AGE='4'
LT_CURRENT='8'
LT_RELEASE='0.1'
LT_REVISION='4'
MAKEINFO='${SHELL} /root/Desktop/libusb-0.1.12/missing --run makeinfo'
OBJEXT=''
OSLIBS=''
PACKAGE='libusb'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libusb'
PACKAGE_STRING='libusb 0.1.12'
PACKAGE_TARNAME='libusb'
PACKAGE_VERSION='0.1.12'
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
VERSION='0.1.12'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='#'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnuoldld'
build_alias=''
build_cpu='i686'
build_os='linux-gnuoldld'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnuoldld'
host_alias=''
host_cpu='i686'
host_os='linux-gnuoldld'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/Desktop/libusb-0.1.12/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
pkgconfigdir=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define LIBUSB_BINARY_AGE 8
#define LIBUSB_INTERFACE_AGE 4
#define LIBUSB_MAJOR_VERSION 0
#define LIBUSB_MICRO_VERSION 12
#define LIBUSB_MINOR_VERSION 1
#define PACKAGE "libusb"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "libusb"
#define PACKAGE_STRING "libusb 0.1.12"
#define PACKAGE_TARNAME "libusb"
#define PACKAGE_VERSION "0.1.12"
#define VERSION "0.1.12"

configure: exit 77
vector:/~/Desktop/libusb-0.1.12
root:#

 Roll Eyes
« Last Edit: March 08, 2008, 11:32:26 am by waynev » Logged
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #8 on: March 16, 2008, 09:35:09 pm »

---snip---
The package I'm attempting to install is a package from SourceForge (libusb).   The aim of the LIBUSB project.is to create a library for use by user level applications to access USB devices regardless of OS. libusb is an open source project licensed under the GNU Lesser General Public License version 2.1.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

My hope! is this package will allow me to use the scanner part of the hp 1400 series printer All-in-One now printing via cups.  I've had no luck in with  various other methods.
 
---snip---

libusb should be part of VL by default, so you don't need to build it. You will, however, need to ensure that recent versions of the hplip and sane packages are installed on your computer. This is because the hplip package provides the scanner driver that the sane package uses to do the grunt work of scanning. Both of these packages are in our repository in case they are not on your box. The quick way to check whether hplip is installed is to do the following:

1) Open a terminal and type su at the prompt. Enter the root account password when prompted.
2) Type hp-setup & at the prompt. If hplip is installed, you should see a dialog box on the screen. Close it out.

Assuming that both sane and hplip are installed on your box, I'd like you to open a terminal and do the following steps with your multi-function device connected to your box:

1) Type sane-find-scanner at the prompt. Post the output of the command in reply to this post. If the sane-find-scanner command works, you'll see something like this:
Code:
vl59sohoa19:/~
john:$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

---->found USB scanner (vendor=0x055f, product=0x0006, chip=MA-1017) at libusb:4:13<----
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

The key line is the one that has an arrow pointing to it above.

2) Type scanimage -L at the prompt and post the output from that command here. If the scanimage -L command works, you should see something like this:
Code:
vl59sohoa19:/~
john:$ scanimage -L
device `mustek_usb:libusb:4:13' is a Mustek 1200 UB flatbed scanner

Once you post the output here, we'll be better able to help you get your scanner working.

Thanks,
John
« Last Edit: March 18, 2008, 06:18:41 pm by JohnB316 » Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
waynev
Member
*
Posts: 44


« Reply #9 on: March 19, 2008, 03:06:39 pm »

Here is the report on running sane-find-scanner and scanimage -L

compaq://home/wayne
root:# sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [HP], product=0x4d11 [PSC 1400 series]) at libusb:1:2
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

compaq://home/wayne
root:# scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

ALSO when I type hp-setup it returns the following:

compaq://home/wayne
root:# hp-setup

HP Linux Imaging and Printing System (ver. 1.7.4a)
Printer/Fax Setup Utility ver. 4.5

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
error: Unable to connect to hpiod.
error: Unable to connect to HPLIP I/O. Please (re)start HPLIP and try again.

BTW ... I reinstalled from Gslapt  "HPLIP."  When reinstalling Gslapt notified it was upgrading?

John:  Thank you for your interest and help with this
« Last Edit: March 20, 2008, 07:58:02 am by waynev » Logged
waynev
Member
*
Posts: 44


« Reply #10 on: March 22, 2008, 07:08:50 am »

Here is the report on running sane-find-scanner and scanimage -L

compaq://home/wayne
root:# sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [HP], product=0x4d11 [PSC 1400 series]) at libusb:1:2
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

compaq://home/wayne
root:# scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

ALSO when I type hp-setup it returns the following:

compaq://home/wayne
root:# hp-setup

HP Linux Imaging and Printing System (ver. 1.7.4a)
Printer/Fax Setup Utility ver. 4.5

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
error: Unable to connect to hpiod.
error: Unable to connect to HPLIP I/O. Please (re)start HPLIP and try again.

BTW ... I reinstalled from Gslapt  "HPLIP."  When reinstalling Gslapt notified it was upgrading?
Logged
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #11 on: March 31, 2008, 07:17:11 pm »

Wayne,

Sorry for the delay getting back to this. From what you've posted, it seems that the hplip package is installed. Also, sane knows that an HP scanner is there. However, the scanning won't work, because sane doesn't know which backend to use. It should use the hpaio backend. Let's see if this fix will work for you:

1) Open a terminal and become root via the su command.
2) Type cd /etc/sane.d at the prompt. If you get an error message saying that there is no sane.d directory, then type mkdir -p /etc/sane.d at the prompt, then go into it.
3) Once you are in /etc/sane.d type ls at the prompt. You should see a file named dll.conf. If that file is present, type the following at the prompt:

Code:
cat hpaio >> dll.conf

The dll.conf file is a list of backends that sane should try to use for scanning. The above "cat" command is appending hpaio to the list of backends that sane should try to use.

If the file is not present, then type the following commands:

Code:
touch dll.conf
cat hpaio > dll.conf

The "touch" command creates the dll.conf file and "cat" adds info to it.

4) Type exit at the prompt to become a regular user.

5) Once you are a regular user, issue the sane-find-scanner and scanimage -L commands again. Hopefully things will work now. Post again if you're still having problems.

Thanks,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!