LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-04-2004, 05:58 PM   #1
marzojl
LQ Newbie
 
Registered: Feb 2004
Location: florida, usa
Distribution: fedora
Posts: 8

Rep: Reputation: 0
usblp0 no device found


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.

any help will be appreciated. thanks.
 
Old 02-04-2004, 07:04 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
So, do you have the usb printer module loaded?

Håkan
 
Old 02-04-2004, 10:49 PM   #3
marzojl
LQ Newbie
 
Registered: Feb 2004
Location: florida, usa
Distribution: fedora
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 02-05-2004, 06:31 PM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
Go to the console and check whatever modules are running by
lsmod command.
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
Ciao

Last edited by urka58; 02-05-2004 at 06:32 PM.
 
Old 02-05-2004, 11:59 PM   #5
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
re-run the printer setup utility.
there is a gui for it in kde
 
Old 02-06-2004, 10:35 PM   #6
marzojl
LQ Newbie
 
Registered: Feb 2004
Location: florida, usa
Distribution: fedora
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 02-06-2004, 10:37 PM   #7
marzojl
LQ Newbie
 
Registered: Feb 2004
Location: florida, usa
Distribution: fedora
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 07-22-2004, 02:18 PM   #8
spony
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian (kernel 2.4.22)
Posts: 11

Rep: Reputation: 0
spony

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.

- spony
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wlan0: device not found anarchyprevails Linux - Wireless Networking 1 09-13-2005 04:48 PM
eth1: Device not found jrihak Linux - Wireless Networking 2 01-10-2004 01:35 PM
no cdrom device found infinity432 Linux - Hardware 1 11-03-2003 07:00 PM
no device found tcpdump rid00z Linux - Software 1 09-22-2003 01:23 AM
Modem - No device found karthik_77 Linux - Hardware 3 03-31-2002 02:17 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration