€•.sŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ3/translations/zh_CN/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/zh_TW/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/it_IT/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ja_JP/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ko_KR/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/pt_BR/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/sp_SP/admin-guide/laptops/sony-laptop”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ)Sony Notebook Control Driver (SNC) Readme”h]”hŒ)Sony Notebook Control Driver (SNC) Readme”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒM/var/lib/git/docbuild/linux/Documentation/admin-guide/laptops/sony-laptop.rst”h´KubhŒ block_quote”“”)”}”(hŒt- Copyright (C) 2004- 2005 Stelian Pop - Copyright (C) 2007 Mattia Dongili ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ9Copyright (C) 2004- 2005 Stelian Pop ”h]”hŒ paragraph”“”)”}”(hhÚh]”(hŒ&Copyright (C) 2004- 2005 Stelian Pop <”…””}”(hhÞh²hh³Nh´NubhŒ reference”“”)”}”(hŒstelian@popies.net”h]”hŒstelian@popies.net”…””}”(hhçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:stelian@popies.net”uh1håhhÞubhŒ>”…””}”(hhÞh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhhØubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhhÓubh×)”}”(hŒ6Copyright (C) 2007 Mattia Dongili ”h]”hÝ)”}”(hŒ5Copyright (C) 2007 Mattia Dongili ”h]”(hŒ#Copyright (C) 2007 Mattia Dongili <”…””}”(hj h²hh³Nh´Nubhæ)”}”(hŒmalattia@linux.it”h]”hŒmalattia@linux.it”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:malattia@linux.it”uh1håhj ubhŒ>”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhhÓubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hÑh³hÊh´KhhÍubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÝ)”}”(hXThis mini-driver drives the SNC and SPIC device present in the ACPI BIOS of the Sony Vaio laptops. This driver mixes both devices functions under the same (hopefully consistent) interface. This also means that the sonypi driver is obsoleted by sony-laptop now.”h]”hXThis mini-driver drives the SNC and SPIC device present in the ACPI BIOS of the Sony Vaio laptops. This driver mixes both devices functions under the same (hopefully consistent) interface. This also means that the sonypi driver is obsoleted by sony-laptop now.”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒFn keys (hotkeys):”h]”hŒFn keys (hotkeys):”…””}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjOh²hh³hÊh´KubhÝ)”}”(hX‚Some models report hotkeys through the SNC or SPIC devices, such events are reported both through the ACPI subsystem as acpi events and through the INPUT subsystem. See the logs of /proc/bus/input/devices to find out what those events are and which input devices are created by the driver. Additionally, loading the driver with the debug option will report all events in the kernel log.”h]”hX‚Some models report hotkeys through the SNC or SPIC devices, such events are reported both through the ACPI subsystem as acpi events and through the INPUT subsystem. See the logs of /proc/bus/input/devices to find out what those events are and which input devices are created by the driver. Additionally, loading the driver with the debug option will report all events in the kernel log.”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjOh²hubhÝ)”}”(hXThe "scancodes" passed to the input system (that can be remapped with udev) are indexes to the table "sony_laptop_input_keycode_map" in the sony-laptop.c module. For example the "FN/E" key combination (EJECTCD on some models) generates the scancode 20 (0x14).”h]”hXThe “scancodes†passed to the input system (that can be remapped with udev) are indexes to the table “sony_laptop_input_keycode_map†in the sony-laptop.c module. For example the “FN/E†key combination (EJECTCD on some models) generates the scancode 20 (0x14).”…””}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjOh²hubeh}”(h]”Œfn-keys-hotkeys”ah ]”h"]”Œfn keys (hotkeys):”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒBacklight control:”h]”hŒBacklight control:”…””}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj„h²hh³hÊh´KubhÝ)”}”(hŒ©If your laptop model supports it, you will find sysfs files in the /sys/class/backlight/sony/ directory. You will be able to query and set the current screen brightness:”h]”hŒ©If your laptop model supports it, you will find sysfs files in the /sys/class/backlight/sony/ directory. You will be able to query and set the current screen brightness:”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj„h²hubhÌ)”}”(hX—====================== ========================================= brightness get/set screen brightness (an integer between 0 and 7) actual_brightness reading from this file will query the HW to get real brightness value max_brightness the maximum brightness value ====================== ========================================= ”h]”hŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j±hj®ubj²)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K)uh1j±hj®ubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hÝ)”}”(hŒ brightness”h]”hŒ brightness”…””}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K$hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÎubjÒ)”}”(hhh]”hÝ)”}”(hŒ6get/set screen brightness (an integer between 0 and 7)”h]”hŒ6get/set screen brightness (an integer between 0 and 7)”…””}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K$hjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjÉubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒactual_brightness”h]”hŒactual_brightness”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K&hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubjÒ)”}”(hhh]”hÝ)”}”(hŒEreading from this file will query the HW to get real brightness value”h]”hŒEreading from this file will query the HW to get real brightness value”…””}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K&hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjÉubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒmax_brightness”h]”hŒmax_brightness”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K(hjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj>ubjÒ)”}”(hhh]”hÝ)”}”(hŒthe maximum brightness value”h]”hŒthe maximum brightness value”…””}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K(hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjÉubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÇhj®ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j¬hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1j§hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K#hj„h²hubeh}”(h]”Œbacklight-control”ah ]”h"]”Œbacklight control:”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒPlatform specific:”h]”hŒPlatform specific:”…””}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj–h²hh³hÊh´K-ubhÝ)”}”(hŒtLoading the sony-laptop module will create a /sys/devices/platform/sony-laptop/ directory populated with some files.”h]”hŒtLoading the sony-laptop module will create a /sys/devices/platform/sony-laptop/ directory populated with some files.”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K.hj–h²hubhÝ)”}”(hŒTYou then read/write integer values from/to those files by using standard UNIX tools.”h]”hŒTYou then read/write integer values from/to those files by using standard UNIX tools.”…””}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K2hj–h²hubhÝ)”}”(hŒThe files are:”h]”hŒThe files are:”…””}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K5hj–h²hubhÌ)”}”(hXQ====================== ========================================== brightness_default screen brightness which will be set when the laptop will be rebooted cdpower power on/off the internal CD drive audiopower power on/off the internal sound card lanpower power on/off the internal ethernet card (only in debug mode) bluetoothpower power on/off the internal bluetooth device fanspeed get/set the fan speed ====================== ========================================== ”h]”j¨)”}”(hhh]”j­)”}”(hhh]”(j²)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j±hjØubj²)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K*uh1j±hjØubjÈ)”}”(hhh]”(jÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒbrightness_default”h]”hŒbrightness_default”…””}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K8hjõubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjòubjÒ)”}”(hhh]”hÝ)”}”(hŒDscreen brightness which will be set when the laptop will be rebooted”h]”hŒDscreen brightness which will be set when the laptop will be rebooted”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K8hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjòubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjïubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒcdpower”h]”hŒcdpower”…””}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K:hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj)ubjÒ)”}”(hhh]”hÝ)”}”(hŒ"power on/off the internal CD drive”h]”hŒ"power on/off the internal CD drive”…””}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K:hjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjïubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒ audiopower”h]”hŒ audiopower”…””}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K;hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj`ubjÒ)”}”(hhh]”hÝ)”}”(hŒ$power on/off the internal sound card”h]”hŒ$power on/off the internal sound card”…””}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K;hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhj`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjïubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒlanpower”h]”hŒlanpower”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÎubjÒ)”}”(hhh]”hÝ)”}”(hŒ*power on/off the internal bluetooth device”h]”hŒ*power on/off the internal bluetooth device”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K>hjèubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjÎubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjïubjÍ)”}”(hhh]”(jÒ)”}”(hhh]”hÝ)”}”(hŒfanspeed”h]”hŒfanspeed”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K?hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubjÒ)”}”(hhh]”hÝ)”}”(hŒget/set the fan speed”h]”hŒget/set the fan speed”…””}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K?hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÑhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÇhjØubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j¬hjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1j§hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K7hj–h²hubhÝ)”}”(hŒ^Note that some files may be missing if they are not supported by your particular laptop model.”h]”hŒ^Note that some files may be missing if they are not supported by your particular laptop model.”…””}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KBhj–h²hubhÝ)”}”(hŒExample usage::”h]”hŒExample usage:”…””}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KEhj–h²hubhŒ literal_block”“”)”}”(hŒA# echo "1" > /sys/devices/platform/sony-laptop/brightness_default”h]”hŒA# echo "1" > /sys/devices/platform/sony-laptop/brightness_default”…””}”hjssbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jqh³hÊh´KGhj–h²hubhÝ)”}”(hŒ@sets the lowest screen brightness for the next and later reboots”h]”hŒ@sets the lowest screen brightness for the next and later reboots”…””}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KIhj–h²hubjr)”}”(hŒA# echo "8" > /sys/devices/platform/sony-laptop/brightness_default”h]”hŒA# echo "8" > /sys/devices/platform/sony-laptop/brightness_default”…””}”hj‘sbah}”(h]”h ]”h"]”h$]”h&]”jj‚uh1jqh³hÊh´KMhj–h²hubhÝ)”}”(hŒAsets the highest screen brightness for the next and later reboots”h]”hŒAsets the highest screen brightness for the next and later reboots”…””}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KOhj–h²hubjr)”}”(hŒ:# cat /sys/devices/platform/sony-laptop/brightness_default”h]”hŒ:# cat /sys/devices/platform/sony-laptop/brightness_default”…””}”hj­sbah}”(h]”h ]”h"]”h$]”h&]”jj‚uh1jqh³hÊh´KShj–h²hubhÝ)”}”(hŒretrieves the value”h]”hŒretrieves the value”…””}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KUhj–h²hubjr)”}”(hŒ9# echo "0" > /sys/devices/platform/sony-laptop/audiopower”h]”hŒ9# echo "0" > /sys/devices/platform/sony-laptop/audiopower”…””}”hjÉsbah}”(h]”h ]”h"]”h$]”h&]”jj‚uh1jqh³hÊh´KYhj–h²hubhÝ)”}”(hŒpowers off the sound card”h]”hŒpowers off the sound card”…””}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K[hj–h²hubjr)”}”(hŒ9# echo "1" > /sys/devices/platform/sony-laptop/audiopower”h]”hŒ9# echo "1" > /sys/devices/platform/sony-laptop/audiopower”…””}”hjåsbah}”(h]”h ]”h"]”h$]”h&]”jj‚uh1jqh³hÊh´K_hj–h²hubhÝ)”}”(hŒpowers on the sound card.”h]”hŒpowers on the sound card.”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kahj–h²hubeh}”(h]”Œplatform-specific”ah ]”h"]”Œplatform specific:”ah$]”h&]”uh1hµhh·h²hh³hÊh´K-ubh¶)”}”(hhh]”(h»)”}”(hŒRFkill control:”h]”hŒRFkill control:”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj h²hh³hÊh´KeubhÝ)”}”(hXMore recent Vaio models expose a consistent set of ACPI methods to control radio frequency emitting devices. If you are a lucky owner of such a laptop you will find the necessary rfkill devices under /sys/class/rfkill. Check those starting with sony-* in::”h]”hŒÿMore recent Vaio models expose a consistent set of ACPI methods to control radio frequency emitting devices. If you are a lucky owner of such a laptop you will find the necessary rfkill devices under /sys/class/rfkill. Check those starting with sony-* in:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kfhj h²hubjr)”}”(hŒ)# grep . /sys/class/rfkill/*/{state,name}”h]”hŒ)# grep . /sys/class/rfkill/*/{state,name}”…””}”hj(sbah}”(h]”h ]”h"]”h$]”h&]”jj‚uh1jqh³hÊh´Kkhj h²hubeh}”(h]”Œrfkill-control”ah ]”h"]”Œrfkill control:”ah$]”h&]”uh1hµhh·h²hh³hÊh´Keubh¶)”}”(hhh]”(h»)”}”(hŒ Development:”h]”hŒ Development:”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj>h²hh³hÊh´KoubhÝ)”}”(hŒ×If you want to help with the development of this driver (and you are not afraid of any side effects doing strange things with your ACPI BIOS could have on your laptop), load the driver and pass the option 'debug=1'.”h]”hŒÛIf you want to help with the development of this driver (and you are not afraid of any side effects doing strange things with your ACPI BIOS could have on your laptop), load the driver and pass the option ‘debug=1’.”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kqhj>h²hubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒh²hh³hÊh´NubhÝ)”}”(hŒaIn your kernel logs you will find the list of all ACPI methods the SNC device has on your laptop.”h]”hŒaIn your kernel logs you will find the list of all ACPI methods the SNC device has on your laptop.”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kyhj>h²hubhÒ)”}”(hhh]”h×)”}”(hŒwFor new models you will see a long list of meaningless method names, reading the DSDT table source should reveal that: ”h]”hÝ)”}”(hŒvFor new models you will see a long list of meaningless method names, reading the DSDT table source should reveal that:”h]”hŒvFor new models you will see a long list of meaningless method names, reading the DSDT table source should reveal that:”…””}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K|hj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhj¶h²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”j9Œ*”uh1hÑh³hÊh´K|hj>h²hubhŒenumerated_list”“”)”}”(hhh]”(h×)”}”(hŒ7the SNC device uses an internal capability lookup table”h]”hÝ)”}”(hjßh]”hŒ7the SNC device uses an internal capability lookup table”…””}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjÚh²hh³hÊh´Nubh×)”}”(hŒ/SN00 is used to find values in the lookup table”h]”hÝ)”}”(hjöh]”hŒ/SN00 is used to find values in the lookup table”…””}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K€hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjÚh²hh³hÊh´Nubh×)”}”(hŒsSN06 and SN07 are used to call into the real methods based on offsets you can obtain iterating the table using SN00”h]”hÝ)”}”(hŒsSN06 and SN07 are used to call into the real methods based on offsets you can obtain iterating the table using SN00”h]”hŒsSN06 and SN07 are used to call into the real methods based on offsets you can obtain iterating the table using SN00”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjÚh²hh³hÊh´Nubh×)”}”(hŒSN02 used to enable events. ”h]”hÝ)”}”(hŒSN02 used to enable events.”h]”hŒSN02 used to enable events.”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kƒhj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjÚh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”Œ(”Œsuffix”Œ)”uh1jØhj>h²hh³hÊh´KubhÝ)”}”(hŒŒSome values in the capability lookup table are more or less known, see the code for all sony_call_snc_handle calls, others are more obscure.”h]”hŒŒSome values in the capability lookup table are more or less known, see the code for all sony_call_snc_handle calls, others are more obscure.”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K…hj>h²hubhÒ)”}”(hhh]”h×)”}”(hŒœFor old models you can see the GCDP/GCDP methods used to pwer on/off the CD drive, but there are others and they are usually different from model to model. ”h]”hÝ)”}”(hŒ›For old models you can see the GCDP/GCDP methods used to pwer on/off the CD drive, but there are others and they are usually different from model to model.”h]”hŒ›For old models you can see the GCDP/GCDP methods used to pwer on/off the CD drive, but there are others and they are usually different from model to model.”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KˆhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjUh²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”j9j×uh1hÑh³hÊh´Kˆhj>h²hubhÝ)”}”(hŒ)**I HAVE NO IDEA WHAT THOSE METHODS DO.**”h]”j‚)”}”(hjxh]”hŒ%I HAVE NO IDEA WHAT THOSE METHODS DO.”…””}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KŒhj>h²hubhÝ)”}”(hX§The sony-laptop driver creates, for some of those methods (the most current ones found on several Vaio models), an entry under /sys/devices/platform/sony-laptop, just like the 'cdpower' one. You can create other entries corresponding to your own laptop methods by further editing the source (see the 'sony_nc_values' table, and add a new entry to this table with your get/set method names using the SNC_HANDLE_NAMES macro).”h]”hX¯The sony-laptop driver creates, for some of those methods (the most current ones found on several Vaio models), an entry under /sys/devices/platform/sony-laptop, just like the ‘cdpower’ one. You can create other entries corresponding to your own laptop methods by further editing the source (see the ‘sony_nc_values’ table, and add a new entry to this table with your get/set method names using the SNC_HANDLE_NAMES macro).”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KŽhj>h²hubhÝ)”}”(hŒºYour mission, should you accept it, is to try finding out what those entries are for, by reading/writing random values from/to those files and find out what is the impact on your laptop.”h]”hŒºYour mission, should you accept it, is to try finding out what those entries are for, by reading/writing random values from/to those files and find out what is the impact on your laptop.”…””}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K–hj>h²hubhÝ)”}”(hŒvShould you find anything interesting, please report it back to me, I will not disavow all knowledge of your actions :)”h]”hŒvShould you find anything interesting, please report it back to me, I will not disavow all knowledge of your actions :)”…””}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kšhj>h²hubhÝ)”}”(hŒYSee also http://www.linux.it/~malattia/wiki/index.php/Sony_drivers for other useful info.”h]”(hŒ See also ”…””}”(hj·h²hh³Nh´Nubhæ)”}”(hŒ9http://www.linux.it/~malattia/wiki/index.php/Sony_drivers”h]”hŒ9http://www.linux.it/~malattia/wiki/index.php/Sony_drivers”…””}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jÁuh1håhj·ubhŒ for other useful info.”…””}”(hj·h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj>h²hubeh}”(h]”Œ development”ah ]”h"]”Œ development:”ah$]”h&]”uh1hµhh·h²hh³hÊh´Koubh¶)”}”(hhh]”(h»)”}”(hŒBugs/Limitations:”h]”hŒBugs/Limitations:”…””}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjàh²hh³hÊh´K¡ubhÒ)”}”(hhh]”(h×)”}”(hXThis driver is not based on official documentation from Sony (because there is none), so there is no guarantee this driver will work at all, or do the right thing. Although this hasn't happened to me, this driver could do very bad things to your laptop, including permanent damage. ”h]”hÝ)”}”(hXThis driver is not based on official documentation from Sony (because there is none), so there is no guarantee this driver will work at all, or do the right thing. Although this hasn't happened to me, this driver could do very bad things to your laptop, including permanent damage.”h]”hXThis driver is not based on official documentation from Sony (because there is none), so there is no guarantee this driver will work at all, or do the right thing. Although this hasn’t happened to me, this driver could do very bad things to your laptop, including permanent damage.”…””}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K£hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjñh²hh³hÊh´Nubh×)”}”(hŒ~The sony-laptop and sonypi drivers do not interact at all. In the future, sonypi will be removed and replaced by sony-laptop. ”h]”hÝ)”}”(hŒ}The sony-laptop and sonypi drivers do not interact at all. In the future, sonypi will be removed and replaced by sony-laptop.”h]”hŒ}The sony-laptop and sonypi drivers do not interact at all. In the future, sonypi will be removed and replaced by sony-laptop.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K©hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjñh²hh³hÊh´Nubh×)”}”(hŒËspicctrl, which is the userspace tool used to communicate with the sonypi driver (through /dev/sonypi) is deprecated as well since all its features are now available under the sysfs tree via sony-laptop.”h]”hÝ)”}”(hŒËspicctrl, which is the userspace tool used to communicate with the sonypi driver (through /dev/sonypi) is deprecated as well since all its features are now available under the sysfs tree via sony-laptop.”h]”hŒËspicctrl, which is the userspace tool used to communicate with the sonypi driver (through /dev/sonypi) is deprecated as well since all its features are now available under the sysfs tree via sony-laptop.”…””}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K¬hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjñh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j9j×uh1hÑh³hÊh´K£hjàh²hubeh}”(h]”Œbugs-limitations”ah ]”h"]”Œbugs/limitations:”ah$]”h&]”uh1hµhh·h²hh³hÊh´K¡ubeh}”(h]”Œ'sony-notebook-control-driver-snc-readme”ah ]”h"]”Œ)sony notebook control driver (snc) readme”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jÑŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jtŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jOjLjj~j“jjjj;j8jÝjÚjGjDuŒ nametypes”}”(jO‰j‰j“‰j‰j;‰j݉jG‰uh}”(jLh·j~jOjj„jj–j8j jÚj>jDjàuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.