git-hanjo / fowsr

Automatically exported from code.google.com/p/fowsr
0 stars 0 forks source link

Fowsr USB Read Problem #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a new TP1080WC purchased within the last month.  It works well with 
Easyweather and Cumulus when configured as "Fine Offset (WH1080 etc).

I am using OpenWRT (Firmware Version: OpenWrt Attitude Adjustment 12.09 / LuCI 
0.11.1 Release (0.11.1) Kernel Version  3.3.8) and Fowsr 1.0-20110904-1 
on TP-Link TL-MR3020 V1.

I cannot get a response from the WH1080 with or without an external USB Hub.

This is what I see:

root@OpenWrt:~# fowsr -w
00414764 | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ | ....
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
fowsr: fowsr.c: 95: CUSB_Open: Assertion `dev' failed.
Aborted
root@OpenWrt:~#

I seem to be talking to the USB Port on the TP1080WC as it reads the IdV and 
IdP.

root@OpenWrt:~# lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.03
  iManufacturer           3 Linux 3.3.8 ehci_hcd
  iProduct                2 Generic Platform EHCI Controller
  iSerial                 1 ehci-platform
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
Device Status:     0x0001
  Self Powered

Can anyone give me a suggestion of where to go next?

Thanks

Doug

Original issue reported on code.google.com by dougd.h...@gmail.com on 1 Jun 2014 at 3:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Not a fowsr bug. MR3020 can't talk without a hub to fullspeed (aka USB 1.1) 
devices.
Cheers.

Original comment by maw.alp...@gmail.com on 21 Mar 2015 at 1:01