Re: [linux-dvb] Kworld DVB-T 323UR problems
On Sun, Jun 21, 2009 at 11:44 PM, Laszlo Kustanlkus...@gmail.com wrote: Hi everyone, I have a Kword DVB-T 323UR connected to a Linux Mint 7 Gloria (based on Ubuntu Jaunty), kernel 2.6.28. I successfully compiled em28xx, the firmware was obtained based on these steps: 1) Download the windows driver with something like: wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip 2) Extract the file hcw85bda.sys from the zip into the current dir: unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys 3) run the script: ./extract_xc3028.pl 4) copy the generated file: cp xc3028-v27.fw /lib/firmware My windows driver is called embda.sys, so I'm not sure whether the firmware is 100% good for my tuner or not. I have a couple of problems: 1. no analog audio, but I found out this works with workarounds I tried several tricks: a. sox -c 2 -r 32000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp this works, but with a 4-5 second delay between audio and video b. arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | play -q -c 2 -r 32000 -t wav - I get an error: l...@laco-desktop ~ $ arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | play -q -c 2 -r 32000 -t wav - [1] 9084 l...@laco-desktop ~ $ Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo Warning: rate is not accurate (requested = 32000Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1529: read error: Input/output error play wav: Premature EOF on .wav input file c. install modified tvtime from mcentral.de I get an error in this case too: Reading configuration from /usr/etc/tvtime/tvtime.xml Reading configuration from /home/laco/.tvtime/tvtime.xml HDA NVidia : AD198x Analog hw:0,0 Em28xx Audio : Empia 28xx Capture hw:1,0 opening: hw:1,0 Access type not available My arecord -l output is: l...@laco-desktop ~ $ arecord -l List of CAPTURE Hardware Devices card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Em28xx Audio [Em28xx Audio], device 0: Em28xx Audio [Empia 28xx Capture] Subdevices: 1/1 Subdevice #0: subdevice #0 2. my remote is not recognized. Here is the em28xx part from dmesg: l...@laco-desktop ~ $ dmesg | grep em28xx [11231.562817] em28xx v4l2 driver version 0.0.1 loaded [11231.564913] em28xx: new video device (eb1a:e323): interface 0, class 255 [11231.564920] em28xx: setting up device on a USB 1.1 bus [11231.564924] em28xx: your device won't work properly when [11231.564927] em28xx: not attached to a USB 2.0 highspeed bus [11231.564931] em28xx: more information: [11231.564933] em28xx: http://mcentral.de/wiki/index.php5/Talk:Em2880 please pay attention to that line... it probably will not work with usb 1.0. Markus [11231.564942] em28xx #0: Alternate settings: 8 [11231.564946] em28xx #0: Alternate setting 0, max size= 0 [11231.564950] em28xx #0: Alternate setting 1, max size= 512 [11231.564954] em28xx #0: Alternate setting 2, max size= 640 [11231.564958] em28xx #0: Alternate setting 3, max size= 768 [11231.564962] em28xx #0: Alternate setting 4, max size= 832 [11231.564966] em28xx #0: Alternate setting 5, max size= 896 [11231.564969] em28xx #0: Alternate setting 6, max size= 960 [11231.564973] em28xx #0: Alternate setting 7, max size= 1020 [11240.939178] em28xx #0: V4L2 VBI device registered as /dev/vbi0 [11240.998075] em28xx #0: V4L2 device registered as /dev/video0 [11240.998087] em28xx #0: Found KWorld E323 [11240.998153] usbcore: registered new interface driver em28xx [11241.064491] em28xx-audio.c: probing for em28x1 non standard usbaudio [11241.064497] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger [11241.922736] em28xx-audio: device is currently in analog TV mode Nothing about input devices here and neither in /proc/bus/input/devices. 3. heat problems I noticed that when it is connected, it gets quite hot, even if no dvb software is running. In Windows it does not get so hot, even when watching tv. Sorry for this long mail. The first point would be the most important to solve, if you need more details to help me, no problem. Thanks, Laszlo ___ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-...@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- 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
Fwd: [linux-dvb] Kworld DVB-T 323UR problems
Hi again, Here is the correct dmesg output when my usb port is recognized properly The output is kind of weird, because this tuner does not have radio but according to dmesg it is switching the device to FM mode... [ 550.908041] usb 1-4: new high speed USB device using ehci_hcd and address 6 [ 551.075241] usb 1-4: configuration #1 chosen from 1 choice [ 551.075525] em28xx: new video device (eb1a:e323): interface 0, class 255 [ 551.075530] em28xx: device is attached to a USB 2.0 bus [ 551.075536] em28xx #0: Alternate settings: 8 [ 551.075540] em28xx #0: Alternate setting 0, max size= 0 [ 551.075544] em28xx #0: Alternate setting 1, max size= 0 [ 551.075548] em28xx #0: Alternate setting 2, max size= 1448 [ 551.075553] em28xx #0: Alternate setting 3, max size= 2048 [ 551.075557] em28xx #0: Alternate setting 4, max size= 2304 [ 551.075561] em28xx #0: Alternate setting 5, max size= 2580 [ 551.075565] em28xx #0: Alternate setting 6, max size= 2892 [ 551.075569] em28xx #0: Alternate setting 7, max size= 3072 [ 551.658207] attach_inform: tvp5150 detected. [ 551.720539] tvp5150 5-005c: tvp5150am1 detected. [ 553.360916] successfully attached tuner [ 553.368599] em28xx #0: V4L2 VBI device registered as /dev/vbi0 [ 553.389033] em28xx #0: V4L2 device registered as /dev/video0 [ 553.389041] em28xx-audio.c: probing for em28x1 non standard usbaudio [ 553.389045] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger [ 553.421218] em2880-dvb.c: DVB Init [ 554.076418] DVB: registering new adapter (em2880 DVB-T) [ 554.076431] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)... [ 554.081209] em28xx #0: Found KWorld E323 [ 554.410650] opening radio device and trying to acquire exclusive lock [ 554.410661] switching device to FM mode Laszlo -- Forwarded message -- From: Laszlo Kustan lkus...@gmail.com Date: Mon, Jun 22, 2009 at 10:27 AM Subject: Re: [linux-dvb] Kworld DVB-T 323UR problems To: Markus Rechberger mrechber...@gmail.com Cc: linux-media@vger.kernel.org, linux-...@linuxtv.org Hi Markus, Sorry, it seems that sometimes my usb is not recognized as 2.0, I wonder why this happens. Anyway, I'll send you in the afternoon a correct dmesg output, but the results are the same: same problems with analog routing and no remote. After I installed your tvtime version (had to install the deb version as the sources are not available on your site (internal server error)), there were some problems with libswscale (the link had other name than tvtime was looking for), I renamed the link and that's how I ended up with the error message I already wrote: Access type not available Any idea how to get rid of this or any feasible solution for the analog audio? Thanks, Laszlo please pay attention to that line... it probably will not work with usb 1.0. Markus -- 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: [linux-dvb] Kworld DVB-T 323UR problems
On Mon, Jun 22, 2009 at 5:01 PM, Laszlo Kustanlkus...@gmail.com wrote: Hi again, Here is the correct dmesg output when my usb port is recognized properly The output is kind of weird, because this tuner does not have radio but according to dmesg it is switching the device to FM mode... [ 550.908041] usb 1-4: new high speed USB device using ehci_hcd and address 6 [ 551.075241] usb 1-4: configuration #1 chosen from 1 choice [ 551.075525] em28xx: new video device (eb1a:e323): interface 0, class 255 [ 551.075530] em28xx: device is attached to a USB 2.0 bus [ 551.075536] em28xx #0: Alternate settings: 8 [ 551.075540] em28xx #0: Alternate setting 0, max size= 0 [ 551.075544] em28xx #0: Alternate setting 1, max size= 0 [ 551.075548] em28xx #0: Alternate setting 2, max size= 1448 [ 551.075553] em28xx #0: Alternate setting 3, max size= 2048 [ 551.075557] em28xx #0: Alternate setting 4, max size= 2304 [ 551.075561] em28xx #0: Alternate setting 5, max size= 2580 [ 551.075565] em28xx #0: Alternate setting 6, max size= 2892 [ 551.075569] em28xx #0: Alternate setting 7, max size= 3072 [ 551.658207] attach_inform: tvp5150 detected. [ 551.720539] tvp5150 5-005c: tvp5150am1 detected. [ 553.360916] successfully attached tuner [ 553.368599] em28xx #0: V4L2 VBI device registered as /dev/vbi0 [ 553.389033] em28xx #0: V4L2 device registered as /dev/video0 [ 553.389041] em28xx-audio.c: probing for em28x1 non standard usbaudio [ 553.389045] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger [ 553.421218] em2880-dvb.c: DVB Init [ 554.076418] DVB: registering new adapter (em2880 DVB-T) [ 554.076431] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)... [ 554.081209] em28xx #0: Found KWorld E323 [ 554.410650] opening radio device and trying to acquire exclusive lock [ 554.410661] switching device to FM mode true, I'm updating the driver this weekend then the latest version will be online again. I have the device here too but haven't used it for ages... Markus -- 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: [linux-dvb] Kworld DVB-T 323UR problems
On Sun, Jun 21, 2009 at 5:44 PM, Laszlo Kustanlkus...@gmail.com wrote: Hi everyone, I have a Kword DVB-T 323UR connected to a Linux Mint 7 Gloria (based on Ubuntu Jaunty), kernel 2.6.28. I successfully compiled em28xx, the firmware was obtained based on these steps: 1) Download the windows driver with something like: wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip 2) Extract the file hcw85bda.sys from the zip into the current dir: unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys 3) run the script: ./extract_xc3028.pl 4) copy the generated file: cp xc3028-v27.fw /lib/firmware My windows driver is called embda.sys, so I'm not sure whether the firmware is 100% good for my tuner or not. I have a couple of problems: 1. no analog audio, but I found out this works with workarounds I tried several tricks: a. sox -c 2 -r 32000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp this works, but with a 4-5 second delay between audio and video b. arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | play -q -c 2 -r 32000 -t wav - I get an error: l...@laco-desktop ~ $ arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | play -q -c 2 -r 32000 -t wav - [1] 9084 l...@laco-desktop ~ $ Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo Warning: rate is not accurate (requested = 32000Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1529: read error: Input/output error play wav: Premature EOF on .wav input file c. install modified tvtime from mcentral.de I get an error in this case too: Reading configuration from /usr/etc/tvtime/tvtime.xml Reading configuration from /home/laco/.tvtime/tvtime.xml HDA NVidia : AD198x Analog hw:0,0 Em28xx Audio : Empia 28xx Capture hw:1,0 opening: hw:1,0 Access type not available My arecord -l output is: l...@laco-desktop ~ $ arecord -l List of CAPTURE Hardware Devices card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Em28xx Audio [Em28xx Audio], device 0: Em28xx Audio [Empia 28xx Capture] Subdevices: 1/1 Subdevice #0: subdevice #0 2. my remote is not recognized. Here is the em28xx part from dmesg: l...@laco-desktop ~ $ dmesg | grep em28xx [11231.562817] em28xx v4l2 driver version 0.0.1 loaded [11231.564913] em28xx: new video device (eb1a:e323): interface 0, class 255 [11231.564920] em28xx: setting up device on a USB 1.1 bus [11231.564924] em28xx: your device won't work properly when [11231.564927] em28xx: not attached to a USB 2.0 highspeed bus [11231.564931] em28xx: more information: [11231.564933] em28xx: http://mcentral.de/wiki/index.php5/Talk:Em2880 [11231.564942] em28xx #0: Alternate settings: 8 [11231.564946] em28xx #0: Alternate setting 0, max size= 0 [11231.564950] em28xx #0: Alternate setting 1, max size= 512 [11231.564954] em28xx #0: Alternate setting 2, max size= 640 [11231.564958] em28xx #0: Alternate setting 3, max size= 768 [11231.564962] em28xx #0: Alternate setting 4, max size= 832 [11231.564966] em28xx #0: Alternate setting 5, max size= 896 [11231.564969] em28xx #0: Alternate setting 6, max size= 960 [11231.564973] em28xx #0: Alternate setting 7, max size= 1020 [11240.939178] em28xx #0: V4L2 VBI device registered as /dev/vbi0 [11240.998075] em28xx #0: V4L2 device registered as /dev/video0 [11240.998087] em28xx #0: Found KWorld E323 [11240.998153] usbcore: registered new interface driver em28xx [11241.064491] em28xx-audio.c: probing for em28x1 non standard usbaudio [11241.064497] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger [11241.922736] em28xx-audio: device is currently in analog TV mode Nothing about input devices here and neither in /proc/bus/input/devices. 3. heat problems I noticed that when it is connected, it gets quite hot, even if no dvb software is running. In Windows it does not get so hot, even when watching tv. Sorry for this long mail. The first point would be the most important to solve, if you need more details to help me, no problem. Thanks, Laszlo Hello Laszlo, Please send correspondence to the linux-media mailing list, as the linux-dvb list is deprecated. Your firmware is fine. The extract_xc3027.pl script will *only* work if the md5 checksum matches, so if it matched then you ended up with the correct firmware. Regarding #1, the audio is working correctly. The problem is that for raw capture devices there is no way currently for the v4l2 to inform applications where to find the ALSA device that provides the audio. Your card is behaving consistently with *every* other product currently supported that provides a raw video stream (as opposed to products with an MPEG encoder onboard). The reason you see the audio being out of sync with the video is because of buffering of the audio prior to playback. You can usually control this behavior with command line arguments for arecord or sox.