Re: how to get a registered adapter name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benedict bdc091 wrote:
> Hi list,
> 
> I'd like to enumerate connected DVB devices from my softawre, based on
> DVB API V3.
> Thank to ioctl FE_GET_INFO, I'm able to get frontends name, but they
> are not "clear" enough for users.
> 
> After a "quick look" in /var/log/messages I discovered that adapters
> name are much expressives:
> 
>> ...
>> DVB: registering new adapter (ASUS My Cinema U3000 Mini DVBT Tuner)
>> DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...
>> ...
> 
> So, I tried to figure out a way to get "ASUS My Cinema U3000 Mini DVBT
> Tuner" string from adapter, instead of "DiBcom 7000PC" from adapter's
> frontend...
> Unsuccefully so far.
> 
> Any suggestions?
> 

Hello,

I have the same issue, I look a bit to the code of the DVB drivers, it
seems not obvious to recover this name as it is written now

It is stored in the "struct dvb_adapter". and printed by
dvb_register_adapter, but doesn't seems to be available by other functions

I don't think changing the v3 API or adding a new IOCTL for this is a
good idea.

What about using the new DVB API (v5) to do this? Since I'm not an
expert with this API, is there some people familiar with it which can
give me advices about the good way to do it (and if it is a good idea)
so that I can start to write some code.

Thank you

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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux