Skip to Content

Bluetooth device problem

I have Acer TravelMate 4052LCi with bluetooth device built in this bluetooth device has no switch to turn it on/off instead Acer provide SW utility that achive this functionality. and ofcourse this tool is for winDos only If i turned it on (from windows) and restarted to linux: linux detect my bluetooth if i turned it off from windows (or by shutting down the system and rebooting it) linux doesn't detect it at all here is the lsusb in both cases (when turned on and off)

1- when turned on

[email protected] ~ $ head lsusb

Bus 003 Device 013: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
-----------------------------------------------------------------------------------------------------
[email protected] ~ $ tail lsusb
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0103 power enable connect

2- when turned off (from windows or by shutting down the computer and then rebooting)

[email protected] ~ $ head lsusb

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0        64
----------------------------------------------
[email protected] ~ $ tail lsusb
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power

as I said above when I shutdown the computer it start with bluetooth disabled (the default) to re-enable it I have to boot to windows enable it then reboot to linux

and my question is "Do i have to keep M$ WinDos just to start my bluetooth device when i need it?"

YoussefAssad's picture

setkeycodes

Try using

And then look for something like this (from pressing a button on my acer 2313 lappie):

Jan 16 18:55:30 localhost kernel: atkbd.c: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0). Jan 16 18:55:30 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0xd8 on isa0060/serio0).

--

YoussefAssad's picture

Oh, I see

I thought it was like my lappie...

--

phaeronix's picture

interesting

google drew a blank on this..

what are the contents of your /proc/acpi after modprobing the various acpi modules you can find on your system like this ( as root ) :

ls /lib/modules/`uname -r`/kernel/drivers/acpi/

phaeronix's picture

that wasn't useful.. So

that wasn't useful..

So this is gentoo.. that's good.

Can you paste the (full) output of dmesg , lsmod , lsusb , lspci , pcimodules, with the bluetooth turned ON.

a shot in the dark :

and then with the bluetooth turned off try to modprobe hci_usb and see if something happens.

phaeronix's picture

I'm feeling gloomy, we'll

I'm feeling gloomy, we'll have to take this to LKML.. but first let's try again.

So you are using a monolithic kernel, why didn't you compile these things as modules ?

anyway can you try to boot with the following parameter (in grub edit the command line and append this to the end ) :

hci_usb=reset

I am not even sure this will get passed on to the bluez stack..

phaeronix's picture

No compiling as modules is

No compiling as modules is not essential, I just like it better with things that have to deal with hotplugging. At the end of my wit, I'll ask on the bluez mailing list maybe someone has a clue..

Now don't go feeling brave catting stuff into your "non-volatile memory" that is if there was one in your laptop in the firstplace. This module "nvram" is only of use on compaq servers that DO have nvram, I guess.

phaeronix's picture

I just had a thought ...

I just had a thought ... can you do:

emerge acerhk

and then modprobe the module and try to look for new things in /proc/acpi and such?

I know this module is for the hotkeys but it might trigger something or trip some register.

I think your laptop is awfully new, no one has reported success/failure with it.

I will post on the bluez ml and point here.

Update :

I found this in the acerhk READEM :


You will find three files in

/proc/driver/acerhk:

led - write "on" or "off" to set the led state

key - read it to get a key press, only useful on non-dritek models and only if polling is disabled

info - some information about the driver, including the number of pending keys

wirelessled - write "on" or "off" to set the led state and enable wlandware

On some laptops you need to load the ipw2200 (others too?) with option "led=1" to make the led work.

blueled - write "on" or "off" to set the led state and enable bluetooth hardware

write a value n >= 50 to let the led blink every n jiffies

Do not use blinking mode where not only the led but also the bluetooth hardware is controlled!


So I won't post to bluez ml until you report back .. Good luck :)

YoussefAssad's picture

modem?

Is that working too? I have an Acer Travelmate also and the slmodem has problems...

--

YoussefAssad's picture

dialtone/no answer

It actually modprobes fine, the slamr module. I can query the modem fine too, but the problems comes when dialing; it says "No dialtone" and if I instruct it not to wait for a dialtone, then it dials and eventually says "No answer".

Ever seen this?

--

phaeronix's picture

PHEW!

PHEW that was one involved case. Good catch with force model thing. I'll hack up the acerhk module in phaeronix for this ;)

I am happy you have a fully functional laptop now, welcome aboard.

Guys can we move the slmodem discussion here :

So we can keep things organized?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum