LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2006, 01:13 PM   #1
evm
LQ Newbie
 
Registered: May 2006
Posts: 12

Rep: Reputation: 0
Need Help Installing Drivers


I have installed OpenSuSe 10.1 (32bit-DVD) on my HP m7470n comp. Everything worked (even the ati card), the only thing that does not work is the Phillips eHome Infrared Transceiver USB RC. It doens't work because it doesn't have a driver and I can't find a driver. Any help would be welcomed.
 
Old 06-30-2006, 02:01 PM   #2
mcteagle
Member
 
Registered: Dec 2005
Location: NYC
Distribution: Ubuntu (x86 & AMD64)
Posts: 40

Rep: Reputation: 15
I believe lirc is what you're looking for. I haven't used it myself, but I've read a bit about it:

www.lirc.org
 
Old 06-30-2006, 02:21 PM   #3
evm
LQ Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mcteagle
I believe lirc is what you're looking for. I haven't used it myself, but I've read a bit about it:

www.lirc.org
I get this

setup.sh written by Karsten Scheibler, 1999-JUN-28

If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>

Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -g -Wall ) works... yes
checking whether the C compiler (gcc -O2 -g -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for mknod... (cached) /bin/mknod
checking for mkfifo... (cached) /usr/bin/mkfifo
checking for depmod... (cached) /sbin/depmod
checking for libusb-config... (cached) /usr/bin/libusb-config
checking whether ln -s works... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for gethostname... (cached) yes
checking for gettimeofday... (cached) yes
checking for mkfifo... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strtoul... (cached) yes
checking for snprintf... (cached) yes
checking for strsep... (cached) yes
checking for vsyslog... (cached) yes
checking for daemon... (cached) yes
checking for forkpty... (cached) no
checking for forkpty in -lutil... (cached) yes
checking for vga.h... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for getopt_long... (cached) yes
checking for mktemp... (cached) yes
checking for Linux kernel sources... (cached) /lib/modules/2.6.16.13-4-smp/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... (cached) no
checking for ir_strerror in -lirman... (cached) no
checking for ir_strerror in -lirman_sw... (cached) no
checking for portaudio.h... (cached) no
checking for alsa/asoundlib.h... (cached) yes
checking for snd_pcm_open in -lasound... (cached) yes
checking for ALSA SB RC hwdep support... yes
checking for scsi/sg.h... (cached) yes
checking for linux/input.h... (cached) yes
checking for sys/soundcard.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating drivers/Makefile
creating drivers/lirc_atiusb/Makefile
creating drivers/lirc_bt829/Makefile
creating drivers/lirc_cmdir/Makefile
creating drivers/lirc_dev/Makefile
creating drivers/lirc_gpio/Makefile
creating drivers/lirc_i2c/Makefile
creating drivers/lirc_igorplugusb/Makefile
creating drivers/lirc_imon/Makefile
creating drivers/lirc_it87/Makefile
creating drivers/lirc_mceusb/Makefile
creating drivers/lirc_mceusb2/Makefile
creating drivers/lirc_parallel/Makefile
creating drivers/lirc_sasem/Makefile
creating drivers/lirc_serial/Makefile
creating drivers/lirc_sir/Makefile
creating drivers/lirc_streamzap/Makefile
creating daemons/Makefile
creating tools/Makefile
creating doc/Makefile
creating doc/man/Makefile
creating config.h
config.h is unchanged

You will have to use the lirc_mceusb2 kernel module.

Now enter 'make' and 'make install' to compile and install the package.

evm@EVM-SuSeLinux:~/Desktop/lirc-0.8.0> make
make all-recursive
make[1]: Entering directory `/home/evm/Desktop/lirc-0.8.0'
Making all in drivers
make[2]: Entering directory `/home/evm/Desktop/lirc-0.8.0/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/evm/Desktop/lirc-0.8.0/drivers/lirc_dev'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/evm/Desktop/lirc-0.8.0/drivers/lirc_dev'
Making all in lirc_mceusb2
make[3]: Entering directory `/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.16.13-4-smp/build/ SUBDIRS=/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2 modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp modules
make -C /usr/src/linux-2.6.16.13-4-obj/i386/smp \
KBUILD_SRC=/usr/src/linux-2.6.16.13-4 \
KBUILD_EXTMOD="/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2" -f /usr/src/linux-2.6.16.13-4/Makefile modules
rm -rf /home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_versions
mkdir -p /home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_versions
make -f /usr/src/linux-2.6.16.13-4/scripts/Makefile.build obj=/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2
gcc -m32 -Wp,-MD,/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.0/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.13-4/include -include /usr/src/linux-2.6.16.13-4-obj/i386/smp/include/linux/autoconf.h -I/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -mregparm=3 -Iinclude/asm-i386/mach-generic -I/usr/src/linux-2.6.16.13-4/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -I/usr/src/linux-2.6.16.13-4/include/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I/usr/src/linux-2.6.16.13-4/. -I. -I/usr/src/linux-2.6.16.13-4/. -I../.. -I/usr/src/linux-2.6.16.13-4/../.. -I/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.16.13-4-smp/build//include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c
/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c:588: error: unknown field ‘owner’ specified in initializer
/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c:588: warning: initialization from incompatible pointer type
make[7]: *** [/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1
make[6]: *** [_module_/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2] Error 2make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make[3]: *** [lirc_mceusb2.o] Error 2
make[3]: Leaving directory `/home/evm/Desktop/lirc-0.8.0/drivers/lirc_mceusb2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/evm/Desktop/lirc-0.8.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/evm/Desktop/lirc-0.8.0'
make: *** [all] Error 2
evm@EVM-SuSeLinux:~/Desktop/lirc-0.8.0>


something's not working for me
is it something i'm doing wrong

Last edited by evm; 06-30-2006 at 03:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing drivers ashley_31 Linux - Hardware 4 05-31-2006 05:33 AM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
help installing drivers wael_nasreddine Linux - Hardware 1 06-22-2004 11:11 AM
help installing drivers pan0z Linux - Newbie 1 10-06-2003 11:19 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration