Re: sony_laptop bug - Can't change usb_charge attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 11, 2015 at 2:52 AM, Mattia Dongili <malattia@xxxxxxxx> wrote:
> Hi Dalton,
>
> On Wed, Jun 10, 2015 at 03:30:32AM +0530, Dalton Fury wrote:
>> [1.] [Sony VAIO SVF14212SNB] Can't change usb_charge attribute in
>> /sys/devices/platform/sony-laptop
>>
>> [2.] I am on a Sony VAIO svf43142sn. My laptop has the ability to
> ...
>> echo -n 0 | sudo tee -a /sys/devices/platform/sony-laptop/usb_charge
>>
>> these are the curresponding kernel log entries:
>>
>> [  495.400140] sony_laptop: found handle 0x0155 (offset: 0x07)
>> [  495.400955] sony_laptop: __call_snc_method: [SN07:0x0000000000000107]
>> [  495.400961] sony_laptop: called SN07 with 0x0107 (result: 0x0000)
>>
>> After attempting to change, and when I cat the value of usb_charge, I
>> find that it is unchanged. But when the cat cammand is executed, I get
>> these kernel messages:
>>
>> [  683.170315] sony_laptop: found handle 0x0155 (offset: 0x07)
>> [  683.170458] sony_laptop: __call_snc_method: [SN07:0x0000000000000007]
>> [  683.170462] sony_laptop: called SN07 with 0x0007 (result: 0x0001)
>
> I have the same behaviour on my laptop (a Pro11), I believe usb_charge
> was working correctly sometime in the past.
> It may take me some time but I should be able to take a look. In the
> meantime it would be good if you could attach the DSDT from your model
> to the Ubuntu bug report and send a link here too.
>
>> I don't know if it is relevent, but for writing this bug report, when
>> I booted into the latest upstream kernel, I could not boot. The second
>> time it booted successfully.
>
> I don't think it is.
>
> Thanks
> --
> mattia
> :wq!
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux