Cui, Dexuan | 16 May 18:21
Picon
Favicon

Error when trying dual graphics cards

Hi all,
I have read http://www.x.org/wiki/Development/Documentation/Multiseat, but looks that's mainly for
USB graphics card(?) and here I don't use that.

I have a desktop host (HP Compaq 8200 Elite SFF PC) that has an integrated Intel card and an add-on nVidia card.
The "lspci | grep VGA" on the host shows
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation GT218 [NVS 300] (rev a2).

In the default BIOS setting, the integrated Intel card is set to Primary VGA card.
When the BIOS and grub run, only the monitor attached to the integrated Intel card has VGA output.

I tried x86-64 Ubuntu 12.04, RHEL 6.2 and Fedora 17 and it looks Fedora 17 gave the best result, though I still
couldn't make both cards work properly -- my goal is something like this: both monitors attached to the 2
card should be able to show a gnome session, or an ever better goal: both monitors belong to a single gnome
session.  Is this feasible?

In the x86-64 Fedora 17, the kernel version is 3.3.0-1.fc17.x86_64, and the driver of the integrated Intel
card 00:02.0 is i915, and the driver of the add-on Nvidia NVS 300 card is nouveau.

When Fedora 17 just starts up, only the integrated Intel card has VGA output; when the nVidia driver is
loaded and X server finishes startup, on the monitor (the first monitor) attached to the integrated Intel
card, I see a gnome GUI session and I can log in, but on the monitor(the second monitor) attached to the
add-on nVidia card, there is only a Fedora's logo (the small icon with a white f char and blue background) in
the center of the monitor -- no gnome session. And the USB mouse/keyboard inputs are routed to the first
monitor only and I can't move the mouse cursor into the second monitor.
Please see the attachment for the Xorg.0.log -- looks only 1 monitor is detected and used??? Can you find
anything abnormal in the log? -- I don't have much experience about configuring X... :-(
BTW, at this time, "ps aux | grep Xorg" shows:
(Continue reading)

Xu, Anhua | 16 May 15:22
Picon
Favicon

How can I use 2 gfx cards to display

Hi, guys
 
How can I use 2 gfx cards in a linux machine to boot up perspective X server.
Is there any order or basic steps I can follow to do this ?
 
-Eric
 
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
Peter Hutterer | 15 May 07:54

[ANNOUNCE] xinput 1.6.0

Only one more fix since RC1, adding --enable and --disable support as
shortcuts to trigger the property to enable or disable the device,
respectively.

Peter Hutterer (2):
      Add --enable/--disable support
      xinput 1.6.0

git tag: xinput-1.6.0

http://xorg.freedesktop.org/archive/individual/app/xinput-1.6.0.tar.bz2
MD5:  d2459d35b4e0b41ded26a1d1159b7ac6  xinput-1.6.0.tar.bz2
SHA1: 958b77a2acf52197b9a1e3e3d11e9bc57fbb1e6c  xinput-1.6.0.tar.bz2
SHA256: 4ab007d952c76665603bcb82ceb15fd3929d10faf0580fc4873ac16f5f63847e  xinput-1.6.0.tar.bz2

http://xorg.freedesktop.org/archive/individual/app/xinput-1.6.0.tar.gz
MD5:  03146d20083a8bd2e3806554b36c7c2b  xinput-1.6.0.tar.gz
SHA1: cb36f3bde1aabde7c0d0d907124a05eb2597bd28  xinput-1.6.0.tar.gz
SHA256: a3117a323cc32c80428dd1604df8d0f87ecbfb03a4975c187475a04f7201dfb7  xinput-1.6.0.tar.gz

_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
Xiaoshen Li | 14 May 19:52
Picon
Favicon

Help: the problem to run GUI program with cron when logged out

Hi,

Many people say that it is a simple fix to let cron run a GUI program: just export DISPLAY=:0.0 -- telling
where to display it. However, it is hard and even impossible for me.

(I am using "env -i script_name" to test) 
Suppose my script "run_gui.sh" can be run successfully:

env -i /path/run_gui.sh

Within run_gui.sh, there are:
export XAUTHORITY=xxx
export DISPLAY=:0.0
..
start the Java GUI program //this program is an automatic GUI program. It runs for about one minute or so,
then shut down automatically. No human interaction is needed.

If I put run_gui.sh on cron and logged out(These linux machines are shared desktops, not my personal
machines). Our IT support told me that my gui program have no place to put the display.(Since I have logged
out, everything has closed). I told them that many people on newsgroup say that it is possible and they
don't think so.

Another problem is that, since I was not logged in when the cron job("run_gui.sh") was running, so there is
no XAUTHORITY value.

I am just confused: many people say it is possible to run a GUI program by cron. I assume that means they are not
logged in when the cron job is run. How come it is impossible for me?

Thank you very much.
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org

Simon Thum | 13 May 13:08
Picon
Picon
Gravatar

minor pointer accel fixes

Hi all,

I polished some indentation fallout in pointer acceleration code and 
removed a warning that came to my attention. Nothing serious.

Cheers,

Simon
From ad233d795b8c4eeb2f29a583441720c357c92706 Mon Sep 17 00:00:00 2001
From: Simon Thum <simon.thum <at> gmx.de>
Date: Mon, 2 Apr 2012 18:49:53 +0200
Subject: [PATCH 1/2] dix: indentation fixes for pointer acceleration

Signed-off-by: Simon Thum <simon.thum <at> gmx.de>
---
 dix/devices.c      |   12 ++++--------
 dix/ptrveloc.c     |    7 ++++---
 include/ptrveloc.h |   15 +++++----------
 3 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/dix/devices.c b/dix/devices.c
index 7f38865..0c62a01 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1332,13 +1332,10 @@ InitValuatorClassDeviceStruct(DeviceIntPtr dev, int numAxes, Atom *labels,

 /* global list of acceleration schemes */
 ValuatorAccelerationRec pointerAccelerationScheme[] = {
-    {PtrAccelNoOp, NULL, NULL, NULL, NULL}
-    ,
+    {PtrAccelNoOp, NULL, NULL, NULL, NULL},
     {PtrAccelPredictable, acceleratePointerPredictable, NULL,
-     InitPredictableAccelerationScheme, AccelerationDefaultCleanup}
-    ,
-    {PtrAccelLightweight, acceleratePointerLightweight, NULL, NULL, NULL}
-    ,
+     InitPredictableAccelerationScheme, AccelerationDefaultCleanup},
+    {PtrAccelLightweight, acceleratePointerLightweight, NULL, NULL, NULL},
     {-1, NULL, NULL, NULL, NULL}        /* terminator */
 };

@@ -1375,8 +1372,7 @@ InitPointerAccelerationScheme(DeviceIntPtr dev, int scheme)

     if (pointerAccelerationScheme[i].AccelInitProc) {
         if (!pointerAccelerationScheme[i].AccelInitProc(dev,
-                                                        &pointerAccelerationScheme
-                                                        [i])) {
+                                            &pointerAccelerationScheme[i])) {
             return FALSE;
         }
     }
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index acbb479..28d90a6 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -62,9 +62,9 @@

 /* fwds */
 int
- SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
-static double
+SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);

+static double
 SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity,
                     double threshold, double acc);
 static PointerAccelerationProfileFunc
@@ -791,7 +791,8 @@ ComputeAcceleration(DeviceIntPtr dev,
         result +=
             4.0f * BasicComputeAcceleration(dev, vel,
                                             (vel->last_velocity +
-                                             vel->velocity) / 2, threshold,
+                                             vel->velocity) / 2,
+                                            threshold,
                                             acc);
         result /= 6.0f;
         DebugAccelF("(dix ptracc) profile average [%.2f ... %.2f] is %.3f\n",
diff --git a/include/ptrveloc.h b/include/ptrveloc.h
index 8778646..3bd982a 100644
--- a/include/ptrveloc.h
+++ b/include/ptrveloc.h
@@ -101,48 +101,43 @@ typedef struct _PredictableAccelSchemeRec {
 } PredictableAccelSchemeRec, *PredictableAccelSchemePtr;

 extern _X_EXPORT void
- InitVelocityData(DeviceVelocityPtr vel);
+InitVelocityData(DeviceVelocityPtr vel);

 extern _X_EXPORT void
- InitTrackers(DeviceVelocityPtr vel, int ntracker);
+InitTrackers(DeviceVelocityPtr vel, int ntracker);

 extern _X_EXPORT BOOL
 ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time);

 extern _X_EXPORT double
-
 BasicComputeAcceleration(DeviceIntPtr dev, DeviceVelocityPtr vel,
                          double velocity, double threshold, double acc);

 extern _X_EXPORT void
- FreeVelocityData(DeviceVelocityPtr vel);
+FreeVelocityData(DeviceVelocityPtr vel);

 extern _X_EXPORT int
- SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
+SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);

 extern _X_EXPORT DeviceVelocityPtr
 GetDevicePredictableAccelData(DeviceIntPtr dev);

 extern _X_EXPORT void
-
 SetDeviceSpecificAccelerationProfile(DeviceVelocityPtr vel,
                                      PointerAccelerationProfileFunc profile);

 extern _X_INTERNAL void
- AccelerationDefaultCleanup(DeviceIntPtr dev);
+AccelerationDefaultCleanup(DeviceIntPtr dev);

 extern _X_INTERNAL Bool
-
 InitPredictableAccelerationScheme(DeviceIntPtr dev,
                                   struct _ValuatorAccelerationRec *protoScheme);

 extern _X_INTERNAL void
-
 acceleratePointerPredictable(DeviceIntPtr dev, ValuatorMask *val,
                              CARD32 evtime);

 extern _X_INTERNAL void
-
 acceleratePointerLightweight(DeviceIntPtr dev, ValuatorMask *val,
                              CARD32 evtime);

-- 
1.7.3.4

From 604571639f156f3303361cb57c984664534c6812 Mon Sep 17 00:00:00 2001
From: Simon Thum <simon.thum <at> gmx.de>
Date: Sun, 13 May 2012 13:05:51 +0200
Subject: [PATCH 2/2] dix: remove redundant declaration

Signed-off-by: Simon Thum <simon.thum <at> gmx.de>
---
 dix/ptrveloc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 28d90a6..338f415 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -61,9 +61,6 @@
  ****************************************************************************/

 /* fwds */
-int
-SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
-
 static double
 SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity,
                     double threshold, double acc);
--

-- 
1.7.3.4

_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
Ben Bucksch | 11 May 20:36

X server crash due to evdev device - regression

I've upgraded from Ubuntu 11.10 to 12.04, and the X server is now 
crashing. Log excerpt below. lsusb -vv attached.

This happens (probably not surprisingly) with both the stock Linux 3.2 
kernel as well as a self-compiled Linux 3.1 kernel.

Log (end):
[    15.883] (II) config/udev: Adding input device Conexant USB Audio 
(/dev/input/event7)
[    15.883] (**) Conexant USB Audio: Applying InputClass "evdev 
keyboard catchall"
[    15.883] (II) Using input driver 'evdev' for 'Conexant USB Audio'
[    15.883] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    15.883] (**) Conexant USB Audio: always reports core events
[    15.883] (**) evdev: Conexant USB Audio: Device: "/dev/input/event7"
[    15.884] (--) evdev: Conexant USB Audio: Vendor 0x572 Product 0x1400
[    15.884] (--) evdev: Conexant USB Audio: Found 13 mouse buttons
[    15.884] (--) evdev: Conexant USB Audio: Found absolute axes
[    15.884] (--) evdev: Conexant USB Audio: Found absolute multitouch axes
[    15.884] (--) evdev: Conexant USB Audio: Found keys
[    15.884] (II) evdev: Conexant USB Audio: Configuring as mouse
[    15.884] (II) evdev: Conexant USB Audio: Configuring as keyboard
[    15.884] (**) evdev: Conexant USB Audio: YAxisMapping: buttons 4 and 5
[    15.884] (**) evdev: Conexant USB Audio: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    15.884] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.3/input/input7/event7"
[    15.884] (II) XINPUT: Adding extended input device "Conexant USB 
Audio" (type: KEYBOARD, id 12)
[    15.884] (**) Option "xkb_rules" "evdev"
[    15.884] (**) Option "xkb_model" "pc105"
[    15.884] (**) Option "xkb_layout" "de"
[    15.885] (II) evdev: Conexant USB Audio: initialized for absolute axes.
[    15.885]
Backtrace:
[    15.886] 0: /usr/bin/X (xorg_backtrace+0x37) [0xb7844627]
[    15.886] 1: /usr/bin/X (0xb76bc000+0x18c3aa) [0xb78483aa]
[    15.886] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb769940c]
[    15.886] 3: /lib/i386-linux-gnu/libc.so.6 (0xb7305000+0x135d38) 
[0xb743ad38]
[    15.886] 4: /usr/bin/X (XIChangeDeviceProperty+0x16c) [0xb77dcafc]
[    15.886] 5: /usr/lib/xorg/modules/input/evdev_drv.so 
(0xb6b8f000+0x634e) [0xb6b9534e]
[    15.886] 6: /usr/lib/xorg/modules/input/evdev_drv.so 
(0xb6b8f000+0x6595) [0xb6b95595]
[    15.886] 7: /usr/bin/X (ActivateDevice+0x66) [0xb76e82e6]
[    15.886] 8: /usr/bin/X (0xb76bc000+0x8cc05) [0xb7748c05]
[    15.886] 9: /usr/bin/X (0xb76bc000+0x9b142) [0xb7757142]
[    15.886] 10: /usr/bin/X (0xb76bc000+0x9b9b3) [0xb77579b3]
[    15.886] 11: /usr/bin/X (config_init+0x14) [0xb7756a14]
[    15.886] 12: /usr/bin/X (InitInput+0xfd) [0xb7736edd]
[    15.887] 13: /usr/bin/X (0xb76bc000+0x2524e) [0xb76e124e]
[    15.887] 14: /lib/i386-linux-gnu/libc.so.6 (__libc_start_main+0xf3) 
[0xb731e4d3]
[    15.887] 15: /usr/bin/X (0xb76bc000+0x255e9) [0xb76e15e9]
[    15.887] Segmentation fault at address 0x139
[    15.887]
Caught signal 11 (Segmentation fault). Server aborting
[    15.887]
Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
[    15.887] Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[    15.887]
[    15.916] (II) evdev: Power Button: Close
[    15.916] (II) UnloadModule: "evdev"
[    15.916] (II) Unloading evdev
[    15.960] (II) evdev: Video Bus: Close
[    15.960] (II) UnloadModule: "evdev"
[    15.960] (II) Unloading evdev
[    15.988] (II) evdev: Power Button: Close
[    15.988] (II) UnloadModule: "evdev"
[    15.988] (II) Unloading evdev
[    16.072] (II) UnloadModule: "wacom"
[    16.072] (II) Unloading wacom
[    16.124] (II) evdev: HID 046a:0021: Close
[    16.124] (II) UnloadModule: "evdev"
[    16.124] (II) Unloading evdev
[    16.180] (II) evdev: HID 046a:0021: Close
[    16.180] (II) UnloadModule: "evdev"
[    16.180] (II) Unloading evdev
[    16.180] (II) UnloadModule: "evdev"
[    16.180] (II) Unloading evdev
[    16.180] (II) AIGLX: Suspending AIGLX clients for VT switch
[    16.246]  ddxSigGiveUp: Closing log
[    16.246] Server terminated with error (1). Closing log file.

Crashing version from Ubuntu 12.04:
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-23-generic i686 Ubuntu
Current Operating System: Linux slate 3.2.0 #3 SMP Wed Jan 11 14:02:31 
CET 2012 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-3.2.0 
root=UUID=40e678cb-6174-4f2f-8118-827bf3e89d7c ro quiet splash 
vt.handoff=7 pcie_aspm=force i915.i915_enable_rc6=1 
i915.lvds_downclock=1 i915.i915_enable_fbc=1 i915_semaphores=1
Build Date: 20 April 2012  05:12:21AM
xorg-server 2:1.11.4-0ubuntu10.1 (For technical support please see 
http://www.ubuntu.com/support)
Current version of pixman: 0.24.4


Bus 001 Device 009: ID 0572:1400 Conexant Systems (Rockwell), Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0572 Conexant Systems (Rockwell), Inc.
  idProduct          0x1400 
  bcdDevice            1.00
  iManufacturer           1 Conexant
  iProduct                2 USB Audio
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          342
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength          125
        bInCollection           2
        baInterfaceNr( 0)       1
        baInterfaceNr( 1)       2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID              10
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               9
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x02
          Volume Control
        bmaControls( 2)      0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 6
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x02
          Volume Control
        bmaControls( 2)      0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 8
        bSourceID               7
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x00
        bmaControls( 2)      0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                 9
        bNrInPins               2
        baSourceID( 0)          2
        baSourceID( 1)          8
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        bmControls         0x00
        iMixer                  0 
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                10
        bNrInPins               2
        baSource( 0)            6
        baSource( 1)           11
        iSelector               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                11
        bSourceID               7
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x02
          Volume Control
        bmaControls( 2)      0x02
          Volume Control
        iFeature                0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           2
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        48000
        tSamFreq[ 1]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         131
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           2
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        48000
        tSamFreq[ 1]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x012c  1x 300 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         131
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        48000
        tSamFreq[ 1]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     324
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
oxy | 11 May 19:12

installing xf86driproto-2.1.1

Hi,
i wanna install xf86driproto-2.1.1:

    cd xf86driproto-2.1.1
    ./autogen.sh
    ./configure
    make install

         make[1]: Entering directory `/home/me/tmp/xf86driproto-2.1.1'
         make[1]: Nothing to be done for `install-exec-am'.
         test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p\
                     "/usr/local/lib/pkgconfig"
         /usr/bin/install -c -m 644 xf86driproto.pc '/usr/local/lib/pkgconfig'
         test -z "/usr/local/include/X11/dri" || /bin/mkdir -p\
                     "/usr/local/include/X11/dri"
          /usr/bin/install -c -m 644 xf86dri.h xf86dristr.h\
                      xf86driproto.h '/usr/local/include/X11/dri'
          make[1]: Leaving directory `/home/me/tmp/xf86driproto-2.1.1'

... it skips install silently  :-/
Any help?
thxs a lot...

ubu 12.04
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org

Don Stroud | 10 May 18:49
Picon
Favicon

Installation of XQuartz on OSX 10.6.2?

I am having a devil of a time. I'm trying to install GIMP, and I need to install XQuartz first. But my Mac's OS is at 10.6.2... and it seems ALL the Snow Leopard installs require 10.6.3! I can't upgrade because of interrelated hardware/software setup issues, so I can't go to 10.6.3.

Any help would be appreciated!

Don
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
Thomas Dickey | 10 May 16:07
Favicon

ANN: xterm patch #279

                            Patch #279 - 2012/05/10

     * fill  in missing cases in the save/restore modes feature (report by
       Thomas Wolff).
     * add  check  to  ensure that combining characters are precomposed in
       the order given (report/analysis by Andries E Brouwer).
     * improve  workability check for posix_openpt(), to take into account
       BSD  systems  which do not complete initialization until both sides
       of the pseudoterminal are opened (report by Christian Weisgerber).
     * amend  fix  for Debian #650291 in patch #277 changes to account for
       different data returned by vnc4server (Debian #670638).
     * add  check in DECCRA operation to make copies of blinking text also
       blink by updating a line-level flag.
     * modify rectangle operations to work with DECOM.
     * modify  DECSERA  to  use  the  current  protected state rather than
       preserving it.
     * add   precompose  resource  to  allow  storing  character  data  in
       Normalized  Form D as described in http://unicode.org/reports/tr15/
       (report/discussion with Andries E Brouwer).
     * modify CBT, other ISO-6429 controls which are used by VT520 to work
       with DECOM.
     * add HPR and VPR controls, ISO 6429 cursor movement used in VT520.
     * remove  "linux"  restriction for IUTF8 ifdef in main.c (prompted by
       Matthew Dempsky posting on mailing.openbsd.tech).
     * implement the remaining VT420-level device status reports.
     * change DECXCPR to return page 1, rather than 0.
     * improve VT-level checks on reporting functions, such as DECXCPR.
     * change limit on decTerminalID to 525.
     * fixes to improve vttest vt52 screen when running as a VT420:
          + add  checks  for  some  VT2xx and up controls for consistency:
            DECSCL, S1C8T, S1C7T.
          + modify  DECRQSS  return  for  DECSCL  to only return that when
            running as VT2xx and up.
          + when exiting from VT52-mode, resume in VT100 level rather than
            the level before starting VT52-mode.
     * implement  DECLRMM,  DECSLRMM  and DECNCSM (prompted by discussions
       with  Ailin  Nemui  and  Paul LeoNerd Evans). This modifies several
       controls to obey top/bottom and left/right margins.
     * correct  macro  definition  used for testing modes used in ANSI/DEC
       request-mode controls introduced in patch #262.
     * modify  x_getlogin  to  check $LOGNAME and $USER before fallback to
       getlogin,  so that user's choice for these variables can be carried
       forward to the xterm process (Debian #611487).
     * document DECSCUSR response for DECRQSS in ctlseqs.ms
     * add  zIconTitleFormat  resource  to  allow  customizing  the "*** "
       prefixed  to the icon title when the zIconBeep feature is activated
       (request by Thomas Adam).
     * modify  DECSCUSR  to update the same internal variable as RM/SM 12,
       and  document  in  manpage  the  two variables used for controlling
       blinking cursor (report by Paul LeoNerd Evans).
     * correct  response  data for DECSCUSR in reply for DECRQSS response,
       which  had  inverted  the blink-value (reports by Ailin Nemui, Paul
       LeoNerd Evans).
     * add  a  null-pointer  check  in  OkPasswd macro to fix a problem in
       resize  with Fedora 17 and a serial console (report/patch by Daniel
       Drake).
     * add  workaround  for  Mac  OS  X,  which loses the window size of a
       pseudo-terminal  when  the tty device is opened (report/analysis by
       Egmont Koblinger).
     * updated  configure  check for workable posix_openpt versus grantpt,
       from luit fixes.
     * modify  DECIC/DECDC/DECBI/DECFI implemented in patch #277 to enable
       them only in VT4xx mode and up (report by Ailin Nemui).
     * update config.guess, config.sub

--

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org
Frédéric Dreier | 10 May 08:44
Picon

Resized window does not resize its content.

Hello,

I am trying to force an application to have a certain size but it does
not work as expected yet: the application window resize well but not
it's content.

The application I try to resize is VirtualBox. I want it to run in a
kiosk like mode (full-screen) for a project named 'Cube' :
https://github.com/jonosterman/cube/blob/master/cube-client-wm/src/main/java/ch/admin/vbs/cube/client/wm/ui/x/imp/XWindowManager2.java
(perhaps some parts are commented right now since I'm still testing some stuff)

There is no other window manager running in the background.

What append is:
- I start VirtualBox
- Once I detect a VirtualBox Window (based on its title), I re-parent
it into another window (which is used to display a 5-pixels border
around the application's window) -> line 135
- and resize it to fullscreen (using XMoveResizeWindow)
- I then get resizeRequest event (with smaller size) that I ignore (is
that wrong?) -> line 315
- then ConfigureNotify event where I check if it is the correct size.
If not, I resize it again. -> line 389
- then ResizeRequest and Configuration again (VirtualBox actually
display a welcome screen before showing the application)

At the end the application's window has got the desired dimension but
not its content.

Something odd (at least for me): when it is completely started,
resizing (XResizeWindow) it at the 'fullscreen size' again does
nothing, but resizing it to another size or moving it one pixel away,
trigger its content resize.

I really need help, because I already tried so much way to trick it
(without success) and actually want to solve the problem in a clean
way (It works well under metacity/gnome, I check there code, but did
not find why).

Regards,

Frederic
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org

Picon

cross compile X11R7.6 on ubuntu

Hi:

   Is there anyone cross compile X11R7.6 on ubuntu11.10/12.04  by using  some scripts successfully ? Could you share your knowledge ?

Thanks.

Yours.
Flooding 2012
_______________________________________________
xorg <at> lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: gcfx-xorg-2 <at> m.gmane.org

Gmane