ibmpc webcam under ubuntu using camorama
I am trying to get my IBM PC Webcam to wrok under ubuntu 2.06.
I installed Camorama from the normal install packages interface, but when I try to run the cam I get this message (in a dialog box)
Could not connect to video device (/dev/video0)
What's the problem? How do I make it connect to the cam?
Thanks and if you can, please send the answer to <email address hidden>
as I'm not sure how often I'll be able to check here.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alan Pope 🍺🐧🐱 🦄
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Let me start with that I don't have that web cam. That having been said, the following web-page has a whole host of trouble shooting steps, including the statement that the NetCamera and NetCamera Pro do not work.
http://
My first question would be: "What *exact* model camera do you have?"
(I've also emailed the fact that I've updated this page to fraterchaos)
Revision history for this message
|
#2 |
I really can't say what model the camera is. I bought
it over 6 years ago, in 2000, and no longer have the
box or documentation.
What I do know is: it is a simple generic IBM PC
Camera. That is the name on it and the name by which
all drivers and software are listed, including the
windows install CD.
It is the cheapest IBM cam that was available in 2000.
That's really about all I can say concerning the
camera.
Thanks for taking an interest. If I can't get it to
work under ubuntu, I can still use it from windows...
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> Let me start with that I don't have that web cam.
> That having been said,
> the following web-page has a whole host of trouble
> shooting steps,
> including the statement that the NetCamera and
> NetCamera Pro do not
> work.
>
> http://
>
> My first question would be: "What *exact* model
> camera do you have?"
>
> (I've also emailed the fact that I've updated this
> page to fraterchaos)
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Yahoo! Music Unlimited
Access over 1 million songs.
http://
Revision history for this message
|
#3 |
To determine which camera you have, you'll need to gather some information. The command to do this is:
cat /proc/bus/
The steps to get some information are:
1. Open a Terminal (in Applications -> Accessories -> Terminal)
2. Unplug the camera and run the command.
3. Plug the camera in and wait 10 seconds.
4. Run the command again.
If Ubuntu detected your camera at all, the two outputs should be different. Paste the difference here and we may be able to determine what model camera you have.
Revision history for this message
|
#4 |
here is the info you requested:
chaos@the-beast:~$ cat /proc/bus/
Vendor
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0443 ProdID=002f Rev= 1.00
P: Vendor=0443 ProdID=002e Rev= 1.00
P: Vendor=045e ProdID=0040 Rev= 3.00
chaos@the-beast:~$ cat /proc/bus/
Vendor
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0545 ProdID=8080 Rev= 3.0a
P: Vendor=0443 ProdID=002f Rev= 1.00
P: Vendor=0443 ProdID=002e Rev= 1.00
P: Vendor=045e ProdID=0040 Rev= 3.00
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> To determine which camera you have, you'll need to
> gather some
> information. The command to do this is:
>
> cat /proc/bus/
>
> The steps to get some information are:
> 1. Open a Terminal (in Applications -> Accessories
> -> Terminal)
> 2. Unplug the camera and run the command.
> 3. Plug the camera in and wait 10 seconds.
> 4. Run the command again.
>
> If Ubuntu detected your camera at all, the two
> outputs should be
> different. Paste the difference here and we may be
> able to determine
> what model camera you have.
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://
Revision history for this message
|
#5 |
From:
http://
You have:
Model 2 KSX-X9903 0x0545 0x8080 3.0a Old, cheaper model Xirlink C-It
Information is contradictory, but when the camera is plugged in, run this command:
sudo lsmod | grep ibmcam
If you get no output, then try this:
sudo modprobe ibmcam
This should load the driver for your camera.
The lsmod command should now report a line and you should be able to see some information regarding your camera at the end of the output when you run the command:
dmesg
If all of the above is true, then running this command should return some output:
ls -l /dev/video*
Let me know...
Revision history for this message
|
#6 |
Ok,
I ran the commands you said to run, all of them worked
fine except the modprobe, which displayed nothing.
The ls -l /dev/video* responded with:
lrwxrwxrwx 1 root root 6 2006-11-25 22:50
/dev/video -> video0
crw-rw---- 1 root video 81, 0 2006-11-25 22:50
/dev/video0
However, the cam still isn't working, still gives the
same error, could not connect to /dev/video0
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> From:
> http://
>
> You have:
> Model 2 KSX-X9903 0x0545 0x8080 3.0a Old, cheaper
> model Xirlink C-It
>
> Information is contradictory, but when the camera is
> plugged in, run
> this command:
>
> sudo lsmod | grep ibmcam
>
> If you get no output, then try this:
>
> sudo modprobe ibmcam
>
> This should load the driver for your camera.
>
> The lsmod command should now report a line and you
> should be able to see
> some information regarding your camera at the end of
> the output when you
> run the command:
>
> dmesg
>
> If all of the above is true, then running this
> command should return
> some output:
>
> ls -l /dev/video*
>
> Let me know...
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Want to start your own business?
Learn how on Yahoo! Small Business.
http://
Revision history for this message
|
#7 |
When you say: "all of them worked fine except the modprobe, which displayed nothing", what information do the following two commands show:
sudo lsmod | grep ibmcam
dmesg | grep -C4 -i ibm
Revision history for this message
|
#8 |
lsmod showed:
ibmcam 47724 0
usbvideo 27524 1 ibmcam
usbcore 130820 5
ibmcam,
dmesg showed:
10
_______
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://
Revision history for this message
|
#9 |
Ok, which groups are you a member of?
The command is:
groups
If you cannot see the group called 'video' then issue this command:
sudo adduser chaos video
Then logout and log back in again.
Check to see if you're now a member of the video group.
Revision history for this message
|
#10 |
I ran 'groups' and it listed that I am already a
member of the group video
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> Ok, which groups are you a member of?
>
> The command is:
>
> groups
>
> If you cannot see the group called 'video' then
> issue this command:
>
> sudo adduser chaos video
>
> Then logout and log back in again.
>
> Check to see if you're now a member of the video
> group.
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://
Revision history for this message
|
#11 |
Ok, so what does Camorama do now?
Revision history for this message
|
#12 |
Getting the same error.
I could not log out and log back in because I am in
the middle of a download. (Unfortunately, its a
terribly LONG download)
I'll have to wait for the download to finish before I
can shut down and restart.
I'll let you know if it works after I'm able to
restart the computer, may not be until tomorrow.
Thanks
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> Ok, so what does Camorama do now?
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://
Revision history for this message
|
#13 |
If you launch camorama from the command line do you get any output?
Revision history for this message
|
#14 |
the only output is exactly the same, a dialog box (in
X) saying could not connect to /dev/video0
there was no output at all in the terminal window
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> If you launch camorama from the command line do you
> get any output?
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Yahoo! Music Unlimited
Access over 1 million songs.
http://
Revision history for this message
|
#15 |
I would attempt to use a different tool, like xawtv to see if it gives any other messages.
Let me know how you go.
Revision history for this message
|
#16 |
As I stated earlier, I'm in the middle of a huge
download right now. I want to try restarting the
computer to see if that helps, but I am afraid to stop
the download for fear it won't restart (its a
bitttorrent and I'm not exactly familiar with them so
I don't know how likely it would be to restart where
it left off)
Anyway, I didn't know Xawtv would work with a webcam,
I used to use it in Mandrake to view TV on my
computer, as it had a TV card at the time. This
computer doesn't have a slot I can put the TV card
into. If Camorama won't work, I may try some other
tool, but are you sure Xawtv will work? As far as I
know, it doesn't have any webcam capability (but I
admit I could be mistaken.)
Well, I think I'll give up for tonight, so if you
write back, I won't see it until tomorrow. I'll let
you know what happens when I finally finish the
download and can restart the comp.
Thanks much for all the help.
--- Onno Benschop <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Needs information
>
> Onno Benschop requested for more information:
> I would attempt to use a different tool, like xawtv
> to see if it gives
> any other messages.
>
> Let me know how you go.
>
>
_______
> To answer this request for more information, you can
> either reply to
> this email or enter your reply at the following
> page:
>
https:/
>
_______
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://
Revision history for this message
|
#17 |
Ok, a few points.
If you stop a bit torrent download (say for a reboot) - you can continue again later. It won't start from the beginning.
If you choose to reboot it will likely mean that the driver you have loaded ( the modprobe line ) will not be re-loaded when you reboot, so you'll have to go back and do some of these steps again.
Finally, rebooting almost never fixes things on Linux in the way it does on Windows. Usually there is some way to manipulate the system by stopping and starting individual programs or unloading and reloading various modules. There are very few problems that are "fixed" by a reboot.
xawtv can take input from a webcam, or rather from /dev/video* and will just display it. Another good program to install is camstream.
Revision history for this message
|
#18 |
User confirmed that the request is solved.
Revision history for this message
|
#19 |
Alan,
Thank you for your help. Using Xawtv worked, and the
cam is up and running. Surprised me as the only
experience I had had before with Xawtv was using it to
run a TV tuner card...
As for my download, yes, I know that torrents are
'supposed' to resume, even after a reboot, but frankly
I don't trust it. I have had other apps (in windows,
not Linux) that said they could resume downloads, and
failed to do so, and when the download is over 700
megabytes, and you are on a wireless connection that
runs between 0 and about 30 Mbp/s, well, you don't
take unnecessary risks.
Anyway, Xawtv worked and I can use the cam in Linux
now, so thank you very much.
Also, I wasn't really trying to disparage Linux by
saying I wanted to reboot to see if that helped, it
was more that I felt perhaps the cam needed the reboot
to work, not Linux.
Thanks again for the assistance, it was a great help
to me.
--- Alan Pope <email address hidden>
wrote:
> Your support request #2601 on Ubuntu changed:
>
https:/
>
> Status: Open => Answered
>
> Alan Pope proposed the following answer:
> Ok, a few points.
>
> If you stop a bit torrent download (say for a
> reboot) - you can continue
> again later. It won't start from the beginning.
>
> If you choose to reboot it will likely mean that the
> driver you have
> loaded ( the modprobe line ) will not be re-loaded
> when you reboot, so
> you'll have to go back and do some of these steps
> again.
>
> Finally, rebooting almost never fixes things on
> Linux in the way it does
> on Windows. Usually there is some way to manipulate
> the system by
> stopping and starting individual programs or
> unloading and reloading
> various modules. There are very few problems that
> are "fixed" by a
> reboot.
>
> xawtv can take input from a webcam, or rather from
> /dev/video* and will
> just display it. Another good program to install is
> camstream.
>
>
_______
> If this answers your request, please go to the
> following page to let us
> know that it is solved:
>
https:/
>
> If you still need support, you can reply to this
> email or go to the
> following page to enter your feedback:
>
https:/
>
_______
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://
Revision history for this message
|
#20 |
Just a little note to thank both people who tried to answer my question, and to thank whoever runs this service.
Having used Linux-Mandrake in the past, and being a long time windows user, I can safely state that neither of those OS's had such great support services.
I really appreciate the support you have provided here. If this is any indication of the philosophy and attitude of the Ubuntu team, then Bravo! and thanks again. Also, I do believe I will continue using your fine product.
Revision history for this message
|
#21 |
Same problem here with my A4tech camera.
xawtv only show black window, the messages from console:
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-16-generic)
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available
oddvar@Feisty:~$
Here are the two output
Before unplug
oddvar@Feisty:~$ cat /proc/bus/
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0ac8 ProdID=303b Rev= 1.00
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=04b8 ProdID=010a Rev= 1.04
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=2821 ProdID=5002 Rev= 0.01
After unplug:
oddvar@Feisty:~$ cat /proc/bus/
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=04b8 ProdID=010a Rev= 1.04
P: Vendor=0000 ProdID=0000 Rev= 2.06
P: Vendor=2821 ProdID=5002 Rev= 0.01
oddvar@Feisty:~$
So what is the problem? My webcam used to function first time I installed Ubuntu Feisty (3 mnths ago)
but now only give black screen.
Anyone know why?