View previous topic :: View next topic |
Author |
Message |
KurtHarders n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2006 Posts: 7 Location: Germany
|
Posted: Sun Apr 30, 2006 4:49 pm Post subject: /dev/usb/lp0 shows but does not print |
|
|
Hello,
i configured a non-modular kernel for a server and want to attach an USB printer. When the printer is connected there is a /dev/usb/lp0 and the lsusb shows the correct information for the printer. But any output to the printer (echo xxx > /dev/usb/lp0...) does nothing, shows no error message or any log file entry.
Is there any idea to solve this problem?
Regards, Kurt _________________ Kurt Harders
PiN GITmbH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sun Apr 30, 2006 4:58 pm Post subject: |
|
|
Yeah, have you installed CUPS and configured it? _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mirojira l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sun Apr 30, 2006 5:08 pm Post subject: |
|
|
Can you see yor printer using lsusb? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KurtHarders n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2006 Posts: 7 Location: Germany
|
Posted: Sun Apr 30, 2006 5:16 pm Post subject: |
|
|
didymos wrote: | Yeah, have you installed CUPS and configured it? |
Yes and no . I started up with cups, then went back to lprng for several reasons. But the issue is not about the spooler or a driver, its about the printer doing really nothing. It should simply print the data i sent to it.
Regards, Kurt _________________ Kurt Harders
PiN GITmbH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KurtHarders n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2006 Posts: 7 Location: Germany
|
Posted: Sun Apr 30, 2006 5:18 pm Post subject: |
|
|
mirojira wrote: | Can you see yor printer using lsusb? |
Yes. When the printer is switched off, /dev/usb disappears and after beeing switched on again it shows /dev/usb/lp0. lsusb shows the correct printer information.
Regards, Kurt _________________ Kurt Harders
PiN GITmbH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mirojira l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sun Apr 30, 2006 5:28 pm Post subject: |
|
|
KurtHarders wrote: | mirojira wrote: | Can you see yor printer using lsusb? |
Yes. When the printer is switched off, /dev/usb disappears and after beeing switched on again it shows /dev/usb/lp0. lsusb shows the correct printer information.
Regards, Kurt |
In this case if you have configured your kernel properly you should find:
/lib/modules/'yourkernelname'/kernel/drivers/usb/class/usblp.ko |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KurtHarders n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2006 Posts: 7 Location: Germany
|
Posted: Mon May 01, 2006 5:12 am Post subject: |
|
|
mirojira wrote: | KurtHarders wrote: |
When the printer is switched off, /dev/usb disappears and after beeing switched on again it shows /dev/usb/lp0. lsusb shows the correct printer information.
Regards, Kurt |
In this case if you have configured your kernel properly you should find:
/lib/modules/'yourkernelname'/kernel/drivers/usb/class/usblp.ko |
Sorry, no, i will not find that module, because my kernel is built without modules. But i will give it a try if it works with modules.
Regards, Kurt _________________ Kurt Harders
PiN GITmbH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mirojira l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Feb 2006 Posts: 685
|
Posted: Mon May 01, 2006 7:05 am Post subject: |
|
|
KurtHarders wrote: |
Sorry, no, i will not find that module, because my kernel is built without modules. But i will give it a try if it works with modules.
|
Follow this:
cd /usr/src/linux
make menuconfig
Device drivers--->
USB Support --->
<M> USB Printer Support
Save menuconfig
make modules
make modules_install
Now you should find in /lib/modules/`uname -r`/kernel/drivers/usb/class file usblp.ko
Into file /etc/modules.autoload.d/kernel-2.6 add usblp
Reboot
And you should start printing ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KurtHarders n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2006 Posts: 7 Location: Germany
|
Posted: Mon May 01, 2006 7:59 am Post subject: |
|
|
mirojira wrote: |
Follow this:
cd /usr/src/linux
make menuconfig
Device drivers--->
USB Support --->
<M> USB Printer Support
Save menuconfig
make modules
make modules_install
Now you should find in /lib/modules/`uname -r`/kernel/drivers/usb/class file usblp.ko
Into file /etc/modules.autoload.d/kernel-2.6 add usblp
Reboot
And you should start printing ![Very Happy :D](images/smiles/icon_biggrin.gif) |
I just did a '*' instead of the M, and that gives me the above mentioned problem.
I will give the module a try and keep you informed
Thanks so far, Kurt _________________ Kurt Harders
PiN GITmbH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|