Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia

Thanks for help.

I must confess there are so many entries in menuconfig I can't find 
where enabling em28xx is hidden (20 minutes searching in vain :-( . 
Could you please help me ?


Le 29/01/2013 15:59, Hans Verkuil a écrit :

On Tue January 29 2013 15:18:12 Olivier Subilia wrote:

Hi,

First of all, I've no experience with this mailing list. I'm not sure
I'm sending my report to the right place. If not, please don't hesitate
to tell it to me (possibly with the right place address).

I'm desperately trying to compile v4l drivers for a PCTV quatrostick
nano. Following this page

http://www.linuxtv.org/wiki/index.php/PCTVSystems_QuatroStick-nano_520e

it uses the em28xx driver.

my configuration: `uname -r` = 3.2.0-35-generic-pae

So I tried to compile it with

$ git clone git://linuxtv.org/media_build.git
$ cd media_built
$ ./build log.log (file attached)

STDERR:

Cloning into 'media_build'...
remote: Counting objects: 1813, done.
remote: Compressing objects: 100% (591/591), done.
remote: Total 1813 (delta 1223), reused 1751 (delta 1183)
Receiving objects: 100% (1813/1813), 423.66 KiB, done.
Resolving deltas: 100% (1223/1223), done.
multimedia@serveur:~$ cd media_build/
multimedia@serveur:~/media_build$ ./build log.log
  From git://linuxtv.org/media_build
   * branchmaster - FETCH_HEAD
--2013-01-29 14:52:49--
http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93 [application/x-bzip2]
Saving to: `linux-media.tar.bz2.md5.tmp'

100%[=]
93  --.-K/s   in 0s

2013-01-29 14:52:49 (7.72 MB/s) - `linux-media.tar.bz2.md5.tmp' saved
[93/93]

cat: linux-media.tar.bz2.md5: No such file or directory
--2013-01-29 14:52:49--
http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4502249 (4.3M) [application/x-bzip2]
Saving to: `linux-media.tar.bz2'

100%[=]
4'502'249   5.47M/s   in 0.8s

2013-01-29 14:52:50 (5.47 MB/s) - `linux-media.tar.bz2' saved
[4502249/4502249]

--2013-01-29 14:52:51--
http://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2
Resolving www.linuxtv.org (www.linuxtv.org)... 130.149.80.248
Connecting to www.linuxtv.org (www.linuxtv.org)|130.149.80.248|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 649441 (634K) [application/x-bzip2]
Saving to: `dvb-firmwares.tar.bz2'

100%[=]
649'441 1.41M/s   in 0.4s

2013-01-29 14:52:51 (1.41 MB/s) - `dvb-firmwares.tar.bz2' saved
[649441/649441]


ln: accessing `../../linux/firmware/dabusb//*': No such file or directory
/home/multimedia/media_build/v4l/anysee.c: In function
'anysee_frontend_attach':
/home/multimedia/media_build/v4l/anysee.c:893:2: warning: 'ret' may be
used uninitialized in this function [-Wuninitialized]
/home/multimedia/media_build/v4l/m920x.c: In function 'm920x_probe':
/home/multimedia/media_build/v4l/m920x.c:91:6: warning: 'ret' may be
used uninitialized in this function [-Wuninitialized]
/home/multimedia/media_build/v4l/m920x.c:70:6: note: 'ret' was declared here
/home/multimedia/media_build/v4l/mxl111sf.c:58:0: warning: err
redefined [enabled by default]
include/linux/usb.h:1655:0: note: this is the location of the previous
definition
/home/multimedia/media_build/v4l/ngene-cards.c:813:2: warning:
initialization discards 'const' qualifier from pointer target type
[enabled by default]
/home/multimedia/media_build/v4l/mxl111sf-tuner.c:34:0: warning: err
redefined [enabled by default]
include/linux/usb.h:1655:0: note: this is the location of the previous
definition
/home/multimedia/media_build/v4l/mxl111sf-tuner.c:34:0: warning: err
redefined [enabled by default]
include/linux/usb.h:1655:0: note: this is the location of the previous
definition
WARNING: snd_tea575x_set_freq
[/home/multimedia/media_build/v4l/radio-shark.ko] undefined!
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'


No other compilation error. 524 modules founds. But if I check em28xx
family modules:

$ ls v4l/em28xx*.ko
ls: cannot access v4l/em28xx*.ko: No such file or directory

In other words: no module is compiled with this.
All (most ?) other modules are compiled in v4l/*.ko

What am I doing wrong ?

Nothing :-)

I can reproduce this myself. It works

Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia

...

Found !

(I had to activate other entries to make em28xx appear).

Now the compile process is ok.

I have to wait this evening at home to check if the module is OK.

Thank you very much for helping


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia

Thanks to Hans and grazie mille a Gianluca for their hints.
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html