в X11 не работает клава и мышка
Добавлено: 2009-05-20 13:46:53
ядро 7.2, х из портов. В консоле клава и мыха работают, а во в х нет, конф не создавал, мыха Dell клава Genius, особых наворотов нет.
Чем глубже в песке твоя голова - тем беззащитнее жопа
https://forum.lissyara.su/
Код: Выделить всё
hald_enable="YES"
dbus_enable="YES"
Код: Выделить всё
Xorg -configure
Код: Выделить всё
Option "DontZap" "Off"
Option "AllowEmptyInput" "off"
Код: Выделить всё
Xorg -config xorg.conf.new -retro
Код: Выделить всё
cp xorg.conf.new /etc/X11/xorg.conf
Код: Выделить всё
% echo "exec startkde" > ~/.xinitrc
Код: Выделить всё
% echo "exec /usr/local/kde4/bin/startkde" > ~/.xinitrc
Код: Выделить всё
ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure
Код: Выделить всё
ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure
ну так не компилируй с поддержкой HAL. HAL нужен для продвинутого hotplugging, обычный работает и без него.Raven2000 писал(а):хал обязаловка разрабов для иксов
в твоем посте было так много слов...Raven2000 писал(а):а врубить AllowEmptyInput чисто для теста.
это как? почему у меня все нормально работает?Raven2000 писал(а):затем что без нее у меня вся система вставала раком и все...
Код: Выделить всё
$ sudo X :1 & sleep 3 && env DISPLAY=:1 xterm &
2. Кому поменьше слов тот выбирает маздайAs of version 7.3, Xorg can often work without any configuration file by simply typing at prompt:
% startx
Starting with version 7.4, Xorg can use HAL to autodetect keyboards and mice. The sysutils/hal and devel/dbus ports are installed as dependencies of x11/xorg, but must be enabled by the following entries in the /etc/rc.conf file:
hald_enable="YES"
dbus_enable="YES"
3. _http://www.freebsd.org/doc/en_US.ISO8859-1/boo ... onfig.htmlNote: This key combination was enabled by default up to Xorg version 7.3. To enable it in version 7.4 and later, add the following line to the ServerLayout or ServerFlags section of the configuration file:
Option "DontZap" "Off"
У тебя верно не Xorg 7.4?The next step is to test the existing configuration to verify that Xorg can work with the graphics hardware on the target system. In Xorg versions up to 7.3, type:
# Xorg -config xorg.conf.new
Starting with Xorg 7.4 and above, this test produces a black screen which may make it difficult to diagnose whether X11 is working properly. The older behavior is still available by using the retro option:
# Xorg -config xorg.conf.new -retro
ошибка в hanbook'е - "...installed as dependencies of x11/xorg-server..."Raven2000 писал(а):Starting with version 7.4, Xorg can use HAL to autodetect keyboards and mice. The sysutils/hal and devel/dbus ports are installed as dependencies of x11/xorg, but must be enabled by the following entries in the /etc/rc.conf file
у мя часть distfile'ов к портам от Xorg из git-master. Без понятия, какие версии Xorg 7.4 подразумевает. xorg-server 1.6.X или xorg-server 1.5.X? Я пробовал на 1.6.X и на 1.7 (git) - в обоих случая не виснет без `-retro'.Raven2000 писал(а):У тебя верно не Xorg 7.4?The next step is to test the existing configuration to verify that Xorg can work with the graphics hardware on the target system. In Xorg versions up to 7.3, type:
# Xorg -config xorg.conf.new
Starting with Xorg 7.4 and above, this test produces a black screen which may make it difficult to diagnose whether X11 is working properly. The older behavior is still available by using the retro option:
# Xorg -config xorg.conf.new -retro
а что не нравится? sudo - у мя бинарник без suid бита. Остальное - запуск сервер и пихание в него клиентского приложения. Можно и без приложения, но тогда тестирования ограничится драйвером видеокарты и разрешения для монитора. В любом случае в логах сервера будет все видно.Raven2000 писал(а):$ sudo X :1... зачем этот изврат?
очепятка, сервер находится в x11-servers/xorg-server. Вот бы найти еще хотя бы один порт из метапорта x11/xorg, кой зависит от HAL.Гость писал(а):x11/xorg-server
1.В любом случае в логах сервера будет все видно.Гость писал(а):В любом случае в логах сервера будет все видно.
ps, ах да, идиома "раком встало" в технических дискуссиях несет очень мало полезной нагрузки
Код: Выделить всё
vi /etc/rc.onf
hald_enable="YES"
dbus_enable="YES"
moused_enable="YES"
moused_type="auto"
Raven2000 писал(а):хал обязаловка разрабов для иксов
1. Что такое hotplugging?Гость писал(а):ну так не компилируй с поддержкой HAL. HAL нужен для продвинутого hotplugging, обычный работает и без него.
Код: Выделить всё
pkg_add windowmaker-0*