On March 30, you wrote: > Yes, it's most likely that sony-laptop would be the one module to point > fingers at. Hello Mattia, Thanks for looking into this. First of all: Last night I compiled a vanilla 2.6.33.1 kernel on my Vaio, and the rfkill switch is working out-of-the-box! Even sliding the hardware rfkill switch now works as intended. I've attached the dmesg output for the 2.6.33.1 kernel for your reference. Note that the brightness keys are not working, but there's the known workaround of using setpci for now. The really weird thing is that booting with the 2.6.33.1 kernel just once somehow permanently enabled the kill switch handling for the Ubuntu 2.6.31 kernel. In other words, I can now enable and disable wireless on Ubuntu just as expected. (You can still see the corresponding event 0x05 in dmesg, though.) > Could you send the DSDT from your laptop and the output of dmesg after > loading sony-laptop with debug=1 and switching the rfkill trigger back > and forth? > > also the output from: > $ grep . /sys/class/rfkill/rfkill*/* I've attached the information that you requested, but note that it reflects the new, working condition. If you decide that the most recent driver needs further adjustments for the Y series, I'd be more than happy to assist you. Regards Ralph
[ 366.590673] sony-laptop: Sony Notebook Control Driver v0.6. [ 366.590689] sony-laptop: method: name: PWAK, args 0 [ 366.590694] sony-laptop: method: name: EAWK, args 1 [ 366.590697] sony-laptop: method: name: GCIM, args 1 [ 366.590701] sony-laptop: method: name: SN00, args 1 [ 366.590704] sony-laptop: method: name: SN01, args 0 [ 366.590708] sony-laptop: method: name: SN02, args 1 [ 366.590711] sony-laptop: method: name: SN03, args 1 [ 366.590714] sony-laptop: method: name: SN04, args 0 [ 366.590718] sony-laptop: method: name: SN05, args 1 [ 366.590721] sony-laptop: method: name: SN06, args 1 [ 366.590724] sony-laptop: method: name: SN07, args 1 [ 366.590728] sony-laptop: method: name: SNCF, args 2 [ 366.590731] sony-laptop: method: name: SNCM, args 1 [ 366.590735] sony-laptop: method: name: S100, args 1 [ 366.590738] sony-laptop: method: name: S101, args 1 [ 366.590742] sony-laptop: method: name: S105, args 1 [ 366.590745] sony-laptop: method: name: S114, args 1 [ 366.590748] sony-laptop: method: name: S11D, args 1 [ 366.590752] sony-laptop: method: name: S135, args 1 [ 366.590755] sony-laptop: method: name: S136, args 1 [ 366.590759] sony-laptop: method: name: S13A, args 1 [ 366.590762] sony-laptop: method: name: GBRT, args 0 [ 366.590765] sony-laptop: method: name: SBRT, args 1 [ 366.590771] sony-laptop: Doing SNC setup [ 366.658123] sony-laptop: Found rkfill handle: 0x0135 [ 366.665731] sony-laptop: Radio devices, looking at 0x00 [ 366.670576] sony-laptop: Radio devices, looking at 0x10 [ 366.689297] input: Sony Vaio Keys as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0d/SNY5001:00/input/input11 [ 366.689799] input: Sony Vaio Jogdial as /devices/virtual/input/input12 [ 366.689944] sony-laptop: brightness ignored, must be controlled by ACPI video driver
[ 239.271069] sony-laptop: Sony Notebook Control Driver v0.6. [ 239.271085] sony-laptop: method: name: PWAK, args 0 [ 239.271092] sony-laptop: method: name: EAWK, args 1 [ 239.271098] sony-laptop: method: name: GCIM, args 1 [ 239.271105] sony-laptop: method: name: SN00, args 1 [ 239.271110] sony-laptop: method: name: SN01, args 0 [ 239.271116] sony-laptop: method: name: SN02, args 1 [ 239.271122] sony-laptop: method: name: SN03, args 1 [ 239.271128] sony-laptop: method: name: SN04, args 0 [ 239.271133] sony-laptop: method: name: SN05, args 1 [ 239.271139] sony-laptop: method: name: SN06, args 1 [ 239.271145] sony-laptop: method: name: SN07, args 1 [ 239.271151] sony-laptop: method: name: SNCF, args 2 [ 239.271156] sony-laptop: method: name: SNCM, args 1 [ 239.271162] sony-laptop: method: name: S100, args 1 [ 239.271168] sony-laptop: method: name: S101, args 1 [ 239.271174] sony-laptop: method: name: S105, args 1 [ 239.271180] sony-laptop: method: name: S114, args 1 [ 239.271186] sony-laptop: method: name: S11D, args 1 [ 239.271191] sony-laptop: method: name: S135, args 1 [ 239.271197] sony-laptop: method: name: S136, args 1 [ 239.271203] sony-laptop: method: name: S13A, args 1 [ 239.271209] sony-laptop: method: name: GBRT, args 0 [ 239.271214] sony-laptop: method: name: SBRT, args 1 [ 239.271228] sony-laptop: Doing SNC setup [ 239.371916] input: Sony Vaio Keys as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:10/SNY5001:00/input/input11 [ 239.372024] input: Sony Vaio Jogdial as /devices/virtual/input/input12 [ 239.372087] sony-laptop: brightness ignored, must be controlled by ACPI video driver [ 286.426299] sony-laptop: sony_nc_notify, event: 0x05 [ 286.541566] usb 8-1: USB disconnect, address 3 [ 286.542536] btusb_intr_complete: hci0 urb ffff88011f9cf3c0 failed to resubmit (19) [ 286.542560] btusb_bulk_complete: hci0 urb ffff88011f9cf780 failed to resubmit (19) [ 286.543539] btusb_bulk_complete: hci0 urb ffff88011f9cfc00 failed to resubmit (19) [ 286.543801] btusb_send_frame: hci0 urb ffff88011fabe840 submission failed [ 287.833554] sony-laptop: sony_nc_notify, event: 0x05
root@lynx:~# grep . /sys/class/rfkill/rfkill*/* /sys/class/rfkill/rfkill1/claim:0 /sys/class/rfkill/rfkill1/index:1 /sys/class/rfkill/rfkill1/name:phy0 /sys/class/rfkill/rfkill1/persistent:0 /sys/class/rfkill/rfkill1/state:1 /sys/class/rfkill/rfkill1/type:wlan /sys/class/rfkill/rfkill1/uevent:RFKILL_NAME=phy0 /sys/class/rfkill/rfkill1/uevent:RFKILL_TYPE=wlan /sys/class/rfkill/rfkill1/uevent:RFKILL_STATE=1 /sys/class/rfkill/rfkill3/claim:0 /sys/class/rfkill/rfkill3/index:3 /sys/class/rfkill/rfkill3/name:hci0 /sys/class/rfkill/rfkill3/persistent:0 /sys/class/rfkill/rfkill3/state:1 /sys/class/rfkill/rfkill3/type:bluetooth /sys/class/rfkill/rfkill3/uevent:RFKILL_NAME=hci0 /sys/class/rfkill/rfkill3/uevent:RFKILL_TYPE=bluetooth /sys/class/rfkill/rfkill3/uevent:RFKILL_STATE=1