--- On Tue, 1/13/09, BOUWSMA Barry <freebeer.bouwsma@xxxxxxxxx> wrote: > From: BOUWSMA Barry <freebeer.bouwsma@xxxxxxxxx> > Subject: Re: [PATCH] Siano (SMS) DTV driver [WAS: Re: Introduction] > To: "Uri Shkolnik" <urishk@xxxxxxxxx> > Cc: "Mauro Carvalho Chehab" <mchehab@xxxxxxxxxx>, "Michael Krufky" <mkrufky@xxxxxxxxxxx>, "linux-dvb" <linux-dvb@xxxxxxxxxxx>, linuxtv-commits@xxxxxxxxxxx, "Linux Media Mailing List" <linux-media@xxxxxxxxxxxxxxx> > 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...) > > 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. > Great :-) > 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. 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. > > 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. > True. But you can set your own (as described). > 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? > Again, 251 is only the default, but you may set it to any number you wish at run time. > > > 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 Welcome, Uri _______________________________________________ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb