public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] no dma on parallel port
@ 2008-03-11 23:37 luis jure
  0 siblings, 0 replies; 3+ messages in thread
From: luis jure @ 2008-03-11 23:37 UTC (permalink / raw
  To: gentoo-user


hello list, searching information that could help me solve the
problem of my old HP laserjet 1100 printing too slow, i found
something about dma and parallel port. 

i activated ECP on the bios, the address of the port is 378, irq 7
and dma 3. but dma is not activated when booting: 

lj@acme ~ $ dmesg | grep parp
Kernel command line: root=/dev/hda1 vga=773 ro parport=0x378,7,3
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven)

lj@acme ~ $ cat /proc/sys/dev/parport/parport0/dma 
-1

i have the drivers compiled in the kernel, not as modules. i added this
line in menu.lst:

kernel /boot/vmlinuz root=/dev/hda1 vga=773 ro parport=0x378,7,3

not sure about the syntax, i couldn't find anything in the grub
documentation about passing kernel parameters. anyway, i get no dma on
parport0.

i have an oldish soyo kt333 motherboard, and i tried this with
different recent kernels (2.6.23 and 24)

any help greatly appreciated.

best,

lj
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] no dma on parallel port
@ 2008-03-12 13:53 David W Noon
  2008-03-12 14:39 ` luis jure
  0 siblings, 1 reply; 3+ messages in thread
From: David W Noon @ 2008-03-12 13:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

In message <a6meL-2aj-27@gated-at.bofh.it>, luis jure wrote:

[snip]
> i activated ECP on the bios, the address of the port is 378, irq 7
> and dma 3. but dma is not activated when booting:

Did you also enable IEEE-1284 transfer modes in your kernel configuration?

-- 
Regards

Dave  [RLU#314465]
======================================================
dwnoon@ntlworld.com (David W Noon)
======================================================

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] no dma on parallel port
  2008-03-12 13:53 [gentoo-user] no dma on parallel port David W Noon
@ 2008-03-12 14:39 ` luis jure
  0 siblings, 0 replies; 3+ messages in thread
From: luis jure @ 2008-03-12 14:39 UTC (permalink / raw
  To: gentoo-user

El Wed, 12 Mar 2008 13:53:53 +0000
David W Noon <dwnoon@ntlworld.com> escribió:

> Did you also enable IEEE-1284 transfer modes in your kernel
> configuration?

no, i hadn't... that was it, i recompiled the kernel with that option
and dma is activated. thanks a lot, i really googled for _days_ without
finding an answer.

BTW, printing speed didn't improve a bit, though... :-( i guess i'll
have to buy a newer usb printer.

best,

lj
--
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-12 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12 13:53 [gentoo-user] no dma on parallel port David W Noon
2008-03-12 14:39 ` luis jure
  -- strict thread matches above, loose matches on Subject: below --
2008-03-11 23:37 luis jure

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox