Re: sveon stv40 usb stick

2012-01-06 Thread Mario Ceresa
Hi again!

following the thread em28xx: new board id [eb1a:5051] between Reuben
and Gareth I was able to advance a little:

1) I opened the usn stick and my chipsets are:
- USB interface: em2860
- Audio ADC: emp202
- Video ADC: saa7118h (philips)

2) I confirm that the stock em28xx driver can recognize the usb stick
but needs to specify a card manually as an option.

3) Using modprobe em18xx card=19 (which corresponds to
EM2860/SAA711X Reference Design) I can go so far as to get a
/dev/video0, but the preview is black no matter what i do.

4) I was able to eventually compile the v4l drivers but, as soon as I
inject the driver, I get a kernel oops (attached). I made no change to
the code obtained with git.

I won't even mind to write some code myself, but I really have no idea
where to begin with!

Thanks in advance for any help you might provide,

Best,

Mario



On 3 January 2012 20:44, Mario Ceresa mrcer...@gmail.com wrote:
 Hello everybody!
 I recently bougth a Sveon STV40 usb stick to capture analogic video
 (http://www.sveon.com/fichaSTV40.html)
 I can use it in windows but my linux box (Fedora 16 -
 3.1.6-1.fc16.x86_64 - gcc 4.6.2) can't recognize it.
 Is there any way I can fix this?

 These are the results of my investigation so far:

 1) It is identified by lsusb as an Afatech board (1b80:e309) with an
 Empia 2861 chip (from dmesg and windows driver inf file)
 2) I experimented with em28xx  because the chipset was empia and with
 af9015 because I found that the stv22 was supported
 (http://linuxtv.org/wiki/index.php/Afatech_AF9015). In both cases
 after I manually added the vendor:id to /sys/bus/usb/drivers/ driver
 started but in the end I was not able to succeed. With em28xx I could
 go as far as having a /dev/video0 device but with no signal and the
 dmesg log said to ask here for help :) . With the af9015 I had an
 early stop.
 3) Both the logs are attached.
 4) I used the driver shipped with the fedora stock kernel because I
 can't compile the ones that I get from
 git://linuxtv.org/media_build.git. I have an error at:

 CC [M]  media_build/v4l/as3645a.o
 media_build/v4l/as3645a.c: In function 'as3645a_probe':
 media_build/v4l/as3645a.c:815:2: error: implicit declaration of
 function 'kzalloc' [-Werror=implicit-function-declaration]
 media_build/v4l/as3645a.c:815:8: warning: assignment makes pointer
 from integer without a cast [enabled by default]
 cc1: some warnings being treated as errors

 Thank you in advance for any help you might provide on this issue!

 ,Best regards

 Mario
--
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: sveon stv40 usb stick

2012-01-06 Thread Mario Ceresa
Last updates. It works with em28xx module from v4l git as a card 19:
# modprobe em28xx card=19
# echo 1b80 e309  /sys/bus/usb/drivers/em28xx/new_id

[plugged in the usb] and

$ mplayer -tv 
device=/dev/video0:input=1:norm=PAL:alsa:immediatemode=0:audiorate=48000:amode=1:adevice=hw.2
tv://

But I have no audio... I will open a new thread only for the audio problem!

Best,
Mario


On 6 January 2012 15:52, Mario Ceresa mrcer...@gmail.com wrote:
 Hi again!

 following the thread em28xx: new board id [eb1a:5051] between Reuben
 and Gareth I was able to advance a little:

 1) I opened the usn stick and my chipsets are:
 - USB interface: em2860
 - Audio ADC: emp202
 - Video ADC: saa7118h (philips)

 2) I confirm that the stock em28xx driver can recognize the usb stick
 but needs to specify a card manually as an option.

 3) Using modprobe em18xx card=19 (which corresponds to
 EM2860/SAA711X Reference Design) I can go so far as to get a
 /dev/video0, but the preview is black no matter what i do.

 4) I was able to eventually compile the v4l drivers but, as soon as I
 inject the driver, I get a kernel oops (attached). I made no change to
 the code obtained with git.

 I won't even mind to write some code myself, but I really have no idea
 where to begin with!

 Thanks in advance for any help you might provide,

 Best,

 Mario



 On 3 January 2012 20:44, Mario Ceresa mrcer...@gmail.com wrote:
 Hello everybody!
 I recently bougth a Sveon STV40 usb stick to capture analogic video
 (http://www.sveon.com/fichaSTV40.html)
 I can use it in windows but my linux box (Fedora 16 -
 3.1.6-1.fc16.x86_64 - gcc 4.6.2) can't recognize it.
 Is there any way I can fix this?

 These are the results of my investigation so far:

 1) It is identified by lsusb as an Afatech board (1b80:e309) with an
 Empia 2861 chip (from dmesg and windows driver inf file)
 2) I experimented with em28xx  because the chipset was empia and with
 af9015 because I found that the stv22 was supported
 (http://linuxtv.org/wiki/index.php/Afatech_AF9015). In both cases
 after I manually added the vendor:id to /sys/bus/usb/drivers/ driver
 started but in the end I was not able to succeed. With em28xx I could
 go as far as having a /dev/video0 device but with no signal and the
 dmesg log said to ask here for help :) . With the af9015 I had an
 early stop.
 3) Both the logs are attached.
 4) I used the driver shipped with the fedora stock kernel because I
 can't compile the ones that I get from
 git://linuxtv.org/media_build.git. I have an error at:

 CC [M]  media_build/v4l/as3645a.o
 media_build/v4l/as3645a.c: In function 'as3645a_probe':
 media_build/v4l/as3645a.c:815:2: error: implicit declaration of
 function 'kzalloc' [-Werror=implicit-function-declaration]
 media_build/v4l/as3645a.c:815:8: warning: assignment makes pointer
 from integer without a cast [enabled by default]
 cc1: some warnings being treated as errors

 Thank you in advance for any help you might provide on this issue!

 ,Best regards

 Mario
--
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


sveon stv40 usb stick

2012-01-03 Thread Mario Ceresa
Hello everybody!
I recently bougth a Sveon STV40 usb stick to capture analogic video
(http://www.sveon.com/fichaSTV40.html)
I can use it in windows but my linux box (Fedora 16 -
3.1.6-1.fc16.x86_64 - gcc 4.6.2) can't recognize it.
Is there any way I can fix this?

These are the results of my investigation so far:

1) It is identified by lsusb as an Afatech board (1b80:e309) with an
Empia 2861 chip (from dmesg and windows driver inf file)
2) I experimented with em28xx  because the chipset was empia and with
af9015 because I found that the stv22 was supported
(http://linuxtv.org/wiki/index.php/Afatech_AF9015). In both cases
after I manually added the vendor:id to /sys/bus/usb/drivers/ driver
started but in the end I was not able to succeed. With em28xx I could
go as far as having a /dev/video0 device but with no signal and the
dmesg log said to ask here for help :) . With the af9015 I had an
early stop.
3) Both the logs are attached.
4) I used the driver shipped with the fedora stock kernel because I
can't compile the ones that I get from
git://linuxtv.org/media_build.git. I have an error at:

CC [M]  media_build/v4l/as3645a.o
media_build/v4l/as3645a.c: In function 'as3645a_probe':
media_build/v4l/as3645a.c:815:2: error: implicit declaration of
function 'kzalloc' [-Werror=implicit-function-declaration]
media_build/v4l/as3645a.c:815:8: warning: assignment makes pointer
from integer without a cast [enabled by default]
cc1: some warnings being treated as errors

Thank you in advance for any help you might provide on this issue!

,Best regards

Mario
[12882.483471] Linux media interface: v0.10
[12882.484980] Linux video capture interface: v2.00
[12882.486187] usbcore: registered new interface driver em28xx
[12882.486189] em28xx driver loaded
[13002.169451] usb 1-5.3: new high speed USB device number 11 using ehci_hcd
[13002.259795] usb 1-5.3: New USB device found, idVendor=1b80, idProduct=e309
[13002.259799] usb 1-5.3: New USB device strings: Mfr=0, Product=1, 
SerialNumber=0
[13002.259803] usb 1-5.3: Product: USB 2861 Device (SVEON STV40)
[13002.260702] em28xx: New device USB 2861 Device (SVEON STV40) @ 480 Mbps 
(1b80:e309, interface 0, class 0)
[13002.260787] em28xx #0: chip ID is em2860
[13002.359275] em28xx #0: board has no eeprom
[13002.431281] em28xx #0: preparing read at i2c address 0x60 failed (error=-19)
[13007.073682] em28xx #0: Your board has no unique USB ID and thus need a hint 
to be detected.
[13007.073686] em28xx #0: You may try to use card=n insmod option to 
workaround that.
[13007.073687] em28xx #0: Please send an email with this log to:
[13007.073688] em28xx #0:   V4L Mailing List linux-media@vger.kernel.org
[13007.073690] em28xx #0: Board eeprom hash is 0x
[13007.073691] em28xx #0: Board i2c devicelist hash is 0x1b800080
[13007.073692] em28xx #0: Here is a list of valid choices for the card=n 
insmod option:
[13007.073694] em28xx #0: card=0 - Unknown EM2800 video grabber
[13007.073696] em28xx #0: card=1 - Unknown EM2750/28xx video grabber
[13007.073697] em28xx #0: card=2 - Terratec Cinergy 250 USB
[13007.073699] em28xx #0: card=3 - Pinnacle PCTV USB 2
[13007.073700] em28xx #0: card=4 - Hauppauge WinTV USB 2
[13007.073701] em28xx #0: card=5 - MSI VOX USB 2.0
[13007.073702] em28xx #0: card=6 - Terratec Cinergy 200 USB
[13007.073703] em28xx #0: card=7 - Leadtek Winfast USB II
[13007.073705] em28xx #0: card=8 - Kworld USB2800
[13007.073706] em28xx #0: card=9 - Pinnacle Dazzle DVC 90/100/101/107 / 
Kaiser Baas Video to DVD maker / Kworld DVD Maker 2
[13007.073708] em28xx #0: card=10 - Hauppauge WinTV HVR 900
[13007.073709] em28xx #0: card=11 - Terratec Hybrid XS
[13007.073710] em28xx #0: card=12 - Kworld PVR TV 2800 RF
[13007.073712] em28xx #0: card=13 - Terratec Prodigy XS
[13007.073713] em28xx #0: card=14 - SIIG AVTuner-PVR / Pixelview Prolink 
PlayTV USB 2.0
[13007.073714] em28xx #0: card=15 - V-Gear PocketTV
[13007.073716] em28xx #0: card=16 - Hauppauge WinTV HVR 950
[13007.073717] em28xx #0: card=17 - Pinnacle PCTV HD Pro Stick
[13007.073718] em28xx #0: card=18 - Hauppauge WinTV HVR 900 (R2)
[13007.073720] em28xx #0: card=19 - EM2860/SAA711X Reference Design
[13007.073721] em28xx #0: card=20 - AMD ATI TV Wonder HD 600
[13007.073722] em28xx #0: card=21 - eMPIA Technology, Inc. GrabBeeX+ Video 
Encoder
[13007.073724] em28xx #0: card=22 - EM2710/EM2750/EM2751 webcam grabber
[13007.073725] em28xx #0: card=23 - Huaqi DLCW-130
[13007.073726] em28xx #0: card=24 - D-Link DUB-T210 TV Tuner
[13007.073727] em28xx #0: card=25 - Gadmei UTV310
[13007.073729] em28xx #0: card=26 - Hercules Smart TV USB 2.0
[13007.073730] em28xx #0: card=27 - Pinnacle PCTV USB 2 (Philips FM1216ME)
[13007.073731] em28xx #0: card=28 - Leadtek Winfast USB II Deluxe
[13007.073733] em28xx #0: card=29 - EM2860/TVP5150 Reference Design
[13007.073734] em28xx #0: card=30 - Videology 20K14XUSB