Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68880 - lp reports "lp: driver loaded but no devices found"
Summary: lp reports "lp: driver loaded but no devices found"
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 12:11 UTC by Wolfgang Spangler
Modified: 2005-05-31 16:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Spangler 2004-10-25 12:11:07 UTC
Using kernel 2.6.9-gentoo-r1 when lp is loaded it reports "lp: driver loaded but no devices found"
The parallel port does show up in /proc/ioports as "0378-037a : winbond parport"


Reproducible: Always
Steps to Reproduce:
1. use kernel 2.6.9-gentoo-r1 with parallel support loaded into kernel or as module
2. modprobe parport_pc (works)
3. modprobe lp

Actual Results:  
dmesg reports: 
lp: driver loaded but no devices found

Expected Results:  
reported a port found and assigned it to lp0


/proc/ioports:
0000-001f : dma1
0020-0021 : pic1
002e-0030 : winbond_check
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : winbond parport
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
a000-afff : PCI Bus #01
  a000-a0ff : 0000:01:00.0
b000-b0ff : 0000:00:0c.0
b400-b407 : 0000:00:0f.0
  b400-b407 : sata_via
b800-b803 : 0000:00:0f.0
  b800-b803 : sata_via
bc00-bc07 : 0000:00:0f.0
  bc00-bc07 : sata_via
c000-c003 : 0000:00:0f.0
  c000-c003 : sata_via
c400-c40f : 0000:00:0f.0
  c400-c40f : sata_via
c800-c8ff : 0000:00:0f.0
  c800-c8ff : sata_via
cc00-cc0f : 0000:00:0f.1
  cc00-cc07 : ide0
  cc08-cc0f : ide1
d000-d01f : 0000:00:10.0
  d000-d01f : uhci_hcd
d400-d41f : 0000:00:10.1
  d400-d41f : uhci_hcd
d800-d81f : 0000:00:10.2
  d800-d81f : uhci_hcd
dc00-dc1f : 0000:00:10.3
  dc00-dc1f : uhci_hcd
e000-e0ff : 0000:00:11.5
  e000-e0ff : VIA8233
e400-e4ff : 0000:00:12.0
  e400-e4ff : via-rhine

dmesg snippet:
lp: driver loaded but no devices found

From Linux-kernel: 
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.2/0216.html

On Mon, 2004-10-18 at 12:51, Thomas Maguin wrote:
> The parallel printer disappears from 2.6.9-rc2 to rc4. 
> 
> lp: driver loaded but no devices found
> 
> The rc-1 and rc4-mm1 versions are ok. 

It looks like the patch from Olaf Hering <olh@xxxxxxx>
http://www.ussg.iu.edu/hypermail/linux/kernel/0408.0/0792.html
causes the problem.

A patch from Andrea Arcangeli <andrea@xxxxxxxxxx>
http://www.ussg.iu.edu/hypermail/linux/kernel/0409.3/1515.html
corrects the problem.

It looks like the Linus tree only has Olaf's patch.
Andrew's tree (mm) has Andrea's patch.
Comment 1 Antonio 2004-10-28 02:00:20 UTC
Same problem with kernel-2.6.9-gentoo-r1
Comment 2 Pau Rodriguez 2004-11-28 12:03:36 UTC
also with gentoo-dev-sources-2.6.9-r6
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-31 16:53:15 UTC
still a problem?