Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

Nuno Oliveira-4
Package: lcdproc-extra-drivers
Version: 0.5.9-3
Severity: important

Dear Maintainer,

When using the current lcdproc binary package 0.5.9-3 from the archive,
the lcd2usb support seems to be missing:

host~# locate hd44780.so
/usr/lib/x86_64-linux-gnu/lcdproc/hd44780.so
host~# strings /usr/lib/x86_64-linux-gnu/lcdproc/hd44780.so | grep lcd2usb
host~#

A simple recompilation from source (no changes) eliminates this problem:
host~# apt-cache policy lcdproc
lcdproc:
  Instalado: 0.5.9-3.1
  Candidato: 0.5.9-3.1
  Tabela de Versão:
 *** 0.5.9-3.1 100
        100 /var/lib/dpkg/status

host~# strings /usr/lib/x86_64-linux-gnu/lcdproc/hd44780.so | grep lcd2usb
hd_init_lcd2usb
lcd2usb_HD44780_uPause
lcd2usb_HD44780_flush
lcd2usb_HD44780_senddata
lcd2usb_HD44780_scankeypad
lcd2usb_HD44780_close
lcd2usb_HD44780_backlight
lcd2usb_HD44780_set_contrast
lcd2usb
lcd2usb_HD44780_backlight: Setting backlight to %d
lcd2usb_HD44780_backlight: setting backlight failed
lcd2usb_HD44780_set_contrast: setting contrast failed
hd_init_lcd2usb: unable to open device
hd_init_lcd2usb: device with firmware version %d.%02d found
hd_init_lcd2usb: no (matching) LCD2USB device found
hd_init_lcd2usb: could not allocate send buffer

This is probably related to https://bugs.launchpad.net/ubuntu/+source/lcdproc/+bug/487300

Thanks,

Nuno.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=pt_PT.UTF8, LC_CTYPE=pt_PT.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to pt_PT.UTF8), LANGUAGE=pt:pt_BR:en (charmap=UTF-8) (ignored: LC_ALL set to pt_PT.UTF8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lcdproc-extra-drivers depends on:
ii  lcdproc          0.5.9-3
ii  libc6            2.28-8
ii  liblirc-client0  0.10.1-5.2
ii  libusb-1.0-0     2:1.0.22-2
ii  libx11-6         2:1.6.7-1
ii  libxext6         2:1.3.3-1+b2
ii  libxinerama1     2:1.1.4-2
ii  libxosd2         2.2.14-2.1+b1

lcdproc-extra-drivers recommends no packages.

lcdproc-extra-drivers suggests no packages.

-- no debconf information
Reply | Threaded
Open this post in threaded view
|

Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

Dominique Dumont
On Saturday, 13 April 2019 19:33:07 CEST you wrote:
> A simple recompilation from source (no changes) eliminates this problem:

Not on my system.

I guess that we have different libraries installed. This can be checked with
build logs.

Could you attach the log of your build to this bug ?

All the best

Reply | Threaded
Open this post in threaded view
|

Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

Nuno Oliveira-4
* Dominique Dumont <[hidden email]> [2019-04-14 14:33]:

>On Saturday, 13 April 2019 19:33:07 CEST you wrote:
>> A simple recompilation from source (no changes) eliminates this problem:
>
>Not on my system.
>
>I guess that we have different libraries installed. This can be checked with
>build logs.
>
>Could you attach the log of your build to this bug ?
>
>All the best
Hi Dominique,

I've attached my manual build transcript. Please let me know if you need
more information.

Thanks for the help. Best regards,

Nuno.

buildlog.txt (259K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

Dominique Dumont
On Monday, 15 April 2019 16:44:29 CEST you wrote:
> I've attached my manual build transcript. Please let me know if you need
> more information.

You build log contains:

checking if libusb support has been enabled... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes

On my system, libusb is not installed, so the build log contains:

checking if libusb support has been enabled... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no

acinclude.m4 file requires libusb to be enabled to compile glcd2usb:

if test "$enable_libusb" = yes ; then
        GLCD_DRIVERS="$GLCD_DRIVERS glcd-glcd-glcd2usb.o glcd-glcd-picolcdgfx.o"
fi

Unfortunately, libusb library is deprecated in favor of libusb-1.0-0 (See  
#810428), so this bug cannot be fixed unless glcd2usb is ported upstream to  
libusb-1.0 library.

I suggest that you open a bug upstream [1] if you wish glcd2usb to be
supported again.

All the best

[1] https://github.com/lcdproc/lcdproc/issues

Reply | Threaded
Open this post in threaded view
|

Bug#927024: lcdproc-extra-drivers: Missing lcd2usb ConnectionType in hd44780 driver

Dominique Dumont
In reply to this post by Nuno Oliveira-4
On Mon, 15 Apr 2019 18:15:49 +0200 Dominique Dumont <[hidden email]> wrote:
> I suggest that you open a bug upstream [1] if you wish glcd2usb to be
> supported again.

I've linked this bug to an existing upstream bug.

On upstream side, nobody is working on porting old drivers to new
libusb. They will welcome patches though.

All the best