[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-usb-users
Subject: Re: [Linux-usb-users] USB stream from camcorder Sony DCR-HC40(E)
From: Luc Dijon <Luc.Dijon () skynet ! be>
Date: 2004-07-25 21:20:28
Message-ID: 4104241C.3030000 () skynet ! be
[Download RAW message or body]
Alan Stern wrote:
> On Sun, 25 Jul 2004, Luc Dijon wrote:
>
>
>
> That's very good news. It means that patch solved the problem of your
>
> device not being detected and initialized. I will discuss the patch with
> other USB developers, and we'll settle on a version to submit for the
> official kernel.
>
> The questions about why the video driver isn't loaded and whether the
> audio driver is being loaded correctly can now be worked on separately.
> > From your log it looks like things are happening the way they should, but
> there might be some problems in the audio/video drivers or the hotplug
> system. Maybe someone else can try to solve those.
>
> Alan Stern
>
>
>
>
>
Thanks Alan,
Simply Great Job !
The device is properly detected on the USB hub.
Next Step: Trying to match the "nearest" Web cam module:
Hotplug fails to load the right video driver because it has no description of such a \
device and load only the Sound driver. It makes sense. I created an entry in hotplug \
config to force its detection and a mapping on the pwc module. Why pwc ? It seems to \
be the most "generic module"..and it contains some references to Some Sony Sensors. \
The DCR-HC40 is a Sony :-).
I tried to add a description in pwc-if of the device by adding
something like USB_DEVICE(0x054c,0x00c0) in the list of well known devices by PWC. \
Ok.
Then, the next problem was to assign "right device type" to recognize the "sensor id" \
and so on..... I modified a bit pwc-if.c. I made 2 tests. One with a type <675 and \
another with a type >730...Bang ! no more success :-o. Both tests failed on the \
detection of the sensor_id.
Here are some traces of the pwc module I tried to modify a bit:
Jul 25 22:52:19 bikini kernel: usb 1-1: new full speed USB device using address 5
Jul 25 22:52:19 bikini kernel: usb 1-1: skipped 3 descriptors after interface
Jul 25 22:52:19 bikini kernel: usb 1-1: skipped 2 descriptors after interface
Jul 25 22:52:19 bikini kernel: usb 1-1: skipped 1 descriptor after endpoint
Jul 25 22:52:19 bikini kernel: usb 1-1: new device strings: Mfr=0, Product=0, \
SerialNumber=0
Jul 25 22:52:19 bikini kernel: usb 1-1: hotplug
Jul 25 22:52:19 bikini kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0)
Jul 25 22:52:19 bikini kernel: usb 1-1:1.0: hotplug
Jul 25 22:52:19 bikini kernel: Philips webcam 1-1:1.0: usb_probe_interface
Jul 25 22:52:19 bikini kernel: Philips webcam 1-1:1.0: usb_probe_interface - got id
Jul 25 22:52:19 bikini kernel: pwc probe() called [054C 00C0], if 0
Jul 25 22:52:19 bikini kernel: pwc Sony Camcorder DCR-HC40E
Jul 25 22:52:19 bikini kernel: pwc Device serial number is
Jul 25 22:52:19 bikini kernel: pwc Release: 0100
Jul 25 22:52:19 bikini kernel: pwc Registered as /dev/video0.
Jul 25 22:52:19 bikini kernel: pwc probe() function returning struct at 0xf700f000.
Jul 25 22:52:19 bikini kernel: usb 1-1: adding 1-1:1.1 (config #1, interface 1)
Jul 25 22:52:19 bikini kernel: usb 1-1:1.1: hotplug
Jul 25 22:52:19 bikini kernel: snd-usb-audio 1-1:1.1: usb_probe_interface
Jul 25 22:52:19 bikini kernel: snd-usb-audio 1-1:1.1: usb_probe_interface - got id
Jul 25 22:52:19 bikini kernel: usb 1-1: adding 1-1:1.2 (config #1, interface 2)
Jul 25 22:52:19 bikini kernel: usb 1-1:1.2: hotplug
Jul 25 22:52:53 bikini kernel: pwc >> video_open called(vdev = 0xf700f000).
Jul 25 22:52:53 bikini kernel: pwc Doing first time initialization.
Jul 25 22:52:53 bikini kernel: pwc Sony Sensor ID: ffffffe0<6>
Jul 25 22:52:53 bikini kernel: pwc This Sony Camcorder DCR-HC40E
Jul 25 22:52:53 bikini kernel: camera is equipped with a unknown type of sensor \
(-32).
Jul 25 22:52:53 bikini kernel: pwc Failed to set video mode QSIF@10 fps; return code \
= -32
Jul 25 22:52:53 bikini kernel: pwc First attempt at set_video_mode failed.
Any other hint from a USB WebCam Master :-) ?
Thanks again to all of you for your support.
Ciao, ciao,
Luc
-----
Luc Dijon
GPG Key at http://www.keyserver.net
pub 1024D/89954CF7 2004-04-08 Luc Dijon <Luc.Dijon@skynet.be>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic