[android-porting] Re: LCD can not work

2010-08-04 Thread Brad Davis
The problem is that your kernel driver isn't allocating enough resolution for the Android graphics subsystem to work, specifically the yres_virtual must be at least twice as big as the yres. Android uses double buffering and the kernel told Android that there wasn't enough space to double buffer (

Re: [android-porting] LCD can not work

2010-08-04 Thread Ashwin Bihari
The first released version of Android (1.5) used 2.6.27 as it's base and then 2.6.29 and now 2.6.32. Is there any particular reason you are playing with 2.6.25? You should at least start with what Google started with Ideally, since you are doing the port to begin with you should port Eclair with 2.

[android-porting] Quick search box QSB query in FROYO

2010-08-04 Thread Uander
Hi , Earlier in Eclair , I am having this issue . Click on QSB and enter few character . Qwerty keyboard pops up . Now Press special key to open Call-log app on emulator . It supress QSB and open call-log screen . Now press Back key , this will let user to come to home screen but QSB is not op

[android-porting] Android on Chinese Mobile

2010-08-04 Thread Abhyudai Shanker
Hi, I want to load Android to a Chinese phone. Is there any basic specification in the phone which I must fulfill in order to make sure that it supports Android? Has anyone tried doing any such thing before. I just want to customize Android for another phone, so what specifications should I loo

[android-porting] Re: wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-04 Thread guru
Hi Chih-Wei I added -o domain_name_servers as below service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/ data/misc/wifi/wpa_supplicant.conf group wifi inet disabled oneshot service dhcpcd /system/bin/dhcpcd -B -o domain_name_servers eth0 disabled oneshot the

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Pavan Savoy
all the more reason to do start bluetoothd instead of doing a bluetoothd -d from cmd line... but i suppose yours is a problem with the chip init using hciattach ..(or i guess so..) On Wed, Aug 4, 2010 at 3:40 PM, Ajith Kamath wrote: > I got it from this reference mail: > > http://www.mail-archi

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
I got it from this reference mail: http://www.mail-archive.com/android-porting@googlegroups.com/msg01917.html How should i proceed since previous conversation was pertaining to hcid.? Thanks, Ajith On Wed, Aug 4, 2010 at 3:33 PM, Ajith Kamath wrote: > In my last trial run i did start hciattac

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
In my last trial run i did start hciattach from after dbus daemon was started : I got following in log: 01-01 00:04:40.251: WARN/libdbus(2482): Failed to start message bus: Could not obtain fd for android socket dbus I had read your previous conversation with siddharth and Nick, with nick mention

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Pavan Savoy
don't have the execs... remove them .. and yes debug the hciattach !! On Wed, Aug 4, 2010 at 3:01 PM, Ajith Kamath wrote: > Thats the thing. > I m not able to find out why 2 times of hciattach is required. > Also start hciattach and start bluetoothd didn't do anything. > > can't i  just use this

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
Thats the thing. I m not able to find out why 2 times of hciattach is required. Also start hciattach and start bluetoothd didn't do anything. can't i just use this in init.rc like i do in command line. But the thing is this also didn't work. Any modification required? on boot start dbus exec

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Pavan Savoy
ok basic BT start-up on android happens in system/bluetooth/bluedroid.. it has to do .. 1. set power i.e write 1 to /sys/class/rfkill/rfkill0/state 2. run hciattach ..via the start hciattach .. 3. ioctl DEVUP to hci0 .. 4. run bluetooth via doing a start bluetoothd.. I have no idea why in your cas

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
Hiattach has bcm specific initialisation. Till now to run BT I didn't do start bluetoothd command. Also after 2 hciattach's when i manaually give hciconfig hci0 up, it gives me Connection timed out(110) error. But inspite of this BT will be start when clicked , since i have given those 2 commands(

Re: [android-porting] Re: Adding new folder to repo?

2010-08-04 Thread Deva R
Hi, I assume you work with android.git.kernel.org, and - ideally you should add your project as separate project under ./external/ you should be able to build and work. if you are good, no problem. the problem comes only if you want to post the patch to gerrit., since it doesn't belong to any o

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Pavan Savoy
there should really be on 1 hciattach, i.e it needs to be run once.. I guess with mentioning bcm, the hciattach would have a custom _init and _post function which does BCM specific initialization, like setting baud-rate via HCI-VS and fw download... but via cmd line.. you should probably be do

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
Hi Pavan, But doing only hciattach with device type as 'any' doesn't work.( I tried that now , inside init.rc) Do i need to put second hciattach with dev type as 'bcm2035' in init.rc??? Also in command line only after exceution of both commands , i get buletooth running. I stumbled across this by

[android-porting] Re: Android HAL.

2010-08-04 Thread Uma Sankar
Hi, I am also looking for the same, Can anyone help in this regard? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Help - How to write test stubs for GPS device driver

2010-08-04 Thread Uma Sankar
Hi All, I need to write test stubs(automation) to verify my GPS device is working good. I am not sure these stubs should write at HAL level or Framework level. Can anyone give the pointers on this? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google