Re: 2.3.99pre9: Could be easier...

From: Alasdair Campbell (root@birnie.demon.co.uk)
Date: Mon Jul 17 2000 - 10:00:38 EST


Maybe I was lucky, but I too installed the latest kernel
in 2.3.X to get my webcam working.
I included the step make xconfig AND
... included kernel support for USB
... Included kernel support for video4linux
... included kernel support for my cheapy CPiA webcam
make bzlilo.... (bzdisk should work too, I guess?????)
rebooted, and watched with glee as the little green light on the
camera turned on...
Relevent extracts from "dmesg" are:
......
Linux version 2.3.99-pre9 (root@birnie) (gcc version 2.95.2 19991024 (release)) #1 Sun Jun 18 20:20:16 BST 2000
.....
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver cpia
usb-uhci.c: $Revision: 1.231 $ time 20:23:54 Jun 18 2000
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: Intel USB controller: setting latency timer to 0
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
.......
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v0.7.4
.........
usb.c: USB new device connect, assigned device number 2
USB CPiA camera found
  CPiA Version: 1.20 (2.0)
  CPiA PnP-ID: 0553:0002:0100
  VP-Version: 1.0 0141
........
Hope this helps.
I am well pleased, and the camera works fine, but would be happy pick the
brains of anyone willing to share experiences with Linux webcam software..
I am a novice in this respect, and am making painfully slow progress.

> I have just subscribed here (for a short while)
> to comment on the installation of the 2.3.99pre9
> kernel. My reason for installing this kernel
> is to try and get my 3Com Homeconnect USB
> webcam to work, but my comments:
>
>
> To install the kernel I had to configure
> it and then issue:
>
> make dep
> make bzImage
> (and make bzdisk, since I boot from floppy)
> make modules
> make modules_install
>
> But this is OK and is at least documented.
>
> But then I also had to do the following
> (after a lot of FAQ reading on the internet etc.):
>
> Make the /dev/video0 and /dev/video devices:
> mknod /dev/video0 c 81 0
> ln -s /dev/video0 /dev/video
>
> Add the following to /etc/conf.modules:
> path[usb]=/lib/modules/`uname -r`
> path[usb]=/lib/modules/`kernelversion`
> path[usb]=/lib/modules
>
> Now I manually have to execute every time I boot:
> insmod videodev
> (insmod usbcore complains:
> no module by that name found
> even though it's there)
> insmod cpia
> (insmod cpia_usb says:
> a module named cpia_usb already exists)
>
> Why isn't all this set up automatically by
> the installation process? An ordinary
> hardcore developer like me shouldn't need
> to know that much about software written
> by other developers :)
>
> It also seems that the webcam is not working/
> not supported, but that is a minor issue -
> I believe I could fix that :)
>

Like you say, it could be easier... avoid insmod.... :-)

-- 
Alasdair Campbell <root@birnie.demon.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:09 EST