[Sony VAIO SVF14212SNB] Can't change usb_charge attribute in /sys/devices/platform/sony-laptop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I am on a Sony VAIO svf43142sn. My laptop has the ability to leave a USB port powered on even after shutdown to charge other devices. The value of /sys/devices/
echo -n 0 | sudo tee -a /sys/devices/
these are the curresponding kernel logs, implying that it was a success:
[ 9121.879908] sony_laptop: found handle 0x0155 (offset: 0x07)
[ 9121.881386] sony_laptop: __call_snc_method: [SN07:0x0000000
[ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x0000)
But if I cat the value of usb charge, the change is not reflected, and I see this when I dmesg:
[ 9346.202318] sony_laptop: found handle 0x0155 (offset: 0x07)
[ 9346.202489] sony_laptop: __call_snc_method: [SN07:0x0000000
[ 9346.202494] sony_laptop: called SN07 with 0x0007 (result: 0x0001)
If it matters, when i simply echo 1, I will get this:
[ 9879.675844] sony_laptop: found handle 0x0155 (offset: 0x07)
[ 9879.676878] sony_laptop: __call_snc_method: [SN07:0x0000000
[ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x0000)
The entire debug message when I restart the module(sony-laptop) is given here: http://
http://
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: GNOME
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-05-28 (7 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Sony Corporation SVF14212SNW
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.12
Tags: trusty
Uname: Linux 3.16.0-38-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/18/2013
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: R0220DA
dmi.board.
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.name: SVF14212SNW
dmi.product.
dmi.sys.vendor: Sony Corporation
tags: | added: bios-outdated-r0230da |
description: | updated |
Black, thank you for reporting this and helping make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1461986