wireless-ipw-power - does not detect wireless correctly (2.6.29)
Bug #369113 reported by
Alon Bar-Lev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Laptop Mode Tools |
Fix Released
|
Undecided
|
Ritesh Raj Sarraf |
Bug Description
The following line at modules/
if [ -d $DEVICE/wireless -a -h $DEVICE/
It looks like at least at 2.6.29 there is no wireless directory... I
did not find anything unique in structure of a wired and wireless but
the driver has channels.
Maybe better to do iwconfig and check for wireless extensions?
Another issue...
Why doesn't ipw2200 has "iwpriv ethX set power Y" statement?
Changed in laptop-mode-tools: | |
assignee: | nobody → rickysarraf |
status: | New → In Progress |
To post a comment you must log in.
This is another example why one shouldn't abuse the sysfs. sysfs was never meant to be used this way. And especially for frequent point release distributions like ubuntu/fedora, and rolling-release distributions like Debian, using sysfs will be a nightmare.
Anyway, I like the idea of using wireless-tools. I just did a brief check and found limitations with it. A bug and a patch has been filed here [1]. If the upstream author accepts, I'll change this from sysfs to something better, as time permits.
[1] http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 526187