Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't find CONFIG_DVB_USB_CXUSB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 11:58 am    Post subject: [SOLVED] can't find CONFIG_DVB_USB_CXUSB Reply with quote

I'm running gentoo-sources stable kernel 4.9.76-r1 with desktop profile and, even after make defconfig, I can't find CONFIG_DVB_USB_CXUSB.

But drivers/media/usb/dvb-usb/cxusb.c exists, which is activated by that option, I think.

I need this to setup a dvb stick, 0572:c688 Mygica T230 and can't, without that option. Can somebody help, please?

TIA
jss


Last edited by jssilva on Sun Feb 04, 2018 7:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Feb 04, 2018 12:39 pm    Post subject: Reply with quote

jssilva,

Grepping the kernel for DVB_USB_CXUSB gives a few hits.
Code:
$ grep -R DVB_USB_CXUSB /usr/src/linux
/usr/src/linux/drivers/media/usb/dvb-usb/Kconfig:config DVB_USB_CXUSB
/usr/src/linux/drivers/media/usb/dvb-usb/Makefile:obj-$(CONFIG_DVB_USB_CXUSB) += dvb-usb-cxusb.o
/usr/src/linux/drivers/media/usb/dvb-usb/cxusb.h:#ifndef _DVB_USB_CXUSB_H_
/usr/src/linux/drivers/media/usb/dvb-usb/cxusb.h:#define _DVB_USB_CXUSB_H_
/usr/src/linux/MAINTAINERS:DVB_USB_CXUSB MEDIA DRIVER


In menuconfig, searching for DVB_USB_CXUSB shows
Code:
  │ Symbol: DVB_USB_CXUSB [=n]                                                                                                                │ 
  │ Type  : tristate                                                                                                                          │ 
  │ Prompt: Conexant USB2.0 hybrid reference design support                                                                                   │ 
  │   Location:                                                                                                                               │ 
  │     -> Device Drivers                                                                                                                     │ 
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                                                                                          │ 
  │         -> Media USB Adapters (MEDIA_USB_SUPPORT [=y])                                                                                    │ 
  │ (1)       -> Support for various USB DVB devices (DVB_USB [=n])                                                                           │ 
  │   Defined at drivers/media/usb/dvb-usb/Kconfig:119                                                                                        │ 
  │   Depends on: USB [=y] && MEDIA_SUPPORT [=m] && MEDIA_USB_SUPPORT [=y] && I2C [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_USB [=n]
  │   Selects: ...


Look at the Depends on: line. DVB_USB_CXUSB will be hidden until that boolean expression evaluates to true. From my kernel, I need to change DVB_USB before I can see the option.
You may need to apply the search, set process recursively until you get the result you want.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 4:15 pm    Post subject: Reply with quote

Thank you for helping.

grep the kernel agrees with yours. But, when I check:
-> Support for various USB DVB devices

The options unfold do not include Conexant (CXUSB):
Code:
  │ │    <M>     Afatech AF9015 DVB-T USB2.0 support                      │ │ 
  │ │    <M>     Afatech AF9035 DVB-T USB2.0 support                      │ │ 
  │ │    <M>     Anysee DVB-T/C USB2.0 support                            │ │ 
  │ │    <M>     Alcor Micro AU6610 USB2.0 support                        │ │ 
  │ │    <M>     AzureWave 6007 and clones DVB-T/C USB2.0 support         │ │ 
  │ │    <M>     Intel CE6230 DVB-T USB2.0 support                        │ │ 
  │ │    <M>     E3C EC168 DVB-T USB2.0 support                           │ │ 
  │ │    <M>     Genesys Logic GL861 USB2.0 support                       │ │ 
  │ │    <M>     MxL111SF DTV USB2.0 support                              │ │ 
  │ │    <M>     Realtek RTL28xxU DVB USB support       
  │ │    <M>     DVBSky USB support

which agrees to what I see in .config

To further support this, I emerged kernel 4.14.14 (not stable), did a silent config and the option showed-up.

So, I found a workaround but which kick me out of stable.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Feb 04, 2018 4:29 pm    Post subject: Reply with quote

jssilva,

You can see all the hidden options in menuconfig if you want to. Press 'z'.

Code:
  │ │            < >   Support for various USB DVB devices                                         │ │ 
  │ │            - -     Enable extended debug support for all DVB-USB devices                     │ │ 
  │ │            - -     AVerMedia AverTV DVB-T USB 2.0 (A800)                                     │ │ 
  │ │            - -     DiBcom USB DVB-T devices (based on the DiB3000M-B) (see help for device li│ │ 
  │ │            - -       Support faulty USB IDs                                                  │ │ 
  │ │            - -     DiBcom USB DVB-T devices (based on the DiB3000M-C/P) (see help for device │ │ 
  │ │            - -     DiBcom DiB0700 USB DVB devices (see help for supported devices)           │ │ 
  │ │            - -     HanfTek UMT-010 DVB-T USB2.0 support                                      │ │ 
  │ │            - -     Conexant USB2.0 hybrid reference design support

Notice that Support for various USB DVB devices is not selected so all the other things are not selectable.
Code:
- -     Conexant USB2.0 hybrid reference design suppor
is your option.
The - - symbol means forced off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 5:02 pm    Post subject: Reply with quote

Thank you for your patience.

That's a clever tip. I remember to have read about it but had never tried.

First of all, I wasn't checking Support for various USB DVB devices but instead Support for various USB DVB devices v2, because the former is not showing before pressing Z.

So, when I press Z, the non-v2 option, preceeded by the CXUSB option, show up but are not checkable.
EDIT: actually there are two Conexant options preceeding, and one succeding as in your list.

I checked all the dependencies that you pointed before and they are all met. But obviously there is something I must be doing wrong, although the upgraded kernel behaves correctly.


Last edited by jssilva on Sun Feb 04, 2018 5:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Feb 04, 2018 5:13 pm    Post subject: Reply with quote

jssilva,

Go back and check the Depends On: Its in the help.
You can read the help after you press 'z', even if the option cannot be selected.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 5:41 pm    Post subject: Reply with quote

Thank you again for your time.

These are the dependencies (just learned another thing):
Code:
   Depends on: MEDIA_SUPPORT [=m] && MEDIA_USB_SUPPORT [=y] && \         │ 
  │ MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_CORE [=m] && USB [=y] && \         │ 
  │ I2C [=y] && RC_CORE [=n]


All are met with exception of the last RC_CORE, which I couldn't find as a definition by greping /usr/src/linux, although I found some dependants.

Code tags added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Feb 04, 2018 6:56 pm    Post subject: Reply with quote

jssilva,

Press / and enter RC_CORE
Code:
  ┌──────────────────────────── Search Results ─────────────────────────────┐
  │ Symbol: RC_CORE [=y]                                                    │ 
  │ Type  : tristate                                                        │ 
  │ Prompt: Remote Controller support                                       │ 
  │   Location:                                                             │ 
  │ (1) -> Device Drivers                                                   │ 
  │   Defined at drivers/media/rc/Kconfig:2                                 │ 
  │   Depends on: INPUT [=y]

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 7:29 pm    Post subject: Reply with quote

Got it, it's working, many thanks for the lecture.

But how was I supposed to know that MEDIA_RC_SUPPORT, which is a remote control support option, would open the door to dvb usb sticks options? Somethings you just learn by doing.

I'm marking this as solved (by yourself, I mean).

Rgds
jss
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Sun Feb 04, 2018 9:10 pm    Post subject: Reply with quote

jssilva,

The kernel Depends on: list is supposed to be complete. Its somewhat less than perfect :)

Once you can read the Depends on: list for the option you want, you need to make its boolean logic return true.
The kernel does a lot of this to hide things you can't possibly use.
e.g. all the things that don't work/don't exist on your ARCH are hidden until you press 'z'.

Getting the Depends on: list to be true is always required.
Sometimes its not enough.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jssilva
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2017
Posts: 106

PostPosted: Sun Feb 04, 2018 10:14 pm    Post subject: Reply with quote

Again, many thanks for the invaluable lecture. I now feel much more prepared to manage Gentoo, although I know I still have a lot to learn.

Rgds
jss
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum