[Eisfair] eisfair-1 - Kernel 2.6.32: Problememit Parallelport

Fabian Törner toerner at gmx.net
Mo Jul 30 19:52:19 CEST 2012


Hallo zusammen,

Am 27.07.2012 15:26, schrieb Marcus Roeckrath:
> Es wäre nicht, wenn Du das lprng-Paket normal konfigurieren könntest.

Konfiguration des Pakets:

LPRNG_LOCAL_PARPORT_PRINTER_N = 1
LPRNG_LOCAL_PARPORT_PRINTER_1_ACTIVE = yes
LPRNG_LOCAL_PARPORT_PRINTER_1_IO = 0x378
LPRNG_LOCAL_PARPORT_PRINTER_1_IRQ = no
LPRNG_LOCAL_PARPORT_PRINTER_1_COMMENT = test
LPRNG_LOCAL_PARPORT_PRINTER_1_NOTIFY = no

> In einer zweiten Konsole bitte tail -f /var/log/messages mitlaufen lassen
> und alles, was dann beim Laden der Module erscheint, hier posten könntest;
> sieht etwa so aus:

sieht bei mir so aus:

Jul 30 19:26:30 eis kernel: parport_pc 00:06: reported by Plug and Play ACPI
Jul 30 19:26:30 eis kernel: parport0: PC-style at 0x378 (0x778), irq 7, 
dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Jul 30 19:26:31 eis kernel: lp0: using parport0 (interrupt-driven).
Jul 30 19:26:35 eis kernel: parport_pc 00:06: disabled
Jul 30 19:27:25 eis kernel: usbcore: deregistering interface driver usblp
Jul 30 19:27:26 eis kernel: parport_pc 00:06: activated
Jul 30 19:27:26 eis kernel: parport_pc 00:06: reported by Plug and Play ACPI
Jul 30 19:27:26 eis kernel: parport0: PC-style at 0x378 (0x778), irq 7, 
dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Jul 30 19:27:26 eis kernel: lp0: using parport0 (interrupt-driven).
Jul 30 19:27:26 eis kernel: parport_pc 00:06: disabled
Jul 30 19:27:26 eis kernel: ppdev: user-space parallel port driver
Jul 30 19:27:26 eis kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, 
read 0xff
Jul 30 19:27:26 eis kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, 
read 0xff
Jul 30 19:27:26 eis kernel: parport 0x378: You gave this address, but 
there is probably no parallel port there!
Jul 30 19:27:26 eis kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Jul 30 19:27:26 eis kernel: lp0: using parport0 (polling).
Jul 30 19:27:26 eis kernel: usbcore: registered new interface driver usblp

hier noch die Ausgaben des lprng Pakets beim Speichern:

Activate Lprng configuration now (y/n) [y]? y
Stopping LPRng ...
LPRng was stopped
usblp unloaded
Removing /var/spool/lpd...
Configuration file was saved as printcap.sic in /etc.
no remote printers active.
Starting LPRng ...
ppdev loaded
parport_pc loaded on io 0x378 irq none
lp loaded on parport 0
Warning -   changing ownership '//var/spool/lpd' to 7/7
Warning -   changing ownership '//var/spool/lpd' to 7/7
Warning -   changing ownership '//var/spool/lpd/pr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/pr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/usbpr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/usbpr1' to 7/7
Warning - usbpr1: cannot open lp device '/dev/usb/lp0' - No such device
LPRng is now running

If your configuration changed and you want to print over Samba,
you have to create a new Samba Configuration now.



>
> Die Zeile mit "You gave" würde auf ein Problem hindeuten.
>
> Ebenso das irq 0, wenn weiter oben irq x steht und Du in der Konfiguration
> IRQ auf yes gesetzt hast,

das Gleiche nochmal:

Konfiguration des Pakets:

LPRNG_LOCAL_PARPORT_PRINTER_N = 1
LPRNG_LOCAL_PARPORT_PRINTER_1_ACTIVE = yes
LPRNG_LOCAL_PARPORT_PRINTER_1_IO = 0x378
LPRNG_LOCAL_PARPORT_PRINTER_1_IRQ = no
LPRNG_LOCAL_PARPORT_PRINTER_1_COMMENT = test
LPRNG_LOCAL_PARPORT_PRINTER_1_NOTIFY = no

die tail Ausgabe:

Jul 30 19:29:13 eis kernel: parport_pc 00:06: activated
Jul 30 19:29:13 eis kernel: parport_pc 00:06: reported by Plug and Play ACPI
Jul 30 19:29:13 eis kernel: parport0: PC-style at 0x378 (0x778), irq 7, 
dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Jul 30 19:29:13 eis kernel: lp0: using parport0 (interrupt-driven).
Jul 30 19:29:14 eis kernel: parport_pc 00:06: disabled
Jul 30 19:30:00 eis su: (to news) root on none
Jul 30 19:31:46 eis kernel: usbcore: deregistering interface driver usblp
Jul 30 19:31:47 eis kernel: parport_pc 00:06: activated
Jul 30 19:31:47 eis kernel: parport_pc 00:06: reported by Plug and Play ACPI
Jul 30 19:31:47 eis kernel: parport0: PC-style at 0x378 (0x778), irq 7, 
dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Jul 30 19:31:47 eis kernel: lp0: using parport0 (interrupt-driven).
Jul 30 19:31:47 eis kernel: parport_pc 00:06: disabled
Jul 30 19:31:47 eis kernel: ppdev: user-space parallel port driver
Jul 30 19:31:47 eis kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, 
read 0xff
Jul 30 19:31:47 eis kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, 
read 0xff
Jul 30 19:31:47 eis kernel: parport 0x378: You gave this address, but 
there is probably no parallel port there!
Jul 30 19:31:47 eis kernel: parport0: PC-style at 0x378, irq 0 
[PCSPP,TRISTATE]
Jul 30 19:31:47 eis kernel: parport0: irq 0 in use, resorting to polled 
operation
Jul 30 19:31:47 eis kernel: lp0: using parport0 (polling).
Jul 30 19:31:47 eis kernel: usbcore: registered new interface driver usblp


die Paket Ausgabe:

Activate Lprng configuration now (y/n) [y]? y
Stopping LPRng ...
LPRng was stopped
ppdev unloaded
parport unloaded
usblp unloaded
Removing /var/spool/lpd...
Configuration file was saved as printcap.sic in /etc.
no remote printers active.
Starting LPRng ...
ppdev loaded
parport_pc loaded on io 0x378 irq auto
lp loaded on parport 0
Warning -   changing ownership '//var/spool/lpd' to 7/7
Warning -   changing ownership '//var/spool/lpd' to 7/7
Warning -   changing ownership '//var/spool/lpd/pr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/pr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/usbpr1' to 7/7
Warning -   changing ownership '//var/spool/lpd/usbpr1' to 7/7
Warning - usbpr1: cannot open lp device '/dev/usb/lp0' - No such device
LPRng is now running


> Dann vielleicht noch Board-Bezeichnung und BIOS-Schnittstellen-Einstellungen
> (z.B.Normal, Bi-Dir oder ECP/EPP, ...).

Board: Asus A8N-VM CSM
Bios-Konfig:
Serial Port1 Address = [3F8/IRQ4]
Paralell Port Address = [378]
Paralell Port Mode = [ECP]
ECP Mode DMA Channel = [DMA3]
Paralell Port IRQ = [IRQ7]

> Danke.

gern.

Viele Grüße
Fabian





Mehr Informationen über die Mailingliste Eisfair