kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #122023
[Bug 1461986] [NEW] can't change usb_charge attribute in /sys/devices/platform/sony-laptop
Public bug reported:
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/platform/sony-laptop/usb_charge is 1, but the USB port
is not powered on. Also when I tried toggling it to 0 it resets back to
1 when I check again using cat.
So I restarted the module sony-laptop with debug flags on. When I try
echo -n 0 | sudo tee -a /sys/devices/platform/sony-laptop/usb_charge
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:0x0000000000000107]
[ 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:0x0000000000000007]
[ 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:0x0000000000010107]
[ 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://paste.ubuntu.com/11551226/
I have asked the same as a question on askubuntu.com. It has got a other information if you need it:
http://askubuntu.com/questions/628542/how-to-leave-a-usb-port-powered-during-shutdown-for-charging-mobile
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.16.0-38-generic 3.16.0-38.52~14.04.1
ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
Uname: Linux 3.16.0-38-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 4 19:43:21 2015
InstallationDate: Installed on 2015-05-28 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: linux-lts-utopic (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1461986
Title:
can't change usb_charge attribute in /sys/devices/platform/sony-laptop
Status in linux-lts-utopic package in Ubuntu:
New
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/platform/sony-laptop/usb_charge is 1, but the
USB port is not powered on. Also when I tried toggling it to 0 it
resets back to 1 when I check again using cat.
So I restarted the module sony-laptop with debug flags on. When I try
echo -n 0 | sudo tee -a /sys/devices/platform/sony-laptop/usb_charge
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:0x0000000000000107]
[ 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:0x0000000000000007]
[ 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:0x0000000000010107]
[ 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://paste.ubuntu.com/11551226/
I have asked the same as a question on askubuntu.com. It has got a other information if you need it:
http://askubuntu.com/questions/628542/how-to-leave-a-usb-port-powered-during-shutdown-for-charging-mobile
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.16.0-38-generic 3.16.0-38.52~14.04.1
ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
Uname: Linux 3.16.0-38-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 4 19:43:21 2015
InstallationDate: Installed on 2015-05-28 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/1461986/+subscriptions
Follow ups
-
[Bug 1461986] Re: [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-11
-
[Bug 1461986] Re: [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-10
-
[Bug 1461986] Re: [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-09
-
[Bug 1461986] Re: [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-09
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-09
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-09
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-09
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-08
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-08
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-08
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-07
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-07
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-06
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-06
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-05
-
[Bug 1461986] WifiSyslog.txt
From: Black, 2015-06-05
-
[Bug 1461986] UdevLog.txt
From: Black, 2015-06-05
-
[Bug 1461986] UdevDb.txt
From: Black, 2015-06-05
-
[Bug 1461986] RfKill.txt
From: Black, 2015-06-05
-
[Bug 1461986] PulseList.txt
From: Black, 2015-06-05
-
[Bug 1461986] ProcModules.txt
From: Black, 2015-06-05
-
[Bug 1461986] ProcInterrupts.txt
From: Black, 2015-06-05
-
[Bug 1461986] ProcEnviron.txt
From: Black, 2015-06-05
-
[Bug 1461986] ProcCpuinfo.txt
From: Black, 2015-06-05
-
[Bug 1461986] Lsusb.txt
From: Black, 2015-06-05
-
[Bug 1461986] Lspci.txt
From: Black, 2015-06-05
-
[Bug 1461986] IwConfig.txt
From: Black, 2015-06-05
-
[Bug 1461986] CurrentDmesg.txt
From: Black, 2015-06-05
-
[Bug 1461986] CRDA.txt
From: Black, 2015-06-05
-
[Bug 1461986] BootDmesg.txt
From: Black, 2015-06-05
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-05
-
[Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Christopher M. Penalver, 2015-06-05
-
[Bug 1461986] [NEW] can't change usb_charge attribute in /sys/devices/platform/sony-laptop
From: Black, 2015-06-04
References