[mythtv-users] Joy and pain (Daryl McDonald)
Daryl McDonald
darylangela at gmail.com
Fri Feb 14 18:14:26 UTC 2014
On Fri, Feb 14, 2014 at 1:12 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
> Hoi Hika,
>
> Friday, February 14, 2014, 7:09:31 PM, you wrote:
>
>> Hoi Hika,
>
>> Friday, February 14, 2014, 7:00:39 PM, you wrote:
>
>>> Hoi Daryl,
>
>>> Friday, February 14, 2014, 6:47:54 PM, you wrote:
>
>>>> On Fri, Feb 14, 2014 at 12:35 PM, Bill Meek <keemllib at gmail.com> wrote:
>>>>> On 02/14/2014 11:22 AM, Hika van den Hoven wrote:
>>>>> ...
>>>>>>>
>>>>>>> sudo grep -iR "/dev/lirc" /etc
>>>>>>
>>>>>>
>>>>>>> The sudo eliminates all of the "Permission denied" errors.
>>>>>>
>>>>>>
>>>>>> Oh, I now see what you mean, but with just that command you don't get
>>>>>> the filename. Only the line containing the text.
>>>>>
>>>>>
>>>>> Maybe this is a *buntu/Gentoo thing. The above will print the filename
>>>>> and text in *buntu. The sudo eliminates 34 permission (unreadable)
>>>>> errors.
>>>>>
>>>>> --
>>>>> Bill
>>>>>
>>>>> _______________________________________________
>>>>> mythtv-users mailing list
>>>>> mythtv-users at mythtv.org
>>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>>> MythTV Forums: https://forum.mythtv.org
>
>>>> From /dev/lircd I find:
>
>>>> #This configuration has been automatically generated via
>>>> #the Ubuntu LIRC package maintainer scripts.
>>>> #
>>>> #It includes the default configuration for the remote and/or
>>>> #transmitter that you have selected during package installation.
>>>> #
>>>> #Feel free to add any custom remotes to the configuration
>>>> #via additional include directives or below the existing
>>>> #Ubuntu include directives from your selected remote and/or
>>>> #transmitter.
>
>>>> #Configuration for the Serial Port (UART) : Motorola Cable box transmitter:
>>>> include "/usr/share/lirc/extras/transmitters/motorola/dctxxxx.conf"
>
>>>> and from the included fileI see:
>
>
>>>> # this config file was automatically generated
>>>> # using lirc-0.6.6(serial) on Fri Mar 28 22:46:44 2003
>>>> #
>>>> # contributed by shane bradley
>>>> #
>>>> #
>>>> #
>>>> # brand: Motorola
>>>> # model no. of remote control: DCT2000
>>>> # devices being controlled by this remote:
>>>> #
>
>>>> begin remote
>>>> name DCT2000
>>>> bits 16
>>>> flags SPACE_ENC|CONST_LENGTH
>>>> eps 30
>>>> aeps 100
>
>>>> header 9036 4424
>>>> one 556 2185
>>>> zero 556 4424
>>>> ptrail 556
>>>> gap 100025
>>>> toggle_bit 0
>
>
>>>> begin codes
>>>> HELP 0x000000000000B3F2
>>>> POWER 0x000000000000AFF9
>>>> MUTE 0x0000000000000FF7
>>>> PAGE+ 0x000000000000A3F3
>>>> PAGE- 0x00000000000023FB
>>>> LOCK 0x00000000000097F6
>>>> EXIT 0x000000000000B7F4
>>>> AUP 0x000000000000D3F6
>>>> ADOWN 0x00000000000053FE
>>>> ALEFT 0x00000000000093F1
>>>> ARIGHT 0x00000000000013F9
>>>> OK 0x00000000000077F8
>>>> GUIDE 0x000000000000F3F4
>>>> MENU 0x00000000000067F9
>>>> VOL+ 0x0000000000004FF3
>>>> VOL- 0x0000000000008FFB
>>>> LAST 0x00000000000037FC
>>>> FAV 0x00000000000057FA
>>>> CH+ 0x0000000000002FF5
>>>> CH- 0x000000000000CFFD
>>>> A 0x00000000000017FE
>>>> B 0x0000000000001BF1
>>>> C 0x000000000000EBF9
>>>> 1 0x0000000000007FF0
>>>> 2 0x000000000000BFF8
>>>> 3 0x0000000000003FF4
>>>> 4 0x000000000000DFFC
>>>> 5 0x0000000000005FF2
>>>> 6 0x0000000000009FFA
>>>> 7 0x0000000000001FF6
>>>> 8 0x000000000000EFFE
>>>> 9 0x0000000000006FF1
>>>> 0 0x000000000000FFFF
>>>> BYPASS 0x000000000000D7F2
>>>> MUSIC 0x000000000000F7F0
>>>> STOP 0x00000000000063FD
>>>> PAUSE 0x00000000000007FF
>>>> PLAY 0x000000000000E3F5
>>>> REW 0x00000000000087F7
>>>> REC 0x00000000000073FC
>>>> FFWD 0x00000000000047FB
>>>> end codes
>
>>>> end remote
>
>>>> But I don't think any of this helps, does it?
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>> MythTV Forums: https://forum.mythtv.org
>
>
>>> I don't see anything usefull. Except it raises a question I don't
>>> immediately have the answer to. Does lirc create a socketfile for
>>> every instance or do they all share /var/run/lirc/lircd (where
>>> /dev/lircd points to). What files do you have in /var/run/lirc/ ?
>>> it should contain lircd.pid and lircd.
>
>>> Tot mails,
>>> Hika mailto:hikavdh at gmail.com
>
>>> "Zonder hoop kun je niet leven
>>> Zonder leven is er geen hoop
>>> Het eeuwige dilemma
>>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
>>> De lerende Mens
>>> --
>
>
>> From the lirc manual:
>> "For each device you want to use you have to start an individual lircd
>> instance. If you want to receive events from all receivers at one
>> socket interface you have to connect the different lircd interfaces
>> with an additional TCP/IP socket. This could look e.g. like this:
>>> lircd --driver=default --device=/dev/lirc1 --output=/var/run/lirc/lircd1 \
>> --pidfile=/var/run/lirc/lircd1.pid --listen
>>> lircd --driver=default --device=/dev/lirc --output=/var/run/lirc/lircd \
>> --pidfile=/var/run/lirc/lircd.pid --connect=localhost:8765"
>
>> I think it now only creates one for the wrong one.
>> I've to think further.
>
>> Tot mails,
>> Hika mailto:hikavdh at gmail.com
>
>> "Zonder hoop kun je niet leven
>> Zonder leven is er geen hoop
>> Het eeuwige dilemma
>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
>> De lerende Mens
>> --
>
> No, I think it worked all along. When you test and you're not using
> /dev/lir0 you have to add -d /dev/lirc1 or -d /dev/lircSerial.
>
>
> Tot mails,
> Hika mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
> --
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
To where do I add this /etc/lirc/hardware.conf?
More information about the mythtv-users
mailing list