I’m loading driver with insmod and everything seems to be ok(adc_major=252),
then I’m open adc successfully with open() function
but then nothing works. not ioctl(), not read() functions.
Does anyone have any ideas?
How do you load the driver?
insmode ./adc.ko
Maybe I have wrong driver? Instruction says adc_driver.ko and I have adc.ko, can you send me real driver?
The problem could be in relation with the wrong adc.h file contained in
to the debian:/opt/crosstools/usr/include/linux/adc directory of the
Telit coLinux Development Environment. Can you send this file to us for a check?
Yes this was the problem, I have placed header from firmware sources and now it works.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi,
I’m having problem with adc driver.
I’m loading driver with insmod and everything seems to be ok(adc_major=252),
then I’m open adc successfully with open() function
but then nothing works. not ioctl(), not read() functions.
Does anyone have any ideas?
How do you load the driver?
insmode ./adc.ko
Maybe I have wrong driver? Instruction says adc_driver.ko and I have adc.ko, can you send me real driver?
The problem could be in relation with the wrong adc.h file contained in
to the debian:/opt/crosstools/usr/include/linux/adc directory of the
Telit coLinux Development Environment.
Can you send this file to us for a check?
Yes this was the problem, I have placed header from firmware sources and now it works.