[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

WH-3080 unter Linux spinnt



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.

Wegen der Größe habe ich die dmesg nicht angehängt. Ich sende diese gerne auf Anforderung per pm
nach.

MfG...
Pierre

Module                  Size  Used by
ppdev                   5030  0 
lp                      7462  0 
sco                     7225  2 
bridge                 39646  0 
stp                     1440  1 bridge
bnep                    9427  2 
rfcomm                 29629  10 
l2cap                  24752  16 bnep,rfcomm
crc16                   1319  1 l2cap
powernow_k8            10978  1 
cpufreq_conservative     5162  0 
cpufreq_powersave        902  1 
cpufreq_userspace       1992  0 
cpufreq_stats           2740  0 
kvm_amd                31862  0 
binfmt_misc             6431  1 
kvm                   214248  1 kvm_amd
fuse                   50924  1 
hwmon_vid               1828  0 
loop                   11799  0 
snd_hda_codec_atihdmi     2251  1 
snd_hda_codec_via      47887  1 
snd_hda_intel          20035  4 
snd_hda_codec          54244  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               5380  1 snd_hda_codec
snd_pcm_oss            32607  0 
snd_mixer_oss          12606  1 snd_pcm_oss
snd_pcm                60487  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            4400  0 
snd_rawmidi            15515  1 snd_seq_midi
snd_seq_midi_event      4628  1 snd_seq_midi
snd_seq                42881  3 snd_seq_midi,snd_seq_midi_event
snd_timer              15598  2 snd_pcm,snd_seq
snd_seq_device          4493  3 snd_seq_midi,snd_rawmidi,snd_seq
btusb                   9913  2 
snd                    46526  20 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
bluetooth              41827  9 sco,bnep,rfcomm,l2cap,btusb
i2c_piix4               8328  0 
soundcore               4598  1 snd
pcspkr                  1699  0 
snd_page_alloc          6249  2 snd_hda_intel,snd_pcm
rfkill                 13044  2 bluetooth
evdev                   7352  8 
i2c_core               15819  1 i2c_piix4
edac_core              29261  0 
fglrx                2452362  49 
parport_pc             18855  1 
k10temp                 2715  0 
edac_mce_amd            6433  0 
asus_atk0110            7686  0 
wmi                     4323  0 
processor              29935  7 powernow_k8
button                  4650  0 
parport                27954  3 ppdev,lp,parport_pc
ext3                  106710  6 
jbd                    37221  1 ext3
mbcache                 5050  1 ext3
sha256_generic          8692  8 
aes_x86_64              7340  8 
aes_generic            25714  1 aes_x86_64
cbc                     2539  4 
sg                     24069  0 
sr_mod                 12602  0 
ses                     5144  0 
cdrom                  29415  1 sr_mod
enclosure               5503  1 ses
usbhid                 33292  0 
hid                    63257  1 usbhid
dm_crypt               10664  4 
dm_mod                 53898  33 dm_crypt
raid1                  18431  5 
md_mod                 73872  6 raid1
nbd                     7985  0 
sd_mod                 29921  9 
crc_t10dif              1276  1 sd_mod
ata_generic             3239  0 
usb_storage            40057  0 
ohci_hcd               19343  0 
ahci                   32534  3 
pata_atiixp             3489  2 
libata                133776  3 ata_generic,ahci,pata_atiixp
ehci_hcd               32081  0 
xhci                   33993  0 
r8169                  36840  0 
mii                     3210  1 r8169
usbcore               122674  7 btusb,usbhid,usb_storage,ohci_hcd,ehci_hcd,xhci
firewire_ohci          19676  0 
thermal                11674  0 
scsi_mod              126533  6 sg,sr_mod,ses,sd_mod,usb_storage,libata
nls_base                6377  1 usbcore
thermal_sys            11942  2 processor,thermal
firewire_core          36848  1 firewire_ohci
crc_itu_t               1307  1 firewire_core

Bus 001 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1941 Dream Link
  idProduct          0x8021 WH1080 Weather Station / USB Missile Launcher
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
          Report Descriptor: (length is 52)
            Item(Global): Usage Page, data= [ 0xa0 0xff ] 65440
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x02 ] 2
                            (null)
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Usage Page, data= [ 0xa1 0xff ] 65441
                            (null)
            Item(Local ): Usage Minimum, data= [ 0x01 ] 1
                            (null)
            Item(Local ): Usage Maximum, data= [ 0x08 ] 8
                            (null)
            Item(Global): Logical Minimum, data= [ 0x80 ] 128
            Item(Global): Logical Maximum, data= [ 0x7f ] 127
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0xff ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x08 ] 8
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage Minimum, data= [ 0x11 ] 17
                            (null)
            Item(Local ): Usage Maximum, data= [ 0x18 ] 24
                            (null)
            Item(Global): Logical Minimum, data= [ 0x80 ] 128
            Item(Global): Logical Maximum, data= [ 0x7f ] 127
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0xff ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x08 ] 8
            Item(Main  ): Output, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)


Reply to: