[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-16 Thread gluth
Thank you Seth for some reference. I have found informations about
writing WMI drivers very interesting and have started creation of such
module especially for my laptop. I have decompiled MOF object found in
DSDT and its interface definition gave me some hope for a quick solution
(it is very ugly implementation, I saw better ones). I will contact with
you when I will have something working on my machine.

Currently I'm creating implementation for this interface with use of
kernel acpi/wmi methods.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-15 Thread Seth Forshee
The fix for the issue with HCI_SYSTEM_EVENT is upstream as 3.2-rc5, and
is also now in the kernel for precise. Therefore I'm moving the status
to fix released.

gluth, thanks a lot for helping test the hotkey support as well. Too bad
it isn't going to work for your machine.

** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-08 Thread gluth
It has successfully loaded and nicely informed me that machine has known
hotkey problems and they will be disabled. This fixes loading problem. I
found WMI reference very interesting and will try to experiment with my
own driver (I always wanted to contribute something to Linux kernel). I
will inform you when I will have some interesting results.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-06 Thread Seth Forshee
gluth: Can you try the toshiba_acpi.ko below? It will disable hotkey
support for your model, so the driver will still load but you should no
longer see the AML execution errors when trying to use hotkeys. And
obviously your hotkeys aren't going to work.

http://people.canonical.com/~sforshee/lp827558/toshiba_acpi/v3/toshiba_acpi.ko

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread Seth Forshee
On Mon, Dec 05, 2011 at 10:48:37PM -, gluth wrote:
> Could you share some links about WMI interface definition? I recognize
> it only as a part of Windows low-level core fun tools.

Start with the link below. There are some links at the bottom of the
page that can serve as a launching-off point from there.

https://wiki.ubuntu.com/Kernel/Reference/WMI

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread gluth
Could you share some links about WMI interface definition? I recognize
it only as a part of Windows low-level core fun tools.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread Seth Forshee
On Mon, Dec 05, 2011 at 10:12:42PM -, gluth wrote:
> Yup, you are right, it looks like BIOS in this machine is completely
> crapish and does work in random way (sometimes right, sometimes wrong).
> I have tried to reproduce battery autofixing but was unable. Is there
> any ACPI method which returns lot's of data but does not change anything
> in and could be used to clear ACPI buffers?

The buffer in question is only used for some types of events, like
hotkeys (I'm not sure what other types of events it's used for, but it's
obvious from the DSDT that it expects other types of events). The only
method that clears out the data in that buffer is the one we're already
using to get the hotkey data.

Another interesting thing that's perhaps worth noting is that the WMI
interface doesn't appear to use the buffer in the same way -- it just
sticks the most recent event in the first entry of the buffer and then
reads back only that entry. So if the WMI interface was supported it
shouldn't suffer from the same problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread gluth
Yup, you are right, it looks like BIOS in this machine is completely
crapish and does work in random way (sometimes right, sometimes wrong).
I have tried to reproduce battery autofixing but was unable. Is there
any ACPI method which returns lot's of data but does not change anything
in and could be used to clear ACPI buffers?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread Seth Forshee
On Mon, Dec 05, 2011 at 09:25:56PM -, gluth wrote:
> This is weird. I was playing with modules, loading using insmod and
> eteacera, hotkeys were not working, and suddenly battery got fully
> charged, this appeared in logs:
> 
> Dec  5 22:21:48 skeleton kernel: [ 2219.164404] ACPI Exception: 
> AE_AML_BUFFER_LIMIT, Index (0x00FF) is beyond end of object 
> (20110413/exoparg2-418)
> Dec  5 22:21:48 skeleton kernel: [ 2219.164421] ACPI Error: Method 
> parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BIF9] (Node 8801311633e8), 
> AE_AML_BUFFER_LIMIT (20110413/psparse-536)
> Dec  5 22:21:48 skeleton kernel: [ 2219.164442] ACPI Error: Method 
> parse/execution failed [\_SB_.PCI0.BAT0._BIF] (Node 880131163140), 
> AE_AML_BUFFER_LIMIT (20110413/psparse-536)
> Dec  5 22:21:48 skeleton kernel: [ 2219.164461] ACPI Exception: 
> AE_AML_BUFFER_LIMIT, Evaluating _BIF (20110413/battery-419)
> 
> and suddenly hotkeys have started to work.

That problem _should_ be completely unrelated to your hotkeys, it's just
that Toshiba has another bug in their AML code for getting battery
information. But I have no explanation as to why this would get your
hotkeys working -- it's possible it was just coincidence, but I don't
really know.

I'm becoming pretty convinced that we'll just have to disable hotkeys
for your model in toshiba_acpi. I'm not seeing any acceptable way to
work around it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread gluth
This is weird. I was playing with modules, loading using insmod and
eteacera, hotkeys were not working, and suddenly battery got fully
charged, this appeared in logs:

Dec  5 22:21:48 skeleton kernel: [ 2219.164404] ACPI Exception: 
AE_AML_BUFFER_LIMIT, Index (0x00FF) is beyond end of object 
(20110413/exoparg2-418)
Dec  5 22:21:48 skeleton kernel: [ 2219.164421] ACPI Error: Method 
parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BIF9] (Node 8801311633e8), 
AE_AML_BUFFER_LIMIT (20110413/psparse-536)
Dec  5 22:21:48 skeleton kernel: [ 2219.164442] ACPI Error: Method 
parse/execution failed [\_SB_.PCI0.BAT0._BIF] (Node 880131163140), 
AE_AML_BUFFER_LIMIT (20110413/psparse-536)
Dec  5 22:21:48 skeleton kernel: [ 2219.164461] ACPI Exception: 
AE_AML_BUFFER_LIMIT, Evaluating _BIF (20110413/battery-419)

and suddenly hotkeys have started to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread okias
Patch seems to work correctly (tested with rc4)! I'll test for few
hours, so if I don't hit any issue in 24 hours, I'd like to see that
patch into mainline =]

Thanks for your work!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread Seth Forshee
Okay, I think I have an idea of what's going on in the situation from
comment #57. When you load the module without the hotkey support, events
can still be happening but they never get read from the bios. By the
time you've unloaded the old module and loaded the new one, enough
events have come in to completely fill the bios's buffer, therefore when
you start reading events all of the objects have been initialized and
reading the events does not trigger the exception. Unfortunately, that
doesn't help us work around your issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread Seth Forshee
On Mon, Dec 05, 2011 at 08:38:40AM -, gluth wrote:
> There is one interesting thing, which may lead you to solution. When I
> was loading this module manually there was no errors with buffers, but
> when It was loaded with kernel starts issue appeared. I will try to
> blacklist this module and load it manually to conform, but maybe there
> is some initialization done by other module? I will do some tests and
> report back.

Let me make sure I understand. If you first load an older version of
toshiba_acpi without hotkey support, unload it, then load a version with
hotkey support, you never see the AML exception messages? But if you
load the version with hotkey support first, then you see the errors?

That is interesting. Can you tell me exactly which "older" and "newer"
versions of the modules you're using when you observe this so I can
compare exactly what changed? I can't think of anything that I would
expect to affect this, but if I know exactly which versions I can
compare the code to see what I'm overlooking.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-05 Thread gluth
There is one interesting thing, which may lead you to solution. When I
was loading this module manually there was no errors with buffers, but
when It was loaded with kernel starts issue appeared. I will try to
blacklist this module and load it manually to conform, but maybe there
is some initialization done by other module? I will do some tests and
report back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-02 Thread Seth Forshee
On Fri, Dec 02, 2011 at 09:35:30AM -, gluth wrote:
> I wonder why overwhelming BIOS with keystrokes turn off this warning. I
> will try to reach toshiba, but does not expect anything else than
> "install windows" response.

Here's a guess about why this happens. The DSDT has a sort of buffer to
store up to 100 events, but it's really more like a group of 100
uninitialized objects than a buffer. Every time you read an event, it
pulls the first object from the buffer then iterates over the rest of
the objects, copying each item to the previous position. The exception
happens when the DSDT tries to access an uninitialized object from the
buffer, one that hasn't been previously written, to copy it to the
previous position.

If you're able to fill up the buffer, every object will get initialized
to some value, and I suspect the problem goes away. So I'm guessing that
what you're doing is generating events faster than they're being read
(or something along those lines), eventually filling the buffer, at
which point the exception stops happening.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-02 Thread gluth
I wonder why overwhelming BIOS with keystrokes turn off this warning. I
will try to reach toshiba, but does not expect anything else than
"install windows" response.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-12-01 Thread Seth Forshee
I did some debugging of your DSDT, and it's doing an operation that
appears to be in violation of the ACPI specification, analogous to a
null pointer dereference in C. It may be that the Windows AML
interpreter allows this, but the one in Linux does not and throws the
exceptions you've been seeing in your logs.

I still need to work out what to do about this; it may be that
blacklisting the use of hotkeys for this model is the only option. At
any rate I don't think it will be possible to get hotkey support for
your machine, short of creating a driver for the WMI interface.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread gluth
Stupid me, it's not memory address, this long hex number is status.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread gluth
I'm back from reboot and testing. Notices:
 - pressing Fn (push) raises error,
 - release Fn raises error,
 - pressing Fn+F2 raises errors (both on press and release)

Next, I was unable to take this notice out by pressing 'f' repeatly (I
was trying very hard), the error was raised till I have pressed Fn+F2
repeatly for some time. Pressing and holding Fn key does not make this
issue to go away (tested for few seconds).

I have attached all events from syslog, from first to last one. There is
something interesting going on with memory address in error.

** Attachment added: "syslog_excerpt.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/827558/+attachment/2604333/+files/syslog_excerpt.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread Seth Forshee
On Mon, Nov 21, 2011 at 10:12:26PM -, gluth wrote:
> I observed that I don't have to push any other than Fn key to raise this
> error. I was pressing Fn + F2 repeatly until battery status came out.
> I'll try to reload system and will test press & release scenario and
> overflow with any key.

Okay, would it be accurate then to say that pressing the Fn key without
one of the hotkey buttons generates the message, but pressing it with
one of the hotkey buttons does not?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread gluth
I observed that I don't have to push any other than Fn key to raise this
error. I was pressing Fn + F2 repeatly until battery status came out.
I'll try to reload system and will test press & release scenario and
overflow with any key.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread Seth Forshee
On Mon, Nov 21, 2011 at 09:33:38PM -, gluth wrote:
> I have updated and tested, and it seems that every time when I sue FN
> key it ends with. It is alway reproductable, after every system restart
> (cold or hot, does not matter):

I'm not completely clear on the details of what you're saying. Does that
get printed out every time you release the Fn key? Only if you use the
Fn key without pressing a hotkey?

Fundamentally I think this is something broken in your BIOS, but perhaps
something we can work around. I think there is some flaw in what it's
doing with the hotkey handling such that if we call the INFO method when
it doesn't have an event queued up it experiences a runtime failure. If
you can describe in detail the _exact_ actions required to trigger the
failure, then I may be able to work out a way to avoid it.

> The only way to have keys working is to overflow system with key presses
> (it will clear the error somehow - dunno why), after that everything
> works ok.

Do you mean all keys or just hotkeys?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-21 Thread gluth
I have updated and tested, and it seems that every time when I sue FN
key it ends with. It is alway reproductable, after every system restart
(cold or hot, does not matter):

Nov 21 22:28:17 skeleton kernel: [  129.096715] ACPI Error: Result stack is 
empty! State=88012d70f800 (20110413/dswstate-98)
Nov 21 22:28:17 skeleton kernel: [  129.096722] ACPI Exception: 
AE_AML_NO_RETURN_VALUE, Missing or null operand (20110413/dsutils-646)
Nov 21 22:28:17 skeleton kernel: [  129.096727] ACPI Exception: 
AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110413/dsutils-763)
Nov 21 22:28:17 skeleton kernel: [  129.096732] ACPI Error: Method 
parse/execution failed [\_SB_.VALZ.GETE] (Node 880131175eb0), 
AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
Nov 21 22:28:17 skeleton kernel: [  129.096740] ACPI Error: Method 
parse/execution failed [\_SB_.VALZ.INFO] (Node 880131175ed8), 
AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
Nov 21 22:28:17 skeleton kernel: [  129.096749] toshiba_acpi: ACPI INFO method 
execution failed
Nov 21 22:28:17 skeleton kernel: [  129.096751] toshiba_acpi: Failed to query 
hotkey event

The only way to have keys working is to overflow system with key presses
(it will clear the error somehow - dunno why), after that everything
works ok.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-17 Thread Ubuntu Foundation's Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-17 Thread Seth Forshee
On Fri, Nov 18, 2011 at 12:51:44AM -, okias wrote:
> Toshiba a210-15j, 3.2.0-rc1-00252-g8f042aa... dies on flood with
> toshiba_acpi: Re-enabled hotkeys.
> 
> Please fix it, thank you :-)
> 
> P.S. Of course, I can test patches (Gentoo OS)

I've sent the fix upstream, and I expect it to be merged before 3.2
final.

https://lkml.org/lkml/2011/11/16/461

Also attaching the patch for your convenience. I'd appreciate it if
you'd report back your results once you've tested it, either here or in
response to the upstream patch submission.


** Patch added: 
"0001-toshiba_acpi-Fix-machines-that-don-t-support-HCI_SYS.patch"
   
https://bugs.launchpad.net/bugs/827558/+attachment/2600499/+files/0001-toshiba_acpi-Fix-machines-that-don-t-support-HCI_SYS.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-17 Thread okias
Toshiba a210-15j, 3.2.0-rc1-00252-g8f042aa... dies on flood with
toshiba_acpi: Re-enabled hotkeys.

Please fix it, thank you :-)

P.S. Of course, I can test patches (Gentoo OS)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-17 Thread Seth Forshee
FYI I've updated the PPA with the code you tested, so it should be safe
to resubscribe to the PPA if you wish to do so.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
On Wed, Nov 16, 2011 at 11:08:30PM -, gluth wrote:
> Backlight also should be in separate ticket?

Yes. The backlight on your machine cannot be adjusted using
toshiba_acpi, so the task is probably to investigate why the standard
ACPI backlight interfaces aren't working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
Backlight also should be in separate ticket?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
You need a new ticket for the failure to resume from suspend. Your
original report indicates that you see the problem when toshiba_acpi
isn't loaded, so it can't be to blame.

I can't pinpoint the exact cause of the AML execution error, but it
seems very likely that the cause is some bug in the AML. If you can find
a way to reproduce the issue we can try to debug further, otherwise it
should be safe to ignore.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
Whoa! I didn't know that BIOS can do that! Well, it is pretty good place
to hide a rootkit especially when BIOS is very easy to flash. Sleep &
wakeup issue is addressed in this module or should I create new ticket
for this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
On Wed, Nov 16, 2011 at 07:54:23PM -, gluth wrote:
> Battery status and lock key works. Sleep key works (screen goes blank,
> unable to wake). Brightnes key works, but not brightness itself, wifi
> key works, touchpad lock key works, but touchpad does not lock itself
> (no message), zoom keys does not raise any message.

That sounds pretty normal. The zoom keys are probably working, but no
action is being taken in response.

> The only key which does not work is Fn+Space (zoom in square, whatever
> it means):
> 
> Nov 16 20:36:25 skeleton kernel: [14067.449525] kbd_keycode: 30 callbacks 
> suppressed
> Nov 16 20:36:25 skeleton kernel: [14067.449528] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:25 skeleton kernel: [14067.449539] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:25 skeleton kernel: [14067.449544] toshiba_acpi: Unknown key 139
> Nov 16 20:36:49 skeleton kernel: [14090.816549] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:49 skeleton kernel: [14090.816566] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:49 skeleton kernel: [14090.816574] toshiba_acpi: Unknown key 139
> Nov 16 20:36:49 skeleton kernel: [14091.134415] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:49 skeleton kernel: [14091.134431] keyboard: can't emulate 
> rawmode for keycode 240
> Nov 16 20:36:49 skeleton kernel: [14091.134439] toshiba_acpi: Unknown key 139

This is easily fixed.

> Later it appears with other error:
> 
> Nov 16 20:48:21 skeleton kernel: [  528.417041] toshiba_acpi: ACPI INFO 
> method execution failed
> Nov 16 20:48:21 skeleton kernel: [  528.417045] toshiba_acpi: Failed to query 
> hotkey event
> Nov 16 20:48:21 skeleton kernel: [  528.680297] ACPI Error: Result stack is 
> empty! State=8800ac34 (20110413/dswstate-98)
> Nov 16 20:48:21 skeleton kernel: [  528.680310] ACPI Exception: 
> AE_AML_NO_RETURN_VALUE, Missing or null operand (20110413/dsutils-646)
> Nov 16 20:48:21 skeleton kernel: [  528.680336] ACPI Exception: 
> AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110413/dsutils-763)
> Nov 16 20:48:21 skeleton kernel: [  528.680363] ACPI Error: Method 
> parse/execution failed [\_SB_.VALZ.GETE] (Node 880131175eb0), 
> AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
> Nov 16 20:48:21 skeleton kernel: [  528.680379] ACPI Error: Method 
> parse/execution failed [\_SB_.VALZ.INFO] (Node 880131175ed8), 
> AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
> Nov 16 20:48:21 skeleton kernel: [  528.680396] toshiba_acpi: ACPI INFO 
> method execution failed
> Nov 16 20:48:21 skeleton kernel: [  528.680400] toshiba_acpi: Failed to query 
> hotkey event
> 
> Any key results with above log. It looks like some buffering issue. Now
> I'm unable to duplicate.

This I've never seen before. It's an AML runtime error (AML is a
bytecode language used to allow the BIOS to supply code for the OS to
execute). I can't tell exactly what's happening, but it looks like
something isn't returning a value as expected. I'll poke at it a little
bit, but if it's a problem in the AML then we may not be able to fix it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
Battery status and lock key works. Sleep key works (screen goes blank,
unable to wake). Brightnes key works, but not brightness itself, wifi
key works, touchpad lock key works, but touchpad does not lock itself
(no message), zoom keys does not raise any message.

The only key which does not work is Fn+Space (zoom in square, whatever
it means):

Nov 16 20:36:25 skeleton kernel: [14067.449525] kbd_keycode: 30 callbacks 
suppressed
Nov 16 20:36:25 skeleton kernel: [14067.449528] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:25 skeleton kernel: [14067.449539] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:25 skeleton kernel: [14067.449544] toshiba_acpi: Unknown key 139
Nov 16 20:36:49 skeleton kernel: [14090.816549] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:49 skeleton kernel: [14090.816566] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:49 skeleton kernel: [14090.816574] toshiba_acpi: Unknown key 139
Nov 16 20:36:49 skeleton kernel: [14091.134415] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:49 skeleton kernel: [14091.134431] keyboard: can't emulate rawmode 
for keycode 240
Nov 16 20:36:49 skeleton kernel: [14091.134439] toshiba_acpi: Unknown key 139


Later it appears with other error:

Nov 16 20:48:21 skeleton kernel: [  528.417041] toshiba_acpi: ACPI INFO method 
execution failed
Nov 16 20:48:21 skeleton kernel: [  528.417045] toshiba_acpi: Failed to query 
hotkey event
Nov 16 20:48:21 skeleton kernel: [  528.680297] ACPI Error: Result stack is 
empty! State=8800ac34 (20110413/dswstate-98)
Nov 16 20:48:21 skeleton kernel: [  528.680310] ACPI Exception: 
AE_AML_NO_RETURN_VALUE, Missing or null operand (20110413/dsutils-646)
Nov 16 20:48:21 skeleton kernel: [  528.680336] ACPI Exception: 
AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110413/dsutils-763)
Nov 16 20:48:21 skeleton kernel: [  528.680363] ACPI Error: Method 
parse/execution failed [\_SB_.VALZ.GETE] (Node 880131175eb0), 
AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
Nov 16 20:48:21 skeleton kernel: [  528.680379] ACPI Error: Method 
parse/execution failed [\_SB_.VALZ.INFO] (Node 880131175ed8), 
AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
Nov 16 20:48:21 skeleton kernel: [  528.680396] toshiba_acpi: ACPI INFO method 
execution failed
Nov 16 20:48:21 skeleton kernel: [  528.680400] toshiba_acpi: Failed to query 
hotkey event

Any key results with above log. It looks like some buffering issue. Now
I'm unable to duplicate.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
Some of your hotkeys will probably work. I'd expect that the zoom keys
won't, and also battery status and wlan at a minimum won't work either
if present.

Here's a new build, and I suspect that it should get most if not all of
your hotkeys working. Any that don't work should generate an "Unkown
key" message in dmesg.

http://people.canonical.com/~sforshee/lp827558/toshiba_acpi/v2/toshiba_acpi.ko

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
Nov 16 18:46:59 skeleton kernel: [ 7501.392231] toshiba_acpi: Toshiba Laptop 
ACPI Extras version 0.19
Nov 16 18:46:59 skeleton kernel: [ 7501.400323] input: Toshiba input device as 
/devices/virtual/input/input13
Nov 16 18:46:59 skeleton kernel: [ 7501.408806] Registered led device: 
toshiba::illumination


Worked, backlight keys not working - but no hangup - progress!, acpi_video is 
not working also. Volume special keys are working! I'll try to attach zoom keys 
to settings to play with them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
Try running 'sudo modprobe sparse_keymap' then the insmod command.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
from syslog:
Nov 16 18:21:28 skeleton kernel: [ 5970.040528] toshiba_acpi: Unknown symbol 
sparse_keymap_free (err 0)
Nov 16 18:21:28 skeleton kernel: [ 5970.040580] toshiba_acpi: Unknown symbol 
sparse_keymap_report_event (err 0)
Nov 16 18:21:28 skeleton kernel: [ 5970.040591] toshiba_acpi: Unknown symbol 
sparse_keymap_setup (err 0)
Nov 16 18:22:30 skeleton kernel: [ 6032.425562] toshiba_acpi: Unknown symbol 
sparse_keymap_free (err 0)
Nov 16 18:22:30 skeleton kernel: [ 6032.425654] toshiba_acpi: Unknown symbol 
sparse_keymap_report_event (err 0)
Nov 16 18:22:30 skeleton kernel: [ 6032.425678] toshiba_acpi: Unknown symbol 
sparse_keymap_setup (err 0)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
insmod: error inserting 'toshiba_acpi.ko': -1 Unknown symbol in module

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
Here's the first iteration. This version should load fine for you and
fix the "Re-enabled hotkeys" problem, but your hotkeys probably won't
work. To load the driver, download the file below and run 'sudo insmod
toshiba_acpi.ko'.

http://people.canonical.com/~sforshee/lp827558/toshiba_acpi/v1/toshiba_acpi.ko

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
Linux skeleton 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux

I'll be back in about hour. Large pack of kernel modules to test, it
sounds like fun!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
gluth: Can you give me the output of 'uname -a' on your machine? I'd
like to give you a series of toshiba_acpi.ko files to test, and to do so
I need to know exactly what kernel you are currently running. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread Seth Forshee
On Wed, Nov 16, 2011 at 10:51:35AM -, gluth wrote:
> I will test acpi_video when I get back home. How can I switch to bare
> linux acpi? I'm missing sleep&wakeup the most.

I take it you mean that you want to stop using toshiba_acpi for the time
being? Simply run 'sudo modprobe -r toshiba_acpi' to remove it for your
current boot, and 'sudo apt-get remove toshiba-acpi-dkms' to remove it
for subsequent boots.

> I noticed that there is no try&fail procedure for reenabling hot keys,
> and it could be triggered in masses (as I saw in logs). This was my
> point. I'm not in kernel development but I'm able to read C/C++ code.

Right, some kind of limit on the number of retries wouldn't be a bad
thing. But in this case even executing that code path is pointless --
your machine doesn't support HCI_SYSTEM_EVENT at all. I think that the
INFO method can be used to read hotkeys, so a better solution is to get
your machine to use that instead.

> WMI interface could be introduced by BIOS update (it was named 1.40 WIN
> - whatever it means). I feel special right now, but it wonders me is it
> blessing or curse?

It's neither right now, just something that your machine supports but
Linux doesn't currently use. If the WMI interface is going to be
commonly supported on Toshibas it may be better to use it than what
toshiba_acpi currently uses.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-16 Thread gluth
I will test acpi_video when I get back home. How can I switch to bare
linux acpi? I'm missing sleep&wakeup the most.

I noticed that there is no try&fail procedure for reenabling hot keys,
and it could be triggered in masses (as I saw in logs). This was my
point. I'm not in kernel development but I'm able to read C/C++ code.

WMI interface could be introduced by BIOS update (it was named 1.40 WIN
- whatever it means). I feel special right now, but it wonders me is it
blessing or curse?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread Seth Forshee
Note that I think there's a better solution than a timeout -- the driver
can detect upfront whether or not HCI_SYSTEM_EVENT is supported and
choose not to use it. Probably the INFO method can be used like on other
devices that use NTFY, but they will need to be decoupled because your
machine doesn't support NTFY in the same way.

One other interesting note is that your machine seems to have a WMI
interface, which could be superior to the interface toshiba_acpi is
using. This is the first time I've seen WMI on a Toshiba machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread Seth Forshee
On most Toshibas I've seen the backlight interface toshiba_acpi uses is
read-only, and that's the case on your model. I've verified in your DSDT
that writing the backlight level isn't supported. toshiba_acpi will not
be able to control your backlight. The acpi_video backlight driver
doesn't work on your machine? It looks like the BIOS implements the
necessary ACPI methods. Have you tried adjusting the backlight manually
using the interfaces in /sys/class/backlight/acpi_video0?

The "Re-enabled hotkeys" issue needs to be addressed. Your machine is
different that those the driver currently supports, and I need to study
it a bit more before I know how to handle it. I'll let you know when I
have something new for you to test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread gluth
Looked into source, it looks like it is caused by Fn key signalled with
funny value, which makes kernel go into ugly endless loop. Maybe good
idea would be to make this function  with some timeout?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread gluth
Goes to sleep but screen does not turn off and it is not fully stopping,
unable to wake up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread gluth
Using
/sys/devices/LNXSYSTM:00/device:00/TOS1900:00/backlight/toshiba/brightness
does not give any effect, brightness does not change nor up or down.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread gluth
Installed and loaded OK, used backlight key and it has frozen. Restarted, used 
sound key, frozen. Checked logs, and they have been filled with gigs of:
Nov 15 23:14:39 skeleton kernel: [  650.431125] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.433030] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.434904] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.436804] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.438679] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.440595] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.442470] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.444378] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.446254] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.448161] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.450038] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.451913] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.453808] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.455686] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.457594] toshiba_acpi: Re-enabled hotkeys
Nov 15 23:14:39 skeleton kernel: [  650.459472] toshiba_acpi: Re-enabled hotkeys

It starts flooding a moment after special key press.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread Seth Forshee
gluth: This should be fixed in the 12.04 release. The basic support for
toshiba_acpi on these machines is working, and I'm still working on
support for other features, hotkeys in particular.

If you'd like to help with testing, I've set up a PPA with experimental
changes to the driver that you can subscribe to. Be warned that things
may be broken from time to time. To subscribe, run the following
commands in a terminal:

  sudo add-apt-repository ppa:sforshee/toshiba-acpi-dkms
  sudo apt-get update
  sudo apt-get install toshiba-acpi-dkms
  sudo modprobe toshiba_acpi

Let me know whether or not the module loads successfully, and whether
your backlight and hotkeys are working with the experimental driver.
Also let me know if you see any problems. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-11-15 Thread gluth
Hello Seth!

Is there any progress on this bug, do you need any assistance?

Regards
Jakub

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-08-17 Thread gluth
I will arise additional bugs then, especially for vt-x. If you need any
kind of help, tests or assistance let me know, I will help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-08-17 Thread Seth Forshee
gluth: You need to limit each bug report to a single problem. You've
reported four here: toshiba_acpi won't load, unable to wake from sleep,
cannot adjust backlight, and vt-x not enabled. The only two that might
have any relation are toshiba_acpi not loading and adjusting the
backlight, although the backlight should still be able to be adjusted
over acpi, so it sounds like there's a separate bug there.

toshiba_acpi not working with newer Toshiba models is a known problem.
I've been working on it as time permits. That work is currently on
pause, but I hope to get back to it soon. I'll assign this bug to myself
and post an update it once I've been able to get back to working on it,
hopefully in the next couple of weeks.

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Seth Forshee (sforshee)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-08-16 Thread gluth
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 827558] Re: toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

2011-08-16 Thread gluth
apport information

** Tags added: apport-collected natty running-unity

** Description changed:

- Newly installed Ubuntu 11.04: unable to wake from sleep, unable to
- operate on backlight, vt-x not available for VirtualBox (enabled in
- bios).
+ Newly installed Ubuntu 11.04: unable to wake from sleep, unable to operate on 
backlight, vt-x not available for VirtualBox (enabled in bios).
+ --- 
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
+ AplayDevices:
+   List of PLAYBACK Hardware Devices 
+  card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
+Subdevices: 1/1
+Subdevice #0: subdevice #0
+ Architecture: amd64
+ ArecordDevices:
+   List of CAPTURE Hardware Devices 
+  card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
+Subdevices: 1/1
+Subdevice #0: subdevice #0
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  gluth  2471 F pulseaudio
+ CRDA: Error: [Errno 2] Nie ma takiego pliku ani katalogu
+ Card0.Amixer.info:
+  Card hw:0 'Intel'/'HDA Intel at 0xf480 irq 47'
+Mixer name : 'Realtek ALC269VB'
+Components : 'HDA:10ec0269,1179fd76,00100100'
+Controls  : 13
+Simple ctrls  : 8
+ DistroRelease: Ubuntu 11.04
+ EcryptfsInUse: Yes
+ HibernationDevice: RESUME=UUID=285af08b-ff22-4b51-a1f0-40b9c45b9196
+ InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
+ MachineType: TOSHIBA SATELLITE C670-10V
+ NonfreeKernelModules: nvidia
+ Package: linux (not installed)
+ ProcEnviron:
+  LANGUAGE=pl_PL:en
+  LANG=pl_PL.UTF-8
+  SHELL=/bin/bash
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic 
root=UUID=abc4bb1f-d6e7-4f21-92c7-7c1085ef8aa3 ro quiet splash gfxpayload=true 
vt.handoff=7
+ ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
+ RelatedPackageVersions:
+  linux-restricted-modules-2.6.38-10-generic N/A
+  linux-backports-modules-2.6.38-10-generic  N/A
+  linux-firmware 1.52
+ Tags:  natty running-unity
+ Uname: Linux 2.6.38-10-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ WifiSyslog:
+  
+ dmi.bios.date: 04/20/2011
+ dmi.bios.vendor: American Megatrends Inc.
+ dmi.bios.version: 1.40
+ dmi.board.asset.tag: To be filled by O.E.M.
+ dmi.board.name: TKBSC
+ dmi.board.vendor: TOSHIBA
+ dmi.board.version: 1.40
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 9
+ dmi.chassis.vendor: TOSHIBA
+ dmi.chassis.version: To Be Filled By O.E.M.
+ dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1.40:bd04/20/2011:svnTOSHIBA:pnSATELLITEC670-10V:pvrPSC3QE-00700JPL:rvnTOSHIBA:rnTKBSC:rvr1.40:cvnTOSHIBA:ct9:cvrToBeFilledByO.E.M.:
+ dmi.product.name: SATELLITE C670-10V
+ dmi.product.version: PSC3QE-00700JPL
+ dmi.sys.vendor: TOSHIBA

** Attachment added: "AcpiTables.txt"
   
https://bugs.launchpad.net/bugs/827558/+attachment/2284231/+files/AcpiTables.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827558

Title:
  toshiba_acpi unable to load on TOSHIBA SATELLITE C670-10V

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs