[Voyage-linux] Compiling voyage kernel and drivers. Ref: CM19A USB txcvr for X10 home automation

Rajarajan Rajamani (spam-protected)
Sun Jul 15 03:37:57 HKT 2012


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 page
http://www.linuxha.com/USB/cm19a.html  and http://www.linuxha.com/USB/
where he has his own libusb driver.

What I did
1. Setup Voyage-0.8.5-SDK under virtualbox. This gave me among other
things, the compiler and tool chain.
2. Downloaded the code for voyage
  apt-get install linux-source-3.2.17-voyage
  cd /usr/src
   tar -jxf linux-source-3.2.17-voyage.tar.bz2
   ln -s /usr/src/linux-source-3.2.17-voyage
/usr/src/linux-headers-3.2.17-voyage
   cd /usr/src/linux-source-3.2.17-voyage
   make   ### at the end of which I get the message Building modules,
state 2. etc
which makes me think that all the stuff needed should be in place.

3. Then, when I try to compile the CM19A driver I get the message
  root at voyage:~/iplc/driver/linux-2.6/cm19a.d# make
  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.

What additional steps are needed to get the
/lib/modulex/x.y.z-voyage/build directory ?

I have general SW development familiarity under Linux - though not
with Kernel development.
Any help would be appreciated.




More information about the Voyage-linux mailing list