Author Topic: Bluez: Billionton Annoying Problems  (Read 12721 times)

Rev.Tigger

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #15 on: July 06, 2005, 07:41:09 am »
Right,  I get nothing in /var/log/messages when inserting/ejecting the card.

But when I do a :

Code: [Select]
root@collie:~# /etc/init.d/bluetooth start
Starting Bluetooth subsystem: hcid sdpdCan't open HIDP control socket: No such f
ile or directory
 hidd rfcomm.

In the /var/log/messages I get:

Code: [Select]
Jul  6 12:24:06 collie daemon.info hcid[2235]: Bluetooth HCI daemon
Jul  6 12:24:06 collie daemon.err sdpd[2239]: init_server: binding L2CAP socket: Address already in use
Jul  6 12:24:06 collie daemon.err sdpd[2239]: main: Server initialization failed

Which looks promising...

Nothing in the log when I get the error on hciattach /dev/ttyS3 bcsp

Rev.Tigger

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #16 on: July 06, 2005, 08:19:19 am »
Right I am now finally getting somewhere :

lastlog gives me more info and it looks like I am missing a kernel module :

Code: [Select]
Jul  6 12:50:25 collie daemon.info cardmgr[1166]: socket 0: Billionton Bluetooth Card
Jul  6 12:50:25 collie daemon.info cardmgr[1166]: executing: 'modprobe bt950_cs 2>&1'
Jul  6 12:50:25 collie daemon.info cardmgr[1166]: + modprobe: module bt950_cs not found.
Jul  6 12:50:25 collie daemon.info cardmgr[1166]: + modprobe: failed to load module bt950_cs
Jul  6 12:50:25 collie daemon.notice cardmgr[1166]: modprobe exited with status 1
Jul  6 12:50:25 collie daemon.notice cardmgr[1166]: module /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/bt950_cs.o not available
Jul  6 12:50:27 collie daemon.err cardmgr[1166]: get dev info on socket 0 failed: Resource temporarily unavailable

So off I go and installed it via ipkg -d sd -V2 install kernel-module-bt950-cs and it does not complain...  but it does not find it when I either insmod or modprobe.

What do I have to do?  (I am not a kernel scientist  )

Ed:  I did an ipkg-link too
« Last Edit: July 06, 2005, 08:20:25 am by Rev.Tigger »

Rev.Tigger

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #17 on: July 06, 2005, 08:46:48 am »
right,  removed the module and reinstalled it to RAM...

Now I can :

Code: [Select]
root@collie:~# insmod bt950_cs
Using /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/bluetooth/bt950_cs.o

Hurrah...  or even hurroo   logread now is full of :

Code: [Select]
Jul  6 13:44:49 collie user.notice kernel: bt950_cs: RLSI interrupt, LSR=0xe9
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xC0 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x41 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xBE received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xB5 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xDC received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x01 received.
Jul  6 13:44:49 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xFF received.

Soooo close yet sooo far

ed:  and still can't modprobe
« Last Edit: July 06, 2005, 08:47:10 am by Rev.Tigger »

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #18 on: July 06, 2005, 09:03:44 am »
Hi Rev,

ok, it seems we are doing some progress ....

But I would suggest to go step by step:

1) reboot without the card
2) insert the card
3) post the contents of logread, so we know exactly how it works

4) you can try, after inserting the card,
cardctl resume
setserial .....
hciattach ...

and post the result of those commands

HTH
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

Rev.Tigger

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #19 on: July 06, 2005, 09:26:11 am »
Right rebooted after boot,  pre card logread says :

Code: [Select]
Jul  6 14:17:53 collie daemon.info hcid[1016]: Bluetooth HCI daemon
Jul  6 14:17:53 collie daemon.err sdpd[1023]: init_server: opening L2CAP socket: Address family not supported by protocol
Jul  6 14:17:53 collie daemon.err sdpd[1023]: main: Server initialization failed
Jul  6 14:17:53 collie user.info kernel: BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Jul  6 14:17:53 collie user.info kernel: Written 2000,2001 by Maxim Krasnyansky
Jul  6 14:17:53 collie user.info kernel: BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Jul  6 14:17:53 collie user.info kernel: Written 2000,2001 by Maxim Krasnyansky
Jul  6 14:17:53 collie user.info kernel: BlueZ RFCOMM ver 1.1
Jul  6 14:17:53 collie user.info kernel: Copyright (C) 2002 Maxim Krasnyansky
Jul  6 14:17:53 collie user.info kernel: Copyright (C) 2002 Marcel Holtmann

I insert the card and then :
Code: [Select]
Jul  6 14:20:24 collie daemon.info cardmgr[960]: socket 0: Billionton Bluetooth Card
Jul  6 14:20:24 collie daemon.info cardmgr[960]: executing: 'modprobe bt950_cs 2>&1'
Jul  6 14:20:24 collie daemon.info cardmgr[960]: + modprobe: module bt950_cs not found.
Jul  6 14:20:24 collie daemon.info cardmgr[960]: + modprobe: failed to load module bt950_cs
Jul  6 14:20:24 collie daemon.notice cardmgr[960]: modprobe exited with status 1
Jul  6 14:20:24 collie daemon.notice cardmgr[960]: module /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/bt950_cs.o not available
Jul  6 14:20:25 collie daemon.err cardmgr[960]: get dev info on socket 0 failed: Resource temporarily unavailable

For kicks I carry on regardless  
Code: [Select]
root@collie:~# cardctl resume
ioctl(): Device or resource busy
root@collie:~# setserial /dev/ttyS3 baud_base 921600
root@collie:~# modprobe hci_uart
Using /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/bluetooth/hci_uart.o
root@collie:~# modprobe bluez
root@collie:~# modprobe bt950_cs
modprobe: module bt950_cs not found.
modprobe: failed to load module bt950_cs
root@collie:~# hciattach /dev/ttyS3 bcsp
Can't get port settings: Input/output error
Can't initialize device: Illegal seek
root@collie:~#

Blasted thing

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #20 on: July 07, 2005, 04:24:16 am »
Hi Rev,

so from your last log, it seems that even you could insmod the module before, you cannot load it anymore, and you should focus on having that solved first.

Verify that bt950_cs.o file is at /lib/modules/2.4.18-rmk7-pxa-embedix/drivers/bluetooth

run
# depmod -a

and then try the modprobe command again
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

Rev.Tigger

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #21 on: July 12, 2005, 11:05:58 am »
Right,  I can load the module fine but it fills the logs with crap
This is from when I put the card in:

Code: [Select]
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: executing: './bluetooth start hci0 2>&1'
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: + /dev/hci0: No such file or directory
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: + /dev/hci0: No such file or directory
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: + /dev/hci0: No such file or directory
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: + Can't open serial port: No such file or directory
Jul 12 16:03:59 collie user.notice kernel: bt950_cs: RLSI interrupt, LSR=0xe9
Jul 12 16:03:59 collie daemon.info cardmgr[1166]: + Can't initialize device: Invalid argument
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xC0 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x41 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xBE received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xDA received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xDC received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x01 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xFF received.
Jul 12 16:03:59 collie user.notice kernel: bt950_cs: RLSI interrupt, LSR=0xe9
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xC0 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x41 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x00 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xBE received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xB5 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xDC received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xED received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0x01 received.
Jul 12 16:03:59 collie user.warn kernel: bt950_cs: Unknown HCI packet with type 0xFF received.

And it just keeps filling the log with it

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Bluez: Billionton Annoying Problems
« Reply #22 on: July 13, 2005, 05:13:40 am »
Hi Rev,

once again, I'd suggest to go step by step; the logs that you post is for the 'bluetooth start' command, while the problem happens well before. Can you post the log from the point when you insert the card?
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

Grimmy

  • Newbie
  • *
  • Posts: 17
    • View Profile
Bluez: Billionton Annoying Problems
« Reply #23 on: July 20, 2005, 07:18:55 am »
Quote
2) When I want to connect and BT is UP (hcitool scan finds my SE  T610) in network applet I dont see in menu my bluettoth dial-up. I have to go to settings-> network-> edit bluetooth config -> press OK and _then_ in in network connection applet bluettoth dialup is shown..

I have had the same problem with the Billionton Card using your ROM, however I recently obtained an Anycom LSE039 and this problem does not happen with that card.