A few more First-Day issues
Peter Rasmussen
plr at udgaard.com
Thu Aug 16 22:04:36 CEST 2007
I have been able to get access to the GTA01-VB4 a little more, but I am
still puzzled about a few things, which I intend to figure out
eventually, but if someone can come up with some pointers that will
speed it up, I'll much appreciate it :-)
Right now I have the following loaded, which seems to be the latest
pre-build kernel and image:
./dfu-util -a 1 -R -D u-boot-gta01bv4-r12_0_2632_0.bin
./dfu-util -a 3 -R -D uImage-2.6.21.6-moko11-r1_0_0_2388_0-fic-gta01.bin
./dfu-util -a 5 -R -D
openmoko-devel-image-fic-gta01-20070803091138.rootfs.jffs2
I was once able to make a connection to another phone, but no sound was
delivered. Also, it seemed to have problems disconnecting the call, even
if the other side had, so my action was to remove the battery to ensure
disconnect.
Executing:
alsactl -f /etc/alsa/gsmhandset.state restore
Didn't change anything with regard to getting sound through *).
Moving the alsa modules to the phone is mentioned, but I haven't been
able to do that on a running system, so I am wondering if it has to be
done by including it into a jffs2 image?
Why does access have to be through ssh? In a secure environment, we are
a couple of guys who are very comfortable with telnet and ftp and as the
resources are still limited, it doesn't seem out of line (please spare
me the paranoia that I often hear when discussing this with young
people, because I am well aware of the potential problems :-)
While experimenting with accessing the GSM device by using:
root at fic-gta01:~$ cu -l /dev/ttySAC0
I'm able to connect to the GSM device, but I am not able to quit. I only
seem to be able to get "OK" or "ERROR" back, but it won't leave and let
me get back to the terminal. Is this expected behavior at present, or am
I missing something?
Then, when I will eventually be able to build a kernel, I am wondering:
is the only way to change to it, by loading it through the dfu-util, or
is it also possible by using a more "desktop like method", like building
a kernel, putting it in somewhere, eg. /boot, update /etc/lilo.conf, run
lilo and then reboot?
I am hoping to eventually be able to run everything natively on the
Neo1973, just like on a desktop. Hey, it runs 266MHz so it should have
plenty horsepower to build its own kernel :-)
Peter
*) Attempting to see if proper sound modules are loaded I checked, but
finding the following I'm not able to see if what should be there, is.
Is anyone able to tell me what the situation should be to get handset
sound out of it?
root at fic-gta01:~$ ls -l /lib/modules/2.6.21.6-moko11/
drwxr-xr-x 7 root root 0 Jan 1 1970 kernel
-rw-r--r-- 1 root root 1258 Jan 1 1970 modules.alias
-rw-r--r-- 1 root root 69 Jan 1 1970 modules.ccwmap
-rw-r--r-- 1 root root 4020 Jan 1 1970 modules.dep
-rw-r--r-- 1 root root 73 Jan 1 1970 modules.ieee1394map
-rw-r--r-- 1 root root 141 Jan 1 1970 modules.inputmap
-rw-r--r-- 1 root root 81 Jan 1 1970 modules.isapnpmap
-rw-r--r-- 1 root root 74 Jan 1 1970 modules.ofmap
-rw-r--r-- 1 root root 99 Jan 1 1970 modules.pcimap
-rw-r--r-- 1 root root 43 Jan 1 1970 modules.seriomap
-rw-r--r-- 1 root root 8519 Jan 1 1970 modules.symbols
-rw-r--r-- 1 root root 1637 Jan 1 1970 modules.usbmap
root at fic-gta01:~$ ls -l /lib/modules/2.6.21.6-moko11/kernel/
drwxr-xr-x 7 root root 0 Jan 1 1970 drivers
drwxr-xr-x 5 root root 0 Jan 1 1970 fs
drwxr-xr-x 2 root root 0 Jan 1 1970 lib
drwxr-xr-x 3 root root 0 Jan 1 1970 net
drwxr-xr-x 3 root root 0 Jan 1 1970 sound
root at fic-gta01:~$ ls -l /lib/modules/2.6.21.6-moko11/kernel/sound/
drwxr-xr-x 4 root root 0 Jan 1 1970 soc
root at fic-gta01:~$ ls -l /lib/modules/2.6.21.6-moko11/kernel/sound/soc/
drwxr-xr-x 2 root root 0 Jan 1 1970 codecs
drwxr-xr-x 2 root root 0 Jan 1 1970 s3c24xx
root at fic-gta01:~$ ls -l
/lib/modules/2.6.21.6-moko11/kernel/sound/soc/s3c24xx/
-rw-r--r-- 1 root root 13624 Jan 1 1970
snd-soc-neo1973-wm8753.ko
-rw-r--r-- 1 root root 4804 Jan 1 1970
snd-soc-s3c24xx-i2s.ko
-rw-r--r-- 1 root root 5908 Jan 1 1970 snd-soc-s3c24xx.ko
-rw-r--r-- 1 root root 5100 Jan 1 1970 snd-soc-smdk2440.ko
root at fic-gta01:~$ lsmod
Module Size Used by
nls_iso8859_1 3808 1
nls_cp437 5472 1
vfat 10144 1
fat 46268 1 vfat
nls_base 6720 4 nls_iso8859_1,nls_cp437,vfat,fat
snd_soc_neo1973_wm8753 9976 0
snd_soc_s3c24xx_i2s 3496 1 snd_soc_neo1973_wm8753
snd_soc_s3c24xx 4384 1 snd_soc_neo1973_wm8753
snd_soc_wm8753 28568 1 snd_soc_neo1973_wm8753
s3cmci 11396 0
rfcomm 35484 0
ohci_hcd 20812 0
hidp 14720 2
l2cap 20196 10 rfcomm,hidp
hci_usb 15228 0
bluetooth 48580 6 rfcomm,hidp,l2cap,hci_usb
More information about the device-owners
mailing list