Hello everybody!

I've got this annoying problem:

I have Samsung ML-1440 laser printer, which is connected via USB. 

When I turn it on, it issues an interrupt and then usb.c assings address to 
it, but it does not accept it (error=-110). It repeats twice. So, printer is  
unavailable after that.

But when I plug a printer cable (printer is turned on already) into a hub 
(either on keyboard, or in computer itself), it does register successfully, 
accepting new address. When printer is turned on during boot - it does 
register too.

I've found, that 110 stands for timeout, and what fails is somewhere near 
usb_new_device in usb.c. Tried to hack it, increasing timeout, even applied a 
patch from 2.5.15, that looked like a helpful piece for such a problem - no 
success.

I think, unplugging USB connector and plugging it again is not the best way to 
tell linux that I want to print something. Maybe someone have solved such a 
problem?

Here are pieces from my logs:

What I have when simply turn it on:

/var/log/messages ================================
Jan 10 17:25:16 comp kernel: hub.c: new USB device 00:07.2-2.3, assigned 
address 6
Jan 10 17:25:17 comp kernel: hub.c: new USB device 00:07.2-2.3, assigned 
address 7
===============================================

/var/log/syslog ===================================
Jan 10 17:25:16 comp kernel: usb-uhci.c: interrupt, status 2, frame# 282
Jan 10 17:25:17 comp kernel: usb.c: USB device not accepting new address=6 
(error=-110)
Jan 10 17:25:21 comp kernel: usb_control/bulk_msg: timeout
Jan 10 17:25:21 comp kernel: usb.c: USB device not accepting new address=7 
(error=-110)
===============================================
* "usb_control/bulk_msg: timeout"


Successfull registration:
/var/log/messages ================================
Jan 10 20:16:45 comp kernel: hub.c: new USB device 00:07.2-2.3, assigned 
address 13
Jan 10 20:16:46 comp kernel: printer.c: usblp0: USB Bidirectional printer dev 
13 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3230
===============================================

/var/log/syslog ===================================
nothing is appended to syslog
===============================================

Thanks in advance for any help




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to