Skip to contentSkip to conversation

asb100 bug

PATCH New Mark M. Hoffman 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 asb100 bug

Hi nymisi, Greg:

Quoted 11 lines · Nyeste Mih?ly

Hi!

I reported a bug of asb100 chip at:
http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket39

The reply was the follow:

"Is there a BIOS option you can disable, e.g. Asus "COP", "QFAN", or some such? My guess is that the BIOS is somehow interfering with the asb100 driver. Otherwise I don?t know how this could happen.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Yeah, I wrote that.

"You do that, you go to the box, you know. Two minutes by yourself, and you feel shame, you know." - Denis the goalie

Greg, please apply this fix (vs. 2.6.5):

drivers/i2c/chips/asb100.c renamed from drivers/i2c/chips/asb100.c.orig +1 -1
@@ -467,7 +467,7 @@
 		data->reg[nr] = TEMP_TO_REG(val); \
 		break; \
 	} \
-	asb100_write_value(client, ASB100_REG_TEMP_##REG(nr), \
+	asb100_write_value(client, ASB100_REG_TEMP_##REG(nr+1), \
 			data->reg[nr]); \
 	return count; \
 }
Signature · 2 lines
Mark M. Hoffman
[email protected]
#1 lore raw

PATCH 1/1 asb100 bug

Quoted 14 lines · Mark M. Hoffman

Hi nymisi, Greg:

Quoted 11 lines · Nyeste Mih?ly

Hi!

I reported a bug of asb100 chip at:
http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket39

The reply was the follow:

"Is there a BIOS option you can disable, e.g. Asus "COP", "QFAN", or some such? My guess is that the BIOS is somehow interfering with the asb100 driver. Otherwise I don?t know how this could happen.

Quoted 8 lines

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Yeah, I wrote that.

"You do that, you go to the box, you know. Two minutes by yourself, and you feel shame, you know." - Denis the goalie

Greg, please apply this fix (vs. 2.6.5):

Heh, applied, thanks.

greg k-h