Re: [zd1211-devs] zd1211rw 1-1.1:1.0: zd_usb_ioread16v() read timed out

2008-10-08 Thread Sundar Visvanathan
I got the dongle to work inconsistently on 2.6.22.18-omap1 ,configured the
same as earlier in the post.The dongle works fresh out of the box.But on
second and consecutive attempts it stops working and goes into reset mode.

fail log:

hub 1-1:1.0: state 7 ports 4 chg  evt 0008
hub 1-1:1.0: port 3, status 0101, change 0001, 12 Mb/s
hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
usb 1-1.3: new full speed USB device using musb_hdrc and address 4
usb 1-1.3: not running at top speed; connect to a high speed hub
usb 1-1.3: default language 0x0409
usb 1-1.3: new device strings: Mfr=16, Product=32, SerialNumber=0
usb 1-1.3: Product: USB2.0 WLAN
usb 1-1.3: Manufacturer: Belkin
usb 1-1.3: device v050d p705c is not supported
usb 1-1.3: uevent
usb 1-1.3: usb_probe_device
usb 1-1.3: configuration #1 chosen from 1 choice
usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
usb 1-1.3:1.0: uevent
usb 1-1.3:1.0: uevent
zd1211rw 1-1.3:1.0: usb_probe_interface
zd1211rw 1-1.3:1.0: usb_probe_interface - got id
usb 1-1.3: print_id() 050d:705c v4810 full
usb 1-1.3: reset full speed USB device using musb_hdrc and address 4
zd1211rw 1-1.3:1.0: zd_netdev_alloc() netdev-flags 0x1002
zd1211rw 1-1.3:1.0: zd_netdev_alloc() netdev-features 0x
usb 1-1.3: request_fw_file() fw name zd1211/zd1211b_ub
usb 1-1.3: upload_firmware() firmware device id 0x4810 is equal to the
actual device id
usb 1-1.3: request_fw_file() fw name zd1211/zd1211b_uphr
usb 1-1.3: upload_code() transfer size 4096
usb 1-1.3: upload_code() transfer size 1024
usb 1-1.3: upload_code() firmware confirm return value 0x01
usb_endpoint usbdev1.4_ep01: ep_device_release called for usbdev1.4_ep01
usb_endpoint usbdev1.4_ep82: ep_device_release called for usbdev1.4_ep82
usb_endpoint usbdev1.4_ep83: ep_device_release called for usbdev1.4_ep83
usb_endpoint usbdev1.4_ep04: ep_device_release called for usbdev1.4_ep04
zd1211rw 1-1.3:1.0: zd_usb_enable_int()
zd1211rw 1-1.3:1.0: zd_usb_enable_int() submit urb c4623260
zd1211rw 1-1.3:1.0: zd_chip_init_hw()
usb 1-1.3: int_urb_complete() error: urb c4623260 wrong type
zd1211rw 1-1.3:1.0: zd_usb_ioread16v() read timed out
zd1211rw 1-1.3:1.0: zd_ioread32v_locked() error: zd_ioread16v_locked. Error
number -110
zd1211rw 1-1.3:1.0: dump_cr() error reading CR_AFTER_PNP. Error number -110
zd1211rw 1-1.3:1.0: zd_usb_disable_int() urb c4623260 killed
zd1211rw 1-1.3:1.0: probe() couldn't initialize mac. Error number -110
usb 1-1.3: reset full speed USB device using musb_hdrc and address 4
usb_endpoint usbdev1.4_ep01: ep_device_release called for usbdev1.4_ep01
usb_endpoint usbdev1.4_ep82: ep_device_release called for usbdev1.4_ep82
usb_endpoint usbdev1.4_ep83: ep_device_release called for usbdev1.4_ep83
usb_endpoint usbdev1.4_ep04: ep_device_release called for usbdev1.4_ep04
zd1211rw: probe of 1-1.3:1.0 failed with error -110
usbtest 1-1.3:1.0: usb_probe_interface
usbtest 1-1.3:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '004'
hub 1-1:1.0: state 7 ports 4 chg  evt 0008
usb 1-1.3: usb auto-suspend
#


does anyone have some ideas?

Thanks
Sundar


On Tue, Oct 7, 2008 at 3:30 PM, Sundar Visvanathan [EMAIL PROTECTED] wrote:

 usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_ub
 usb 1-1.1: upload_firmware() firmware device id 0x4810 is equal to the
 actual device id
 usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_uphr
 usb 1-1.1: upload_code() transfer size 4096
 usb 1-1.1: upload_code() transfer size 1024
 usb 1-1.1: upload_code() firmware confirm return value 0x01

 When you plug the dongle in at the first time,the firmware files get
 uploaded in the correct way(ref: first section of dmesg log). It errors out
 when you do an 'ifconfig' subsequently. My firmware files are located in
 /lib/firmware/zd1211/.

 thanks for the reply.
 Sundar

 On Tue, Oct 7, 2008 at 3:02 PM, Hin-Tak Leung [EMAIL PROTECTED]
  wrote:

 --- On Tue, 7/10/08, Sundar Visvanathan [EMAIL PROTECTED] wrote:
 snipped
  usb 1-1.1: USB control request for firmware upload failed.
  Error number -110
 
  usb 1-1.1: Could not upload firmware code uph. Error number
  -110
  zd1211rw 1-1.1:1.0: couldn't load firmware. Error
  number -110

 firmware upload failed. check your firmware files?





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

[zd1211-devs] zd1211rw 1-1.1:1.0: zd_usb_ioread16v() read timed out

2008-10-07 Thread Sundar Visvanathan
I am unable to get the belkin wifi dongle work on my ARM target board.I have
described my complete steps.Any advise appreciated.
1.Is there any other known kernel patches that I can apply?
2.Is something wrong with my USB subsystem?
3.I have tried various cable length/with and without hub.Any other ideas?

Usb dongle:BelkinF5D7050 (ZD1211 based,verified with windows driver)

--
# uname -r
2.6.24.7-omap1-arm2

kernel configuration:

 Networking - Wireless-  Wireless extensions ,
 Generic IEEE 802.11 Networking Stack (mac80211),
 'simple' rate control algorithm ,Enable debugging output ,
  Software MAC add-on to the IEEE 802.11 networking stack

  Device Drivers-Networking Device Support-Wireless LAN-ZyDAS
ZD1211/ZD1211B USB-wireless support
  Device Drivers-USB device support- EHCI HCD (USB 2.0) support(disabled)
  Device Drivers-USB device support-USB Gadget Support-Gadget Zero
(DEVELOPMENT)
  Device Drivers-Generic options-support for firmware upload

Toolchain:
arm Codesourcery 2007q3

lsusb
-
bus 001 Device 003: ID 1267:0103 Logic3 / SpectraVideo plc
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub(I am
behind the usb hub)
Bus 001 Device 001: ID :

Dmesg
--

usb 1-1.1:1.0: uevent
zd1211rw 1-1.1:1.0: usb_probe_interface
zd1211rw 1-1.1:1.0: usb_probe_interface - got id
usb 1-1.1: print_id() 050d:705c v4810 full
usb 1-1.1: reset full speed USB device using musb_hdrc and address 5
zd1211rw 1-1.1:1.0: zd_netdev_alloc() netdev-flags 0x1002
zd1211rw 1-1.1:1.0: zd_netdev_alloc() netdev-features 0x
zd1211rw 1-1.1:1.0: zd_chip_read_mac_addr_fw()
zd1211rw 1-1.1:1.0: probe() successful
zd1211rw 1-1.1:1.0: eth1
drivers/usb/core/inode.c: creating file '005'
usb 1-1.1: new device strings: Mfr=16, Product=32, SerialNumber=0
usb 1-1.1: Product: USB2.0 WLAN
usb 1-1.1: Manufacturer: Belkin
hub 1-1:1.0: state 7 ports 4 chg  evt 0002
zd1211rw 1-1.1:1.0: iw_get_range()
zd1211rw 1-1.1:1.0: zd_usb_init_hw()
usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_ub
usb 1-1.1: upload_firmware() firmware device id 0x4810 is equal to the
actual device id
usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_uphr
usb 1-1.1: upload_code() transfer size 4096
usb 1-1.1: upload_code() transfer size 1024
usb 1-1.1: upload_code() firmware confirm return value 0x01
zd1211rw 1-1.1:1.0: zd_usb_enable_int()
zd1211rw 1-1.1:1.0: zd_usb_enable_int() submit urb c7f0f120
zd1211rw 1-1.1:1.0: zd_chip_init_hw()
zd1211rw 1-1.1:1.0: dump_cr() CR_AFTER_PNP 0x
zd1211rw 1-1.1:1.0: dump_cr() CR_GPI_EN 0x
zd1211rw 1-1.1:1.0: zd_usb_ioread16v() read timed out
zd1211rw 1-1.1:1.0: zd_ioread32v_locked() error: zd_ioread16v_locked. Error
number -110
zd1211rw 1-1.1:1.0: dump_cr() error reading CR_INTERRUPT. Error number -110
zd1211rw 1-1.1:1.0: zd_usb_disable_int() urb c7f0f120 killed
zd1211rw 1-1.1:1.0: zd_usb_init_hw() couldn't initialize mac. Error number
-110
zd1211rw 1-1.1:1.0: iw_get_range()
zd1211rw 1-1.1:1.0: zd_usb_init_hw()
usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_ub
usb 1-1.1: upload_firmware() firmware device id 0x4810 is equal to the
actual device id
usb 1-1.1: request_fw_file() fw name zd1211/zd1211b_uphr
usb 1-1.1: upload_code() transfer size 4096
usb 1-1.1: upload_code() transfer size 1024
usb 1-1.1: upload_code() firmware confirm return value 0x01
# NetworkManager: WARN  nm_device_802_11_wireless_scan(): could not
trigger wireless scan on device eth1: No such device


# ifconfig eth1 up
musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 020a
musb_h_ep0_irq 1090: no URB for end 0
usb 1-1.1: USB control request for firmware upload failed. Error number -110

usb 1-1.1: Could not upload firmware code uph. Error number -110
zd1211rw 1-1.1:1.0: couldn't load firmware. Error number -110
ifconfig: SIOCSIFFLAGS: Connection timed out
# musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 020a
musb_h_ep0_irq 1090: no URB for end 0
usb 1-1.1: USB control request for firmware upload failed. Error number -110

usb 1-1.1: Could not upload firmware code uph. Error number -110
zd1211rw 1-1.1:1.0: couldn't load firmware. Error number -110

Thanks
Sundar
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: [zd1211-devs] zd1211rw 1-1.1:1.0: zd_usb_ioread16v() read timed out

2008-10-07 Thread Hin-Tak Leung
--- On Tue, 7/10/08, Sundar Visvanathan [EMAIL PROTECTED] wrote:
snipped
 usb 1-1.1: USB control request for firmware upload failed.
 Error number -110
 
 usb 1-1.1: Could not upload firmware code uph. Error number
 -110
 zd1211rw 1-1.1:1.0: couldn't load firmware. Error
 number -110

firmware upload failed. check your firmware files?


  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs