Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Parallel Port Configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mhacleth
n00b
n00b


Joined: 14 Apr 2004
Posts: 42
Location: Philippines

PostPosted: Tue May 11, 2004 8:52 am    Post subject: Parallel Port Configuration Reply with quote

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
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Tue May 11, 2004 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Corax
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 222
Location: Berlin, Germany

PostPosted: Tue May 11, 2004 3:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
mhacleth
n00b
n00b


Joined: 14 Apr 2004
Posts: 42
Location: Philippines

PostPosted: Wed May 12, 2004 1:49 am    Post subject: Built in the kernel Reply with quote

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
View user's profile Send private message
Simon196405
n00b
n00b


Joined: 22 Sep 2003
Posts: 42
Location: Utrecht, Holland

PostPosted: Fri Jun 18, 2004 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
tux2
Apprentice
Apprentice


Joined: 09 Jun 2004
Posts: 172
Location: Germany

PostPosted: Fri Jun 18, 2004 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
dentament
n00b
n00b


Joined: 16 Jun 2004
Posts: 74

PostPosted: Tue Sep 14, 2004 10:03 pm    Post subject: Reply with quote

Maybe this can help

https://forums.gentoo.org/viewtopic.php?t=146116
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum