WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Is there a list of Ham Radio extensions already in TC?  (Read 8472 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #15 on: November 12, 2014, 12:17:18 PM »
Keep discussion here. Later we can split, move, etc. if needed.

I would say forget OSS, solve it with ALSA. Install usb-tils.tcz and run lsusb to see whether the USB sound device is available as an USB device. Also check dmesg (expecting it is plugged in when booted) and look for USB and sound related messages at the end.

If it is recognized, check sound cards recogtnized by Alsa with cat /proc/asound/cards to see is it there or not. List of loaded kernel modules (lsmod) may help too.

Lets see these to decide how to proceed.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #16 on: November 12, 2014, 02:22:35 PM »
Ok. Just got back from my meetings for the day. Thanks for the clue to the direction to take with this. I will get right on it and let you know what I find.

I have always been rebooting between attempts to make sure everything is loaded fresh each time. That's the beauty of TC. I gives you a fresh setup every boot. I left the sound dongle in each time so I will continue to do so and see what shows up in the cards file.

Thanks again.

BKM

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #17 on: November 12, 2014, 02:25:35 PM »
...Regarding reuse of old staff there are cases where simply better to throw them away...

Sounds like the human resources department!    ;)
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #18 on: November 12, 2014, 02:57:31 PM »
Funny Lee.... ;)  Sometimes they do think of "staff" as "stuff" that is disposable. That is why I got out of the corporate world and started my own adventure a long time ago. Even funnier, I quit back then with only 1 hour notice and in the next hour bought a division of the same company. The folks at HR were confused on how I did that for several weeks. Now I have one of their divisions they wanted to close down and have made it something they actually wanted to buy back last year.

Funny how things work out sometimes.

BKM

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #19 on: November 12, 2014, 02:58:02 PM »
...Regarding reuse of old staff there are cases where simply better to throw them away...

Sounds like the human resources department!    ;)

Right... :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #20 on: November 12, 2014, 02:58:55 PM »
Bela,

Ok, the lsusb reports that it found the USB sound dongle:

.Bus 001 Device 001:  ID 1b6d:0001  Linux Foundation 1.1 root hub
.Bus 001 Device 002:  ID 0d8c:013c  C-Media Electronics, Inc. CM108 Audio Controller

This tells me the system can detect the USB sound card. So now to see what the ALSA module thinks...
So, here is the response to the 'cat /proc/asound/cards' command:

. 0  [CS46xx   ]:   CS46xx - Sound Fusion CS4xx
         Sound Fusion CS4xx at 0x50100000/0x50000000, irq 11
. 1  [Device   ]:   USB-Audio - USB PnP Sound Device
         C-Media Electronics Inc USB PnP Sound Device at usb-0000:00:07.2-1, full speed

Now this tells me that both the internal sound system shipset and the USB sound dongle are recongized by the system and should be available to the FlDigi program. Yet, when I run FlDigi and look in the configuration screen, there is no audio device listed. It contunues to automatically check the box for "File I/O Only".

Is there a step I missed to get the audio resources into the system as available? From what I can see here both of the audio cards should be available for use. I am just not sure what ALSA needs to make that happen.

BKM

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #21 on: November 12, 2014, 03:04:05 PM »
Did you install alsa-config and run ( as root) "/usr/local/etc/init.d/alsasound start" ?

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #22 on: November 12, 2014, 03:11:35 PM »
Ummm.... nope. I thought that would run on boot. Let me try it and see what happens.

Be right back...


BKM

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #23 on: November 12, 2014, 03:34:54 PM »
Hmm... I used the "alsasound start" command and it came back with:

.Starting sound driver: snd-cs46xx

So it appears to have started a non-running sound driver for my internal sound card chipset (of all things). Now when I fire up FlDigi and go to the configuration settings, the "File I/O only box" is still checked, but there is now a device listed in the OSS device box as "/dev/dsp"

I am assuming that If I now check the OSS box it uses the snd-cs46xx driver?! Since there had never been anything populated in this box before, it seems logical that this is the case.

However when I reboot the system and check FlDigi again the "/dev/dsp" is missing until I go run the alsasound start command again. Soooooo.... how do I get the alsa sound driver to start autoMAGICally when the system boots?

I can't have a bunch of whiny windoz teenage ham students trying to start a sound driver from root each time they start their session. Heck, it's bad enough that I have to figure out FlDigi for the first time. I had always been using simple HRDelux on my personal system and this is a little different (but much more satisfying  ::) )

Gerald - thanks for giving the clueless a clue!

BKM

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #24 on: November 12, 2014, 03:47:44 PM »
Add it to /opt/bootlocal.sh and do a backup.  You really need to read the book.
http://tinycorelinux.net/book.html

Also, when you install a program ,  read the info file.  It will have important notes and instructions.
« Last Edit: November 12, 2014, 03:49:19 PM by gerald_clark »

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #25 on: November 12, 2014, 04:45:43 PM »
Yup... I downloaded "the book" and will dig deeper tonight as I relax.

I did get the soundcard to start on boot with editing the bootlocal.sh

At this point is looks like everything I need to be working will work. So, now I just want to wipe the hard drive and start a fresh frugal install again so that I only have the items loaded that I need loaded. I think I have a very good list of how to get there now and what order to get them done for everything to boot correctly.

The only problem I have is the live cd will not let me install on the hard drive until I unmount it, and everything I have tried to get it unmounted has not worked. Even though I booted from the cd it still mounts the HD and I can't seem to get it unmounted.

Can you give me one more clue tonight?

BKM

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #26 on: November 12, 2014, 05:18:15 PM »
Quote
The only problem I have is the live cd will not let me install on the hard drive until I unmount it, and everything I have tried to get it unmounted has not worked. Even though I booted from the cd it still mounts the HD and I can't seem to get it unmounted.

Can you give me one more clue tonight?
If your tce directory is on the hard drive, it will not let you umount it because of the mounted extensions.

Does /etc/sysconfig/tcedir point to a directory on the HD?

32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #27 on: November 12, 2014, 05:27:58 PM »
If you boot with 'base norestore' it should not mount anything.  Then you should be able to clean the hard disk and start over.
You should not need to do this though.
The APPS->Maintenance->Dependencies And Deletions will allow you to remove no longer needed extensions.
It will also automatically remove any dependencies that are not needed by any other extension.

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #28 on: November 12, 2014, 06:10:54 PM »
Booted with "base norestore" and got it to do a fresh install. Thanks gentlemen.

I will now retire to reading the core book and go through the setup of the 2 packages I want running later tonight. Once I have that done I will use that process to setup up the remaining 6 laptops. I guess I will then be spending the weekend making up the custom cables/interfaces to connect the laptops to the radios.

Thanks to all that offered clues. I think I can get it to do what I want for now. I will refine my process this time and then maybe do it all over again when a stable release of version 6 is ready.

It has been fun. TC through the user interface feels strange after doing so much work in the past on microcore without it.

BKM

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: Is there a list of Ham Radio extensions already in TC?
« Reply #29 on: November 13, 2014, 04:10:08 AM »
You don't need to do manual install steps for each laptop. Once you have one setup, you can just clone the HD, should save you some time.
The only barriers that can stop you are the ones you create yourself.