I HAVE A QUESTION!
I WANT TO MAKE AN AUDIO DRIVER TOO
YES IM STUPPIED BUT I THINK I CAN! SORRY CAPS ON
how do u started, my audio is a ac97 adi ad1888
=) thx if u can help
358 replies to this topic
#41
Posted 11 July 2006 - 10:48 PM
#42
Posted 11 July 2006 - 11:48 PM
xandiztxu, on Jul 11 2006, 05:48 PM, said:
I HAVE A QUESTION!
I WANT TO MAKE AN AUDIO DRIVER TOO
YES IM STUPPIED BUT I THINK I CAN! SORRY CAPS ON
how do u started, my audio is a ac97 adi ad1888
=) thx if u can help
I WANT TO MAKE AN AUDIO DRIVER TOO
YES IM STUPPIED BUT I THINK I CAN! SORRY CAPS ON
how do u started, my audio is a ac97 adi ad1888
=) thx if u can help
1. Read "Writing Audio Drivers" on apple's site.
2. Get specs on your card, especially device registers.
3. track down BSD or Linux(ALSA) drivers for your card.
4. Port it.
5. dogbert's CMI driver found on 3rd party drivers section in wiki is helpful for ac97 pci cards.
That's all i can do for you.
#43
Posted 11 July 2006 - 11:50 PM
#44
Posted 12 July 2006 - 02:34 AM
Using kext v3
Jul 11 16:28:37 rodolfos-computer kernel[0]: deviceID/VendorID: 0x83847690 Jul 11 16:28:37 rodolfos-computer kernel[0]: Your codec MATCHES and the Jul 11 16:28:37 rodolfos-computer kernel[0]: following values are Jul 11 16:28:37 rodolfos-computer kernel[0]: CORRECT and SET BY BIOS. Jul 11 16:28:37 rodolfos-computer kernel[0]: SPDIF in: 0x40f000f0 Jul 11 16:28:37 rodolfos-computer kernel[0]: SPDIF out: 0x40f000f1 Jul 11 16:28:35 rodolfos-computer kernel[0]: port A: 0x0421101f Jul 11 16:28:35 rodolfos-computer kernel[0]: port D: 0x90170310 Jul 11 16:28:35 rodolfos-computer kernel[0]: port C: 0x40f000f2 Jul 11 16:28:35 rodolfos-computer kernel[0]: port B: 0x04a11020 Jul 11 16:28:35 rodolfos-computer kernel[0]: MONO OUT: 0x40f000f3 Jul 11 16:28:35 rodolfos-computer kernel[0]: CDPIN IN: 0x40f000f4
#45
Posted 12 July 2006 - 01:59 PM
Kext V3 on a Dell Inspiron 6400:
Quote
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SigmaTelAudioDevice[0x3a7fa00]::initHardware(0x2dc8600)
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: -vvvvvv-SUBMIT INFORMATION STARTING HERE-vvvvvv-
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: deviceID/VendorID: 0x83847690
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: Your codec MATCHES and the
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: following values are
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: CORRECT and SET BY BIOS.
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SPDIF in: 0x40f000f0
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SPDIF out: 0x40f000f1
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port A: 0x0421101f
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port D: 0x90170310
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port C: 0x40f000f2
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port B: 0x04a11020
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: MONO OUT: 0x40f000f3
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: CDPIN IN: 0x40f000f4
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: -^^^^^^-SUBMIT INFORMATION CONTAINED HERE-^^^^^^-
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SigmaTelAudioDevice[0x3a7fa00]::free()
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: -vvvvvv-SUBMIT INFORMATION STARTING HERE-vvvvvv-
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: deviceID/VendorID: 0x83847690
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: Your codec MATCHES and the
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: following values are
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: CORRECT and SET BY BIOS.
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SPDIF in: 0x40f000f0
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SPDIF out: 0x40f000f1
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port A: 0x0421101f
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port D: 0x90170310
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port C: 0x40f000f2
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: port B: 0x04a11020
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: MONO OUT: 0x40f000f3
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: CDPIN IN: 0x40f000f4
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: -^^^^^^-SUBMIT INFORMATION CONTAINED HERE-^^^^^^-
Jul 12 09:55:49 shiroi-for-teh-wins-computer kernel[0]: SigmaTelAudioDevice[0x3a7fa00]::free()
#46
Posted 12 July 2006 - 04:36 PM
Ok cool. Verbtables are the same for the Dell Inspiron 6400 and 9400. Any other laptop/desktop people out there with sigmatel 9200 or 9220s?
#47
Posted 12 July 2006 - 06:13 PM
Ok well now that my code got deleted, I've since restarted, but using the Linux ALSA code as reference instead. This code makes alot more sense. Come to find out, the BSD driver did not work with the ICH7 chip anyway, but the Linux one does. So far in my COMPLETE rewrite, I've managed to CORRECTLY allocate memory for the Buffer Descriptor Lists, Position Buffer, and Stream Buffer(s). I have also allocated DMA memory for the CORB/RIRB buffers. These are ring buffers used for sending commands to the codec without using immediate response (IR) implementation. IR is only to be used when DMA is not readily availiable. So far, the stream buffer, position buffer, and BDLs are not actually running, but the RIRB/CORB ring buffers are running and successfully sending and receiving commands from the codec. This is a HUGE step in the right direction, and you all should see some results soon.
#48
Posted 12 July 2006 - 10:54 PM
top work
#49
Posted 13 July 2006 - 12:06 PM
here are the logs on a dell inspirion 640m
Quote
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: -vvvvvv-SUBMIT INFORMATION STARTING HERE-vvvvvv-
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: deviceID/VendorID: 0x83847690
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: Your codec MATCHES and the
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: following values are
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: CORRECT and SET BY BIOS.
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SPDIF in: 0x40f000f0
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SPDIF out: 0x40f000f1
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port A: 0x0321101f
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port D: 0x90170310
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port C: 0x40f000f2
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port B: 0x03a11020
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: MONO OUT: 0x40f000f3
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: CDPIN IN: 0x40f000f4
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: -^^^^^^-SUBMIT INFORMATION CONTAINED HERE-^^^^^^-
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SigmaTelAudioDevice[0x3362000]::free()
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: deviceID/VendorID: 0x83847690
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: Your codec MATCHES and the
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: following values are
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: CORRECT and SET BY BIOS.
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SPDIF in: 0x40f000f0
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SPDIF out: 0x40f000f1
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port A: 0x0321101f
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port D: 0x90170310
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port C: 0x40f000f2
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: port B: 0x03a11020
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: MONO OUT: 0x40f000f3
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: CDPIN IN: 0x40f000f4
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: -^^^^^^-SUBMIT INFORMATION CONTAINED HERE-^^^^^^-
Jul 13 15:18:45 lagnajeet-pradhans-computer kernel[0]: SigmaTelAudioDevice[0x3362000]::free()
#50
Posted 13 July 2006 - 02:41 PM
Excuse my ignorance, but are you saying that you can get much better sound quality from this card once a driver has been developed? Right now the quality ain't that bad, but if a driver will improve it, you have my support. Thanks a lot for your hard work!
#51
Posted 13 July 2006 - 04:45 PM
No, at this moment, there is no working driver for the Sigmatel 9200 for OSX86. Do not confuse it with the Sigmatel 9220 etc
#52
Posted 13 July 2006 - 05:23 PM
#53
Posted 13 July 2006 - 06:18 PM
I assume this is the sound type used in the widely-loved Dell E1505 laptops, etc?
And if that is the case, I must say...THANK YOU SO MUCH for your efforts in attempting to write this. People like me who can't code worth a darn truly do appreciate your efforts and work, and I'm 110% behind you -- Look forward to seeing results, but understand it takes time, trial and error. Best of luck and again thank you!
And if that is the case, I must say...THANK YOU SO MUCH for your efforts in attempting to write this. People like me who can't code worth a darn truly do appreciate your efforts and work, and I'm 110% behind you -- Look forward to seeing results, but understand it takes time, trial and error. Best of luck and again thank you!
#54
Posted 13 July 2006 - 07:35 PM
locuras, on Jul 13 2006, 07:23 PM, said:
So, this is not for the soundcard on the Intel GNTLKR?
Well, I guess right now it is only for the Sigmatel 9200 (E1505, 1705/9400 ...). It might be used on the other Sigmatels (92X0, the Intel GNTLKR uses the 9220), but I thought their architecture is quiet different from the Sigmatel 9200.
Anyway, I think the best man for this answer is james2mart himself...
#55
Posted 13 July 2006 - 08:52 PM
All HDA Codecs function in the same way. It is very feasible to write a driver that reads all of the required information from the codec. Unfortunately, it is EXTREMELY difficult. Take a look at the ALSA hda implementation for universal coding. It's about 10 files and close to 10000 lines of code. If you hardcode in the node IDs and types, then you dont have need for all the recursive functions that ALSA uses to determine codec capabilities.
As of now, the hardcoded node IDs are for the Sigmatel 9200, and 9200D, and SOME 9220s that have the device ID of 0x83847690. Basically this driver will MATCH with any HDA codec ON AN ICH7 BUS. It will only work with device IDs 7691 and 7690. If I get it to work.
As of now, the hardcoded node IDs are for the Sigmatel 9200, and 9200D, and SOME 9220s that have the device ID of 0x83847690. Basically this driver will MATCH with any HDA codec ON AN ICH7 BUS. It will only work with device IDs 7691 and 7690. If I get it to work.
#56
Posted 13 July 2006 - 10:19 PM
#57
Posted 13 July 2006 - 10:38 PM
In windows go to Start > Run and in the dialog box type "dxdiag" without the quotes. Click on the sound tab and look at Device ID and you can extract the numbers from that.
#58
Posted 14 July 2006 - 06:21 AM
All I can say is if you can get the sound working on my Dell E1505 you will be a god to many many people. It's the only thing that doesn't work on my E1505, everything else works almost out of the box, including QE video, max resolution on the wide screen, wireless (dell card, not intel pro), bluetooth (dell card) and it's FAST! Even though it's a solo 1.6Ghz, it's still faster at most simple tasks than my dual core 3Gig XP machine.
Good luck!
Good luck!
#59
Posted 14 July 2006 - 06:37 AM
I will gladly buy you a pint and give you an e-mail at angrycoder.org for your valliant efforts of code hackery!! 
That is, if you are accepting donations
[edit: I speel werds gud]
That is, if you are accepting donations
[edit: I speel werds gud]
#60
Posted 14 July 2006 - 11:56 AM
sccarlso, on Jul 14 2006, 02:21 AM, said:
All I can say is if you can get the sound working on my Dell E1505 you will be a god to many many people. It's the only thing that doesn't work on my E1505, everything else works almost out of the box, including QE video, max resolution on the wide screen, wireless (dell card, not intel pro), bluetooth (dell card) and it's FAST! Even though it's a solo 1.6Ghz, it's still faster at most simple tasks than my dual core 3Gig XP machine.
Good luck!
Good luck!
Yeah, and even sleep works. I just have a little annoyance (besides using only one core and not having sound or wireless) and is that the key right of the left shift button (the "<" & ">" one) just doesn't work =(
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account
This topic is locked








