Hey Steven,

> fowsr: fowsr.c: 95: CUSB_Open: Assertion `dev' failed.
> Aborted
> root@Fonera:~# ulib

Looking at the source code for fowsr, it seems that fowsr isn't really keen
on producing nice error messages, preferring to abort with an assertion
error instead.

This assertion is triggered here:

http://code.google.com/p/fowsr/source/browse/trunk/fowsr-1.0/fowsr.c#94

Which probably means libusb cannot find the particular USB device fowsr is
looking for. Looking a bit further to see where vendor and product are
defined, I see:

http://code.google.com/p/fowsr/source/browse/trunk/fowsr-1.0/fowsr.c#287

In other words: fowsr specifically looks for an USB device with a vid of
0x1941 and a pid of 0x8021.

It seems likely that either you don't have this particular USB device, or
that somehow the Fonera is not detecting it properly.

Is the device listed in /proc/bus/usb/devices?

root@Fonera:~# cat /proc/bus/usb/devices

* This should be the 4 port usb hub ???
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.21.7 dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=lm0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

* This should be the device in question : 
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0409 ProdID=005a Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

In the past there was also a discussion about this on the FON forum but no
solution came out of it

http://boards.fon.com/forum/viewtopic.php?f=8&t=2112  (closed)

Other forums about it:
http://www.homeautomationhub.com/content/wh1080-weather-station-intergration
using a "livebox"

I was hoping my "libusb" was too old? 0.1.2 used instead of 1.0.9?
Or there was a "libusb-dev" or something?

For compatibility ...I'll do an easyweather check in a few days
https://code.google.com/p/fowsr/wiki/Compatibility



_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to