Prowler weather station connected via USB. Ubuntu 9.10 doesn't recognise it
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Prowler weather station connected via USB. Ubuntu 9.10 doesn't recognise it
I have a Prowler weather station connected via USB. Ubuntu does not recognize this. I am wanting to work with the data on the weather station on my computer.
I would assume that the problem lies within 1941:8021 Dream Link USB Missile Launcher.
Could you please assist.
Thank you in advance for any advice that you might have.
Joel
Terminal readout is:
user@user-laptop:~$ lsusb
Bus 005 Device 002: ID 1941:8021 Dream Link USB Missile Launcher
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05ca:1837 Ricoh Co., Ltd Visual Communication Camera VGP-VCC4 [R5U870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
user@user-laptop:~$ mount | grep ^/dev
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
joel@joel-laptop:~$ dmesg|tail -40
[ 16.859344] iwlagn 0000:06:00.0: loaded firmware version 228.61.2.24
[ 17.074072] Registered led device: iwl-phy0::radio
[ 17.074093] Registered led device: iwl-phy0::assoc
[ 17.074113] Registered led device: iwl-phy0::RX
[ 17.074131] Registered led device: iwl-phy0::TX
[ 17.101154] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
[ 17.103261] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[ 17.104167] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
[ 17.104906] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
[ 17.105837] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
[ 17.127813] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.205177] usbcore: deregistering interface driver uvcvideo
[ 17.273992] Linux video capture interface: v2.00
[ 17.276604] uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1837)
[ 17.279214] input: UVC Camera (05ca:1837) as /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/input/input11
[ 17.279258] usbcore: registered new interface driver uvcvideo
[ 17.279261] USB Video Class driver (v0.1.0)
[ 17.312044] usbcore: deregistering interface driver uvcvideo
[ 17.380712] Linux video capture interface: v2.00
[ 17.383355] uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1837)
[ 17.384064] input: UVC Camera (05ca:1837) as /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/input/input12
[ 17.384109] usbcore: registered new interface driver uvcvideo
[ 17.384113] USB Video Class driver (v0.1.0)
[ 19.330603] usbcam: registering driver r5u870 0.11.3
[ 19.330635] usbcore: registered new interface driver r5u870
[ 19.458233] ppdev: user-space parallel port driver
[ 42.351517] wlan0: authenticate with AP 00:14:6c:4e:72:72
[ 42.353264] wlan0: authenticated
[ 42.353267] wlan0: associate with AP 00:14:6c:4e:72:72
[ 42.356081] wlan0: RX AssocResp from 00:14:6c:4e:72:72 (capab=0x431 status=0 aid=2)
[ 42.356083] wlan0: associated
[ 42.378038] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 53.068699] wlan0: no IPv6 routers present
[ 436.000777] CE: hpet increasing min_delta_ns to 15000 nsec
[ 483.913077] usb 5-1: new low speed USB device using uhci_hcd and address 2
[ 484.101151] usb 5-1: configuration #1 chosen from 1 choice
[ 484.173837] usbcore: registered new interface driver hiddev
[ 484.212067] generic-usb 0003:1941:8021.0001: hiddev96,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-0000:00:1d.0-1/input0
[ 484.212105] usbcore: registered new interface driver usbhid
[ 484.212111] usbhid: v2.6:USB HID core driver
user@user-laptop:~$
From what I'm reading on the net (via Google) either your weather station is hardcoded with the incorrect USB ID, or the kernel code (or Ubuntu USB database) is miscoded, and that USB ID is being seen as USB Missile Launcher
Chances are good that the thing will not work properly, if at all, unless we can find a patch that fixes the wrong USB ID. Do you happen to have any software for the weather station? Linux software? EDIT - found the software download. (but is it Win or Lin?)
If I find more on this, I'll post it.
PS - Has this weather station ever worked for you on Linux, or is this a first attempt?
Sasha
Last edited by GrapefruiTgirl; 01-29-2010 at 01:03 AM.
Glad you got it working with Wine for the time being, as you might have to stick with that if there is no Linux software for the device. I too noticed that the software available online was for Windows only. So, even if the USB ID gets sorted out, there's still the issue of "no software for Linux".
As for USB drivers, for the most part, the Linux kernel has the USB part of it built in; the only condition(s) for the device to work right, is that the USB device ID (abcf:defg) is correctly identified by the kernel, and that the kernel has a driver, if necessary, for the device.
Other threads I have read about this device, which I found by Google, had situations similar to yours: either the USB device was wrongly identified (as a missile launcher) or there was a lack of software to run the device.
I already came across the link you posted above too on the Ubuntu site.
I also came to another thread or mailing list somewhere, where another owner (or maybe you??) of this weather station was in contact with the Linux kernel USB maintainers, and had IIRC filed a bug about the wrong USB ID. I'm not sure what if anything came of that, but you might do some heavy-duty googling to see if you can find this, and if you cannot determine if anything is ongoing with the kernel developers about this, maybe file a bug report of your own, to the USB maintainers.
Sorry I don't really know what to do further, at this point
I'm running Ubuntu 10, and trying to connect to a "Scientific Sales" weather station WS1093 (complete with Chinglish manual). I'm trying to get the suggested software (Cumulus) to work with it via Wine. But I'm seeing exactly the same thing -- same manufacturer ID and missile launcher ID.
Hoping one of you guys 3 months ahead of me figured it out!
Unfortunately, I have not found a solution yet for correcting this problem. The only advice was to dual-boot and use Windows to load the weather station device.
Please post if you have any success to let us all know how to fix this issue.
I still consider myself a bit of a newbie with Ubuntu, though I hate the word.
I've installed GCC and gone to all of the sites, but just can't connect the dots. Could you perhaps fill me in on exactly what you did to get it working, and if you're using Ubuntu/Linux, what weather software you're working with?
*****
joel@joel-laptop:~$ cd /etc/udev
joel@joel-laptop:/etc/udev$ ls
rules.d udev.conf
joel@joel-laptop:/etc/udev$ cd rules.d
joel@joel-laptop:/etc/udev/rules.d$ ls
39-weather.rules 70-persistent-net.rules README
70-persistent-cd.rules 90-r5u87x-loader.rules
joel@joel-laptop:/etc/udev/rules.d$ cat 39-weather.rules
SYSFS{idProduct}=="8021", SYSFS{idVendor}=="1941", MODE="660", GROUP="plugdev"
joel@joel-laptop:/etc/udev/rules.d$ gcc -o wssr wssr.c /usr/lib/libusb.so
gcc: wssr.c: No such file or directory
joel@joel-laptop:/etc/udev/rules.d$
*****
Also, here is my lsusb list.
joel@joel-laptop:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1941:8021 Dream Link USB Missile Launcher
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05ca:1837 Ricoh Co., Ltd Visual Communication Camera VGP-VCC4 [R5U870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It's hard to know just how much a "newbie" (sorry) someone is, so I left out some steps.
First, make sure that you have installed the the libusb library. I did this using the "Synaptic Package Manager"... go to the System menu, choose Applications, then choose Synaptic Package Manager. Put in your 'root' password.
Search for "libusb-0.1" (without the quotes). If it's not already installed (the square is green), then install it.
You need to download the file http://meteolinger.lowlevel.cz/anonsvn/driver/wwsr.c -- probably it will automatically go into your Downloads directory, so you should move it to somewhere more appropriate... I suggest creating a weather directory, and moving it there, as follows
cd ~
mkdir weather
cd weather
cp ~/Downloads/wwsr.c .
gcc -o wssr wssr.c /usr/lib/libusb.so
You should now find a file called wssr in the 'weather' directory. Type
Now, I've got the weather information showing up in the terminal, however how do I get it to work with weather software? and do you suggest any software that works well with Ubuntu?
Prior to installation, I ran "update-usbids" to make sure I have the latest available info.
The following is seen in /var/log/messages upon USB device insertion: -
kernel: [634601.160205] usb 1-4.2.2: new low speed USB device using ehci_hcd and address 8
kernel: [634601.277991] usb 1-4.2.2: configuration #1 chosen from 1 choice
kernel: [634601.285731] generic-usb 0003:1941:8021.0006: hiddev97,hidraw4: USB HID v1.00 Device [HID 1941:8021] on usb-0000:00:1a.7-4.2.2/input0
# lsusb | grep 1941
Bus 001 Device 008: ID 1941:8021 Dream Link USB Missile Launcher
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.