Modify

Opened 6 years ago

Closed 3 years ago

#10740 closed defect (wontfix)

fowsr only reads zeros

Reported by: wrosner@… Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: fowsr usb hiddev Cc:

Description

Problem:

fowsr reads only zeros from the device:

root@OpenWrt:/opt/pywws# fowsr -b
004144A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
004144B0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
004144C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
004144D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
004144E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

I'd expect something like

root@OpenWrt:/opt/pywws# python pywws-11.10_r429/TestWeatherStation.py
0000 55 aa 30 e9 00 63 2b 00 ef 25 00 00 00 80 00 00 1e 20 02 20 09 00 00 00 00 00 00 d8 01 00 70 1e
0020 cf 25 2b 24 00 00 00 00 00 00 00 12 01 05 19 07 41 23 c8 00 00 00 46 2d 2c 01 64 80 c8 00 00 00
0040 64 00 64 80 a0 28 80 25 a0 28 80 25 00 b4 00 00 68 01 00 0a 00 f4 01 12 00 00 00 00 00 00 00 00
0060 00 00 35 21 63 41 08 01 d1 00 50 00 14 80 50 00 14 80 4f 00 1d 80 f1 25 04 24 95 27 a8 25 00 00
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 11 12 28 06 03 12 01 03 16 52 10 01 01 12 00 12 01 03 14

Working pywws also proves that driver, line, station etc are in place and working.

We have a proper /dev/hiddev0 in place

root@OpenWrt:/opt/pywws# dmesg | grep hid
[   36.740000] generic-usb 0003:1941:8021.0001: hiddev0: USB HID v1.00 Device [HID 1941:8021] on usb-ar71xx-ehci-1.1/input0
[   36.750000] usbcore: registered new interface driver usbhid
[   36.760000] usbhid: USB HID core driver
[25637.690000] generic-usb 0003:1941:8021.0002: hiddev0: USB HID v1.00 Device [HID 1941:8021] on usb-ar71xx-ehci-1.1/input0

root@OpenWrt:/opt/pywws# la /dev/hiddev0
crw-r--r--    1 root     root      180,  96 Jan  5 19:10 /dev/hiddev0

drivers are loaded

root@OpenWrt:/opt/pywws# lsmod | grep hid
usbhid                 19936  0
hid                    58976  1 usbhid
usbcore                96464 15 usbip,vhci_hcd,usbhid,pl2303,oti6858,option,cp210x,ark3116,usb_wwan,usbserial,ledtrig_usbdev,usb_storage,ohci_hcd,ehci_hcd
input_core             19824  6 usbhid,hid,button_hotplug,gpio_keys_polled,input_polldev

And the station, labelled 'Conrad WH2080', is recognized as compatible:

root@OpenWrt:/opt/pywws# lsusb
Bus 001 Device 005: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher

fowsr is installed on /opt using opkg -d option.

What wonders me that according to above listing, fowser appears to start readout at 004144A0 instead of 00000, as pywws does it.

System: bleeding edge, r29631 on TP 3220

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by anonymous

Maybe pywws used this HID device?

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

fowsr is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.