[lm-sensors] Asus P5B Deluxe WiFi AP Sensors
Jean Delvare
khali at linux-fr.org
Wed Sep 6 20:38:07 CEST 2006
Hi David,
> The "No such device" error is probably here in the source code:
> dev_err(dev, "unknown CHIP_ID (0x%02x)\n", i);
> err = -ENODEV;
> goto exit_remove;
>
> This error occurs if the chip is not recognized in w83627ehf_detect():
>
> /* Detect w83627ehf (10 VIN) and w83627dhg (9 VIN) */
> i = w83627ehf_read_value(client, W83627EHF_REG_CHIP_ID);
> if (i == 0xa1) { /* w83627ehf */
> dev_dbg(dev, "detected W83627EHF/EHG (A1)\n");
> data->num_in = 10;
> }
> else if (i == 0xc1) { /* w83627dhg */
> dev_dbg(dev, "detected W83627DHG (C1)\n");
> data->num_in = 9;
> }
> else {
> dev_err(dev, "unknown CHIP_ID (0x%02x)\n", i);
> err = -ENODEV;
> goto exit_remove;
> }
No, actually the error occurs before that. You didn't add the Super-I/O
ID of the W83627DHG in w83627ehf_find, so that function will return
-ENODEV.
--
Jean Delvare
More information about the lm-sensors
mailing list