Siano (SMS) DTV driver [WAS: Re: Introduction]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Siano (SMS) DTV driver [WAS: Re: Introduction]
Quoted 18 lines · Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: Introduction
To: "Uri Shkolnik" <[email protected]>
Cc: [email protected], "linux-dvb" <[email protected]>, "Linux Media Mailing List" <[email protected]>, "Michael Krufky" <[email protected]>
Date: Monday, January 12, 2009, 7:25 PMQuoted 3 lines · On Mon, 12 Jan 2009 07:33:19 -0800 (PST) Uri Shkolnik <[email protected]> wrote:
Mauro,
My name is Uri Shkolnik, I work at Siano Mobile
Silicon as a software architect.
Quoted 2 lines
I tried to get in touch with you lately, but I had
probably used the wrong email address, so forgive me for contacting by replying to a post of yours to the one of the LinuxTV mailing lists...
Quoted 5 lines
No problem, but I suspect you're suffering some troubles on your anti-spam
filters. I've already answered to you twice on your previous emails, from my
infradead.org account.
[Uri S.] infradead.org has been added to our "trusted" domains list, hope it'll solve the problem.
Quoted 61 lines
Quoted 2 lines
Siano develops DTV chip-sets (multi-standards,
multi-interfaces) which are used by Siano's many customers and partners.
Quoted 1 line
Couple of years ago, our Linux support was minimal,
but that situation has changed, and proximately a year ago, we started to get more an more demand for Linux kernel support, and we started to offer a minimal set of drivers.
Quoted 2 lines
At the beginning, we used the excellent services given
to us by Michael Krufky, and actually everything we want to publish went through him.
Quoted 2 lines
Recently, the number of Siano-based Linux projects and
products increased significantly.
Quoted 2 lines
With the fast growing number of customers and
projects, the number of additional interfaces, DTV standards and changes fast growth we needed a different approach.
Quoted 2 lines
On mid-November, we took the second approach which is
suggested at the README.patches file, and submitted the patches to the linux-dvb mailing list, till today, except some people who took those patches and apply them locally on their systems, nothing has been done with those patches, and the main mercurial tree has not been updated with them.
The current way we work is that we have some driver maintainers. The driver
maintainer is responsible for picking the patch at the mailing lists and apply
on their trees, after their review. They then ask me to pull from your trees.This year, we've made one change: now, the patches should be sent to
[email protected]. This mailing list is monitored by a robot that
picks the patches and add they at a database. the database can be accessed
publicly via http://patchwork.kernel.org. This way, people can check each
patches. This will also help me to have more control of patches that were lost
in the mailing lists.From my view, as the subsystem maintainer, I prefer to get the patches directly
from the manufacturer, of course provided that the manufacturer actively
maintains the driver and understands the development model used on Kernel.Quoted 1 line
The current state is that a huge gap has been opened
between the LinuxTV repository (and from it to the Linux kernel git) offering and what we have at Siano.
Quoted 2 lines
We would like to close this gap ASAP and maintain an
on-going, easy synchronizing process.
Quoted 1 line
Quoted 9 lines
Quoted 1 line
It seems that the best method to archive this goal is
to have maintainer permissions on media/dvb/siano directory.
There are two ways for us to work to archive the goal to minimize the gap:
1) you may send the patches via
[email protected], c/c me on they;
[Uri S.] I'm attaching to this email an archive of patches.
(!) Note: Regarding the GPIO implementation that is currently in Mercurial tree, there are logical errors embedded in it, which may cause system (SMS chip-set) failure. (!) Michael - Please modify the new sms-cards.c (Tiger related) code to reflect the wanted I/O behavior after the attached patches will be committed.
I'll also email the patches one by one to [email protected], in clear text, so the robot will process them.
Quoted 8 lines
2) you may create a Mercurial tree for you. From time to time, you sync your
tree with the development one, add your patches there and ask me to pull. It
would be better if you could host the tree on some site from you. If you can't
do it, we may create you an account at linuxtv.org.
[Uri S.] I created ("clone") the tree locally, but to have an external access to it will demand very long work with our IT department. It'll be much simpler to create an account at Linuxtv.org.
Quoted 5 lines
If the volume of updates by month is not big, (1) may work better. It also
allows a better patch review from the community, so, it is currently the
preferred way.
[Uri S.] Please note that my selfish convenient points to the Mercurial tree option, with it I can mirror any commit to the Siano's SVN repository with a matching commit to the Mercurial repository, and use the hg, hgview, hgtk and other tools to monitor with ease the changes history (and even write the SVN commit's number in the Mercurial and vice versa). But again, I can manage everything (with auxiliary spreadsheet, and a little more effort) using the commits-by-emails method.
Anyway, I'll take your lead regarding it, please let me know which method should be used.
Quoted 16 lines
Michael,
Please let me know if you have any objections on having the Siano developers
sending us their patches directly.Signature · 8 lines
Cheers, Mauro -- 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
Thanks for your help
Best regard,
Uri
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
(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...)
Quoted 1 line · Uri Shkolnik
[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
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 14 lines · BOUWSMA Barry
From: BOUWSMA Barry <[email protected]>
Subject: Re: [linux-dvb] [PATCH] Siano (SMS) DTV driver [WAS: Re: Introduction]
To: "Uri Shkolnik" <[email protected]>
Cc: "Mauro Carvalho Chehab" <[email protected]>, "Michael Krufky" <[email protected]>, "linux-dvb" <[email protected]>, [email protected], "Linux Media Mailing List" <[email protected]>
Date: Tuesday, January 13, 2009, 7:55 PM
(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...)Quoted 1 line · Uri Shkolnik
[Uri S.] I'm attaching to this email an archive of
Quoted 9 lines
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.
Great :-)
Quoted 11 lines
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:
Quoted 7 lines
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.
Please read also the PDF document. The device major number is set by parameters give during the module initialization. modprobe smsmdtv smschar_major=XYZ
will set it to the value you like.
You may, of course, use the /etc/modprobe.d/options files to set this number permanently.
Quoted 17 lines
I've already noted this in mail to the dvb@ mailing list, but it
probably doesn't hurt to repeat this... Or maybe it doesAnyway, 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
(quoted diff) +2
-0+time.*/ +int smschar_major = 251;
Quoted 4 lines
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.
True. But you can set your own (as described).
Quoted 33 lines
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)
Quoted 4 lines
That might break plug-in compatibility with devices which today
depend on major 251 being free, but such is life, eh?
Again, 251 is only the default, but you may set it to any number you wish at run time.
Quoted 13 lines
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...
Quoted 2 lines
cheers*hic*prost*hic*skaal*hic*nazdravie*hic*
barry bouwsma
Welcome,
Uri
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb