Re: How to get SDA/SCL bit position in the control word register of the video card?
From: Vishal Linux
Date: Fri Nov 25 2005 - 23:12:44 EST
On 11/26/05, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> Hi Vishal,
Hello Mr. Delvare,
>
> First of all, I would suggest that you post using your real name.
> Pretending that you are Linux on your own will not make you popular
This was funny and what is also sometimes considered as ASSUMING something
and JUMPING to conclusion and JUDGING people without knowing them.
My actual name is Vishal Soni and my email address for personal
communication is
vishal.soni.1@xxxxxxxxx
I created email address vishal.linux so that i can dedicate one email
address to the mailing lists for my linux interest and the hundred of
mails, which keeps coming to the mailing list does not block my
personal mails.
You wrote.........
" Pretending that you are Linux on your own will not make you popular"
I don't really give damn to the popularity. I am just another open
source community fan, who is trying to learn about linux and enjoy it.
And open source community dudes are no fools that they wud be getting
this kind of weird feeling and wud make any X,Y,Z........ The LINUX
owner :).
This also reminds me about the real meaning of assume,
(ASSuME) "Making Ass out of You and Me."
So please don't judge the people without knowing them. Every one's way
of thinking and doing things is different.
>
> > I am trying to communicate to the monitor eeprom to get the monitor
> > capabilities and for that i need to have SDA/SCL bit positions in the
>
> > I tried to use linux kernel API char* get_EDID_from_BIOS(void*) and
> > then using kgdb to debug the kernel module (that i wrote) to get the
> > same but failed to find the way to get the above.
>
> I couldn't find any function by that name in the Linux kernel source
> tree. What are you talking about?
/usr/src/linux-2.6.x/include/video/edid.h
>
> > I do have the offset of the control word register and Masking Value of
> > Intel and Matrox card but i would like NOT to hardcode the masking
> > value and the offset in my code. This will lead me to modify my code
> > for the different cards.
> >
> > Is there any way to get the control word register's address (and then
> > SDA/SCL bit position) on the linux operating system. Is this
> > information available to linux kernel ?
>
> Support for different hardware belong to different drivers. If you are
> trying to put support for many incompatible chips in a single driver,
Yeah this is not to be done..........
> you're doing something wrong.
As i said........ in the subject i was trying to .........
to get SDA/SCL bit position in the control word register of the video card?
so that i can communicate to the monitor......... without hardcoding
the offset of control word register in my code for every different
card.
> You may also want to take a look at an older program called read-edid
> [2], which does actually attempt to use the BIOS to retrieve the EDID,
> with varying success, then decodes it in a form suitable for X
> configuration files. This can be used in combination with another
> script from the lm_sensors package, decode-edid.pl [3], to get the same
> output from the i2c adapter and eeprom modules instead of BIOS.
>
> [1] http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/eeprom/ddcmon
> [2] http://john.fremlin.de/programs/linux/read-edid/
> [3] http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/eeprom/decode-edid.pl
Yes i am studying the code.......of read-edid .
Thankyou for your time.
Vishal.
>
> --
> Jean Delvare
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/