You are not logged in.
Pages: 1
Let me preface this with, I hope this is the right forum for this topic, if not please change it. Thank you.
Ok, so I am attempting to get my CM19a Transmitter working with my system. I have followed the instructions here - http://pr0gr4mm3r.com/linux/getting-you … -in-linux/ - and used the cm19a driver found here - http://m.lemays.org/projects/x10-cm19a-linux-driver. When issuing "make" inside the unpacked directory I get an error complaining about a missing smp_lock.h file in inlude/linux. I searched on the web and apparently this file has been removed from recent kernels so it is an expected error in some situations. I however do not have the knowledge to solve this problem so I am hoping someone here can.
If anyone has any guidance it would be much appreciated. Thanks in advance.
PS - I have already contacted the developer of the driver but have not yet heard back.
Last edited by mtbrooks33 (2012-06-13 13:31:12)
Offline
Anyone? I would like this transmitter to work ASAP because I intend to use it to control a stage light for a DJ gig on Saturday.
Offline
Maybe? http://idratherhack.blogspot.com/2011/0 … lockh.html or install Ubuntu 7.10.
And you should make a pkgbuild.
Do they still make X10 systems? I haven't seen one in 10 years.
Offline
Yeah they do, I was recommended to use one for a friend. I basically needed a cheaper way to control a DJ stage light that is "plug and play" and has no power switch (you plug it in, it goes), so my goal was to get the driver working and write a script that will automate the on / off times.
But to your point, I came across that and copied over the smp_lock.h file. That solved the problem where it was missing (obviously) but another one came up. Here is the output after running make again:
[matt@matt-archlinux x10-cm19a-0.1.2]$ make
....
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC /home/matt/CM19ASetup/LemayDriver/x10-cm19a-0.1.2/x10-cm19a.mod.o
LD [M] /home/matt/CM19ASetup/LemayDriver/x10-cm19a-0.1.2/x10-cm19a.ko
make[1]: Leaving directory `/usr/src/linux-3.3.8-1-ARCH'And after running "make CONFIG_DEBUG_SECTION_MISMATCH=y' I get this -
WARNING: /home/matt/CM19ASetup/LemayDriver/x10-cm19a-0.1.2/x10-cm19a.o(.data+0x68): Section mismatch in reference from the variable X10Cm19ADriver to the variable .devinit.data:DeviceTab
The variable X10Cm19ADriver references
the variable __devinitdata DeviceTab
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
CC /home/matt/CM19ASetup/LemayDriver/x10-cm19a-0.1.2/x10-cm19a.mod.o
LD [M] /home/matt/CM19ASetup/LemayDriver/x10-cm19a-0.1.2/x10-cm19a.ko
make[1]: Leaving directory `/usr/src/linux-3.3.8-1-ARCH'This error message tells me to "annotate a variable" which seems pretty self explanatory - I just append "_init" or something to the file name right? - The problem is that I don't know what file or variable they're talking about!
Offline
Curious as to why you're trying to get a driver working that hasn't been updated in years.
Why not use the existing driver (ati_remote) and use something like mochad as the interface to it?
Offline
Because I have been trying to.get at I remote and the current driver on cuddon.com to work but to no avail. I posted the details of a problem I'm having on the website - http://www.cuddon.net/2011/09/python-x1 … 0.html?m=1 - my comment is the last one by "matt brooks"
Offline
Pages: 1