WH-3080 unter Linux spinnt

Pierre Bernhardt pierre at starcumulus.owl.de
Thu Sep 29 22:36:26 CEST 2011


Hallo,

ich habe vorgestern eine Frogit WH-3080 Wetterstation bekommen.
Ich habe wview installiert und konfiguriert auf /dev/usb/hiddev0
(wird von udev angelegt) und dann die Software gestartet.
Ich konnte tatsächlich dann auch ein paar Werte sehen (habe den
Regensensor mal ausprobiert).

Nun startet allerdings die wview Software nicht mehr. Ich habe
dann mal pywws versucht, aber auch das startet nicht.

Ich habe mir dan mal mit udev monitor und mit tail /var/log/kern.log
sowie dmesg angesehen was so passiert:

USB rein:
KERNEL[1317327248.630131] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3 (usb)
KERNEL[1317327248.634001] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0 (usb)
KERNEL[1317327248.634055] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010 (hid)
UDEV  [1317327248.635751] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3 (usb)
UDEV  [1317327248.639810] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0 (usb)
UDEV  [1317327248.643329] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010 (hid)
KERNEL[1317327248.668898] add      /class/usb (class)
KERNEL[1317327248.669065] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/usb/hiddev0 (usb)
KERNEL[1317327248.669118] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010/hidraw/hidraw1 (hidraw)
UDEV  [1317327248.669401] add      /class/usb (class)
UDEV  [1317327248.670719] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/usb/hiddev0 (usb)
UDEV  [1317327248.670768] add      /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010/hidraw/hidraw1 (hidraw)

Sep 29 22:14:08 nihilnihil kernel: [31634.044752] usb 1-3: new low speed USB device using xhci_hcd and address 0
Sep 29 22:14:08 nihilnihil kernel: [31634.106919] usb 1-3: New USB device found, idVendor=1941, idProduct=8021
Sep 29 22:14:08 nihilnihil kernel: [31634.106928] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Sep 29 22:14:08 nihilnihil kernel: [31634.107116] usb 1-3: configuration #1 chosen from 1 choice
Sep 29 22:14:08 nihilnihil kernel: [31634.107123] usb 1-3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Sep 29 22:14:08 nihilnihil kernel: [31634.145843] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
Sep 29 22:14:08 nihilnihil kernel: [31634.146112] generic-usb 0003:1941:8021.0010: hiddev0,hidraw1: USB HID v1.00 Device [HID 1941:8021] on usb-0000:03:00.0-3/input0

[31572.238630] usb 1-3: USB disconnect, address 2
[31634.044752] usb 1-3: new low speed USB device using xhci_hcd and address 0
[31634.106919] usb 1-3: New USB device found, idVendor=1941, idProduct=8021
[31634.106928] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[31634.107116] usb 1-3: configuration #1 chosen from 1 choice
[31634.107123] usb 1-3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[31634.145843] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[31634.146112] generic-usb 0003:1941:8021.0010: hiddev0,hidraw1: USB HID v1.00 Device [HID 1941:8021] on usb-0000:03:00.0-3/input0


Software starten:
KERNEL[1317327326.829306] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/usb/hiddev0 (usb)
KERNEL[1317327326.829355] remove   /class/usb (class)
KERNEL[1317327326.829389] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010/hidraw/hidraw1 (hidraw)
KERNEL[1317327326.829428] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010 (hid)
UDEV  [1317327326.829849] remove   /class/usb (class)
UDEV  [1317327326.830566] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/usb/hiddev0 (usb)
UDEV  [1317327326.830617] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010/hidraw/hidraw1 (hidraw)
UDEV  [1317327326.830657] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0/0003:1941:8021.0010 (hid)


Sep 29 22:15:26 nihilnihil kernel: [31712.308789] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
Sep 29 22:15:26 nihilnihil kernel: [31712.360780] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
Sep 29 22:15:26 nihilnihil kernel: [31712.397806] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep

[31712.308789] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[31712.360780] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[31712.397806] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep

An einem anderen Controller sieht es nicht viel besser aus. Jedesmal wenn ich
die Software starte und damit dann vermutlich auf den Port zugegriffen wird
scheint sich kurz die Station abzuhängen.

Offensichtlich aber nur kurz bzw. meint wohl nur udev die müsste raus. Denn lsusb
zeigt weiterhin das Device an:
Bus 001 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher

Wenn ich nun die Station entferne

KERNEL[1317327915.490535] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0 (usb)
KERNEL[1317327915.490847] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3 (usb)
UDEV  [1317327915.491290] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3/1-3:1.0 (usb)
UDEV  [1317327915.492029] remove   /devices/pci0000:00/0000:00:09.0/0000:03:00.0/usb1/1-3 (usb)

Sep 29 22:25:15 nihilnihil kernel: [32300.967380] usb 1-3: USB disconnect, address 2

Die Ergebnisse oben sind hier unter:
Linux nihilnihil 2.6.32-5-amd64 #1 SMP Sun Sep 25 16:21:44 UTC 2011 x86_64 GNU/Linux

Ich habe auch den 3er Testingkernel probiert, dort hat es auch einmal funktioniert, dann aber
nicht mehr.

Ich habe noch mal die lsusb -v und lsmod angehängt.

Ich hoffe, dass es "nur" ein paar Timingprobleme sind, die man vielleicht mit etwas Glück
mit bestimmten Optionen in den Griff bekommt. Vielleicht wisst Ihr ja was man machen kann
um erst mal überhaupt den Grund für das Problem zu finden.

MfG...
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lsmod.log
Type: text/x-log
Size: 3816 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20110929/466da950/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lsusb-v.log
Type: text/x-log
Size: 4160 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20110929/466da950/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: text/x-log
Size: 84928 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20110929/466da950/attachment-0002.bin>


More information about the Linux mailing list