Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 03:59
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Video
Sony VAIO webcam driver installation problem...
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
AceVentura

Joined: 01 Jul 2008
Posts: 12
Location: Mumbai - City of Dreams

PostPosted: Sat 16 Aug 2008, 00:27    Post subject:  Sony VAIO webcam driver installation problem...
Subject description: not able to compile r5u870-0.20.tar.bz2
 

Hello,

I have Puppy Linux Dingo setup and running on Sony VAIO CR23G.
Things not working :
1. Bluetooth
2. Multimedia Keys
3. Webcam

I can do without 1 & 2 (for now), but I needed to get the webcam working.
As usual I used google and got the name of the webcam driver.
r5u870-0.20.tar.bz2

But I am not able to compile it.

Code:

# make KDIR=/root/downloads/linux-2.6.21.7/kernel/
make -C /root/downloads/linux-2.6.21.7/kernel/ M=/root/downloads/r5u870-VCC6 V=0 modules
make[1]: Entering directory `/root/downloads/linux-2.6.21.7/kernel'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/root/downloads/linux-2.6.21.7/kernel'
make: *** [all] Error 2



The makefile is as below :


Code:


# changelog :
#------------
# naresh - 29-Mar-2007 : cyan_00391
#    fixed the code which detects the existing kernel module
#
# Notes:
# -----------
# This clever makefile was shamelessly copied from the ivtv project.
#
# By default, the build is done against the running kernel version.
# to build against a different kernel version, set KVER
#
#  make KVER=2.6.11-alpha
#
#  Alternatively, set KDIR
#
#  make KDIR=/usr/src/linux

V ?= 0
MDIR := extra

KVER ?= $(shell uname -r)
KDIR ?= /lib/modules/$(KVER)/kernel
FWDIR ?= /lib/firmware

# Old module name to detect and complain about when installing
OLD_MODULE_NM = ry5u870.ko

FWFILES = r5u870_1830.fw r5u870_1832.fw r5u870_1833.fw r5u870_1834.fw r5u870_1835.fw r5u870_1836.fw r5u870_1870_1.fw r5u870_1870.fw r5u870_1810.fw r5u870_183a.fw

ifneq ($(KERNELRELEASE),)
include $(src)/Kbuild
else

all::
   $(MAKE) -C $(KDIR) M=$(CURDIR) V=$(V) modules

install:: all
   $(MAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=$(MDIR) \
      -C $(KDIR) M=$(CURDIR) modules_install

clean::
   $(MAKE) -C $(KDIR) M=$(CURDIR) clean
   rm -f Module.symvers

endif

install::
   install -m 0644 -o root -g root $(FWFILES) $(FWDIR)
   /sbin/depmod -a
   @if find /lib/modules -name $(OLD_MODULE_NM) | grep $(OLD_MODULE_NM) >/dev/null; then \
      echo; \
      echo "*** !!! WARNING !!! ***"; \
      echo "A prior version of this driver was detected, installed with a different file"; \
      echo "name.  It is possible that a boot-time device detection component will choose"; \
      echo "to load the older version of this driver instead of the newly installed"; \
      echo "version."; \
      echo; \
      echo "Please consider deleting the following files:"; \
      echo; \
      find /lib/modules -name $(OLD_MODULE_NM); \
      echo; \
      echo "*** !!! WARNING !!! ***"; \
      echo; \
      printf "\\a"; sleep 1; printf "\\a"; sleep 1; printf "\\a"; \
   fi



I already have the linux kernel source in directory that is passed and I am able to compile the whole kernel.
Please can someone tell me what am I doing wrong ?

Cheers,
AceVentura
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Video
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 11 (0.0030s) ][ GZIP on ]