Re: lm75_remove: LM75 Device remove using sysfs delete_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Jun 14, 2012 at 12:37 AM, Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> wrote:
On Wed, Jun 13, 2012 at 01:59:50PM -0400, Jean Delvare wrote:
> On Wed, 13 Jun 2012 21:52:02 +0530, Sasikanth babu wrote:
> > Yes, as you had mentioned we just backported I2c mux support.
> > I planning to use
> > linux-2.6.39.4.tar.bz2<http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.4.tar.bz2>kernel
> > (Since I cant go to 3.x kernels for now).
> > Is that version is fine with I2c mux devices or do I have to go with 3.x
> > kernels.?
>
> 2.6.39.4 should work fine with regards to i2c muxing, however this
> branch is already out of maintenance while the 3.0 branch is a longterm
> branch so it will be maintained for some more time (not sure exactly
> how long though.) So if 3.0 is an option, you should consider it seriously.
>
I definitely agree, but that smells like large company process to me.
Sasikanth may not have much of a choice.

Guenter

Sorry guys for bothering you again

 I was running 2.6.39.4 kernel now.  Software reboot always creating problems with LM75 device and saying address
 is busy but with hardware reboot It works fine (since all the power to board gets resets)

 Added a error message on failure of i2c_check_addr_busy.
 
        /* Check for address business */
        status = i2c_check_addr_busy(adap, client->addr);
        if (status) {
             dev_err(&adap->dev, "Address Busy to register i2c client %s at 0x%02x "
                "(%d)\n", client->name, client->addr, status);

                goto out_err;
        }



 i2c i2c-3: Address Busy to register i2c client lm75 at 0x4c (-16) 
 i2c i2c-3: Failed to register i2c client lm75 at 0x4c (-16)
i2c i2c-3: Address Busy to register i2c client lm75 at 0x4b (-16)
i2c i2c-3: Failed to register i2c client lm75 at 0x4b (-16)
 
Thanks
Sasi
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux