Problem enabling bluetooth

I have problem with bluetooth configuration on Toshiba A300-15D with openSuSE 11 (KDE 3.5) x64. Looks like device isn’t started.


linux-4zqk:~ # /etc/init.d/bluetooth start
Starting bluetooth:  hcid hid2hci rfcomm pand dund                   done
linux-4zqk:~ # hciconfig
linux-4zqk:~ # hciconfig hci0 up
Can't get device info: No such device
linux-4zqk:~ # 

Has somebody any idea how to enable it?

On Sun, 20 Jul 2008 15:36:03 GMT
lukasz mastalerz <lukasz_mastalerz@no-mx.forums.opensuse.org> wrote:

>
> I have problem with bluetooth configuration on Toshiba A300-15D with
> openSuSE 11 (KDE 3.5) x64. Looks like device isn’t started.
>
>
> Code:
> --------------------
>
> linux-4zqk:~ # /etc/init.d/bluetooth start
> Starting bluetooth: hcid hid2hci rfcomm pand
> dund done linux-4zqk:~ # hciconfig
> linux-4zqk:~ # hciconfig hci0 up
> Can’t get device info: No such device
> linux-4zqk:~ #
>
> --------------------
>
>
> Has somebody any idea how to enable it?
>
>
Hi
Is there a bluetooth directory in /proc/acpi/toshiba/ ?
Does hciconfig -a produce output?


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 11:31, 3 users, load average: 0.37, 0.30, 0.46
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

linux-4zqk:/ # cd /proc/acpi/toshiba
bash: cd: /proc/acpi/toshiba: No such file or directory
linux-4zqk:/ # hciconfig -a
linux-4zqk:/ #

On Sun, 20 Jul 2008 16:26:04 GMT
lukasz mastalerz <lukasz_mastalerz@no-mx.forums.opensuse.org> wrote:

>
> linux-4zqk:/ # cd /proc/acpi/toshiba
> bash: cd: /proc/acpi/toshiba: No such file or directory
> linux-4zqk:/ # hciconfig -a
> linux-4zqk:/ #
>
>
Hi
I’m assuming this is the built-in bluetooth adaptor? I have a Tecra M3
here, but need to patch the kernel for bluetooth to work. It’s
currently running SLED, but in other versions on openSUSE I tried, it
needed pacthing as well.

If it’s a USB one, have you installed all the bluetooth tools etc? Is
it discovered if you look at the output of the command dmesg or lsusb
-v


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 0:45, 2 users, load average: 0.68, 0.45, 0.60
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

It’s built in adapter

On Tue, 22 Jul 2008 21:26:04 GMT
lukasz mastalerz <lukasz_mastalerz@no-mx.forums.opensuse.org> wrote:

>
> It’s built in adapter
>
>
Hi
Ok, so do you have the program fnfx installed? Check via YaST.

Else can you try Fn + F6 (Fn = function key) does this lower the screen
brightness (Fn + F7 to increase).

The config for fnfx shows Fn + F8 toggles bluetooth on, can you try
then rerun the command hciconfig -a

If none of this works the toshiba_acpi.c file needs patching. The one
in openSUSE is the same version as on this machine (0.18) so I have
patched this one manually and it works fine.


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 11:23, 1 user, load average: 0.58, 0.26, 0.14
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

Hi.
I have the same problem as the original poster and also have a Toshiba p100/105 series (PSPA6U-006005) and a Motorola i736 iDEN phone.
My question would be… How can I patch the file you’ve just mentioned? (not trying to highjack this thread SVP)

Thanks

Luis C.

Important NOTE:

I was able to connect my phone to openSuSE 11 before and could copy photos and music from and to my laptop via bluetooth BUT, to be able to do this I had to install M$windows )double boot), then after windnows had seen my connection and made some files copies to/from phone/laptop, I booted to OS11 and I could see my windows connection in my phone which also worked for OS11 (strange but it did) and after 2 days everything seemed ok until I turned off the phone/laptop and I cuold never see my connection again…
To end up, the only way I can get a bluetooth connection is booting first in my winxp and reboot to my OS11 distro. and I don’t want to have any M$ software on this laptop

On Wed, 23 Jul 2008 16:56:03 GMT
LuisC-SM <LuisC-SM@no-mx.forums.opensuse.org> wrote:

>
> malcolmlewis;1843874 Wrote:
> > Hi
> > Ok, so do you have the program fnfx installed? Check via YaST.
> >
> > Else can you try Fn + F6 (Fn = function key) does this lower the
> > screen
> > brightness (Fn + F7 to increase).
> >
> > The config for fnfx shows Fn + F8 toggles bluetooth on, can you try
> > then rerun the command hciconfig -a
> >
> > If none of this works the toshiba_acpi.c file needs patching. The
> > one in openSUSE is the same version as on this machine (0.18) so I
> > have patched this one manually and it works fine.
> >
> > –
> > Cheers Malcolm °¿° (Linux Counter #276890)
> > SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
> > up 11:23, 1 user, load average: 0.58, 0.26, 0.14
> > GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09
>
> Hi.
> I have the same problem as the original poster and also have a Toshiba
> p100/105 series (PSPA6U-006005) and a Motorola i736 iDEN phone.
> My question would be… How can I patch the file you’ve just
> mentioned? (not trying to highjack this thread SVP)
>
> Thanks
>
> Luis C.
>
> Important NOTE:
>
> I was able to connect my phone to openSuSE 11 before and could copy
> photos and music from and to my laptop via bluetooth BUT, to be able
> to do this I had to install M$windows )double boot), then after
> windnows had seen my connection and made some files copies to/from
> phone/laptop, I booted to OS11 and I could see my windows connection
> in my phone which also worked for OS11 (strange but it did) and after
> 2 days everything seemed ok until I turned off the phone/laptop and I
> cuold never see my connection again…
> To end up, the only way I can get a bluetooth connection is booting
> first in my winxp and reboot to my OS11 distro. and I don’t want to
> have any M$ software on this laptop
>
>
Hi
I used this article here as a basis, but when the kernel updated, I had
issues so just went in and manually added the patch. Basically edited
the file and added the bits in.

http://godlewski.info/toshiba/#ACPI

You need the kernel source and kernel syms installed as well.

The question I have to ask is does the directory /proc/acpi/toshiba
exist? I’m not sure how it goes if this doesn’t exist…


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 5:53, 1 user, load average: 0.74, 0.61, 0.49
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

Hi Malcom

Thanks for your prompt response.

The /proc/acpi/toshiba directory does not exist.
Now, take in mind that you are using a very old kernel (2.6.16-60). I stopped using SLED after I upgraded to SP1 precisely because I have to patch the kernel to have sound which only worked with a recompiled DSDT.
Cheers

Luis C.

On Wed, 23 Jul 2008 17:56:03 GMT
LuisC-SM <LuisC-SM@no-mx.forums.opensuse.org> wrote:

>
> malcolmlewis;1844373 Wrote:
> > On Wed, 23 Jul 2008 16:56:03 GMT
> > …snipped…
> >
> > The question I have to ask is does the directory /proc/acpi/toshiba
> > exist? I’m not sure how it goes if this doesn’t exist…
> >
> > –
> > Cheers Malcolm °¿° (Linux Counter #276890)
> > SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
> > up 5:53, 1 user, load average: 0.74, 0.61, 0.49
> > GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09
> Hi Malcom
>
> Thanks for your prompt response.
>
> The /proc/acpi/toshiba directory does not exist.
> Now, take in mind that you are using a very old kernel (2.6.16-60). I
> stopped using SLED after I upgraded to SP1 precisely because I have to
> patch the kernel to have sound which only worked with a recompiled
> DSDT.
> Cheers
>
> Luis C.
>
>
Hi
Hence the reason to manually go through and add the patch, as the line
numbers have all changed (??) but no update to the release number…

I just went through the toshiba_acpi.c file and edited in the bluetooth
parts then recompiled the modules in acpi after preparing the kernel.


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 7:01, 2 users, load average: 0.48, 0.76, 0.42
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

Hi Malcom

I’m affraid that my /usr/src/linux-2.6.25.11-0.1/drivers/acpi/toshiba_acpi.c has got nothing related to bluetooth nor bluez… probabily in OS 10.3 but not in 11.
In v11 we have 2.6.25 kernel version, this kernel;as far as I know, has got a lot of enhancemments for toshiba laptops. In my model everything seems to work very nice except now bluetooth.
As a matter of fact, this is the first time I use bluetooh in Suse. I used to have an old cell phone, a v360 model which work out of the box with Mandriva 2008.1 but I gave it away and besides, the only task I had was the photo transfers from the phone to my laptop not such a big deal.
A little off topic and as a matter of fact, I’m waiting for SLED 11 and will use it again if the kernel version is greater than 2.6.24.It should come with a lot of enhancements and eye candy.
Cheers

Luis C.

Hi Malcolm.

Sorry to answer a little late.

I really have no idea on what you mean if the “line numbers have changed”, however my experience in compiling kernels has always ended up in a housed box :D, anyways; in the past, i had the need to compile some modules but that’s about it.

I have made my job with a little research and have found that you are COMPLETELY right with the toshiba_acpi.c file. It seems there is a lot of people having the same issues with toshiba due to the toshiba_acpi.ko module that it is not louded at boot time and have issues not only with bluetooth but also with <Fn> keys and fans.

I will try to patch “toshiba_acpi.c” (with the patch you suggesed) as a module and will try to load it manually and I think I will have to create manually /proc/acpi/toshiba/bluetooth 'cause I’m thinking modprobe will look for it (I’m not quite sure of this). However I’ll post later my results.

Greetings

Luis C.

PS. Take a look at these links, with similar issues/solutions/hacks: (write comments if possible)
Toshset on the Toshiba P
Toys Wiki: Experimental Toshiba Acpi Driver
Tim Anderson’s ITWriting - Tech writing blog » Fixing Bluetooth on a Toshiba with Ubuntu
(in Spanish) BLUETOOTH EN PORTÁTIL TOSHIBA « Notas sobre *NIX
Bug#487154: Workaround

This link is similar to the one you suggestd:

Penguin on Toshiba SatPro

Cheers

Luis

On Fri, 25 Jul 2008 21:26:05 GMT
LuisC-SM <LuisC-SM@no-mx.forums.opensuse.org> wrote:

<snip>
> Hi Malcolm.
>
> Sorry to answer a little late.
>
> I really have no idea on what you mean if the “line numbers have
> changed”, however my experience in compiling kernels has always ended
> up in a housed box :D, anyways; in the past, i had the need to compile
> some modules but that’s about it.
>
> I have made my job with a little research and have found that you are
> COMPLETELY right with the toshiba_acpi.c file. It seems there is a lot
> of people having the same issues with toshiba due to the
> toshiba_acpi.ko module that it is not louded at boot time and have
> issues not only with bluetooth but also with <Fn> keys and fans.
>
> I will try to patch “toshiba_acpi.c” (with the patch you suggesed) as
> a module and will try to load it manually and I think I will have to
> create manually /proc/acpi/toshiba/bluetooth 'cause I’m thinking
> modprobe will look for it (I’m not quite sure of this). However I’ll
> post later my results.
>
> Greetings
>
> Luis C.
>
> PS. Take a look at these links, with similar issues/solutions/hacks:
> (write comments if possible)
> ‘Toshset on the Toshiba P’
> (http://www.flurble.org/computers/toshset.pl)
> ‘Toys Wiki: Experimental Toshiba Acpi Driver’
> (http://memebeam.org/toys/ExperimentalToshibaAcpiDriver)
> ‘Tim Anderson’s ITWriting - Tech writing blog » Fixing Bluetooth on a
> Toshiba with Ubuntu’ (http://tinyurl.com/6jclqm)
> (in Spanish) ‘BLUETOOTH EN PORTÁTIL TOSHIBA « Notas sobre *NIX’
> (http://tinyurl.com/5v5cmv)
> ‘Bug#487154: Workaround’ (http://tinyurl.com/585or5)

Hi
Thanks for the update and links. I also had to write a startup script
for the adaptor.

http://www.muppetwifi.homeunix.net/novell/bluetoothadaptor.txt


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.25-default
up 11:38, 2 users, load average: 0.20, 0.48, 0.69
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

I have a tecra m9 and it too needs a kernel patch (LKML: Jonathan McDowell: [PATCH] Add bluetooth support to toshiba-acpi driver) to the toshiba_acpi module; you then need a simple script to turn bluetooth on and off, this is what mine looks like


#!/bin/sh

U=`id -u`
if  $U != 0 -a "$1" != "" ] ; then
        #echo "not running as root, using sudo..."
        /usr/bin/sudo /usr/local/bin/bluetooth "$1"
        exit
fi

lsmod | grep toshiba_acpi > /dev/null
if  $? -ne 0 ] ; then
        modprobe toshiba_acpi
fi

if  "$1" == "on" -o "$1" == "enable" ] ; then
        echo "enable" > /proc/acpi/toshiba/bluetooth
elif  "$1" == "off" -o "$1" == "disable" ] ; then
        echo "disable" > /proc/acpi/toshiba/bluetooth
elif  "$1" != "" ] ; then
        echo "unknown command, ignored"
        echo ""
fi

cat /proc/acpi/toshiba/bluetooth

# end of bluetooth

SLED 11 is coming out in January. and most probabily it will be made ontop of OS v11.1

I think it will come with kernel 2.6.24 or 26 which is almost perfect for us Toshiba users, 'cause we only must add the GPU values to the DSDT. I’ve not tried the new 4.5 BIOS but I sure will. Maybe there is nothing to change to the DSDT.

All this just leaves me in the same way I was before with my bluetooth issue, and most probabily there will be the need to patch the kernel or the BT module.

It will be a great idea if one of you guys write a small step-by-step howto to use the modules with the patch that has best suited to your laptop. This is just an idea of course.

Kind Regards

Luis

Hi
I have made a bt kernel module and startup script as two rpms. If you
want me to trigger the x86_64 (or other versions) build please advise.

Get It and search on
bt-adaptor


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 2 days 23:42, 2 users, load average: 1.24, 1.26, 1.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Yes, of course… Thanks so much… I really apreciate it.

One question … Should I install both RPMs? or just the bt-adaptor-kmp-default?

Again… Thanks so much and Happy New Year

Luis

Hi
I have triggered the rebuild and it should be published at the search
link soon.

Yes, you need to download both rpms and install them both from the cli;


sudo rpm -Uhv bt-adaptor*

Can you please do me a favor and post the output from;


uname -a

So i can confirm all is ok for the x86_64 module.

Also you only have to install the bt-adaptor rpm (not the kmp one)
once, then only when there is a kernel upgrade will you need to
download the kmp one and install.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 3 days 16:27, 1 user, load average: 0.31, 0.21, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

@Malcolm

My kernel version is:

Linux linux-vkrj 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

I gess I will install both of them better. That way it will upgrade automatically

Thanks a lot and Kind Regards

Luis