Re: [linux-dvb] [PATCH] Siano (SMS) DTV driver [WAS: Re: Introduction]

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

 



(Leaving the original recipient list intact, although I'm not
sure if I need to send to `linuxtv-commits@' as I don't keep
up-to-date with much of anything...)

On Tue, 13 Jan 2009, Uri Shkolnik wrote:

> [Uri S.] I'm attaching to this email an archive of patches.

Hello Uri, and first let me thank you for making available the
Siano Mobile Host-lib, as the header files included have answered
most of the questions I had about using Siano devices in 
non-DVB-T applications.

This does not mean that I've yet received and decoded any such
signals, as Real Life[tm] has gotten in the way, but at least it
has saved me from asking you stupid questions which were answered
in the header file  :-)


But, back to the real subject of this mail:

The patches you've supplied set a particular device major ID
from the `available' range, that unfortunately has already been
made use of by other services on a recent (sort-of) machine I'm
using.

I've already noted this in mail to the dvb@ mailing list, but it
probably doesn't hurt to repeat this...  Or maybe it does

Anyway, here's a cut-n-paste or copy-n-paste or whatever is 
correct, from the patches you sent in the mail I'm replying to...

+/*!  Holds the major number of the device node. may be changed at load
+time.*/
+int smschar_major = 251;


The problem is that there is no guarantee that on a 
full-functional Linux system, this major number is actually
free.  For me, it wasn't.

I would imagine that changing this will adversely affect any
embedded-product vendors, or the like, who today can happily
use this major number...


Anyway, thanks to the library you provided me and associated
files, I see there's a simple script that creates the devices,
which presumably the SMS library accesses by name, not number,
and this can be hacked in my case to match reality.


However, I'm not sure if this can be a solution in the general
case.  Given the scarcity of major numbers, I can't expect there
to be a major dedicated to these devices, but I wouldn't be
surprised if someone could come up with some magic to make use
of a DVB major number for alternative non-DVB-T access to these
products.  (This probably would require making public the ten-
or-so lines of the script that creates the alternative access
dev thingies, which shouldn't violate your IP much)


That might break plug-in compatibility with devices which today
depend on major 251 being free, but such is life, eh?



Sorry for any typos or errors in grammar or logic, I'm typing
this in total darkness in an unheated room, and the amount of
not-freebeer I've consumed to try to keep warm has probably
somehow affected my ability to ``think'' as it were.  Maybe.
Plus I can't see the keyboard...


cheers*hic*prost*hic*skaal*hic*nazdravie*hic*
barry bouwsma
--
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