* [Comm] Как настроить Lirc? @ 2009-12-25 6:13 Konstantin 2009-12-25 7:02 ` Anton Farygin 0 siblings, 1 reply; 18+ messages in thread From: Konstantin @ 2009-12-25 6:13 UTC (permalink / raw) To: ALT Linux Community general discussions uname -a Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 06:44:21 UTC 2009 i686 GNU/Linux Ик приемник висит на ttyS0. Нашел рекомендации: Подгрузить модуль: [root@host-55 ~]# modprobe lirc_serial смотрим подгрузился он или нет lsmod | grep lirc lirc_serial 11412 1 lirc_dev 10724 3 lirc_serial Проверяем. работает ли наш приемник или нет. Для этого набираем следующую команду: mode2 имеем: mode2: could not open /dev/lirc0 mode2: default_init(): Device or resource busy Похоже, что не может открыть lirc0, а устройство по умолчанию занято. Как определить, какое устройство подключено по умолчанию? С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 6:13 [Comm] Как настроить Lirc? Konstantin @ 2009-12-25 7:02 ` Anton Farygin 2009-12-25 7:06 ` Anton Farygin 2009-12-25 7:24 ` Konstantin 0 siblings, 2 replies; 18+ messages in thread From: Anton Farygin @ 2009-12-25 7:02 UTC (permalink / raw) To: community 25.12.2009 09:13, Konstantin пишет: > uname -a > Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 > 06:44:21 UTC 2009 i686 GNU/Linux > > Ик приемник висит на ttyS0. > Нашел рекомендации: > > Подгрузить модуль: > [root@host-55 ~]# modprobe lirc_serial > > смотрим подгрузился он или нет > lsmod | grep lirc > lirc_serial 11412 1 > lirc_dev 10724 3 lirc_serial > > Проверяем. работает ли наш приемник или нет. Для этого набираем > следующую команду: > mode2 > > имеем: > mode2: could not open /dev/lirc0 > mode2: default_init(): Device or resource busy > > Похоже, что не может открыть lirc0, а устройство по умолчанию занято. > Как определить, какое устройство подключено по умолчанию? а сервис lircd запущен ? Для mode2 нужно остановать lircd. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:02 ` Anton Farygin @ 2009-12-25 7:06 ` Anton Farygin 2009-12-25 7:24 ` Konstantin 1 sibling, 0 replies; 18+ messages in thread From: Anton Farygin @ 2009-12-25 7:06 UTC (permalink / raw) To: community 25.12.2009 10:02, Anton Farygin пишет: > 25.12.2009 09:13, Konstantin пишет: >> uname -a >> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >> 06:44:21 UTC 2009 i686 GNU/Linux <skip> >> >> имеем: >> mode2: could not open /dev/lirc0 >> mode2: default_init(): Device or resource busy >> >> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >> Как определить, какое устройство подключено по умолчанию? > > а сервис lircd запущен ? > > Для mode2 нужно остановать lircd. Остановить. service lircd stop ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:02 ` Anton Farygin 2009-12-25 7:06 ` Anton Farygin @ 2009-12-25 7:24 ` Konstantin 2009-12-25 7:27 ` Anton Farygin 1 sibling, 1 reply; 18+ messages in thread From: Konstantin @ 2009-12-25 7:24 UTC (permalink / raw) To: ALT Linux Community general discussions 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): > 25.12.2009 09:13, Konstantin пишет: >> uname -a >> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >> 06:44:21 UTC 2009 i686 GNU/Linux >> >> Ик приемник висит на ttyS0. >> Нашел рекомендации: >> >> Подгрузить модуль: >> [root@host-55 ~]# modprobe lirc_serial >> >> смотрим подгрузился он или нет >> lsmod | grep lirc >> lirc_serial 11412 1 >> lirc_dev 10724 3 lirc_serial >> >> Проверяем. работает ли наш приемник или нет. Для этого набираем >> следующую команду: >> mode2 >> >> имеем: >> mode2: could not open /dev/lirc0 >> mode2: default_init(): Device or resource busy >> >> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >> Как определить, какое устройство подключено по умолчанию? > > а сервис lircd запущен ? > > Для mode2 нужно остановать lircd. > Да, сервис был запущен. Остановил. mode2 запустил. Только он ничего не показывает. Возможно железо глючит. Не могу сообразить, как локализовать проблему. А если minicom_мом открыть порт - он что нибудь покажет? С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:24 ` Konstantin @ 2009-12-25 7:27 ` Anton Farygin 2009-12-25 7:48 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Anton Farygin @ 2009-12-25 7:27 UTC (permalink / raw) To: community 25.12.2009 10:24, Konstantin пишет: > 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >> 25.12.2009 09:13, Konstantin пишет: >>> uname -a >>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>> 06:44:21 UTC 2009 i686 GNU/Linux >>> >>> Ик приемник висит на ttyS0. >>> Нашел рекомендации: >>> >>> Подгрузить модуль: >>> [root@host-55 ~]# modprobe lirc_serial >>> >>> смотрим подгрузился он или нет >>> lsmod | grep lirc >>> lirc_serial 11412 1 >>> lirc_dev 10724 3 lirc_serial >>> >>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>> следующую команду: >>> mode2 >>> >>> имеем: >>> mode2: could not open /dev/lirc0 >>> mode2: default_init(): Device or resource busy >>> >>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>> Как определить, какое устройство подключено по умолчанию? >> >> а сервис lircd запущен ? >> >> Для mode2 нужно остановать lircd. >> > > Да, сервис был запущен. Остановил. > mode2 запустил. Только он ничего не показывает. Возможно железо глючит. > Не могу сообразить, как локализовать проблему. А если minicom_мом > открыть порт - он что нибудь покажет? Даже если просто cat /dev/ttyS0 - тоже что-то покажет. Для того, что бы не мучаться, не сочтите за рекламу: http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html Работает как часы, с любыми дисташками. И всё удовольствие меньше 400 рублей. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:27 ` Anton Farygin @ 2009-12-25 7:48 ` Konstantin 2009-12-25 7:55 ` Anton Farygin 0 siblings, 1 reply; 18+ messages in thread From: Konstantin @ 2009-12-25 7:48 UTC (permalink / raw) To: ALT Linux Community general discussions 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): > 25.12.2009 10:24, Konstantin пишет: >> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>> 25.12.2009 09:13, Konstantin пишет: >>>> uname -a >>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>> >>>> Ик приемник висит на ttyS0. >>>> Нашел рекомендации: >>>> >>>> Подгрузить модуль: >>>> [root@host-55 ~]# modprobe lirc_serial >>>> >>>> смотрим подгрузился он или нет >>>> lsmod | grep lirc >>>> lirc_serial 11412 1 >>>> lirc_dev 10724 3 lirc_serial >>>> >>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>> следующую команду: >>>> mode2 >>>> >>>> имеем: >>>> mode2: could not open /dev/lirc0 >>>> mode2: default_init(): Device or resource busy >>>> >>>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>>> Как определить, какое устройство подключено по умолчанию? >>> >>> а сервис lircd запущен ? >>> >>> Для mode2 нужно остановать lircd. >>> >> >> Да, сервис был запущен. Остановил. >> mode2 запустил. Только он ничего не показывает. Возможно железо глючит. >> Не могу сообразить, как локализовать проблему. А если minicom_мом >> открыть порт - он что нибудь покажет? > > Даже если просто cat /dev/ttyS0 - тоже что-то покажет. Попробую. > Для того, что бы не мучаться, не сочтите за рекламу: > http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html > > Работает как часы, с любыми дисташками. > > И всё удовольствие меньше 400 рублей. > Это всё равно придется настраивать. Только ещё будет и USB... С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:48 ` Konstantin @ 2009-12-25 7:55 ` Anton Farygin 2009-12-25 8:09 ` Konstantin 2010-01-07 13:34 ` Konstantin 0 siblings, 2 replies; 18+ messages in thread From: Anton Farygin @ 2009-12-25 7:55 UTC (permalink / raw) To: community 25.12.2009 10:48, Konstantin пишет: > 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >> 25.12.2009 10:24, Konstantin пишет: >>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>> 25.12.2009 09:13, Konstantin пишет: >>>>> uname -a >>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>> >>>>> Ик приемник висит на ttyS0. >>>>> Нашел рекомендации: >>>>> >>>>> Подгрузить модуль: >>>>> [root@host-55 ~]# modprobe lirc_serial >>>>> >>>>> смотрим подгрузился он или нет >>>>> lsmod | grep lirc >>>>> lirc_serial 11412 1 >>>>> lirc_dev 10724 3 lirc_serial >>>>> >>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>> следующую команду: >>>>> mode2 >>>>> >>>>> имеем: >>>>> mode2: could not open /dev/lirc0 >>>>> mode2: default_init(): Device or resource busy >>>>> >>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>>>> Как определить, какое устройство подключено по умолчанию? >>>> >>>> а сервис lircd запущен ? >>>> >>>> Для mode2 нужно остановать lircd. >>>> >>> >>> Да, сервис был запущен. Остановил. >>> mode2 запустил. Только он ничего не показывает. Возможно железо глючит. >>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>> открыть порт - он что нибудь покажет? >> >> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. > > Попробую. > >> Для того, что бы не мучаться, не сочтите за рекламу: >> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >> >> Работает как часы, с любыми дисташками. >> >> И всё удовольствие меньше 400 рублей. >> > Это всё равно придется настраивать. Только ещё будет и USB... Для него могу дать готовый конфиг. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:55 ` Anton Farygin @ 2009-12-25 8:09 ` Konstantin 2009-12-25 8:15 ` Anton Farygin 2010-01-07 13:34 ` Konstantin 1 sibling, 1 reply; 18+ messages in thread From: Konstantin @ 2009-12-25 8:09 UTC (permalink / raw) To: ALT Linux Community general discussions Спасибо. Пока его у меня нет - не надо. Если и куплю, то только после праздников. cat /dev/ttyS0 ничего не показывает. Возможно датчик не работает. Попробую собрать с lirc.org. С уважением, Константин. 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): > 25.12.2009 10:48, Konstantin пишет: >> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>> 25.12.2009 10:24, Konstantin пишет: >>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>> uname -a >>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>> >>>>>> Ик приемник висит на ttyS0. >>>>>> Нашел рекомендации: >>>>>> >>>>>> Подгрузить модуль: >>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>> >>>>>> смотрим подгрузился он или нет >>>>>> lsmod | grep lirc >>>>>> lirc_serial 11412 1 >>>>>> lirc_dev 10724 3 lirc_serial >>>>>> >>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>> следующую команду: >>>>>> mode2 >>>>>> >>>>>> имеем: >>>>>> mode2: could not open /dev/lirc0 >>>>>> mode2: default_init(): Device or resource busy >>>>>> >>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>>>>> Как определить, какое устройство подключено по умолчанию? >>>>> >>>>> а сервис lircd запущен ? >>>>> >>>>> Для mode2 нужно остановать lircd. >>>>> >>>> >>>> Да, сервис был запущен. Остановил. >>>> mode2 запустил. Только он ничего не показывает. Возможно железо глючит. >>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>> открыть порт - он что нибудь покажет? >>> >>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >> >> Попробую. >> >>> Для того, что бы не мучаться, не сочтите за рекламу: >>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>> >>> Работает как часы, с любыми дисташками. >>> >>> И всё удовольствие меньше 400 рублей. >>> >> Это всё равно придется настраивать. Только ещё будет и USB... > > Для него могу дать готовый конфиг. > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 8:09 ` Konstantin @ 2009-12-25 8:15 ` Anton Farygin 2009-12-25 8:19 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Anton Farygin @ 2009-12-25 8:15 UTC (permalink / raw) To: community 25.12.2009 11:09, Konstantin пишет: > Спасибо. > Пока его у меня нет - не надо. Если и куплю, то только после праздников. > > cat /dev/ttyS0 ничего не показывает. Возможно датчик не работает. > Попробую собрать с lirc.org. А в ALTLinux, по вашему, откуда собрано ? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 8:15 ` Anton Farygin @ 2009-12-25 8:19 ` Konstantin 0 siblings, 0 replies; 18+ messages in thread From: Konstantin @ 2009-12-25 8:19 UTC (permalink / raw) To: ALT Linux Community general discussions Прошу прощения, неправильно выразился. Буду собирать приемник по схеме с lirc.org. С уважением, Константин. 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): > 25.12.2009 11:09, Konstantin пишет: >> Спасибо. >> Пока его у меня нет - не надо. Если и куплю, то только после праздников. >> >> cat /dev/ttyS0 ничего не показывает. Возможно датчик не работает. >> Попробую собрать с lirc.org. > > А в ALTLinux, по вашему, откуда собрано ? > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2009-12-25 7:55 ` Anton Farygin 2009-12-25 8:09 ` Konstantin @ 2010-01-07 13:34 ` Konstantin 2010-01-12 13:39 ` Anton Farygin 1 sibling, 1 reply; 18+ messages in thread From: Konstantin @ 2010-01-07 13:34 UTC (permalink / raw) To: ALT Linux Community general discussions 25 декабря 2009 г. 10:55 пользователь Anton Farygin <rider@altlinux.com> написал: > 25.12.2009 10:48, Konstantin пишет: >> >> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>> >>> 25.12.2009 10:24, Konstantin пишет: >>>> >>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>> >>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>> >>>>>> uname -a >>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>> >>>>>> Ик приемник висит на ttyS0. >>>>>> Нашел рекомендации: >>>>>> >>>>>> Подгрузить модуль: >>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>> >>>>>> смотрим подгрузился он или нет >>>>>> lsmod | grep lirc >>>>>> lirc_serial 11412 1 >>>>>> lirc_dev 10724 3 lirc_serial >>>>>> >>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>> следующую команду: >>>>>> mode2 >>>>>> >>>>>> имеем: >>>>>> mode2: could not open /dev/lirc0 >>>>>> mode2: default_init(): Device or resource busy >>>>>> >>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>>>>> Как определить, какое устройство подключено по умолчанию? >>>>> >>>>> а сервис lircd запущен ? >>>>> >>>>> Для mode2 нужно остановать lircd. >>>>> >>>> >>>> Да, сервис был запущен. Остановил. >>>> mode2 запустил. Только он ничего не показывает. Возможно железо глючит. >>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>> открыть порт - он что нибудь покажет? >>> >>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >> >> Попробую. >> >>> Для того, что бы не мучаться, не сочтите за рекламу: >>> >>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>> >>> Работает как часы, с любыми дисташками. >>> >>> И всё удовольствие меньше 400 рублей. >>> >> Это всё равно придется настраивать. Только ещё будет и USB... > > Для него могу дать готовый конфиг. Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно как у Вас сконфигурирован /etc/sysconfig/lircd. С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-07 13:34 ` Konstantin @ 2010-01-12 13:39 ` Anton Farygin 2010-01-12 18:22 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Anton Farygin @ 2010-01-12 13:39 UTC (permalink / raw) To: community 07.01.2010 16:34, Konstantin пишет: > 25 декабря 2009 г. 10:55 пользователь Anton Farygin > <rider@altlinux.com> написал: >> 25.12.2009 10:48, Konstantin пишет: >>> >>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>> >>>> 25.12.2009 10:24, Konstantin пишет: >>>>> >>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>> >>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>> >>>>>>> uname -a >>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>> >>>>>>> Ик приемник висит на ttyS0. >>>>>>> Нашел рекомендации: >>>>>>> >>>>>>> Подгрузить модуль: >>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>> >>>>>>> смотрим подгрузился он или нет >>>>>>> lsmod | grep lirc >>>>>>> lirc_serial 11412 1 >>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>> >>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>> следующую команду: >>>>>>> mode2 >>>>>>> >>>>>>> имеем: >>>>>>> mode2: could not open /dev/lirc0 >>>>>>> mode2: default_init(): Device or resource busy >>>>>>> >>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию занято. >>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>> >>>>>> а сервис lircd запущен ? >>>>>> >>>>>> Для mode2 нужно остановать lircd. >>>>>> >>>>> >>>>> Да, сервис был запущен. Остановил. >>>>> mode2 запустил. Только он ничего не показывает. Возможно железо глючит. >>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>> открыть порт - он что нибудь покажет? >>>> >>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>> >>> Попробую. >>> >>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>> >>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>> >>>> Работает как часы, с любыми дисташками. >>>> >>>> И всё удовольствие меньше 400 рублей. >>>> >>> Это всё равно придется настраивать. Только ещё будет и USB... >> >> Для него могу дать готовый конфиг. > > Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно > как у Вас сконфигурирован /etc/sysconfig/lircd. в нём только одна строчка: OPT="-p 0666 -d /dev/lirc0" В /etc/lircd.conf прописан мой remote, а receiver у меня такой: Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-12 13:39 ` Anton Farygin @ 2010-01-12 18:22 ` Konstantin 2010-01-13 7:08 ` Anton Farygin 0 siblings, 1 reply; 18+ messages in thread From: Konstantin @ 2010-01-12 18:22 UTC (permalink / raw) To: ALT Linux Community general discussions 12 января 2010 г. 16:39 пользователь Anton Farygin <rider@altlinux.com> написал: > 07.01.2010 16:34, Konstantin пишет: >> >> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >> <rider@altlinux.com> написал: >>> >>> 25.12.2009 10:48, Konstantin пишет: >>>> >>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>> >>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>> >>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>> >>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>> >>>>>>>> uname -a >>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>> >>>>>>>> Ик приемник висит на ttyS0. >>>>>>>> Нашел рекомендации: >>>>>>>> >>>>>>>> Подгрузить модуль: >>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>> >>>>>>>> смотрим подгрузился он или нет >>>>>>>> lsmod | grep lirc >>>>>>>> lirc_serial 11412 1 >>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>> >>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>> следующую команду: >>>>>>>> mode2 >>>>>>>> >>>>>>>> имеем: >>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>> >>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>> занято. >>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>> >>>>>>> а сервис lircd запущен ? >>>>>>> >>>>>>> Для mode2 нужно остановать lircd. >>>>>>> >>>>>> >>>>>> Да, сервис был запущен. Остановил. >>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>> глючит. >>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>> открыть порт - он что нибудь покажет? >>>>> >>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>> >>>> Попробую. >>>> >>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>> >>>>> >>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>> >>>>> Работает как часы, с любыми дисташками. >>>>> >>>>> И всё удовольствие меньше 400 рублей. >>>>> >>>> Это всё равно придется настраивать. Только ещё будет и USB... >>> >>> Для него могу дать готовый конфиг. >> >> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >> как у Вас сконфигурирован /etc/sysconfig/lircd. > > в нём только одна строчка: > OPT="-p 0666 -d /dev/lirc0" > > В /etc/lircd.conf прописан мой remote, а receiver у меня такой: > Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver > Спасибо. Не помогло. Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. сайте есть информация о настройке но применительно к Ubuntu. Если запускаю lirc в терминале вот так lircd --driver=devinput -d name="*BeholdTV*" --nodaemon то у меня работает. Не могу сообразить, что и где в конфиге нужно записать. С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-12 18:22 ` Konstantin @ 2010-01-13 7:08 ` Anton Farygin 2010-01-13 9:09 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Anton Farygin @ 2010-01-13 7:08 UTC (permalink / raw) To: community 12.01.2010 21:22, Konstantin пишет: > 12 января 2010 г. 16:39 пользователь Anton Farygin<rider@altlinux.com> написал: >> 07.01.2010 16:34, Konstantin пишет: >>> >>> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >>> <rider@altlinux.com> написал: >>>> >>>> 25.12.2009 10:48, Konstantin пишет: >>>>> >>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>> >>>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>>> >>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>> >>>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>>> >>>>>>>>> uname -a >>>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>>> >>>>>>>>> Ик приемник висит на ttyS0. >>>>>>>>> Нашел рекомендации: >>>>>>>>> >>>>>>>>> Подгрузить модуль: >>>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>>> >>>>>>>>> смотрим подгрузился он или нет >>>>>>>>> lsmod | grep lirc >>>>>>>>> lirc_serial 11412 1 >>>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>>> >>>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>>> следующую команду: >>>>>>>>> mode2 >>>>>>>>> >>>>>>>>> имеем: >>>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>>> >>>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>>> занято. >>>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>>> >>>>>>>> а сервис lircd запущен ? >>>>>>>> >>>>>>>> Для mode2 нужно остановать lircd. >>>>>>>> >>>>>>> >>>>>>> Да, сервис был запущен. Остановил. >>>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>>> глючит. >>>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>>> открыть порт - он что нибудь покажет? >>>>>> >>>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>>> >>>>> Попробую. >>>>> >>>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>>> >>>>>> >>>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>>> >>>>>> Работает как часы, с любыми дисташками. >>>>>> >>>>>> И всё удовольствие меньше 400 рублей. >>>>>> >>>>> Это всё равно придется настраивать. Только ещё будет и USB... >>>> >>>> Для него могу дать готовый конфиг. >>> >>> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >>> как у Вас сконфигурирован /etc/sysconfig/lircd. >> >> в нём только одна строчка: >> OPT="-p 0666 -d /dev/lirc0" >> >> В /etc/lircd.conf прописан мой remote, а receiver у меня такой: >> Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver >> > Спасибо. > Не помогло. > Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. > сайте есть информация о настройке но применительно к Ubuntu. > > Если запускаю lirc в терминале вот так > lircd --driver=devinput -d name="*BeholdTV*" --nodaemon > то у меня работает. > Не могу сообразить, что и где в конфиге нужно записать. > Напишите это в OPT="" в /etc/sysconfig/lircd Только --nodaemon там писать не надо. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-13 7:08 ` Anton Farygin @ 2010-01-13 9:09 ` Konstantin 2010-01-13 14:35 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Konstantin @ 2010-01-13 9:09 UTC (permalink / raw) To: ALT Linux Community general discussions 13 января 2010 г. 10:08 пользователь Anton Farygin <rider@altlinux.com> написал: > 12.01.2010 21:22, Konstantin пишет: >> >> 12 января 2010 г. 16:39 пользователь Anton Farygin<rider@altlinux.com> >> написал: >>> >>> 07.01.2010 16:34, Konstantin пишет: >>>> >>>> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >>>> <rider@altlinux.com> написал: >>>>> >>>>> 25.12.2009 10:48, Konstantin пишет: >>>>>> >>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>> >>>>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>>>> >>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>> >>>>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>>>> >>>>>>>>>> uname -a >>>>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>>>> >>>>>>>>>> Ик приемник висит на ttyS0. >>>>>>>>>> Нашел рекомендации: >>>>>>>>>> >>>>>>>>>> Подгрузить модуль: >>>>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>>>> >>>>>>>>>> смотрим подгрузился он или нет >>>>>>>>>> lsmod | grep lirc >>>>>>>>>> lirc_serial 11412 1 >>>>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>>>> >>>>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>>>> следующую команду: >>>>>>>>>> mode2 >>>>>>>>>> >>>>>>>>>> имеем: >>>>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>>>> >>>>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>>>> занято. >>>>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>>>> >>>>>>>>> а сервис lircd запущен ? >>>>>>>>> >>>>>>>>> Для mode2 нужно остановать lircd. >>>>>>>>> >>>>>>>> >>>>>>>> Да, сервис был запущен. Остановил. >>>>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>>>> глючит. >>>>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>>>> открыть порт - он что нибудь покажет? >>>>>>> >>>>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>>>> >>>>>> Попробую. >>>>>> >>>>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>>>> >>>>>>> >>>>>>> >>>>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>>>> >>>>>>> Работает как часы, с любыми дисташками. >>>>>>> >>>>>>> И всё удовольствие меньше 400 рублей. >>>>>>> >>>>>> Это всё равно придется настраивать. Только ещё будет и USB... >>>>> >>>>> Для него могу дать готовый конфиг. >>>> >>>> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >>>> как у Вас сконфигурирован /etc/sysconfig/lircd. >>> >>> в нём только одна строчка: >>> OPT="-p 0666 -d /dev/lirc0" >>> >>> В /etc/lircd.conf прописан мой remote, а receiver у меня такой: >>> Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver >>> >> Спасибо. >> Не помогло. >> Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. >> сайте есть информация о настройке но применительно к Ubuntu. >> >> Если запускаю lirc в терминале вот так >> lircd --driver=devinput -d name="*BeholdTV*" --nodaemon >> то у меня работает. >> Не могу сообразить, что и где в конфиге нужно записать. >> > > Напишите это в OPT="" в /etc/sysconfig/lircd > > Только --nodaemon там писать не надо. Спасибо, дома попробую. С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-13 9:09 ` Konstantin @ 2010-01-13 14:35 ` Konstantin 2010-01-14 4:58 ` Anton Farygin 0 siblings, 1 reply; 18+ messages in thread From: Konstantin @ 2010-01-13 14:35 UTC (permalink / raw) To: ALT Linux Community general discussions 13 января 2010 г. 12:09 пользователь Konstantin <nemo2961@gmail.com> написал: > 13 января 2010 г. 10:08 пользователь Anton Farygin <rider@altlinux.com> написал: >> 12.01.2010 21:22, Konstantin пишет: >>> >>> 12 января 2010 г. 16:39 пользователь Anton Farygin<rider@altlinux.com> >>> написал: >>>> >>>> 07.01.2010 16:34, Konstantin пишет: >>>>> >>>>> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >>>>> <rider@altlinux.com> написал: >>>>>> >>>>>> 25.12.2009 10:48, Konstantin пишет: >>>>>>> >>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>> >>>>>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>>>>> >>>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>>> >>>>>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>>>>> >>>>>>>>>>> uname -a >>>>>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>>>>> >>>>>>>>>>> Ик приемник висит на ttyS0. >>>>>>>>>>> Нашел рекомендации: >>>>>>>>>>> >>>>>>>>>>> Подгрузить модуль: >>>>>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>>>>> >>>>>>>>>>> смотрим подгрузился он или нет >>>>>>>>>>> lsmod | grep lirc >>>>>>>>>>> lirc_serial 11412 1 >>>>>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>>>>> >>>>>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>>>>> следующую команду: >>>>>>>>>>> mode2 >>>>>>>>>>> >>>>>>>>>>> имеем: >>>>>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>>>>> >>>>>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>>>>> занято. >>>>>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>>>>> >>>>>>>>>> а сервис lircd запущен ? >>>>>>>>>> >>>>>>>>>> Для mode2 нужно остановать lircd. >>>>>>>>>> >>>>>>>>> >>>>>>>>> Да, сервис был запущен. Остановил. >>>>>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>>>>> глючит. >>>>>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>>>>> открыть порт - он что нибудь покажет? >>>>>>>> >>>>>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>>>>> >>>>>>> Попробую. >>>>>>> >>>>>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>>>>> >>>>>>>> Работает как часы, с любыми дисташками. >>>>>>>> >>>>>>>> И всё удовольствие меньше 400 рублей. >>>>>>>> >>>>>>> Это всё равно придется настраивать. Только ещё будет и USB... >>>>>> >>>>>> Для него могу дать готовый конфиг. >>>>> >>>>> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >>>>> как у Вас сконфигурирован /etc/sysconfig/lircd. >>>> >>>> в нём только одна строчка: >>>> OPT="-p 0666 -d /dev/lirc0" >>>> >>>> В /etc/lircd.conf прописан мой remote, а receiver у меня такой: >>>> Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver >>>> >>> Спасибо. >>> Не помогло. >>> Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. >>> сайте есть информация о настройке но применительно к Ubuntu. >>> >>> Если запускаю lirc в терминале вот так >>> lircd --driver=devinput -d name="*BeholdTV*" --nodaemon >>> то у меня работает. >>> Не могу сообразить, что и где в конфиге нужно записать. >>> >> >> Напишите это в OPT="" в /etc/sysconfig/lircd >> >> Только --nodaemon там писать не надо. > > Спасибо, дома попробую. > С уважением, Константин. Спасибо, получилось! А как мне при загрузке запустить irexec /home/konst/.lircrc? Я запускаю вручную из консоли. С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-13 14:35 ` Konstantin @ 2010-01-14 4:58 ` Anton Farygin 2010-01-14 12:28 ` Konstantin 0 siblings, 1 reply; 18+ messages in thread From: Anton Farygin @ 2010-01-14 4:58 UTC (permalink / raw) To: community 13.01.2010 17:35, Konstantin пишет: > 13 января 2010 г. 12:09 пользователь Konstantin<nemo2961@gmail.com> написал: >> 13 января 2010 г. 10:08 пользователь Anton Farygin<rider@altlinux.com> написал: >>> 12.01.2010 21:22, Konstantin пишет: >>>> >>>> 12 января 2010 г. 16:39 пользователь Anton Farygin<rider@altlinux.com> >>>> написал: >>>>> >>>>> 07.01.2010 16:34, Konstantin пишет: >>>>>> >>>>>> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >>>>>> <rider@altlinux.com> написал: >>>>>>> >>>>>>> 25.12.2009 10:48, Konstantin пишет: >>>>>>>> >>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>> >>>>>>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>>>>>> >>>>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>>>> >>>>>>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>>>>>> >>>>>>>>>>>> uname -a >>>>>>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>>>>>> >>>>>>>>>>>> Ик приемник висит на ttyS0. >>>>>>>>>>>> Нашел рекомендации: >>>>>>>>>>>> >>>>>>>>>>>> Подгрузить модуль: >>>>>>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>>>>>> >>>>>>>>>>>> смотрим подгрузился он или нет >>>>>>>>>>>> lsmod | grep lirc >>>>>>>>>>>> lirc_serial 11412 1 >>>>>>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>>>>>> >>>>>>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>>>>>> следующую команду: >>>>>>>>>>>> mode2 >>>>>>>>>>>> >>>>>>>>>>>> имеем: >>>>>>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>>>>>> >>>>>>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>>>>>> занято. >>>>>>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>>>>>> >>>>>>>>>>> а сервис lircd запущен ? >>>>>>>>>>> >>>>>>>>>>> Для mode2 нужно остановать lircd. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Да, сервис был запущен. Остановил. >>>>>>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>>>>>> глючит. >>>>>>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>>>>>> открыть порт - он что нибудь покажет? >>>>>>>>> >>>>>>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>>>>>> >>>>>>>> Попробую. >>>>>>>> >>>>>>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>>>>>> >>>>>>>>> Работает как часы, с любыми дисташками. >>>>>>>>> >>>>>>>>> И всё удовольствие меньше 400 рублей. >>>>>>>>> >>>>>>>> Это всё равно придется настраивать. Только ещё будет и USB... >>>>>>> >>>>>>> Для него могу дать готовый конфиг. >>>>>> >>>>>> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >>>>>> как у Вас сконфигурирован /etc/sysconfig/lircd. >>>>> >>>>> в нём только одна строчка: >>>>> OPT="-p 0666 -d /dev/lirc0" >>>>> >>>>> В /etc/lircd.conf прописан мой remote, а receiver у меня такой: >>>>> Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver >>>>> >>>> Спасибо. >>>> Не помогло. >>>> Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. >>>> сайте есть информация о настройке но применительно к Ubuntu. >>>> >>>> Если запускаю lirc в терминале вот так >>>> lircd --driver=devinput -d name="*BeholdTV*" --nodaemon >>>> то у меня работает. >>>> Не могу сообразить, что и где в конфиге нужно записать. >>>> >>> >>> Напишите это в OPT="" в /etc/sysconfig/lircd >>> >>> Только --nodaemon там писать не надо. >> >> Спасибо, дома попробую. >> С уважением, Константин. > > Спасибо, получилось! > > А как мне при загрузке запустить irexec /home/konst/.lircrc? > Я запускаю вручную из консоли. При запуске - никак. При входе пользователя konst в иксовую сессию: Создать в каталоге /home/konst/.xsession.d/ исполняемый (права 755) файл следующего содержимого: #!/bin/bash irexec -d Файл ~/.lircrc будет браться по умолчанию, его передавать не обязательно. Параметр -d нужен, что бы загнать irexec в фон. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] Как настроить Lirc? 2010-01-14 4:58 ` Anton Farygin @ 2010-01-14 12:28 ` Konstantin 0 siblings, 0 replies; 18+ messages in thread From: Konstantin @ 2010-01-14 12:28 UTC (permalink / raw) To: ALT Linux Community general discussions 14 января 2010 г. 7:58 пользователь Anton Farygin <rider@altlinux.com> написал: > 13.01.2010 17:35, Konstantin пишет: >> >> 13 января 2010 г. 12:09 пользователь Konstantin<nemo2961@gmail.com> >> написал: >>> >>> 13 января 2010 г. 10:08 пользователь Anton Farygin<rider@altlinux.com> >>> написал: >>>> >>>> 12.01.2010 21:22, Konstantin пишет: >>>>> >>>>> 12 января 2010 г. 16:39 пользователь Anton Farygin<rider@altlinux.com> >>>>> написал: >>>>>> >>>>>> 07.01.2010 16:34, Konstantin пишет: >>>>>>> >>>>>>> 25 декабря 2009 г. 10:55 пользователь Anton Farygin >>>>>>> <rider@altlinux.com> написал: >>>>>>>> >>>>>>>> 25.12.2009 10:48, Konstantin пишет: >>>>>>>>> >>>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>>> >>>>>>>>>> 25.12.2009 10:24, Konstantin пишет: >>>>>>>>>>> >>>>>>>>>>> 25.12.09, Anton Farygin<rider@altlinux.com> написал(а): >>>>>>>>>>>> >>>>>>>>>>>> 25.12.2009 09:13, Konstantin пишет: >>>>>>>>>>>>> >>>>>>>>>>>>> uname -a >>>>>>>>>>>>> Linux host-55.localdomain 2.6.30-std-def-alt14 #1 SMP Wed Oct 7 >>>>>>>>>>>>> 06:44:21 UTC 2009 i686 GNU/Linux >>>>>>>>>>>>> >>>>>>>>>>>>> Ик приемник висит на ttyS0. >>>>>>>>>>>>> Нашел рекомендации: >>>>>>>>>>>>> >>>>>>>>>>>>> Подгрузить модуль: >>>>>>>>>>>>> [root@host-55 ~]# modprobe lirc_serial >>>>>>>>>>>>> >>>>>>>>>>>>> смотрим подгрузился он или нет >>>>>>>>>>>>> lsmod | grep lirc >>>>>>>>>>>>> lirc_serial 11412 1 >>>>>>>>>>>>> lirc_dev 10724 3 lirc_serial >>>>>>>>>>>>> >>>>>>>>>>>>> Проверяем. работает ли наш приемник или нет. Для этого набираем >>>>>>>>>>>>> следующую команду: >>>>>>>>>>>>> mode2 >>>>>>>>>>>>> >>>>>>>>>>>>> имеем: >>>>>>>>>>>>> mode2: could not open /dev/lirc0 >>>>>>>>>>>>> mode2: default_init(): Device or resource busy >>>>>>>>>>>>> >>>>>>>>>>>>> Похоже, что не может открыть lirc0, а устройство по умолчанию >>>>>>>>>>>>> занято. >>>>>>>>>>>>> Как определить, какое устройство подключено по умолчанию? >>>>>>>>>>>> >>>>>>>>>>>> а сервис lircd запущен ? >>>>>>>>>>>> >>>>>>>>>>>> Для mode2 нужно остановать lircd. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Да, сервис был запущен. Остановил. >>>>>>>>>>> mode2 запустил. Только он ничего не показывает. Возможно железо >>>>>>>>>>> глючит. >>>>>>>>>>> Не могу сообразить, как локализовать проблему. А если minicom_мом >>>>>>>>>>> открыть порт - он что нибудь покажет? >>>>>>>>>> >>>>>>>>>> Даже если просто cat /dev/ttyS0 - тоже что-то покажет. >>>>>>>>> >>>>>>>>> Попробую. >>>>>>>>> >>>>>>>>>> Для того, что бы не мучаться, не сочтите за рекламу: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> http://www.dont.ru/Microsoft-Remote-Control-for-WinXP-MCE-A90-00018-P/n:-110165.id11932.html >>>>>>>>>> >>>>>>>>>> Работает как часы, с любыми дисташками. >>>>>>>>>> >>>>>>>>>> И всё удовольствие меньше 400 рублей. >>>>>>>>>> >>>>>>>>> Это всё равно придется настраивать. Только ещё будет и USB... >>>>>>>> >>>>>>>> Для него могу дать готовый конфиг. >>>>>>> >>>>>>> Если Вас не затруднит, вышлите свои конфиги. Вообще-то мне интересно >>>>>>> как у Вас сконфигурирован /etc/sysconfig/lircd. >>>>>> >>>>>> в нём только одна строчка: >>>>>> OPT="-p 0666 -d /dev/lirc0" >>>>>> >>>>>> В /etc/lircd.conf прописан мой remote, а receiver у меня такой: >>>>>> Bus 004 Device 002: ID 0471:0815 Philips eHome Infrared Receiver >>>>>> >>>>> Спасибо. >>>>> Не помогло. >>>>> Дома пытаюсь настроить управление TV тюнером. У меня Beholder. На оф. >>>>> сайте есть информация о настройке но применительно к Ubuntu. >>>>> >>>>> Если запускаю lirc в терминале вот так >>>>> lircd --driver=devinput -d name="*BeholdTV*" --nodaemon >>>>> то у меня работает. >>>>> Не могу сообразить, что и где в конфиге нужно записать. >>>>> >>>> >>>> Напишите это в OPT="" в /etc/sysconfig/lircd >>>> >>>> Только --nodaemon там писать не надо. >>> >>> Спасибо, дома попробую. >>> С уважением, Константин. >> >> Спасибо, получилось! >> >> А как мне при загрузке запустить irexec /home/konst/.lircrc? >> Я запускаю вручную из консоли. > > При запуске - никак. > > При входе пользователя konst в иксовую сессию: > > Создать в каталоге /home/konst/.xsession.d/ исполняемый (права 755) файл > следующего содержимого: > #!/bin/bash > irexec -d > > Файл ~/.lircrc будет браться по умолчанию, его передавать не обязательно. > > Параметр -d нужен, что бы загнать irexec в фон. > > > Спасибо, все получилось. С уважением, Константин. ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2010-01-14 12:28 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-12-25 6:13 [Comm] Как настроить Lirc? Konstantin 2009-12-25 7:02 ` Anton Farygin 2009-12-25 7:06 ` Anton Farygin 2009-12-25 7:24 ` Konstantin 2009-12-25 7:27 ` Anton Farygin 2009-12-25 7:48 ` Konstantin 2009-12-25 7:55 ` Anton Farygin 2009-12-25 8:09 ` Konstantin 2009-12-25 8:15 ` Anton Farygin 2009-12-25 8:19 ` Konstantin 2010-01-07 13:34 ` Konstantin 2010-01-12 13:39 ` Anton Farygin 2010-01-12 18:22 ` Konstantin 2010-01-13 7:08 ` Anton Farygin 2010-01-13 9:09 ` Konstantin 2010-01-13 14:35 ` Konstantin 2010-01-14 4:58 ` Anton Farygin 2010-01-14 12:28 ` Konstantin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git