[Gta04-owner] Linux 3.5 on GTA04

NeilBrown neilb at suse.de
Fri Aug 24 09:59:37 CEST 2012


On Thu, 23 Aug 2012 18:38:07 +0200 Radek Polak <psonek2 at seznam.cz> wrote:

> On Thursday, August 23, 2012 05:31:26 PM Radek Polak wrote:
> 
> > Hi Neil,
> > i am now using 3.5 kernel with QtMoko. It looks good.
> 
> Two more things. Did you get bluetooth working? I have:
> 
> root at neo:~# lsof /dev/ttyO0 
> root at neo:~# hciattach -s 3000000 /dev/ttyO0 any 3000000 flow
> Device setup complete
> root at neo:~# hciconfig hci0 up
> Can't init device hci0: Unknown error 132 (132)

Works for me:

gta04:~# hciattach /dev/ttyO0 any
Device setup complete
gta04:~# hciconfig hci0
hci0:	Type: BR/EDR  Bus: UART
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:41 acl:0 sco:0 events:0 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0

gta04:~# hciconfig hci0 up
Can't init device hci0: Operation not possible due to RF-kill (132)
gta04:~# rfkill unblock bluetooth
gta04:~# hciconfig hci0 up
gta04:~# hciconfig hci0   
hci0:	Type: BR/EDR  Bus: UART
	BD Address: 00:19:88:19:DD:22  ACL MTU: 310:10  SCO MTU: 64:8
	UP RUNNING PSCAN 
	RX bytes:844 acl:0 sco:0 events:26 errors:0
	TX bytes:399 acl:0 sco:0 commands:26 errors:0


But if I try with 'flow' it fails.  Maybe I messed up the flow control
somehow.  Something else to look in to.

However I get failures 
  
    Can't init device hci0: Connection timed out (110)


You are getting error 132 which is 'rfkill'.
Did you 'rfkill unblock bluetooth' ??


> 
> 
> And i have noticed this message repeatedly in dmesg:
> 
> i2c i2c-2: Failed to register i2c client bmp085 at 0x77 (-16)

-16 is EBUSY.
Do you have some script that tries to register the device?  The 3.5 kernel
does that for you (and sets up the correct interrupt line too).

If I 
  echo bmp085 0x77 > /sys/class/i2c-adapter/i2c-2/new_device


Then I get 
   i2c i2c-2: Failed to register i2c client bmp085 at 0x77 (-16)

just like you.

Thanks for the testing and reports!

NeilBrown

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120824/15742c2a/attachment.bin>


More information about the Gta04-owner mailing list