Sunday, April 30, 2006

dmesg

After login, the command "dmesg" will cat the console messages to the screen.

Saturday, April 29, 2006

baudline

Found a great program for visualizing sound called Baudline (free as in beer): http://www.baudline.com. Got it installed on linux box and started playing around with it. Really nice graphics.

ntpdate ntp.org

Since we didn't spring for the real time clock as part of the SBC we need correct the date each time we reboot. The command is
$root> ntpdate ntp.org

The startup script /etc/init.d/ntpdate already existed. The links in the directory /etc/rcS.d get started during boot with the "start" command. The scripts are executed in order from S00 to S99. I used S51 so ntpdate will run after the hwclock scripts run (and fail).

root$ ln -s /etc/rcS.d/S51ntpdate.sh /etc/init.d/ntpdate

Sunday, April 23, 2006

mount CF jump drive (Lexar 512MB)

I wanted to mount my flash drive which I use in windows. I inserted the drive in USB it displays
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device
sda: 1014784 512-byte hdwr sectors (520 MB)
/dev/scsi/host0/bus0/target0/lun0: p1 p2


The fdisk -l shows the two partions, I have on the jumpdrive. Tried
mount -f vfat /dev/sda1 /mnt/flash
It did not recognize the vfat filesystem . It looks like the ARM linux does not load the DOS filesystem related modules ( it makes sense not load unncessary modules). To load the modules

insmod fat
insmod vfat
insmod msdos

mount -r -t vfat /dev/sda1 /mnt/flash
#( -r is for read-only - just wanted to be safe )

ls /mnt/flash


That's it!!

To unmount
umount /mnt/flash

SPM

Monday, April 10, 2006

Sunday, April 09, 2006

faster boot-up

disable non-crtical services at startup
update-rc.d -f mysql remove

update-rc.d mysql start 20 3 4 5 . stop 20 0 1 6 . (note the periods)

edit /etc/inetd.conf to disable ftp and telnet ....

eth0 works.

After I figured out that eth1 and eth0 have different MAC addresses eth0 came right up.

Saturday, April 08, 2006

Network is up!

Used ifup to get the network running on eth1. I'll have to see if the same works for eth0 after I finish marveling at my handywork.

Also used "apt-get install python" which installed python 2.3.

Still need to get the x11 working.

---

Thursday, April 06, 2006

Put the ts-7300 in a large RadioShack project box. Got it to act as a stand alone with keyboard and monitor. Still have not been able to start X yet.

TODO:
Hook up to network
Get X11 working
Pygame/Python installed
Port VisualHearing
Get usb mic and install drivers