All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Sundstrom <sunkan@zappa.cx>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] 2.6.0-test9 SiW works sometimes
Date: Wed, 05 Nov 2003 13:07:33 +0100	[thread overview]
Message-ID: <3FA8E805.1050909@zappa.cx> (raw)
In-Reply-To: <1068031366.10389.175.camel@pegasus>

First, thanks for taking your time to look at my problem, I appreciate it!

Here goes...

Marcel Holtmann wrote:
> Hi Andreas,
...
> from the devices output I see that this device is based on a Silicon
> Wave chip and it seems that I don't have this device in my list. So what
> kind of model do you have and what is the output of "hciconfig -a".
hci0:   Type: USB
         BD Address: 00:03:7A:08:13:91 ACL MTU: 60:20  SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:63 acl:0 sco:0 events:7 errors:0
         TX bytes:28 acl:0 sco:0 commands:7 errors:0
         Features: 0xff 0x02 0x04 0x00
         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1
         Link policy:
         Link mode: SLAVE ACCEPT
         Name: ''
         Class: 0x000000
         Service Classes: Unspecified
         Device Class: Miscellaneous,
         HCI Ver: 1.1 (0x1) HCI Rev: 0x0 LMP Ver: 1.1 (0x1) LMP Subver: 
0x514
         Manufacturer: Silicon Wave (11)

> What are your kernel config settings for the HCI USB driver. I prefer
> you try it with these.
> 
> 	CONFIG_BT_HCIUSB=m
> 	# CONFIG_BT_USB_SCO is not set
> 	# CONFIG_BT_USB_ZERO_PACKET is not set
Right now I have CONFIG_BT_HCIUSB=y beacause I checked if that would 
make things better, it did not.
SCO,Zeropacket is off

>>I've tried to enable some debugging in hci_usb.c but I don't understand
>>what to make out of it.. not much that seems wrong to me..
> 
> 
> Include a "#define HCI_USB_DEBUG" after the last include directive.
That's what I did.. I meant that the output I got from it didn't say 
much to mee.. I'll attach it in the end of the mail so you can check it.

>>I get one error when loading the hci_usb module though:
>>hub 4-0:1.0: new USB device on port 1, assigned address 2
>>hci_usb: probe of 4-1:1.1 failed with error -5
>>
>>Don't know if it's related, the device seems fine and this showes up
>>even when the device happen to work.
> 
> 
> This is a question for the USB guys. Do you have another USB Bluetooth
> dongle to test with your notebook?
I inserted a MS Wireless Transceiver for Bluetooth and it gave the same 
error.. but seems to work alright. Havn't done much testing yet though.

> 
> Regards
> 
> Marcel
> 
Here's the output from a "bad" session:

This is what I'v run:

//inserts the device into the USB hub
# echo blue_on:1 > /proc/acpi/toshiba/bluetooth

# hciconfig
hci0:   Type: USB
         BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU: 0:0
         DOWN
         RX bytes:0 acl:0 sco:0 events:0 errors:0
         TX bytes:0 acl:0 sco:0 commands:0 errors:0

# hciconfig hic0 up

//No delay and no detected devices
# hcitool inq
Inquiring ...


Here's the dmesg output:
hub 4-0:1.0: new USB device on port 1, assigned address 2
hci_usb_probe: udev d8436c00 ifnum -1069408960
hci_usb_probe: udev d8436c00 ifnum -1069408960
hci_usb: probe of 4-1:1.1 failed with error -5
hci_usb_open: hci0
hci_usb_intr_rx_submit: hci0
hci_usb_bulk_rx_submit: hci0 urb d947f694
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb da07f880 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 14 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 14
__recv_frame: new packet len 14
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb d843bb80 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 13 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 13
__recv_frame: new packet len 13
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb da07f980 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 12 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 12
__recv_frame: new packet len 12
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 5
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb dd748980 len 5
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 6 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 6
__recv_frame: new packet len 6
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 5
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb d843bc80 len 5
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 6 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 6
__recv_frame: new packet len 6
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 5
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb d843ba80 len 5
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 6 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 6
__recv_frame: new packet len 6
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 4
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb da07f680 len 4
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 6 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 6
__recv_frame: new packet len 6
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb de339380 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
__recv_frame: new packet len 254
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 16 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 16
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 14 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 14
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb d51d8080 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 9 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 9
__recv_frame: new packet len 9
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0
hci_usb_send_frame: hci0 type 1 len 3
hci_usb_tx_process: hci0
hci_usb_send_ctrl: hci0 skb de339a80 len 3
__tx_submit: hci0 urb d8fd3c14 type 1
hci_usb_tx_complete: hci0 urb d8fd3c14 status 0 flags 0
hci_usb_tx_process: hci0
hci_usb_rx_complete: hci0 urb d947f614 type 4 status 0 count 14 flags 0
__recv_frame: hci0 type 4 data da088dc0 count 14
__recv_frame: new packet len 14
hci_usb_rx_complete: hci0 urb d947f614 type 4 resubmit status 0

Hope you can make something out of it.

/Andreas



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2003-11-05 12:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-05 11:06 [Bluez-users] 2.6.0-test9 SiW works sometimes Andreas Sundstrom
2003-11-05 11:22 ` Marcel Holtmann
2003-11-05 12:07   ` Andreas Sundstrom [this message]
2003-11-05 12:18     ` Marcel Holtmann
2003-11-05 12:54       ` Andreas Sundstrom
2003-11-05 14:15         ` Marcel Holtmann
2003-11-05 14:33           ` Andreas Sundstrom
2003-11-06 23:48             ` Marcel Holtmann
2003-11-07 10:04               ` Andreas Sundstrom
2003-11-07 11:25                 ` Marcel Holtmann
2003-11-07 11:34                   ` Andreas Sundstrom
2003-11-07 11:41                     ` Marcel Holtmann
2003-11-07 12:00                       ` Andreas Sundstrom
2003-11-07 12:12                         ` Marcel Holtmann
2003-11-07 13:22                           ` Andreas Sundstrom
2003-11-07 15:27                           ` Andreas Sundstrom
2003-11-07 18:50                           ` Andreas Sundstrom
2003-11-05 13:49       ` Andreas Sundstrom
2003-11-05 14:03         ` Marcel Holtmann
2003-11-05 14:31           ` Andreas Sundstrom
2003-11-08  9:53           ` Andreas Sundstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FA8E805.1050909@zappa.cx \
    --to=sunkan@zappa.cx \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.