C
Hi all
While surfing around, I found a couple of articles on writing Linux drivers for DAQ boards that I thought list members would be interested in. One of them talks about userland drivers and one about kernel drivers. Not much depth, but the kernel driver one will be continued. Also discussed are the limitations of userland drivers vs kernel drivers and a simple snippet to demonstrate toggling a pin on the printer port. Gee, maybe we should have a link list to all
this good stuff ;^)
http://www.tmworld.com/articles/2000/05_linux.htm
http://www.tmworld.com/articles/2000/0415_Linux.htm
As long as my connection is staying up today, a few words about status.
I recieved the Optilogic Ethernet I/O and have so far managed to get dhcp to give it an IP address. I'm hacking around on some code I stole that does UDP sockets, but no cigar yet. Since UDP is usually layered under something else, there isn't a lot of good info available on using it. That's what I've been looking for. The socket
code tends to be cookbook stuff because you always have to do the same stuff to set it up. The hardware looks like a winner. Very reasonable in price. Ping turnarounds weren't very fast, but the protocol lets you string many ops in one message. I'm eager to see this work. If I have to, I'll even set up a windows box and sniff out
what they're doing. Hopefully it won't come to that. Last time I did that I wasted a day and a half and was pissed off for a week.. I still
haven't got back to the Opto22 rack, but when I do I may have to use their proto to get acceptable performance. Since I hate being coerced into using a proprietary proto, I may just scratch them off my list. They are real expensive compared to the Optilogic stuff.
As I mentioned in passing, I have a Computerboards CIO-DIO48 card on order. I have the docs from their site and am working through
a first pass I/O process to support it. I'll post issues for discussion as I run into them. The hardware should be here this week.
Progress may be a little slow, I have to put more time into robot programming for my day job :^)
Regards,
cww
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
While surfing around, I found a couple of articles on writing Linux drivers for DAQ boards that I thought list members would be interested in. One of them talks about userland drivers and one about kernel drivers. Not much depth, but the kernel driver one will be continued. Also discussed are the limitations of userland drivers vs kernel drivers and a simple snippet to demonstrate toggling a pin on the printer port. Gee, maybe we should have a link list to all
this good stuff ;^)
http://www.tmworld.com/articles/2000/05_linux.htm
http://www.tmworld.com/articles/2000/0415_Linux.htm
As long as my connection is staying up today, a few words about status.
I recieved the Optilogic Ethernet I/O and have so far managed to get dhcp to give it an IP address. I'm hacking around on some code I stole that does UDP sockets, but no cigar yet. Since UDP is usually layered under something else, there isn't a lot of good info available on using it. That's what I've been looking for. The socket
code tends to be cookbook stuff because you always have to do the same stuff to set it up. The hardware looks like a winner. Very reasonable in price. Ping turnarounds weren't very fast, but the protocol lets you string many ops in one message. I'm eager to see this work. If I have to, I'll even set up a windows box and sniff out
what they're doing. Hopefully it won't come to that. Last time I did that I wasted a day and a half and was pissed off for a week.. I still
haven't got back to the Opto22 rack, but when I do I may have to use their proto to get acceptable performance. Since I hate being coerced into using a proprietary proto, I may just scratch them off my list. They are real expensive compared to the Optilogic stuff.
As I mentioned in passing, I have a Computerboards CIO-DIO48 card on order. I have the docs from their site and am working through
a first pass I/O process to support it. I'll post issues for discussion as I run into them. The hardware should be here this week.
Progress may be a little slow, I have to put more time into robot programming for my day job :^)
Regards,
cww
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc