Re: Trouble with usb modem

"jidong xiao" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 10/9/07, Davide Pagnin <[email protected]> wrote:
> Oliver Neukum ha scritto:
> > Am Freitag 05 Oktober 2007 schrieb Davide Pagnin:
> >> Provided that the driver for the IBM/QLOGIC hba works, I can try a more
> >> recent kernel, do you suggest me to try the last vanilla kernel or a
> >> kernel from SUSE SLES 10?
> >
> > If you want support from this list, it'll have to be a vanilla kernel.
>
> I've compiled kernel 2.6.22.9, it seems to work (the modem is recognized
> and the cdc-acm module is load).
>
> I've attached the dmesg of a boot with this kernel (I've enough
> knowledge to understand what is going on, but AFAIK, it seems to make
> have trouble and then it seems to be able to recover those trouble.
>
> I'm now compiling kernel 2.6.16.54 (to see if there are changes in the
> behavior).
>
> I can't use (in the production environment) the vanilla kernel, because
> I'm not able to have the QLOGIC hba work correctly, so the only viable
> choice is to find the relevant fixes and recompile the suse kernel with
> those fixes (I know this is going to give me more than an headache, but
> I see no other solution)
>
> Any kind of suggestion will be appreciated
>
> Regards
>
> Davide Pagnin
> Linux version 2.6.22.9 (root@srv2lnx) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Tue Oct 9 14:20:51 CEST 2007
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> USB Universal Host Controller Interface driver v3.0
> PCI: Setting latency timer of device 0000:00:1d.0 to 64
> uhci_hcd 0000:00:1d.0: UHCI Host Controller
> uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
> uhci_hcd 0000:00:1d.0: irq 16, io base 0x00002200
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> PCI: Setting latency timer of device 0000:00:1d.1 to 64
> uhci_hcd 0000:00:1d.1: UHCI Host Controller
> uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
> uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002600
> usb usb2: configuration #1 chosen from 1 choice
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> usb 1-2: new full speed USB device using uhci_hcd and address 2
> intel_rng: FWH not detected
> usb 1-2: configuration #2 chosen from 2 choices
> PCI: Setting latency timer of device 0000:00:1d.7 to 64
> ehci_hcd 0000:00:1d.7: EHCI Host Controller
> ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3
> ehci_hcd 0000:00:1d.7: debug port 1
> PCI: cache line size of 128 is not supported by device 0000:00:1d.7
> ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf0000000
> ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> usb 1-2: can't set config #2, error -84
> usb 1-2: USB disconnect, address 2
> usb usb3: configuration #1 chosen from 1 choice
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 4 ports detected
> usb 1-2: new full speed USB device using uhci_hcd and address 3
> st: Version 20070203, fixed bufsize 32768, s/g segs 256
> usb 1-2: configuration #2 chosen from 2 choices
> program hwscan is using a deprecated SCSI ioctl, please convert it to SG_IO
> sd 1:0:0:0: Attached scsi generic sg0 type 0
> scsi 1:0:8:0: Attached scsi generic sg1 type 3
> usb 2-2: new full speed USB device using uhci_hcd and address 2
> usb 2-2: configuration #1 chosen from 1 choice


Judging from the log file of 2.6.5, there usb_new_device fails when it
call usb_get_device_descriptor.

In 2.6.22, hub_port_init() and usb_new_device() are invoked twice,the
first try fails and the second try got succeed.

Since from 2.6.10 we introduce a new USB device initialization scheme,
I feel maybe your device is incompatible with the old scheme and only
works against the new scheme.

Regards
Jason

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.