Skip to contentSkip to conversation

0bda:2838 Ezcap DVB USB adaptor - no device files created

DISCUSSION Arthur Marsh 3 participants 4 messages Jul 2, 2011 – Jul 3, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi, I bought one of these things having seen the Linux penguin on the box and compiled the code from the
http://jms.id.au/wiki/EzcapDvbAdapter web page on a quad core AMD64 machine using 3.0.0-rc5 Linux kernel and GCC 4.6.1 under Debian sid.

On boot-up the device is at least partially recognised:

[    1.430924] usb 1-5: New USB device found, idVendor=0bda, idProduct=2838
[    1.431005] usb 1-5: Product: RTL2838UHIDIR
[    6.245292] IR NEC protocol handler initialized
[    6.284327] IR RC5(x) protocol handler initialized
[    6.338049] IR RC6 protocol handler initialized
[    6.371470] IR JVC protocol handler initialized
[    6.448155] IR Sony protocol handler initialized
[    6.590577] lirc_dev: IR Remote Control driver registered, major 252
[    6.591144] IR LIRC bridge handler initialized
[    7.085160] usbcore: registered new interface driver dvb_usb_rtl2832u
$ lsmod|grep dvb
dvb_usb_rtl2832u      111764  0
dvb_usb                18302  1 dvb_usb_rtl2832u
dvb_core               77682  1 dvb_usb
rc_core                18294  7
dvb_usb,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
i2c_core               23876  7
dvb_usb,max6650,radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
usbcore               119731  5 dvb_usb_rtl2832u,dvb_usb,ohci_hcd,ehci_hcd

but apparently no device files are created (there is no /dev/dvb tree).

Any suggestions for things to try to get this working welcome.

Regards,

Arthur.

#1 lore raw

Re: Fwd: 0bda:2838 Ezcap DVB USB adaptor - no device files created / RTL2831U/RTL2832U

This is the same problem why the tree on
http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2/
does not work for newer kernels.

I have decided AGAINST making it runnable on newer kernels, as there are some people working right now on a new release.

Once the status becomes more clear, I'll update
http://www.linuxtv.org/wiki/index.php/Realtek_RTL2831U

Quoted 45 lines · Arthur Marsh

Hi, I bought one of these things having seen the Linux penguin on the box and compiled the code from the
http://jms.id.au/wiki/EzcapDvbAdapter web page on a quad core AMD64 machine using 3.0.0-rc5 Linux kernel and GCC 4.6.1 under Debian sid.

On boot-up the device is at least partially recognised:

[ 1.430924] usb 1-5: New USB device found, idVendor=0bda, idProduct=2838
[ 1.431005] usb 1-5: Product: RTL2838UHIDIR
[ 6.245292] IR NEC protocol handler initialized
[ 6.284327] IR RC5(x) protocol handler initialized
[ 6.338049] IR RC6 protocol handler initialized
[ 6.371470] IR JVC protocol handler initialized
[ 6.448155] IR Sony protocol handler initialized
[ 6.590577] lirc_dev: IR Remote Control driver registered, major 252
[ 6.591144] IR LIRC bridge handler initialized
[ 7.085160] usbcore: registered new interface driver dvb_usb_rtl2832u
$ lsmod|grep dvb
dvb_usb_rtl2832u 111764 0
dvb_usb 18302 1 dvb_usb_rtl2832u
dvb_core 77682 1 dvb_usb
rc_core 18294 7
dvb_usb,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder

i2c_core 23876 7 dvb_usb,max6650,radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4 usbcore 119731 5 dvb_usb_rtl2832u,dvb_usb,ohci_hcd,ehci_hcd

but apparently no device files are created (there is no /dev/dvb tree).

Any suggestions for things to try to get this working welcome.

Regards,

Arthur.

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

Signature · 4 lines
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht
#2 lore raw

Re: Fwd: 0bda:2838 Ezcap DVB USB adaptor - no device files created / RTL2831U/RTL2832U

Hello Jan,

Quoted 2 lines · Jan Hoogenraad

I have decided AGAINST making it runnable on newer kernels, as there are some people working right now on a new release.

I appreciate that you would prefer efforts to go towards a upstream driver. In the mean time I've updated the git tree[1] on my website. There were no real changes required; just a re-build with an updated dvb-usb.h and dvb_frontend.h from the kernel tree. Checkout the linux-3 branch.

Quoted 2 lines

Once the status becomes more clear, I'll update
http://www.linuxtv.org/wiki/index.php/Realtek_RTL2831U

Are you able to give us more information on this new driver? Is there a tree somewhere we can test, or perhaps assist in writing the driver?

Cheers,

Joel

[1] A disclaimer: the git tree is a horrible hack so that I can watch tv; I look forward to a in-tree driver.

#3 lore raw

Re: Fwd: 0bda:2838 Ezcap DVB USB adaptor - no device files created / RTL2831U/RTL2832U

Joel Stanley wrote, on 03/07/11 12:17:

Quoted 4 lines

Hello Jan,

On Sun, Jul 3, 2011 at 05:53, Jan Hoogenraad
<[email protected]> wrote:

Quoted 8 lines
Quoted 2 lines

I have decided AGAINST making it runnable on newer kernels, as there are some people working right now on a new release.

I appreciate that you would prefer efforts to go towards a upstream driver. In the mean time I've updated the git tree[1] on my website. There were no real changes required; just a re-build with an updated dvb-usb.h and dvb_frontend.h from the kernel tree. Checkout the linux-3 branch.

Thanks, I rebuilt this against the linux-3 branch and now see the device tree:

# ls -alR /dev/dvb
/dev/dvb:
total 0
drwxr-xr-x  4 root root   80 Jul  3 13:33 .
drwxr-xr-x 15 root root 3140 Jul  3 13:33 ..
drwxr-xr-x  2 root root  120 Jul  3 13:33 adapter0
drwxr-xr-x  2 root root  120 Jul  3 13:33 adapter1

/dev/dvb/adapter0:
total 0

drwxr-xr-x  2 root root     120 Jul  3 13:33 .
drwxr-xr-x  4 root root      80 Jul  3 13:33 ..
crw-rw----+ 1 root video 212, 0 Jul  3 13:33 demux0
crw-rw----+ 1 root video 212, 1 Jul  3 13:33 dvr0
crw-rw----+ 1 root video 212, 3 Jul  3 13:33 frontend0
crw-rw----+ 1 root video 212, 2 Jul  3 13:33 net0

/dev/dvb/adapter1:
total 0

drwxr-xr-x  2 root root     120 Jul  3 13:33 .
drwxr-xr-x  4 root root      80 Jul  3 13:33 ..
crw-rw----+ 1 root video 212, 4 Jul  3 13:33 demux0
crw-rw----+ 1 root video 212, 5 Jul  3 13:33 dvr0
crw-rw----+ 1 root video 212, 7 Jul  3 13:33 frontend0
crw-rw----+ 1 root video 212, 6 Jul  3 13:33 net0

but haven't had time to test it further yet. I'd be interested to hear more about the new release.

Arthur.