Re: SMC2662W V.4
Alex Schultz <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
The keyboard lockups are being worse than ever (rather unbearable,
lasting at least 30 min). Here's a more updated dmesg with possibly
better diagnostic info:
Pre-module-load complaints about the card
-------------------------------------------
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c270] link (0130c1e2) element (0130d100)
0: [c130d100] link (0130d140) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) (buf=01310a80)
1: [c130d140] link (0130d180) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=3, PID=69(IN) (buf=01310aa0)
2: [c130d180] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (0130d040)
0: [c130d040] link (0130d080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) (buf=01310a80)
1: [c130d080] link (0130d0c0) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=3, PID=69(IN) (buf=01310aa0)
2: [c130d0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c270] link (0130c1e2) element (0130d100)
0: [c130d100] link (0130d140) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) (buf=01310a80)
1: [c130d140] link (0130d180) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=3, PID=69(IN) (buf=01310aa0)
2: [c130d180] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (0130d040)
0: [c130d040] link (0130d080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP) (buf=01310a80)
1: [c130d080] link (0130d0c0) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=3, PID=69(IN) (buf=01310aa0)
2: [c130d0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=e1(OUT) (buf=00000000)
usb 1-1: device descriptor read/8, error -110
And now I load the drivers:
---------------------------
/root/newianwireless/at76c503a/usbdfu.c: USB Device Firmware Upgrade (DFU) handler v0.12beta14 loading
/root/newianwireless/at76c503a/at76c503.c: Generic Atmel at76c503/at76c505 routines v0.12beta14
/root/newianwireless/at76c503a/at76c503-fw_skel.c: Atmel at76c505a (RFMD2958) Wireless LAN Driver v0.12beta14 loading
drivers/usb/core/usb.c: registered new driver at76c505a-rfmd2958
hub 1-0:1.0: port 1, status 100, change 1, 12 Mb/s
drivers/usb/host/uhci-hcd.c: ff00: suspend_hc
drivers/usb/host/uhci-hcd.c: ff00: wakeup_hc
hub 1-0:1.0: port 1, status 101, change 1, 12 Mb/s
hub 1-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
usb 1-1: new full speed USB device using address 4
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (0130d040)
0: [c130d040] link (0130d080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0f57ab20)
1: [c130d080] link (0130d0c0) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=4, PID=69(IN) (buf=0bf71f80)
2: [c130d0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c270] link (0130c1e2) element (0130d100)
0: [c130d100] link (0130d140) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0f57ab20)
1: [c130d140] link (0130d180) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=4, PID=69(IN) (buf=0bf71f80)
2: [c130d180] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (0130d040)
0: [c130d040] link (0130d080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0f57ab20)
1: [c130d080] link (0130d0c0) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=4, PID=69(IN) (buf=0bf71f80)
2: [c130d0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c270] link (0130c1e2) element (0130d100)
0: [c130d100] link (0130d140) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0f57ab20)
1: [c130d140] link (0130d180) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=4, PID=69(IN) (buf=0bf71f80)
2: [c130d180] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=e1(OUT) (buf=00000000)
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (0130d040)
0: [c130d040] link (0130d080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0f57ab20)
1: [c130d080] link (0130d0c0) e3 SPD Active Length=0 MaxLen=7 DT1 EndPt=0 Dev=4, PID=69(IN) (buf=0bf71f80)
2: [c130d0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=e1(OUT) (buf=00000000)
usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
drivers/usb/core/usb.c: usb_hotplug
usb 1-1: registering 1-1:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
at76c505a-rfmd2958 1-1:1.0: usb_probe_interface
at76c505a-rfmd2958 1-1:1.0: usb_probe_interface - got id
/root/newianwireless/at76c503a/at76c503-fw_skel.c: using compiled-in firmware
/root/newianwireless/at76c503a/at76c503.c: opmode -32
/root/newianwireless/at76c503a/at76c503.c: need to download firmware
/root/newianwireless/at76c503a/at76c503.c: firmware board 7 version 1.102.0#113 (int 4f0c:68, ext 411d:4f74)
/root/newianwireless/at76c503a/at76c503.c: firmware id 1.102.0-113 505A RFMD 2958Copyright (c) 1999-2004 by Atmel Corporation
/root/newianwireless/at76c503a/at76c503.c: downloading internal firmware
/root/newianwireless/at76c503a/at76c503.c: wlan%d: state 9 -> 9 (INTFW_DOWNLOAD)
/root/newianwireless/at76c503a/at76c503.c: downloading internal firmware
And it gets keyboard locked about here
--------------------------------------
/root/newianwireless/at76c503a/usbdfu.c: DFU IDLE
/root/newianwireless/at76c503a/usbdfu.c: dfu_download_block(): buffer=d0dada08, bytes=1024, block=0
/root/newianwireless/at76c503a/usbdfu.c: STATE_DFU_DOWNLOAD_SYNC
/root/newianwireless/at76c503a/usbdfu.c: DOWNLOAD...
/root/newianwireless/at76c503a/usbdfu.c: DFU IDLE
/root/newianwireless/at76c503a/usbdfu.c: dfu_download_block(): buffer=d0dade08, bytes=1024, block=1
/root/newianwireless/at76c503a/usbdfu.c: STATE_DFU_DOWNLOAD_SYNC
/root/newianwireless/at76c503a/usbdfu.c: DOWNLOAD...
/root/newianwireless/at76c503a/usbdfu.c: DFU IDLE
And so on from block 2 to 18 (still locked)
-------------------------------------------
/root/newianwireless/at76c503a/usbdfu.c: dfu_download_block(): buffer=d0db2608, bytes=780, block=19
/root/newianwireless/at76c503a/usbdfu.c: STATE_DFU_DOWNLOAD_SYNC
/root/newianwireless/at76c503a/usbdfu.c: DOWNLOAD...
/root/newianwireless/at76c503a/usbdfu.c: DFU IDLE
/root/newianwireless/at76c503a/usbdfu.c: dfu_download_block(): buffer=d0db2914, bytes=0, block=20
/root/newianwireless/at76c503a/usbdfu.c: STATE_DFU_MANIFEST_SYNC
/root/newianwireless/at76c503a/usbdfu.c: DFU: Waiting for manifest phase
/root/newianwireless/at76c503a/usbdfu.c: STATE_DFU_MANIFEST
/root/newianwireless/at76c503a/at76c503.c: sending REMAP
drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with status 440000
[c130c240] link (0130c1e2) element (08cfb000)
0: [c8cfb000] link (08cfb040) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=4, PID=2d(SETUP) (buf=0bf71ba0)
1: [c8cfb040] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=4, PID=69(IN) (buf=00000000)
/root/newianwireless/at76c503a/at76c503.c: sending REMAP failed with -110
/root/newianwireless/at76c503a/at76c503.c: ignoring this error for board type 7
/root/newianwireless/at76c503a/at76c503.c: sleeping for 2 seconds
/root/newianwireless/at76c503a/at76c503.c: wlan%d: state 9 -> 10 (EXTFW_DOWNLOAD)
/root/newianwireless/at76c503a/at76c503.c: resetting the device
drivers/usb/core/message.c: manual set_interface for dev 4, iface 0, alt 0
/root/newianwireless/at76c503a/at76c503.c: update_usb_intf_descr: ENTER
/root/newianwireless/at76c503a/at76c503.c: update_usb_intf_descr: ifp cbf71ee0 num_altsetting 1 endpoint addr x81, x2
/root/newianwireless/at76c503a/at76c503.c: update_usb_intf_descr: EXIT with 0
/root/newianwireless/at76c503a/at76c503.c: opmode 4
/root/newianwireless/at76c503a/at76c503.c: downloading external firmware
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 16669, bsize = 1024, i = 0
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 15645, bsize = 1024, i = 1
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 14621, bsize = 1024, i = 2
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 13597, bsize = 1024, i = 3
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 12573, bsize = 1024, i = 4
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 11549, bsize = 1024, i = 5
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 10525, bsize = 1024, i = 6
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 9501, bsize = 1024, i = 7
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 8477, bsize = 1024, i = 8
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 7453, bsize = 1024, i = 9
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 6429, bsize = 1024, i = 10
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 5405, bsize = 1024, i = 11
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 4381, bsize = 1024, i = 12
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 3357, bsize = 1024, i = 13
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 2333, bsize = 1024, i = 14
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 1309, bsize = 1024, i = 15
/root/newianwireless/at76c503a/at76c503.c: ext fw, size left = 285, bsize = 285, i = 16
/root/newianwireless/at76c503a/at76c503.c: 200 ms delay for board type 7
/root/newianwireless/at76c503a/at76c503.c: wlan%d: state 10 -> 0 (INIT)
/root/newianwireless/at76c503a/at76c503.c: USB interface: 2 endpoints
/root/newianwireless/at76c503a/at76c503.c: $Id: at76c503.c,v 1.60 2004/06/15 18:20:37 jal2 Exp $ compiled Jul 1 2004 11:43:29
/root/newianwireless/at76c503a/at76c503.c: firmware version 1.102.0 #113 (fcs_len 4)
/root/newianwireless/at76c503a/at76c503.c: device's MAC 00:04:e2:99:07:fa, regulatory domain FCC (U.S) (id 16)
/root/newianwireless/at76c503a/at76c503.c: registered wlan0
And then it finally works (spending over half an hour VERY slowly going
through the internal (and maby external as well) firmware download). Do
you have any idea why (and possibly a workaround/fix for) it's getting
stuck downloading the firmware?
Thanks,
Alex
Alex Schultz wrote:
> Hi,
>
> Yes, all I applied was the patch from your previous posting and the
> boardtype fix. About the keyboard lockups, what you said would
> indicate (if I understand correctly) that it's getting stuck in the
> middle of portions of the firmware download waiting for the device. Do
> you have any idea how this could be fixed/worked around or at least
> could you please tell me why it might be waiting on the device?
>
> Thanks,
> Alex
>
> Joerg Albert wrote:
>
>> Hi Alex,
>>
>>
>>
>>> Yay! It works! Here's the dmesg results in case you are interested:
>>>
>>
>>
>>
>>
>>> ...
>>> /root/newianwireless/at76c503a/at76c503.c: sending REMAP
>>> drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with
>>> status 440000
>>> [c1308240] link (013081e2) element (083ea000)
>>> 0: [c83ea000] link (083ea040) e0 Stalled CRC/Timeo Length=7 MaxLen=7
>>> DT0 EndPt=0 Dev=3, PID=2d(SETUP) (buf=0b766be0)
>>> 1: [c83ea040] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
>>> EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
>>>
>>
>>
>> OK, the error response to REMAP was expected, but
>>
>>
>>
>>> usb 1-1: control timeout on ep0in
>>> /root/newianwireless/at76c503a/at76c503.c: wlan0: get_cmd_status
>>> failed:
>>> -110
>>>
>>
>>
>> this one not, althrough the device seems to work ...
>>
>>
>>
>>> I seem seem to get some wierd keyboard lockups that are probably
>>> related
>>> to the "drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with
>>> status 440000", but that's a uhci problem not a problem with this
>>> driver, this driver works PERFECTLY with the SMC2662W V.4
>>>
>>
>>
>> I guess it has something to do with the driver structure. It does the
>> firmware download in keventd, actively polling for answers, which locks
>> the keyboard (same behaviour at scan time).
>>
>> Anyhow, it works for your device. Could you diff your sources against
>> the
>> cvs repository or tell me which changes you'd applied: the patch from my
>> previous posting and the boardtype fix, some more? I'd like to update
>> cvs.
>>
>> Thanks for testing!
>>
>> /Jörg
>>
>>
>> _______________________________________________
>> at76c503a-user mailing list
>> [email protected]
>> http://lists.berlios.de/mailman/listinfo/at76c503a-user
>>
>>
>>
>
> _______________________________________________
> at76c503a-user mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/at76c503a-user
>