Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby stimuli » Tue Oct 12, 2010 9:53 am

Any clues as to when a .deb that works with Ubuntu 10.10's kernel will be released? I appreciate OSS4 on my Geode LX system; Alsa eats 100% CPU and stutters like mad.

I've found OSS4 allows me to listen to MP3s and MPlayer movies, and leaves plenty of CPU to boot (albeit only 1 audio stream at a time, which is fine).

OSS4 worked great under 2.6.32 kernels, but Maverick Meerkat aka Ubuntu 10.10 ships with the much better 2.6.35 kernel. I've yet to get a working OSS4 setup, with either the broken-hasn't-worked-ever-why-is-it-in-the-repositories Ubuntu repository OSS4 packages, nor the worked-before .deb from 4front's opensound.com site.

It builds and installs fine, but doesn't start up correctly. No audio and warnings of no mixer.

Any ideas? I suspect I will have to wait for 4front to release a working .deb

ossinfo reports:
Code: Select all
Version info: OSS 4.2 (b 2003/201007311944) (0x00040100) GPL
Platform: Linux/i586 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC 2010 (kjsa)

Number of audio devices:        0
Number of audio engines:        0
Number of MIDI devices:         0
Number of mixer devices:        0


Device objects
0: osscore0 OSS core services
1: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices

Audio devices

Nodes


lsmod | grep oss reports:
Code: Select all
oss_usb                92545  0
oss_geode               8451  0
osscore               541033  2 oss_usb,oss_geode
stimuli
New Member
 
Posts: 6
Joined: Tue Oct 12, 2010 9:45 am

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby cesium » Wed Oct 13, 2010 1:53 am

What happens if you run "sudo ossdetect -v" and restart OSS (sudo soundoff && sudo soundon)? You can also try building the source from the mercurial repo.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby stimuli » Wed Oct 13, 2010 9:22 am

ossdetect -v:

Code: Select all
Detected AMD Geode CS5536 (BETA)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)


osstest:

Sound subsystem and version: OSS 4.2 (b 2003/201005280201) (0x00040100)
Platform: Linux/i586 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC 2010


NOTICE! You don't have any audio devices available.
It looks like your audio hardware was not recognized
by OSS.

If you have installed OSS just a moment ago then it may be necessary to.
to rebot the system before trying to use the device(s).

I tried the 2.6.36 'mainline' aka unpatched kernel. The build broke, so I removed line 956 from osscore.c as per another thread in this forum. After removing line 956, the build is successful, but OSS4 is in the same situation.

I think the appropriate devices are being created in /dev/ (ie: /dev/mixer is in there), the modules are loading etc, but OSS4 doesn't function.
stimuli
New Member
 
Posts: 6
Joined: Tue Oct 12, 2010 9:45 am

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby cesium » Wed Oct 13, 2010 5:13 pm

Can you paste the output of 'lsmod' and of 'ossinfo -v3' after (re)loading OSS? Note that mercurial source shouldn't need patching to work with 2.6.36 - possibly you were using an older repo without updating ("hg pull && hg update") it?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby stimuli » Wed Oct 13, 2010 9:14 pm

Sorry, I was referring to the .deb from opensound.com above.

I grabbed the source via mercurial. FYI I don't have gtk2 dev packages install... are they mandatory?

the make build failed while attempting to make 'ossmeter'
Code: Select all
*snip*
contributions
make[1]: Entering directory `/root/oss/contributions'
for n in ossmeter;do (echo $n && cd $n && make ARCH=i586) || eval 'exit 1'; done
ossmeter
make[2]: Entering directory `/root/oss/contributions/ossmeter'
make[2]: *** No rule to make target `../../target/bin/ossmeter', needed by `all'.  Stop.
make[2]: Leaving directory `/root/oss/contributions/ossmeter'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/root/oss/contributions'
make: *** [subdirs] Error 1



edit: cancel that. I nuked the contributions folder from the source and the build worked. Will try this OSS4...
Last edited by stimuli on Wed Oct 13, 2010 9:41 pm, edited 2 times in total.
stimuli
New Member
 
Posts: 6
Joined: Tue Oct 12, 2010 9:45 am

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby igorzwx » Wed Oct 13, 2010 9:26 pm

stimuli wrote:I don't have gtk2 dev packages install... are they mandatory?


Not really mandatory, but if you want to have OSS Mixer GUI (ossxmix)...
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Ubuntu Maverick Meerkat: 2.6.35 kernel + OSS4 no worky

Postby stimuli » Wed Oct 13, 2010 9:54 pm

Freakin sweet... it worked! Thanks cesium for your patience with this floundering n00b!

And best of all, since I built it with my own flags, vmix should now work. Commence playing multiple sound sources ;)
stimuli
New Member
 
Posts: 6
Joined: Tue Oct 12, 2010 9:45 am


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron