Jump to content

bbenn

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by bbenn

  1. Hi

    Thanks for the reply.

     

    I don't have /usr/share/docs/python-lirc-VERSION/README.txt

     

    I have /usr/lib/python2.4/site-packages/pylircmodule.so

     

     

    "pyLirc is a module for Python that interacts with lirc to give Python programs the ability to receive commands from remote controls."

     

    Any help is much apreciated

     

    Ben

  2. Do you have a user named "ivman" at your system?

    And anyway, the real problem should be the buggy 0.5.4 HAL version, not ivman.

     

    Yes, i have user:ivman ,group:plugdev

     

    hal-0.5.4-2mdk(cooker) is the letest available for MDK.

     

    Could it even be the pmount?

     

     

    Ben

  3. Hi,

    2006 RC has ivman included but not working properly. I got the letest possible versions installed.

     

    ivman-0.6.4-2mdk

    hal-0.5.4-2mdk

    dbus-0.50-1mdk

    pmount-0.9.6-2mdk

     

    Below is the error I get:

    ==============================================================================

    Nov 4 06:10:57 localhost ivman: New Device: /org/freedesktop/Hal/devices/volume_label_BLACK_KNIGHT

    Nov 4 06:10:57 localhost ivman: /org/freedesktop/Hal/devices/volume_label_BLACK_KNIGHT is /dev/hdb

    Nov 4 06:10:57 localhost ivman: /dev/hdb appears to be mountable

    Nov 4 06:10:57 localhost ivman: Waiting for user mode Ivmans to mount...

    Nov 4 06:11:02 localhost ivman: Attempting to mount /dev/hdb

    Nov 4 06:11:02 localhost ivman: Refusing to mount /org/freedesktop/Hal/devices/volume_label_BLACK_KNIGHT because I am a system-wide instance of Ivman but pmount does not accept -u <umask>, so if I mounted, it would be accessible from the ivman account only. Upgrade pmount or start an instance of Ivman as the user you wish devices to be accessible from.

    ===========================================================================

     

    Ben

  4. Is any of 2006Rc users here got ivman+pmount working.

     

    When trying to install pmount-0.9.6-2mdk.i586 from the cooker

    I get pmount-0.9.6-2mdk.i586 (due to unsatisfied libhal-storage.so.1)¨

    I installed hal-0.4.8-14mdk & libhal0-devel-0.4.814mdk as well.

  5. Lircmd problem solved

    ==================

     

    Data you need from lircd.conf file

     

    1) Name of the Remote

     

    2) Name of the button to use

     

     

    lircmd.conf File format should be as below:

     

    MOVE_ N myremote up

     

    Example:

     

    MOVE_N Panasonic up

    MOVE_S Panasonic down

     

    ........

    Happy days Thanks aRTee I owe you a slab!

     

    Happy Ben

    P.S. sorry i can't PM your inbox is full

  6. Latest Update

    ====================

    I followed the advice and installed mm kernel and Lirc worked straight away. No changes were neccessary to anything else. Many thanks

     

    Now I am back to my original problem :

     

    How to get Lirc Mouse working

    (My aim is to get Lirc mouse pointer moving on the desktop just like using a normal mouse)

     

    My lircmd.conf file is incorrect. I hand typed this file. could you please help.

     

    /var/log

    ==========

    Nov 2 04:10:52 localhost lircmd: invalid line 13 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 14 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 16 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 17 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 19 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 20 in config file ignored

    Nov 2 04:10:52 localhost lircmd: invalid line 22 in config file ignored

     

     

    .........this continues

     

    My lircd.conf & lircmd.conf files are attached.

     

    Any suggessions much appreciated.

     

    Thanks :D

     

    Ben

    lircd_conf.txt

    lircmd_conf.txt

  7. Hi,

    Thanks for the suggessions. Here's what I did;

     

    Test1

    =====

    Checked serial dongle with Winlirc and made c lircd.conf file - dongle works fine

     

    Test2

    =====

    [root@localhost ~]# service lircd stop

    Stopping Linux Infrared Remote Control daemon: [ OK ]

    [root@localhost ~]# irrecord /dev/lirc/0

    irrecord: could not open file /dev/lirc/0

    irrecord: No such file or directory

    ********************************************************************************

    ******************************

    Starting Linux Infrared Remote Control daemon: [ OK ]

    [root@localhost dev]# irrecord /dev/lirc/0

     

    <*****Button Press Here no OUtput*****>

     

    [root@localhost dev]#

    [root@localhost dev]#

    [root@localhost dev]#

    [root@localhost dev]#

    [root@localhost dev]#

     

    ********************************************************************************

    ******************************

    [root@localhost ~]# ps -ef|grep lirc

    root 2867 1 0 02:06 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0

    root 2969 1 0 02:06 ? 00:00:00 lircmd

    root 3382 3307 0 02:14 pts/0 00:00:00 grep lirc

    [root@localhost ~]# service lircd stop

    Stopping Linux Infrared Remote Control daemon: [ OK ]

    [root@localhost ~]# ps -ef|grep lirc

    [root@localhost ~]# irrecord /home/test.conf

     

    irrecord - application for recording IR-codes for usage with lirc

     

    Copyright © 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

     

    irrecord: could not init hardware (lircd running ? --> close it, check permissions)

    [root@localhost ~]#

    ********************************************************************************

    ******************************

    [root@localhost ~]# service lircd start

    Starting Linux Infrared Remote Control daemon: [ OK ]

    [root@localhost ~]# ps -ef|grep lirc

    root 3463 1 0 02:16 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0

    [root@localhost ~]# irrecord /home/test.conf

     

    irrecord - application for recording IR-codes for usage with lirc

     

    Copyright © 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

     

    irrecord: could not init hardware (lircd running ? --> close it, check permissions)

     

    [root@localhost ~]# ls -la /etc/lircd.conf

    -rw-r--r-- 1 root root 1434 Oct 27 04:28 /etc/lircd.conf

    [root@localhost ~]# ls -la /etc/lircmd.conf

    -rw-r--r-- 1 root root 194 Nov 1 02:27 /etc/lircmd.conf

    [root@localhost ~]#

     

    ********************************************************************************

    *************************

     

    Step 3

    ========

    [root@localhost dev]# ps -ef|grep lirc

    root 3540 3346 0 02:21 ? 00:00:00 leafpad lircd

    root 3575 1 0 02:23 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0

    root 3604 3307 0 02:28 pts/0 00:00:00 grep lirc

    [root@localhost dev]# ls -l /dev/lirc

    total 0

    crw-rw---- 1 root root 61, 0 Nov 2 02:23 0

    [root@localhost dev]# cat /dev/lirc/0

    <<<*****Button Press Here No Output************>>>

     

    ********************************************************************************

    ***************************

    /var/log/messages

    =================

    Nov 2 02:19:27 localhost lircd: lircd shutdown succeeded

    Nov 2 02:23:46 localhost kernel: lirc_dev: IR Remote Control driver registered, at major 61

    Nov 2 02:23:47 localhost kernel: lirc_serial: auto-detected active high receiver

    Nov 2 02:23:47 localhost kernel: lirc_dev: lirc_register_plugin: sample_rate: 0

    Nov 2 02:23:47 localhost lircd-0.7.1[3575]: lircd(any) ready

    Nov 2 02:23:47 localhost lircd: lircd startup succeeded

    Nov 2 02:31:24 localhost lircd-0.7.1[3575]: caught signal

    Nov 2 02:31:24 localhost lircd: lircd shutdown succeeded

    /var/log/lircd

    ============

    Empty file.

     

    Do I have a permission file problem ? Pl check Step3

     

    Ben

  8. Hi kristi.  I installed v3 and have been doing constant cooker updates but remember that these are package updates and not v3 updates.

    I am waiting until my Australian ISP Telstra Bigpond has rc2 or later available on its free unmetered website ( doesn't count in the download limit) the same as v2 and v3 were. I downloaded updates late last night and found no change and am at this moment half way through the downloading of the latest updates.

    I was using 10.1, usb auto mounting and Audio Cd auto mounting worked fine. 2006RC doesn't .

    In 10.1

    =====

    /etc/dynamic/user-scripts/...... has some auto mounting scripts (Magic Dev???)

     

    In 2006Rc

    ========

    no scripts

     

    could this be the problem???

     

    Ben

  9. Thanks for the reply. Below are my printouts:

     

    [root@localhost dev]# ls -l /dev/lirc/0               
    crw-rw----  1 root root 61, 0 Oct 31 21:53 /dev/lirc/0
    [root@localhost dev]# 
    
    [root@localhost dev]# ls -l /dev|grep lirc               
    drwxr-xr-x  2 root root           60 Oct 31 21:53 lirc/
    srw-rw-rw-  1 root root            0 Oct 31 21:53 lircd=
    prw-r--r--  1 root root            0 Oct 31 21:53 lircm|

     

    lsmod

    ======

    Module                  Size  Used by
    lirc_serial            11712  1 
    lirc_dev               11812  1 lirc_serial
    md5                     3584  1 
    ipv6                  234016  8 
    raw                     6592  1 
    snd_seq_dummy           2532  0 
    snd_seq_oss            31136  0 
    snd_seq_midi_event      5696  1 snd_seq_oss
    snd_seq                46960  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device          6828  3 snd_seq_dummy,snd_seq_oss,snd_seq
    -------<cut>_-----------
    sis_agp                 6052  1 
    agpgart                29032  1 sis_agp
    bt878                   8184  0 
    bttv                  148944  1 bt878
    video_buf              17060  1 bttv
    firmware_class          7456  1 bttv
    i2c_algo_bit            8488  1 bttv
    v4l2_common             4640  1 bttv
    btcx_risc               3912  1 bttv
    tveeprom               11512  1 bttv
    i2c_core               17360  3 bttv,i2c_algo_bit,tveeprom
    videodev                7104  1 bttv
    tsdev                   5984  0 
    ohci_hcd               19140  0 
    usbcore               108348  2 ohci_hcd

     

    modprobconfig

    ============

    alias sound-slot-0 snd-intel8x0

    remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0

    install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

    install usb-interface /sbin/modprobe ohci-hcd; /bin/true

     

    #********LIRC*************

    #alias char-major-61-0 lirc_serial

    #options lirc_serial irq=4 io=0x3f8

     

     

    options bttv tuner=5 card=37

    ----------------------------------------------------------------------------------------

    I got lirc_serial in /lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/lirc_serial/

     

     

    I was going to use the pixelview (TV Card ) lirc but I can't see pixelview driver for it iin /lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/....

     

    lircd --driver=? lists pixelview as a valid driver

     

    When lircd/lircmd works properly can you move the mouse pointer with the remote similar to normal mouse?

     

    Thanks

    Ben

  10. The lircd.conf format has not changed betweent lirc6.xx and 7.xx.

    your info is incorrect.

     

    If you remember aRtee had the same problem in 10.1 and aRTee made lirc_serial_home module for 101.

     

    Once again Mandrake Team has left out lirc_serial_home module and pixelview module for Mandrake 2006 !

     

    It is clearly dissapointing given this is a large distribution and a lot of people will be affected by this.

     

    Ben

  11. A bit more from my system:

    [root@localhost dev]# ps -ef|grep lirc
    root      4989     1  0 22:20 ?        00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0
    root      5022     1  0 22:20 ?        00:00:00 lircmd
    root      5030  4307  0 22:20 pts/0    00:00:00 grep lirc
    [root@localhost dev]# irw

     

    IRW just waits here...................

  12. I am using lirc-0.7.1-5mdk,liblirc0-0.7.1-5mdk & lirc-remotes-0.6.6-4mdk packages.

    My /etc/sysconfig/lircg

    ==================

    DRIVER=DEFAULT

     

    # Hardware driver module to load

    HWMOD=lirc_serial

     

    # with devfs enabled

    DEVICE=/dev/lirc/0

    #DEVICE=/dev/lirc/serial

     

    # Serial port for the receiver (for serial driver)

    # COM1 (/dev/ttyS0)

    COM_PORT=/dev/ttyS0

    DRIVER_OPTS="irq=4 io=0x3f8"

     

    /etc/modprobe.conf

    ================

    alias char-major-61-0 lirc_serial

    options lirc_serial irq=4 io=0x3f8

     

    irw don't give anything unlike with Madrake10.1

     

    any help is much appreciated.

     

    Ben

  13. Hi ,

    I was trying to use aRTee's 10.1 lirc_serial_home.ko for my home made IR receiver in 2006RC2.

    when i do modprobe:

     

    [root@localhost ~]# modprobe lirc_serial_home

    FATAL: Error inserting lirc_serial_home (/lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/lirc_serial/lirc_serial_home.ko): Invalid module format

     

    Is this due to incorrect kernel version?

     

    This modeule worked fine in 101.1.

     

    Is this module availble anywhere for 2006 Rc2 please?

     

    Ben

     

    [moved from Hardware by spinynorman]

  14.  

    Hi Devries,

    Thanks for the hint.

    This means the mouse pointer should move. In my case curser moves when it's on a text file. My aim is to move the mouse pointer to open close windows, click a desktop icon etc;

     

    My XF86config has following:

    #**********added aRTee for LIRC mouse:***************

    Section "InputDevice"

    Identifier "LircMouse"

    Driver "mouse"

    Option "Device" "/dev/lircm"

    Option "Protocol" "IMPS/2"

    Option "Buttons" "6"

    Option "ZAxisMapping" "6 7"

    EndSection

    #**********************************************

    #This line added by aRTee:

    InputDevice "LircMouse" "CorePointer"

     

    My lircmd.conf

    ============

    # lircmd config file

    #

    PROTOCOL IMPS/2

    # ACCELERATOR start max multiplier

    ACCELERATOR 1 30 1

     

    #ACTIVATE * MENU

    #TOGGLE_ACTIVATE * RESERVED

    MOVE_N * up

    MOVE_E * right

    MOVE_S * down

    MOVE_W * left

     

    BUTTON1_CLICK * menu

    BUTTON2_CLICK * pwr

    *******************************************************************************

     

    My .lircrc is attached

     

     

    Any suggessions please.

     

     

     

     

     

     

    post-13028-1129947467_thumb.jpglircrc.txt

  15. Hi,

    Thanks to aRtee & Diver's guide I got my serial port home made IR working. Xmms,mplayer all working.

     

    Unlike in Grider(win) LIRC does not move the cursor (mouse pointer) from window to wondow. Is this the correct behavior?

     

    Do I need another prog to get this bit working?

     

    Any help is much appreciated.

     

    Ben

     

    [moved from Tips & Tricks by spinynorman - welcome aboard :)]

×
×
  • Create New...