PDA

Bekijk de volledige versie : WL500g > 2 USB an 1 LPT Printer



Trebron
27-01-2006, 22:20
I have 1 USB (RAW 9101 = Brother 2030) an 1 LPT (RAW9100 = HP970cxi) and is fine work

Now, i will work with 2 USB an 1 LPT and i have many problems. Only the RAW port 9100 works.

1. USB-Printer - Brother MFC-3240C
2. USB-Printer - Brother HL 2030
3. LPT-Printer - HP970cxi

---
ls -l /dev/usb

crw-rw---- 1 admin root 180, 0 Jan 1 1970 lp0
crw-rw---- 1 admin root 180, 1 Jan 1 1970 lp1


---
dmesg

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:04.0-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 00:04.0-1.2, assigned address 3
lp0: using parport0 (polling).
usb.c: USB device 3 (vend/prod 0x4cf/0x8818) is not claimed by any active driver.
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:04.0-1.3, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0027
printer.c: usblp0 Device ID string [57]='MFG:Brother;CMD:PJL,HBP;MDL:HL-2030 series;CLS:PRINTER;'
hub.c: new USB device 00:04.0-1.4, assigned address 5
printer.c: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0173
printer.c: usblp1 Device ID string [54]='MFG:Brother;CMD:HBP,BRPJL;MDL:MFC-3240C;CLS:PRINTER;'
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: TOSHIBA Model: MK1016GAP Rev: U1.1
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 19640880 512-byte hdwr sectors (10056 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
lp driver: get device ID
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

---
can any body help me?

Trebron

Sorry for my bad english

WlanMan
27-01-2006, 22:35
Hi

What´s the Problem ??
The two USB printers get detected from kernel, and i expect that the first of the two should work out of the box. you can start a third raw print deamon from telnet to get the second usb printer working. Maybe i look deper into that tomorrow.

Greets
Wlanman

Trebron
27-01-2006, 22:56
Thank for answer

---
USB > RAW9100 works with Brother MFC-3240c

---
with
/usr/sbin/p910nd -f /dev/usb/lp1 2

USB > RAW9102 works with Brother HL2030

---
LPT > RAW9101 works with HP 970cxi

I`am happy all works.

Trebron

Jasman
24-07-2006, 03:41
I hate to bring this back up, but can someone help a real newbie figure this out for using two USB printers with the WL500gx? I've tried creating RAW TCP_IP ports named USB and LPT, and then assigning them to the printers I want to use with port numbers 9100, 9101, or 9102, but I really don't understand what I'm doing. I need a step-by-step to run a USB laser printer (Brother HL2040) and an inkjet (Canon i850). I have successfully used each by setting up the TCP_IP port address 192.168.1.1, using both LPR (stock firmware) and RAW (custom firmware) on port 9100. But I haven't gotten both to work simultaneously. Thanks.

Pse
01-08-2006, 21:17
You may want to check this thread =)
http://wl500g.info/showthread.php?t=249&highlight=1.7.5.6