Driver status in "Boot from SD"

Andy Green andy at openmoko.com
Sun Feb 24 09:14:24 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

>> 2. Bluetooth : Fail
> 
> This will be fixed as soon as I can build a tree again :-/

I confirmed this works on the current git kernel with

echo 1 >
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-bt.0/power_on
echo 0 >
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-bt.0/reset

[CARE!! do not do echo 1>blah ... make sure there is a space after the 1
.... this does something quite different, thanks to Werner for spotting]


You can do

mount -tusbfs usbfs /proc/bus/usb

and then you can find the bluetooth device in

 $ cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.24-mokodev ohci_hcd
S:  Product=S3C24XX OHCI
S:  SerialNumber=s3c24xx
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev=19.58
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:* If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms

>> 9. Motion Sensor : one is OK, the other is Fail.
>> P.S. But the mode needs to check diagnosis standard. So we must discuss
>> with HW how to test in factory.
> 
> Oooh which one fails, how does it fail?

I can confirm both working... don't forget one of them is mounted at 45
degree angle, and that the result is signed, so you can see something
like FFFFFFDC which is -36mG.

>> 12. Audio : Fail - no sound card
> 
> This is interesting one I hope we get some more feedback from Willie.

I added alsa driver support to the git tree, I find the device is
recognized by Alsa okay

$ cat /proc/asound/cards
 0 [neo1973gta02   ]: WM8753 - neo1973-gta02
                      neo1973-gta02 (WM8753)

I don't have the /dev/snd/* in this rootfs or /etc/alsa/alsa.conf etc,
but I will add it and test if you still fail on the latest git.

>> 13. GPS :  Fail
> 
> I will take Willie's power patch today when I can build again and this
> may change it.

Now I can resync to mokopatches Willie's patch is already there.

So please retry with current git.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHwSdgOjLpvpq7dMoRAjFzAJ0W6A7LfaGoYJtVoogSc2dLeqHTWACgj5g9
8wWgL74lKF0SF7KFPUFdebc=
=KIx9
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list