Kernel driver for National Instruments USB-6251 device

by jm » Tue, 12 Jan 2010 20:23:02 GMT


Sponsored Links
 Hi,
Has any one done any work towards building a USB driver for any of the
National Instruments multifunction I/O devices (specifically the NI-
USB-6251...) ?

I have downloaded the Linux 2.7 DDK from NI, which provides the source
for a generic kernel driver, but I have never rebuilt (or modified) a
Linux kernel before.

Are there pointers to any 'how-to' pages/docs available?

regards,
jm



Kernel driver for National Instruments USB-6251 device

by Greg KH » Tue, 12 Jan 2010 20:26:35 GMT


 


Is this a USB device (where you plug it into a USB host), or a USB
host controller
where you are going to be running Android with it as the host controller?


Have you read, "Documentation/HOWTO" in the Linux kernel source tree?
If not, I suggest starting there, that is what it was written for :)

good luck,

greg k-h


Sponsored Links


Kernel driver for National Instruments USB-6251 device

by jm » Tue, 12 Jan 2010 20:39:31 GMT


 Hi Greg,

Thx for the fast response.

Yes, there is a USB device (NI-USB-6251), and a Motorola Droid will be
the USB Host Controller.
Thanks for the ref to the doc - will start there and come back to this
thread with any questions.

-jm





> greg k-h



Kernel driver for National Instruments USB-6251 device

by jm » Fri, 15 Jan 2010 21:18:21 GMT


 Nope. No idea that this will not work.

Are you saying that the Motorola hardware cannot support the role of a
USB Host Contoller?






> greg k-h



Kernel driver for National Instruments USB-6251 device

by jm » Fri, 15 Jan 2010 21:32:17 GMT


 The kernel mods, I agree need to be performed - I have the driver
source from device manufacturer (generically, for Linunx 2.6.x) and
currently in the middle or re-building the kernel.

But you raise a good question of the USB controller on the phone - I
assumed (most likely incorrectly...) that it would support the role of
a host.

trying the keyboard...





> greg k-h



Kernel driver for National Instruments USB-6251 device

by jm » Mon, 18 Jan 2010 15:23:37 GMT


 No keyboards to be found that feature a micro-usb connector
(MotorolaDroid uses a micro...), so no-joy yet. No converter cables
either.

As far as a USB driver, I got libusb to compile (ARM) and run on the
Droid.
It's nice since it strictly user-space, and does not require any
kernel mods.
However, it wants the usbfs to be mounted, which you can't do with
rooting the phone (un-desireable, in my case).





> > greg k-h



Other Threads

1. Home button in Beagle board

Hi All,

I am testing some android apps in a beagle board with Android 2.1. But
I came to know that there is no home button in the board. I have to
test some home apps also. How will I get the Home Button press?? Is
there any way to do this?

Thanks,
SREEHARI

-- 

2. WebGL and O3D on DroidX

Does WebGL and/or O3D work on DroidX with Android 2.1?

If not, what do I need to do to make this happen?

Thanks.

-- 

3. Fwd: copybit format conversion issue, for help

4. Changing from one dev machine to another, keystore question

5. kernel panic at keyguard screen

6. BluetoothFtp

7. Waiting for root device /dev/mmcblk0p1