[Libdlo] Error with compiling displaylink-mod under ubuntu 9.10 / Error with xrandr screen rotation of displaylink screen

Bernie Thompson bernie at berniethompson.com
Tue Nov 10 10:25:54 PST 2009


Hi Andreas,

The missing definitions come from the drm_edid.h header, which usually
is distributed with displaylink-mod (for ease of compiling).  It's a
copy from the Linux source tree /include/drm/drm_edid.h.

Perhaps your make environment is somehow picking up an older version
from the kernel source/header tree?

By the way, where are you grabbing your copy of displaylink-mod from?

The current X server has limited RANDR support -- no way to do rotate
yet.  The hardware has no special ability to do it - so it's a
software implementation issue.  Neither udlfb or displaylink-mod have
any code to help yet.  Any patches are definitely welcome.

Thanks for trying this out and reporting.

Best wishes,
Bernie

On Tue, Nov 10, 2009 at 6:19 AM, Andreas Tuschen
<andreas.tuschen at pasonline.de> wrote:
> Hello list!
>
> I have a problem with compiling the new displaylink-mod driver unter ubuntu
> 9.10 (karmic koala)
>
> Here the error report:
>
> root at devlaptop :/usr/src/displaylink# make
> make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/displaylink modules
> make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.31-14-generic'
>   CC [M]  /usr/src/displaylink/displaylink-main.o
>   CC [M]  /usr/src/displaylink/displaylink-usb.o
> /usr/src/displaylink/displaylink-usb.c: In function
> ‘displaylink_edid_to_reg’:
> /usr/src/displaylink/displaylink-usb.c:85: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hactive_hi’
> /usr/src/displaylink/displaylink-usb.c:91: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vactive_hi’
> /usr/src/displaylink/displaylink-usb.c:97: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hblank_hi’
> /usr/src/displaylink/displaylink-usb.c:97: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hsync_offset_hi’
> /usr/src/displaylink/displaylink-usb.c:101: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vblank_hi’
> /usr/src/displaylink/displaylink-usb.c:101: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vsync_offset_hi’
> /usr/src/displaylink/displaylink-usb.c:101: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vsync_offset_lo’
> /usr/src/displaylink/displaylink-usb.c:105: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hblank_hi’
> /usr/src/displaylink/displaylink-usb.c:106: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hsync_pulse_width_hi’
> /usr/src/displaylink/displaylink-usb.c:109: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vblank_hi’
> /usr/src/displaylink/displaylink-usb.c:110: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vsync_pulse_width_hi’
> /usr/src/displaylink/displaylink-usb.c:110: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vsync_pulse_width_lo’
> /usr/src/displaylink/displaylink-usb.c: In function
> ‘displaylink_set_video_mode’:
> /usr/src/displaylink/displaylink-usb.c:249: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hactive_hi’
> /usr/src/displaylink/displaylink-usb.c: In function ‘displaylink_setup’:
> /usr/src/displaylink/displaylink-usb.c:308: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hactive_hi’
> /usr/src/displaylink/displaylink-usb.c:311: error: ‘struct
> detailed_pixel_timing’ has no member named ‘hactive_hi’
> /usr/src/displaylink/displaylink-usb.c:312: error: ‘struct
> detailed_pixel_timing’ has no member named ‘vactive_hi’
> make[2]: *** [/usr/src/displaylink/displaylink-usb.o] Fehler 1
> make[1]: *** [_module_/usr/src/displaylink] Fehler 2
> make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.31-14-generic'
> make: *** [all] Fehler 2
>
> Linux Version: Linux devlaptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16
> 14:04:26 UTC 2009 i686 GNU/Linux
>
> I can compile the old udlfb driver and the xf86-drivers sucessfully,
> everything is running.
>
> My problem is that we need a screen rotate left with the displaylink-card
> but it is not supported with the udlfb-driver?
> So i want to test it with the displaylink-mod driver...
>
> The command: xrandr -o left result in the following error report:
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  149 (RANDR)
>   Minor opcode of failed request:  2 (RRSetScreenConfig)
>   Serial number of failed request:  14
>   Current serial number in output stream:  14
>
> P.S.
> Thank everymuch for doing such a hard work on this driver!
>
> Greetings
>
> Andreas
>
>
> _______________________________________________
> Libdlo mailing list
> Libdlo at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libdlo
>
>


More information about the Libdlo mailing list