Ranganath,

Ok , got it.

Does the error occur only when you add support to this sensor?

where did you add your i2c in info to that sensor, I see two i2c_board_info
structures
arrays, it should be added in this, mop500_i2c2_devices , the other one is
for non snowball
board.

Regards,
--Prabhakar Lad


On Tue, Feb 7, 2012 at 2:41 PM, Ranganath TM <ranganath...@asmaitha.com>wrote:

> Hi Prabhakar,
>
> Thanks for your support,
>
> I am working on *snowball PDK version(v7),*
>
> where the arrangment of *sensor are different*, so i need to *enable 
> lsm303dlhc
> sensor*,
>
> and the driver file for that is* /kernel/drivers/hwmon/lsm3030dlhc_a.c*and in 
> board file, the sensor
> *lsm303dlhc* is no where it is added,
>
> so I added the lines of code which I mailed you in last mail.
>
> Thanks,
> Ranga
>
>
>
>
> On Tue, Feb 7, 2012 at 12:58 PM, Prabhakar Lad <prabhakar.cse...@gmail.com
> > wrote:
>
>> Ranganath,
>>
>> I had a look @board-mop500-sensors.c there is already support for this
>> lsm303dlh_m sensor,
>> here is the code snippet for it,
>>        {
>>                /* LSM303DLH Magnetometer */
>>                I2C_BOARD_INFO("lsm303dlh_m", 0x1E),
>>                .platform_data = &lsm303dlh_pdata,
>>        },
>> why are you changing it?
>>
>> Regards,
>> --Prabhakar Lad
>>
>> On Tue, Feb 7, 2012 at 10:32 AM, Ranganath TM <ranganath...@asmaitha.com>
>> wrote:
>> > Hi Prabhakar,
>> >
>> > I am working on snowball A9500 board, In that I trying to enable
>> LSM303DLHC
>> > Senor which is Accelorometer, In board-mop500-sensor.c,
>> >
>> > is an board file of sensor, In that for I2C driver function I am adding
>> > address has 0x32 and giving the lsm303dlhc the name in driver, also I am
>> >
>> > writing the platform_data function.
>> >
>> >
>> > logs :
>> >
>> >   1.987487] arch/arm/mach-ux500/board-mop500-sensors.c: failed to
>> register
>> > lsm303dlh_m to i2c2
>> > [    1.996276] arch/arm/mach-ux500/board-mop500-sensors.c: failed to
>> > register l3g4200d to i2c2
>> > [    2.004821] arch/arm/mach-ux500/board-mop500-sensors.c: failed to
>> > register lps001wp_prs_sysfs to i2c2
>> > [    2.206787] nmk-i2c nmk-i2c.2: Write to slave 0x18 timed out
>> > [    2.212463] nmk-i2c nmk-i2c.2: no ack received after address
>> transmission
>> > [    2.416870] nmk-i2c nmk-i2c.2: Write to slave 0x18 timed out
>> > [    2.422515] nmk-i2c nmk-i2c.2: no ack received after address
>> transmission
>> > [    2.516906] usb 1-1: new low speed USB device number 2 using
>> musb-hdrc
>> > [    2.627014] nmk-i2c nmk-i2c.2: Write to slave 0x18 timed out
>> > [    2.632659] nmk-i2c nmk-i2c.2: no ack received after address
>> transmission
>> > [    2.639831] arch/arm/mach-ux500/board-mop500-sensors.c: failed to
>> > register lsm303dlh_a to i2c2
>> >
>> > Thanks,
>> >
>> > Ranga.
>> >
>> >
>> >
>> > On Mon, Feb 6, 2012 at 12:14 PM, Prabhakar Lad <
>> prabhakar.cse...@gmail.com>
>> > wrote:
>> >>
>> >> Ranganath,
>> >>
>> >> For which  sensor are trying to build? Is there a existing base driver
>> for
>> >> capture for snowball board?
>> >> If it has a base driver, add some debug msgs in the probe.
>> >>
>> >> WBR,
>> >> --Prabhakar Lad
>> >>
>> >>
>> >> On Thu, Feb 2, 2012 at 3:58 PM, Ranganath TM <
>> ranganath...@asmaitha.com>
>> >> wrote:
>> >>>
>> >>> Hi All,
>> >>>
>> >>> I am trying to port the sensors on ICS on snowball PDK(v7),
>> >>>
>> >>> I had done the following steps to enable it,
>> >>>
>> >>> In menuconfig,
>> >>>
>> >>> I enabled LSM303DLHC,
>> >>>
>> >>> After that I changed the board file by adding the sensor address and
>> >>> data,
>> >>>
>> >>> both are compiled and object files are created but i am not getting
>> >>> the logs and sensor are not working,
>> >>>
>> >>> please help me regarding the issues,
>> >>>
>> >>> Thanks and Regards,
>> >>>
>> >>> Ranganath.T.M
>> >>>
>> >>> --
>> >>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> >>> website: http://groups.google.com/group/android-porting
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Thanks And Regards
>> > Ranganath T.M
>> >
>>
>
>
>
> --
> Thanks And Regards
> Ranganath T.M
>
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to