Login Hasło

#1 2008.10.08 19:13:38

jakoku2
Użytkownik
Zarejestrowany: 2008.04.03
Posty: 35
System: ubuntu 8.04
Fluxbox: 1.0.0
WWW

kamera cyfrowa

kamera cyfrowa odmawia posłuszeństwa, wertuje google już kilka dni i nic..
kamera cyfrowa
04da:231d Panasonic
NV-GS27 podłączona przez zwykły kabel USB.
kino ogolnie nie wykrywa sprzętu, możliwe że potrzebuje IEEE 1395 czy jak mu tam było...., ale nie mam takiego wejścia.

Kod:

dmesg | tail
[18407.352000] uvcvideo: Found UVC 1.00 device DVC (04da:231d)
[18407.356000] usbcore: registered new interface driver uvcvideo
[18407.356000] USB Video Class driver (v0.1.0)
[18416.152000] uvcvideo: Non-zero status (-84) in status completion handler.
[18416.368000] usb 1-1: USB disconnect, address 3
[18424.924000] usb 1-1: new full speed USB device using uhci_hcd and address 4
[18425.092000] usb 1-1: configuration #1 chosen from 1 choice
[18425.108000] uvcvideo: Found UVC 1.00 device DVC (04da:231d)
[18512.760000] uvcvideo: Non-zero status (-84) in status completion handler.
[18512.884000] usb 1-1: USB disconnect, address 4

Kod:

xawtv -hwscan

/dev/video1: OK                         [ -device /dev/video1 ]
    type : v4l2
    name : DVC
    flags:  capture

xawtv

Kod:

This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.22-15-generic)
xinerama 0: 1024x768+0+0
/dev/video1 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xb7dde990b7f7ee73 [PAL_B,PAL_B1,PAL_I,PAL_D,PAL_D1,PAL_N,PAL_Nc,PAL_60,NTSC_M_JP,?,?,SECAM_B,SECAM_D,SECAM_G,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_G_INPUT(int=0): Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)

lsmod bez włączonej kamery

Kod:

sudo lsmod
[sudo] password for ddj:
Module                  Size  Used by
r128                   41088  2 
drm                    83348  3 r128
speedstep_lib           6404  0 
cpufreq_conservative     8072  0 
cpufreq_stats           7232  0 
cpufreq_userspace       5280  0 
cpufreq_powersave       2688  0 
cpufreq_ondemand        9612  0 
freq_table              5792  2 cpufreq_stats,cpufreq_ondemand
container               5504  0 
sbs                    19592  0 
button                  8976  0 
dock                   10656  0 
video                  18060  0 
ac                      6148  0 
battery                11012  0 
ipv6                  273892  8 
lp                     12580  0 
loop                   19076  0 
snd_emu10k1_synth       8192  0 
snd_emux_synth         35456  1 snd_emu10k1_synth
snd_seq_virmidi         8064  1 snd_emux_synth
snd_seq_midi_emul       7680  1 snd_emux_synth
snd_emu10k1           137248  1 snd_emu10k1_synth
snd_ac97_codec        100644  1 snd_emu10k1
ac97_bus                3200  1 snd_ac97_codec
snd_pcm_oss            44672  0 
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc         11400  2 snd_emu10k1,snd_pcm
snd_util_mem            5760  2 snd_emux_synth,snd_emu10k1
snd_hwdep              10244  2 snd_emux_synth,snd_emu10k1
snd_seq_dummy           4740  0 
snd_seq_oss            33152  0 
snd_seq_midi            9600  0 
pcspkr                  4224  0 
gspca                 608336  0 
videodev               29312  1 gspca
v4l2_common            18432  1 videodev
v4l1_compat            15364  1 videodev
snd_rawmidi            25728  3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq_midi_event      8448  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                53232  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24324  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device          9228  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
serio_raw               8068  0 
psmouse                39952  0 
emu10k1_gp              4736  0 
snd                    54660  13 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
gameport               16776  2 emu10k1_gp
soundcore               8800  1 snd
via686a                17416  0 
i2c_isa                 5248  1 via686a
i2c_viapro             10004  0 
shpchp                 34580  0 
i2c_core               26112  3 via686a,i2c_isa,i2c_viapro
via_agp                11264  1 
pci_hotplug            32704  1 shpchp
parport_pc             37412  1 
parport                37448  2 lp,parport_pc
agpgart                35016  2 drm,via_agp
af_packet              24840  2 
evdev                  11136  3 
ext3                  133896  1 
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
ide_cd                 32672  0 
cdrom                  37536  1 ide_cd
ide_disk               18560  5 
ata_generic             8452  0 
libata                125168  1 ata_generic
scsi_mod              147084  1 libata
ne2k_pci               12000  0 
8390                   11776  1 ne2k_pci
uhci_hcd               26640  0 
usbcore               138632  3 gspca,uhci_hcd
via82cxxx              10372  0 [permanent]
ide_core              116804  3 ide_cd,ide_disk,via82cxxx
thermal                14344  0 
processor              32072  1 thermal
fan                     5764  0 
fuse                   47124  3 
apparmor               40728  0 
commoncap               8320  1 apparmor
ddj@ubuntu:~$

po dołączeniu kamery cyfrowej;

Kod:

sudo lsmod
Module                  Size  Used by
snd_usb_audio          81024  0 
snd_usb_lib            17920  1 snd_usb_audio
uvcvideo               48644  0 
compat_ioctl32          2304  1 uvcvideo
r128                   41088  2 
drm                    83348  3 r128
speedstep_lib           6404  0 
cpufreq_conservative     8072  0 
cpufreq_stats           7232  0 
cpufreq_userspace       5280  0 
cpufreq_powersave       2688  0 
cpufreq_ondemand        9612  0 
freq_table              5792  2 cpufreq_stats,cpufreq_ondemand
container               5504  0 
sbs                    19592  0 
button                  8976  0 
dock                   10656  0 
video                  18060  0 
ac                      6148  0 
battery                11012  0 
ipv6                  273892  8 
lp                     12580  0 
loop                   19076  0 
snd_emu10k1_synth       8192  0 
snd_emux_synth         35456  1 snd_emu10k1_synth
snd_seq_virmidi         8064  1 snd_emux_synth
snd_seq_midi_emul       7680  1 snd_emux_synth
snd_emu10k1           137248  1 snd_emu10k1_synth
snd_ac97_codec        100644  1 snd_emu10k1
ac97_bus                3200  1 snd_ac97_codec
snd_pcm_oss            44672  0 
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  4 snd_usb_audio,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc         11400  2 snd_emu10k1,snd_pcm
snd_util_mem            5760  2 snd_emux_synth,snd_emu10k1
snd_hwdep              10244  3 snd_usb_audio,snd_emux_synth,snd_emu10k1
snd_seq_dummy           4740  0 
snd_seq_oss            33152  0 
snd_seq_midi            9600  0 
pcspkr                  4224  0 
gspca                 608336  0 
videodev               29312  2 uvcvideo,gspca
v4l2_common            18432  2 uvcvideo,videodev
v4l1_compat            15364  2 uvcvideo,videodev
snd_rawmidi            25728  4 snd_usb_lib,snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq_midi_event      8448  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                53232  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24324  3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device          9228  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
serio_raw               8068  0 
psmouse                39952  0 
emu10k1_gp              4736  0 
snd                    54660  14 snd_usb_audio,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
gameport               16776  2 emu10k1_gp
soundcore               8800  1 snd
via686a                17416  0 
i2c_isa                 5248  1 via686a
i2c_viapro             10004  0 
shpchp                 34580  0 
i2c_core               26112  3 via686a,i2c_isa,i2c_viapro
via_agp                11264  1 
pci_hotplug            32704  1 shpchp
parport_pc             37412  1 
parport                37448  2 lp,parport_pc
agpgart                35016  2 drm,via_agp
af_packet              24840  2 
evdev                  11136  3 
ext3                  133896  1 
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
ide_cd                 32672  0 
cdrom                  37536  1 ide_cd
ide_disk               18560  5 
ata_generic             8452  0 
libata                125168  1 ata_generic
scsi_mod              147084  1 libata
ne2k_pci               12000  0 
8390                   11776  1 ne2k_pci
uhci_hcd               26640  0 
usbcore               138632  6 snd_usb_audio,snd_usb_lib,uvcvideo,gspca,uhci_hcd
via82cxxx              10372  0 [permanent]
ide_core              116804  3 ide_cd,ide_disk,via82cxxx
thermal                14344  0 
processor              32072  1 thermal
fan                     5764  0 
fuse                   47124  3 
apparmor               40728  0 
commoncap               8320  1 apparmor
ddj@ubuntu:~$

dodam,że po:

Kod:

 xawtv
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.22-15-generic)
xinerama 0: 1024x768+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xb7ddc990b7f7ce73 [PAL_B,PAL_B1,PAL_I,PAL_D,PAL_D1,PAL_N,PAL_Nc,PAL_60,?,?,SECAM_B,SECAM_D,SECAM_G,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_G_INPUT(int=0): Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Resource id in failed request:  0x1a0005d
  Serial number of failed request:  3463
  Current serial number in output stream:  3463

wyskoczyło coś nowego na końcu.

Udało mi się uruchomić kamerę w programie:

Kod:

 luvcview
luvcview version 0.2.1 
Video driver: x11
A window manager is available
video /dev/video0 

Stop asked
 Clean Up done Quit

ale w żadnym innym nie uruchamia się

Ostatnio edytowany przez jakoku2 (2008.10.08 22:16:33)


Obalać prawa ustanawiając nowe - oto dowód siły.

Offline

 

#2 2008.10.08 22:24:24

ilin
Palacz
Skąd: Siemianice
Zarejestrowany: 2008.01.02
Posty: 190
System: Debian Wheezy/Sid
Fluxbox: 1.3.5

Re: kamera cyfrowa

Hola hola jak to jest.

Xawtv pokazuje /dev/video1 a w tym drugim dziala przez /dev/video0.

Cos tu nie gra.

Co masz w tego kompa jeszcze wpięte.

Offline

 

#3 2008.10.09 16:42:28

jakoku2
Użytkownik
Zarejestrowany: 2008.04.03
Posty: 35
System: ubuntu 8.04
Fluxbox: 1.0.0
WWW

Re: kamera cyfrowa

Mam podłączoną kamerę internetową,która po podłączeniu jest /dev/video0 podłączam kamerę cyfrową która jest /dev/video1, po odłączeniu kamery internetowej, program luvcview uruchomił kamerę cyfrową jako /dev/video0,


Obalać prawa ustanawiając nowe - oto dowód siły.

Offline

 

#4 2008.10.12 16:38:21

ilin
Palacz
Skąd: Siemianice
Zarejestrowany: 2008.01.02
Posty: 190
System: Debian Wheezy/Sid
Fluxbox: 1.3.5

Re: kamera cyfrowa

Sprobuj

Kod:

xawtv -c /dev/videoX -nodga

Gdzie /dev/videoX  to pod ktorym akurat masz kamerę /dev/video0 lub /dev/video1

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson