[Libdlo] Here's the error report, and another question...

James sammy at sammyjames.com
Thu Dec 17 18:35:36 PST 2009


Bernie:

Okay -- so, when I do all of this, I should be able to use the display --

right...?!

:D

Thank you. I'll let you know what happens.

James


James "Sammy James" Middleton
JSM Instruments
130 South Front Street
Suite 204
Memphis, TN 38103
901-433-9998
603-305-6083

http://www.sammyjames.com
----- Original Message ----- 
From: "Bernie Thompson" <bernie at berniethompson.com>
To: "James" <sammy at sammyjames.com>
Cc: <libdlo at lists.freedesktop.org>
Sent: Thursday, December 17, 2009 7:03 PM
Subject: Re: [Libdlo] Here's the error report, and another question...


Hi James,

To blacklist a module, in addition to adding a line to one of the
/etc/modprobe.d/ conf files, you also have to do "sudo depmod -a &&
update-initramfs -u" (like the instructions at
http://libdlo.freedesktop.org/wiki/TextConsole).

For the displaylink-mod compile errors - I assume it's related to the
edid.h header being not found (or perhaps included several times under
different names).  Likely something simple. But there's no need for
that - the edid parsing can be implemented with pure fb library
functions.

If you "git clone http://git.plugable.com/webdav/udlfb" and "git
checkout better-rle", you'll get a recent version off of udlfb that
has a bunch of in-progress improvements, including fairly complete
support for using the fb library functinons for edid parsing.  Should
compile clean on 9.10, but haven't tested.  Note: this driver is
called udlfb, so you'll want to replace the udlfb in 9.10, not
blacklist, to run this. It supports the same X server as
displaylink-mod. See
http://git.plugable.com/gitphp/index.php?p=udlfb&a=shortlog&h=refs/heads/better-rle
for changes in it.  Hoping the changes there will grow up to be an
acceptable patch set some day.

Best wishes,
Bernie

On Thu, Dec 17, 2009 at 12:19 PM, James <sammy at sammyjames.com> wrote:
> Hi Bernie:
>
> make -C /lib/modules/`uname -r`/build SUBDIRS=/home/sammy/dl modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.31-9-rt'
> CC [M] /home/sammy/dl/displaylink-usb.o
> /home/sammy/dl/displaylink-usb.c:70: error: conflicting types for
> ‘displaylink_edid_to_reg’
> /home/sammy/dl/displaylink-usb.c:30: note: previous definition of
> ‘displaylink_edid_to_reg’ was here
> /home/sammy/dl/displaylink-usb.c: In function ‘displaylink_edid_to_reg’:
> /home/sammy/dl/displaylink-usb.c:85: error: ‘struct detailed_pixel_timing’
> has no member named ‘hactive_hi’
> /home/sammy/dl/displaylink-usb.c:91: error: ‘struct detailed_pixel_timing’
> has no member named ‘vactive_hi’
> /home/sammy/dl/displaylink-usb.c:97: error: ‘struct detailed_pixel_timing’
> has no member named ‘hblank_hi’
> /home/sammy/dl/displaylink-usb.c:97: error: ‘struct detailed_pixel_timing’
> has no member named ‘hsync_offset_hi’
> /home/sammy/dl/displaylink-usb.c:101: error: ‘struct detailed_pixel_timing’
> has no member named ‘vblank_hi’
> /home/sammy/dl/displaylink-usb.c:101: error: ‘struct detailed_pixel_timing’
> has no member named ‘vsync_offset_hi’
> /home/sammy/dl/displaylink-usb.c:101: error: ‘struct detailed_pixel_timing’
> has no member named ‘vsync_offset_lo’
> /home/sammy/dl/displaylink-usb.c:105: error: ‘struct detailed_pixel_timing’
> has no member named ‘hblank_hi’
> /home/sammy/dl/displaylink-usb.c:106: error: ‘struct detailed_pixel_timing’
> has no member named ‘hsync_pulse_width_hi’
> /home/sammy/dl/displaylink-usb.c:109: error: ‘struct detailed_pixel_timing’
> has no member named ‘vblank_hi’
> /home/sammy/dl/displaylink-usb.c:110: error: ‘struct detailed_pixel_timing’
> has no member named ‘vsync_pulse_width_hi’
> /home/sammy/dl/displaylink-usb.c:110: error: ‘struct detailed_pixel_timing’
> has no member named ‘vsync_pulse_width_lo’
> /home/sammy/dl/displaylink-usb.c: In function ‘displaylink_set_video_mode’:
> /home/sammy/dl/displaylink-usb.c:230: warning: passing argument 1 of
> ‘displaylink_edid’ from incompatible pointer type
> /home/sammy/dl/displaylink.h:121: note: expected ‘struct displaylink_dev *’
> but argument is of type ‘struct detailed_timing *’
> /home/sammy/dl/displaylink-usb.c:230: error: too many arguments to 
> function
> ‘displaylink_edid’
> /home/sammy/dl/displaylink-usb.c:230: error: void value not ignored as it
> ought to be
> /home/sammy/dl/displaylink-usb.c:249: error: ‘struct detailed_pixel_timing’
> has no member named ‘hactive_hi’
> /home/sammy/dl/displaylink-usb.c: In function ‘displaylink_setup’:
> /home/sammy/dl/displaylink-usb.c:308: error: ‘struct detailed_pixel_timing’
> has no member named ‘hactive_hi’
> /home/sammy/dl/displaylink-usb.c:311: error: ‘struct detailed_pixel_timing’
> has no member named ‘hactive_hi’
> /home/sammy/dl/displaylink-usb.c:312: error: ‘struct detailed_pixel_timing’
> has no member named ‘vactive_hi’
> make[2]: *** [/home/sammy/dl/displaylink-usb.o] Error 1
> make[1]: *** [_module_/home/sammy/dl] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-9-rt'
> make: *** [all] Error 2
>
>
> Okay -- first, I know that this particular error set has been discussed
> elsewhere. But hey -- the more the merrier, right?!
>
> :)
>
> I added the "blacklist udlfb" to blacklist.conf under modprobe.d. Let me
> know if this was the correct file to add the line to.
>
> Also, another question: I'm using 9.10 UbuntuSTUDIO. The reason for my 
> using
> this particular distro is that I need the realtime kernel, so that I can 
> run
> Rosegarden and JackD. If there is a distro that uses an RT kernel, and 
> that
> works better with DisplayLink, let me know. I really need both things to
> work together.
>
> Thank you for your help.
>
> - Sammy
>
> James "Sammy James" Middleton
> JSM Instruments
> 130 South Front Street
> Suite 204
> Memphis, TN 38103
> 901-433-9998
> 603-305-6083
>
> http://www.sammyjames.com
> _______________________________________________
> Libdlo mailing list
> Libdlo at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libdlo
>
> 



More information about the Libdlo mailing list