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 upgraded my kernel from 2.4.22-1.2115.nptl to 2.6.1 and i'm using the fedora distro. before i could print fine, but after the upgrade it says in the printer config. window "unable to open usb device "usb:/dev/usb/lp0: no such device" appears. i don't know what is wrong. also i tried to apply the patch for 2.6.1 and a whole bunch of weird symbols appeared. the command i used for that was patch -p0 < patch-file-name-here.
i didn't know i had to, since before i upgraded to the new kernel it was working, i didn't think that i would have to add something that was there before i upgraded. is that something that i have to do, where can i find out if i do have it so i could load it? is there a way to keep the configuration of the old kernel because when i upgraded i typed "make config" and that had a big list where i had to make choices and i might have messed up in that process. i just picked the defaults because i wasn't sure.
Go to the console and check whatever modules are running by
If configured you should have an output with a line like usb_printer or similar.
Also check /etc/rc.d/rc.modules (as I odn't know what disto are you using it may be a little different) looking for any occourence of usb_printer option and uncomment that line if available. If present the module will be available at next boot.
If it doesn't work or you do not find anything of the above I suggest you compile the kernel again with the usb_printer module configured.
Let me suggest you using "make xconfig" or "make menuconfig" instead of the boring "make config"
Hope this helps
when i type lsmod, the usb_printer module is not present. i don't have a file named rc.modules in the /etc/rc.d directory so i don't know where else to look for it. i re-ran the printer setup utility with no luck. i am running the fedora distro with kernel 2.6.2. thanks again for your help
by the way, i did recompile the kernel and i did make sure that the usblp module was included and compiled. i tried finding it, but i don't know how to load it. i figured the make modules and make modules_install thing would take care of it, but it didn't
I had the problem: "Unable to open USB device "usb:/dev/usb/lp0": No such device"
Turns out i had compiled the kernel with the wrong usb access specification. I use "make menuconfig" to configure my kernel since it is much more handy then the arbitrary. In menuconfig (2.6.5 kernel) it's located here:
Device Drivers > USB Support >
Here you'll find "OHCI HCD Support" and "UHCI HCD Support". Supposivly you can only use one of the two, so don't select both. I compiled OHCI directly into the kernel... if you do it as a module remember to load them ie. "insmod [modname]". Also in the same directory is "USB Printer Support", I'd make sure to have that one selected also.