Skip to contentSkip to conversation

tickets needing help

DISCUSSION Mark Studebaker 5 participants 15 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

1499 - i2c-sis645 renamed to i2c-sis96x in kernel 2.6, any way we can handle this in sensors-detect? Khali or other perl guy?

1503 - i2c_get_client() function in 2.4 kernels - Khali?

1506 - asb100 detection - Mark?

#1 lore raw
Quoted 6 lines

1499 - i2c-sis645 renamed to i2c-sis96x in kernel 2.6, any way we can handle this in sensors-detect? Khali or other perl guy?

1503 - i2c_get_client() function in 2.4 kernels - Khali?

1506 - asb100 detection - Mark?

I am the only one thinking that this ticket system should be canceled? I don't think anyone but MDS reads then regularly. Half of the time we would need more information but don't hear back from the posters, leaving the ticket opened for months. Or the discussions ends up on the mailing-list. I think it would be much easier for everyone that we close the tickets system (well, leave the existing ones in place for research purposes, but do not allow for newer tickets) and direct the users to the mailing list. This might be the time for a more "professional" list (I'm of course refering to the technical aspect, not the quality of support ;)) so that Phil doesn't have to handle subscriptions by himself.

Let's take a look at these tickets anyway.

For #1499, wouldn't listing both devices be sufficent? Well, the system would complain about not finding one of the modules, but that left apart, would it work or not? I can implement what you want in sensors-detect, but I don't know much about i2c-sis*. I think I remember MMH telling me there was some kind of trick there.

#1503 is for Ky?sti. He said that i2c_get_client was broken (locking issue IIRC) and would need fixing. BTW, what's that function supposed to do and how can we possibly not use it at all while a few external drivers do? (just curious)

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Mark Studebaker
Quoted 1 line

disagree.

I knew it ;)

Quoted 1 line

- tickets don't get forgotten or overlooked

They aren't answered in real time either. But I agree that they are less likely to be forgotten. The problem is that by the time we answer them, it's likely that the poster has solved the problem on its own, or has given up and won't benefit our help. So we are working for nothing (unless the solution is obvious and it can help future users browing the ticket base).

Quoted 3 lines

- tickets are a real database that we control, easily searchable using tools we control
(as opposed to relying on google for the mail archive)

I can search the mailing-list directly in me e-mail client. And it seems to me that Google is doing a decent job on the mailing-list, while on contrary it cannot access the tickets if I'm not mistaking.

Quoted 2 lines

- searchable tickets allows users to help themselves and reduces traffic on mailing list

Likewise, we could point them to the mailing list archive. I don't think it'd change anything for them.

Quoted 2 lines

- having a real bug tracking system is the essence of a "professional" project

I agree there too. But our system isn't working as it should. See below.

Quoted 3 lines

Our ticket system has problems (need more of us using it, need a method for followups); maybe something else would be better, but email-only is a big step backwards.

As long as users cannot update their tickets, the ticket system efficiency will be limited. The users "complaining" about this on the list are countless. This is the main reason why I don't like this
system: half of the time it ends up on the list anyway, so we have to both answer there and update the ticket - doubles the work.

A more interesting system would allow users to update their ticket *and* to answer other tickets. If any user could help any user, this would for sure reduce the amount of time we have to spend for support. But one drawback is that we also would miss problems, unless we regularly browse the growing ticket base, what I don't do and franckly don't plan to do (because yes, I'm lazy in a way).

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Mark Studebaker
Quoted 2 lines · Mark Studebaker

- tickets don't get forgotten or overlooked

For 2.6 kernel stuff I'd recommend pointing people to use the bugzilla.kernel.org system instead.

thanks,

greg k-h

#4 lore raw
In reply to Mark Studebaker
Quoted 5 lines · Jean Delvare
Quoted 2 lines

For 2.6 kernel stuff I'd recommend pointing people to use the bugzilla.kernel.org system instead.

We would then need:
1* A write access to the system.

Create an account and you have it. Any one can create bugs.

Quoted 2 lines

2* A way to locate the tickets related to lm_sensors. Looks like we would search with Component=I2C,

Yes, that's the proper search. And there are a number of older, closed bugs with that component.

Quoted 5 lines

but actually the only bug that has i2c in its body has Component=Sound, because the driver concerned, although using the i2c interface, is a sound driver. BTW, the problem mentioned in this ticket (#611) seems to have been solved in 2.5.71, so the bug should be closed.

Thanks, I just did that.

Quoted 1 line

Greg, how do we proceed?

Right now, any bug that is has component=i2c is automagically assigned to me. I'll be glad to assign it on to anyone else if they want me to, but for now, the i2c bug count in there has been real low.

Feel free to open any new bugs, 2.6 only, in that database if you wish.

thanks,

greg k-h

#5 lore raw
In reply to Mark Studebaker
Quoted 2 lines

For 2.6 kernel stuff I'd recommend pointing people to use the bugzilla.kernel.org system instead.

We would then need:
1* A write access to the system.
2* A way to locate the tickets related to lm_sensors. Looks like we would search with Component=I2C, but actually the only bug that has i2c in its body has Component=Sound, because the driver concerned, although using the i2c interface, is a sound driver. BTW, the problem mentioned in this ticket (#611) seems to have been solved in 2.5.71, so the bug should be closed.

Greg, how do we proceed?

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#6 lore raw
In reply to Mark Studebaker
Quoted 4 lines
Quoted 2 lines

We would then need:
1* A write access to the system.

Create an account and you have it. Any one can create bugs.

That's not how I meant it (but it wasn't clear I admit). How do we edit, answer, close tickets? I don't think any of us will want to create new bug reports. Whenever we find bugs, we fix them ourselves and send you a patch.

If we are to direct all 2.6 users to your bugzilla system, it's likely that you'll appreciate some help handling them.

Quoted 5 lines
Quoted 1 line

Greg, how do we proceed?

Right now, any bug that is has component=i2c is automagically assigned to me. I'll be glad to assign it on to anyone else if they want me to, but for now, the i2c bug count in there has been real low.

Sounds reasonable that it default to you since you are the official maintained of the i2c subsystem, but you might need our assistance sometimes. I guess that it is possible that you "give" us some bugs, providing we have an account that allows you to.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#7 lore raw
In reply to Mark Studebaker
Quoted 1 line · Mark D. Studebaker
Quoted 1 line

1506 - asb100 detection - Mark?

OK. I'll look at this one today.

Quoted 2 lines
Quoted 2 lines

1499 - i2c-sis645 renamed to i2c-sis96x in kernel 2.6, any way we can handle this in sensors-detect? Khali or other perl guy?

Quoted 5 lines · Jean Delvare

For #1499, wouldn't listing both devices be sufficent? Well, the system would complain about not finding one of the modules, but that left apart, would it work or not? I can implement what you want in sensors-detect, but I don't know much about i2c-sis*. I think I remember MMH telling me there was some kind of trick there.

Yeah we discussed it briefly over IRC...

To really do it properly, it needs to be aware of 2.4 vs. 2.6, due to the fact that the ridiculous PCI device unhiding happens at driver load in the former, at bootup in the latter.

I.e. if we only had 2.6 to worry about, i2c-sis96x would have a single PCI device entry in the table and detection would be nice and generic like all the rest.

Instead, what I should do is yank all the sis96x and sis5595 entries (because that misdetects all 96x) out of that table and write a special- purpose function for detecting them properly.

I'm not a perl wizard (in fact I dislike perl) so I'm inclined to just list both devices and attack the rest later, if ever.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#8 lore raw
In reply to Mark Studebaker

* Jean Delvare <[email protected]> [2004-01-03 22:22:50 +0100]:
(replying to mds)

Quoted 8 lines
Quoted 1 line

- tickets don't get forgotten or overlooked

They aren't answered in real time either. But I agree that they are less likely to be forgotten. The problem is that by the time we answer them, it's likely that the poster has solved the problem on its own, or has given up and won't benefit our help. So we are working for nothing (unless the solution is obvious and it can help future users browing the ticket base).

See [1] below.

Quoted 7 lines
Quoted 3 lines

- tickets are a real database that we control, easily searchable using tools we control
(as opposed to relying on google for the mail archive)

I can search the mailing-list directly in me e-mail client. And it seems to me that Google is doing a decent job on the mailing-list, while on contrary it cannot access the tickets if I'm not mistaking.

I definitely find it easier to search the mailing list than the database, nevermind who controls what.

Quoted 2 lines
Quoted 2 lines

- searchable tickets allows users to help themselves and reduces traffic on mailing list

See [2] below. I don't see how reducing traffic on the list is a meaningful goal.

Quoted 7 lines

Likewise, we could point them to the mailing list archive. I don't think it'd change anything for them.

Quoted 2 lines

- having a real bug tracking system is the essence of a "professional" project

I agree there too. But our system isn't working as it should. See below.

The _definition_ of a professional project is that its developers get paid.
[1] This project does not pay me enough to "not forget" some bug reports, especially when more than half are correctly answered by "read the FAQ".

If anyone out there thinks that sounds harsh... I have some work on my house that I'd like you to do for free. What list should I put it on to make sure you don't forget it?

Quoted 10 lines
Quoted 3 lines

Our ticket system has problems (need more of us using it, need a method for followups); maybe something else would be better, but email-only is a big step backwards.

As long as users cannot update their tickets, the ticket system efficiency will be limited. The users "complaining" about this on the list are countless. This is the main reason why I don't like this
system: half of the time it ends up on the list anyway, so we have to both answer there and update the ticket - doubles the work.

Quoted 3 lines

A more interesting system would allow users to update their ticket *and* to answer other tickets. If any user could help any user, this would for sure reduce the amount of time we have to spend for support. But one

[2] This is the difference between "user" and "developer" mailing lists. The need for this is apparent as well... go and search the user message boards of mainboard makers for "lm_sensors" and see how often users do in fact help themselves.

Quoted 3 lines

drawback is that we also would miss problems, unless we regularly browse the growing ticket base, what I don't do and franckly don't plan to do (because yes, I'm lazy in a way).

I'm not advocating the ticket system be shut down (although I wouldn't be opposed). At the same time, I'm not about to be obligated to write "read the FAQ, increase your fan_div" again and again just to tick off some check-box.

You know, if we were truly interested in killing that particular nonsense, we'd auto-increment the fan_div until we got a non-zero reading or we hit the max. Then the first set to a fan_div turns the feature off; that would allow sensors.conf/sensors -s to override.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#9 lore raw
In reply to Mark Studebaker
Quoted 4 lines · Mark M. Hoffman
Quoted 1 line · Mark D. Studebaker
Quoted 1 line

1506 - asb100 detection - Mark?

OK. I'll look at this one today.

Here's the key error message:

Quoted 5 lines

Error: First argument not a number!
Syntax: i2cdetect I2CBUS
I2CBUS is an integer
Installed I2C busses:
i2c-0 smbus SMBus Via Pro adapter at e800 Non-I2C

That error message must be from an old i2cdetect. The one in 2.8.2 accepts 'i2cdetect -l'. The user must somehow have a new version of sensors-detect but an old version of i2cdetect.

I discovered this while building 2.8.2, but I confirmed anyway that 2.8.2 detects asb100 on a 2.4 kernel.

I'll close the ticket.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#10 lore raw
In reply to Mark Studebaker
Quoted 8 lines

To really do it properly, it needs to be aware of 2.4 vs. 2.6, due to the fact that the ridiculous PCI device unhiding happens at driver load in the former, at bootup in the latter.

I.e. if we only had 2.6 to worry about, i2c-sis96x would have a single PCI device entry in the table and detection would be nice and generic like all the rest.

Quoted 6 lines

Instead, what I should do is yank all the sis96x and sis5595 entries (because that misdetects all 96x) out of that table and write a special- purpose function for detecting them properly.

I'm not a perl wizard (in fact I dislike perl) so I'm inclined to just list both devices and attack the rest later, if ever.

If you provide the data and explain to me what I should do with them, I can do the work for you. I'm not a perl wizard either, but in fact I like perl pretty much ;)

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#11 lore raw
In reply to Mark Studebaker
Quoted 7 lines · Jean Delvare
Quoted 4 lines
Quoted 2 lines

We would then need:
1* A write access to the system.

Create an account and you have it. Any one can create bugs.

That's not how I meant it (but it wasn't clear I admit). How do we edit, answer, close tickets?

If you have an account, you can do any of the above. I'll gladly re-assign any bugs to you if you want me to, so you can modify them to your hearts content :)

Quoted 2 lines

I don't think any of us will want to create new bug reports. Whenever we find bugs, we fix them ourselves and send you a patch.

That's fine, I don't mind that at all. I actually prefer it :)

Quoted 2 lines

If we are to direct all 2.6 users to your bugzilla system, it's likely that you'll appreciate some help handling them.

Sure, if the load gets too big.

Quoted 4 lines

Sounds reasonable that it default to you since you are the official maintained of the i2c subsystem, but you might need our assistance sometimes. I guess that it is possible that you "give" us some bugs, providing we have an account that allows you to.

Exactly.

thanks,

greg k-h

#12 lore raw
In reply to Mark Studebaker
Quoted 12 lines · Jean Delvare
Quoted 12 lines

To really do it properly, it needs to be aware of 2.4 vs. 2.6, due to the fact that the ridiculous PCI device unhiding happens at driver load in the former, at bootup in the latter.

I.e. if we only had 2.6 to worry about, i2c-sis96x would have a single PCI device entry in the table and detection would be nice and generic like all the rest.

Instead, what I should do is yank all the sis96x and sis5595 entries (because that misdetects all 96x) out of that table and write a special- purpose function for detecting them properly.

Quoted 6 lines
Quoted 2 lines

I'm not a perl wizard (in fact I dislike perl) so I'm inclined to just list both devices and attack the rest later, if ever.

If you provide the data and explain to me what I should do with them, I can do the work for you. I'm not a perl wizard either, but in fact I like perl pretty much ;)

Thanks!

in pseudo code; indentation matters...

if kernel is 2.6.x

	if 1039:0016 is present
		use i2c-sis96x
	else if 1039:0008 is present
		use i2c-sis5595
	else
		(none)
else if kernel is 2.4.x
	if 1039:0008 is present
		if (1039:0645 or 1039:0646 or \
		1039:648 or 1039:0650 or \
		1039:651 or 1039:0735 or \
		1039:745 or 1039:0746) is present
			use i2c-sis645
		else
			use i2c-sis5595
	else if 1039:0016 is present
		use i2c-sis645
	else if 1039:0018 is present
		use i2c-sis645
	else
		(none)

Also, I think, any SiS device ID which does not appear in the above function should stay just as it is in the table... because I can't confirm what IDs are on those systems.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#13 lore raw
In reply to Mark Studebaker
Quoted 8 lines · Jean Delvare
Quoted 6 lines

1499 - i2c-sis645 renamed to i2c-sis96x in kernel 2.6, any way we can handle this in sensors-detect? Khali or other perl guy?

1503 - i2c_get_client() function in 2.4 kernels - Khali?

1506 - asb100 detection - Mark?

Quoted 12 lines

I am the only one thinking that this ticket system should be canceled? I don't think anyone but MDS reads then regularly. Half of the time we would need more information but don't hear back from the posters, leaving the ticket opened for months. Or the discussions ends up on the mailing-list. I think it would be much easier for everyone that we close the tickets system (well, leave the existing ones in place for research purposes, but do not allow for newer tickets) and direct the users to the mailing list. This might be the time for a more "professional" list (I'm of course refering to the technical aspect, not the quality of support ;)) so that Phil doesn't have to handle subscriptions by himself.

disagree.

- tickets don't get forgotten or overlooked
- tickets are a real database that we control, easily searchable using tools we control (as opposed to relying on google for the mail archive)
- searchable tickets allows users to help themselves and reduces traffic on mailing list
- having a real bug tracking system is the essence of a "professional" project

Our ticket system has problems (need more of us using it, need a method for followups); maybe something else would be better, but email-only is a big step backwards.

mds

#14 lore raw
In reply to Mark Studebaker
Quoted 6 lines · Jean Delvare
Quoted 1 line

1503 - i2c_get_client() function in 2.4 kernels - Khali?

#1503 is for Ky?sti. He said that i2c_get_client was broken (locking issue IIRC) and would need fixing. BTW, what's that function supposed to do and how can we possibly not use it at all while a few external drivers do? (just curious)

( Has been too long, don't recall ticket access pw. )

It returns a client structure with a specified driver and/or behind a specified adapter ID. Yes, missing locks there. More importantly, i2c_get_client cannot work properly if there are several adapters of the same type. Seems we have to bring it back in among other planned compatibility changes.

Just don't expect i2c_get_client to reappear in its current form in 2.6 kernels. The function is not needed if the adapter code implemented client_register callback.

Signature · 1 line
  Ky?sti M?lkki  <[email protected]>