Re: [BRLTTY] please check needed version of hid stuff in configure scripts
[quoted lines by Halim Sahin on 2021/11/21 at 09:29 +0100] >can you please check which versions are needed for hid support and >disable drivers which need hid libraries? This should now be fixed. Please update and retry without using --without-hid-package. -- I believe the Bible to be the very Word of God: http://Mielke.cc/bible/ Dave Mielke| 2213 Fox Crescent | WebHome: http://Mielke.cc/ EMail: d...@mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke Phone: +1 613 726 0014 | Canada K2A 1H7 | ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
[quoted lines by Halim Sahin on 2021/11/23 at 08:09 +0100] >> Those three macros are definitely not being defined. Which package is >> your /usr/include/linux/hidraw.h in, and which version of that package >> do you have? > >linux-libc-dev: > Installed: 5.4.0-90.101 Very interesting. I thought that they'd been defined for a long time. It turns out that HIDIOCGRAWUNIQ wasn't introduced until (kernel version) 5.6, and that the other two weren't introduced until 5.11. Thanks for bringing this to my attention. -- I believe the Bible to be the very Word of God: http://Mielke.cc/bible/ Dave Mielke| 2213 Fox Crescent | WebHome: http://Mielke.cc/ EMail: d...@mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke Phone: +1 613 726 0014 | Canada K2A 1H7 | ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
Hi, On Mon, Nov 22, 2021 at 01:40:51PM -0500, Dave Mielke wrote: > [quoted lines by Halim Sahin on 2021/11/22 at 18:33 +0100] > > >see attachment. > > Those three macros are definitely not being defined. Which package is > your /usr/include/linux/hidraw.h in, and which version of that package > do you have? The file comes from linux-libc-dev. LANG="" apt-cache policy linux-libc-dev linux-libc-dev: Installed: 5.4.0-90.101 Candidate: 5.4.0-90.101 Version table: *** 5.4.0-90.101 500 500 http://ftp.thm.de/ubuntu/ubuntu focal-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 100 /var/lib/dpkg/status 5.4.0-26.30 500 500 http://ftp.thm.de/ubuntu/ubuntu focal/main amd64 Packages HTH. Halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
[quoted lines by Halim Sahin on 2021/11/22 at 18:33 +0100] >see attachment. Those three macros are definitely not being defined. Which package is your /usr/include/linux/hidraw.h in, and which version of that package do you have? -- I believe the Bible to be the very Word of God: http://Mielke.cc/bible/ Dave Mielke| 2213 Fox Crescent | WebHome: http://Mielke.cc/ EMail: d...@mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke Phone: +1 613 726 0014 | Canada K2A 1H7 | ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
Hi, see attachment. BR. Halim Sahin -- Dipl.-Inform. (FH) Halim Sahin Technische Hochschule Mittelhessen (THM) IT-Services Netzinfrastruktur (ITS-N) Wiesenstr. 14Raum A12.2.11C 35390 Giessen Tel. +49 641 309 1517 E-Mail.: halim.sa...@its.thm.de /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (c) 2007 Jiri Kosina */ /* * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _HIDRAW_H #define _HIDRAW_H #include #include struct hidraw_report_descriptor { __u32 size; __u8 value[HID_MAX_DESCRIPTOR_SIZE]; }; struct hidraw_devinfo { __u32 bustype; __s16 vendor; __s16 product; }; /* ioctl interface */ #define HIDIOCGRDESCSIZE _IOR('H', 0x01, int) #define HIDIOCGRDESC _IOR('H', 0x02, struct hidraw_report_descriptor) #define HIDIOCGRAWINFO _IOR('H', 0x03, struct hidraw_devinfo) #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) /* The first byte of SFEATURE and GFEATURE is the report number */ #define HIDIOCSFEATURE(len)_IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) #define HIDIOCGFEATURE(len)_IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) #define HIDRAW_FIRST_MINOR 0 #define HIDRAW_MAX_DEVICES 64 /* number of reports to buffer */ #define HIDRAW_BUFFER_SIZE 64 /* kernel-only API declarations */ #endif /* _HIDRAW_H */ ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
[quoted lines by Halim Sahin on 2021/11/22 at 14:52 +0100] >I am using ubuntu 20.04 lts Could you send me a copy of your /usr/include/linux/hidraw.h header? -- I believe the Bible to be the very Word of God: http://Mielke.cc/bible/ Dave Mielke| 2213 Fox Crescent | WebHome: http://Mielke.cc/ EMail: d...@mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke Phone: +1 613 726 0014 | Canada K2A 1H7 | ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
Hi Dave, On Sun, Nov 21, 2021 at 03:48:26PM -0500, Dave Mielke wrote: > [quoted lines by Halim Sahin on 2021/11/21 at 12:29 +0100] > > >well now I could build latest brltty from git with > > > >./configure --without-hid-package > > > >I think my hid packages are outdated and brltty didn't check the needed > >versions. > > There are no HID packages as such. It does include , > which you must have, so it makes no sense to me that those macros > wouldn't be defined. How old is your Linux instllation? I am using ubuntu 20.04 lts Br. halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
[quoted lines by Halim Sahin on 2021/11/21 at 12:29 +0100] >well now I could build latest brltty from git with > >./configure --without-hid-package > >I think my hid packages are outdated and brltty didn't check the needed >versions. There are no HID packages as such. It does include , which you must have, so it makes no sense to me that those macros wouldn't be defined. How old is your Linux instllation? -- I believe the Bible to be the very Word of God: http://Mielke.cc/bible/ Dave Mielke| 2213 Fox Crescent | WebHome: http://Mielke.cc/ EMail: d...@mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke Phone: +1 613 726 0014 | Canada K2A 1H7 | ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] please check needed version of hid stuff in configure scripts
Hi, well now I could build latest brltty from git with ./configure --without-hid-package I think my hid packages are outdated and brltty didn't check the needed versions. BR. halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
[BRLTTY] please check needed version of hid stuff in configure scripts
Hi, can you please check which versions are needed for hid support and disable drivers which need hid libraries? Currently I can not build brltty on ubuntu 20.04. I am getting: cd Programs && make all make[1]: Entering directory '/home/halim/brltty/Programs' ../getrevid -s -f revision_identifier.h -d unknown ../ gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./revision.c ./tbl2hex -- ../Tables/Text/en-nabcc.ttb >ttb.auto.h gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./ttb_translate.c ./tbl2hex -- ../Tables/Contraction/none.ctb >ctb.auto.h gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./ctb_translate.c ./tbl2hex -- ../Tables/Attributes/left_right.atb >atb.auto.h gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I.. -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./atb_translate.c gcc -Wl,-export-dynamic -o brltty brltty.o core.o program.o pgmpath_linux.o pid.o options.o params_linux.o messages.o log.o log_history.o addresses.o file.o device.o parse.o variables.o datafile.o unicode.o utf8.o timing.o async_handle.o async_data.o async_wait.o async_alarm.o async_task.o async_io.o async_event.o async_signal.o thread.o queue.o lock.o dynld_dlfcn.o ports_glibc.o system_linux.o hostcmd.o hostcmd_unix.o revision.o pgmprivs_linux.o report.o config.o rgx.o rgx_libpcre2-32.o service_libsystemd.o activity.o prefs.o pref_tables.o profile.o menu.o menu_prefs.o ses.o status.o update.o blink.o dataarea.o cmd.o cmd_brlapi.o cmd_queue.o cmd_utils.o cmd_clipboard.o cmd_custom.o cmd_input.o cmd_keycodes.o cmd_learn.o cmd_miscellaneous.o cmd_navigation.o cmd_override.o cmd_preferences.o cmd_speech.o cmd_toggle.o cmd_touch.o clipboard.o learn.o pipe.o ttb_translate.o ttb_compile.o ttb_native.o charset.o charset_iconv.o ctb_compile.o cldr.o ctb_translate.o ctb_native.o ctb_external. o ctb_louis.o atb_translate.o atb_compile.o ktb_translate.o ktb_compile.o ktb_list.o ktb_cmds.o ktb_keyboard.o kbd.o kbd_linux.o kbd_keycodes.o bell.o bell_linux.o leds.o leds_linux.o alert.o tune_build.o message.o tune.o notes.o notes_beep.o beep.o beep_linux.o notes_pcm.o pcm.o pcm_alsa.o notes_midi.o midi.o midi_alsa.o notes_fm.o fm_adlib.o hidkeys.o drivers.o driver.o scr.o scr_utils.o scr_base.o scr_main.o scr_real.o scr_gpm.o scr_driver.o routing.o scr_special.o scr_frozen.o scr_help.o scr_menu.o brl.o brl_utils.o brl_input.o brl_driver.o brl_base.o io_misc.o io_log.o serial.o serial_termios.o usb.o usb_hid.o usb_devices.o usb_serial.o usb_adapters.o usb_cdc_acm.o usb_belkin.o usb_ch341.o usb_cp2101.o usb_cp2110.o usb_ftdi.o usb_linux.o bluetooth.o bluetooth_names.o bluetooth_linux.o hid.o hid_items.o hid_braille.o hid_linux.o gio.o gio_serial.o gio_usb.o gio_bluetooth.o gio_hid.o gio_null.o mntpt.o mntpt_mntent.o mntfs_linux.o crc_generate.o ihex.o ezusb.o spk.o spk_thread. o spk_driver.o spk_base.o spk_input.o api_control.o brlapi_server.o brlapi_keyranges.o auth.o-lsystemd -lasound -lasound -ldbus-1 -ludev -llouis -lexpat -lpcre2-32 -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -licuuc -licudata -lbluetooth -lbluetooth -ldl -lcap -lgpm -lpthread /usr/bin/ld: hid_linux.o: in function `hidLinuxGetRawUnique': /home/halim/brltty/Programs/./hid_linux.c:231: undefined reference to `HIDIOCGRAWUNIQ' /usr/bin/ld: hid_linux.o: in function `hidLinuxSetReport': /home/halim/brltty/Programs/./hid_linux.c:130: undefined reference to `HIDIOCSOUTPUT' /usr/bin/ld: hid_linux.o: in function `hidLinuxGetReport': /home/halim/brltty/Programs/./hid_linux.c:119: undefined reference to `HIDIOCGINPUT' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:915: brltty] Error 1 make[1]: Leaving directory '/home/halim/brltty/Programs' make: *** [Makefile:49: all] Error 2 BR. Halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty