|Summary:||RT2500 from kernel-22.214.171.124-137.fc8 - no power LED|
|Product:||[Fedora] Fedora||Reporter:||Ivan Virgili <ivnmad>|
|Component:||kernel||Assignee:||John W. Linville <linville>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2009-01-22 21:23:51 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Ivan Virgili 2008-03-13 20:02:23 UTC
Up to kernel-126.96.36.199-137.fc8 the link LED did not work, but the power LED worked. From kernel-188.8.131.52-137.fc8 onwards the link LED started working, but the power LED stopped working.
Comment 1 Ivan Virgili 2008-03-26 20:36:08 UTC
Just got hold of a brand new RT2500 pmcia card and I am still experiencing the same problem (on the same laptop).
Comment 2 Ivan Virgili 2008-04-16 20:22:31 UTC
Just an update. Installed kernels 184.108.40.206-74.fc8 and 220.127.116.11-82.fc8. Problem still not solved.
Comment 3 Ivo van Doorn 2008-04-21 13:25:43 UTC
Just found an obvious typo in the led handling in rt2x00. This fix should fix both the activity as well as the radio led. Patch will be pushed to mainstream in 1 or 2 days.
Comment 4 Ivo van Doorn 2008-04-21 17:07:22 UTC
I have pushed the patch a day earlier. :) John, the patch is part of the 2.1.5 release series, more specifically patch: "[PATCH 5/9] rt2x00: Fix quality/activity led handling" Hopefully that patch resolves this issue. :)
Comment 5 John W. Linville 2008-05-20 19:18:01 UTC
Is this problem still happening with the latest f8 kernels?
Comment 6 Ivan Virgili 2008-05-20 19:41:13 UTC
I installed F9 two days ago, therefore I cannot test F8 anymore. On F9 kernel 18.104.22.168-18.fc9.i686 the problem is still happening.
Comment 7 John W. Linville 2008-05-20 19:46:09 UTC
Can you recreate this issue with the kernels here? http://koji.fedoraproject.org/koji/buildinfo?buildID=49743
Comment 8 Ivan Virgili 2008-05-20 21:36:53 UTC
Installed kernel 22.214.171.124-26.fc9.i686 but the system freezes as soon as the network card is activated. It looks as if the power LED does not work anyway, because only the link LED goes on.
Comment 9 Ivan Virgili 2008-06-01 16:18:17 UTC
Installed kernel kernel-126.96.36.199-39.fc9 System starts fine, network detected, but it does no manage to connect (it connects fine with kernel 188.8.131.52-18.fc9.i686). Power LED still not working.
Comment 10 John W. Linville 2008-11-20 19:12:26 UTC
Does the problem persist with 2.6.27-based kernels?
Comment 11 Ivan Virgili 2008-11-23 13:16:22 UTC
I still have the PCMCIA card, but I do not have the laptop I used to test it with any more. I will give you an update as soon as possible (I should have another laptop to test it with in a week or so).
Comment 12 Ivan Virgili 2008-11-25 21:21:26 UTC
Just tested on kernel-184.108.40.206-117.fc10 and the problem persists.
Comment 13 John W. Linville 2008-12-04 15:58:41 UTC
This is just the power LED not working, correct?
Comment 14 Ivan Virgili 2008-12-04 19:21:23 UTC
Yes, it is just power LED that is not working. I have just tested the card on another laptop running F10 and it does not work on that either.
Comment 15 John W. Linville 2009-01-13 19:50:00 UTC
Ivo, is this patch likely to help here? commit cae4fff27e845b0d74b2cfe5c635cd4e8eb6fc71 Author: Andrew Price <firstname.lastname@example.org> Date: Sat Jan 10 19:38:05 2009 +0000 rt2400,rt2500: init led_qual for LED_MODE_DEFAULT Add a check for LED_MODE_DEFAULT so that we use the link LED for rt2400 and rt2500 devices. Signed-off-by: Andrew Price <email@example.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <firstname.lastname@example.org>
Comment 16 Ivo van Doorn 2009-01-13 21:42:48 UTC
Don't think so, the power LED was registered by default and hence should be toggled by default. The above patch would fix the link LED, rather then the power LED, while the link LED is working for Ivan. Ivan, could you try mounting debugfs and using http://kernel.org/pub/linux/kernel/people/ivd/tools/rt2x00_regdump.sh to make a dump of the registers? Perhaps that might show something interesting about the LED type.
Comment 17 Ivan Virgili 2009-01-15 21:30:54 UTC
Created attachment 329145 [details] Dump of the register
Comment 18 Ivo van Doorn 2009-01-15 22:23:42 UTC
Thanks, The LED type is "ASUS" (not very descriptive about what to expect from the led :S) The original drivers were always treating that type very specially, and I need to check if I ported that correctly. I'll get back on this in a few days.
Comment 19 Ivo van Doorn 2009-01-17 22:43:09 UTC
I have send a patch upstream which should fix this issue, the original code is a bit vague since it suggests that led type "ASUS" means that there is only 1 LED, namely the activity LED. The patch will register both power and activity LEDs, so hopefully that will work as expected.
Comment 20 John W. Linville 2009-01-21 21:48:39 UTC
I've added this and a related patch to the kernel being built here: http://koji.fedoraproject.org/koji/buildinfo?buildID=79697 Please give that a try when the build complete and post the results here...thanks!
Comment 21 John W. Linville 2009-01-22 19:19:48 UTC
Kernels from comment 20 have been built successfully. Please give them a try!
Comment 22 Ivan Virgili 2009-01-22 20:50:38 UTC
Well done everyone... You can close this bug... Both LEDs are on now (connection one flashing, of course)... Now we just need to make it connect... see: Fedora 10 - https://bugzilla.redhat.com/show_bug.cgi?id=473432 Fedora 9 - https://bugzilla.redhat.com/show_bug.cgi?id=457441