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 21 Nov 2014, 20:17
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 Posts_count_1  
Author Message

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...
Sub_title: not able to compile r5u870-0.20.tar.bz2


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.

But I am not able to compile it.


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

The makefile is as below :


# 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

include $(src)/Kbuild

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

install:: all
      -C $(KDIR) M=$(CURDIR) modules_install

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


   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"; \

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 ?

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Video
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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