public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] lp unable to detect parallel printer hp 710c
@ 2006-08-29 15:21 Michael [Plouj] Ploujnikov
  2006-08-29 18:31 ` Mick
  2006-08-29 18:42 ` Richard Fish
  0 siblings, 2 replies; 7+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-08-29 15:21 UTC (permalink / raw
  To: gentoo-user

I am having this issue on gentoo-sources 2.6.17-r4:
http://dev.gentoo.org/~dsd/genpatches/issues-resolved.htm#2.6.9-lp

My HP 710C parallel port printer is not being detected.

This used to work on my system before, but then I had the 2.6.16-r9
kernel and since them I had to re-install my Gentoo. I tried
re-compiling the 2.6.16-r9 kernel using a backed up config, but it
doesn't seem to detect my printer anymore.

I tried a recent Ubuntu live cd 6.06 and it successfully detected my printer.

current dmesg:
...
Allocate Port Service[0000:00:0e.0:pcie03]
lp: driver loaded but no devices found
Real Time Clock Driver v1.12ac
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
...

I am very sure I enabled all the proper kernel things as described by
the printing guide. I also enabled PNP as suggested by someone
(http://gentoo-wiki.com/HP_Deskjet_720C_with_CUPS):

$ grep -i pnp /boot/config-2.6.17-gentoo-r4
# CONFIG_IP_PNP is not set
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set
CONFIG_PNPACPI=y
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_SERIAL_8250_PNP=y
$ grep -i par /boot/config-2.6.17-gentoo-r4
CONFIG_ARCH_SPARSEMEM_ENABLE=y
# CONFIG_SPARSEMEM_MANUAL is not set
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_PM_STD_PARTITION=""
# Parallel port support
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_1284 is not set
# CONFIG_PARIDE is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_TIPAR is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# Partition Types
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

Has anyone experienced similar problems?

I would like to report this a kernel bug, but since I couldn't get the
previous working kernel to work this time, I can't do that.


Thanks.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 15:21 [gentoo-user] lp unable to detect parallel printer hp 710c Michael [Plouj] Ploujnikov
@ 2006-08-29 18:31 ` Mick
  2006-08-29 18:42 ` Richard Fish
  1 sibling, 0 replies; 7+ messages in thread
From: Mick @ 2006-08-29 18:31 UTC (permalink / raw
  To: gentoo-user

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

On Tuesday 29 August 2006 16:21, Michael [Plouj] Ploujnikov wrote:

> I am very sure I enabled all the proper kernel things as described by
> the printing guide. I also enabled PNP as suggested by someone
> (http://gentoo-wiki.com/HP_Deskjet_720C_with_CUPS):
>
> $ grep -i pnp /boot/config-2.6.17-gentoo-r4
> # CONFIG_IP_PNP is not set
> CONFIG_PNP=y
> # CONFIG_PNP_DEBUG is not set
> CONFIG_PNPACPI=y
> # CONFIG_BLK_DEV_IDEPNP is not set
> CONFIG_SERIAL_8250_PNP=y
> $ grep -i par /boot/config-2.6.17-gentoo-r4
> CONFIG_ARCH_SPARSEMEM_ENABLE=y
> # CONFIG_SPARSEMEM_MANUAL is not set
> # CONFIG_SPARSEMEM_STATIC is not set
> CONFIG_PM_STD_PARTITION=""
> # Parallel port support
> CONFIG_PARPORT=y
> CONFIG_PARPORT_PC=y
> # CONFIG_PARPORT_SERIAL is not set
> # CONFIG_PARPORT_PC_FIFO is not set
> # CONFIG_PARPORT_PC_SUPERIO is not set
> # CONFIG_PARPORT_GSC is not set
> # CONFIG_PARPORT_1284 is not set
> # CONFIG_PARIDE is not set
> # CONFIG_SERIO_PARKBD is not set
> # CONFIG_TIPAR is not set
> # CONFIG_I2C_PARPORT is not set
> # CONFIG_I2C_PARPORT_LIGHT is not set
> # Partition Types
> # CONFIG_PARTITION_ADVANCED is not set
> CONFIG_MSDOS_PARTITION=y

Just checking - have you also set CONFIG_PRINTER=y ?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 15:21 [gentoo-user] lp unable to detect parallel printer hp 710c Michael [Plouj] Ploujnikov
  2006-08-29 18:31 ` Mick
@ 2006-08-29 18:42 ` Richard Fish
  2006-08-29 19:35   ` Michael [Plouj] Ploujnikov
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Fish @ 2006-08-29 18:42 UTC (permalink / raw
  To: gentoo-user

On 8/29/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote:
> # CONFIG_PARPORT_1284 is not set

You need this.

You also need CONFIG_PRINTER (Parallel printer support under Character
Devices) if you don't already have it.

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 18:42 ` Richard Fish
@ 2006-08-29 19:35   ` Michael [Plouj] Ploujnikov
  2006-08-29 21:24     ` Michael [Plouj] Ploujnikov
  0 siblings, 1 reply; 7+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-08-29 19:35 UTC (permalink / raw
  To: gentoo-user

On 8/29/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 8/29/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote:
> > # CONFIG_PARPORT_1284 is not set
>
> You need this.

Wow, indeed enabling this allowed lp to detect my printer again!
I didn't know about this before, nor did the Gentoo printing guide
mentioned it. I am sending an email to the authors of that guide to
include a note about IEEE 1284.

Interestingly enough, my previous install, which used 2.6.16-r9 does
not have this setting set, but the config file mentions it and my
printer worked fine.

I did find info that my printer does use IEEE 1284:
http://shopping.msn.com/specs/shp/?itemId=24972550

>
> You also need CONFIG_PRINTER (Parallel printer support under Character
> Devices) if you don't already have it.

Always had this enabled :)

-- 
()  ASCII Ribbon Campaign
/\  - against HTML mail & vCards
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 19:35   ` Michael [Plouj] Ploujnikov
@ 2006-08-29 21:24     ` Michael [Plouj] Ploujnikov
  2006-08-29 21:36       ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-08-29 21:24 UTC (permalink / raw
  To: gentoo-user

It appears I actually still cannot print to this printer. I checked
dmesg again and I noticed this:

lp: driver loaded but no devices found
Real Time Clock Driver v1.12ac
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
parport0: Printer, HEWLETT-PACKARD DESKJET 710C
lp0: using parport0 (interrupt-driven).

Strangely, lp prints the same message, then the printer is found by
parport. Maybe I should disable PNP in the kernel?
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 21:24     ` Michael [Plouj] Ploujnikov
@ 2006-08-29 21:36       ` Mick
  2006-08-29 22:44         ` Michael [Plouj] Ploujnikov
  0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2006-08-29 21:36 UTC (permalink / raw
  To: gentoo-user

On 29/08/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote:

> Strangely, lp prints the same message, then the printer is found by
> parport. Maybe I should disable PNP in the kernel?

PNP seems to pick up the printer alright.  What does your CUPS log
show?  You may need to change its setting to get a more verbose
output.
-- 
Regards,
Mick
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] lp unable to detect parallel printer hp 710c
  2006-08-29 21:36       ` Mick
@ 2006-08-29 22:44         ` Michael [Plouj] Ploujnikov
  0 siblings, 0 replies; 7+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-08-29 22:44 UTC (permalink / raw
  To: gentoo-user

> PNP seems to pick up the printer alright.  What does your CUPS log
> show?  You may need to change its setting to get a more verbose
> output.

Gah! Thanks. The log showed me that I was missing foomatic.
I'm pretty sure I made the same mistake last time I was setting up
printing, and I will again if it isn't documented better. Looks like
apart from the logs the only place foomatic is mentioned is in the
actual ppd file :(
-- 
()  ASCII Ribbon Campaign
/\  - against HTML mail & vCards
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-08-29 22:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 15:21 [gentoo-user] lp unable to detect parallel printer hp 710c Michael [Plouj] Ploujnikov
2006-08-29 18:31 ` Mick
2006-08-29 18:42 ` Richard Fish
2006-08-29 19:35   ` Michael [Plouj] Ploujnikov
2006-08-29 21:24     ` Michael [Plouj] Ploujnikov
2006-08-29 21:36       ` Mick
2006-08-29 22:44         ` Michael [Plouj] Ploujnikov

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