Cesar Eduardo Barros escreveu:
Cesar Eduardo Barros escreveu:
To see if I can base my cpufreq work on 2.6.26, I compiled a 2.6.26 kernel and successfully booted it both on both qemu and a real GTA01Bv4.

[...]
I haven't tested the peripheral chips (GSM, BT, GPS); however, sound works (this defconfig has everything built-in instead of using modules, which is much better than having sound as a module).
[...]
BT is harder to test (the GUI doesn't have any bluetooth programs other than the power control AFAIK), and GPS is impossible to test right now (I can't get the first fix inside my home, I have to go outside; since I erased the rootfs, this will be a first fix).

I do not know what I was thinking yesterday. I do not need OBEX file transfers to test BT, and I do not need to get a fix to test the GPS.

- BT works fine (a "hcitool scan" can find other nearby bluetooth devices);
- GPS, however, doesn't.

The problem seems to be the sysfs paths. An alternative gllin script I downloaded from somewhere shows it nicely:

Starting gllin...
...killing old instances
killall: ld-linux.so.2: no process killed
killall: gpsd: no process killed
mknod: /tmp/nmeaNP: File exists
...starting gpsd
./gllin: line 16: gpsd: not found
...powering up gps
./gllin: line 20: cannot create /sys/bus/platform/devices/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/neo1973-pm-gps.0/power_sequence: nonexistent directory
...testing gllin
...starting gllin
[EMAIL PROTECTED]:~/gllin# Stack size 8864 bytes (9 KB)

The correct path would have i2c-adapter:i2c-0 instead of i2c-adapter/i2c-0:

[EMAIL PROTECTED]:~/gllin# cd /sys/devices/platform/s3c2410-i2c/i2c-adapter\:i2c-0/0
-0008/
[EMAIL PROTECTED]:/sys/class/i2c-adapter/i2c-0/0-0008# ls

I recall gllin needed compability symlinks in the past; perhaps it needs new ones (or, even better, a suitably hacked schwartz[1]; or perhaps a LD_PRELOAD trick).


[1] http://unadventure.wordpress.com/2008/01/04/1-presenting-schwartz/

--
Cesar Eduardo Barros
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to