Здравствуйте, уважаемые!Исходные данные:
Дистрибутив: Альт 5.0 Рабочая станция, гном. 2.6.30-std-def-alt14
Вайн:
[vladimir@localhost /]$ wine --version
Wine from Etersoft 1.1.29-eter1
1С: 1Cv82_i386_8.2.10.77
Один фиолетовый локальный ключ, H4 M1 ORGL8 . Покупался достаточно давно, то ли под 8.0, то ли под 8.1 .
1) Скачал с алладиновского сайта Sentinel_HASP_Linux_Run-time_Installer_script , поставил, проверил.
[root@localhost ~]# cd /other/Distr/1Cv82_W_i386_8.2.10.77/HASP/Sentinel_HASP_Linux_Run-time_Installer_script
[root@localhost Sentinel_HASP_Linux_Run-time_Installer_script]# ./dinst .
Copy AKSUSB daemon to /usr/sbin ...
Copy WINEHASP daemon to /usr/sbin ...
Copy HASPLMD daemon to /usr/sbin ...
Copy start-up script to /etc/init.d ...
Link HASP SRM runtime environment startup script to system startup folder
Starting HASP SRM runtime environment ...
Starting AKSUSB daemon: [ DONE ]
Starting WINEHASP daemon: [ DONE ]
Starting HASPLM daemon: [ DONE ]
Done
[root@localhost hasplm_linux_8.30]# service aksusbd status
AKSUSB daemon is running!
WINEHASP daemon is running!
HASPLM daemon is running!
Обнаружилась проблема: не видится /proc/bus/usb.
[root@localhost hasplm_linux_8.30]# mount -t usbfs none /proc/bus
[root@localhost hasplm_linux_8.30]# service aksusbd status
AKSUSB daemon is running!
WINEHASP daemon is running!
HASPLM daemon is running!
[root@localhost hasplm_linux_8.30]# mount -t usbfs none /proc/bus/usb
mount: mount point /proc/bus/usb does not exist
Удалил эти дрова.
[root@localhost Sentinel_HASP_Linux_Run-time_Installer_script]# ./dunst . Stopping HASP SRM RTE ...
Stopping HASPLM daemon: [ DONE ]
Stopping WINEHASP daemon: [ DONE ]
Stopping AKSUSB daemon: [ DONE ]
Removing files ...
Done
[root@localhost Sentinel_HASP_Linux_Run-time_Installer_script]#
2) Скачал с Этерсофта haspd-3.2 под свою платформу, 5.0
http://download.etersoft.ru/pub/Etersoft/HASP/last/ , поставил. Модуль для LPT не ставил, без надобности он.
Посмотрел, что нужные сервисы загрузились.
[root@localhost Ethersoft]# rpm -i haspd-3.2-alt4.M50.5.i586.rpm
Loading HASP LPT kernel module... aksparlnx is not found
you can try compile it with 'service haspd build' command. [FAILED]
Note: This kernel module needed ONLY for LPT HASP keys
Check kernel for CONFIG_USB_DEVICEFS... [PASSED]
Enable workaround for /proc/bus/usb (bind from /dev/bus/usb) [ DONE ]
Running aksusbd... [ DONE ]
Running winehasp... [ DONE ]
Running hasplm... [PASSED]
Running hasplmd... [ DONE ]
[root@localhost Ethersoft]# service haspd status
Hardware protection keys support bundle. Etersoft (c) 2008-2010
HASPD package 3.2 with /dev/bus/usb support
Aladdin HASP 4/HL/SRM driver status:
kernel module aksparlnx is not loaded (WARNING: HASP LPT keys support is disabled! Run service haspd build if needed.)
aksusbd is running
winehasp is running
hasplm is running
hasplmd is running
Daemon version: 1.14 (#7779) - key API (USB) version: 3.88 (parallel driver not available)
/proc/bus/usb workaround is enabled
Smartkey 3 USB/LPT driver status:
skeyd is stopped
SafeNet Sentinel status:
usbsentinel is stopped
SntlKeysSrvrlnx is stopped
Проверил netstat-ом, видит
[root@localhost Ethersoft]# netstat -ap | grep hasp
tcp 0 0 *:1947 *:* LISTEN 8336/hasplmd
udp 0 0 *:37969 *:* 8336/hasplmd
udp 0 0 *:475 *:* 7707/hasplm
udp 0 0 localhost:2790 *:* 8321/winehasp
udp 0 0 *:1947 *:* 8336/hasplmd
Примаунтил usbfs.
[root@localhost Ethersoft]# mount -t usbfs none /proc/bus/usb/
001/ 002/ 003/ 004/ 005/ devices
[root@localhost Ethersoft]# mount -t usbfs none /proc/bus/usb/
[root@localhost Ethersoft]#
Запускаю 1С. "Не обнаружен ключ защиты программы!"
Отредактировал реестр, как советуют здесь:
http://kb.etersoft.ru/Поддержка_ключей_HASP_в_Wine , т.е.
Добавил
[HKEY_LOCAL_MACHINE\Software\Wine\Wine\Config]
"compat"="yes"
Не помогает. По-прежнему не видим.
Ключ горит ровно, без морганий.
Подскажите, где и в чём искать решение проблемы. Весь мозг уже себе сломал..