On Thu, Nov 07, 2002 at 11:43:34PM -0800, Greg KH wrote:

On Thu, Nov 07, 2002 at 09:43:17PM +0100, Luca Barbieri wrote:
> > Anyway, which USB drivers are you using? That might help us narrow this
> > down a bit.
> > speedtouch 8932 3

Oops, I don't think I fixed up that driver based on the other changes
that happened in the USB core. I'll try to find some time to look at
it, but can't guarantee anything...


Hm, no, I take that back, I did fix up the obvious compile time fixes
for that driver.  I wonder what broke it...

What's the symptoms of it not working?

Greg,

Appently , it has nothing to do with the device driver : i use the user land driver from http://speedtouch.sf.net, which works for me in 2.5.41, but does not works now from 2.4.45, same problem as i would use the in-kernel driver :

It breaks when you want to load the Alcatel micro-code, for me the commands are
mount /proc/bus/usb
breaks here ----> /usr/sbin/modem_run -f /usr/local/bin/mgmt.o -m
pppd call adsl &

strace of modem_run is attached : it shows that the ioctl to CLAIM_INTERFACE return -1 (file pusb-linux.c in speedtouch driver distribution) :

int pusb_claim_interface(pusb_device_t dev, int interface)
{
return(ioctl(dev->fd, USBDEVFS_CLAIMINTERFACE,&interface));

}


(modem_run version is latest version : 1.22)

The trace of modem_run are :


Nov 14 03:36:44 localhost modem_run[434]: Found ALCATEL SpeedTouch USB modem
Nov 14 03:36:44 localhost modem_run[434]: Best offset 2756 with probability 100%
Nov 14 03:36:44 localhost modem_run[434]: Best offset 523428 with probability 100%
Nov 14 03:36:46 localhost kernel: drivers/usb/core/message.c: usb_control/bulk_msg: timeout
Nov 14 03:36:46 localhost kernel: usbfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
Nov 14 03:36:46 localhost modem_run[434]: BLOCK1 : 991 bytes uploaded : OK
Nov 14 03:36:47 localhost modem_run[434]: BLOCK2 : 511 bytes downloaded : OK
Nov 14 03:36:49 localhost modem_run[434]: BLOCK3 : 523436 bytes uploaded : OK
Nov 14 03:36:49 localhost modem_run[434]: Downloaded in 1917.060000 ms
Nov 14 03:36:49 localhost modem_run[434]: BLOCK4 : 511 bytes downloaded : OK
Nov 14 03:36:59 localhost modem_run[434]: Another program/driver is already accessing the modem (interface 0 cannot be claimed)... ret=-1


I CC the speedtouch ml so that i hope it will help to debug the problem

Florent

Attachment: strace
Description: application/java-vm

Reply via email to