WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: getting sound working in Tinycore Linux  (Read 23051 times)

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
getting sound working in Tinycore Linux
« on: May 23, 2011, 10:51:53 PM »
Hello Forum,

is it best to ask here to save some time.

I have Tinycore Linnux working here. It finds the sound chip on the motherboard
and sound is working.

I also have a USB soundcard plugged in. Tinycore linux finds the USB soundcard.

When i install OSS and run "osstest", tinycore finds both the motherboard sound chip
and the USB soundcard. Both devices produce audible sound results during the test.

My issue is that i really want to use the USB soundcard instead of the motherboard sound chip.

I want tinycore to use the USB soundcard as it's default soundcard for applications.

How can i tell tinycore to ignore the motherboard sound chip and instead sellect the USB soundcard
as it's default sound device?

thanks

Vince.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: getting sound working in Tinycore Linux
« Reply #1 on: May 23, 2011, 11:23:45 PM »
Hi vinceASPECT
Take a look at the output of  dmesg  and try to locate any references to the chip on the motherboard.
Then see which module TC is loading for it and blacklist it by using the boot code  blacklist=modulename

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: getting sound working in Tinycore Linux
« Reply #2 on: May 23, 2011, 11:37:10 PM »
Hello,

the output of "dmesg" shows many things and there is just "one" single line that
refers to the on board sound chip

How do i now find the TC module that is loading with reference to the above single line.

How do i then blacklist that module?

thanks

Vince.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: getting sound working in Tinycore Linux
« Reply #3 on: May 23, 2011, 11:44:59 PM »
How do i now find the TC module that is loading with reference to the above single line.
Use the command "lsmod" and have a look at the list of modules produced

Quote
How do i then blacklist that module?
Add the boot code "blacklist=module_name"

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: getting sound working in Tinycore Linux
« Reply #4 on: May 23, 2011, 11:55:02 PM »
Hello,

OK i will try that but there is another hitch.

My laptop keyboard is broken. At Boot level only 3 keys work, enter, F1 and Escape.

It is not possible to use a USB keyboard plugged in .....boot level won't find it. (bios level)

How can i type a boot parameter?

thanks

Vince.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: getting sound working in Tinycore Linux
« Reply #5 on: May 23, 2011, 11:59:25 PM »
Hi vinceASPECT
Check your BIOS for a  legacy usb  option and change it, that should allow your USB keyboard to
work when booting.

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: getting sound working in Tinycore Linux
« Reply #6 on: May 24, 2011, 12:35:46 AM »
Hello

i don't n know if this is any help to you  but..

without doing any of the above and just knowing what i already know

when the machine is booted into Tinycore there are certain Applications that
can correctly work with sound coming from the USB soundcard.

i run tinycore LIVE from CD disc. I only install OSS.

Then i install the player XMMS. This tool allows you to choose the soundcard in it's preferences.
I choose USB audio.  (da da....the music player plays songs using the USB soundcard)

BUt there is no volume control When i look at the OSS mixer the SUB sound card has a totally
empty tab. Where-as the motherboard sound chip has a full mixer interface.
It's as if tinycore is not really finding the USB sound card properly.

but other apliccations don't use the USB soundcard no matter how i alter the preferences.

FOr example, there is no sound during web browsing.  Flash plug in i guesse is the sound archicect
there but it won't find the USB soundcard over the motherboard sound chip.

installing ALSA has no further effect on the desire to get the USB soundcard to override the
motherboard sound chip.

thanks

Vince.


Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: getting sound working in Tinycore Linux
« Reply #7 on: May 24, 2011, 12:46:15 AM »
Hi vinceASPECT
I don't think you should run alsa and oss at the same time, pick one or the other.

You might try unloading the module using  rmmod -f module_name

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: getting sound working in Tinycore Linux
« Reply #8 on: May 24, 2011, 12:56:18 AM »
You might also have a look at the wiki and forum of OSS.   ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: getting sound working in Tinycore Linux
« Reply #9 on: May 24, 2011, 01:28:47 AM »
Hello

Yes i have been reading the wiki about sound cards.

does this line below mean that it is possible to arrange bootcodes from the desktop
and be able to ignore certain modules at load time  "by simply editing your grub files etc"

---------------------------------------------------------------------------------------------------------------------

Blacklisting of sound devices

For each target….add the relevant bootcode to blacklist the relevant module or modules to your bootloader config file, either menu.lst or grub.cfg

----------------------------------------------------------------------------------------------------------------------

would this editing of the config file therefor assume that you have a hard drive install of Tinycore?

in short, i am asking you if it is indeed possible to use "bootcodes" and to blacklist "modules" at boot time by editing your config file at the desktop level. (thus not needing any keyboard entry at Bios boot level?)

thanks

Vince.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: getting sound working in Tinycore Linux
« Reply #10 on: May 24, 2011, 01:38:12 AM »
Yes, that should basically work with most bootloaders.
Same would apply with isolinux and remastering an .iso.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: getting sound working in Tinycore Linux
« Reply #11 on: May 24, 2011, 01:45:32 AM »
Hello,

I see.

Thanks for replying soon enough.

So there is some purpose in my pursuit of getting this USB soundcard working as the default sound card.

Once i have conquered this above, at least it can be a permanent thing on the cranky old laptop.

yes, i will read some more

thanks

Vince.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: getting sound working in Tinycore Linux
« Reply #12 on: May 24, 2011, 03:24:10 AM »
Quote from: vinceASPECT link=topic=9733.msg52979#msg52979
would this editing of the config file therefor assume that you have a hard drive install of Tinycore?
No - it would work from any install where you can edit the boot config and even from a cd boot if you enter the codes at the prompt.

Quote
in short, i am asking you if it is indeed possible to use "bootcodes" and to blacklist "modules" at boot time by editing your config file at the desktop level. (thus not needing any keyboard entry at Bios boot level?)

Yes, you can edit menu.lst (grub), extlinux/syslinux.conf or whatever from the desktop using a text editor.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: getting sound working in Tinycore Linux
« Reply #13 on: May 24, 2011, 03:27:32 AM »
The blacklisting info in our wiki is for alsa autodetection. See the OSS wiki:

http://www.opensound.com/wiki/index.php/Tips_And_Tricks#Changing_the_default_sound_output
The only barriers that can stop you are the ones you create yourself.

aus9

  • Guest
Re: getting sound working in Tinycore Linux
« Reply #14 on: May 24, 2011, 04:49:01 AM »
hi

"The blacklisting info in our wiki is for alsa autodetection "

IMHO
No auto detection occurs. Its simply a way of stopping a module from loading to stop Alsa using a module that relates to a particular sound device.

2) I gather the OP does not wish to use Alsa?

3) Is OP able to pull out laptop keys and clean underneath at the contact area?