LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2003, 01:17 AM   #1
gdluiv
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Rep: Reputation: 0
Philips camera u/s


Here is my problem: I have an USB Philips TouCam webcam, when I plug it the light comes on and stays on, but it doen work!! The output from xawtv -hwscan is:

[root@host68 root]# xawtv -hwscan
This is xawtv-3.81, running on Linux/i686 (2.4.20-8)
looking for available devices
port 69-69
type : Xvideo, image scaler
name : ATI Radeon Video Overlay

/dev/video0: OK [ -device /dev/video0 ]
type : v4l
name : BT878(AVerMedia TVCapture 98)
flags: overlay capture tuner

/dev/video1: Funzione non implementata

where the /dev/video1: function not implemented is my webcam. ANy idea how to 'implement' the webcam and get it to work with gqcam?? Thanks, Marco
 
Old 11-10-2003, 06:25 AM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
your first have to load it and mount it :
su into your console
modprobe usb_storage
mkdir /mnt/cam or wherever you want to mount it
mount -t vfat /dev/sda1 /mnt/cam for user read but root write only
mount -t vfat -o umask=000 -w /dev/sda1 /mnt/card for global read/write access
 
Old 11-10-2003, 03:02 PM   #3
gdluiv
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
what do you mean with modprobe usb_storage? It says that it can locate it....
 
Old 11-10-2003, 06:08 PM   #4
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
you must have the camera on and connected to the pc before doing a modprobe also a dmesg can be helpful and if you connected the powered on camera to your pc just work through the steps i postet here before and it should work well :=)
 
Old 11-10-2003, 07:19 PM   #5
gdluiv
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Uhm...the camera is on and connected, but the modprobe says it can' t locate usb_storage.... Here is my dmesg output: please help!

[root@host68 root]# dmesg
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fffffc0 (ACPI data)
BIOS-e820: 000000001fffffc0 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/ hdc=ide-scsi nofirewire
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 2666.818 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5321.52 BogoMIPS
Memory: 511348k/524224k available (1347k kernel code, 10312k reserved, 999k data, 132k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xeb860, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Using IRQ router PIIX [8086/248c] at 00:1f.0
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 02:00.0
PCI: Sharing IRQ 10 with 02:05.2
PCI: Found IRQ 10 for device 02:09.0
PCI: Sharing IRQ 10 with 00:1d.0
PCI: Sharing IRQ 10 with 01:00.0
PCI: Sharing IRQ 10 with 02:05.0
PCI: Found IRQ 11 for device 02:09.1
PCI: Sharing IRQ 11 with 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.6
IRQ routing conflict for 02:02.0, have irq 10, want irq 11
PCI: Sharing IRQ 11 with 02:04.0
PCI: Sharing IRQ 11 with 02:04.1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 11 for device 00:1f.6
PCI: Sharing IRQ 11 with 00:1f.5
IRQ routing conflict for 02:02.0, have irq 10, want irq 11
PCI: Sharing IRQ 11 with 02:04.0
PCI: Sharing IRQ 11 with 02:04.1
PCI: Sharing IRQ 11 with 02:09.1
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 02:00.0
PCI: Sharing IRQ 10 with 02:05.2
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdcMA, hddio
hda: TOSHIBA MK4019GAX, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
hdc: TOSHIBA DVD-ROM SD-R2412, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 78140160 sectors (40008 MB), CHS=4864/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 146k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 10 for device 02:05.2
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 00:1f.1
PCI: Sharing IRQ 10 with 02:00.0
ehci-hcd 02:05.2: VIA Technologies, Inc. USB 2.0
ehci-hcd 02:05.2: irq 10, pci mem e0849000
usb.c: new USB bus registered, assigned bus number 1
PCI: 02:05.2 PCI cache line size set incorrectly (16 bytes) by BIOS/FW.
PCI: 02:05.2 PCI cache line size corrected to 128.
ehci-hcd 02:05.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:1d.0
PCI: Sharing IRQ 10 with 01:00.0
PCI: Sharing IRQ 10 with 02:05.0
PCI: Sharing IRQ 10 with 02:09.0
PCI: Setting latency timer of device 00:1d.0 to 64
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 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.1
PCI: Sharing IRQ 11 with 02:05.1
PCI: Setting latency timer of device 00:1d.1 to 64
usb-uhci.c: USB UHCI at I/O 0xe120, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:1d.2
PCI: Sharing IRQ 10 with 00:1f.1
PCI: Sharing IRQ 10 with 02:00.0
PCI: Sharing IRQ 10 with 02:05.2
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0xe240, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 02:05.0
PCI: Sharing IRQ 10 with 00:1d.0
PCI: Sharing IRQ 10 with 01:00.0
PCI: Sharing IRQ 10 with 02:09.0
usb-uhci.c: USB UHCI at I/O 0xa000, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 5
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 02:05.1
PCI: Sharing IRQ 11 with 00:1d.1
usb-uhci.c: USB UHCI at I/O 0xa120, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 6
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
Adding Swap: 1044184k swap-space (priority -1)
hub.c: new USB device 02:05.1-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x1067) is not claimed by any active driver.
hub.c: new USB device 02:05.1-2, assigned address 3
input0: USB HID v1.00 Mouse [Kensington Kensington USB Wheel Mouse] on usb6:3.0
hub.c: new USB device 02:05.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x5a9/0x518) is not claimed by any active driver.
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1067
printer.c: v0.11: USB Printer Device Class driver
Linux video capture interface: v1.00
usb.c: registered new driver ov511
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Compression required with OV518...enabling
ov511.c: Sensor is an OV6630
ov511.c: Device at usb-02:05.0-1 registered to minor 0
ov511.c: v1.63 for Linux 2.4 : ov511 USB Camera Driver
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: TOSHIBA Model: DVD-ROM SD-R2412 Rev: 1015
Type: CD-ROM ANSI SCSI revision: 02
ip_tables: (C) 2000-2002 Netfilter core team
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 10 for device 02:00.0
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 00:1f.1
PCI: Sharing IRQ 10 with 02:05.2
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xe0952000, 00:90:f5:20:02:86, IRQ 10
eth0: Identified 8139 chip type 'RTL-8139C'
ip_tables: (C) 2000-2002 Netfilter core team
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
parport0: PC-style at 0x378 [PCSPP]
lp0: using parport0 (polling).
lp0: console ready
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Intel i845 chipset
agpgart: AGP aperture is 64M @ 0xa0000000
[drm] AGP 0.99 on Intel i845 @ 0xa0000000 64MB
[drm] Initialized radeon 1.7.0 20020828 on minor 0
[drm] Loading R200 Microcode
PCI: Found IRQ 10 for device 01:00.0
PCI: Sharing IRQ 10 with 00:1d.0
PCI: Sharing IRQ 10 with 02:05.0
PCI: Sharing IRQ 10 with 02:09.0
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.6
IRQ routing conflict for 02:02.0, have irq 10, want irq 11
PCI: Sharing IRQ 11 with 02:04.0
PCI: Sharing IRQ 11 with 02:04.1
PCI: Sharing IRQ 11 with 02:09.1
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000
ov511.c: No decompressor available
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
bttv: driver version 0.7.96 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 02:04.0
PCI: Sharing IRQ 11 with 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.6
IRQ routing conflict for 02:02.0, have irq 10, want irq 11
PCI: Sharing IRQ 11 with 02:04.1
PCI: Sharing IRQ 11 with 02:09.1
bttv0: Bt878 (rev 17) at 02:04.0, irq: 11, latency: 128, mmio: 0x80000000
bttv0: detected: AVerMedia TVCapture 98 [card=13], PCI subsystem ID is 1461:0004
bttv0: using: BT878(AVerMedia TVCapture 98) [card=13,autodetected]
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Avermedia eeprom[0x0211]: tuner=5 radio:no remote control:yes
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
bttv0: i2c attach [client=Philips PAL_BG (FI1216 and compa,ok]
i2c-core.o: client [Philips PAL_BG (FI1216 and compa] registered to adapter [bt848 #0](pos. 0).
bttv0: registered device video1
bttv0: registered device vbi0
ov511.c: No decompressor available
bttv0: PLL: 28636363 => 35468950 ... ok
bttv0: unloading
bttv0: i2c detach [client=Philips PAL_BG (FI1216 and compa,ok]
i2c-core.o: client [Philips PAL_BG (FI1216 and compa] unregistered.
i2c-core.o: adapter unregistered: bt848 #0
ov511.c: No decompressor available
[drm] Loading R200 Microcode
PCI: Found IRQ 10 for device 01:00.0
PCI: Sharing IRQ 10 with 00:1d.0
PCI: Sharing IRQ 10 with 02:05.0
PCI: Sharing IRQ 10 with 02:09.0
 
Old 11-11-2003, 01:23 AM   #6
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
ok it finds the camera :
Linux video capture interface: v1.00
usb.c: registered new driver ov511
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Compression required with OV518...enabling
ov511.c: Sensor is an OV6630
ov511.c: Device at usb-02:05.0-1 registered to minor 0
ov511.c: v1.63 for Linux 2.4 : ov511 USB Camera Driver

but it shows a problem:
ov511.c: No decompressor available

does your camera use a special format for pictures ,... mine uses standart jpeg ?
also did you try the other steps without modprobe? this often works as well
 
Old 02-04-2004, 08:27 AM   #7
orchards
LQ Newbie
 
Registered: Feb 2004
Location: blackpool,UK
Distribution: fedora core 1
Posts: 3

Rep: Reputation: 0
Hi
I am having the same sort of problem with my Philips Toucan.

I think that kasperhans has misunderstood the problem in that he appears to be talking about a digital stills camera, (usb storage etc) not a webcam.

If you look at the web site for the ov511 driver there is a later release that 1.63 that looks like it has better support for these cameras needing the ov518 decompressor. I have just downloaded it (2.27) and will let you know if it makes any difference.

I had a lot of trouble because I initially didn't have Xvideo configured into the XFree86.conf!!

However now I have the problem that it will find my Radeon AIW tv , but not the camera!

Still trying!!
 
Old 02-04-2004, 12:33 PM   #8
orchards
LQ Newbie
 
Registered: Feb 2004
Location: blackpool,UK
Distribution: fedora core 1
Posts: 3

Rep: Reputation: 0
OK I have now got it working with ov511 2.27!!

you can get it from
http://alpha.dyndns.org/ov511

to gett it running you have to :-
modprobe videodev
modprobe i2c-core
modprobe ovcamchip
modprobe ov511

in /etc/modules.conf I have added:-

alias char-major-81 ov511
options ov511 compress=1 ov518_color=1

doing an lsmod I now have:-
ov511
ovcamchip
i2c-core
videodev

and the camera works with xawtv!!!

I cannot find the program gqcam that you mentioned, so I don't know if it works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
philips pcrw5232P drive TranceDude Linux - Hardware 4 08-22-2005 09:17 AM
Philips Key008 USB camera/memory stick filesystem problem Iskendar Linux - Hardware 0 07-13-2004 09:41 AM
philips dvdrw824 SchwipSchwap Linux - Hardware 1 01-01-2004 05:35 PM
Philips Webcam gdluiv Linux - Newbie 0 11-08-2003 10:39 PM
Philips 2400 SticklerThe1st Linux - Hardware 2 11-15-2002 05:04 AM


All times are GMT -5. The time now is 07:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration