Keyboard Drvier C

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

Keyboard Drvier C

Post by Yashas »

I copied the source mentioned in the wiki.osdev.org but it dose not work when i boot it.
The driver which i had made worked but limited features.

What are the possible reasons for this???
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Keyboard Drvier C

Post by bluemoon »

In this quantum universe there is infinite possibilities. :shock:
So can you be more specific on the problem? What and how it does not work?
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

Re: Keyboard Drvier C

Post by Yashas »

I check many times?But I failed.

I hav checked the following IRQ,IDT,Print Function,Layout.
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Keyboard Drvier C

Post by bluemoon »

Well, what is the expected result and the reality observation? By saying It Failed we have no idea what's going wrong.

- Do it tripple fault when a key pressed?
- Did you setup proper interrupt handlers and successfully get into break point?
- Is any keyboard code fetched from INs as expected?
- Have you ACK'ed the PIC? If no, you probably cannot get second key-stoke.
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

Re: Keyboard Drvier C

Post by Yashas »

The interrupt is perfect.Incoming Keyboard interrupt are recognised in my System manager but ikry pressed is not getting saved or displayed.Mu display function is correct becaz i am useing it every ware and its working fine.
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: Keyboard Drvier C

Post by brain »

The reason it is limited is due to the fact it is an example and incomplete by design, you have to extend it yourself with your own new code :-)
User avatar
zhiayang
Member
Member
Posts: 368
Joined: Tue Dec 27, 2011 7:57 am
Libera.chat IRC: zhiayang

Re: Keyboard Drvier C

Post by zhiayang »

Wow what. this guy posting thrice in a row asking (relatively) noob questions, (yes, I do admit I'm noob, but still), yet claiming he has...

what...?
I had made it so advanced that it supported VGA, ATA, IDE, ACPI(Great Difficulty),ATA PI,ISO File System and now i am trying NTFS (I am Crazy).
???

And yet when someone asks for proof he/she shunts the question or goes dead. Wow.

(not being hostile or anything, but unbelievable.)
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: Keyboard Drvier C

Post by brain »

I wouldn't mind seeing some working ntfs code that isn't part of linux/bsd actually...
User avatar
zhiayang
Member
Member
Posts: 368
Joined: Tue Dec 27, 2011 7:57 am
Libera.chat IRC: zhiayang

Re: Keyboard Drvier C

Post by zhiayang »

brain wrote:I wouldn't mind seeing some working ntfs code that isn't part of linux/bsd actually...
and the fact is even the linux ntfs driver only has the basic-est read support, iirc...
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

Re: Keyboard Drvier C

Post by Yashas »

http://forum.osdev.org/posting.php?mode ... 1&p=203798
Look there

And also open the linux files read and understand and impliment it ,u can within a day or 2-3 days.Not the whole thing.Out of my 100% driver, 25% from linux and bsd and react.



And also let us stop proof ,proof,or something.Try to find solution in for the post.Even i knew someone would ask for the code as proof.But my NTFS Driver is iunder construction,i am just making the structure of the FS.
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Keyboard Drvier C

Post by gravaera »

I heard that they discovered a problem recently with the NTFS underlying hardware that makes it disable the keyboard chip and stuff when you activate it. Can you paste your AHCI code so we can see if the AHCI OS layer is working well with your soundcard? There's a compatibility issue with Windows IIRC, but we need to see the code asap, before your BIOS fails...
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: Keyboard Drvier C

Post by brain »

gravaera wrote:I heard that they discovered a problem recently with the NTFS underlying hardware that makes it disable the keyboard chip and stuff when you activate it. Can you paste your AHCI code so we can see if the AHCI OS layer is working well with your soundcard? There's a compatibility issue with Windows IIRC, but we need to see the code asap, before your BIOS fails...

I seriously lol'd :-D
shikhin
Member
Member
Posts: 274
Joined: Sat Oct 09, 2010 3:35 am
Libera.chat IRC: shikhin
Contact:

Re: Keyboard Drvier C

Post by shikhin »

brain wrote:
gravaera wrote:I heard that they discovered a problem recently with the NTFS underlying hardware that makes it disable the keyboard chip and stuff when you activate it. Can you paste your AHCI code so we can see if the AHCI OS layer is working well with your soundcard? There's a compatibility issue with Windows IIRC, but we need to see the code asap, before your BIOS fails...

I seriously lol'd :-D
Aww! I thought we'd continue that seriously, and wait for the OP to reply.. :(

(but, yeah, +1 to gravaera!)
http://shikhin.in/

Current status: Gandr.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: Keyboard Drvier C

Post by bubach »

Hahahahha, gravaera - the newest neural net spambot for osdev boards? :P
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Locked