Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I notice that with kernel 2.6, "usb scanner support" is identified as obsolete. The option appears in .config through kernel 2.6.2, but beginning with kernel 2.6.3 this .config option is dropped.
I have an hp5470 scanner for which there is a non-libusb sane backend available. I have no idea how to convert/rewrite this backend to use libusb. So, to continue having support for my scanner, I've devised a way to bring usb scanner support forward into kernel 2.6.3 and kernel 2.6.4. Here is the procedure:
1) copy scanner.o and scanner.h from /usr/src/linux-2.6.2/drivers/usb/image/ to the corresponding place in the linux-2.6.3 build tree.
2) copy the text from the section defining "config USB_SCANNER" from /usr/src/linux-2.6.2/drivers/usb/image/Kconfig into an appropriate place in /usr/src/linux-2.6.3/drivers/usb/image/Kconfig.
3) in the file /usr/src/linux-2.6.3/drivers/usb/Makefile, add the line obj-$(CONFIG_USB_SCANNER) += image/
4) in the file /usr/src/linux-2.6.3/drivers/usb/image/Makefile, add the line obj-$(CONFIG_USB_SCANNER) += scanner.o
5) add the line CONFIG_USB_SCANNER=m to the .config file.
From here on, one can run "make xconfig" and be presented with the option to set CONFIG_USB_SCANNER. When set, the following "make", "make modules_install", and "make install" will create a viable scanner.ko in /lib/modules/2.6.3/kernel/drivers/usb/image.
I'm aware that the kernel folks will probably take a dim view of the above. I do wish however that support for my (fairly common, I think) scanner hadn't been summarily dropped in kernel 2.6.3. I hope nothing changes in future kernel build trees anytime soon that makes my carrying forward CONFIG_USB_SCANNER impossible.
Greetings! I forgot to mention that I'm running RH9 with updates and KDE-3.2.1. Not sure what scanner you're using. Sounds like you may be having several issues. If you'd care to email me at email@example.com I'll do my best to help out. Mind you, I'm no expert--never used Slackware although I'd enjoy experimenting with it. --Jim