Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 10:26
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Request: compile sis7019 module for Puppy 2.00
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sun 17 Dec 2006, 13:39    Post subject:  Request: compile sis7019 module for Puppy 2.00  

I have tried to compile the source code for the sis7019 audio driver (used by the eBox-2300) for Puppy 2.00. I set up a frugal install of Puppy 2.00 and included devx_200.sfs in the same dir as the save_pup.3fs file.

I followed the instructions in the README as best I could, but references to the soundcore and ac97_codec sources seemed to have messed things up. I found that 2.00 has 'soundcore.ko' but not 'ac97_codec.ko'. Unfortunately, there didn't appear to be any source for ac97_codec either.

Naturally, when I went ahead with som attempts to run various 'make' configurations, I got, as expected, warnings and failure.

Perhaps someone who knows how to compile C code would be kind enough to compile the source code in the attached file for Puppy 2.00. Smile
sis7019_IA_release_2003_02_18.tar.gz
Description 
gz

 Download 
Filename  sis7019_IA_release_2003_02_18.tar.gz 
Filesize  25.05 KB 
Downloaded  521 Time(s) 

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Mon 18 Dec 2006, 05:24    Post subject:  

pakt,
That's old 2.4 kernel source code, and for the old OSS sound drivers.
Barry has already compiled the sis7019 ALSA driver, and it's in Puppy 2.12 - see here -
http://puppyos.net/blog/comments.php?y=06&m=11&entry=entry061109-202333
Run "modinfo sis7019" to check for its presence, and available parameters.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Mon 18 Dec 2006, 05:39    Post subject:  

tempestuous wrote:
pakt,
That's old 2.4 kernel source code, and for the old OSS sound drivers.
Barry has already compiled the sis7019 ALSA driver, and it's in Puppy 2.12 - see here -
http://puppyos.net/blog/comments.php?y=06&m=11&entry=entry061109-202333
Run "modinfo sis7019" to check for its presence, and available parameters.

tempestuous, thanks for the info. Yes, I know 'sis7019' is in 2.12 - it runs very well on the eBox. I was trying to help out Raffy who wanted sis7019 audio working for his MiniPup2.00, based on Puppy 2.00 barebones. Apparently Barry found 2.6 kernel code somewhere for the module in 2.12 Confused

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Mon 18 Dec 2006, 07:42    Post subject:  

OK, I still have an installation of Vector Linux configured with the Puppy 2.0/2.01 kernel, so using the SiS7019 source code from here http://wiki.ltsp.org/twiki/bin/view/Ltsp/SoundCards
I compiled the driver.
I doubt that the ALSA wizard will work. raffy will probably have to load the driver manually:

modprobe soundcore
modprobe ac97_codec
modprobe sis7019

EDIT: download removed.

Last edited by tempestuous on Tue 19 Dec 2006, 05:04; edited 1 time in total
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Mon 18 Dec 2006, 10:47    Post subject:  

Thanks, tempestuous Smile

I'll give it a try - I have a USB stick with MiniPup2.00 installed on it, so it should be easy to test it on the eBox.

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4759
Location: Manila

PostPosted: Mon 18 Dec 2006, 11:21    Post subject: Thanks, now error in modprobe  

Thanks for the quick reply, tempestuous.

I did these without problem:

modprobe soundcore
modprobe snd-ac97-codec

However, "modprobe sis7019" returns "sis7019: Unknown symbol ac97_probe_codec".

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Mon 18 Dec 2006, 12:15    Post subject: Re: Thanks, now error in modprobe  

Yes, I also get that error...
_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4759
Location: Manila

PostPosted: Mon 18 Dec 2006, 22:14    Post subject: Compiling for 2.4 kernel  

Reading the readme in the sis7019 source given in Paul's first post, kernel 2.4 is required, and this is just right for Puppy 1+ version. So I took Pizzasgood's Emptycrust and then tried to find its development environment.

Now it's ready for compiling if I can find my way around. Embarassed

Any help at this point will be much appreciated. Thanks!

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Tue 19 Dec 2006, 00:33    Post subject:  

raffy,
The source code that Paul posted is 2.4-only, but at the link I gave there is both 2.4 and 2.6 source code.
I think my driver failed for you because I compiled it against a more modern version of ALSA than Puppy 2.0 has. My Vector installation has the same ALSA version as Puppy 2.01 - ALSA 1.0.11.

What is your preferred version of Puppy to run on your NorthTec?
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4759
Location: Manila

PostPosted: Tue 19 Dec 2006, 00:45    Post subject: preferred version  

I have been using barebones 2.00 as it was the smallest barebones in the 2 series. So it would be good to have the drivers for that version. However, am not sure whether the development environment for 2.00 is easy to find.

I will try the driver in your 2.02-regression in a moment (am still a big fan of your build that has firefox and uses the kernel of 2.01).

Update1: Same error "sis7019: Unknown symbol ac97_probe_codec" - should I use the true version 201 ISO?

Update2: Using version 2.01r2, the install confirms that the sis7019 module exists, but "modprobe sis7019" still fails. Same error message.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 19 Dec 2006, 03:12    Post subject:  

Good news! I just got an email reply from Barry concerning the sis7019 source code he used in Puppy 2.12.

I'll post his comments and attach the source file. This one should work Smile
BarryK wrote:
I had to hack the source to get it to compile, so the attached is my hacked version.

Probably just (with the devx_200.sfs installed):
# make clean
# make
# make install
it installs to /lib/modules/2.xxx/misc/sis7019.ko

If make doesn't work, you will have to grab the kernel source and expand it in /usr/src.

Smile
Paul
sis7019-bk-patched-p212.tar.gz
Description 
gz

 Download 
Filename  sis7019-bk-patched-p212.tar.gz 
Filesize  57.01 KB 
Downloaded  618 Time(s) 

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Tue 19 Dec 2006, 04:56    Post subject:  

I had already hacked the source code the same way Barry did, so there's no difference there ... but I discovered some critical information:
1. This driver is OSS, not ALSA, but that's OK, it still works in Puppy.
2. This driver requires the ac97_codec module, which is also OSS, and DOES NOT EXIST in Puppy 2.0 and 2.01.
So I have simply repackaged the dotpup to contain the ac97_codec module.
I have shifted the location of the modules, the dotpup automatically deletes the previous sis7019 module, and runs "depmod".

raffy, I just noticed in your earlier post -
raffy wrote:
modprobe snd-ac97-codec

That's wrong. "snd-ac97-codec" is an ALSA module. It should be -
Code:
modprobe ac97_codec

EDIT April 29 2008
sis7019 package attached, compatible with Puppy 3.x and 4.0
Puppy 3.x and 4.0 do contain the sis7019 module, but the ac97_codec module is missing, that's why this dotpet is necessary before sound will work.
sis7019-k2.6.21.7.pet
Description  For Puppy 3.x
pet

 Download 
Filename  sis7019-k2.6.21.7.pet 
Filesize  19.07 KB 
Downloaded  487 Time(s) 
sis7019-k2.6.16.7-2nd.pup
Description  For Puppy 2.0, 2.01, and 2.02-regression
pup

 Download 
Filename  sis7019-k2.6.16.7-2nd.pup 
Filesize  30.96 KB 
Downloaded  604 Time(s) 

Last edited by tempestuous on Wed 23 Jul 2008, 11:43; edited 3 times in total
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 19 Dec 2006, 06:50    Post subject:  

I installed your new dotpup in MiniPup2.00 (latest version) the checked lsmod - soundcore was loaded by default.

So I just did

# modprobe ac97_codec
# modprobe sis7019

no error messages - and audio worked Exclamation Exclamation

Thanks tempestuous (and Barry) for helping out Smile

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4759
Location: Manila

PostPosted: Tue 19 Dec 2006, 22:17    Post subject: Working in 2.01  

Great - it is working now in Puppy 2.01!

Working in barebones 2.00 (in minipup2) is a bonus - thanks, Paul, Tempestuous and Barry.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Tue 19 Dec 2006, 23:35    Post subject:  

I also tried to compile the 2.4 kernel version of the sis7019 driver for Puppy 1.0.4-1.0.9. No success, I'm afraid.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0841s ][ Queries: 13 (0.0127s) ][ GZIP on ]