Computer webcam is showing upside down

Asked by Justin

I apologize for this, but my roomate just installed lynix on my laptop because my windows seven crashed. so far im loving it however for some reason my cam is showing upside down. i know there is a way to correct the problem, just have no idea on doing so, can anyone help?

Cordially,

Scott

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsusb; lsmod

Thanks

Revision history for this message
Justin (scott-2034) said :
#2

I apologize, gonna have to be a litte more clear about that. ive been up for quite a while and my brain isnt exactly working correctly tonight.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Press CTRL+ALT+T
paste the command into terminal and hit ENTER, copy the output and paste here

Revision history for this message
Justin (scott-2034) said :
#4

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 13d3:5130 IMC Networks
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Module Size Used by
nls_iso8859_1 3261 1
nls_cp437 4931 1
btrfs 489451 0
zlib_deflate 19266 1 btrfs
crc32c 2531 1
libcrc32c 887 1 btrfs
ufs 73069 0
qnx4 6877 0
hfsplus 71344 0
hfs 41250 0
minix 25303 0
ntfs 95015 0
vfat 9201 1
msdos 6436 0
fat 48240 2 vfat,msdos
jfs 171034 0
xfs 693150 0
exportfs 3449 1 xfs
reiserfs 225942 0
binfmt_misc 6599 1
parport_pc 26058 0
ppdev 5556 0
snd_hda_codec_via 51755 1
snd_hda_intel 22107 6
snd_hda_codec 87552 2 snd_hda_codec_via,snd_hda_intel
i915 290938 3
snd_hwdep 5040 1 snd_hda_codec
drm_kms_helper 30200 1 i915
arc4 1165 2
snd_pcm 71475 4 snd_hda_intel,snd_hda_codec
drm 168054 4 i915,drm_kms_helper
ath9k 88756 0
ath9k_common 5982 1 ath9k
ath9k_hw 292297 2 ath9k,ath9k_common
snd_seq_midi 4588 0
ath 8153 2 ath9k,ath9k_hw
mac80211 231541 2 ath9k,ath9k_common
snd_rawmidi 17783 1 snd_seq_midi
snd_seq_midi_event 6047 1 snd_seq_midi
joydev 8735 0
snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
cfg80211 144470 4 ath9k,ath9k_common,ath,mac80211
intel_agp 26360 2 i915
asus_laptop 14084 0
agpgart 32011 2 drm,intel_agp
snd 49006 19 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse 59033 0
uvcvideo 55847 1
sparse_keymap 3145 1 asus_laptop
videodev 43098 2 uvcvideo
soundcore 880 1 snd
led_class 2633 2 ath9k,asus_laptop
i2c_algo_bit 5168 1 i915
video 18712 1 i915
lp 7342 0
output 1883 1 video
snd_page_alloc 7120 2 snd_hda_intel,snd_pcm
v4l1_compat 13359 2 uvcvideo,videodev
serio_raw 4022 0
parport 31492 3 parport_pc,ppdev,lp
ahci 19013 0
libahci 21667 5 ahci
atl1e 29331 0

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

sudo add-apt-repository ppa:libv4l; sudo aptitude update && sudo aptitude install gtk-v4l libv4l-0

May help

When you run cheese, is it ok?

If not then try:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese

is it better then?

Revision history for this message
Justin (scott-2034) said :
#6

justin@Scott-Laptop:~$ sudo add-apt-repository ppa:libv4l; sudo aptitude update && sudo aptitude install gtk-v4l libv4l-0
[sudo] password for justin:
Sorry, try again.
[sudo] password for justin:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv F096A7E0B2919317A7535B12F86C6AC1C3FFB4AA
gpg: requesting key C3FFB4AA from hkp server keyserver.ubuntu.com
gpg: key C3FFB4AA: public key "Launchpad libv4l" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
sudo: aptitude: command not found
justin@Scott-Laptop:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
The program 'cheese' is currently not installed. You can install it by typing:
sudo apt-get install cheese
justin@Scott-Laptop:~$ ^C
justin@Scott-Laptop:~$ sudo apt-get install cheese
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  cheese-common libcheese-gtk18
The following NEW packages will be installed:
  cheese cheese-common libcheese-gtk18
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,469kB of archives.
After this operation, 3,723kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main libcheese-gtk18 i386 2.32.0-0ubuntu1 [70.5kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/main cheese-common all 2.32.0-0ubuntu1 [2,335kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ maverick/main cheese i386 2.32.0-0ubuntu1 [63.2kB]
Fetched 2,469kB in 6s (356kB/s)
Selecting previously deselected package libcheese-gtk18.
(Reading database ... 142384 files and directories currently installed.)
Unpacking libcheese-gtk18 (from .../libcheese-gtk18_2.32.0-0ubuntu1_i386.deb) ...
Selecting previously deselected package cheese-common.
Unpacking cheese-common (from .../cheese-common_2.32.0-0ubuntu1_all.deb) ...
Selecting previously deselected package cheese.
Unpacking cheese (from .../cheese_2.32.0-0ubuntu1_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up libcheese-gtk18 (2.32.0-0ubuntu1) ...
Setting up cheese-common (2.32.0-0ubuntu1) ...
Setting up cheese (2.32.0-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
justin@Scott-Laptop:~$ sudo add-apt-repository ppa:libv4l; sudo aptitude update && sudo aptitude install gtk-v4l libv4l-0

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv F096A7E0B2919317A7535B12F86C6AC1C3FFB4AA
gpg: requesting key C3FFB4AA from hkp server keyserver.ubuntu.com
gpg: key C3FFB4AA: "Launchpad libv4l" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
sudo: aptitude: command not found

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo aptitude install gtk-v4l libv4l-0

You are typing the command instead of pasting it here, causing errors

After that command, does cheese work without the extra option?

Revision history for this message
Justin (scott-2034) said :
#8

cheese is installed and working well, but still upside down.

Revision history for this message
Justin (scott-2034) said :
#9

Okay, I am an idoit, I figured the program out, thanks a lot

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Is the image now the right way around?

Revision history for this message
Justin (scott-2034) said :
#11

okay, so my other questiion for video feed far as like using skype with it, how do i turn it around?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

After the changes is is still upside down in skype (I suggest you retest if you haven't already). if not then run:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

Is it ok now? If so we can make the change permanent.

Revision history for this message
Justin (scott-2034) said :
#13

no still upside down

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

ok try running:

echo "options uvcvideo vflip=1" | sudo tee /etc/modprobe.d/uvcvideo.conf

Then reboot, is it better?

Revision history for this message
Justin (scott-2034) said :
#15

Nope, i must have done something horribly wrong now, it its not registering my cam now.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

ok run:

sudo rm /etc/modprobe.d/uvcvideo.conf

and reboot to get back to updide down land, what is the make / model of the webcam?

Revision history for this message
Justin (scott-2034) said :
#17

It is in my ASUS Laptop internal.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

ASUS make about 200 different models of laptop, can you be more spacific. The bottom of the device will show the model.

Revision history for this message
Justin (scott-2034) said :
#19

ASUS K501

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#20

So if you use v4lctrl can you get it the right way up?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#21

could also try:

export LIBV4LCONTROL_FLAGS=3; skype

See if that flys..

Revision history for this message
Justin (scott-2034) said :
#22

Nope,

Revision history for this message
Ian Ace (iaculallad) said :
#23

A solution I did when I met that error was to use cheese's vertical flip effect.

Install cheese first with:

sudo apt-get install cheese

Revision history for this message
Justin (scott-2034) said :
#24

no it works on cheese but my video on skype still transmitting upside down.

Revision history for this message
delance (olivier-delance) said :
#25

The joke is manufacturer mounted the webcam upside down.
If you google the USB identifier "13d3:5130" you should get more data.

Revision history for this message
Justin (scott-2034) said :
#26

if that's the case, how come when i had windows seven it worked just fine? just a curious question

Revision history for this message
delance (olivier-delance) said :
#27

Because the manufacturer provided you a driver which take image and turn it!
This webcam is very well known in Ubuntu world, and i saw half a dozen of questions about it since six months.

Revision history for this message
Justin (scott-2034) said :
#28

I seen that, when i searched what you posted above i saw that there was several problems, I am thinking about taking apart my monitor, and just flipping the webcam, what you think?

Revision history for this message
Justin (scott-2034) said :
#29

Thanks for everyone's help, I am very experienced in windows operating systems, seeing i have have been working on them sense they came out with the first actual version of windows, and i turned to this operating system yesterday after my Windows seven crashed. I already have the lay out down pretty good, just trying to figure out how the coding works sense it's entirely opposite from the windows MS DOS or Command Prompt coding. But from seeing how this operating system works, and the usability of my hardware simplified, I am loving it. seems that every component in my laptop has been upgraded 90 percent.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#30

If you are comfortable with turning it round, I don't see why not.

Vast windows experience gives you some basic mindset to use Linux but it is vastly different. You will find people who boast they are "good with computers" usually mean they are "good with Windows desktop".

;)

Revision history for this message
Justin (scott-2034) said :
#31

lol, that's an understatement, Yeah I'll end up taking the monitor apart and fixing it later, i'm to lazy now to go through the hassle,

Can you help with this problem?

Provide an answer of your own, or ask Justin for more information if necessary.

To post a message you must log in.