Page 1 of 2 12 LastLast
Results 1 to 15 of 25

Thread: Testing required for USB printers

  1. #1
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356

    Testing required for USB printers

    Guys, I've recompiled printer.o module which is used in the firmware in order to fix the kernel oopses. But I need a feedback from the users who is experiencing problems with printing with 1.7.5.6-2 firmware and a facing to kernel oops in the logs. Also I need a feedback from other users to whom current firmware works ok.

    So, please download the new driver module usingthis link.
    Once you've downloaded it please disconnect your usb printer from the router, power it off then on and copy printer.o to /tmp directory on the router (scp printer.o admin@my.router:/tmp)
    Once you've copied the file please establish the ssh/telnet session to the router and do the following
    Code:
    rmmod printer
    After that execute

    Code:
    insmod /tmp/printer.o
    Now you can connect your printer back to the router.

    After that please execute

    Code:
    cat /proc/usblp/usblpid
    and post the results here. Also try printing anything to see if that works for you.

    P.S. You could also copy printer.o to the usb flash driver and execute
    Code:
    insmod /mnt/usbfs/printer.o
    instead to load new driver.
    Last edited by Oleg; 01-05-2004 at 09:35.

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    To whom who has problem with printing: guys, if you want to fix the printing problem please perform the testing mentioned. Otherwise the problem will be never fixed - I need a feedback.

  3. #3
    Code:
    # cat /proc/usblp/usblpid
    Manufacturer=Lexmark
    Model=Lexmark Z22-Z32
    Class=Printer
    Description=Lexmark Z22-Z32
    The printer is correctly recognized in the status window, but printing in any way (lpr/raw) does not work. With the old printer module the results have been the same.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Originally posted by narcis
    Code:
    # cat /proc/usblp/usblpid
    Manufacturer=Lexmark
    Model=Lexmark Z22-Z32
    Class=Printer
    Description=Lexmark Z22-Z32
    The printer is correctly recognized in the status window, but printing in any way (lpr/raw) does not work. With the old printer module the results have been the same.
    Just to clarify: I'm trying to track the problem with kernel oopses in the system log. Is there anything strange in the log?
    Also, some users reported that ASUS original firmwares are working ok in the printing part, but does not work with custom one. Have you ever tried printing with ASUS firmwares?

  5. #5
    As far as I know the system log doesn't show anything suspicious when trying to print and the situation was the same with the original Firmware, but it might be that there have been more error messages in the system log with the original firmware. I'd try that out, but I think it would be better if I printed from the router itself via a ssh/telnet connection, so I can make sure that the networking part doesn't make any trouble. Can I pipe some file through to the LPR, and if so, how?
    Last edited by narcis; 15-04-2004 at 00:23.

  6. #6
    Join Date
    Apr 2004
    Location
    Harderwijk, The Netherlands
    Posts
    58

    Re: Testing required for USB printers

    Originally posted by Oleg
    Guys, I've recompiled printer.o module which is used in the firmware in order to fix the kernel oopses. But I need a feedback from the users who is experiencing problems with printing with 1.7.5.6-2 firmware and a facing to kernel oops in the logs. Also I need a feedback from other users to whom current firmware works ok.

    So, please download the new driver module usingthis link.
    Once you've downloaded it please disconnect your usb printer from the router, power it off then on and copy printer.o to /tmp directory on the router (scp printer.o admin@my.router:/tmp)
    Once you've copied the file please establish the ssh/telnet session to the router and do the following
    Code:
    rmmod printer
    After that execute

    Code:
    insmod /tmp/printer.o
    Now you can connect your printer back to the router.

    After that please execute

    Code:
    cat /proc/usblp/usblpid
    and post the results here. Also try printing anything to see if that works for you.

    P.S. You could also copy printer.o to the usb flash driver and execute
    Code:
    insmod /mnt/usbfs/printer.o
    instead to load new driver.
    Please I'm a newbie to this..if you explain how to copy it to TMP and how to conect with a telnet session..I want to try...my HP840C is now not working (it did for one testform..after that..no connection anymore)

  7. #7

    Problem

    I want to test this, but how can i copy/move the file:
    printer.o to the /tpm directory on the router?

  8. #8
    Want to test as well, doesn't look like ssh is running, with my limited Unix knowledge, is required by scp.
    Can not use the card slot on the printer as well using ftp, as the new firmware is not accepting these, so stuck to get the printer.o file on the router.

    Any suggestions?

  9. #9
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Ok, I see. Wait for the new test firmware.

  10. #10
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Originally posted by ebakke
    Want to test as well, doesn't look like ssh is running, with my limited Unix knowledge, is required by scp.
    Can not use the card slot on the printer as well using ftp, as the new firmware is not accepting these, so stuck to get the printer.o file on the router.

    Any suggestions?
    try this one

    http://wl500g.info/showthread.php?threadid=11

    ít SHOULD open up a ftp server upon your wl500gs root

    never tested this anymore was tested with 1.6.5.3 for the last time..

  11. #11
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Guys, try using this firmware. It contains "right" usb printer module. Also it has vi editor compiled in to the busybox.

  12. #12
    Join Date
    Apr 2004
    Location
    Harderwijk, The Netherlands
    Posts
    58

    Thumbs up

    Oleg!! Perfect....it's working with my HP Deskjet 840C!!

    Great Job...

  13. #13
    Join Date
    Apr 2004
    Location
    Hungary, Budapest
    Posts
    11

    Angry

    still not working...
    i got the same dmesg

    hub.c: new USB device 00:04.0-1, assigned address 2
    printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x011E
    printer.c: usblp0 Device ID string [51]='MFG:Brother;CMD:HBP,PCL;MDL:MFC-9180;CLS:PRINTER;'
    Unable to handle kernel paging request at virtual address 00000000, epc == c00a13b4, ra == c00a1440
    Oops in fault.c::do_page_fault, line 192:

    and some stackdump

    Its a laser printer, but afaik with this new printing daemon i should handle any printer, right?
    Josephus
    HuWiCo - Hungarian Wireless Community
    http://www.huwico.hu

  14. #14
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Yes, it should...

  15. #15
    Join Date
    Apr 2004
    Location
    near Paris (France)
    Posts
    10
    i did a test with my printer :

    HP 930C, USB port (9101, mode raw) : working fine

    The firmware is 1-7-5-6 release 2 ( my router is a WL500b and i used the recovery mode to ulpload this firmware).
    I use a "noname" USB hub between the router and the printer.
    I have also conneected on this hub :
    - a philips webcam PCVC675K : working
    - a USB2 HDD (case "connectland", 2.5") : working

    I also now have voice, video, file transfer and webcam with MSN Messenger (with the previous firmwares, i had only the webcam!).

    Congratulations for your job Oleg.

Page 1 of 2 12 LastLast

Similar Threads

  1. [USB] Printers
    By Antiloop in forum Reported Compatible Hardware
    Replies: 141
    Last Post: 31-01-2011, 22:56
  2. [LPT] Printers
    By Antiloop in forum Reported Compatible Hardware
    Replies: 77
    Last Post: 01-08-2009, 15:22
  3. 1.8.1.7-1 custom firmware available for testing
    By Oleg in forum WL-500g Custom Development
    Replies: 37
    Last Post: 13-12-2004, 14:55
  4. Two USB printers anyone?
    By monnier in forum WL-500g Q&A
    Replies: 3
    Last Post: 04-08-2004, 21:57
  5. HELP Required: USB 2.0 Hard drive not recognized
    By darrellr in forum WL-500g Q&A
    Replies: 4
    Last Post: 06-05-2004, 16:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •