LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2004, 06:03 PM   #1
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Rep: Reputation: 30
(usb)printer module not compiled.. What now ?


So I got all working on 2.6.2 and I decide to print a page.. Nothing happens..
So I kill off cupsd and look under http://localhost:631

Wierd it says it can't find my printer. I try
modprobe printer

But it isn't there, even though it is in /etc/rc.d/rc.modules
as the module to load when wanting a usb printer on the system

So do I _have_ to find this option and recompile the entire kernel for this ? If yes then I don't see the big advantage of linux. Comeon, I am almost certain I should be able to compile the module and insert it like that, providing I have the sources for the kernel which I do.

Isn't there a way to do this ?

Thanks alot in advance. This is all I still need
 
Old 02-06-2004, 12:50 AM   #2
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
I've found that I already have USB printer support compiled in
please tell me what module to load thanks
 
Old 02-06-2004, 09:45 AM   #3
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
Is it compiled as a module or a built in?
 
Old 02-06-2004, 11:00 AM   #4
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
<M> USB PRINTER SUPPORT

IN other words. A module
 
Old 02-06-2004, 02:36 PM   #5
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
*bump* please do help me out here ? All I need to know is what module I need to modprobe for
 
Old 02-06-2004, 02:38 PM   #6
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
try usblp so:

/sbin/modprobe usblp
 
Old 02-06-2004, 03:05 PM   #7
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
Actually I was bored and went back into menuconfig and I saw the name of the module too under the help section (usblp)

I loaded it, but I can't seem to find it anywhere on the ports when I try to add a printer with the cups administration interface at port 631.....

Some help here ?
 
Old 02-06-2004, 03:11 PM   #8
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
Wink

on the screen where it gives you the Name, Location, blah.

put (assuming you only have one printer) :

/dev/usblp0

that should do it. I did that and then followed the rest of the setup and it prints fine.

I should say though I have been running Slackware for 3-4 months and only got printing working yesterday. The only difference that I made is that I compiled support built in not as a module.
 
Old 02-06-2004, 04:02 PM   #9
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
How can I edit this though ? It doesn't show up on that list where you usually point out where the printer is hiding....

UPDATE:
"Unable to open USB device "usb:/dev/usb/lp0": No such device"
Device URI: usb:/dev/usb/lp0

This comes from the webinterface. Did you misstype what you meant or were you really saying /dev/usblp0 ?As opposed to /dev/usb/lp0 as it is trying to here...

Last edited by Dark Carnival; 02-06-2004 at 04:08 PM.
 
Old 02-07-2004, 12:29 AM   #10
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
No that is what i typed in. After you enter that you should have been taken to a dropdown menu where you pick which printer to use. You must pick the "USB Printer #1" I'm pretty sure. Mine had the name of my printer next to it.

I don't know if you can just edit the info you might need to delete your printer in cups and readd it for it to work.

EDIT: I should have mentioned the /dev/usblp0 needs to be in the location box.

Last edited by IRIGHTI; 02-07-2004 at 12:31 AM.
 
Old 02-07-2004, 05:11 AM   #11
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
I know I loaded the printer module, I know I had my printer working on USB Printer #1 last time. But somehow it just won't work

Please surely some of you all had printer trouble after this kernel upgrade to 2.6.x ? (mine's 2.6.2 )

When I run dmesg before unplugging the printer, I see alot of wierd messages, not printer related. Then i plug it back in and run dmesg once more. Still the same lines. It doesn't do anything..

Are you sure you don't have more modules than me ? Anyone with a working USB printer please post the results of a lsmod...

Last edited by Dark Carnival; 02-07-2004 at 05:14 AM.
 
Old 02-07-2004, 08:50 AM   #12
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
I have mine working...but it's built-in not "all" as a module, CONFIG_USB_ACM is the only one compiled as module.
I compile 2.6.1 with 2.4.22 config and maybe it looks bit different than yours, here :

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=y
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set
 
Old 02-07-2004, 09:07 AM   #13
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
How in the world did you manage to compile the USB controller modules into the kernel ? I can only make it a module

UPDATE:
I *think* I am making a kernel with all 3 controllers (ohci, ehci and uhci) in the kernel itself. As well as the printer module (usblp)

I dearly hope that would resolve some problems....

Last edited by Dark Carnival; 02-07-2004 at 09:28 AM.
 
Old 02-07-2004, 09:23 AM   #14
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
Well, try these:

/sbin/modprobe usb-ohci
/sbin/modprobe ehci-hcd
/sbin/modprobe usbcore
/sbin/modprobe printer

If you get any errors or something like "FATAL" or something ingore them first..try to install you printer again with cups, hope it helps.
 
Old 02-07-2004, 10:23 AM   #15
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
FIXED!!!!

I went back into the kernelconfig compiled:
uhci-hcd
ohci-hcd
ehci-hcd
usblp

Right into the kernel... And it worked.. Weee =)

I dearly hope someone else with the same props reads, tries and gets it working as well.. GL

And lots of thanks to all who helped me =)
 
  


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
how to find out if a module has been compiled in my kernel? kpachopoulos Linux - General 2 09-17-2005 04:58 PM
ext3 compiled in? (As opposed to a module) akshunj Slackware 2 01-16-2005 05:39 PM
Possibly Defective USB Printer Module in Slackware 9.1 ussishkin118 Slackware 5 12-31-2004 06:15 AM
couldn't find the kernel version the module was compiled for famewolf Linux - Software 0 03-21-2004 09:52 PM
Couldn't find the kernel version the module was compiled for iannou Linux - General 2 06-27-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:31 PM.

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