Re: [linux-dvb] getting started with msi tv card

2009-01-27 Thread Daniel Dalton
Hi Barry,

Sorry about the delay, I was out of town for a few days.

 I seem to recall that in Australia, use is made of an MHEG
 service.  I don't know if a regular teletext service is
 available -- you will see this in the results, when you have
 a tuner capable of scanning.

I look forward to finding out... :-)

 trivially converted to braille or spoken.  I'm not sure about

Braille..., what format do they originate in? Is it tv signal, or some
kind of text guide or something?

 the MHEG services, as they seem to place more importance on
 the on-screen appearance, yet they do use a TrueType font.
 
 Anyway, while conventional teletext is not simple ASCII-like,
 it is based on a hamming of a limited character set which can
 be converted back to a standard 128- or 256-character set
 font, and of course the normal characters can be displayed as
 braille.

oh... ok

 
 Now, here is an example of some of the useful information
 to be found on a full teletext service, to show that, if it
 were available to you, you might find it interesting.  This
 is a page giving inter-bank exchange rates from the Euro to
 your own currency, and is meant as an example (it's in german,
 but should be trivial to understand)
 
 /GIP  IG*** PHOENIX Mi 21.01.09 18:01:45
  PHOENIX.text   2/2
  Devisenkurse
  Letzte DatenabfrageDiff.  Kurs-
  21.01.09, 18:00 UhrVortag zeit
 
  USA... (USD)   1,2857  -0,20% 17:59
  GB (GBP)   0,9369  +0,94% 17:59
  Schweiz... (CHF)   1,4767  -0,13% 17:59
  Japan. (JPY) 112,9800  -2,35% 17:59
 
  Kanada (CAD)   1,6365  +0,37% 17:59
  Südafrika. (ZAR)  13,0970  -1,05% 17:50
  Hongkong.. (HKD)   9,9990  +0,07% 17:49
snip

Thanks, that looks interesting, so does it all depend on what service is
available here in Australia?
 However, my point is that if this type of service is broadcast
 in your area, you may find it interesting and useful, as you
 would be able to make use of the text content within.
 

Indeed, thanks very much.

Cheers,

Daniel.

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


Re: [linux-dvb] getting started with msi tv card

2009-01-27 Thread Daniel Dalton
Hi Barry,

On Fri, Jan 23, 2009 at 01:41:41AM +0100, BOUWSMA Barry wrote:

 Basically, this all means that your tuner sees something,
 but it can't quite lock onto it.
 
 

Right.

  Am I better getting a new card? I got this a couple of years ago when I
  was on windows, and never used it, so yeh I don't have the original
  aerial that came with it or the original disks...
 
 As Antti has suggested, you may have better luck with a
 new different card.
 

Alright then.

 As an offside, supposedly the linux-dvb mailing list has
 been abandoned by every developer, and only a few DVB-freak
 luddites remain, and in theory, by posting this to the
 linux-media list I should magically reach thousands of
 developers who can fix the support for your card.  Rght.
 
 For these developers, seeing this for the first time, the
 history behind this thread, including details about the
 card being discussed, are safely archived on the linux-dvb
 mailing list over the past three-or-so days.
 

ok

  I'm connecting it to a co-axle point in my home; I lost the original
  antenna.
  I'm reasonably sure that point should work fine.
 
 I will take your word for it; you are welcome to still
 have doubts.  However, if others in your home are able
 to tune digital TV signals, then that pretty much
 points to your device as having problems.
 

ok

 In place of the original antenna, you can try a short
 length of wire, say, 5cm long for the UHF frequency, to
 about half a metre for the other frequencies.  This will,

What kind of wire? Ear phone? and how do I hook this up to the receiver
since it has a co-axle input plug on it.

 I have worried that what I write might not work when
 converted to speech.  Probably I should not worry, but
 be certain that I do not attempt any ASCII graphics that
 depend on sight, and of a whole screen.  If, by mistake,
 I have done this, please give me the slap I deserve...

Nup, you've done a great job. When using mutt and brltty with my braille
terminal, I've never come across anything I couldn't read (yet:-)) And
that's been over a year.

 Availability seems to depend a lot on geographic
 region, so you are going to want to hear from someone
 also in Australia who can offer suggestions.

I'm probably going to buy off ebay.

 this far, GET A LIFE!!1!  I mean, sorry, here is some

lol :-)



thanks very much Barry, that information is very useful indeed.

Have a good one

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


Re: [linux-dvb] getting started with msi tv card

2009-01-27 Thread BOUWSMA Barry
On Tue, 27 Jan 2009, Daniel Dalton wrote:

[Now, ideally, a teletext service, being text-based, can be]
  trivially converted to braille or spoken.  I'm not sure about
 
 Braille..., what format do they originate in? Is it tv signal, or some
 kind of text guide or something?

The teletext service I hope you would be able to get, is sent
as part of the digital service.  Here I will quickly explain
that a Transport Stream, which is used by DVB-T, mixes together
digital versions of several services, including audio soundtrack,
or radio, as well as video signals, and additional data services,
with each component being able to be identified by its own ID.

A conventional set-top-box will convert the video from its
digital form to an analogue equivalent, then convert the audio
soundtrack into its analogue form, and decode and add the
teletext to the video signal, perhaps also including its own
internal teletext decoder for user convenience.

Then these analogue signals are delivered to your tv by one of
many means, be it as an RGB signal through a SCART connector,
or in the worst case, by modulating an RF carrier.

But your Linux machine will be working with the Transport
Stream directly, selecting the particular IDs of interest.
When you look at that particular ID, you see merely a
datastream including the payload.

So, just as your TV audio will be carried in a form which
will be similar to the mp3 files you've certainly used, or
whatever format, you can also write the teletext data to
a file and work with that.

When you get your tuner working, or one that does, if you
do receive a teletext service, I'll guide you through the
steps needed to actually see the content being broadcast.

As a little teaser, I will paste part of a hexdump of an
update to today's rates of the example I posted earlier.

01c0  20 20 20 20 20 cb 61 6e  61 64 61 ae ae ae ae 20  | .anada |
01d0  a8 43 c1 c4 29 83 20 20  31 2c b6 31 38 37 02 20  |.C..).  1,.187. |
01e0  ab b0 2c b3 37 25 07 31  32 ba b0 37 20 d3 fd 64  |..,.7%.12..7 ..d|
01f0  61 e6 f2 e9 6b 61 ae 20  a8 da c1 52 29 83 20 31  |a...ka. ...R). 1|
0200  b3 2c b3 37 b6 31 02 20  ab b0 2c b5 b6 25 07 31  |.,.7.1. ..,..%.1|
0210  31 ba b5 b0 20 c8 ef 6e  67 6b ef 6e 67 ae ae 20  |1... ..ngk.ng.. |
0220  a8 c8 cb c4 29 83 20 31  b0 2c 32 b5 b6 37 02 20  |). 1.,2..7. |
0230  ab b0 2c 31 b6 25 07 31  31 ba 34 b9 20 d3 e9 6e  |..,1.%.11.4. ..n|

There are some readable parts of words (Canada, Hongkong)
to be seen in the ASCII dump at the right, but it is not
quite a simple text dump.

The program I hacked to display this in text form does
the conversion into ASCII with the added characters for
the particular language in use.

So, to answer your question, essentially it is a text
guide.


Now, the MHEG service, in contrast, is Java based, and I
have downloaded a good number of files, both text and
binary, that would be used to display a particular page.
However, I can't see a simple way to get at the text
info within and display it.  That would be for someone
who has studied and understands this service.


 Thanks, that looks interesting, so does it all depend on what service is
 available here in Australia?

That is correct.  One more thing I should note, is that
this text type of teletext supports, and broadcasters
generally make heavy use of, features such as colours,
double-height and blinking characters, and in particular,
parts of character blocks that can be used to create
simple graphics.  Think of some sort of ASCII art, or,
with the most common use made of these graphics by
commercial broadcasters, ASCII pr0n.

DANGER!  ASCII PR0N PASTED BELOW!  SENSITIVE READERS
SHOULD AVERT THEIR GAZE OR SKIP TO THE NEXT MESSAGE!
^L
I MEAN IT!  IT COULD QUALIFY AS EXTREME PORN!
^L
THAT'S IT, I TAKE NO RESPONSIBILITY FOR YOUR ACTIONS!

This pr0n is made worse by the fact that my console font
does not include the full range of teletext partial blocks,
so I've substituted characters such as `*' and `X' to try
and give a feel for how the graphics should appear.
Maybe a full Unicode X font will include such characters
and I can simply map them to UTF8, but I'm primarily
interested in the text content information on my text console.

Here's the pr0n...

  █X█X*XX*???*?██   XXX*AMI
  █X?█??*█ █X?* █  **

No, this is not going to work.  There are too many characters
which are not yet converted to something and I'm having to add
as `?' by hand.  Anyway, the blocks on the left are used to
form words; to the right the blocks would be forming the top
of a female head.

 auszuziehen.Magst *X*███XX*██
 Du mir die Kleider *XXX* ██
 vom Leib reissen? XX██* X█*

At the right, part of a stomach and arm

Well, anyway, if these non-ASCII full blocks have made it
through intact and are diplaying correctly anywhere, 

Unicode Teletext (was: Re: [linux-dvb] getting started with msi tv card)

2009-01-27 Thread BOUWSMA Barry
On Wed, 28 Jan 2009, Daniel Dalton wrote:

  Maybe a full Unicode X font will include such characters
  and I can simply map them to UTF8, but I'm primarily
  interested in the text content information on my text console.
  
  Here's the pr0n...
  
???X???X*XX*???*???   XXX*AMI
???X??*??? ???X?* ???  **
  
  No, this is not going to work.  There are too many characters
  which are not yet converted to something and I'm having to add

 ah, ok... I kinda get it... :-)

Actually, your `mutt' mailer has managed to convert the
UTF-8 encoding which I hope you received into ASCII and
substituted its own `?' for those block characters which
should have appeared as correct UTF-8, though I'll need to
check an archive.

And after quite a few too many hours, I still don't get it,
and I'm going to have to ask help from the collective
knowledge pooled here.

I've seen that the 10646 encoded fonts available usually
have the familiar box-drawing and related characters I've
partly been able to use for a few of the graphics.

Unfortunately, these seem to be either based on a 2x2 set
of quads, or a 3x4 array.  While the teletext graphics in
use uses a 2x3 array.

I've come upon two sets of fonts which supposedly cover
the teletext character set with a 10646 encoding.  But
the first one, which does include the 2x3 graphics chars
that otherwise need a `fontspecific' encoding, seems to
have hijacked existing assigned unicode characters in
order to display the graphics.

That is, with this font, these characters no longer display
properly (selection limited due to pasting from a 512-char
console font)
[◆]  U+25C6   #9670;  BLACK DIAMOND
[◊]  U+25CA   #9674;  LOZENGE
This is matched by reading the code:
const wchar_t graphutf8[128] = { // Graphic characters on an unicode terminal 
ISO-10646
[...]
0x25A0,0x25A1,0x25A2,0x25A3,0x25A4,0x25A5,0x25A6,0x25A7, 
[...]
0x25B0,0x25B1,0x25B2,0x25B3,0x25B4,0x25B5,0x25B6,0x25B7, 
[...]
0x25C0,0x25C1,0x25C2,0x25c3,0x25C4,0x25C5,0x25C6,0x25C7, 
[...]
0x25D8,0x25D9,0x25DA,0x25DB,0x25DC,0x25DD,0x25DE,0x25DF,
};

I'm still trying to determine whether the second font has any
graphics and where they would be hidden -- even the handy
[█]  U+2588   #9608;  FULL BLOCK
character is missing.


Does anyone know whether the various 2x3 graphics used in
teletext fonts are in fact present in Unicode?  I haven't
been able to convince google to give me the answer I want.
I would think that with everything I do see with a unifont
font, that such widely-used characters wouldn't have been
left out...


thanks for any pointers,
barry bouwsma
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] getting started with msi tv card

2009-01-21 Thread Antti Palosaari

Daniel Dalton wrote:

On Wed, Jan 21, 2009 at 12:46:32AM +0200, Antti Palosaari wrote:
Yes, should work out of the box. No need to install any driver, driver 
is included in your Kernel.


/dev/dvb/adapter0/ is created. so does this mean the right modules have
been loaded?


Yes, drivers and firmware loaded. It should be all functional.


I've been googling, and have played with w_scan and me-tv.
Kaffeine unfortunately is qt and won't work with braille/speech, but
me-tv does. So I got sighted help to scan for channels in kaffeine, the
scan didn't find any channels.
Next, I ran the w_scan program, and that as well failed to find any
channels. Finally, I ran me-tv and that as well failed. (I selected my
location for me-tv).

So, how do I get w_scan or me-tv to find some channels? It's probably
not worth talking about kaffeine as I won't be able to use this. I'm
plugging my usb receiver into a tv connection in my home which a
standard tv would plug into.

Any ideas?


I think the problem is poor QT1010 tuning performance. You cannot do 
much for that now. I recommended to get other stick.


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


Re: [linux-dvb] getting started with msi tv card

2009-01-20 Thread Antti Palosaari

Daniel Dalton wrote:

On Tue, Jan 20, 2009 at 01:30:57PM +0200, Antti Palosaari wrote:

Daniel Dalton wrote:

Could someone please let me know what I have to do to get my msi 5580
usb digital tv tuner working with linux?
What drivers do I need? What software, what should I do to test it and
is it possible to use the remote once it is up and running?
It should work with v4l-dvb / Kernel newer than about two years. 


So... My 2.6.26-1 kernel out of aptitude (debian lenny), should work?


Yes, should work out of the box. No need to install any driver, driver 
is included in your Kernel.


There is two versions of MSI Megasky 580. Both looks similar, but have 
still different USB-bridge chip inside. Both are supported. The older 
one uses m9206 chip and newer gl861 chip. Older needs also firmware. 
Sometimes older is called as 5580 and newer 5581, number goes from 
USB-product ID.


However, tuner performance is not very good. With weak signal it works 
better than strong. All remote keys are not working because driver does 
not upload IR-table to the chip.


ok


I have newer one, gl861 5581, and this is the version which have remote 
problem. I think older Megasky have all remote buttons functional.



Finally, I'm vission impared, so are there any programs for controling
the tv either command line based or gtk? I can't use qt applications.
If qt is my only option it's fine, I'll figure out a way for handling
this once the card is working.

Totem, Me-TV, Kaffeine, mplayer, Xine.


Mplayer works with this card? Great!

How would I begin configuring it for mplayer then?


I think mplayer is not very user friendly, try Kaffeine or Me-TV 
instead. Kaffeine have own channel scanner so it is very easy to 
configure. Otherwise you will need initial tuning file and then scan to 
get channels.conf. Try google for more info.


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