Thursday, October 15, 2009

Bluetooth driver for Toshiba U400-13k




On my laptop the bluetooth was not properly discovered.
The solution was to use the omnibook drivers (http://omnibook.sourceforge.net) but they were too heavy. Apart from bluetooth the omnibook drivers contained also wireless, touchpad, leds, lcd drivers that were not needed on my laptop and the stock kernel 2.6.31 was functioning excellent.
So I have trimmed down the drivers removing all the unnecessary backends and drivers.
The resulting kernel module contains only the bluetooth code over an ACPI backend. It works well on my machine:

[   19.019306] omnibook: Forced load with EC type 12.
[ 19.019360] omnibook: Begin table match of bluetooth feature.
[ 19.019362] omnibook: Try to init ACPI backend
[ 19.019369] omnibook: ACPI EC device found
[ 19.019402] omnibook: Enabling Toshiba Bluetooth ACPI device.
[ 20.150198] omnibook: ACPI backend init OK
[ 20.150200] omnibook: Returning table entry nr 0.
[ 20.262178] usb 7-1: configuration #1 chosen from 1 choice
[ 20.631559] Bluetooth: Generic Bluetooth USB driver ver 0.5
[ 20.631666] usbcore: registered new interface driver btusb
[ 20.720197] omnibook: BTST raw_state: c1
[ 20.720204] omnibook: Enabled features: bluetooth.


The command line to start the module is:
modprobe omnibook ectype=12


The modified sources are available here: https://sites.google.com/site/dvapublic/software/omnibook-bth.tar.gz?attredirects=0&d=1
If you have problems with the code drop a comment on the blog and I'll try to help you.

4 comments:

  1. Thanks, this solved my
    upgrade to ubuntu karmic

    ReplyDelete
  2. thanks a lot, that was really helpful

    perhaps, it makes sense to modify Makefile a bit, so that

    sudo make load

    command would execute modprobe omnibook with the necessary option

    ReplyDelete
  3. Brilliant web site, I hadn't come across dvoina.blogspot.com earlier during my searches!
    Keep up the wonderful work!

    ReplyDelete
  4. Hello there,

    Thanks for sharing this link - but unfortunately it seems to be down? Does anybody here at dvoina.blogspot.com have a mirror or another source?


    Thanks,
    Harry

    ReplyDelete