[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

[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

[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

[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.

[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

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

[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

[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.

[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

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:

[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

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

[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:

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

[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.

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

[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

[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

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.

[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

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.

[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

[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

[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

[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.

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

[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:

[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 sleepwakeup the most. I noticed that there is no tryfail 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

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 sleepwakeup 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'

[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

[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

[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'.

[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

[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:

[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

[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:

[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

[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

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

[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

[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

[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

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 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

[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

[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:

[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.

[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

[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

[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

[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

[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

[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:

[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

[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