View previous topic :: View next topic |
Author |
Message |
mhacleth n00b
Joined: 14 Apr 2004 Posts: 42 Location: Philippines
|
Posted: Tue May 11, 2004 8:52 am Post subject: Parallel Port Configuration |
|
|
I have successfully installed Gentoo on my AMD Duron machine with kernel-2.6.5
Now I have a CanoScan N340P scanner that I would like to connect. The Scanner HOWTO document speaks only of the 2.4 kernel.
I emerged :
Code: |
libieee1284
sane-backends
xsane
|
In that manual, it instructs to create a /dev/parport0. Then I edited
Code: |
/etc/sane.d/canon_pp.conf
/etc/sane.d/dll.conf
|
Still xsane could not detect my parallel scanner.
My question is: now that I have 2.6 kernel, how do I make xsane detect my parallel port? Is is simply adding parport0 in my /dev/ by:
Code: |
#mknod /dev/parport0 c 99 0
|
or is there another way? Thanks. |
|
Back to top |
|
|
Hayl Guru
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Tue May 11, 2004 1:27 pm Post subject: |
|
|
do you have parallel port support enabled in your kernel (and the module(s) loaded if you made it modular)? if you do then it should be creating the device for you on boot. |
|
Back to top |
|
|
Corax Apprentice
Joined: 14 Apr 2004 Posts: 222 Location: Berlin, Germany
|
Posted: Tue May 11, 2004 3:07 pm Post subject: |
|
|
I got the same problem with a printer, that is plugged behind the scanner. Obviously Linux cannot handle those two devices on one parallel port. At least, the printer works... |
|
Back to top |
|
|
mhacleth n00b
Joined: 14 Apr 2004 Posts: 42 Location: Philippines
|
Posted: Wed May 12, 2004 1:49 am Post subject: Built in the kernel |
|
|
I have it built in. When I check dmesg here's what I got:
Code: | parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected |
Quote: | if you do then it should be creating the device for you on boot. |
Does this mean that I should automatically have /dev/parport0 ? Under my /dev/ directory there's lp0->printers/0 BUT no parport0. That's why I followed the doc when it said, manually create the /dev/parport0 by mknod. In that manual though, he assigned major number 99 and minor 0 to parport0. Could that be the problem? HOw can I know what major number and minor number to assign? What about /etc/modprobe.conf? Do I have to touch that file?
|
|
Back to top |
|
|
Simon196405 n00b
Joined: 22 Sep 2003 Posts: 42 Location: Utrecht, Holland
|
Posted: Fri Jun 18, 2004 8:07 pm Post subject: |
|
|
Did you find out yet?
I have the same problem, although with 2.4 everything did work well.
I think somehow udev doesn't work good enough yet.
Simon |
|
Back to top |
|
|
tux2 Apprentice
Joined: 09 Jun 2004 Posts: 172 Location: Germany
|
Posted: Fri Jun 18, 2004 8:28 pm Post subject: |
|
|
Hello,
I had the same problems with CanoScan FB 620P (use the sane canon_pp).
But under debian the scanner works fine, so I tried to get working the scanner under gentoo.
I've seen, that gentoo use a very old libieee1284, so I wrote my own ebuild for libieee1284-0.2.8 and suddently this scanner works fine, too
libieee1284-0.2.8
Then I reemerged sane / xsane.
You can scan only something under root, but this shouldn't be a problem
- tux2 |
|
Back to top |
|
|
dentament n00b
Joined: 16 Jun 2004 Posts: 74
|
|
Back to top |
|
|
|