Sunday, May 25, 2008
Wireless interface rename and suspending when upgrading debian lenny/sid to kernel 2.6.24
I found two issues when upgrading to kernel 2.6.24 in my Dell Latitude D620. The first one was related to the wireless interface. With kernel 2.6.24 the new Intel driver iwl is already included in stock kernel, so the ipw driver and regulatory daemon are no longer necessary. After kernel installation and reboot, the wireless interface was recognized as wmaster0_rename, wich made unusable my wpa configuration as it was referring the eth1 interface. This is a udev issue. The solution is to edit the file /etc/udev/rules.d/z25_persistent-net.rules an replace this line:
# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:8b:7c:b4", NAME="eth1"
with this one:
# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:8b:7c:b4", ATTR{type}
=="1", NAME="eth1"
Suspending was failing for me as well, due to the nvidia driver. To correct it, go to file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi and change D620 section to read like this:
I found two issues when upgrading to kernel 2.6.24 in my Dell Latitude D620. The first one was related to the wireless interface. With kernel 2.6.24 the new Intel driver iwl is already included in stock kernel, so the ipw driver and regulatory daemon are no longer necessary. After kernel installation and reboot, the wireless interface was recognized as wmaster0_rename, wich made unusable my wpa configuration as it was referring the eth1 interface. This is a udev issue. The solution is to edit the file /etc/udev/rules.d/z25_persistent-net.rules an replace this line:
# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:8b:7c:b4", NAME="eth1"
with this one:
# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:8b:7c:b4", ATTR{type}
=="1", NAME="eth1"
Suspending was failing for me as well, due to the nvidia driver. To correct it, go to file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi and change D620 section to read like this:
<match key="system.hardware.product" contains_outof="CPx J800GT;D410;D420;D520;C610;D620;D830">
<match key="info.linux.driver" string="nvidia">
<merge key="power_management.quirk.none" type="bool">true</merge>
</match>
<!-- <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
<merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
-->
</match>
Labels: 2.6.24, debian, iwl, linux, suspend, wireless
Subscribe to Posts [Atom]