Hi,
I've tried to make an ASUS WL-500g to work with a HP LaserJet 1020, but I'm not able to make work reliably.
I've tried to implement some of the ideas discussed here, but it simply doesn't work in a reliable way - the firmware is not loaded to the printer.
I have added 3 scripts:
/tmp/local/sbin/hotplug
/tmp/local/sbin/post-bootCode:#!/bin/sh echo --------------- >> /var/log/hotplug.log date >> /var/log/hotplug.log echo $* >> /var/log/hotplug.log set >> /var/log/hotplug.log if [ "$ACTION" = "add" ] || [ "$1" = "usb" ] || [ "$DEVFS" = "/proc/bus/usb" ]; then sleep 5s /tmp/usb_printerid /dev/usb/lp0 | grep -q FWVER || cat /tmp/sihp1020.dl > /dev/usb/lp0 echo "Firmware loaded succesfully!" >> /var/log/hotplug.log else echo "Device removed" >> /var/log/hotplug.log fi /sbin/hotplug $*
/tmp/local/sbin/post-mountCode:#!/bin/sh sleep 7s cd /tmp wget http://oleg.wl500g.info/hplj/usb_printerid wget http://oleg.wl500g.info/hplj/sihp1020.dl chmod +x usb_printerid
My perception is that post-boot will be executed after the booting is finished. The post-boot script only waits for some seconds in order to make the AP to be online.Code:#!/bin/sh echo "/tmp/local/sbin/hotplug" >> /proc/sys/kernel/hotplug
The post-mount script should be executed after the printer is detected (turned on), but it doesn't execute.
Do some of you have any ideas to solve printing with ASUS WL-500g and HP LaserJet 1020? Can it be done in a different way, e.g. using CUPS (is CUPS able to upload the firmware to the printer since the driver is installed at the client?)?
Any suggestions to help me solve this issues will be appreciated :-)
Best regards,
Rune




Reply With Quote
