|
List Info
Thread: 064e:a101 Suyin Corp. Cam in Acer Notebook
|
|
| 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  Germany |
2007-09-23 07:58:27 |
Hi,
recently I bought an Acer Travelmate 5720 Notebook which
comes with a build in webcam. I installed Kubuntu Feisty and
was able to access the camera and grab some images:
ffmpeg -an -vd /dev/video0 -s 480x320 -sameq -vcodec mpeg4
"test.avi"
Linphone can't though. All it does is (when invoked
"verbose")
ortp-message-oRTP-0.14.0 initialized.
ortp-message-Registering all filters...
ortp-message-Registering all soundcard handlers
ortp-message-Card ALSA: default device added
ortp-message-Card ALSA: HDA Intel added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Loading plugins
ortp-message-Cannot open directory
/usr/lib/mediastreamer/plugins: No such file or directory
ortp-message-ms_init() done
ortp-message-DNS resolution with 0.0.0.0:5060
ortp-message-getaddrinfo returned the following addresses:
ortp-message-0.0.0.0 port 5060
ortp-message-eXosip: Reseting timer to 15s before waking
up!
ortp-message-v4l_start: open, fd=11
ortp-message-v4lv2: V4L2_PIX_FMT_YUYV choosen
ortp-message-Device is a video4linux V2 one.
ortp-message-ms_filter_link:
MSV4l:0x821ad10,0-->MSPixConv:0x821ad90,0
ortp-message-ms_filter_link:
MSPixConv:0x821ad90,0-->MSVideoOut:0x821ad50,0
ortp-message-v4l_thread starting
ortp-message-Using yuv overlay.
ortp-error-VIDIOC_STREAMON failed: Protocol error
ortp-message-eXosip: Reseting timer to 15s before waking
up!
ortp-message-eXosip: Reseting timer to 15s before waking
up!
ortp-message-eXosip: Reseting timer to 15s before waking
up!
Then, the video screen stays just black. What a pity!!
What's wrong?
Conrad
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  United States |
2007-10-05 02:55:02 |
Hi Conrad,
You are not the only one having this problem.
What is the driver name of the camera ?
It is perhaps a bug in the driver, but it can surely be
workarounded since
ffmpeg succeed to talk with that driver.
I need to dig into the driver source to understand what that
protocol error
means, that's why I'd like to know the driver name.
Thanks
Simon
Le Sunday 23 September 2007 14:58:27 Conrad Beckert, vous
avez écrit :
> Hi,
>
> recently I bought an Acer Travelmate 5720 Notebook
which comes with a build
> in webcam. I installed Kubuntu Feisty and was able to
access the camera and
> grab some images: ffmpeg -an -vd /dev/video0 -s 480x320
-sameq -vcodec
> mpeg4 "test.avi"
>
>
> Linphone can't though. All it does is (when invoked
"verbose")
>
>
> ortp-message-oRTP-0.14.0 initialized.
> ortp-message-Registering all filters...
> ortp-message-Registering all soundcard handlers
> ortp-message-Card ALSA: default device added
> ortp-message-Card ALSA: HDA Intel added
> ortp-message-Card OSS: /dev/dsp added
> ortp-message-Card OSS: /dev/dsp added
> ortp-message-Loading plugins
> ortp-message-Cannot open directory
/usr/lib/mediastreamer/plugins: No such
> file or directory ortp-message-ms_init() done
> ortp-message-DNS resolution with 0.0.0.0:5060
> ortp-message-getaddrinfo returned the following
addresses:
> ortp-message-0.0.0.0 port 5060
> ortp-message-eXosip: Reseting timer to 15s before
waking up!
> ortp-message-v4l_start: open, fd=11
> ortp-message-v4lv2: V4L2_PIX_FMT_YUYV choosen
> ortp-message-Device is a video4linux V2 one.
> ortp-message-ms_filter_link:
MSV4l:0x821ad10,0-->MSPixConv:0x821ad90,0
> ortp-message-ms_filter_link:
MSPixConv:0x821ad90,0-->MSVideoOut:0x821ad50,0
> ortp-message-v4l_thread starting
> ortp-message-Using yuv overlay.
> ortp-error-VIDIOC_STREAMON failed: Protocol error
> ortp-message-eXosip: Reseting timer to 15s before
waking up!
> ortp-message-eXosip: Reseting timer to 15s before
waking up!
> ortp-message-eXosip: Reseting timer to 15s before
waking up!
>
>
> Then, the video screen stays just black. What a pity!!
>
> What's wrong?
>
> Conrad
>
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  Germany |
2007-10-09 18:16:59 |
Hi Simon,
... I like the support you're providing. We can rely on that
every
request is answered - even if there is pressure on your side
and it
takes a couple of days - it's not forgotten
The driver according to lsmod is uvcvideo (see my lsmod
below). This
happens when I do a --verbose is this one:
ortp-message-v4l_start: open, fd=11
ortp-message-v4lv2: V4L2_PIX_FMT_YUYV choosen
ortp-message-Device is a video4linux V2 one.
ortp-message-ms_filter_link:
MSV4l:0x82666f8,0-->MSPixConv:0x825b770,0
ortp-message-ms_filter_link:
MSPixConv:0x825b770,0-->MSVideoOut:0x825d1f8,0
ortp-message-v4l_thread starting
ortp-message-Using yuv overlay.
ortp-error-VIDIOC_STREAMON failed: Protocol error
ortp-message-v4l thread has joined.
ortp-message-v4l fd 11 closed
ortp-message-ms_filter_unlink:
MSV4l:0x82666f8,0-->MSPixConv:0x825b770,0
ortp-message-ms_filter_unlink:
MSPixConv:0x825b770,0-->MSVideoOut:0x825d1f8,0
ortp-message-MSTicker thread exiting
ortp-message-v4l_start: open, fd=11
ortp-error-Could not find supported pixel format.
ortp-message-Found Acer CrystalEye webcam device.
(maxsize=0x0)
ortp-message-Default picture properties:
brightness=2056,hue=32768,colour=19661,contrast=8224,depth=1
6,
palette=8.
ortp-warning-Could not set picture properties: Device or
resource busy
ortp-messa
ge-Driver does not support YUV420P, trying RGB24...
ortp-warning-Could not set picture properties: Device or
resource busy
ortp-fatal-Unsupported video pixel format.
Hope that helps. Thank you in advance
Greetings
Conrad
This is my lsmod:
Module Size Used by
nls_iso8859_1 5120 1
nls_cp437 6784 1
vfat 14080 1
fat 54300 1 vfat
usb_storage 72896 1
ide_core 116548 1 usb_storage
libusual 18192 1 usb_storage
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
acpi_cpufreq 10568 1
cpufreq_userspace 5280 0
cpufreq_ondemand 9612 0
cpufreq_conservative 8072 0
cpufreq_powersave 2688 1
cpufreq_stats 7232 0
freq_table 5792 3
acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
button 8976 0
video 18060 0
battery 11012 0
container 5504 0
ac 6148 0
dock 10656 0
sbs 19592 0
sbp2 24072 0
parport_pc 37412 0
lp 12580 0
parport 37448 3 ppdev,parport_pc,lp
joydev 11328 0
snd_hda_intel 263712 1
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss
pcmcia 41388 0
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
ipw3945 119840 1
nsc_ircc 24336 0
snd_seq 53232 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
tifm_7xx1 8832 0
irda 202300 1 nsc_ircc
tifm_core 11652 1 tifm_7xx1
uvcvideo 48644 0
ieee80211 35656 1 ipw3945
ieee80211_crypt 7040 1 ieee80211
sdhci 18828 0
yenta_socket 27532 1
crc_ccitt 3072 1 irda
compat_ioctl32 2304 1 uvcvideo
videodev 29312 1 uvcvideo
v4l1_compat 15364 2 uvcvideo,videodev
v4l2_common 18432 2 uvcvideo,videodev
mmc_core 28420 1 sdhci
psmouse 39952 0
rsrc_nonstatic 14080 1 yenta_socket
serio_raw 8068 0
snd 54660 11
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,
snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
snd_page_alloc 10888 2 snd_hda_intel,snd_pcm
pcmcia_core 40980 3
pcmcia,yenta_socket,rsrc_nonstatic
intel_agp 25620 1
agpgart 35016 1 intel_agp
shpchp 34580 0
pci_hotplug 32704 1 shpchp
evdev 11136 5
sr_mod 17828 0
cdrom 37536 1 sr_mod
ext3 133768 2
jbd 60456 1 ext3
mbcache 9732 1 ext3
sg 36764 0
ata_piix 17540 0
sd_mod 30336 7
ohci1394 36528 0
ieee1394 96312 2 sbp2,ohci1394
ata_generic 8452 0
ehci_hcd 36108 0
tg3 110980 0
ahci 23300 4
libata 124528 3 ata_piix,ata_generic,ahci
scsi_mod 147084 6
usb_storage,sbp2,sr_mod,sg,sd_mod,libata
uhci_hcd 26640 0
usbcore 138248 6
usb_storage,libusual,uvcvideo,ehci_hcd,uhci_hcd
thermal 14344 0
processor 31944 2 acpi_cpufreq,thermal
fan 5764 0
fuse 47124 3
apparmor 40600 0
commoncap 8320 1 apparmor
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  United States |
2007-10-12 07:43:35 |
Le Wednesday 10 October 2007 01:16:59 Conrad Beckert, vous
avez écrit :
> Hi Simon,
>
> ... I like the support you're providing. We can rely on
that every
> request is answered - even if there is pressure on your
side and it
> takes a couple of days - it's not forgotten
Thanks !
>
> The driver according to lsmod is uvcvideo (see my
lsmod below). This
> happens when I do a --verbose is this one:
I use uvcvideo too with a logitech pro 4000 camera without
problems...
I looked at the driver code but it never returns
"Protocol error". The error
might come from the lower layers of linux usb support.
I'm going to ask to uvc mailling list...
SImon
>
>
> ortp-message-v4l_start: open, fd=11
> ortp-message-v4lv2: V4L2_PIX_FMT_YUYV choosen
> ortp-message-Device is a video4linux V2 one.
> ortp-message-ms_filter_link:
MSV4l:0x82666f8,0-->MSPixConv:0x825b770,0
> ortp-message-ms_filter_link:
> MSPixConv:0x825b770,0-->MSVideoOut:0x825d1f8,0
> ortp-message-v4l_thread starting
> ortp-message-Using yuv overlay.
> ortp-error-VIDIOC_STREAMON failed: Protocol error
> ortp-message-v4l thread has joined.
> ortp-message-v4l fd 11 closed
> ortp-message-ms_filter_unlink:
MSV4l:0x82666f8,0-->MSPixConv:0x825b770,0
> ortp-message-ms_filter_unlink:
> MSPixConv:0x825b770,0-->MSVideoOut:0x825d1f8,0
> ortp-message-MSTicker thread exiting
> ortp-message-v4l_start: open, fd=11
> ortp-error-Could not find supported pixel format.
> ortp-message-Found Acer CrystalEye webcam device.
(maxsize=0x0)
> ortp-message-Default picture properties:
>
brightness=2056,hue=32768,colour=19661,contrast=8224,depth=1
6,
> palette=8.
> ortp-warning-Could not set picture properties: Device
or resource busy
> ortp-messa
> ge-Driver does not support YUV420P, trying RGB24...
> ortp-warning-Could not set picture properties: Device
or resource busy
> ortp-fatal-Unsupported video pixel format.
>
> Hope that helps. Thank you in advance
>
> Greetings
> Conrad
>
> This is my lsmod:
>
>
> Module Size Used by
> nls_iso8859_1 5120 1
> nls_cp437 6784 1
> vfat 14080 1
> fat 54300 1 vfat
> usb_storage 72896 1
> ide_core 116548 1 usb_storage
> libusual 18192 1 usb_storage
> rfcomm 42136 2
> l2cap 26240 11 rfcomm
> bluetooth 57060 4 rfcomm,l2cap
> ppdev 10244 0
> acpi_cpufreq 10568 1
> cpufreq_userspace 5280 0
> cpufreq_ondemand 9612 0
> cpufreq_conservative 8072 0
> cpufreq_powersave 2688 1
> cpufreq_stats 7232 0
> freq_table 5792 3
> acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
> button 8976 0
> video 18060 0
> battery 11012 0
> container 5504 0
> ac 6148 0
> dock 10656 0
> sbs 19592 0
> sbp2 24072 0
> parport_pc 37412 0
> lp 12580 0
> parport 37448 3 ppdev,parport_pc,lp
> joydev 11328 0
> snd_hda_intel 263712 1
> snd_pcm_oss 44672 0
> snd_mixer_oss 17664 1 snd_pcm_oss
> snd_pcm 80388 2
snd_hda_intel,snd_pcm_oss
> pcmcia 41388 0
> snd_seq_dummy 4740 0
> snd_seq_oss 33152 0
> snd_seq_midi 9600 0
> snd_rawmidi 25728 1 snd_seq_midi
> snd_seq_midi_event 8448 2
snd_seq_oss,snd_seq_midi
> ipw3945 119840 1
> nsc_ircc 24336 0
> snd_seq 53232 6
>
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_timer 24324 2 snd_pcm,snd_seq
> snd_seq_device 9228 5
>
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
> tifm_7xx1 8832 0
> irda 202300 1 nsc_ircc
> tifm_core 11652 1 tifm_7xx1
> uvcvideo 48644 0
> ieee80211 35656 1 ipw3945
> ieee80211_crypt 7040 1 ieee80211
> sdhci 18828 0
> yenta_socket 27532 1
> crc_ccitt 3072 1 irda
> compat_ioctl32 2304 1 uvcvideo
> videodev 29312 1 uvcvideo
> v4l1_compat 15364 2 uvcvideo,videodev
> v4l2_common 18432 2 uvcvideo,videodev
> mmc_core 28420 1 sdhci
> psmouse 39952 0
> rsrc_nonstatic 14080 1 yenta_socket
> serio_raw 8068 0
> snd 54660 11
>
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,
snd_rawmidi,snd
>_seq,snd_timer,snd_seq_device soundcore
8800 1 snd
> snd_page_alloc 10888 2 snd_hda_intel,snd_pcm
> pcmcia_core 40980 3
pcmcia,yenta_socket,rsrc_nonstatic
> intel_agp 25620 1
> agpgart 35016 1 intel_agp
> shpchp 34580 0
> pci_hotplug 32704 1 shpchp
> evdev 11136 5
> sr_mod 17828 0
> cdrom 37536 1 sr_mod
> ext3 133768 2
> jbd 60456 1 ext3
> mbcache 9732 1 ext3
> sg 36764 0
> ata_piix 17540 0
> sd_mod 30336 7
> ohci1394 36528 0
> ieee1394 96312 2 sbp2,ohci1394
> ata_generic 8452 0
> ehci_hcd 36108 0
> tg3 110980 0
> ahci 23300 4
> libata 124528 3
ata_piix,ata_generic,ahci
> scsi_mod 147084 6
usb_storage,sbp2,sr_mod,sg,sd_mod,libata
> uhci_hcd 26640 0
> usbcore 138248 6
> usb_storage,libusual,uvcvideo,ehci_hcd,uhci_hcd
> thermal 14344 0
> processor 31944 2 acpi_cpufreq,thermal
> fan 5764 0
> fuse 47124 3
> apparmor 40600 0
> commoncap 8320 1 apparmor
>
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  United States |
2007-10-12 07:50:37 |
Hi,
I'm the maintainer of linphone (video chat tool), and I use
uvcvideo driver
without major problems every day, however I receive many
complaints of users
having "Protocol error" (EPROT) returned by the
VIDEOC_STREAMON ioctl.
The bug is probably in my code, but if you have any hints
about the meaning of
this error, you're welcome !
Thank you very much
Simon
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  United States |
2007-10-30 05:05:47 |
Hi,
Thank you for the advice. I wonder if the problem isn't
related to threads,
since the grabbing process is done within a dedicated thread
in linphone.
Furthermore, the init phase (open, ioctl to setup format and
size) is done
from one thread, while the mmaps, stream-on and QBUF and
DQBUF are done by
another thread.
However the instructions are serialised (the
mmap/stream-on/Q/DQ) occurs AFTER
the init phase.
But I wonder if it cannot confuse the usb stack.
The last complain was from somebody using an "Acer
CrystalEye" camera.
Simon
Le Saturday 13 October 2007 12:23:57 Laurent Pinchart, vous
avez écrit :
> Hi Simon,
>
> On Friday 12 October 2007, Simon Morlat wrote:
> > Hi,
> >
> > I'm the maintainer of linphone (video chat tool),
and I use uvcvideo
> > driver without major problems every day,
>
> Nice to hear
>
> > however I receive many complaints of users having
"Protocol error"
> > (EPROT) returned by the VIDEOC_STREAMON ioctl.
>
> Not as nice :-/
>
> > The bug is probably in my code, but if you have
any hints about the
> > meaning of this error, you're welcome !
>
> I doubt this is a bug in your code. In this context
-EPROTO is a low-level
> USB error generated by the USB stack. It usually
indicates faulty devices
> or cables. What webcams do your complaining users use
?
>
> Best regards,
>
> Laurent Pinchart
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook |
  France |
2007-11-13 08:56:27 |
>
> The USB stack shouldn't care, or at least I think it
shouldn't. Would it be
> possible to move the init phase to the streaming thread
for testing purpose
> ?
>
Yes it is possible. I plan to do it as soon as I can.
Thanks
Simon
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: 064e:a101 Suyin Corp. Cam in Acer
Notebook - Still no im |
  United States |
2008-02-26 09:05:53 |
Hi Conrad,
My only hypothesis concerning this problem is that the linux
usb stack does
not like that linphone makes call to it using 2 different
threads (through
the uvc driver). I plan to rework the grabbing component to
get only one
thread talking with the driver.
I experience also very strange problem with that uvc driver
with pictures
being splitted or very unstable and ffmpeg complaning of
corrupted mjpeg
bitstream. I think all this is related to the threading
design used in
linphone.
Concerning windows vista, I know there are several problems
but unfortunately
I could never have a try myself. A friend of mine is going
to give me its PC
with vista installed to get a chance to solve all those
problems.
Simon
Le Friday 01 February 2008 19:02:45 Conrad Beckert, vous
avez écrit :
> Hi Folks,
>
> ... recently I had some time to install Linphone 2.0.1
on my
> abovementioned notebook.
>
> Unfortunately the problem with the camera persists. I
got a black screen
> and an error message somewhat different then in earlier
tests:
>
> ortp-message-v4l_start: open, fd=15
> ortp-message-v4lv2: V4L2_PIX_FMT_YUYV choosen
> ortp-message-Device is a video4linux V2 one.
> ortp-message-ms_filter_link:
MSV4l:0x821aac0,0-->MSPixConv:0x8214d58,0
> ortp-message-ms_filter_link:
> MSPixConv:0x8214d58,0-->MSVideoOut:0x81e4b88,0
> ortp-message-v4l_thread starting
> ortp-message-Using yuv overlay.
> ortp-message-YUV overlay using hardware acceleration.
> ortp-error-VIDIOC_STREAMON failed: Protocol error
> ortp-message-eXosip: Reseting timer to 15s before
waking up!
> ortp-message-v4l thread has joined.
> ortp-message-v4l fd 15 closed
> ortp-message-ms_filter_unlink:
MSV4l:0x821aac0,0-->MSPixConv:0x8214d58,0
> ortp-message-ms_filter_unlink:
> MSPixConv:0x8214d58,0-->MSVideoOut:0x81e4b88,0
> ortp-message-MSTicker thread exiting
> ortp-message-Release a terminated transaction
> ortp-message-Release a terminated transaction
> ortp-message-free transaction ressource 1 1351328649
> ortp-message-free nict ressource
>
> The camera itself works on Linux. Strangely - Kopete,
of which the (not
> so useful) webcam functionality has always been a
source of crashes or
> even system freezes - gets be a bright, clear picture.
I can even adjust
> brightness, contrast, color etc. there.
>
> What is wrong with Linphone?
>
> I then tried the latest Linphone version on Windows
Vista - with the
> same result.
>
> What's wrong?
>
>
> Thank you for help
> Conrad
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
[1-8]
|
|