[libhid-discuss] problems with libhid and Oregon Scientific weather station WMRS203 (interrupt read)
Jordi Puigsegur
jordi.puigsegur at gmail.com
Sat Aug 1 15:00:25 UTC 2009
Where can I find information on the hidraw API and how to use it?
Thanks,
Jordi.
2009/7/31 Jordi Puigsegur <jordi.puigsegur at gmail.com>
> My plans are to add support for this type of weather station to an existing
> open source weather server, wview. The software runs on a variety of *nix
> operating systems and I would like to take an approach that is most standard
> and more likely to work on many *nix systems. The sofware also runs on SBC
> computers like NLSU, Sheeva plug, etc.
>
> Therefore my goal should be to take the aproach that will be more likely to
> work on any *nix system. So far I see that there are several options:
>
> * user space solution: libusb + libhid
>
> * hidraw driver API
> I suppose that most *nix have this driver loaded on the kernel. What I
> don't understand is what you suggest about the possibility of writting a
> backend for libhid using hidraw driver.
>
> * usbserial
> I don't know much about this option and I don't know if this specific
> device can run using this driver. Data is received through an interrupt but
> it seems that the reset command is transfered using control_data, not a
> write interrupt.
>
>
> Thanks,
> Jordi.
>
> 2009/7/30 Peter Stuge <peter at stuge.se>
>
> Jordi Puigsegur wrote:
>> > [ 78.544058] usb 4-1: new low speed USB device using uhci_hcd and
>> address 3
>> > [ 78.718640] usb 4-1: configuration #1 chosen from 1 choice
>> > [ 78.735138] generic-usb 0003:0FDE:CA01.0002: hiddev96,hidraw1: USB
>> HID v1.10 Device [Universal Bridge] on usb-0000:00:1d.0-1/input0
>> >
>> > The last three lines appear when the weather station is plugged in
>> > the computer. Someone has pointed me out that in Ubuntu Jaunty the
>> > usbserial is built-in in the kernel, however I don't see it in
>> > dmesg. I suppose that is not the problem.
>>
>> If I were you I would just program the hidraw API directly to begin
>> with. Then maybe look into making a hidraw backend for libhid.
>>
>> Is portability across many operating systems important for you?
>>
>>
>> //Peter
>>
>> _______________________________________________
>> libhid-discuss mailing list
>> libhid-discuss at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
>> http://libhid.alioth.debian.org/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20090801/a7b22d8a/attachment.htm>
More information about the libhid-discuss
mailing list