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 <[email protected]> > 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 > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss > http://libhid.alioth.debian.org/ >
_______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss http://libhid.alioth.debian.org/

