Can't get bluetooth started

Lorn Potter lpotter at trolltech.com
Fri May 30 23:47:34 CEST 2008


Sean McNeil wrote:
> Reset doesn't help either:
> 
> echo "1"> /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
> echo "1"> /sys/bus/platform/devices/neo1973-pm-bt.0/reset
> echo "0"> /sys/bus/platform/devices/neo1973-pm-bt.0/reset
> cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
> 1

try this:

echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
echo 3300 
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/voltage_ldo4
echo 1 > /sys/bus/platform/drivers/neo1973-pm-bt/neo1973-pm-bt.0/reset
echo 0 > /sys/bus/platform/drivers/neo1973-pm-bt/neo1973-pm-bt.0/reset


> 
> (at least it seems to say it is powered up now)
> 
> but device is not present. I have
> 
> CONFIG_BT_HCIUSB=y
> CONFIG_BT_HCIUSB_SCO=y
> CONFIG_USB_SUPPORT=y
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB=y
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_DEVICE_CLASS=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_BERRY_CHARGE=y
> CONFIG_USB_GADGET_SELECTED=y
> CONFIG_USB_GADGET_S3C2410=y
> CONFIG_USB_S3C2410=y
> CONFIG_USB_ETH=y
> 
> 
> Michael Kluge wrote:
>> Hi Sean,
>>
>> as far as I remember it is needed to reset the BT device after 
>> powering it up in order to make it functional.
>>
>>
>> Michael
>>
>>
>> Sean McNeil schrieb:
>>> I'm not sure why, but I can't get the bluetooth device to start on 
>>> GTA02v6 with andy kernel:
>>>
>>> ...
>>> <6>usbcore: registered new interface driver usbfs
>>> <6>usbcore: registered new interface driver hub
>>> <6>usbcore: registered new device driver usb
>>> <6>Bluetooth: Core ver 2.11
>>> <6>NET: Registered protocol family 31
>>> <6>Bluetooth: HCI device and connection manager initialized
>>> <6>Bluetooth: HCI socket layer initialized
>>> ...
>>> <7>ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
>>> <6>s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
>>> <6>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus 
>>> number 1
>>> <6>s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
>>> <6>usb usb1: configuration #1 chosen from 1 choice
>>> <6>hub 1-0:1.0: USB hub found
>>> <6>hub 1-0:1.0: 2 ports detected
>>> <6>usbcore: registered new interface driver berry_charge
>>> <3>s3c2410_udc: debugfs dir creation failed -19
>>> <6>s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 
>>> 128 bytes
>>> <7>gta02_udc_command(2)
>>> <4>ether gadget: using random self ethernet address
>>> <4>ether gadget: using random host ethernet address
>>> <6>usb0: Ethernet Gadget, version: May Day 2005
>>> <6>usb0: using s3c2410_udc, OUT ep2-bulk IN ep1-bulk STATUS ep3-bulk
>>> <6>usb0: MAC ba:53:87:a2:2b:75
>>> <6>usb0: HOST MAC da:df:99:64:2c:0b
>>> <7>gta02_udc_command(1)
>>> ...
>>> <6>usb0: full speed config #1: 500 mA, Ethernet Gadget, using CDC 
>>> Ethernet
>>>
>>> usb gadget is working. I am nfs mounting filesystem over usb.
>>>
>>> echo "1"> /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
>>> cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
>>> 0
>>>
>>> It says:
>>>
>>> neo1973-pm-bt neo1973-pm-bt.0: GTA02 Set PCF50633 LDO4 = 3200
>>>
>>> device never comes up. Can't I have a usb gadget and use bluetooth? I 
>>> thought so. It would really be bad if I can't.
>>>
>>>
>>
>>
> 
> 
> 


-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, MES, Trolltech




More information about the openmoko-kernel mailing list