LCDproc development and user support list

Text archives Help

[Lcdproc] Fwd: lcdproc on FreeBSD with lis driver

Chronological Thread 
  • From: pusateri at (Tom Pusateri)
  • Subject: [Lcdproc] Fwd: lcdproc on FreeBSD with lis driver
  • Date: Fri, 10 Dec 2010 18:06:48 -0500

So the changes made no difference.

If you remember the initial report, pthread_create() never returns so there
is no error to report.

Here is the gdb log:

Server running in foreground
Listening for queries on
[New LWP 100151]
[New Thread 800a221c0 (LWP 100151)]
[Switching to Thread 800a221c0 (LWP 100151)]

Breakpoint 1, lis_init (drvthis=0x800a1c180) at lis.c:514
514 err = pthread_create( &read_thread,
(gdb) n

This is where is hangs. no output after that.


On Dec 10, 2010, at 1:41 PM, Markus Dolze wrote:

> Hi,
> while looking at the 'lis' driver I found a minor issue with error
> reporting on pthread_create which I corrected. It may have prevented
> error messages to show up.
> Please try out a yesterday's CVS snapshot from
> If you need any help on how to
> use it, please drop me a mail.
> Please run 'LCDd -r 4 -f' and send us that's output.
> Regards,
> Markus
> On 05.12.2010 20:24, Tom Pusateri wrote:
>> Thanks for the reply.
>> The code looks fine to me too. But the call to pthread_create never
>> returns so maybe its an issue with FreeBSD 8.1. I just did a binary update
>> to p2 and that acts the same. I saw a Freebsd bug in 7.2 for a similar
>> problem to pthread_create() not returning because of a malloc issue.
>> I read elsewhere that others on linux are using the hd44780 Driver with
>> connection type lis2. So I tried that with device /dev/cuaU0. It seems to
>> run ok but it never updates the display. Its not clear which driver I
>> should be using.
>> I don't think I mentioned it before but I have a Pro-LCD in a nMedia 1000
>> case which is a VLSys LIS MCE.
>> Thanks for the help.
>> Tom
>> On Dec 5, 2010, at 2:42 AM, Markus Dolze wrote:
>>> Hello,
>>> yes, the LIS driver is the only driver that uses threads. At first
>>> glance I can't see any problem with the code.
>>> Are you sure you are not looking at the second thread launched in gdb?
>>> That thread will only return on shutdown.
>>> Which version of LCDproc and FreeBSD (output of uname -v) are you using?
>>> Regards,
>>> Markus
>>> On 04.12.2010 23:09, Tom Pusateri wrote:
>>>> Some more info: In gdb, it is never returning from pthread_create() in
>>>> lis.c:514
>>>> The lis driver appears to be the only driver that uses threads.
>>>> Thanks,
>>>> Tom
>>>> Begin forwarded message:
>>>>> *From: *Tom Pusateri
>>>>> *Date: *December 4, 2010 3:43:02 PM EST
>>>>> *To: *bsdfan at <mailto:bsdfan at>
>>>>> *Subject: **lcdproc on FreeBSD with lis driver*
>>>>> I have built the lcdproc code using a modified port to include the lis
>>>>> driver (which depends on devel/libftdi).
>>>>> libftdi seems to work and the utilities that ship with it seem to work
>>>>> but LCDd hangs on startup. I'm running gdb now to see if I can figure
>>>>> out why but I wondered if you knew anything about the lis driver and
>>>>> if anyone else is using it and if can be included by default in the
>>>>> Freebsd port.
>>>>> Thanks,
>>>>> Tom
>>> _______________________________________________
>>> LCDproc mailing list
>>> LCDproc at

Archive powered by MHonArc 2.6.18.

Top of page