vn-kozlov
Пользователи-
Posts
3 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
vn-kozlov's Achievements
Новичок (1/5)
0
Reputation
-
vn-kozlov started following uport 1110 линукс драйвер and Обновление драйвера Uport mxu11x0 под Linux
-
Здравствуйте! Не собирается и, соответственно, не устанавливается драйвер mxu11x0 ver. 6.0 (самый последний на официальном сайте на момент написания сообщения) под Ubuntu 22.04.3 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64 x86_64 GNU/Linux. mxu11x0/driver# cat build.log warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:355:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 355 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:355:35: note: (near initialization for ‘mxu1110_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:387:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 387 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:387:35: note: (near initialization for ‘mxu1130_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:419:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 419 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:419:35: note: (near initialization for ‘mxu1150_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:451:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 451 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:451:35: note: (near initialization for ‘mxu1151_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:483:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 483 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:483:35: note: (near initialization for ‘mxu1131_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:516:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 516 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:516:35: note: (near initialization for ‘mxu3001_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:549:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 549 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:549:35: note: (near initialization for ‘mxu7001_1port_device.break_ctl’) cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:251: /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.o] Error 1 make[2]: *** [/usr/src/linux-headers-6.5.0-17-generic/Makefile:2039: /home/vn-kozlov/Soft/DRV/mxu11x0/driver] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 Установку запускаю из каталога, как видно в листинге, mxu11x0/driver/ командами: make clean; make install. Как часто выходят обновления драйвера? Очень не хочется ради только этого драйвера переустанавливать ОС на предыдущие версии. Да ещё нужно выяснять, на какой заработает, что не понятно, как сделать. В описании сказано, что для Linux 6.x, а по факту получается, что х < ? скольки-то тут.
-
uport 1110 линукс драйвер
vn-kozlov replied to a topic in Мультипортовые платы и модули RS-232/422/485
Здравствуйте! Не собирается и, соответственно, не устанавливается драйвер mxu11x0 ver. 6.0 (самый последний на официальном сайте на момент написания сообщения) под Ubuntu 22.04.3 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64 x86_64 GNU/Linux. mxu11x0/driver# cat build.log warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:355:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 355 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:355:35: note: (near initialization for ‘mxu1110_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:387:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 387 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:387:35: note: (near initialization for ‘mxu1130_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:419:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 419 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:419:35: note: (near initialization for ‘mxu1150_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:451:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 451 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:451:35: note: (near initialization for ‘mxu1151_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:483:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 483 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:483:35: note: (near initialization for ‘mxu1131_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:516:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 516 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:516:35: note: (near initialization for ‘mxu3001_1port_device.break_ctl’) /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:549:35: error: initialization of ‘int (*)(struct tty_struct *, int)’ from incompatible pointer type ‘void (*)(struct tty_struct *, int)’ [-Werror=incompatible-pointer-types] 549 | .break_ctl = mxu1_break, | ^~~~~~~~~~ /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.c:549:35: note: (near initialization for ‘mxu7001_1port_device.break_ctl’) cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:251: /home/vn-kozlov/Soft/DRV/mxu11x0/driver/mxu11x0.o] Error 1 make[2]: *** [/usr/src/linux-headers-6.5.0-17-generic/Makefile:2039: /home/vn-kozlov/Soft/DRV/mxu11x0/driver] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 Установку запускаю из каталога, как видно в листинге, mxu11x0/driver/ командами: make clean; make install. Судя по истории этой ветки, в такой ситуации выпускали новый драйвер. Можете с этим помочь?