[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-09 Thread Christopher M. Penalver
Black, if you wouldn't mind that would be a good testing vector.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-09 Thread Black
I've tested, and the bug still exists when I boot into Ubuntu via UEFI

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-09 Thread Christopher M. Penalver
Black, the issue you are reporting is an upstream one. Could you please
report this problem to the appropriate mailing list (platform-driver-x86
CC Mattia Dongili) by following the instructions verbatim at
https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you
have made it so that it may be tracked via http://vger.kernel.org/vger-
lists.html . It can take a day for the new e-mail to show up in the
respective archive.

Thank you for your understanding.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Triaged

** Summary changed:

- can't change usb_charge attribute in /sys/devices/platform/sony-laptop
+ [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in 
/sys/devices/platform/sony-laptop

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in
  /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Triaged

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-08 Thread Black
Yes, I am able to change it, and reactivate it by booting into Windows.
Here is a detailed summary of what I did:

I shut down my Ubuntu, inserted the HDD containing Windows 8 to my
optical bay, and booted into Windows.

I found that USB charging was already on in the VAIO program. I shut
down windows and checked if it was actuallly on, but the USB was not
powered.

I booted again into Windows and switched it off. I could successfully
switched it off and shut down my PC. When I checked if USB is powered,
it obviously was not powered.

I booted into windows yet again and switched it on. Now when I shut it
down, I found that I could charge my mobile successfully. In short, with
windows I was able to successfully reactivate USB Charging.

Now I switched the feature off from Windows and booted into Ubuntu, and
found it exactly as before, ie Even-though the feature was off,
usb_charging had a value of 1, and I could not change it to 0.

To test further, I booted into Windows, switched the feature back on,
tested it, and booted into linux. I got the same response.  usb_charging
had a value of 1, and I could not change it to 0.

I should add that windows boots with UEFI from the HDD in the optical
bay, while Ubuntu boots in Lagacy mode from the internal SSD. To see if
changing from UEFI to Lagacy had any effect, I booted into Windows,
switched it on and shut down. Now I confirmed that my phone is being
charged. I switched to Legacy, and yet again, I can charge my phone when
the PC is shut down.

If you want, I can test from UEFI booted Ubuntu.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony 

[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-08 Thread Black
I will do it and post back the results tonight, ie after 10 hrs.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-08 Thread Christopher M. Penalver
Black, are you able to charge when shutdown if you are using Windows?

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-07 Thread Black
I've tested on 4.1.0-040100rc6-generic, and the results are the same.
Also, I've lost my wifi, which was the only problem I encountered during
the test.

** Tags added: kernel-bug-exists-upstream kernel-bug-exists-
upstream-4.1-rc5

** Tags removed: kernel-bug-exists-upstream-4.1-rc5
** Tags added: kernel-bug-exists-upstream-4.1-rc6

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Confirmed

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-07 Thread Christopher M. Penalver
Black, could you please test the latest upstream kernel available from
the very top line at the top of the page (the release names are
irrelevant for testing, and please do not test the daily folder)
following https://wiki.ubuntu.com/Kernel/MainlineBuilds ? It will allow
additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into 
the OS) please make a comment in your report about this, and continue to test 
the next most recent kernel version until you can test to the issue. Once 
you've tested the upstream kernel, please comment on which kernel version 
specifically you tested. If this bug is fixed in the mainline kernel, please 
add the following tags by clicking on the yellow circle with a black pencil 
icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of
kernel-bug-exists-upstream.

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results.

Thank you for your understanding.

** Tags removed: bios-outdated-r0230da
** Tags added: latest-bios-r0230da

** Changed in: linux (Ubuntu)
   Importance: Low = Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  

[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-06 Thread Christopher M. Penalver
Black, as per http://www.sony.co.in/support/product/svf14212sn/download
an update to your computer's buggy and outdated BIOS is available
(R0230DA). If you update to this following
https://help.ubuntu.com/community/BIOSUpdate does it change anything?

If it doesn't, could you please both specify what happened, and provide the 
output of the following terminal command:
sudo dmidecode -s bios-version  sudo dmidecode -s bios-release-date

For more on BIOS updates and linux, please see
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette
.

Please note your current BIOS is already in the Bug Description, so
posting this on the old BIOS would not be helpful. As well, you don't
have to create a new bug report.

Once the BIOS is updated, and the information above is provided, then
please mark this report Status Confirmed.

Thank you for your understanding.

** Tags added: bios-outdated-r0230da

** Description changed:

- 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
- 
+ 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:0x0107] 
+ [ 9121.879908] sony_laptop: found handle 0x0155 (offset: 0x07)
+ [ 9121.881386] sony_laptop: __call_snc_method: [SN07:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)
  
- 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:0x0007] 
+ 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:0x0007]
  [ 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:0x00010107] 
+ [ 9879.675844] sony_laptop: found handle 0x0155 (offset: 0x07)
+ [ 9879.676878] sony_laptop: __call_snc_method: [SN07:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)
  
- 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:
+ 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)
- --- 
+ ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  dalton 1816 F pulseaudio
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  

[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-06 Thread Black
Well, I've updated the BIOS, but it does not change anything. For
updating, I swapped my SSH with an old HDD with the OEM Windows. But
still the result is the same, the value of USB charge is 1, and can't be
changed. Here is the output you  asked for:

sudo dmidecode -s bios-version  sudo dmidecode -s bios-release-date
R0230DA
02/24/2015


** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Confirmed

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:0x0107]
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007]
  [ 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:0x00010107]
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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

  ---
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-05 Thread Black
apport information

** Tags added: apport-collected

** Description changed:

  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:0x0107] 
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)
  
  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:0x0007] 
  [ 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:0x00010107] 
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)
  
  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)
+ --- 
+ ApportVersion: 2.14.1-0ubuntu3.11
+ Architecture: amd64
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  dalton 1816 F pulseaudio
+ CurrentDesktop: GNOME
+ DistroRelease: Ubuntu 14.04
+ HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
+ InstallationDate: Installed on 2015-05-28 (7 days ago)
+ InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
+ MachineType: Sony Corporation SVF14212SNW
+ NonfreeKernelModules: wl
+ Package: linux (not installed)
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
+ RelatedPackageVersions:
+  linux-restricted-modules-3.16.0-38-generic N/A
+  linux-backports-modules-3.16.0-38-generic  N/A
+  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.asset.tag: N/A
+ dmi.board.name: VAIO
+ dmi.board.vendor: Sony Corporation
+ dmi.board.version: N/A
+ dmi.chassis.asset.tag: N/A
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: Sony Corporation
+ dmi.chassis.version: N/A
+ dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
+ dmi.product.name: SVF14212SNW
+ dmi.product.version: C10JZ3LZ
+ dmi.sys.vendor: Sony Corporation

** Attachment added: AlsaInfo.txt
   
https://bugs.launchpad.net/bugs/1461986/+attachment/4410381/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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 

[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-05 Thread Christopher M. Penalver
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

** Package changed: linux-lts-utopic (Ubuntu) = linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Undecided = Low

** Changed in: linux (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107] 
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007] 
  [ 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:0x00010107] 
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1461986] Re: can't change usb_charge attribute in /sys/devices/platform/sony-laptop

2015-06-05 Thread Black
I've executed the command.  It gives back this message on the terminal:

dpkg-query: no packages found matching linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461986

Title:
  can't change usb_charge attribute in /sys/devices/platform/sony-laptop

Status in linux package in Ubuntu:
  Incomplete

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:0x0107] 
  [ 9121.881394] sony_laptop: called SN07 with 0x0107 (result: 0x)

  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:0x0007] 
  [ 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:0x00010107] 
  [ 9879.676885] sony_laptop: called SN07 with 0x10107 (result: 0x)

  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)
  --- 
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  dalton 1816 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=babf655a-816a-4c8a-ad03-6fe550cc1d60
  InstallationDate: Installed on 2015-05-28 (7 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: Sony Corporation SVF14212SNW
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-38-generic 
root=UUID=d52d966a-2fa0-4050-821e-99176a8fc013 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-38.52~14.04.1-generic 3.16.7-ckt10
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-38-generic N/A
   linux-backports-modules-3.16.0-38-generic  N/A
   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.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrR0220DA:bd11/18/2013:svnSonyCorporation:pnSVF14212SNW:pvrC10JZ3LZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: SVF14212SNW
  dmi.product.version: C10JZ3LZ
  dmi.sys.vendor: Sony Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461986/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp