[Bug 58481] New: [pandaboard] btwilink - st_register failed -22

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=58481

           Summary: [pandaboard] btwilink - st_register failed -22
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.9.2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
        AssignedTo: linux-bluetooth@xxxxxxxxxxxxxxx
        ReportedBy: liquid.acid@xxxxxxx
        Regression: No


Hello,

I was trying to get bluetooth running on a Pandaboard ES. I turns out that the
board does some multiplexing to access WiFi/BT/FM on the same chip, or
something.

The correct module for the chip seems to be btwilink, but it needs a userspace
application to run (uim from http://gitorious.org/uim/uim).

Relevant dmesg output:
[ 5726.790222] (stc):  chnl_id list empty :4
[ 5726.794403] (stk) : st_kim_start
[ 5726.936126] (stk) :ldisc_install = 1
[ 5727.936859] (stk) :ldisc installation timeout
[ 5727.941497] (stk) :ldisc_install = 0
[ 5728.936859] (stk) : timed out waiting for ldisc to be un-installed
[ 5729.084136] (stk) :ldisc_install = 1
[ 5730.076843] (stk) :ldisc installation timeout
[ 5730.081451] (stk) :ldisc_install = 0
[ 5731.076843] (stk) : timed out waiting for ldisc to be un-installed
[ 5731.224487] (stk) :ldisc_install = 1
[ 5732.216888] (stk) :ldisc installation timeout
[ 5732.221496] (stk) :ldisc_install = 0
[ 5733.216857] (stk) : timed out waiting for ldisc to be un-installed
[ 5733.364471] (stk) :ldisc_install = 1
[ 5734.356872] (stk) :ldisc installation timeout
[ 5734.361480] (stk) :ldisc_install = 0
[ 5735.356872] (stk) : timed out waiting for ldisc to be un-installed
[ 5735.504425] (stk) :ldisc_install = 1
[ 5736.496856] (stk) :ldisc installation timeout
[ 5736.501464] (stk) :ldisc_install = 0
[ 5737.496887] (stk) : timed out waiting for ldisc to be un-installed
[ 5737.644470] (stk) :ldisc_install = 1
[ 5738.636840] (stk) :ldisc installation timeout
[ 5738.641479] (stk) :ldisc_install = 0
[ 5739.636871] (stk) : timed out waiting for ldisc to be un-installed
[ 5739.646026] Bluetooth: st_register failed -22

This is the output generated from inserting btwilink. Before insertion, I
double-checked that uim was running.

This is the uim output:
uim:@ main
uim:begin polling...
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install 

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response

--------------------------------------------

So, what seems to happen is the following:
In st_kim_start from drivers/misc/ti-st/st_kim.c, the module notifies uim
through sysfs to take action. uim then fires up st_uart_config (in uim.c) which
eventually tries to increase the baud rate. For this it sends a speed-set
command. It fails when it gets an invalid response.

Greets,
Tobias

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux