I'll try the logread then. thanks bimo
On 12 May 2009, at 01:02, Al Johnson wrote: > It looks like a simple serial device plus a USB serial adapter. If > you switch > the USB port to host mode (see [1], note changes in kernel 2.6.28 > paths) then > plug in your compass it'll probably appear on serial port /dev/ > ttyUSB0. You > can check this using dmesg or logread to see that it was > recognised. From > there you can treat it as any other serial device. You should be > able to find > plenty of example code for that. > > [1] http://wiki.openmoko.org/wiki/USB_host > > On Monday 11 May 2009, bimo wrote: >> sorry forget to explain about that, >> I'm trying to attach digital compass (OS5000-US) to the neo >> freerunner. >> >> bimo >> >> On 11 May 2009, at 23:30, Timo Juhani Lindfors wrote: >>> Bimo Sunarfri Hantono <[email protected]> writes: >>>> I'm newbie in here, same as Mark Night I'm doing project on >>>> openmoko, >>>> I need to read data from usb sensor to openmoko (Neo Freerunner) >>>> can anybody give me an example code using QtExtended to do this? >>> >>> Hmm? You better tell us what kind of sensor it is and where the >>> documentation for that sensor is, otherwise it's very hard to help >>> >>> :-) >>> >>> _______________________________________________ >>> Openmoko community mailing list >>> [email protected] >>> http://lists.openmoko.org/mailman/listinfo/community >> >> _______________________________________________ >> Openmoko community mailing list >> [email protected] >> http://lists.openmoko.org/mailman/listinfo/community > > > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

