I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
Sound working in Linux!

New MessageSound working in Linux! (modified 0 times) james
Profile
I just got sound working.. wooh! Basically, I followed the steps taken in the "USB100TX Solution == new kernel" thread (Not sure how to link to the thread directly). Compiled a 2.4.17pre1 kernel and included the module for via82cxxx. After booting, I did this:

insmod ac97_codec.o
insmod via82cxxx_audio.o

And this detected the soundcard just fine.. mpg123 now plays mp3s succesfully.

If anyone wants the image and doesn't want to recompile the kernel, let me know, or check out the other thread entitled "New Jailbait V6 Image for IA-1" where Rasmus has compiled basically the exact same kernel I did, and posted an image..

12-16-2001 20:10:38

New MessageRE:Sound working in Linux! (modified 0 times) paynejul
Profile | Email
yes, i would want that image....also, could you tell me what net drivers you are using in thaty build
12-16-2001 21:00:45

New MessageRE:Sound working in Linux! (modified 0 times) james
Profile
It has the latest pegasus driver (Which others have reported to work perfectly). I can't test it yet, since my nic hasn't arrived. Give me a minute to get the image sorted out and I'll post a link to the download.
12-16-2001 21:08:05

New MessageRE:Sound working in Linux! (modified 0 times) james
Profile
Actually, just building the kaweth driver as well to include, so this is useful for more people..
12-16-2001 21:17:18

New MessageRE:Sound working in Linux! (modified 0 times) james
Profile
Ok, I have the image prepared, but I don't have unlimited bandwidth, so if you want to know where to grab the file from, please email me (james at globalmegacorp dot org).

The image is for internal, includes the pegasus and kaweth drivers (Untested - I assume they work).

It's already set up to load the sound modules on boot, so it should simply work as soon as it loads. The root passwd is 'foo', so you don't need to boot in single user mode to change it.

You'll need to make the same changes to /etc/config/<everything> in the same way detailed in the jailbait FAQ to get networking up and running.

I also created a couple of scripts in / called rw.sh and ro.sh - these will remount whatever partition as read/write or read-only (I got tired of typing the commands out in full). So to make changes to anything on the / partition, just do '/rw.sh /'

My next step working on this will be to remove netscape and replace it with something a little better. Also I want to get xmms or some other X mp3 player installed, so I'm now looking into rebuilding the cramfs partitions. If anyone has any tips on that, I'd be interested in hearing them. Do you just build the .img file and then dd it straight onto the partition? I'm a little nervous about doing this since the sizes won't match.. I think I must be missing something here somewhere..

12-16-2001 22:08:51

New MessageRE:Sound working in Linux! (modified 0 times) Stele
Profile | Email
This is great James. You might want to work with Rasmus on these improvements, as his site has the image and is pretty comprehensive.
12-17-2001 09:03:00

New MessageRE:Sound working in Linux! (modified 0 times) Rasmus
Profile | Email
I just wanted to make sure I kept track of stuff I did and figured it would make sense to make it available to others. I would love to get some input. If you want to send me your .config we can compare notes and I can build whatever you have done into mine. I would also love to see some clues to the stuff in the outstanding issues section of http://php2.chek.com/~rasmus

I need to set up a vmware slice with the right version of GLIBC so I can build working binaries for this thing to try to start replacing some of the binaries on it. I think swapping Netscape/Ishmail for Mozilla would be nice.

12-17-2001 09:30:16

New MessageRE:Sound working in Linux! (modified 0 times) keith721
Profile
rasmus:

one of the things bball mentioned last week, was preparing multiple read-only images that booted and ran from the external CF card. this way, there's no need to flash to the internal 16 meg SanDisk, and there's room for more software on the external card (from 32 meg to 256 meg, or more). Booting the IA-1 into different configurations would be as easy as swapping CF cards, or take only the time to required to re-flash a single CF card to a different configuration.

just a thought
keith721

12-17-2001 12:52:07

New MessageRE:Sound working in Linux! (modified 0 times) Rasmus
Profile | Email
It makes the most sense to me to use the internal flash as the boot device and use the external for add-ons. That way you can change the personality with different add-on cards but always have the base system on the builtin flash. Deciding on what goes on the base system vs. an add-on is going to be the trick. Netscape/Ishmail really does seem too big for the internal. I am tempted to remove those and beef up the number of drivers and utility programs on the base image and have a separate image for the external which has all these user-level apps on it. Perhaps even a little program that you can use to choose which programs should go on the add-on and have it keep track of the size so you can easily build an add-on image that matches the size of your external flash device. I think this would be a cool and flexible approach.
12-18-2001 09:02:44

New MessageRE:Sound working in Linux! (modified 0 times) bballctaulbee
Profile
- the wonderful thing about Linux is that you can do all these things, and support internal and external filesystems... i really do thank Rasmus for updating the kernel and enabling sound using the original image... problems may arise with lib incompatibilities at some point, but once some impetutus is given to development for hacking the IA-1, good things will happen!

- with a base distro flashed on the internal, external parts of a bigger file system can be mounted from the external flash or via NFS...

- although having a bootable external does have some advantages, the main object here is to enable as many features as possible... but don't forget - we are working with a $99 computer!

- i certainly agree that Netscape could be replaced, but don't forget those who don't have a Linux LAN...

- i'm going to test, then add Keyspan USB-serial adapter support to enable external modem use... or perhaps even better, enable use of the IA-1's modem? is it an HCF controllerless type? perhaps there's a module already available!

- once again, thanks to everyone working on this...

- btw, Rasmus, please feel free to snarf the usbide.o kernel from my site and make it available on yours if you like; being able to download a pre-built module to enable a particular device on the IA-1 may seem a bit against the 'Linux grain,' but it can sure make like easier for those without the time/inclination/skill/resources to build a development host - this practice is also seen in the PPC Linux arena, where a semi-tradition has evolved in making pre-built kernels, modules.tgz and a System.map available to enable easy updates...

happy hacking!

bball

12-18-2001 09:35:59

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3