David Hawkins wrote:
>
>
> Hi Neil,
>
> >> > If someone can explain to me how you compile a cross
> >> > compiled driver outside the kernel
> >>
> >> These notes should help you setup a cross-compiler:
> >>
> >> http://www.ovro.caltech.edu/~dwh/ts7300/
> <http://www.ovro.caltech.edu/~dwh/ts7300/>
> >> <http://www.ovro.caltech.edu/~dwh/ts7300/
> <http://www.ovro.caltech.edu/~dwh/ts7300/>>
> >>
> >> There's an example driver on that page, that you can
> >> use to test your setup.
> >
> > Why that's the most bizarre thing, it's exactly what I need!
>
> Oh, not so bizarre, its what you asked for :)
:-)
> > I may also attempt to use libusb/libhid as that gets rid of
> > the driver problem (needs to be compiled for each new kernel).
>
> Sorry, haven't played with libusb. But as a general
> rule for stuff like that, I'd play with it under
> x86 Linux first, then figure out what doesn't work
> on the TS-7300. It helps you eliminate errors with
> the setup of the library, versus platform-specific
> issues related to the setup on the TS-7300.
Thanks Dave, I have both the USB module and
libusb/libhid working very well under x86. That's
where I learned how to handle the driver. My other
USB drivers are based on the libusb driver. Makes
it look like a dumb serial port (no ioctl/controls).
Right now I'm working on cleaning up and adding more
functionality to the programs that use the drivers.
When I've done a little more work I'll try the whole
thing under the 7200 , which is what I'm using.
BTW, libusb/libhid move everything to the user
program while using the builtin HID driver. I don't
know if the 7200 has the HID subsystem (I haven't
looked). Either way I have a way of getting access
to the device.
--
Linux Home Automation Neil Cherry
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|