Hello,

my USB subsystem also seems to loose its connection to a HP
LaserJet 1010 printer from time to time without any 
visible reason.

The only way to regain control over that printer is reloading
usb-uhci.o:

        modprobe -r usb-uhci
        modprobe usb-uhci

This failure happens quite often, however, I can NOT reproduce 
the problem. 

I have been trying several kernels from 2.4.20 up to 2.4.26 now
without any difference. I have always used CONFIG_USB_DEBUG=y 
and in drivers/usb/printer.c #define DEBUG.

Using uhci.o instead of usb-uhci.o does NOT work for me as uhci.o
produces kernel oopses.

Compiling usb-uhci statically does NOT help either, instead it
forces me to reboot the computer, as there is no module any more 
to be reloaded.

Power cycling of the printer does NOT help in this respect
(switching off is a workaround for other problems, but not for
this one).

After the usb subsystem has disconnected, the driver processes
can not be killed any more ("D"-flag with the ps command).
Cups, lpr and foomatic-rip do not report anything in this
situation. The only process that leaves some messages in the
syslog right after the disconnect is ptal-mlcd (= part of hpoj, 
i. e. a go-between between the device and the
renderers/spoolers):


        ptal-mlcd: ERROR at ExMgr.cpp:3165,
        dev=<mlc:usb:hp_LaserJet_1010@/dev/usb/lp0>, pid=3292, e=4,   
        t=1089847229         llioSubprocess: llioWrite returns -1,
        expected=6!

        ptal-mlcd: ERROR at ExMgr.cpp:2818,
        dev=<mlc:usb:hp_LaserJet_1010@/dev/usb/lp0>, pid=832, e=11,
        t=1089847229         llioService: fdRead returns 0, 
        expected=6!

        ptal-mlcd: ERROR at ExMgr.cpp:870,
        dev=<mlc:usb:hp_LaserJet_1010@/dev/usb/lp0>, pid=832, e=11,
        t=1089847229         exClose(reason=0x0010)


A second usb device btw, a creative web cam, does NOT get
affected by that problem, i. e. it keeps being accessible.

Does anyone know what to do?




lsmod:

        usb-uhci               24196   0  (unused)
        printer                 9024   1
        usbcore                78688   1  [usb-uhci printer ov511]
        ov511                  74016   0



lspci -v:

00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID): Unknown device 1234
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at a400 [size=32]
        Capabilities: [80] Power Management version 2

00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID): Unknown device 1234
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at a800 [size=32]
        Capabilities: [80] Power Management version 2




Output of usbview:

        USB UHCI Root Hub, see http://www.8ung.at/leising/usb1.txt
        USB UHCI Root Hub, see http://www.8ung.at/leising/usb2.txt
                |- ov511,  see http://www.8ung.at/leising/usb3.txt
                |- hp LaserJet 1010, see http://www.8ung.at/leising/usb4.txt



Many thanks for any hints,

bye, Juergen

-- 
***********************************************************
                http://www.8ung.at/leising/             
                http://leising.freeshell.org/        
*********************************************************** 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to