Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

LIRC "fun"

  • 03-02-2005 2:06pm
    #1
    Hosted Moderators Posts: 2,094 ✭✭✭


    Been trying to get this working for days to no avail. Hoping someone will have a clue what's wrong. Don't even know if it's related to LIRC drivers or what but I'm just confused and sick of it. (LIRC = Linux Infrared Remote Control - http://www.lirc.org)

    (I have IVTV working and can get both TV and S-Video working sucessfully (with audio also). This is just the last bit I need to "finish" the puzzle so to speak.)

    Long post (was an e-mail):

    I'm doing something wrong somewhere and I'm really not at all sure what.
    I've been tinkering with kernels (2.4.25 and 2.6.10) and getting
    nowhere. Everything below is from 2.4.25 (not stock). My remote is the
    grey and black one (in case you don't know that can be relevant as there's 3 colour variations for different model remotes) with the Hauppauge PVR-350.

    lsmod:
    Module Size Used by Not tainted
    lirc_i2c 4832 0 (autoclean) (unused)
    lirc_dev 8820 0 (autoclean) [lirc_i2c]
    msp3400 17888 0 (unused)
    tuner 10664 0 (unused)
    i2c-algo-bit 7592 0
    i2c-core 13604 0 [lirc_i2c msp3400 tuner i2c-algo-bit]

    I'm using the latest CVS snapshot (lircd 0.7.1pre1) though I had tried
    0.6.6 from apt and 0.7.0. With 0.7.0 I was getting errors with make
    install so I left it for something newer. No errors during make or make
    install with 0.7.1pre1.

    I start lircd with simply "lircd". /var/log/lircd shows:
    Feb 3 02:14:41 phoenix lircd 0.7.1pre1: lircd(hauppauge) ready

    Then I try irw or irrecord (as root). I get this from irw:

    Feb 3 02:14:44 phoenix lircd 0.7.1pre1: accepted new client on /dev/lircd
    Feb 3 02:14:44 phoenix lircd 0.7.1pre1: could not open /dev/lirc
    Feb 3 02:14:44 phoenix lircd 0.7.1pre1: default_init(): No such device
    Feb 3 02:14:44 phoenix lircd 0.7.1pre1: caught signal

    and this from irrecord:
    irrecord: could not open /dev/lirc
    irrecord: default_init(): No such device
    irrecord: could not init hardware (lircd running ? --> close it, check
    permissions)

    ps aux|grep lircd (run after irrecord erroring out) shows:
    root 5371 0.0 0.1 1544 536 ? Ss 02:14 0:00 lircd

    ls -al /dev/lirc*
    crw-r--r-- 1 root root 61, 0 2005-02-02 22:51 /dev/lirc
    srw-r--r-- 1 root root 0 2005-02-03 02:14 /dev/lircd
    prw-r--r-- 1 root root 0 2005-02-02 22:51 /dev/lircm

    Clearly I've left out some step somewhere. I've looked at
    lirc-modules-source but I don't know if a) I need it and b) what
    settings to give it. As it's the PVR-350 I don't use serial as it's
    connected directly to the card.

    I just can't see where I'm going wrong. I've been looking at websites
    all over the place saying use this lircd.conf and this lircdm.conf and a
    few other little things then make, make install and it works. Well it
    doesn't for me unfortunately.

    If you've read this far you must be a gluten for punishment. :) Thanks.



    lspci in case it's relevant:
    0000:00:08.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
    Subsystem: Hauppauge computer works Inc. WinTV PVR-350
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-Stepping- SERR- FastB2B-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-<TAbort- <MAbort- >SERR- <PERR-
    Latency: 32 (32000ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
    Capabilities: <available only to root>


Comments

  • Hosted Moderators Posts: 2,094 ✭✭✭halenger


    Well after much panic when TV card stopped working I went and edited kernel config slightly. Recompiled. Rebooted. Recompiled IVTV and the LIRC and it all worked.

    Carry on then. Nevermind me. :p


Advertisement