On Nov 19, 10:38 am, Pierre-François Bonnefoi <[email protected]>
wrote:
> I'm struggling to compile a new kernel with support of USB bluetooth.

Normally you would approach this by first making sure you can rebuild
the kernel already on the device using the existing configuration file
so that it works.  This can be challenging if you have trouble
tracking down the precise sources and compiler that were used, or if
the procedure for installing a kernel on the device is less than
clearly specified.

Then you take a driver for the peripheral, preferably one already
tested on a desktop linux 2.6 kernel, and try to build and configure
that in the proven kernel for your android device.  It may be simpler
to do it as a built-in rather than as a module, unless your device
already has module based drivers which you can use as an example for
where to store them and when to load them.

Then you do whatever you need to in userspace to make the new device
useful to custom applications (could be as easy as adding a device
file) or the android platform (perhaps quite a bit of work)

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to