RE: What am I doing wrong? IBMCAM not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I cut this out to send, but forgot.  These are the modules that are loaded.
I'll use debug mode 2 for more information.  It looks like it is still
working.  Maybe vcat isn't setup right for this camera. 

Does anyone have a quick program for ibmcam to save file to disk perhaps?

Steve

[root@ip21 videox]# modprobe ibmcam framerate=1 debug=2 

[root@ip21 root]# lsmod
Module                  Size  Used by
ide-cd                 26592   0  (autoclean)
cdrom                  29504   0  (autoclean) [ide-cd]
soundcore               4208   0  (autoclean)
ibmcam                 39408   0 
usbvideo               24400   0  [ibmcam]
videodev                4960   1  [usbvideo]
iscsi                  21664   0  (unused)
scsi_mod               92208   1  [iscsi]
autofs                 11232   0  (autoclean) (unused)
tulip                  37728   1 
appletalk              20016   0  (autoclean)
ipx                    16448   0  (autoclean)
ipchains               36000   0 
usb-uhci               20640   0  (unused)
usbcore                49792   1  [ibmcam usbvideo usb-uhci]
ext3                   61936   2 
jbd                    38976   2  [ext3]

Dec 10 16:15:53 ip21 kernel: usb.c: deregistering driver ibmcam
Dec 10 16:15:53 ip21 kernel: usbvideo.c: USB camera disconnected.
Dec 10 16:16:11 ip21 kernel: usb.c: registered new driver ibmcam
Dec 10 16:16:11 ip21 kernel: ibmcam.c: ibmcam_probe(cc2ec600,0.)
Dec 10 16:16:11 ip21 kernel: ibmcam.c: ibmcam_probe(c16d0400,0.)
Dec 10 16:16:11 ip21 kernel: ibmcam.c: IBM USB camera found (model 3, rev.
0x0301)
Dec 10 16:16:11 ip21 kernel: ibmcam.c: Number of alternate settings=2.
Dec 10 16:16:11 ip21 kernel: ibmcam.c: Active setting=1. maxPS=1022.
Dec 10 16:16:11 ip21 kernel: ibmcam.c: IBM camera: using 320x240
Dec 10 16:16:11 ip21 kernel: usbvideo.c: usbvideo_RegisterVideoDevice:
iface=0. endpoint=$81 paletteBits=$00000010
Dec 10 16:16:11 ip21 kernel: usbvideo.c: usbvideo_RegisterVideoDevice:
video_register_device() successful
Dec 10 16:16:11 ip21 kernel: usbvideo.c: ibmcam on /dev/video0:
canvas=320x240 videosize=320x240
Dec 10 16:16:11 ip21 kernel: usbvideo.c: usbvideo_RegisterVideoDevice:
Creating /proc/ibmcam/ filesystem entries.
Dec 10 16:17:12 ip21 kernel: usbvideo.c:
usbvideo_v4l_open($cc26d144,$00000000
Dec 10 16:17:12 ip21 kernel: usbvideo.c: usbvideo_StartDataPump($cc26d144)
Dec 10 16:17:12 ip21 kernel: ibmcam.c: ibmcam_change_lighting_conditions:
Set lighting to 1.
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_StartDataPump: streaming=1
video_endp=$81
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_open: setupOnOpen
callback
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_open: setupOnOpen
callback successful
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_open: Open succeeded.
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_open: Returning 0.
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_close($cc26d144)
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_StopDataPump($cc26d144)
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_StopDataPump: streaming=0
Dec 10 16:17:14 ip21 kernel: usbvideo.c: Packet Statistics: Total=64.
Empty=0. Usage=100%%
Dec 10 16:17:14 ip21 kernel: usbvideo.c: Transfer Statistics: Transferred=0
B Usage=0%%
Dec 10 16:17:14 ip21 kernel: usbvideo.c: usbvideo_v4l_close: Completed.

[root@ip21 videox]# date    
Mon Dec 10 16:17:53 PST 2001
[root@ip21 videox]# ./vctrl /dev/video0 320x240x24
getting video format: Invalid argument

Dec 10 16:23:02 ip21 kernel: usbvideo.c:
usbvideo_v4l_open($cc26d144,$00000000
Dec 10 16:23:02 ip21 kernel: usbvideo.c: usbvideo_StartDataPump($cc26d144)
Dec 10 16:23:02 ip21 kernel: ibmcam.c: ibmcam_change_lighting_conditions:
Set lighting to 1.
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_StartDataPump: streaming=1
video_endp=$81
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_v4l_open: setupOnOpen
callback
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_v4l_open: setupOnOpen
callback successful
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_v4l_open: Open succeeded.
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_v4l_open: Returning 0.
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_v4l_close($cc26d144)
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_StopDataPump($cc26d144)
Dec 10 16:23:10 ip21 kernel: usbvideo.c: usbvideo_StopDataPump: streaming=0
Dec 10 16:23:11 ip21 kernel: usbvideo.c: Packet Statistics: Total=64.
Empty=0. Usage=100%%
Dec 10 16:23:11 ip21 kernel: usbvideo.c: Transfer Statistics: Transferred=0
B Usage=0%%
Dec 10 16:23:11 ip21 kernel: usbvideo.c: usbvideo_v4l_close: Completed.




-----Original Message-----
From: Chris Tooley [mailto:chris@xxxxxxxxxx] 
Sent: Monday, December 10, 2001 15:13
To: video4linux-list@xxxxxxxxxx
Subject: Re:  What am I doing wrong? IBMCAM not found


It looks like you are running these programs as root so that shouldn't
be the problem, but you might need to change the permissions on
/dev/video* for normal users to get at those devices

What modules do you have loaded after you run modprobe ibmcam?  I know
that while it was loading most of the usb stuff on my laptop it wasn't
loading the uhci driver for my USB controller.  Are you using other usb
devices?

Chris Tooley

On Mon, 2001-12-10 at 16:24, Steven Brunasso wrote:
> Hey all,
> 
> I feel rather foolish with this, but can someone point me to my problem.
I
> have an IBM Camera that loads properly, it seems. I just can't access it
> from the video software.
> 
> The USB Bus sees the camera as:
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=6400
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.01 Cls=0a(data ) Sub=03 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0545 ProdID=8080 Rev= 3.01
> S:  Product=USB PC Camera
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=256mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=0a(data ) Sub=03 Prot=00 Driver=ibmcam
> E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=  1ms
> I:  If#= 0 Alt= 1 #EPs= 1 Cls=0a(data ) Sub=03 Prot=00 Driver=ibmcam
> E:  Ad=81(I) Atr=01(Isoc) MxPS=1022 Ivl=  1ms
> 
> The ibmcam module loads and triggers on the proper camera, I believe.  But
> the software vctrl and vcat say no device, or can't open.
> 
> [root@ip21 videox]# ./vctrl 
> sorry, no such device /dev/video
> [root@ip21 videox]# ./vcat  
> Can't open /dev/video
> 
> I have the following Device for the video listed:
> 
> [root@ip21 videox]# ll /dev/video*
> lrwxrwxrwx    1 root     root           11 Dec 10 14:25 /dev/video ->
> /dev/video0
> crw-------    1 root     root      81,   0 Aug 30 13:30 /dev/video0
> crw-------    1 root     root      81,   1 Aug 30 13:30 /dev/video1
> crw-------    1 root     root      81,   2 Aug 30 13:30 /dev/video2
> crw-------    1 root     root      81,   3 Aug 30 13:30 /dev/video3
> 
> What am I missing.  I know it must be something simple with my config
> somewhere.
> 
> Steve
> 
> 
> 
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list
> 




_______________________________________________
Video4linux-list mailing list
Video4linux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/video4linux-list





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux