drucker empfängt keine daten

homer0815

Well-Known Member
hi @ all,

ich habe meinen laserdrucker an meinen freebsd server angeschlossen und wollte einen printserver einrichten. mein prolblem ist das der drucker irgenwie keine daten empfängt. es ist ein brother hl2030 mit usb. wenn ich ihn anschliese erscheinen in /dev die einträge ulpt0 unlpt0 soweit so gut.
ein einfaches cat /etc/rc.conf > /dev/ultp0 bring aber schon nichts. nicht einmal die lämpchen blinken.

ich habe auch lpd eingerichtet aber da kommt auch kein output
hier mal meine /etc/printcap
PHP:
hl2030|lp:
        :mx=0:
        :sd=/var/spool/lpd/2030:
        :sh:
        :lp=/dev/ulpt0:
        :if=/usr/local/Brother/lpd/filterHL2030:
edit: auch wenn man es hier nicht sieht am ende jeder zeile steht natürlich ein \.
die filter habe ich von der brotherhomepage geladen.

/var/spool/lpd/2030
gehört daemon:daemon und die rechte sind 770

in der /var/spool/lpd/2030/status steht
hl2030 is ready and printing

kann mir irgendjemand helfen?
danke im vorraus
 
homer0815 schrieb:
hi @ all,

ich habe meinen laserdrucker an meinen freebsd server angeschlossen und wollte einen printserver einrichten. mein prolblem ist das der drucker irgenwie keine daten empfängt. es ist ein brother hl2030 mit usb. wenn ich ihn anschliese erscheinen in /dev die einträge ulpt0 unlpt0 soweit so gut.
ein einfaches cat /etc/rc.conf > /dev/ultp0 bring aber schon nichts. nicht einmal die lämpchen blinken.

...

Also wenn nichteinmal bei "cat /etc/rc.conf > /dev/ultp0" etwas passiert weiss ich auch nicht worann es liegt.
Vielleicht überprüfst Du mal die Hardware => USB-Kabel...
- funktioniert NUR der Drucker am USB nicht?
- ist das Kabel vielleicht defekt?
- hast Du den USB-Port mal mit anderen Geräten getestet?
- hast Du noch einen externen HUB drann?
- wenn noch mehr drann hängt, probier mal NUR den Drucker drann mal aus...

So würde ich erstmal vorgehen, sonst weiss ich auch nicht.


P.S.: Ich habe mir meine USB-Ports mit einer (39,-EURO-)USB-Maus (optisch) reihenweise abgeschossen. Seit ich einen Switch (Arbeitsplatzumschalter => vier Rechner und ein Monitor-Tastatus-Maus) dazwischen geschaltet habe bleiben auch meine USB-Ports heil.
Also manchmal ist das schon komisch...
:D
 
hat das ding noch parallelportanschhluss?
hat dein rechner noch parallelportanschluss?

wird der ueberhaupt beim booten erkannt? gib mal deine dmesg her.
weil sonst hast du jetzt naemlich eine datei mit dem namen /dev/ulpt0 wo alles drinnesteht was du drucken wolltest...
 
ulpt funktioniert mit dem einigen Druckern, die sowohl einen Parallelport-Anschluss als auch einen für USB haben, nicht wirklich. Das Problem ist, dass die Drucker intern die USB-Daten in welche von Parallelport umwandeln. Daher geben sie keine Empfangsbestätigung zurück (müssen sie laut Standart auch nicht), BSD sendet kein zweites Paket. Stattdessen geht davon aus, dass der Drucker sich offline geschaltet hat und bleibt hängen. Im Syslog taucht die Meldung "ulpt0: offline" auf. Der Drucker zeigt jedoch endlos "Datenempfang" an.
Irgendwann wird BSD dann auf gut Glück das nächste Paket senden, nur wer will schon 10 Minuten (!) euf eine Seite Text warten???
 
also an alle schon mal danke
so ich fang mal an auf zu zählen.

1) usb ports funktionieren alle
2) kabel getauscht keine änderung
3) drucker hat nur usb und KEIN parallel
4) auszug aus dmesg
ulpt0: Brother HL-2030 series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
5) usbdevs -v
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
port 1 addr 2: full speed, self powered, config 1, HL-2030 series(0x0027), Brother(0x04f9), rev 1.00
port 2 powered

und immer noch kein output ...
 
die ganze? ich hatte doch oben den auszug wo er erkant wurde aber ok
dmesg
PHP:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA3 #2: Sun Aug 28 19:11:53 CEST 2005
    root@server.lan:/usr/obj/data/src/sys/SERVER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2200+ (1791.22-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x680  Stepping = 0
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 259981312 (247 MB)
avail memory = 249135104 (237 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <KM266 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> on acpi0
pci_link4: <ACPI PCI Link ALKA> irq 0 on acpi0
pci_link5: <ACPI PCI Link ALKB> irq 0 on acpi0
pci_link6: <ACPI PCI Link ALKC> irq 0 on acpi0
pci_link7: <ACPI PCI Link ALKD> irq 0 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA XM266 (PM266/KM266) host to PCI bridge> mem 0xeb000000-0xeb3fffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
dc0: <Accton EN2242 MiniPCI 10/100BaseTX> port 0xd000-0xd0ff mem 0xeb400000-0xeb4003ff irq 10 at device 10.0 on pci0
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:04:e2:03:c6:dc
dc0: if_start running deferred for Giant
dc0: [GIANT-LOCKED]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xeb401000-0xeb4010ff at device 16.3 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
acpi_tz0: <Thermal Zone> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ulpt0: Brother HL-2030 series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Timecounter "TSC" frequency 1791215716 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76351MB <SAMSUNG SP8004H QW100-56> at ata0-master UDMA100
ad1: 76351MB <SAMSUNG SP0802N TK200-04> at ata0-slave UDMA100
ad2: 239372MB <Maxtor 6L250R0 BAH41G10> at ata1-master UDMA133
ad3: 152627MB <SAMSUNG SP1604N TM100-24> at ata1-slave UDMA100
Trying to mount root from ufs:/dev/ad0s1a
 
Versuche mal folgendes:

1. Schalte ACPI mal ab (keine Ahnung ob das was bringt, aber es hat sich nunmal als Routinebehandlung eingebürgert...)
2. Nimm ehci mal aus dem Kernel raus, dass Ding ist nur beta...
3. Wenn möglich schalte USB im BIOS mal auf "normal mode" (12 MB/s) zurück
 
Zurück
Oben