Re: [newbie] Installing a laserjet



Hi,

Your message has been extremely helpful,
victory seems closer :-p

My kernel is 2.4.27-2-386.
I used "modprobe printer".
In /proc/bus/usb/devices, I have
-------------------------------------------
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=03f0 ProdID=4117 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=HP LaserJet 1018
S: SerialNumber=KP0K19F
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
-------------------------------------------
I disconnect/connect
then /proc/bus/usb/devices
has the same entry except two things:
-------------------------------------------
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
....
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
....
-------------------------------------------
That looks good: usblp is used and the device id is new.
Then I use lpr -PHP_LaserJet_1018 /home/olivier/Oups.txt
Nothing prints, but, but, here are the corresponding lines
of /proc/bus/usb/devices:
-------------------------------------------
....
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
....
-------------------------------------------
Yes!! The driver has been removed. In between, foomatic worked ...
dmesg says:
----------------------------------------------------------------------
hub.c: new USB device 00:1d.2-1, assigned address 6
printer.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2
vid 0x03F0 pid 0x4117
printer.c: usblp0: removed
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 161 rq 1 len 1 ret -110
-------------------------------------------------------------------
so someone removed usblp0 :-( And usbdevfs is trying to take over
with no success :-( Any ideas ?

Best,
Amities,
Olivier
.