Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: help with bluetooth



hi,

> > could someone please provide me with a step-by-step instruction how to
> > communicate with a Nokia 6233 via bluetooth?  I'm trying to sync the
> > contacts list, and send a note from/to the phone.
> >
> >   All I get to work is a btconfig ubt0 inquiry:
> 
> its a good start, means that the device is responding to commands.
> 
> >   I've followed the instructions in the Guide
> > (http://www.netbsd.org/docs/guide/en/chap-bluetooth.html), but every
> > other command listed there just hangs indefinitely.
> 
> definitely awry
> 
> >   I'm running NetBSD/i386 -current (as of about a week ago) on an IBM
> > Thinkpad T42p.
> 
> is it a long time user first time problem or is it the first time you
> tried this?

  It's the first time I tried to use Bluetooth (just got the phone).

> is the bluetooth internal? if usb what kind of usb does it have? There
> have been problems in the past with ehci buses. can you show the dmesg?

  dmesg is attached.  It's internal, though connected via uhub2 @
uhci2.

> when you say 'hangs' do you mean locks up or can you ^C out of it?

  ^C works, but it won't produce any output or finish on its owhn.

> The package sysutils/hcidump is useful to debug, if you can show the
> output of hcidump (as root) while you run such commands (and say which
> commands you are trying) that would be good. It sounds like the baseband
> connection is not being made for some reason, so 'sdpquery -a tim browse'
> should be sufficient to show a failure there.

# hcidump -x
HCIDump - HCI packet analyzer ver 1.5
device: any snap_len: 65540 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
  7B 96 5F DC 1A 00 1E FF 00 00 00 00 01
> HCI Event: Command Status(0x0f) plen 4
  12 01 05 04

In dmesg I get the following:

ubt0: CommandStatus opcode (001|0005) failed (status=0x12)

  When I run spdquery a second time, I get no output from hcidump and
no dmesg entry.


  Thank's for the help.

                                        yours,
                                        dillo
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.42 (LEGBA-PM) #6: Fri Dec 21 01:15:42 MET 2007
        dillo@legba:/usr/build/obj.i386/sys/arch/i386/compile/LEGBA-PM
total memory = 1022 MB
avail memory = 999 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd750
SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
IBM 2373KYG (ThinkPad T42p)
mainbus0 (root)
ACPI Warning (tbfadt-0510): Optional field "Gpe1Block" has zero address or 
length: 000000000000102C/0 [20070320]
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1993.60 MHz, id 0x6d6
cpu0: features afe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features afe9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9f9bf<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 2.00GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: ITLB 128 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 128 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep (1340 mV) 2000 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 1800 1600 1400 1200 
1000 800 600
cpu0: 64 page colors
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpi0: X/RSDT: OemId <IBM   ,TP-1R   ,00003160>, AslId < LTP,00000000>
acpi_pci_link: WARNING: powerhook_establish is deprecated
LNKA: ACPI: Found matching pin for 0.29.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
LNKD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
LNKC: ACPI: Found matching pin for 0.29.INTC at func 2: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
LNKH: ACPI: Found matching pin for 0.29.INTD at func 7: 11
LNKC: ACPI: Found matching pin for 0.31.INTA at func 1: 255
acpi_pci_link: WARNING: powerhook_establish is deprecated
LNKB: ACPI: Found matching pin for 0.31.INTB at func 3: 11
LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 11
LNKA: ACPI: Found matching pin for 2.0.INTA at func 0: 11
LNKB: ACPI: Found matching pin for 2.0.INTB at func 1: 11
LNKA: ACPI: Found matching pin for 2.1.INTA at func 0: 11
LNKC: ACPI: Found matching pin for 2.2.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
CPU (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKH (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
MEM (PNP0C01) [System Board] at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
PCI0 (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
SIO (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
attimer0 at acpi0 (TIMR, PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
DMAC (PNP0200) [AT DMA Controller] at acpi0 not configured
pcppi0 at acpi0 (SPKR, PNP0800)
pcppi0: io 0x61
sysbeep0 at pcppi0
npx0 at acpi0 (FPU, PNP0C04)
npx0: io 0xf0 irq 13
npx0: reported by CPUID; using exception 16
RTC (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pckbc0 at acpi0 (KBD, PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (MOU, IBM0057): aux port
pckbc1: irq 12
UART (PNP0501) [16550A-compatible COM port] at acpi0 not configured
LPT (PNP0400) [Standard LPT printer port] at acpi0 not configured
FIR (IBM0071) at acpi0 not configured
acpiec0 at acpi0 (EC, PNP0C09-0): ACPI Embedded Controller (disabled)
PUBS (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
HKEY (IBM0068) at acpi0 not configured
acpitz0 at acpi0 (THM0): critical 93.0C passive 53.0C, passive cooling
apm0 at acpi0: Power Management spec V1.2
pcppi0: attached to attimer0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855PM MCH Host Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies FireGL Mobility T2 (M10) NT 
(rev. 0x80)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
direct rendering for vga0 unsupported
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x01)
ehci0: interrupting at irq 11
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x81)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 0 function 0: Texas Instruments PCI4520 PCI-CardBus Bridge w/ 
IEEE 1394 Host Controller (rev. 0x01)
cbb1 at pci2 dev 0 function 1: Texas Instruments PCI4520 PCI-CardBus Bridge w/ 
IEEE 1394 Host Controller (rev. 0x01)
wm0 at pci2 dev 1 function 0: Intel i82540EP 1000BASE-T Ethernet, rev. 3
wm0: interrupting at irq 11
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:11:25:b2:1a:a9
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 4
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
iwi0 at pci2 dev 2 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter 
(rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:12:f0:8d:10:d8
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6
pcmcia1 at cardslot1
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801DB ISA Bridge (rev. 0x01)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: SpeedStep enabled
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: Intel 82801DB SMBus Controller (rev. 0x01)
ichsmb0: interrupting at irq 11
iic0 at ichsmb0: I2C bus
spdmem0 at iic0 addr 0x50
spdmem0: DDR SDRAM memory, no parity or ECC, 1024MB, 333MHz, PC-2700
spdmem0: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 6.0ns cycle time
spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at 
pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
aps0 at isa0 port 0x1600-0x161e
aps0: Thinkpad Active Protection System
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 47998 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
IPsec: Initialized Security Association Processing.
ubt0 at uhub2 port 1
ubt0: Actiontec Electronics product 0x2441, rev 1.10/5.46, addr 2
wd0 at atabus0 drive 0: <Hitachi HTS541616J9AT00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ-842, , RB01> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
acpibat0: battery info: SANYO, LION, IBM-08K8198  1596
acpiacad0: AC adapter online.
bthub0 at ubt0 local-bdaddr 00:0f:b3:99:e0:ee
 ifclass=<8>
 in umass mode -- skipping
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
cd1 at scsibus0 target 0 lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
umass0: at uhub1 port 1 (addr 2) disconnected
cd1 detached
scsibus0 detached
umass0 detached
 ifclass=<255>
ubsa0 at uhub1 port 1
ubsa0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at ubsa0
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: at uhub1 port 1 (addr 2) disconnected
ucom0 detached
ubsa0 detached
acpi0: entering state 3
Devices without power management support: bthub0
acpi0: aborting suspend
 ifclass=<8>
 in umass mode -- skipping
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
cd1 at scsibus0 target 0 lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
umass0: at uhub1 port 1 (addr 2) disconnected
cd1 detached
scsibus0 detached
umass0 detached
 ifclass=<255>
ubsa0 at uhub1 port 1
ubsa0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at ubsa0
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
umass0 at uhub3 port 4 configuration 1 interface 0
umass0: Hama Card Reader Hama Card Reader, rev 2.00/1.9c, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <Hama, Card Reader   CF, 1.9C> disk removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <Hama, Card Reader   MS, 1.9C> disk removable
sd1: drive offline
sd2 at scsibus0 target 0 lun 2: <Hama, CardReaderMMC/SD, 1.9C> disk removable
sd2: drive offline
sd3 at scsibus0 target 0 lun 3: <Hama, Card Reader   SM, 1.9C> disk removable
sd3: drive offline
ubsa0: at uhub1 port 1 (addr 2) disconnected
ubsa0: ubsa_request: STALLED
ucom0 detached
ubsa0 detached
 ifclass=<8>
 in umass mode -- skipping
umass1 at uhub1 port 1 configuration 1 interface 0
umass1: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
cd1 at scsibus1 target 0 lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
umass1: at uhub1 port 1 (addr 2) disconnected
cd1 detached
scsibus1 detached
umass1 detached
 ifclass=<255>
ubsa0 at uhub1 port 1
ubsa0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at ubsa0
umass0: at uhub3 port 4 (addr 2) disconnected
sd0 detached
sd1 detached
sd2 detached
sd3 detached
scsibus0 detached
umass0 detached
umass0 at uhub1 port 2 configuration 1 interface 0
umass0: Nokia Nokia 6233, rev 2.00/4.52, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Nokia, Nokia 6233, 0000> disk removable
sd0: fabricating a geometry
sd0: 61312 KB, 59 cyl, 64 head, 32 sec, 512 bytes/sect x 122625 sectors
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
ubsa0: ubsa_request: STALLED
sd0: fabricating a geometry
umass0: at uhub1 port 2 (addr 3) disconnected
sd0 detached
scsibus0 detached
umass0 detached
ubt0: CommandStatus opcode (001|0005) failed (status=0x12)


Home | Main Index | Thread Index | Old Index