Добрый вечер.
С недавних пор моя Н800 пылится на полке. Верой и правдой служила мне с года 2008.
Продавать за копейки как-то не очень хочется, хочется для чего-нибудь ее при ладить в хозяйстве.
Может для записи звука-видео, может для управления каким-либо оборудованием в квартире, сервер для чего либо и т.д. Давайте делится мыслями.
присоединяюсь к вопросу, мой экземпляр тоже без дела лежит
У меня была когда-то мысль сделать из неё настенный компьютер, непрерывно листающий прогноз погоды, сводки новостей и ещё что-нибудь в этом роде. Но эта идея как-то загнулась из-за отсутствия мотивации.
А ещё из неё очень легко можно сделать видеорегистратор или видеоняню:
руководство от murabel'а. Правда скрипты для автоматической записи там довольно примитивные, но их можно доработать. Ещё минус — камера разрешения QVGA. Но всё зависит от цели.
итерересное решение.
Вопрос, можно ли подключить таблетку к роутеру не по вайфаю, а по проводу? Просто на моем зюселе висит много устройст по воздуху, иногда, модем подвисает.
К роутеру — только через USB-Ethernet-переходник, и не через любой, а на правильном чипсете и наверняка с напильником.
К компьютеру по USB-net подключить гораздо проще.
Глянул — у неё сейчас 155 дней аптайм. Насколько я помню, тогда я что-то с ней экспериментировал, и пришлось перезагрузить. До этого тоже был аптайм полгода :)
У меня-то вайфай. Но я раньше постоянно цеплял её USB-net'ом к линуксу в офисе, пока там не было вайфая
Вчера проверил видеоеяню. все хорошо, только звука не хватает. я так понимаю видео со звуком получить нереально?
таблетку планирую спрятать в не заметное место, надо решение, что б не лазить к ней, а управлять удаленно. Решение с няней подходит, но нужен иногда и звук. Если видео и звук смотреть вместе нельзя, как сделать отдельно звуковое слушание. Может запустить скай и сделать как-нибудь авто поднятие?
Ребята есть пару вопросов.
Установил x11vnc.Все ок.
Как мне сделать, что б можно было заходить на таблетку не только по сети, но и через инет, когда меня нет дома?
И каким способом можно сделать, что б кода мне на скайп на таблетку звонят, автоматом снималась трубка?
По звук — можно попробовать поковырять скрипты этой видеоняни. Я когда-то смотрел их но уже ничего не помню. Теоретически, конечно, возможно.
Для доступа к таблетке извне нужно настроить проброс порта в роутере. Обычнов конфигурационных Страничках роутеров это называется NAT или Virtual Servers.
Спасибо.
А где располагаются эти скрипты?
ребята вопрос. как можно сделать, что б при звонке на таблетку она сама как бы поднимала трубку? в скайпе такое можно сделать? или гталк? или еще что?
ребята, как узнать какой порт использует сервер аппачи в радионяне, что б тоже его прокормить в роутере?
finberg:А где располагаются эти скрипты?
Попробуйте
dpkg -L gstmjpg
Надо сказать, что эта штуковина сохраняет видеопоток в формате MJPEG, который звука не предполагает. Но может быть можно как-то звук добавить. Но как -- это надо разбираться.
finberg:ребята вопрос. как можно сделать, что б при звонке на таблетку она сама как бы поднимала трубку?
У меня нет идей...
Вернее есть, но костыльная и требующая программирования. Дело в том, что отследить факт звонка наверняка можно через D-Bus. И поднять трубку наверняка можно через него же. Даже если нельзя, то можно сэмулировать нажатие на кнопку ответа. Но это надо программировать.
finberg:ребята, как узнать какой порт использует сервер аппачи в радионяне, что б тоже его прокормить в роутере?
Веб-интерфейс видеоняни висит на стандартном восьмидесятом порту
Еще вопросик. Я про бросил порт апачи, как мне сделать аунтефикацию? чтоб был пароль.
И еще. По курил форум, и не нашел ответа. Если соединять таблетку с компом по гталку, видео передается?
finberg:как мне сделать аунтефикацию? чтоб был пароль.
1. В файл /usr/htdocs/.htaccess записать следующее:
AuthType Basic
AuthName N8x0
AuthUserFile /usr/htdocs/.htpasswd
require valid-user
2. Из-под рута:
htpasswd -c /usr/htdocs/.htpasswd вашлогин
finberg:Если соединять таблетку с компом по гталку, видео передается?
Однозначного ответа нет. В зависимости от десктопного гтолк-клиента, а также от погоды, результат может меняться. Но то, что оно иногда работает — факт.
Круто. Откуда все это знаете?
Не получилось у меня соединиться голосом между таблеткой и андроидом через гталк. У кого нибудь получалось это?
И еще. про падают программы маэмовские. Нигде не могу найти гизмо.
по поводу пароля. сделал все как написал, пароль нигде не запрашивался при подключении к камере.....
Хмм... Вообще ни разу не было запроса пароля?
Может быть я ещё что-то в конфигах менял, но уже не помню...
И всеж пересперошу. Ребята, неужели нельзя как-то с эмулировать нажатие средней кнопки джойстика н800 при поступлении звонка, что б поднять трубку.
Или может есть какие кликеры под диабло?
Можно напрограммировать...
А по конкретнее. Скрипт или что?
на таклке один человек спрашивал про это, но никто не ответил. Просто сейчас я сначала соединяюсь с таблеткой с помощью vnc и потом с таблетки звоню себе, так устанавливаю связь.
хотелось бы одним кликом....
Нет, тут нужна программа на \"нормальном\" языке программирования. Нужно слушать D-Bus сигналы и отловить момент звонка, выждать маленькую паузу и послать X-серверу событие нажатия центральной кнопки.
Я бы мог этим заняться, но конкретно сейчас довольно занят...
Эх, если напишите, буду очень рад. Единственное чего мне не хватает.
Пните меня ближе через несколько дней, пожалуйста, чтобы я не забыл
спасибо! пну обязательно, т.к. очень нужна эта фенечка.
Mitrandir, добрый день, как у вас со временем?
Привет, пока не очень, я уехал из города до вторника. Постараюсь во вторник заняться.
Да-да, забыл совсем :) Постараюсь сегодня начать
Я дико извиняюсь, но пока никак не получается найти время :(
У меня тут полный аврал
как отключить красный светодиод
Это который горит когда активна камера?
Править /etc/mce.ini. Форматов я уже не помню, но если пришлёте мне mce.ini, попробую разобраться.
да, именно тот,я сделал все как в этой теме все работает.но для шпионства неплохо бы отрубить светодиод :)
Пришлите свой /etc/mce.ini
Или попробуйте сами в нём разобраться, там куча комментариев внутри
[spoiler]
# Configuration file for MCE
[Modules]
# Path to modules
#
# Do not modify unless you're sure that you know what you're doing!
ModulePath=/usr/lib/mce/modules
# Modules
#
# List of modules to load
# Note: the name should not include the \"lib\"-prefix
Modules=homekey;battery;filter-brightness-als;inactivity;camera;alarm
[HomeKey]
# Try to make this possible somehow
# [HomeKey] keycode
# HomeKeyCode=Key_F5
# Timeout before keypress is regarded as a long press
#
# Timeout in milliseconds, default 800
HomeKeyLongDelay=800
# Short [Home] behaviour
#
# Valid options:
# disabled - do nothing on short press
# shortsignal - send the short home D-Bus signal <default>
# longsignal - send the long home D-Bus signal
HomeKeyShortAction=shortsignal
# Long [Home] behaviour
#
# Valid options:
# disabled - do nothing on short press
# shortsignal - send the short home D-Bus signal
# longsignal - send the long home D-Bus signal <default>
HomeKeyLongAction=longsignal
[PowerKey]
# Timeout before keypress is regarded as a medium press
# This delay is used when powering up from charging
#
# Timeout in milliseconds, default 1000
PowerKeyMediumDelay=1000
# Timeout before keypress is regarded as a long press
#
# Timeout in milliseconds, default 1500
PowerKeyLongDelay=1500
# Timeout for double keypresses
#
# Timeout in milliseconds, default 1000
PowerKeyDoubleDelay=1000
# Short [power] behaviour
#
# WARNING:
# Setting short, long, and double press to disabled will make it
# near impossible to turn off your device without removing the battery!
#
# Valid options:
# disabled - do nothing on short press
# menu - show device menu <default>
# poweroff - shutdown device
# softpoweroff - enter soft poweroff mode
PowerKeyShortAction=menu
# Long [power] behaviour
#
# Valid options:
# disabled - do nothing on long press
# menu - show the device menu
# poweroff - shutdown device <default>
# softpoweroff - enter soft poweroff mode
PowerKeyLongAction=poweroff
# Double press [power] behaviour
#
# Valid options:
# disabled - do nothing on double press <default>
# menu - show the device menu
# poweroff - shutdown device
# softpoweroff - enter soft poweroff mode
PowerKeyDoubleAction=disabled
[SoftPowerOff]
# Connectivity policy with charger connected
#
# Valid options:
# forceoffline - always go to offline
# softoffline - offline only if there are no open connections
# retain - do not change the network status <default>
ConnectivityPolicyCharger=retain
# Connectivity policy when running on battery
#
# Valid options:
# forceoffline - always go to offline <default>
# softoffline - offline only if there are no open connections
# retain - do not change the network status
ConnectivityPolicyBattery=forceoffline
# Connectivity policy when powering on from soft poweroff
# Note that this policy only affects the connectivity state
#
# Valid options:
# offline - stay offline <default>
# restore - restore state from before soft poweroff
ConnectivityPolicyPowerOn=offline
[DevLock]
# Note that the delays loop:
#
# DevLockDelay0 -> DevLockDelay1 -> DevLockDelay2 -> DevLockDelay3 ->
# DevLockDelay0 -> ...
# Delay to use before the user can input the device lock code
#
# Timeout in seconds, default 0 (no delay)
DevLockDelay0=0
# Delay to use 1st time user inputs an incorrect code
#
# Timeout in seconds, default 1
DevLockDelay1=1
# Delay to use 1st time user inputs an incorrect code
#
# Timeout in seconds, default 1
DevLockDelay2=1
# Delay to use 1st time user inputs an incorrect code
#
# Timeout in seconds, default 5
DevLockDelay3=5
# Time before the device shuts down automatically from
# the shutdown query (shown when cancel is pressed in device lock)
#
# Timeout in milliseconds, default 30000
DevLockShutdownTimeout=30000
[TKLock]
# Blank immediately instead of dim before blank when tklock is enabled
#
# 1 to blank immediately, 0 to dim before blanking
BlankImmediately=0
# Dim immediately instead of having a timeout before dimming
# when tklock is enabled
#
# 1 to dim immediately, 0 to wait for timeout
DimImmediately=0
# Timeout before dimming
#
# Timeout in milliseconds, default 3000
DimDelay=3000
# Disable touchscreen immediately instead
# of when the display is blanked
#
# 1 to disable immediately, 0 to wait until display is blanked
DisableTSImmediately=1
# Disable keypad immediately instead
# of when the display is blanked
#
# 1 to disable immediately, 0 to wait until display is blanked
DisableKPImmediately=0
# Unlock the tklock if the camera is popped out
#
# 1 to enable, 0 to disable
CameraPopoutUnlock=1
[KeyPad]
# Timeout before disabling keyboard backlight when unused
#
# Timeout in seconds, default 10
BacklightTimeout=10
# Fade time for keyboard backlight
#
# Timeout in milliseconds, default 100
BacklightFadeTime=100
[LED]
# List of patterns for the LED functionality
#
# A list of all pattern names that should be configured
LEDPatterns=PatternError;PatternDeviceOn;PatternPowerOn;PatternPowerOff;PatternCommunicationCall;PatternCommunicationChat;PatternCommunicationEmail;PatternCommonNotification;PatternWebcamActive;PatternBatteryCharging;PatternBatteryFull;PatternPsychedelia;PatternDeviceSoftOff
[LEDPatternMonoRX34]
# Patterns used if the device has a single-colour LED
# Please prefix pattern names with Pattern to avoid name space clashes
#
# Note: For power management purposes, remember to keep try to keep the
# onPeriod relatively short (not shorter than 50ms though),
# the offPeriod long; if this is not possible, make sure to have
# a timeout for the pattern so that it goes off after 15-30 seconds
#
# Priority (0 - highest, 255 - lowest)
# ScreenOn - 0 only show pattern when the display is off
# 1 show pattern even when the display is on
# 2 only show pattern when the display is off, including acting dead
# 3 show pattern even when the display is on, including acting dead
# 4 only show pattern if the display is off, or if in acting dead
# Timeout in seconds before pattern is disabled, 0 for infinite
# OnPeriod time in milliseconds
# OffPeriod time in milliseconds
# (0 for continuous light; ONLY when the charger is connected!)
# Intensity in steps from 0 (off) to 15 (full intensity)
PatternError=0;1;0;250;500;15
PatternDeviceOn=254;0;0;75;5000;10
PatternDeviceSoftOff=253;0;0;100;10000;5
PatternPowerOn=10;3;0;2000;1000;15
PatternPowerOff=9;3;0;2000;1000;15
PatternCommunicationCall=30;1;0;250;2000;15
PatternCommunicationChat=30;1;0;250;2000;15
PatternCommunicationEmail=30;1;0;250;2000;15
PatternCommonNotification=30;1;0;250;2000;15
PatternWebcamActive=255;0;0;0;0;0
PatternBatteryCharging=50;4;0;500;7500;10
PatternBatteryFull=40;4;0;1500;0;10
# This example pattern has a priority of 42 (all patterns with a *lower*
# priority value will have precedence), an on-period of 0.5 seconds,
# and an off-period of 1.5 seconds. The pattern will be active for
# 30 seconds, then stop. The brightness level will be 10 (with 15 being
# the maximum, this would amount to 66%.
# This pattern will be visible even when the display is on.
PatternExample=42;1;30;500;1500;10
[LEDPatternNJoyRX44]
# Patterns used if the device has an RGB LED connected to an NJoy controller
# Please prefix pattern names with Pattern to avoid name space clashes
#
# Priority (0 - highest, 255 - lowest)
# ScreenOn - 0 only show pattern when the display is off
# 1 show pattern even when the display is on
# 2 only show pattern when the display is off, including acting dead
# 3 show pattern even when the display is on, including acting dead
# 4 only show pattern if the display is off, or if in acting dead
# Timeout in seconds before pattern is disabled, 0 for infinite
# R-channel pattern in NJoy format (16 commands at most)
# G-channel pattern in NJoy format (16 commands at most)
# B-channel pattern in NJoy format (16 commands at most)
#
# 0000 -- Jump to the start of the pattern for the channel
# 40xx -- Set channel brightness
# xxyy -- Increment/decrement
# xx determines the speed;
# 01-3f -- short step time (granularity 0.49ms)
# 41-7f -- long step time (granularity 15.6ms)
# yy determines the increment/decrement steps
# 00-7f -- increment steps 00 = 0 steps, 7f = 127 steps
# 80-ff -- decrement steps 80 = 0 steps, ff = 127 steps
#
# Use 0 steps to create pauses
# Two consecutive increment/decrement sequences are needed
# to cover the entire range from 0-255
# c000 -- End pattern execution
# e002 -- Send red trigger
# e004 -- Send green trigger
# e008 -- Send blue trigger
# e080 -- Wait for red trigger
# e100 -- Wait for green trigger
# e200 -- Wait for blue trigger
PatternError=0;1;0;40002000200040ff200020000000;0000;0000
PatternDeviceOn=254;0;0;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000;4000205f20df7f007f007f007f000000
PatternDeviceSoftOff=253;0;0;4000203f20bf7f007f007f007f007f000000;4000203f20bf7f007f007f007f007f000000;0000
PatternPowerOn=10;3;0;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000;4000207f207f01ff01ffc000
PatternPowerOff=9;3;0;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000;4000017f017f36ff36ff7f00c000
PatternCommunicationCall=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationChat=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationEmail=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommonNotification=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternWebcamActive=20;1;0;4000027f027fc000;0000;0000
PatternBatteryCharging=50;4;0;0000;4000257f06ff7f0041000000;0000
PatternBatteryFull=40;4;0;0000;407f0000;0000
PatternPsychedelia=250;1;0;4000167f167f17ff17ff0000;40001300197f197f15ff15ff0000;4000237f237f130022ff22ff13000000
# This example pattern has a priority of 42 (all patterns with a *lower*
# priority value will have precedence), and will flash in yellow
# This pattern will be visible even when the display is on.
PatternExample=42;1;30;4000167f167f17ff17ff0000;4000167f167f17ff17ff0000;0000
[LEDPatternNJoyRX48]
# Patterns used if the device has an RGB LED connected to an NJoy controller
# Please prefix pattern names with Pattern to avoid name space clashes
#
# Priority (0 - highest, 255 - lowest)
# ScreenOn - 0 only show pattern when the display is off
# 1 show pattern even when the display is on
# 2 only show pattern when the display is off, including acting dead
# 3 show pattern even when the display is on, including acting dead
# 4 only show pattern if the display is off, or if in acting dead
# Timeout in seconds before pattern is disabled, 0 for infinite
# R-channel pattern in NJoy format (16 commands at most)
# G-channel pattern in NJoy format (16 commands at most)
# B-channel pattern in NJoy format (16 commands at most)
#
# 0000 -- Jump to the start of the pattern for the channel
# 40xx -- Set channel brightness
# xxyy -- Increment/decrement
# xx determines the speed;
# 01-3f -- short step time (granularity 0.49ms)
# 41-7f -- long step time (granularity 15.6ms)
# yy determines the increment/decrement steps
# 00-7f -- increment steps 00 = 0 steps, 7f = 127 steps
# 80-ff -- decrement steps 80 = 0 steps, ff = 127 steps
#
# Use 0 steps to create pauses
# Two consecutive increment/decrement sequences are needed
# to cover the entire range from 0-255
# c000 -- End pattern execution
# e002 -- Send red trigger
# e004 -- Send green trigger
# e008 -- Send blue trigger
# e080 -- Wait for red trigger
# e100 -- Wait for green trigger
# e200 -- Wait for blue trigger
PatternError=0;1;0;40002000200040ff200020000000;0000;0000
PatternDeviceOn=254;0;0;e10040101d701d70e0041d001df01df0e00440007f007f007f007f000000;e00240024d0de08016004d8de08040007f007f007f007f000000;0000
PatternDeviceSoftOff=253;0;0;4000204f20cf7f007f007f007f007f000000;4000204f20cf7f007f007f007f007f000000;0000
PatternPowerOn=10;3;0;40101d701d700106e00401ff01ffc000;40024d0ee08001ff01ffc000;0000
PatternPowerOff=9;3;0;40f07f007f007f007f007f001d001df01df0e0044000c000;40107f007f007f007f007f0016004d004d8ee0804000c000;0000
PatternCommunicationCall=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationChat=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommunicationEmail=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternCommonNotification=30;1;0;0000;0000;40007f00017f017f050001ff01ff0000
PatternWebcamActive=20;1;0;4000027f027fc000;0000;0000
PatternBatteryCharging=50;4;0;0000;4000257f06ff7f0041000000;0000
PatternBatteryFull=40;4;0;0000;407f0000;0000
PatternPsychedelia=250;1;0;4000167f167f17ff17ff0000;40001300197f197f15ff15ff0000;4000237f237f130022ff22ff13000000
# This example pattern has a priority of 42 (all patterns with a *lower*
# priority value will have precedence), and will flash in yellow
# This pattern will be visible even when the display is on.
PatternExample=42;1;30;4000167f167f17ff17ff0000;4000167f167f17ff17ff0000;0000
[/spoiler]
Попробуйте заменить так:
PatternWebcamActive=20;1;0;0000
Если у вас N810, то в секции [LEDPatternNJoyRX44], если N810WiMax, то в секции [LEDPatternNJoyRX48]. Для гарантии можно в обеих.
пытаюсь измененный файл скопировать обратно в директорию но мне не дает пишет доступ запрещен
потому что из-под рута надо
а я через файловый менеджер хотел, через терминал незнаю как это сделать
Спасибо большое все получилось :) :) :)