Correlated Cursors
Hello guys !
How can I to build a mapping using correlated cursors as in PL/SQL?
Ex.:
cursor c1 is select id from t1;
cursor c2 (pkey in number)
select sum(value) from t2 where id =pkey;
What operators should I use ?
Thank you
Marcelo
Blind rule. If something can be done in SQL alone, then it is better in performance that doin git using PL/SQL.
So using subqueries or JOINS is always better than using cursors (I think you meant nested cursors here).
Cheers
Sarma.
Similar Messages
-
Correlated Subqueries Vs Cursor
Hi all,
For good performance which one is best amoung Correlated Subqueries or Cursors.(if both table with millions of rec)
Thanks
KalingaBlind rule. If something can be done in SQL alone, then it is better in performance that doin git using PL/SQL.
So using subqueries or JOINS is always better than using cursors (I think you meant nested cursors here).
Cheers
Sarma. -
My MacBook Pro (mid 2010) has cursor problems when the fan comes on.
Hi, I have been trying a variety of recommendations to see why my MacBook Pro seems to be having slowness issues. yes, I took it in to the Mac store and they found nothing. I have tried some other things that I think may have helped but now I see that specifically the cursor goes crazy when the fan kicks in and when the fan goes off it is okay again. I have run SMART Utility & I didn't see anything from that.
The fans coming on and the cursor going crazy are a correlation, not a cause-and-effect.
The fans come on when measured temperatures inside your computer are getting too high. The fans come on to try to exhaust the excess heat. If the cursor goes crazy at the same time, this is likely to also be caused by the computer getting too hot, not by the fans.
This is one possible cause:
Runaway applications can shorten battery runtime, affect performance, and increase heat and fan activity -
Help need for procedure with "cursor in a cursor"
Hi
Iam using two cursors in my procedure.
Create SP_sample as
cursor C1 is
select a from A
cursor C2 is
select
a,bc,d from A,B where A.a=B.a
Begin
For Cur_rec C1 loop
For Cur_rec1 C2 loop
"SELECT QUERY"
end loop
end loop
end
1)the "SELECT QUERY" is working fine in Toad or sql editor.
2)The procedure is compiled without any errors
But when I am executing the procedure I am getting the error
ORA-01403: no data found
ORA-06512: at the line where "SELECT QUERY" is starting
ORA-06512: at line 1
can you please suggest what are the things I should be checking.
ThanksCould you provide a more complete example of what you are doing.
Your example is vague on the details, and it appears that you have 2 cursors both selecting from table A that you are looping through in a nested fashion, but your inner cursor is not correlated with your outer cursor. Also you have skimped on the details of the select you are trying to perform in the inner most loop of your code, and there is no indication that it has any correlation to the two outer cursors, and to top it off you have completely left out any syntactic punctuation.
why not rewrite your code thusly:
declare
cursor c1 is select a from a;
cursor c2(p_a a.a%type) is select bc, d from b where b.a = p_a;
begin
for cur_rec in c1 loop
for cur_rec1 in c2(cur_rec.a) loop
select ...
into ...
from ....
where ??= cur_rec.a
and ??=cur_rec1.bc
and ??=cur_rec1.d;
end loop;
end loop;
end; -
Coalesce with Cursor in a form?
Hi everyone,
I have a problem when i try to use a coalesce method inside a cursor with a 11g form.
my select liook like this
SELECT c.sendingdate,
c.no_evenment,
coalesce((select no_action from action_type where no_action = c.no_action), c.no_action) no_action,
i don't put the rest of the select, but when i compile the PL/SQL, i got error with the "," inside the coalesce coalesce((select no_action from action_type where no_action = c.no_action) _,_ c.no_action) no_action
but this sql works in pl/sql developer
and works on other form without cursor.
thanks for your help.Neimad wrote:
DBMS text query execution.I don't know what that means or is, probably Dynamic SQL?!?
Anyway; coalesce doesn't seem to be the problem, your correlated subquery however is:
select coalesce(1,2)
into dummy
from dual;works whereas
select coalesce(1,2), coalesce((select 1 from dual), 2)
into dummy
from dual;does not compile.
reason and solution is the same as already stated: the forms PL/SQL engine simply doesn't know correlated subquerys, and if you use a view you will be able to use a correlated subquery. Or you simply could rewrite your query to not use correlated subqueries.
cheers -
Correlation Problem: unable to Use Correlation and Activate correlation
Hello,
i have created correlation name in correlation list and assigned involved messages and assigned proper field in correlaton in properties .i am able to view my correlation name in the properties of both receive steps ,but when i assign it to use correlation and move cursor to activate correlation .value in use correlation is not holding the value and holding space ,the same is happening to activate correlation field.
I am using PI 7.1.
Please let me know if you have really overcome this issue.
Regards,
Vishal K
Edited by: vishal kharat on Aug 3, 2011 6:15 PMit seems there is no way.
See note 1797073
Is there someone with a better solution? -
Spatial correlation performance issues
We are on 10.2.0.4, solaris.
We have a layout with one main table (~2million rows) with an sdo_geometry column.
There are 3 other small reference tables (15-200 rows) with reference geometries and spatial indexes.
We have a process that needs to go through each row in the main table (all 2 million) and for each row, compute the sdo_geometry column from other values. Once the geometry is computed, queries are run against the 3 small reference tables to see which rows the new geometry correlate to (and set some flags accordingly). These are just basic relate queries of the form
select <some column>
from reference_table r
where sdo_relate(r.geometry, <plsql variable holding test geometry>), 'MASK=ANYINTERACT') = 'TRUE';
These correlation queries are taking on the order of 0.1-0.3 seconds each; multiply that by 2 million rows are making this process take a very long time. Another issue exacerbating the problem is that it seems these queries are slowing down over time as rows are processed. If we kill and restart the processes (picking up where it left off) it starts off normal again before slowing down.
I'm looking for help with the following if anyone has some ideas:
- What might be causing these queries to gradually slow down over time, or what to look for to track that down.
- Any options that might exist to speed these up. Even if they were all 0.1 each consistently, it's 166 hours (0.1*3*2000000) to process (just these correlation queries) which isn't great but would be acceptable. Since these can take a little longer (0.2.0,3 seconds) and then slow down over time (even 0.1 to 0.4 makes it become 666 hours) it's an issue.
Thanks for any suggestions.I create two tables: table_a has 259200 polygons and table_b
has 160000 points; and I modify your code to track the timing
of every 100 cycles:
declare
oidX NUMBER(38);
distX NUMBER;
i NUMBER;
start_time DATE;
CURSOR curU (idR NUMBER) IS
select a.objectid oid, sdo_geom.sdo_distance(a.shape,b.shape,0.001) dist
from table_a a, table_b b
where b.objectid = idR AND sdo_anyinteract(a.shape,b.shape) = 'TRUE'
order by sdo_geom.sdo_distance(a.shape,b.shape,0.001);
begin
i := 0;
for iX IN (select objectid oid from table_b b) LOOP
i := i +1;
if (i mod 100 = 1) then
start_time := sysdate;
end if;
open curU(iX.oid);
fetch curU into oidX, distX;
close curU;
if (i mod 100 = 0) then
INSERT INTO stats VALUES (iX.oid , (sysdate-start_time)*86400);
commit;
end if;
end loop;
end;
But I don't see any performance difference between first cycles and last cycles.
I switch table_a and table_b, i.e.
CURSOR curU (idR NUMBER) IS
select a.objectid oid, sdo_geom.sdo_distance(a.shape,b.shape,0.001) dist
from table_b a, table_a b
where b.objectid = idR AND sdo_anyinteract(a.shape,b.shape) = 'TRUE'
order by sdo_geom.sdo_distance(a.shape,b.shape,0.001);
for iX IN (select objectid oid from table_a b) LOOP
and don't see that there's any problem in last runs.
Anyway, let us know on which db version you see this problem.
Edited by: yhu on Oct 8, 2009 7:14 PM -
Performance of using a Select For Update vs a correlated subquery
I was wondering wether or not it is more effecient to use the
Select ... For Update (with a cursor etc.) versus a correlated
subquery.
I can accomplish the same thing with either however performance
at our site is an issue.Use select for update cursor as that is faster as it updates
based on the rowid. One thing to keep in mind is that rowid is
session specific and the rows to be updated get locked so that
nobody else can update them till the lock is released. I have
had very good performance results with these cursors.
Good luck !
Sudha -
XOrg crashes correlated to Java (?)
I am experiencing several XOrg crashes, that seem strongly correlated to Java problems. It happens when I open GeoGebra or when I try to open some Java applets online. The same thing also happens, although not systematically, when I search for a font on XFCE settings, simply scrolling the list of fonts available.
I realize this is too little information but I have no clue of what the cause of the problem may be.
Thanks for help.Here are the results of the logs obtained with the dmesg command. The messages are the same after the execution of the Java application or after font search for selection (followed by XOrg crash):
[117564.463200] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[117564.463205] [drm] PCIE gen 2 link speeds already enabled
[117564.465904] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
[117564.466266] radeon 0000:03:00.0: WB enabled
[117564.466268] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88024d4c9c00
[117564.466270] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88024d4c9c04
[117564.466272] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88024d4c9c08
[117564.466273] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff88024d4c9c0c
[117564.466274] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff88024d4c9c10
[117564.467814] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90023035a18
[117564.659791] [drm] ring test on 0 succeeded in 1 usecs
[117564.659796] [drm] ring test on 1 succeeded in 1 usecs
[117564.659800] [drm] ring test on 2 succeeded in 1 usecs
[117564.659808] [drm] ring test on 3 succeeded in 4 usecs
[117564.659815] [drm] ring test on 4 succeeded in 4 usecs
[117564.847070] [drm] ring test on 5 succeeded in 2 usecs
[117564.847077] [drm] UVD initialized successfully.
[117564.847107] [drm] ib test on ring 0 succeeded in 0 usecs
[117564.847135] [drm] ib test on ring 1 succeeded in 0 usecs
[117564.847163] [drm] ib test on ring 2 succeeded in 0 usecs
[117564.847190] [drm] ib test on ring 3 succeeded in 0 usecs
[117564.847219] [drm] ib test on ring 4 succeeded in 1 usecs
[117564.999064] [drm] ib test on ring 5 succeeded
This is what is on the file /var/log/Xorg.0.log after a crash caused by a Java application.
[117928.492]
X.Org X Server 1.16.2
Release Date: 2014-11-10
[117928.492] X Protocol Version 11, Revision 0
[117928.492] Build Operating System: Linux 3.17.2-1-ARCH x86_64
[117928.492] Current Operating System: Linux XxX 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64
[117928.493] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda5 rw
[117928.493] Build Date: 10 November 2014 07:52:13PM
[117928.493]
[117928.493] Current version of pixman: 0.32.6
[117928.493] Before reporting problems, check [url]http://wiki.x.org[/url]
to make sure that you have the latest version.
[117928.493] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[117928.493] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May 3 17:48:45 2015
[117928.493] (==) Using config directory: "/etc/X11/xorg.conf.d"
[117928.493] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[117928.493] (==) No Layout section. Using the first Screen section.
[117928.493] (==) No screen section available. Using defaults.
[117928.493] (**) |-->Screen "Default Screen Section" (0)
[117928.493] (**) | |-->Monitor "<default monitor>"
[117928.493] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[117928.493] (==) Automatically adding devices
[117928.493] (==) Automatically enabling devices
[117928.493] (==) Automatically adding GPU devices
[117928.493] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[117928.493] Entry deleted from font path.
[117928.493] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[117928.493] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[117928.493] Entry deleted from font path.
[117928.493] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[117928.493] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[117928.493] (==) ModulePath set to "/usr/lib/xorg/modules"
[117928.493] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[117928.493] (II) Loader magic: 0x818d80
[117928.493] (II) Module ABI versions:
[117928.493] X.Org ANSI C Emulation: 0.4
[117928.493] X.Org Video Driver: 18.0
[117928.493] X.Org XInput driver : 21.0
[117928.493] X.Org Server Extension : 8.0
[117928.495] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c7
[117928.495] (II) xfree86: Adding drm device (/dev/dri/card0)
[117928.495] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[117928.495] (II) xfree86: Adding drm device (/dev/dri/card1)
[117928.495] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 paused 0
[117928.496] (--) PCI:*(0:0:2:0) 8086:0a16:1025:0775 rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00004000/64
[117928.496] (--) PCI: (0:3:0:0) 1002:6600:1025:0776 rev 0, Mem @ 0xa0000000/268435456, 0xc0500000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[117928.496] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[117928.496] (II) LoadModule: "glx"
[117928.496] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[117928.497] (II) Module glx: vendor="X.Org Foundation"
[117928.497] compiled for 1.16.2, module version = 1.0.0
[117928.497] ABI class: X.Org Server Extension, version 8.0
[117928.497] (==) AIGLX enabled
[117928.497] (==) Matched intel as autoconfigured driver 0
[117928.497] (==) Matched ati as autoconfigured driver 1
[117928.497] (==) Matched intel as autoconfigured driver 2
[117928.497] (==) Matched modesetting as autoconfigured driver 3
[117928.497] (==) Matched fbdev as autoconfigured driver 4
[117928.497] (==) Matched vesa as autoconfigured driver 5
[117928.497] (==) Assigned the driver to the xf86ConfigLayout
[117928.497] (II) LoadModule: "intel"
[117928.497] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[117928.497] (II) Module intel: vendor="X.Org Foundation"
[117928.497] compiled for 1.16.1, module version = 2.99.916
[117928.497] Module class: X.Org Video Driver
[117928.497] ABI class: X.Org Video Driver, version 18.0
[117928.497] (II) LoadModule: "ati"
[117928.497] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[117928.497] (II) Module ati: vendor="X.Org Foundation"
[117928.497] compiled for 1.16.1, module version = 7.5.0
[117928.498] Module class: X.Org Video Driver
[117928.498] ABI class: X.Org Video Driver, version 18.0
[117928.498] (II) LoadModule: "radeon"
[117928.498] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[117928.498] (II) Module radeon: vendor="X.Org Foundation"
[117928.498] compiled for 1.16.1, module version = 7.5.0
[117928.498] Module class: X.Org Video Driver
[117928.498] ABI class: X.Org Video Driver, version 18.0
[117928.498] (II) LoadModule: "modesetting"
[117928.498] (WW) Warning, couldn't open module modesetting
[117928.498] (II) UnloadModule: "modesetting"
[117928.498] (II) Unloading modesetting
[117928.498] (EE) Failed to load module "modesetting" (module does not exist, 0)
[117928.498] (II) LoadModule: "fbdev"
[117928.498] (WW) Warning, couldn't open module fbdev
[117928.498] (II) UnloadModule: "fbdev"
[117928.498] (II) Unloading fbdev
[117928.498] (EE) Failed to load module "fbdev" (module does not exist, 0)
[117928.498] (II) LoadModule: "vesa"
[117928.498] (WW) Warning, couldn't open module vesa
[117928.498] (II) UnloadModule: "vesa"
[117928.498] (II) Unloading vesa
[117928.498] (EE) Failed to load module "vesa" (module does not exist, 0)
[117928.498] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[117928.498] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[117928.498] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[117928.498] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[117928.498] (II) RADEON: Driver for ATI Radeon chipsets:
ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
ATI Radeon Mobility X300 (M24) 3152 (PCIE),
ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
ATI Radeon X600 (RV380) 3E50 (PCIE),
ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
ATI Radeon IGP330M/340M/350M (U2) 4337,
ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
ATI Radeon X800PRO (R420) JI (AGP),
ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
ATI Radeon Mobility 9800 (M18) JN (AGP),
ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
ATI Radeon Mobility M7 LW (AGP),
ATI Mobility FireGL 7800 M7 LX (AGP),
ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
ATI FireGL Mobility 9000 (M9) Ld (AGP),
ATI Radeon Mobility 9000 (M9) Lf (AGP),
ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
ATI Radeon Mobility 9600 (M10) NQ (AGP),
ATI Radeon Mobility 9600 (M11) NR (AGP),
ATI Radeon Mobility 9600 (M10) NS (AGP),
ATI FireGL Mobility T2 (M10) NT (AGP),
ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
ATI Radeon Mobility X300 (M22) 5460 (PCIE),
ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
ATI Radeon X800PRO (R423) UI (PCIE),
ATI Radeon X800LE (R423) UJ (PCIE),
ATI Radeon X800SE (R423) UK (PCIE),
ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
ATI FireGL unknown (R423) UR (PCIE),
ATI FireGL unknown (R423) UT (PCIE),
ATI Mobility FireGL V5000 (M26) (PCIE),
ATI Mobility FireGL V5000 (M26) (PCIE),
ATI Mobility Radeon X700 XL (M26) (PCIE),
ATI Mobility Radeon X700 (M26) (PCIE),
ATI Mobility Radeon X700 (M26) (PCIE),
ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
ATI Radeon Mobility 9100 IGP (U3) 5835,
ATI Radeon XPRESS 200 5954 (PCIE),
ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
ATI Radeon XPRESS 200M 5975 (PCIE),
ATI Radeon XPRESS 200 5A41 (PCIE),
ATI Radeon XPRESS 200M 5A42 (PCIE),
ATI Radeon XPRESS 200 5A61 (PCIE),
ATI Radeon XPRESS 200M 5A62 (PCIE),
ATI Radeon X300 (RV370) 5B60 (PCIE),
ATI Radeon X600 (RV370) 5B62 (PCIE),
ATI Radeon X550 (RV370) 5B63 (PCIE),
ATI FireGL V3100 (RV370) 5B64 (PCIE),
ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
ATI Mobility Radeon X800 XT (M28) (PCIE),
ATI Mobility FireGL V5100 (M28) (PCIE),
ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
ATI Radeon X850 XT PE (R480) (PCIE),
ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
ATI Radeon X850 XT (R480) (PCIE),
ATI Radeon X800XT (R423) 5D57 (PCIE),
ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
ATI Radeon X700 PRO (RV410) (PCIE),
ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
ATI Mobility Radeon X1700, ATI Radeon X2300HD,
ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
AMD FireStream 9250, ATI FirePro V8700 (FireGL),
ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
ATI Mobility Radeon HD 4670, ATI FirePro M5750,
ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
ATI Mobility Radeon HD 3850 X2, ATI RV670,
ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
ATI FireGL V3600, ATI Radeon HD 2600 LE,
ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
SUMO, SUMO, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
ATI Radeon 4100, ATI Mobility Radeon HD 4200,
ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
AMD Radeon HD 6300 Series Graphics,
AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
ATI FirePro (FireGL) Graphics Adapter,
ATI FirePro (FireGL) Graphics Adapter,
ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
AMD Firestream 9350, ATI Radeon HD 5800 Series,
ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
ATI Mobility Radeon HD 5800 Series,
ATI FirePro (FireGL) Graphics Adapter,
ATI FirePro (FireGL) Graphics Adapter,
ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
ATI Mobility Radeon HD 5000 Series,
ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
ATI FirePro (FireGL) Graphics Adapter,
ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
ATI Mobility Radeon HD 5000 Series,
ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
ATI Mobility Radeon Graphics, CEDAR,
ATI FirePro (FireGL) Graphics Adapter,
ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
BARTS, BARTS, Mobility Radeon HD 6000 Series,
Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
VERDE, VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, BONAIRE, BONAIRE,
BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
[117928.501] (++) using VT number 1
[117928.501] (--) controlling tty is VT number 1, auto-enabling KeepTty
[117928.501] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140725
[117928.501] (II) [KMS] Kernel modesetting enabled.
[117928.501] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[117928.502] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[117928.502] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[117928.502] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[117928.502] (==) intel(0): RGB weight 888
[117928.502] (==) intel(0): Default visual is TrueColor
[117928.502] (II) intel(0): Output eDP1 has no monitor section
[117928.502] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[117928.502] (II) intel(0): Enabled output eDP1
[117928.502] (II) intel(0): Output DP1 has no monitor section
[117928.502] (II) intel(0): Enabled output DP1
[117928.502] (II) intel(0): Output HDMI1 has no monitor section
[117928.502] (II) intel(0): Enabled output HDMI1
[117928.502] (II) intel(0): Output HDMI2 has no monitor section
[117928.502] (II) intel(0): Enabled output HDMI2
[117928.502] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[117928.502] (II) intel(0): Output VIRTUAL1 has no monitor section
[117928.502] (II) intel(0): Enabled output VIRTUAL1
[117928.502] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[117928.502] (==) intel(0): TearFree disabled
[117928.502] (==) intel(0): DPI set to (96, 96)
[117928.502] (II) Loading sub module "dri2"
[117928.502] (II) LoadModule: "dri2"
[117928.502] (II) Module "dri2" already built-in
[117928.502] (II) Loading sub module "present"
[117928.502] (II) LoadModule: "present"
[117928.502] (II) Module "present" already built-in
[117928.502] (==) RADEON(G0): Depth 24, (--) framebuffer bpp 32
[117928.502] (II) RADEON(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[117928.502] (==) RADEON(G0): Default visual is TrueColor
[117928.502] (==) RADEON(G0): RGB weight 888
[117928.502] (II) RADEON(G0): Using 8 bits per RGB (8 bit DAC)
[117928.502] (--) RADEON(G0): Chipset: "OLAND" (ChipID = 0x6600)
[117928.502] (II) Loading sub module "dri2"
[117928.502] (II) LoadModule: "dri2"
[117928.502] (II) Module "dri2" already built-in
[117928.502] (II) Loading sub module "glamoregl"
[117928.502] (II) LoadModule: "glamoregl"
[117928.502] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[117928.505] (II) Module glamoregl: vendor="X.Org Foundation"
[117928.505] compiled for 1.16.2, module version = 1.0.0
[117928.505] ABI class: X.Org ANSI C Emulation, version 0.4
[117928.505] (II) glamor: OpenGL accelerated X.org driver based.
[117928.538] (II) glamor: EGL version 1.4 (DRI2):
[117928.549] (II) RADEON(G0): glamor detected, initialising EGL layer.
[117928.549] (II) RADEON(G0): KMS Color Tiling: enabled
[117928.549] (II) RADEON(G0): KMS Color Tiling 2D: enabled
[117928.549] (II) RADEON(G0): KMS Pageflipping: enabled
[117928.549] (II) RADEON(G0): SwapBuffers wait for vsync: enabled
[117928.549] (II) RADEON(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[117928.549] (II) RADEON(G0): mem size init: gart size :3fbce000 vram size: s:80000000 visible:7f888000
[117928.549] (==) RADEON(G0): DPI set to (96, 96)
[117928.549] (II) Loading sub module "fb"
[117928.549] (II) LoadModule: "fb"
[117928.549] (II) Loading /usr/lib/xorg/modules/libfb.so
[117928.549] (II) Module fb: vendor="X.Org Foundation"
[117928.549] compiled for 1.16.2, module version = 1.0.0
[117928.549] ABI class: X.Org ANSI C Emulation, version 0.4
[117928.549] (II) Loading sub module "ramdac"
[117928.549] (II) LoadModule: "ramdac"
[117928.549] (II) Module "ramdac" already built-in
[117928.549] (==) Depth 24 pixmap format is 32 bpp
[117928.549] (II) RADEON(G0): [DRI2] Setup complete
[117928.549] (II) RADEON(G0): [DRI2] DRI driver: radeonsi
[117928.549] (II) RADEON(G0): [DRI2] VDPAU driver: radeonsi
[117928.549] (II) RADEON(G0): Front buffer size: 3072K
[117928.549] (II) RADEON(G0): VRAM usage limit set to 1877760K
[117928.549] (==) RADEON(G0): Backing store enabled
[117928.549] (II) RADEON(G0): Direct rendering enabled
[117928.610] (II) RADEON(G0): Use GLAMOR acceleration.
[117928.610] (II) RADEON(G0): Acceleration enabled
[117928.610] (==) RADEON(G0): DPMS enabled
[117928.610] (==) RADEON(G0): Silken mouse enabled
[117928.612] (II) RADEON(G0): Set up textured video (glamor)
[117928.612] (II) RADEON(G0): [XvMC] Associated with GLAMOR Textured Video.
[117928.612] (II) RADEON(G0): [XvMC] Extension initialized.
[117928.612] (II) RADEON(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[117928.612] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[117928.612] (==) intel(0): Backing store enabled
[117928.612] (==) intel(0): Silken mouse enabled
[117928.612] (II) intel(0): HW Cursor enabled
[117928.612] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[117928.612] (==) intel(0): DPMS enabled
[117928.612] (II) intel(0): [DRI2] Setup complete
[117928.612] (II) intel(0): [DRI2] DRI driver: i965
[117928.612] (II) intel(0): [DRI2] VDPAU driver: i965
[117928.612] (II) intel(0): direct rendering: DRI2 enabled
[117928.612] (II) intel(0): hardware support for Present enabled
[117928.612] (==) intel(0): display hotplug detection enabled
[117928.612] (--) RandR disabled
[117928.624] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[117928.624] (II) AIGLX: enabled GLX_ARB_create_context
[117928.624] (II) AIGLX: enabled GLX_ARB_create_context_profile
[117928.624] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[117928.624] (II) AIGLX: enabled GLX_INTEL_swap_event
[117928.624] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[117928.624] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[117928.624] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[117928.624] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[117928.624] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[117928.624] (II) AIGLX: Loaded and initialized i965
[117928.624] (II) GLX: Initialized DRI2 GL provider for screen 0
[117928.638] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[117928.648] (II) intel(0): Setting screen physical size to 361 x 203
[117928.668] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[117928.669] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[117928.669] (**) Power Button: Applying InputClass "Keyboard Defaults"
[117928.669] (II) LoadModule: "evdev"
[117928.669] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[117928.669] (II) Module evdev: vendor="X.Org Foundation"
[117928.669] compiled for 1.16.0, module version = 2.9.0
[117928.669] Module class: X.Org XInput Driver
[117928.669] ABI class: X.Org XInput driver, version 21.0
[117928.669] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 18 paused 0
[117928.669] (II) Using input driver 'evdev' for 'Power Button'
[117928.669] (**) Power Button: always reports core events
[117928.669] (**) evdev: Power Button: Device: "/dev/input/event6"
[117928.669] (--) evdev: Power Button: Vendor 0 Product 0x1
[117928.669] (--) evdev: Power Button: Found keys
[117928.669] (II) evdev: Power Button: Configuring as keyboard
[117928.669] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event6"
[117928.669] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[117928.669] (**) Option "xkb_rules" "evdev"
[117928.669] (**) Option "xkb_model" "pc104"
[117928.669] (**) Option "xkb_layout" "it"
[117928.683] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[117928.683] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[117928.683] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[117928.683] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 19 paused 0
[117928.683] (II) Using input driver 'evdev' for 'Video Bus'
[117928.683] (**) Video Bus: always reports core events
[117928.683] (**) evdev: Video Bus: Device: "/dev/input/event13"
[117928.683] (--) evdev: Video Bus: Vendor 0 Product 0x6
[117928.683] (--) evdev: Video Bus: Found keys
[117928.683] (II) evdev: Video Bus: Configuring as keyboard
[117928.683] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input14/event13"
[117928.683] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[117928.683] (**) Option "xkb_rules" "evdev"
[117928.683] (**) Option "xkb_model" "pc104"
[117928.683] (**) Option "xkb_layout" "it"
[117928.684] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[117928.684] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[117928.684] (**) Power Button: Applying InputClass "Keyboard Defaults"
[117928.684] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 20 paused 0
[117928.684] (II) Using input driver 'evdev' for 'Power Button'
[117928.684] (**) Power Button: always reports core events
[117928.684] (**) evdev: Power Button: Device: "/dev/input/event4"
[117928.684] (--) evdev: Power Button: Vendor 0 Product 0x1
[117928.684] (--) evdev: Power Button: Found keys
[117928.684] (II) evdev: Power Button: Configuring as keyboard
[117928.684] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input5/event4"
[117928.684] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[117928.684] (**) Option "xkb_rules" "evdev"
[117928.684] (**) Option "xkb_model" "pc104"
[117928.684] (**) Option "xkb_layout" "it"
[117928.684] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[117928.684] (II) No input driver specified, ignoring this device.
[117928.684] (II) This device may have been added with another device file.
[117928.684] (II) config/udev: Adding input device Sleep Button (/dev/input/event5)
[117928.684] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[117928.684] (**) Sleep Button: Applying InputClass "Keyboard Defaults"
[117928.685] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 21 paused 0
[117928.685] (II) Using input driver 'evdev' for 'Sleep Button'
[117928.685] (**) Sleep Button: always reports core events
[117928.685] (**) evdev: Sleep Button: Device: "/dev/input/event5"
[117928.685] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[117928.685] (--) evdev: Sleep Button: Found keys
[117928.685] (II) evdev: Sleep Button: Configuring as keyboard
[117928.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0E:00/input/input6/event5"
[117928.685] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[117928.685] (**) Option "xkb_rules" "evdev"
[117928.685] (**) Option "xkb_model" "pc104"
[117928.685] (**) Option "xkb_layout" "it"
[117928.685] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[117928.685] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[117928.685] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[117928.685] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 22 paused 0
[117928.685] (II) Using input driver 'evdev' for 'Video Bus'
[117928.685] (**) Video Bus: always reports core events
[117928.685] (**) evdev: Video Bus: Device: "/dev/input/event12"
[117928.685] (--) evdev: Video Bus: Vendor 0 Product 0x6
[117928.685] (--) evdev: Video Bus: Found keys
[117928.685] (II) evdev: Video Bus: Configuring as keyboard
[117928.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:38/LNXVIDEO:00/input/input13/event12"
[117928.685] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 10)
[117928.685] (**) Option "xkb_rules" "evdev"
[117928.685] (**) Option "xkb_model" "pc104"
[117928.685] (**) Option "xkb_layout" "it"
[117928.686] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
[117928.686] (II) No input driver specified, ignoring this device.
[117928.686] (II) This device may have been added with another device file.
[117928.686] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event15)
[117928.686] (II) No input driver specified, ignoring this device.
[117928.686] (II) This device may have been added with another device file.
[117928.686] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event16)
[117928.686] (II) No input driver specified, ignoring this device.
[117928.686] (II) This device may have been added with another device file.
[117928.686] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[117928.686] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[117928.687] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 23 paused 0
[117928.687] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[117928.687] (**) Logitech USB Receiver: always reports core events
[117928.687] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event1"
[117928.687] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc52f
[117928.687] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
[117928.687] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[117928.687] (--) evdev: Logitech USB Receiver: Found relative axes
[117928.687] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[117928.687] (II) evdev: Logitech USB Receiver: Configuring as mouse
[117928.687] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[117928.687] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[117928.687] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[117928.687] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C52F.0001/input/input2/event1"
[117928.687] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 11)
[117928.687] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[117928.687] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[117928.687] (**) Logitech USB Receiver: (accel) acceleration profile 0
[117928.687] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[117928.687] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[117928.687] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[117928.687] (II) No input driver specified, ignoring this device.
[117928.687] (II) This device may have been added with another device file.
[117928.687] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2)
[117928.687] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[117928.687] (**) Logitech USB Receiver: Applying InputClass "Keyboard Defaults"
[117928.687] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 24 paused 0
[117928.687] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[117928.687] (**) Logitech USB Receiver: always reports core events
[117928.688] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event2"
[117928.688] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc52f
[117928.688] (--) evdev: Logitech USB Receiver: Found 1 mouse buttons
[117928.688] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[117928.688] (--) evdev: Logitech USB Receiver: Found relative axes
[117928.688] (II) evdev: Logitech USB Receiver: Forcing relative x/y axes to exist.
[117928.688] (--) evdev: Logitech USB Receiver: Found absolute axes
[117928.688] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
[117928.688] (--) evdev: Logitech USB Receiver: Found keys
[117928.688] (II) evdev: Logitech USB Receiver: Configuring as mouse
[117928.688] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[117928.688] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[117928.688] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[117928.688] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[117928.688] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C52F.0002/input/input3/event2"
[117928.688] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 12)
[117928.688] (**) Option "xkb_rules" "evdev"
[117928.688] (**) Option "xkb_model" "pc104"
[117928.688] (**) Option "xkb_layout" "it"
[117928.688] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[117928.688] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
[117928.688] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[117928.688] (**) Logitech USB Receiver: (accel) acceleration profile 0
[117928.688] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[117928.688] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[117928.688] (II) config/udev: Adding input device HD WebCam (/dev/input/event10)
[117928.688] (**) HD WebCam: Applying InputClass "evdev keyboard catchall"
[117928.688] (**) HD WebCam: Applying InputClass "Keyboard Defaults"
[117928.688] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 25 paused 0
[117928.688] (II) Using input driver 'evdev' for 'HD WebCam'
[117928.688] (**) HD WebCam: always reports core events
[117928.688] (**) evdev: HD WebCam: Device: "/dev/input/event10"
[117928.688] (--) evdev: HD WebCam: Vendor 0x4f2 Product 0xb3f6
[117928.688] (--) evdev: HD WebCam: Found keys
[117928.688] (II) evdev: HD WebCam: Configuring as keyboard
[117928.688] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input12/event10"
[117928.688] (II) XINPUT: Adding extended input device "HD WebCam" (type: KEYBOARD, id 13)
[117928.688] (**) Option "xkb_rules" "evdev"
[117928.688] (**) Option "xkb_model" "pc104"
[117928.688] (**) Option "xkb_layout" "it"
[117928.689] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event17)
[117928.689] (II) No input driver specified, ignoring this device.
[117928.689] (II) This device may have been added with another device file.
[117928.689] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event18)
[117928.689] (II) No input driver specified, ignoring this device.
[117928.689] (II) This device may have been added with another device file.
[117928.689] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event19)
[117928.689] (II) No input driver specified, ignoring this device.
[117928.689] (II) This device may have been added with another device file.
[117928.689] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[117928.689] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[117928.689] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard Defaults"
[117928.689] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 26 paused 0
[117928.689] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[117928.689] (**) AT Translated Set 2 keyboard: always reports core events
[117928.689] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[117928.689] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[117928.689] (--) evdev: AT Translated Set 2 keyboard: Found keys
[117928.689] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[117928.689] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[117928.689] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 14)
[117928.689] (**) Option "xkb_rules" "evdev"
[117928.689] (**) Option "xkb_model" "pc104"
[117928.689] (**) Option "xkb_layout" "it"
[117928.690] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event11)
[117928.690] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[117928.690] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[117928.690] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[117928.690] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[117928.690] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[117928.690] (II) LoadModule: "synaptics"
[117928.690] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[117928.690] (II) Module synaptics: vendor="X.Org Foundation"
[117928.690] compiled for 1.16.0, module version = 1.8.1
[117928.690] Module class: X.Org XInput Driver
[117928.690] ABI class: X.Org XInput driver, version 21.0
[117928.690] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 27 paused 0
[117928.690] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[117928.690] (**) ETPS/2 Elantech Touchpad: always reports core events
[117928.690] (**) Option "Device" "/dev/input/event11"
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 2960 (res 0)
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 1480 (res 0)
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left right double triple
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[117928.738] (**) Option "AreaLeftEdge" "600"
[117928.738] (**) Option "AreaRightEdge" "2200"
[117928.738] (**) Option "VertTwoFingerScroll" "on"
[117928.738] (**) Option "HorizTwoFingerScroll" "on"
[117928.738] (**) Option "TapButton1" "1"
[117928.738] (**) Option "TapButton2" "2"
[117928.738] (**) Option "TapButton3" "3"
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[117928.738] (**) ETPS/2 Elantech Touchpad: always reports core events
[117928.738] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event11"
[117928.738] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 15)
[117928.738] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[117928.738] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
[117928.738] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.060
[117928.738] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[117928.738] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[117928.738] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[117928.738] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[117928.738] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[117928.738] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse1)
[117928.738] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[117928.739] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[117928.739] (II) No input driver specified, ignoring this device.
[117928.739] (II) This device may have been added with another device file.
[117928.739] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event8)
[117928.739] (**) Acer WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[117928.739] (**) Acer WMI hotkeys: Applying InputClass "Keyboard Defaults"
[117928.739] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 28 paused 0
[117928.739] (II) Using input driver 'evdev' for 'Acer WMI hotkeys'
[117928.739] (**) Acer WMI hotkeys: always reports core events
[117928.739] (**) evdev: Acer WMI hotkeys: Device: "/dev/input/event8"
[117928.739] (--) evdev: Acer WMI hotkeys: Vendor 0 Product 0
[117928.739] (--) evdev: Acer WMI hotkeys: Found keys
[117928.739] (II) evdev: Acer WMI hotkeys: Configuring as keyboard
[117928.739] (**) Option "config_info" "udev:/sys/devices/virtual/input/input10/event8"
[117928.739] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 16)
[117928.739] (**) Option "xkb_rules" "evdev"
[117928.739] (**) Option "xkb_model" "pc104"
[117928.739] (**) Option "xkb_layout" "it"
[117928.739] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/event9)
[117928.739] (II) No input driver specified, ignoring this device.
[117928.739] (II) This device may have been added with another device file.
[117928.740] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/js0)
[117928.740] (II) No input driver specified, ignoring this device.
[117928.740] (II) This device may have been added with another device file.
[117928.828] (II) intel(0): EDID vendor "AUO", prod id 18668
[117928.828] (II) intel(0): Printing DDC gathered Modelines:
[117928.828] (II) intel(0): Modeline "1366x768"x0.0 76.30 1366 1404 1426 1592 768 771 777 798 -hsync -vsync (47.9 kHz eP)
[120084.521] (EE)
[120084.521] (EE) Backtrace:
[120084.521] (EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x56) [0x593d36]
[120084.521] (EE) 1: /usr/bin/Xorg.bin (0x400000+0x197e89) [0x597e89]
[120084.521] (EE) 2: /usr/lib/libc.so.6 (0x7f3abb0d9000+0x33b20) [0x7f3abb10cb20]
[120084.521] (EE)
[120084.521] (EE) Segmentation fault at address 0x0
[120084.521] (EE)
Fatal server error:
[120084.521] (EE) Caught signal 11 (Segmentation fault). Server aborting
[120084.521] (EE)
[120084.521] (EE)
Please consult the The X.Org Foundation support
at [url]http://wiki.x.org[/url]
for help.
[120084.521] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[120084.521] (EE)
[120084.521] (II) AIGLX: Suspending AIGLX clients for VT switch
[120085.500] (EE) Server terminated with error (1). Closing log file. -
Windows 7 displays error message when exiting +cursor issue
Two issues here. CS5 Phoshop on Wind 7 64 bit.
Physical processor count: 8
Processor speed: 3073 MHz
Built-in memory: 12279 MB
Free memory: 9577 MB
Memory available to Photoshop: 10934 MB
Memory used by Photoshop: 80 %
Image tile size: 128K
First issue is since the latest automatic Adobe update (why fix what isn't broken?) Every time I now exit Photoshop I get the message "Adobe QT Server has stoped working" and occasionally it happens when I exit bridge. Indesign is also behaving badly. I can no longer start a previous document from file manager without ID crashing out.
The other is the cursors in Clone and erase lose their edge (become invisable) for no reason - well not quite. Noise Ninja crashed Photoshop when I tried to use it. I reinstalled it and all is well. The cursor issue seems to be intermittant but came back (for no reason) after I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem is now seriously affecting how I work. Almost enough to go back to Win XP which ran CS5 Photoshop flawlessly.
Any help will be gratefully accepted.
Dougfunction(){return A.apply(null,[this].concat($A(arguments)))}
doug87510 wrote:
The recent problem is the entire outline of the cursor (including the crosshair in the middle) was missing at any size of cursor. All I had was exactly what I'd get if I used a real spraygun.
Well, that issue is simply a matter of hitting the Caps Lock key. When Caps Lock is on, you'll see the cursor outline, and when it is off you'll see a crosshair. That's a feature, not a bug.
Glad to hear the 11.1 drivers are out. I will download them and try them now myself.
Regarding "Adobe QT" crashing... QT brings to mind QuickTime, though that is Apple, not Adobe. Do you have Apple QuickTime installed?
Regarding memory usage, with 12 GB of installed RAM, you should be able to set Photoshop to use 90% or more in Edit - Preferences - Performance.
-Noel -
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
Hi
I am trying to have a if statement inside a cursor clause. But it gives me error saying that "PLS-00103: Encountered the symbol "IF" when expecting one of the following: ( select <a SQL statement>". I know this is not the right syntax so is there any way that I can specify the table that the cursor should get its information from based on a if clause.
The typeID field tells me which table to go to to get the information from. So if typeId=1 then go to table1 if it is type=2 then go to table2 etc.....
CREATE OR REPLACE PROCEDURE FILLDATA(
typeID IN NUMBER
) IS
data varchar2(16);
dataresult varchar2(16);
cursor c1 is
IF typeID=1 then
select value from TableName#1
ELSE
select value from TableName#2
END IF;
where id='1';
begin
open c1;
dataresult:='';
loop
fetch c1 into dataresult;
EXIT WHEN c1%NOTFOUND;
data:=concat(to_char(data), to_char(dataresult));
end loop;
close c1;
end
Your help will be really appreciated. Thanks a lot.
Message was edited by:
user561977
Message was edited by:
user561977
Message was edited by:
user561977Or I guess:
DECLARE
cur SYS_REFCURSOR;
BEGIN
CASE ROUND(DBMS_RANDOM.VALUE(1,2))
WHEN 1 THEN OPEN cur FOR SELECT id FROM t1;
WHEN 2 THEN OPEN cur FOR SELECT id FROM t2;
END CASE;
CLOSE cur;
END;Also I can't think of a practical use for this here, but you can assign one ref cursor to another:
DECLARE
c1 SYS_REFCURSOR;
c2 SYS_REFCURSOR;
c_generic SYS_REFCURSOR;
BEGIN
CASE ROUND(DBMS_RANDOM.VALUE(1,2))
WHEN 1 THEN
DBMS_OUTPUT.PUT_LINE('Picked value: 1');
OPEN c1 FOR SELECT id FROM t1;
c_generic := c1;
WHEN 2 THEN
DBMS_OUTPUT.PUT_LINE('Picked value: 2');
OPEN c2 FOR SELECT id FROM t2;
c_generic := c2;
END CASE;
CLOSE c_generic;
IF c1%ISOPEN THEN
DBMS_OUTPUT.PUT_LINE('c1 is open.');
CLOSE c1;
ELSIF c2%ISOPEN THEN
DBMS_OUTPUT.PUT_LINE('c2 is open.');
CLOSE c2;
ELSE
DBMS_OUTPUT.PUT_LINE('It appears that neither c1 nor c2 is open.');
END IF;
END;
Picked value: 2
It appears that neither c1 nor c2 is open.
PL/SQL procedure successfully completed.Message was edited by:
William Robertson -
New Install - startx results in blank screen with mouse cursor
I installed Arch on my desktop last week with no issues, so I wanted to install it on an old THinkpad R31. Everything with the installation went smooth, but when I try to 'startx' all I get is a blank screen with a mouse cursor that I can move around. I've installed xorg-xinit, xorg-twm, xorg-xclock, and xterm.
I'm not getting any significant errors in the logs, or even the terminal I issue 'startx' in.
I'm not sure what the problem could be...
Here is my output from 'startx'
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.0-1-ARCH i686
Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
Build Date: 05 October 2012 02:01:30PM
Current version of pixman: 0.26.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xinit: connection to X server lost
waiting for X server to shut down XIO: fatal IO error 0 (Success) on X server ":0"
after 554 requests (554 known processed) with 0 events remaining.
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
Server terminated successfully (0). Closing log file.
xinit: unexpected signal 2
And my Xorg.0.log
[ 4955.478]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 4955.479] X Protocol Version 11, Revision 0
[ 4955.479] Build Operating System: Linux 3.6.0-1-ARCH i686
[ 4955.479] Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
[ 4955.479] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
[ 4955.479] Build Date: 05 October 2012 02:01:30PM
[ 4955.479]
[ 4955.479] Current version of pixman: 0.26.2
[ 4955.479] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4955.479] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4955.480] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
[ 4955.480] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 4955.480] (==) No Layout section. Using the first Screen section.
[ 4955.480] (==) No screen section available. Using defaults.
[ 4955.480] (**) |-->Screen "Default Screen Section" (0)
[ 4955.480] (**) | |-->Monitor "<default monitor>"
[ 4955.481] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4955.481] (==) Automatically adding devices
[ 4955.481] (==) Automatically enabling devices
[ 4955.481] (==) Automatically adding GPU devices
[ 4955.481] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 4955.481] Entry deleted from font path.
[ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 4955.481] Entry deleted from font path.
[ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 4955.481] Entry deleted from font path.
[ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 4955.481] (==) FontPath set to:
/usr/share/fonts/misc/
[ 4955.481] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4955.481] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 4955.481] (II) Loader magic: 0x825a620
[ 4955.482] (II) Module ABI versions:
[ 4955.482] X.Org ANSI C Emulation: 0.4
[ 4955.482] X.Org Video Driver: 13.0
[ 4955.482] X.Org XInput driver : 18.0
[ 4955.482] X.Org Server Extension : 7.0
[ 4955.484] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4955.486] (--) PCI:*(0:0:2:0) 8086:3577:1014:0505 rev 4, Mem @ 0x98000000/134217728, 0x90100000/524288
[ 4955.486] (--) PCI: (0:0:2:1) 8086:3577:1014:0505 rev 0, Mem @ 0x88000000/134217728, 0x80200000/524288
[ 4955.486] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 4955.486] Initializing built-in extension Generic Event Extension
[ 4955.486] Initializing built-in extension SHAPE
[ 4955.486] Initializing built-in extension MIT-SHM
[ 4955.486] Initializing built-in extension XInputExtension
[ 4955.486] Initializing built-in extension XTEST
[ 4955.486] Initializing built-in extension BIG-REQUESTS
[ 4955.486] Initializing built-in extension SYNC
[ 4955.487] Initializing built-in extension XKEYBOARD
[ 4955.487] Initializing built-in extension XC-MISC
[ 4955.487] Initializing built-in extension SECURITY
[ 4955.487] Initializing built-in extension XINERAMA
[ 4955.487] Initializing built-in extension XFIXES
[ 4955.487] Initializing built-in extension RENDER
[ 4955.487] Initializing built-in extension RANDR
[ 4955.487] Initializing built-in extension COMPOSITE
[ 4955.487] Initializing built-in extension DAMAGE
[ 4955.487] Initializing built-in extension MIT-SCREEN-SAVER
[ 4955.487] Initializing built-in extension DOUBLE-BUFFER
[ 4955.487] Initializing built-in extension RECORD
[ 4955.487] Initializing built-in extension DPMS
[ 4955.487] Initializing built-in extension X-Resource
[ 4955.487] Initializing built-in extension XVideo
[ 4955.487] Initializing built-in extension XVideo-MotionCompensation
[ 4955.487] Initializing built-in extension XFree86-VidModeExtension
[ 4955.487] Initializing built-in extension XFree86-DGA
[ 4955.487] Initializing built-in extension XFree86-DRI
[ 4955.487] Initializing built-in extension DRI2
[ 4955.487] (II) LoadModule: "glx"
[ 4955.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4955.489] (II) Module glx: vendor="X.Org Foundation"
[ 4955.489] compiled for 1.13.0, module version = 1.0.0
[ 4955.489] ABI class: X.Org Server Extension, version 7.0
[ 4955.489] (==) AIGLX enabled
[ 4955.489] Loading extension GLX
[ 4955.489] (==) Matched intel as autoconfigured driver 0
[ 4955.489] (==) Matched intel as autoconfigured driver 1
[ 4955.489] (==) Matched vesa as autoconfigured driver 2
[ 4955.489] (==) Matched modesetting as autoconfigured driver 3
[ 4955.489] (==) Matched fbdev as autoconfigured driver 4
[ 4955.489] (==) Assigned the driver to the xf86ConfigLayout
[ 4955.489] (II) LoadModule: "intel"
[ 4955.490] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 4955.491] (II) Module intel: vendor="X.Org Foundation"
[ 4955.491] compiled for 1.13.0, module version = 2.20.9
[ 4955.491] Module class: X.Org Video Driver
[ 4955.491] ABI class: X.Org Video Driver, version 13.0
[ 4955.491] (II) LoadModule: "vesa"
[ 4955.491] (WW) Warning, couldn't open module vesa
[ 4955.491] (II) UnloadModule: "vesa"
[ 4955.492] (II) Unloading vesa
[ 4955.492] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4955.492] (II) LoadModule: "modesetting"
[ 4955.492] (WW) Warning, couldn't open module modesetting
[ 4955.492] (II) UnloadModule: "modesetting"
[ 4955.492] (II) Unloading modesetting
[ 4955.492] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 4955.493] (II) LoadModule: "fbdev"
[ 4955.493] (WW) Warning, couldn't open module fbdev
[ 4955.493] (II) UnloadModule: "fbdev"
[ 4955.493] (II) Unloading fbdev
[ 4955.493] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 4955.493] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
Haswell Server (GT2+), Haswell SDV Desktop (GT1),
Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
Haswell ULT Server (GT1), Haswell ULT Server (GT2),
Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
ValleyView PO board
[ 4955.496] (--) using VT number 7
[ 4955.508] (II) intel(0): using device path '/dev/dri/card0'
[ 4955.509] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 4955.509] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 4955.509] (==) intel(0): RGB weight 888
[ 4955.509] (==) intel(0): Default visual is TrueColor
[ 4955.509] (--) intel(0): Integrated Graphics Chipset: Intel(R) i830M
[ 4955.509] (**) intel(0): Relaxed fencing disabled
[ 4955.509] (**) intel(0): Wait on SwapBuffers? enabled
[ 4955.509] (**) intel(0): Triple buffering? enabled
[ 4955.509] (**) intel(0): Framebuffer tiled
[ 4955.510] (**) intel(0): Pixmaps tiled
[ 4955.510] (**) intel(0): 3D buffers tiled
[ 4955.510] (**) intel(0): SwapBuffers wait enabled
[ 4955.510] (==) intel(0): video overlay key set to 0x101fe
[ 4955.593] (II) intel(0): Output VGA1 has no monitor section
[ 4955.593] (II) intel(0): Output LVDS1 has no monitor section
[ 4955.594] (--) intel(0): found backlight control interface /sys/class/backlight/thinkpad_screen
[ 4955.676] (II) intel(0): EDID for output VGA1
[ 4955.677] (II) intel(0): Printing probed modes for output VGA1
[ 4955.677] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 4955.677] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 4955.677] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 4955.677] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
[ 4955.677] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 4955.677] (II) intel(0): EDID for output LVDS1
[ 4955.677] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 4955.677] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[ 4955.678] (II) intel(0): Printing probed modes for output LVDS1
[ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 +hsync +vsync (48.4 kHz P)
[ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 4955.678] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 4955.678] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 4955.678] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 4955.678] (II) intel(0): Output VGA1 connected
[ 4955.678] (II) intel(0): Output LVDS1 connected
[ 4955.678] (II) intel(0): Using exact sizes for initial modes
[ 4955.678] (II) intel(0): Output VGA1 using initial mode 1024x768
[ 4955.678] (II) intel(0): Output LVDS1 using initial mode 1024x768
[ 4955.678] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 4955.678] (II) intel(0): Kernel page flipping support detected, enabling
[ 4955.678] (==) intel(0): DPI set to (96, 96)
[ 4955.678] (II) Loading sub module "fb"
[ 4955.678] (II) LoadModule: "fb"
[ 4955.679] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 4955.679] (II) Module fb: vendor="X.Org Foundation"
[ 4955.679] compiled for 1.13.0, module version = 1.0.0
[ 4955.679] ABI class: X.Org ANSI C Emulation, version 0.4
[ 4955.679] (II) Loading sub module "dri2"
[ 4955.679] (II) LoadModule: "dri2"
[ 4955.680] (II) Module "dri2" already built-in
[ 4955.680] (==) Depth 24 pixmap format is 32 bpp
[ 4955.680] (II) intel(0): [DRI2] Setup complete
[ 4955.680] (II) intel(0): [DRI2] DRI driver: i915
[ 4955.680] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
[ 4955.680] (II) UXA(0): Driver registered support for the following operations:
[ 4955.680] (II) solid
[ 4955.680] (II) copy
[ 4955.680] (II) composite (RENDER acceleration)
[ 4955.680] (II) put_image
[ 4955.680] (II) get_image
[ 4955.680] (==) intel(0): Backing store disabled
[ 4955.680] (==) intel(0): Silken mouse enabled
[ 4955.681] (II) intel(0): Initializing HW Cursor
[ 4955.681] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 4955.684] (==) intel(0): DPMS enabled
[ 4955.684] (==) intel(0): Intel XvMC decoder disabled
[ 4955.684] (II) intel(0): Set up overlay video
[ 4955.684] (II) intel(0): direct rendering: DRI2 Enabled
[ 4955.684] (==) intel(0): hotplug detection: "enabled"
[ 4955.983] (--) RandR disabled
[ 4956.021] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 4956.021] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context
[ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 4956.021] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 4956.021] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 4956.021] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 4956.021] (II) AIGLX: Loaded and initialized i915
[ 4956.022] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 4956.023] (II) intel(0): Setting screen physical size to 270 x 203
[ 4956.124] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 4956.124] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 4956.124] (II) LoadModule: "evdev"
[ 4956.124] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 4956.125] (II) Module evdev: vendor="X.Org Foundation"
[ 4956.125] compiled for 1.13.0, module version = 2.7.3
[ 4956.125] Module class: X.Org XInput Driver
[ 4956.125] ABI class: X.Org XInput driver, version 18.0
[ 4956.125] (II) Using input driver 'evdev' for 'Power Button'
[ 4956.125] (**) Power Button: always reports core events
[ 4956.125] (**) evdev: Power Button: Device: "/dev/input/event4"
[ 4956.126] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 4956.126] (--) evdev: Power Button: Found keys
[ 4956.126] (II) evdev: Power Button: Configuring as keyboard
[ 4956.126] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[ 4956.126] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 4956.126] (**) Option "xkb_rules" "evdev"
[ 4956.126] (**) Option "xkb_model" "evdev"
[ 4956.126] (**) Option "xkb_layout" "us"
[ 4956.197] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[ 4956.198] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 4956.198] (II) Using input driver 'evdev' for 'Video Bus'
[ 4956.198] (**) Video Bus: always reports core events
[ 4956.198] (**) evdev: Video Bus: Device: "/dev/input/event2"
[ 4956.198] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 4956.198] (--) evdev: Video Bus: Found keys
[ 4956.198] (II) evdev: Video Bus: Configuring as keyboard
[ 4956.198] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[ 4956.198] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 4956.198] (**) Option "xkb_rules" "evdev"
[ 4956.198] (**) Option "xkb_model" "evdev"
[ 4956.198] (**) Option "xkb_layout" "us"
[ 4956.200] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[ 4956.200] (II) No input driver specified, ignoring this device.
[ 4956.200] (II) This device may have been added with another device file.
[ 4956.201] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 4956.201] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 4956.201] (II) Using input driver 'evdev' for 'Sleep Button'
[ 4956.202] (**) Sleep Button: always reports core events
[ 4956.202] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 4956.202] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 4956.202] (--) evdev: Sleep Button: Found keys
[ 4956.202] (II) evdev: Sleep Button: Configuring as keyboard
[ 4956.202] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[ 4956.202] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 4956.202] (**) Option "xkb_rules" "evdev"
[ 4956.202] (**) Option "xkb_model" "evdev"
[ 4956.202] (**) Option "xkb_layout" "us"
[ 4956.204] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4956.205] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 4956.205] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 4956.205] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 4956.205] (**) AT Translated Set 2 keyboard: always reports core events
[ 4956.205] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 4956.205] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 4956.205] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 4956.205] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[ 4956.205] (**) Option "xkb_rules" "evdev"
[ 4956.206] (**) Option "xkb_model" "evdev"
[ 4956.206] (**) Option "xkb_layout" "us"
[ 4956.208] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
[ 4956.208] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[ 4956.208] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[ 4956.208] (**) TPPS/2 IBM TrackPoint: always reports core events
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event6"
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[ 4956.208] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 4956.208] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[ 4956.208] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 10)
[ 4956.209] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[ 4956.210] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[ 4956.210] (II) No input driver specified, ignoring this device.
[ 4956.210] (II) This device may have been added with another device file.
[ 4956.211] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[ 4956.211] (II) No input driver specified, ignoring this device.
[ 4956.211] (II) This device may have been added with another device file.
[ 4956.213] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[ 4956.213] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[ 4956.213] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[ 4956.213] (**) ThinkPad Extra Buttons: always reports core events
[ 4956.213] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event7"
[ 4956.214] (--) evdev: ThinkPad Extra Buttons: Vendor 0x1014 Product 0x5054
[ 4956.214] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 4956.214] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 4956.214] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event7"
[ 4956.214] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 11)
[ 4956.214] (**) Option "xkb_rules" "evdev"
[ 4956.214] (**) Option "xkb_model" "evdev"
[ 4956.214] (**) Option "xkb_layout" "us"
[ 4960.630] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 4964.186] (II) evdev: ThinkPad Extra Buttons: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: TPPS/2 IBM TrackPoint: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: AT Translated Set 2 keyboard: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: Sleep Button: Close
[ 4964.189] (II) UnloadModule: "evdev"
[ 4964.189] (II) evdev: Video Bus: Close
[ 4964.190] (II) UnloadModule: "evdev"
[ 4964.190] (II) evdev: Power Button: Close
[ 4964.190] (II) UnloadModule: "evdev"
[ 4964.192] Server terminated successfully (0). Closing log file.karol wrote:
Leonid.I wrote:@0x001A4:
To run twm, you need to install xorg-twm from [extra] (I am not sure if it installs by default). Do you have xterm installed?
According to his first post he has both xorg-twm and xterm installed.
I do indeed.
I went ahead and installed LXDE anyways, just to see what would happen. Exact same thing, it looks like everything is about to load but only the mouse cursor shows up. My Xorg.0.log is the same, so I won't post it again.
I do get an error in the console about the openbox menu.xml file missing but I doubt that's related.
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.0-1-ARCH i686
Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
Build Date: 05 October 2012 02:01:30PM
Current version of pixman: 0.26.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 15 18:12:28 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
xinit: connection to X server lost
waiting for X server to shut down pcmanfm: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2326 requests (2323 known processed) with 0 events remaining.
Server terminated successfully (0). Closing log file.
xinit: unexpected signal 2
.xinitrc for my user
exec ck-launch-session startlxde
Very wierd. -
Problem with JFrame and busy/wait Cursor
Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
for the duration of some operation (usually just a few seconds).
I can get it to work in some situations, but not others.
Timing does seem to be an issue.
There are thousands of posts on the BugParade, but
in general Sun indicates this is not a bug. I just need
a work-around.
I've written a test program below to demonstrate the problem.
I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
I have not tested on Windows yet.
When you run the following code, three JFrames will be opened,
each with the same 5 buttons. The first "F1" listens to its own
buttons, and works fine. The other two (F2 and F3) listen
to each other's buttons.
The "BUSY" button simply sets the cursor on its listener
to the busy cursor. The "DONE" button sets it to the
default cursor. These work fine.
The "SLEEP" button sets the cursor, sleeps for 3 seconds,
and sets it back. This does not work.
The "INVOKE LATER" button does the same thing,
except is uses invokeLater to sleep and set the
cursor back. This also does not work.
The "DELAY" button sleeps for 3 seconds (giving you
time to move the mouse into the other (listerner's)
window, and then it behaves just like the "SLEEP"
button. This works.
Any ideas would be appreciated, thanks.
-J
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
public class BusyFrameTest implements ActionListener
private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
private static Cursor done = Cursor.getDefaultCursor();
JFrame frame;
JButton[] buttons;
public BusyFrameTest (String title)
frame = new JFrame (title);
buttons = new JButton[5];
buttons[0] = new JButton ("BUSY");
buttons[1] = new JButton ("DONE");
buttons[2] = new JButton ("SLEEP");
buttons[3] = new JButton ("INVOKE LATER");
buttons[4] = new JButton ("DELAY");
JPanel buttonPanel = new JPanel();
for (int i = 0; i < buttons.length; i++)
buttonPanel.add (buttons);
frame.getContentPane().add (buttonPanel);
frame.pack();
frame.setVisible (true);
public void addListeners (ActionListener listener)
for (int i = 0; i < buttons.length; i++)
buttons[i].addActionListener (listener);
public void actionPerformed (ActionEvent e)
System.out.print (frame.getTitle() + ": " + e.getActionCommand());
if (e.getActionCommand().equals ("BUSY"))
frame.setCursor (busy);
else if (e.getActionCommand().equals ("DONE"))
frame.setCursor (done);
else if (e.getActionCommand().equals ("SLEEP"))
frame.setCursor (busy);
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.print (" finished");
else if (e.getActionCommand().equals ("INVOKE LATER"))
frame.setCursor (busy);
SwingUtilities.invokeLater (thread);
else if (e.getActionCommand().equals ("DELAY"))
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (busy);
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.print (" finished");
System.out.println();
Runnable thread = new Runnable()
public void run()
try { Thread.sleep (3000); } catch (Exception ex) { }
frame.setCursor (done);
System.out.println (" finished");
public static void main (String[] args)
BusyFrameTest f1 = new BusyFrameTest ("F1");
f1.addListeners (f1);
BusyFrameTest f2 = new BusyFrameTest ("F2");
BusyFrameTest f3 = new BusyFrameTest ("F3");
f2.addListeners (f3); // 2 listens to 3
f3.addListeners (f2); // 3 listens to 2I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread. -
I have a drag image application and I wanted to use the open and closed hand cursors to move the image about. It seems there is no easy way of accessing these in Java. After searching for cursor names etc.. I decided to hard code the cursors from the .gif image. Also I didn't want the .GIFs as files as this adds to loading problems so I ended up using arrays of pixels that took a little while to enter.
I'm giving you the code if you ever need to use it as I typed it in and wouldn't want anyone else to have to do the same.
int curWidth=32;
int curHeight=32;
int curCol;
Image img;
int x,y;
int closed_black[] = { 6,5,7,5,9,5,10,5,12,5,13,5,5,6,8,6,11,6,14,6,
15,6,5,7,14,7,16,7,6,8,16,8,5,9,6,9,16,9,4,10,
16,10,4,11,16,11,4,12,15,12,5,13,15,13,6,14,14,14,
7,15,14,15,7,16,14,16,0};
int closed_white[] = { 6,4,7,4,9,4,10,4,12,4,13,4,5,5,8,5,11,5,14,5,15,5,
4,6,6,6,7,6,9,6,10,6,12,6,13,6,16,6,4,7,15,7,17,7,
5,8,17,8,4,9,17,9,3,10,5,10,15,10,17,10,3,11,17,11,
3,12,16,12,4,13,16,13,5,14,15,14,6,15,15,15,6,16,
15,16,7,17,14,17,0};
int closed_whiteruns[] = {6,13,7,15,7,15,5,15,5,15,5,14,6,14,7,13,8,13,8,13,0};
int open_black[] = { 10,3,11,3,6,4,7,4,9,4,12,4,13,4,14,4,5,5,8,5,9,5,12,5,
15,5,5,6,8,6,9,6,12,6,15,6,17,6,6,7,9,7,12,7,15,7,16,7,18,7,
6,8,9,8,12,8,15,8,18,8,4,9,5,9,7,9,15,9,18,9,3,10,6,10,7,10,
18,10,3,11,7,11,17,11,4,12,17,12,5,13,17,13,5,14,16,14,6,15,
16,15,7,16,15,16,8,17,15,17,8,18,15,18,0};
int open_white[] = {10,2,11,2,6,3,7,3,9,3,12,3,13,3,5,4,8,4,10,4,11,4,15,4,
4,5,6,5,7,5,10,5,11,5,13,5,14,5,16,5,17,5,4,6,6,6,7,6,10,6,
11,6,13,6,14,6,16,6,18,6,5,7,7,7,8,7,10,7,11,7,13,7,14,7,17,7,
19,7,4,8,5,8,7,8,8,8,10,8,11,8,13,8,14,8,16,8,17,7,19,8,3,9,6,9,
16,9,17,9,19,9,2,10,4,10,5,10,19,10,2,11,18,11,3,12,18,12,4,13,
18,13,4,14,17,14,5,15,17,15,6,16,16,16,7,17,18,17,7,18,16,18,
8,19,15,19,0};
int open_whiteruns[] = {9,14,8,17,4,16,5,16,6,16,6,15,7,15,8,14,9,14,9,14,0};
int pix[] = new int[curWidth*curHeight];
for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
// black pixels
curCol=Color.black.getRGB();
int n=0;
while(closed_black[n]!=0)
pix[closed_black[n++]+closed_black[n++]*curWidth]=curCol;
// white pixels
curCol=Color.white.getRGB();
n=0;
while(closed_white[n]!=0)
pix[closed_white[n++]+closed_white[n++]*curWidth]=curCol;
// white pixel runs
n=0;
y=7;
while(closed_whiteruns[n]!=0) {
for(x=closed_whiteruns[n++];x<closed_whiteruns[n];x++)
pix[x+y*curWidth]=curCol;
n++; y++;
img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
closedhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"closedhand");
for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
// black pixels
curCol=Color.black.getRGB();
n=0;
while(open_black[n]!=0)
pix[open_black[n++]+open_black[n++]*curWidth]=curCol;
// white pixels
curCol=Color.white.getRGB();
n=0;
while(open_white[n]!=0)
pix[open_white[n++]+open_white[n++]*curWidth]=curCol;
// white pixel runs
n=0;
y=9;
while(open_whiteruns[n]!=0) {
for(x=open_whiteruns[n++];x<open_whiteruns[n];x++)
pix[x+y*curWidth]=curCol;
n++; y++;
img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
openhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"openhand");
setCursor(openhandCursor);you need to define openhandCursor and closedhandCursor with your other cursor definitions (I made them default to start with) and then just use setcursor as normal. There must be an easier way to do this!
p.s. thanks to Martin Zvarik for the original code here: http://www.jguru.com/faq/view.jsp?EID=9958Hi,
you can use the same query...Also check the new code after the select..
SELECT BUKRS BELNR GJAHR <b>BSTAT</b>
FROM BKPF
INTO TABLE T_BKPF
WHERE BUKRS = P_BUKRS
AND BSTAT IN ( ' ' , 'A' ) " ' ' - Normal document, A - Parked doc
AND BLART = P_BLART
AND CPUDT IN SO_CPUDT " Selection screen input.
IF NOT T_BKPF[] IS INITIAL.
SELECT BUKRS BELNR GJAHR BUZEI EBELN AUGBL AUGBT
INTO TABLE T_BSEG
FOR ALL ENTRIES IN T_BKPF
WHERE BUKRS = T_BKPF-BUKRS
AND BELNR = T_BKPF-BELNR
AND GJAHR = T_BKPF-GJAHR
AND EBELN IN SO_EBELN " selection-screen input
ENDIF.
LOOP AT T_BKPF.
Parked
IF T_BKPF-BSTAT = 'A'.
WRITE: / T_BKPF-BELNR , ' - Parked'.
process the next record.
CONTINUE.
ENDIF.
Check for Open / Closed.
LOOP AT T_BSEG WHERE BELNR = T_BKPF-BELNR
AND BUKRS = T_BKPF-BUKRS
AND GJAHR = T_BKPF-GJAHR
AND AUGBL <> ' '.
EXIT.
ENDLOOP.
If the return code is 0 then the document is cleared..
IF sy-subrc = 0.
WRITE: / T_BKPF-BELNR , ' - Closed'.
Else the document is not cleared.
ELSE.
WRITE: / T_BKPF-BELNR , ' - Open'.
ENDIF.
ENDLOOP.
Thanks,
Naren
Maybe you are looking for
-
Do i put -private-window in the command line of the shortcut?
can someone show me what to do with the -private-window command line of the shortcut? I have windows 8 pro. I want to make a shortcut for this. Thanks
-
Recyclebin don't function with User Sys 10g
Hi all, I have a doubt. With the user SYS I create a table test with two columns. Then I have dropped it to see in the recyclebin if it's there. I used the show recyclebin command and not show me any table. I ask you: The recyclebin feature is disabl
-
How to factory reset iPhone without restriction passcode or computer? Please help
I New to reset my opine 4s and can't because I don't have a computer and it says I have to have a restriction passcode and I don't know it. Please help.
-
Hi Members, I want to include the line text in the PLD of sale order. I need to include the line text after the item description is displayed. I am getting the line text in PLD but its not in proper order. I need to show the line text after item des
-
I must make a program that communicates with a HSM using pkcs # 11, to create the security keys and certificates. I finished the documentation on the pkcs # 11, now I must go to the programming phase. my problem I can not find my approach, I lack the