Request: compile sis7019 module for Puppy 2.00
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.
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.
- Attachments
-
- sis7019_IA_release_2003_02_18.tar.gz
- (25.05 KiB) Downloaded 665 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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= ... 109-202333
Run "modinfo sis7019" to check for its presence, and available parameters.
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= ... 109-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.12tempestuous 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= ... 109-202333
Run "modinfo sis7019" to check for its presence, and available parameters.
Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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.
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, 09:04, edited 1 time in total.
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".
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? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
Re: Thanks, now error in modprobe
Yes, I also get that error...
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
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.
Any help at this point will be much appreciated. Thanks!
Now it's ready for compiling if I can find my way around.
Any help at this point will be much appreciated. Thanks!
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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?
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?
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.
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? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
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
Paul
I'll post his comments and attach the source file. This one should work
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.
Paul
- Attachments
-
- sis7019-bk-patched-p212.tar.gz
- (57.01 KiB) Downloaded 738 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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 -
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.
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 -
That's wrong. "snd-ac97-codec" is an ALSA module. It should be -raffy wrote:modprobe snd-ac97-codec
Code: Select all
modprobe ac97_codec
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.
- Attachments
-
- sis7019-k2.6.21.7.pet
- For Puppy 3.x
- (19.07 KiB) Downloaded 595 times
-
- sis7019-k2.6.16.7-2nd.pup
- For Puppy 2.0, 2.01, and 2.02-regression
- (30.96 KiB) Downloaded 713 times
Last edited by tempestuous on Wed 23 Jul 2008, 15:43, edited 3 times in total.
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
Thanks tempestuous (and Barry) for helping out
Paul
So I just did
# modprobe ac97_codec
# modprobe sis7019
no error messages - and audio worked
Thanks tempestuous (and Barry) for helping out
Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
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.
Working in barebones 2.00 (in minipup2) is a bonus - thanks, Paul, Tempestuous and Barry.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Thanks anyway for trying, tempestuous. Appreciate the effort!tempestuous wrote: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.
As the sis7019 module should now work in your 2.02-regression-rev2, I'm going to take a new look at using that as a possible base for eBoxPup
Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
-
- Posts: 3
- Joined: Wed 20 Dec 2006, 20:59
Micrphone
Hi there,
iam the new one here
I've done compiling sis7019 for my own small Linux system, based on Busybox and kernel 2.6.16
I use the sourcecode taken from here for kernelversion 2.6 and generate a kernelpatch for it (see attachment).
(After the patch, a new menuitem is shown in OSS Module)
While using mp3blaster to play mp3files all works fine.
But if i try to record with:
dd if=/dev/dsp of=audiofile.raw
and playing it with
dd if=audiofile.raw of=/dev/dsp (or /dev/audio)
..it gives me bad results.
The Voice record works, but it gives me unknowable results (microphone works)
Does anybody knows about the record problems
thanx
iam the new one here
I've done compiling sis7019 for my own small Linux system, based on Busybox and kernel 2.6.16
I use the sourcecode taken from here for kernelversion 2.6 and generate a kernelpatch for it (see attachment).
(After the patch, a new menuitem is shown in OSS Module)
While using mp3blaster to play mp3files all works fine.
But if i try to record with:
dd if=/dev/dsp of=audiofile.raw
and playing it with
dd if=audiofile.raw of=/dev/dsp (or /dev/audio)
..it gives me bad results.
The Voice record works, but it gives me unknowable results (microphone works)
Does anybody knows about the record problems
thanx
- Attachments
-
- sis7019-kernel-2.tar
- SIS7019 Kernel patch for Kernelversion 2.6.16
Try cd /usr/src/kernel-source-2.6.16/sound/oss;patch -p0 < sis7019-kernel-2.6.16.patch - (94 KiB) Downloaded 367 times
-
- Posts: 3
- Joined: Wed 20 Dec 2006, 20:59
Nobody?
Nobody?
come on...
please check your microphone using sis7019 driver, and gimme a feedback please
come on...
please check your microphone using sis7019 driver, and gimme a feedback please
-
- Posts: 3
- Joined: Wed 20 Dec 2006, 20:59
hm..
okay; it look like i speaking with myself.
I found out, that the Kernel driver sis7019 for 2.6 Kernels supports 16bit devices.
like mknod /dev/dspW c 14 5.
after this i can use
dd if=/dev/dspW of=file.raw to record
and
dd if=file.raw of=/dev/dspW to play the record
Be sure that the mixer settings for Igain are 100% (no micboost avaible)
But when i use /dev/dsp, 8bit mono, its record noise.
My problem is: I need 8bit mono for voice recognition. Any idias??
I found out, that the Kernel driver sis7019 for 2.6 Kernels supports 16bit devices.
like mknod /dev/dspW c 14 5.
after this i can use
dd if=/dev/dspW of=file.raw to record
and
dd if=file.raw of=/dev/dspW to play the record
Be sure that the mixer settings for Igain are 100% (no micboost avaible)
But when i use /dev/dsp, 8bit mono, its record noise.
My problem is: I need 8bit mono for voice recognition. Any idias??
I loaded puppy-2.13 to my eBox-2300 but I am struggling to make sound work.pakt wrote: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
Thanks tempestuous (and Barry) for helping out
Paul
The only reason I am using puppy-2.13 is because it has superior video
detection than 2.12. I have tried MiniPup-2.00 but during video detection, I got
black screen and my box hanged. I didn't have to use modprobe, soundcore,
ac97_codec and sis7019 loaded automatically. But no audio. Well, not
exactly. When I did "cat some_sound_file > /dev/dsp", I can hear some sound
with very low volume. I can't adjust volume at all. My question is will eBox-2300's audio work with puppy-2.13? Thanks,
nyu