From: Thomas Holzeisen <thomas@holzeisen.de>
To: "Sascha Wüstemann" <sascha@killerhippy.de>
Cc: linux-media@vger.kernel.org,
Jan Hoogenraad <jan-conceptronic@hoogenraad.net>
Subject: Re: RTL2831U wont compile against 2.6.38
Date: Fri, 17 Jun 2011 12:39:32 +0200 [thread overview]
Message-ID: <4DFB2EE4.2030400@holzeisen.de> (raw)
In-Reply-To: <4DF9EA62.2040008@killerhippy.de>
Hi Sascha,
this solution is not working for me. When compiling and installing the "media_build", it works
fine. Here in combination with a Digivox Duo Stick:
> Bus 002 Device 002: ID 1462:8801 Micro Star International
# lsmod | grep dvb
dvb_usb_af9015 21067 5
dvb_usb 22011 1 dvb_usb_af9015
dvb_core 67624 1 dvb_usb
rc_core 17813 12
dvb_usb_af9015,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,dvb_usb,ir_rc5_decoder,rc_imon_pad,ir_nec_decoder,imon
i2c_core 18989 6 mxl5005s,af9013,nvidia,dvb_usb_af9015,dvb_usb,i2c_nforce2
usbcore 99058 11
lirc_imon,dvb_usb_af9015,dvb_usb,usbhid,imon,usb_storage,uas,ohci_hcd,ehci_hcd
One very strange behavior is, when theres no dvb-adapter at all, the system loads dvb_ttpci, but
no such card is installed, nor gets any /dev/dvb/ created or anything logged in dmsg:
# lsmod | grep dvb
dvb_ttpci 71007 0
dvb_core 67624 1 dvb_ttpci
saa7146_vv 39558 1 dvb_ttpci
saa7146 17148 2 dvb_ttpci,saa7146_vv
ttpci_eeprom 12344 1 dvb_ttpci
i2c_core 18989 5 dvb_ttpci,videodev,ttpci_eeprom,nvidia,i2c_nforce2
Building and installing "new_build" as suggested, ends up with
# dmesg | grep dvb
[ 26.828625] dvb_ttpci: Unknown symbol dvb_net_init (err 0)
[ 26.830730] dvb_ttpci: Unknown symbol dvb_net_release (err 0)
Here no dvb-adapter was attached, now insert the rtl2831u ...
[ 161.752088] usb 1-2: new high speed USB device using ehci_hcd and address 4
[ 161.886020] usb 1-2: New USB device found, idVendor=14aa, idProduct=0160
[ 161.886030] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 161.886036] usb 1-2: Product: DTV Receiver
[ 161.886041] usb 1-2: Manufacturer: DTV Receiver
[ 161.886046] usb 1-2: SerialNumber: 0000000000067936
... device got identified, but no module was loaded at all, doing it by hand ...
# modprobe -v dvb-usb-rtl2832u
WARNING: All config files need .conf: /etc/modprobe.d/usbhid, it will be ignored in a future release.
insmod /lib/modules/2.6.38-bpo.2-686/kernel/drivers/media/dvb/dvb-usb/dvb-usb.ko
WARNING: Error inserting dvb_usb
(/lib/modules/2.6.38-bpo.2-686/kernel/drivers/media/dvb/dvb-usb/dvb-usb.ko): Invalid argument
FATAL: Error inserting dvb_usb_rtl2832u
(/lib/modules/2.6.38-bpo.2-686/kernel/drivers/media/dvb/dvb-usb/dvb-usb-rtl2832u.ko): Invalid argument
lets ignore the usbhid warning, its made out of comments anyway, checking dmsg ...
[ 296.652984] dvb_usb: disagrees about version of symbol rc_register_device
[ 296.652997] dvb_usb: Unknown symbol rc_register_device (err -22)
[ 296.654001] dvb_usb: disagrees about version of symbol rc_free_device
[ 296.654007] dvb_usb: Unknown symbol rc_free_device (err -22)
[ 296.654823] dvb_usb: disagrees about version of symbol rc_allocate_device
[ 296.654828] dvb_usb: Unknown symbol rc_allocate_device (err -22)
[ 296.656427] dvb_usb: disagrees about version of symbol rc_unregister_device
[ 296.656440] dvb_usb: Unknown symbol rc_unregister_device (err -22)
>From there on, those errors appear attaching any dvb-usb adapter i have, there seem to be a
problem. The rtl2831u adapter identifies as following and is labeled "Digitus DA-70781-B/A1" and
worked fine with Jan Hoogenraads driver under 2.6.32.
lsusb -v -s 001:004
Bus 001 Device 004: ID 14aa:0160 WideView Technology Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x14aa WideView Technology Inc.
idProduct 0x0160
bcdDevice 1.00
iManufacturer 1 DTV Receiver
iProduct 2 DTV Receiver
iSerial 3 0000000000067936
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 USB2.0-Bulk&Iso
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5 Bulk-In, Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 6 Iso-In, Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)
Finally the kernel version (the only one installed):
# uname -a
Linux xbmc 2.6.38-bpo.2-686 #1 SMP Tue Jun 14 11:43:18 UTC 2011 i686 GNU/Linux
Greetings, from Germany as well ;-)
Thomas
Sascha Wüstemann wrote:
> Thomas Holzeisen wrote:
>> Hi there,
>>
>> I tried to get an RTL2831U dvb-t usb-stick running with a more recent kernel (2.6.38) and failed.
>>
>> The hg respository ~jhoogenraad/rtl2831-r2 aborts on countless drivers, the rc coding seem have to
>> changed a lot since it got touched the last time.
>>
>> The hg respository ~anttip/rtl2831u wont compile as well, since its even older.
>>
>> The recent git respositories for media_tree and anttip dont contain drivers for the rtl2831u.
>>
>> Has this device been abandoned, or is anyone working on it?
>>
>> greetings,
>> Thomas
>
> There are still people working on it and there is new sources, e.g. look at
> http://www.spinics.net/lists/linux-media/msg24890.html
> at the very bottom. Worked like a charm at my system with kernel 2.6.39.
>
> I think, there will be announcements later at
> http://wiki.zeratul.org/doku.php?id=linux:v4l:realtek:start
>
> Greetings from Braunschweig, Germany.
> Sascha
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-06-17 10:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 8:19 RTL2831U wont compile against 2.6.38 Thomas Holzeisen
2011-06-16 11:34 ` Sascha Wüstemann
2011-06-16 21:36 ` RTL2831U driver updates Jan Hoogenraad
2011-06-17 8:30 ` Sascha Wüstemann
2011-06-17 14:17 ` Thomas Holzeisen
2011-06-20 16:10 ` poma
2011-06-20 22:22 ` Antti Palosaari
2011-06-21 5:40 ` Jan Hoogenraad
2011-06-21 8:03 ` Steffen Barszus
2011-06-22 5:34 ` Jan Hoogenraad
2011-06-22 6:13 ` Steffen Barszus
2011-06-22 11:11 ` Antti Palosaari
2011-06-21 9:41 ` Maxim Levitsky
2011-06-21 10:00 ` Jan Hoogenraad
2011-07-09 3:27 ` Antti Palosaari
2011-08-04 23:43 ` Antti Palosaari
2011-08-06 3:56 ` Alistair Buxton
2011-08-06 5:13 ` Alistair Buxton
2011-08-08 19:50 ` Antti Palosaari
2011-08-09 13:22 ` Alistair Buxton
2011-10-21 20:41 ` Alistair Buxton
2011-06-17 10:39 ` Thomas Holzeisen [this message]
2011-06-17 19:28 ` RTL2831U wont compile against 2.6.38 Sascha Wüstemann
2011-06-18 12:44 ` Thomas Holzeisen
2011-06-18 12:56 ` Antti Palosaari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFB2EE4.2030400@holzeisen.de \
--to=thomas@holzeisen.de \
--cc=jan-conceptronic@hoogenraad.net \
--cc=linux-media@vger.kernel.org \
--cc=sascha@killerhippy.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.