[Voyage-linux] Re: Compiling voyage kernel and drivers. Ref: CM19A USB txcvr for X10 home automation
Rajarajan Rajamani
(spam-protected)
Thu Jul 19 08:17:50 HKT 2012
On Wed, Jul 18, 2012 at 9:32 AM, Rajarajan Rajamani
<r.rajamani at gmail.com> wrote:
> On Tue, Jul 17, 2012 at 3:51 PM, malo <tension9000 at yahoo.it> wrote:
>> Rajarajan Rajamani <r.rajamani at ...> writes:
>>
>>>
>>> I am trying to compile a driver for the C19A USB RF transceiver under
>>> Voyage 0.8.5.
>>> using the code for the driver using Neil Cherrys code for the CM19A on the
>>>
>>
>>
>> -first you should set the correct paths for your
>> env in the makefile of the driver. -second, as
>> changes came up with new kernels to get rid of
>> the BKL, you must
>> patch the driver. i took a look to manage
>> the code and it seems to be compiled
>> without errors after a few mods. Here the patch:
>>
So I made the changes manually from your diff output - for some reason
due to the line wrapping in your mail, patch did not work and it was
easier to do the same changes by hand. I think I have a problem with
my voyage linux build directory as the error message I am getting is
is that /lib/modules/x.y.z-voyage/build directory cannot be found.
Though the /lib/modules/x.y.z-voyage/ directory is there, there is no
subdirectory called build there. How does that get created?
root at voyage:~/iplc/driver/linux-2.6# make cm19a
make -C /lib/modules/3.2.17-voyage/build/
SUBDIRS=/root/iplc/driver/linux-2.6/cm19a.d modules
make: *** /lib/modules/3.2.17-voyage/build/: No such file or directory. Stop.
make: *** [cm19a] Error 2
root at voyage:~/iplc/driver/linux-2.6# ls /lib/modules/3.2.17-voyage/
kernel modules.builtin modules.dep.bin modules.softdep
modules.alias modules.builtin.bin modules.devname modules.symbols
modules.alias.bin modules.dep modules.order modules.symbols.bin
root at voyage:~/iplc/driver/linux-2.6#
The makefile is very simple, what is usually found in the
/lib/modules/x.y.z-voyage/build/ directory ??
Thanks
More information about the Voyage-linux
mailing list