LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 837|回复: 3

lirc

[复制链接]
发表于 2005-10-16 02:29:33 | 显示全部楼层 |阅读模式
I need help! why don't make install lirc. How to do?


livecd ~ # LIRC_OPTS="--with-driver=serial" emerge lirc

-----------------------SKIP---------------------------------------------------------------------------
>>> /usr/share/man/man8/lircd.8.gz
>>> /usr/share/man/man8/lircmd.8.gz
--- /usr/include/
>>> /usr/include/lirc/
>>> /usr/include/lirc/lirc_client.h
>>> /usr/lib/liblirc_client.so -> liblirc_client.so.0.0.0
>>> /usr/lib/liblirc_client.so.0 -> liblirc_client.so.0.0.0
*
* The lirc Linux Infrared Remote Control Package has been
* merged, please read the documentation, and if necessary
* add what is needed to /etc/modules.autoload or
* /etc/modules.d.  If you need special compile options
* then read the comments at the begin of this
* ebuild (source) and set the LIRC_OPTS environment
* variable to your needs.
*
* Updating module dependencies for 2.6.13.3 ...
WARNING: //lib/modules/2.6.13.3/misc/lirc_dev.ko needs unknown symbol class_simple_ device_addlivecd ~ #
WARNING: //lib/modules/2.6.13.3/misc/lirc_dev.ko needs unknown symbol class_simple_destroy
WARNING: //lib/modules/2.6.13.3/misc/lirc_dev.ko needs unknown symbol class_simple_device_remove
WARNING: //lib/modules/2.6.13.3/misc/lirc_dev.ko needs unknown symbol class_simple_create                                                                 [ ok ]>>> Regenerating /etc/ld.so.cache...
>>> app-misc/lirc-0.7.0-r1 merged.
>>> Recording app-misc/lirc in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


* GNU info directory index is up-to-date.

livecd ~ # modprobe lirc_seria
FATAL: Module lirc_seria not found.
livecd ~ # modprobe lirc_serial
WARNING: Error inserting lirc_dev (/lib/modules/2.6.13.3/misc/lirc_dev.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting lirc_serial (/lib/modules/2.6.13.3/misc/lirc_serial.ko): Unknown symbol in module, or unknown parameter (see dmesg)
livecd ~ #
发表于 2005-10-16 10:20:39 | 显示全部楼层
内核中没有选择吧,我也不是很清楚啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-16 11:07:22 | 显示全部楼层
内核中有选择:

# Serial drivers
#
CONFIG_SERIAL_8250=m
# CONFIG_SERIAL_8250_CS is not set
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-17 23:37:24 | 显示全部楼层
驱动已经装好!测试没有问题!创建文件又不行了????嗨

livecd ~ # mode2 -d /dev/lirc/0
pulse 6194342
space 8542
pulse 4127
space 621
pulse 434
space 620
pulse 1492
space 622
pulse 432

-----skip----------

livecd ~ # irrecord /etc/lirc.conf

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

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

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

livecd ~ # lircd
lircd 0.7.2: there seems to already be a lircd process with pid 11280
lircd 0.7.2: otherwise delete stale lockfile /var/run/lircd.pid


livecd ~ # rc-update add lircd default
* lircd already installed in runlevel default; skipping
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表