Carsten Haitzler <ras...@rasterman.com> писал(а) в своём письме Fri, 12 Jul 2013 08:50:35 +0200:
> On Sun, 16 Jun 2013 10:14:29 +0200 "Vadim Efimov" <eva...@evadim.ru> said: > >> Carsten Haitzler <ras...@rasterman.com> писал(а) в своём письме Sun, 16 Jun >> 2013 03:39:56 +0200: >> >> > On Sat, 15 Jun 2013 19:55:06 +0200 "Vadim Efimov" <eva...@evadim.ru> said: >> > >> >> Michael Blumenkrantz <michael.blumenkra...@gmail.com> писал(а) в своём >> >> письме Tue, 11 Jun 2013 11:55:23 +0200: >> >> >> >> > The old thread was too long for me to see if I fixed everything, so post >> >> > here if you have a bug that's present using the latest revision. >> >> >> >> 1) Can't add some new signals not via ACPI Bindings nor via Key Bindings, >> >> but they visible via acpi_listen: >> >> >> >> video/tabletmode TBLT on K >> >> video/tabletmode TBLT off K >> > >> > i just added support in e_acpi.c for these kind of acpi events. it needed a >> > whole new bit of logic to deal with them. untested as only you have that >> > hardware. :) you'll need to test and get back to me. :) >> > >> >> Hm, still no reaction. I just recompile E and try. Maybe I miss something? > > well i added them and relevant code... see e_acpi.c - as i dont have your hw, > i can't test that. can you do the digging and find out? look for > _devices_simple_state. > Hello, Long time ago, in another galaxy, somebody asked about talet support... :-D Anyway, better later than never. Today I finally figure out whole damn story about tablet acpi event: — Special software (like MagickRotate) detect tablet status from hardware itself (by polling something) and do some actions - rotate screen, etc... — To acpid 2.0.17 added new event - video/tabletmode TBLT — xorg server start crashed every time then event received - unfortunately acpid devs make it malformed, and xorg devs didn't filter events from acpid. Fixed in xorg-server 1.14 — in acpid 2.0.18 devs fix tablet event, so, software start recognize it: changed from video/tabletmode TBLT on K video/tabletmode TBLT off K to more standard video/tabletmode TBLT 0000008A 00000001 K video/tabletmode TBLT 0000008A 00000000 K So, I try to do some research in e_acpi.c , but as I'm not a coder, just add {"video/tabletmode", E_ACPI_TYPE_TABLET}, in line 79, to E_ACPI_Device_Simple _devices_simple[] = comment lines about it in E_ACPI_Device_Simple_State _devices_simple_state[] = and change one line in e_acpi.h to E_ACPI_TYPE_TABLET Now I can add an "unknown" acpi event into acpi bindings dialog - woohoo! As of the original idea of switching E's profiles switch via rotate screen still unsuccessful. I can't figure out what to assign to event. Binding "run command" didn't work, and then I add second, command in first one wiped. Which module produce config "e_randr.cfg" ? If I switch profiles from xterm via enlightenment_remote -default-profile-set mobile enlightenment_remote -default-profile-set standard sometimes after switch I see black screen, and seems E crashed. I can sun E successfully only after remove e_randr.cfg* files. If I insert commands to switch E profiles to magick rotate, X crashed and I see kdm screen. magick rotate can run command before and after rotate, and I see first thing - switch profile or rotate screen works fine, but second action - rotate screen or switch profile crash X. After that, some times I have to remove e_randr configs to start normally. I update EFL+E today. Have a nice day, Vadim >> >> these I'm able to add via Key Bindings: >> >> >> >> button/zoom ZOOM 00000080 00000000 K >> >> button/screenlock SCRNLCK 00000080 00000000 K >> >> button/battery BAT 00000080 00000000 K >> > >> > i also stuffed these in. again - untested. :) >> > >> and these 3 works... >> >> >> In fact, I have convertible tablet and want to setup switching to >> >> another(kind of "tablet") profile, then convert to/from tablet mode. >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel