Major device 6 missing from /proc/devices listing.

Eric S. Raymond (esr@thyrsus.com)
Wed, 9 Sep 1998 22:46:21 -0400


Hardware: Tyan dual Pentium II 400 ATX board driving one builtin parallel port.

Kernels: 2.1.120 and 2.0.35 with parallel-port and printer support configured.
In particular, the 2.1.120 config includes these lines:

CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
# CONFIG_PARPORT_OTHER is not set
CONFIG_PRINTER=y
# CONFIG_PRINTER_READBACK is not set

Symptom: cat /proc/devices does not list a device major of 6 lp under either
kernel. Despite this, the 2.0.35 can print. The 2.1.120 cannot and
returns ENODEV errors.

Any ideas?

-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

The following is a Python RSA implementation. According to the US Government these three lines are "munitions" and posting them makes me an international arms trafficker! Join me in civil disobedience; add these lines of code to your .sig block to help get this stupid and unconstitutional law changed. ============================================================================ from sys import*;from string import*;a=argv;[s,p,q]=filter(lambda x:x[:1]!= '-',a);d='-d'in a;e,n=atol(p,16),atol(q,16);l=(len(q)+1)/2;o,inb=l-d,l-1+d while s:s=stdin.read(inb);s and map(stdout.write,map(lambda i,b=pow(reduce( lambda x,y:(x<<8L)+y,map(ord,s)),e,n):chr(b>>8*i&255),range(o-1,-1,-1)))

It would be thought a hard government that should tax its people one tenth part. -- Benjamin Franklin

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html