I've tried to get this working for the past 2 years as a gsd, and have picked it up again a couple of days ago.The furthest I've got is a template which registers but will not work because "no com port specified".wether ComPortOnPc is used as a device data field or not
Udevadm info reports it as ....../hiddev0
After an intense weekend of research, I contacted J. Heenan ,the manufacturer, who has kindly provided the following
Right, I think I'm starting to understand a bit.
The basic issue is that the 'Generic Serial Device' driver in Lmce is intended only to talk to serial devices (or, oddly, network connections), and the USB dusky is not a serial device. It doesn't even pretend to be a serial device (lots of usb devices are actually serial devices with a usb <-> serial converter built in, but not the dusky).
The USB dusky is based around a PIC16C745 - it doesn't present anything like a serial interface, it is (in USB terms) a 'HID' device. You talk to it by providing binary packets of data to the linux USB HID subsystem.
There's probably 3 approaches that might work:
1) (Easiest) Swap your USB dusky for a serial model. That should then be directly possible to use with the GSD
2) Write a network listener that accepts commands from the lmce GSD and calls 'sky-control' to pass them to the sky box. It's probably still quite a lot of work though, I don't really fully understand what would be necessary and it's probably not a very clean solution.
3) (Hardest, I think) write a lmce 'device driver' that talks directly to the USB dusky, reusing the 'sky library' code that's used in sky-control.
Hope that helps!
SO......can anyone suggest a workaround without me having to learn C++?
or would anyone of you beautiful genii hazard an estimate for writing the driver ?
tho I must say it's unlikelythat I could afford this option on my own--- any other USB Dusky owners willing to chip in?
.can anyone direct me to a good beginners book on C++ ?
does anyone have any experience with the PIC16C745...?
can anyone suggest a similar/any lmce device that has a C driver, so I can study it's code?