All of lore.kernel.org
 help / color / mirror / Atom feed
* Acer Aspire 5733 - acer_wmi problems
@ 2012-11-23 19:47 Justin Chudgar
  2012-11-26  9:59 ` Sebastian Riemer
       [not found] ` <50B12F0F.9010300@justinzane.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Justin Chudgar @ 2012-11-23 19:47 UTC (permalink / raw)
  To: platform-driver-x86

[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]

I have an Acer Aspire 5733 that is having issues with:
- <fn>+<brightness/volume/suspend/etc.> key combos not working
- screen not resuming when unplugging/replugging a system while system
continues operating

Could someone please help me determine how to triage these and direct me
on what info the maintainer needs from me.

Thank you.

##### Excerpt from lshw #####
   description: Notebook
    product: Aspire 5733 (Calpella_CRB)
    vendor: Acer
    version: V1.07
    serial:
NXRN5AA00221703D023400                                                                           

    width: 64
bits                                                                                           

    capabilities: smbios-2.6 dmi-2.6
vsyscall32                                                              
    configuration: boot=normal chassis=notebook family=Intel_Mobile
sku=Calpella_CRB
uuid=F5E6A1B5-81FF-11E1-A5D0-DC0EA1AC38D5                                                                                             

 
*-core                                                                                                     

       description: Motherboard
       product: Aspire 5733
       vendor: Acer
       physical id: 0
       version: V1.07
       serial: Base Board Serial Number
       slot: Base Board Chassis Location
     *-firmware
          description: BIOS
          vendor: Acer
          physical id: 0
          version: V1.07
          date: 11/07/2011
          size: 1MiB
          capacity: 1472KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd
int13floppynec int13floppytoshiba int13floppy360 int13floppy1200
int13floppy720 int13floppy2880 int9keyboard int10video acpi usb
biosbootspecification

-- 
Justin Chudgar  |  Weed, CA 96094  |  530 921 0738 | http://www.justinzane.com/


[-- Attachment #2: justin.vcf --]
[-- Type: text/x-vcard, Size: 150 bytes --]

begin:vcard
fn:Justin Chudgar
n:Chudgar;Justin
email;internet:justin@justinzane.com
tel;cell:530-921-0738
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Acer Aspire 5733 - acer_wmi problems
  2012-11-23 19:47 Acer Aspire 5733 - acer_wmi problems Justin Chudgar
@ 2012-11-26  9:59 ` Sebastian Riemer
  2012-11-26 10:32   ` Sebastian Riemer
       [not found] ` <50B12F0F.9010300@justinzane.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Sebastian Riemer @ 2012-11-26  9:59 UTC (permalink / raw)
  To: Justin Chudgar; +Cc: platform-driver-x86, joeyli

Hi Justin,

the disassembled DSDT always helps as a first step.

1. install "iasl" or get and compile the source:
https://www.acpica.org/downloads/unix_source_code.php
2. cp /sys/firmware/acpi/tables/DSDT dsdt.aml
3. iasl -d dsdt.aml

This creates a "dsdt.dsl" file. This is the interesting one.

Furthermore, check the kernel bugzilla if there isn't a similar bug
somewhere already.
http://bugzilla.kernel.org

This article is also good literature how WMI drivers work:
http://lwn.net/Articles/391230/

Also check for latest /lib/udev/keymaps/ and
/lib/udev/keymaps/force-release/. On this page this helped e.g. on a
Samsung laptop: http://blog.nonobis.nl/?p=11

Cheers,
Sebastian


On 23.11.2012 20:47, Justin Chudgar wrote:
> I have an Acer Aspire 5733 that is having issues with:
> - <fn>+<brightness/volume/suspend/etc.> key combos not working
> - screen not resuming when unplugging/replugging a system while system
> continues operating
>
> Could someone please help me determine how to triage these and direct me
> on what info the maintainer needs from me.
>
> Thank you.
>
> ##### Excerpt from lshw #####
>    description: Notebook
>     product: Aspire 5733 (Calpella_CRB)
>     vendor: Acer
>     version: V1.07
>     serial:
> NXRN5AA00221703D023400                                                                           
>
>     width: 64
> bits                                                                                           
>
>     capabilities: smbios-2.6 dmi-2.6
> vsyscall32                                                              
>     configuration: boot=normal chassis=notebook family=Intel_Mobile
> sku=Calpella_CRB
> uuid=F5E6A1B5-81FF-11E1-A5D0-DC0EA1AC38D5                                                                                             
>
>  
> *-core                                                                                                     
>
>        description: Motherboard
>        product: Aspire 5733
>        vendor: Acer
>        physical id: 0
>        version: V1.07
>        serial: Base Board Serial Number
>        slot: Base Board Chassis Location
>      *-firmware
>           description: BIOS
>           vendor: Acer
>           physical id: 0
>           version: V1.07
>           date: 11/07/2011
>           size: 1MiB
>           capacity: 1472KiB
>           capabilities: pci upgrade shadowing cdboot bootselect edd
> int13floppynec int13floppytoshiba int13floppy360 int13floppy1200
> int13floppy720 int13floppy2880 int9keyboard int10video acpi usb
> biosbootspecification
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Acer Aspire 5733 - acer_wmi problems
  2012-11-26  9:59 ` Sebastian Riemer
@ 2012-11-26 10:32   ` Sebastian Riemer
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Riemer @ 2012-11-26 10:32 UTC (permalink / raw)
  To: Justin Chudgar; +Cc: platform-driver-x86, joeyli

Btw.: with "evtest" you can check if the scan codes of the missing keys
are sent when pressing them.
Then, it is just a key mapping issue and not an ACPI issue.

Scan codes need to be mapped to key codes.

Here is an example:
http://ubuntuforums.org/showpost.php?p=11336640&postcount=178

Cheers,
Sebastian


On 26.11.2012 10:59, Sebastian Riemer wrote:
> Hi Justin,
>
> the disassembled DSDT always helps as a first step.
>
> 1. install "iasl" or get and compile the source:
> https://www.acpica.org/downloads/unix_source_code.php
> 2. cp /sys/firmware/acpi/tables/DSDT dsdt.aml
> 3. iasl -d dsdt.aml
>
> This creates a "dsdt.dsl" file. This is the interesting one.
>
> Furthermore, check the kernel bugzilla if there isn't a similar bug
> somewhere already.
> http://bugzilla.kernel.org
>
> This article is also good literature how WMI drivers work:
> http://lwn.net/Articles/391230/
>
> Also check for latest /lib/udev/keymaps/ and
> /lib/udev/keymaps/force-release/. On this page this helped e.g. on a
> Samsung laptop: http://blog.nonobis.nl/?p=11
>
> Cheers,
> Sebastian
>
>
> On 23.11.2012 20:47, Justin Chudgar wrote:
>> I have an Acer Aspire 5733 that is having issues with:
>> - <fn>+<brightness/volume/suspend/etc.> key combos not working
>> - screen not resuming when unplugging/replugging a system while system
>> continues operating
>>
>> Could someone please help me determine how to triage these and direct me
>> on what info the maintainer needs from me.
>>
>> Thank you.
>>
>> ##### Excerpt from lshw #####
>>    description: Notebook
>>     product: Aspire 5733 (Calpella_CRB)
>>     vendor: Acer
>>     version: V1.07
>>     serial:
>> NXRN5AA00221703D023400                                                                           
>>
>>     width: 64
>> bits                                                                                           
>>
>>     capabilities: smbios-2.6 dmi-2.6
>> vsyscall32                                                              
>>     configuration: boot=normal chassis=notebook family=Intel_Mobile
>> sku=Calpella_CRB
>> uuid=F5E6A1B5-81FF-11E1-A5D0-DC0EA1AC38D5                                                                                             
>>
>>  
>> *-core                                                                                                     
>>
>>        description: Motherboard
>>        product: Aspire 5733
>>        vendor: Acer
>>        physical id: 0
>>        version: V1.07
>>        serial: Base Board Serial Number
>>        slot: Base Board Chassis Location
>>      *-firmware
>>           description: BIOS
>>           vendor: Acer
>>           physical id: 0
>>           version: V1.07
>>           date: 11/07/2011
>>           size: 1MiB
>>           capacity: 1472KiB
>>           capabilities: pci upgrade shadowing cdboot bootselect edd
>> int13floppynec int13floppytoshiba int13floppy360 int13floppy1200
>> int13floppy720 int13floppy2880 int9keyboard int10video acpi usb
>> biosbootspecification
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Acer Aspire 5733 - acer_wmi problems
       [not found]     ` <50B2C063.3030104@justinzane.com>
@ 2012-11-26 18:28       ` joeyli
  0 siblings, 0 replies; 4+ messages in thread
From: joeyli @ 2012-11-26 18:28 UTC (permalink / raw)
  To: Justin Chudgar; +Cc: platform-driver-x86, Leslie Zane

Hi Justin, 

OK, looks not just one problem on you machine. Let's clarify one by one:
 
+ For the Fn key you said: 
   <fn>+<brightness/volume/suspend/etc.> key combos not working 
   
   That a bit strange for at least the volume control (normally on Acer
machine are Fn+up/down) should work because it direct send out useful
scan code. 

   Please help to capture the scan code by showkey:
	- Add atkbd.softraw=0 kernel parameter and reboot system.
	- Switch to console and login with root account, then run:
		# showkey -s
   	 press Fn key and monitor the showkey output.


+ For we want to make sure acer-wmi causes any problem:
   Please add acer-wmi to the blacklist of modprobe
(e.g. /etc/modprobe.d/blacklist), then try to reproduce all issues on
your machine. (Fn key, AC power...)


+ For brightness control:
  Please check does there have /sys/class/backlight/acpi_video0 folder
on your machine. If you found it, please try to change the backlight by:
	# echo 3 > /sys/class/backlight/acpi_video0/brightness

  If you didn't see acpi_video0, please try 'acpi_backlight=vendor'
kernel parameter. Then /sys/class/backlight/intel_backlight should show
up on your machine if it used Intel graphics Adapter.


+ For the AC power problem:
	Per your DSDT, the EC _Q37 is mapping to AC unplug and _Q38 is AC plug.
In _Q37 and _Q38, they notify AC, Battery and Processor acpi devices,
but I didn't see it changed backlight. Did you set S3 suspend when lid
close?


Thanks a lot!
Joey Lee

於 日,2012-11-25 於 17:05 -0800,Justin Chudgar 提到:
> The acpidump tarball isattached.What I meant by unplugged/plugged was this:
> 1 - the laptop is plugged into AC power
> 2 - the laptop is left with the lid closed, unused for longer than
> ~15-30 minutes.
> 3 - the laptop's power adapter is unplugged from the AC outlet for
> ~30-60 seconds.
> 4 - the laptop's power adapter is plugged into another AC outlet
> *Problem*
> - After the above sequence, the laptop screen will not work. This means
> that the backlight is off and the screen is blank. The laptop does not
> respond to any user input, via trackpad, normal keyboard keys,
> <fn>+<SPECIAL> keys that I assume are handled by acer_wmi. It does work
> perfectly fine when accessed via ssh, though even restarting kdm via ssh
> fails to reactivate the screen. The only way to recover the screen is to
> reboot.
> *Other Problems*
> - Multimedia keys do not work.
> 
> Justin Chudgar  |  Weed, CA 96094  |  530 921 0738 | http://www.justinzane.com/
> 
> On 11/24/2012 10:41 PM, joeyli wrote:
> > Hi Justin, 
> >
> > 於 六,2012-11-24 於 12:33 -0800,Justin Chudgar 提到:
> >>
> >> This is what I am having problems with. Thanks for the quick reply.
> >>
> >> Justin Chudgar  |  Weed, CA 96094  |  530 921 0738 |
> >> http://www.justinzane.com/
> >>
> >>
> >>
> >> -------- Original Message --------
> >> Subject:        Acer Aspire 5733 - acer_wmi problems
> >> Date:   Fri, 23 Nov 2012 11:47:02 -0800
> >> From:   Justin Chudgar <justin@justinzane.com>
> >> To:     platform-driver-x86@vger.kernel.org
> >>
> >>
> >>
> >> I have an Acer Aspire 5733 that is having issues with:
> >> - <fn>+<brightness/volume/suspend/etc.> key combos not working
> > Please provide acpidump from your Aspire 5733. Run the following command
> > by root:
> >  # acpidump > acpidump.dat
> >
> > Please send acpidump.dat to me.
> >
> >> - screen not resuming when unplugging/replugging a system while system
> >> continues operating
> > I am not fully understand what means 'unplugging/replugging'? 
> >
> >> Could someone please help me determine how to triage these and direct
> >> me
> >> on what info the maintainer needs from me.
> >>
> >> Thank you. 
> > Thanks a lot!
> > Joey Lee
> >
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-26 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23 19:47 Acer Aspire 5733 - acer_wmi problems Justin Chudgar
2012-11-26  9:59 ` Sebastian Riemer
2012-11-26 10:32   ` Sebastian Riemer
     [not found] ` <50B12F0F.9010300@justinzane.com>
     [not found]   ` <1353825698.21227.745.camel@linux-s257.site>
     [not found]     ` <50B2C063.3030104@justinzane.com>
2012-11-26 18:28       ` Fwd: " joeyli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.