[Bug 371927] New: Bluetooth does not work on T42p
https://bugzilla.novell.com/show_bug.cgi?id=371927 Summary: Bluetooth does not work on T42p Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: seife@novell.com ReportedBy: jpr@novell.com QAContact: qa@suse.de Found By: --- I'm unable to get my builtin bluetooth to be recognized on my t42p (based on the bluez applet showing up). Plugging in a USB bluetooth dongle works fine. Without the USB dongle plugged in: gambit:~ # lsmod | grep blue bluetooth 61796 4 rfcomm,l2cap gambit:~ # lshal | grep -i blue udi = '/org/freedesktop/Hal/devices/platform_bluetooth' info.product = 'Platform Device (bluetooth)' (string) info.udi = '/org/freedesktop/Hal/devices/platform_bluetooth' (string) linux.sysfs_path = '/sys/devices/platform/bluetooth' (string) platform.id = 'bluetooth' (string) gambit:~ # dmesg | grep -i blue Bluetooth: Core ver 2.11 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP ver 2.9 Bluetooth: L2CAP socket layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM ver 1.8 Syslog from last boot: Mar 17 20:57:03 gambit hcid[2403]: Bluetooth HCI daemon Mar 17 20:57:03 gambit klogd: Bluetooth: Core ver 2.11 Mar 17 20:57:03 gambit klogd: Bluetooth: HCI device and connection manager initialized Mar 17 20:57:03 gambit klogd: Bluetooth: HCI socket layer initialized Mar 17 20:57:03 gambit klogd: Bluetooth: L2CAP ver 2.9 Mar 17 20:57:03 gambit klogd: Bluetooth: L2CAP socket layer initialized Mar 17 20:57:04 gambit klogd: Bluetooth: RFCOMM socket layer initialized Mar 17 20:57:04 gambit klogd: Bluetooth: RFCOMM TTY layer initialized Mar 17 20:57:04 gambit klogd: Bluetooth: RFCOMM ver 1.8 Mar 17 20:57:04 gambit input[2438]: Bluetooth Input daemon Mar 17 20:57:04 gambit input[2438]: Registered input manager path:/org/bluez/input Mar 17 20:58:36 gambit hcid[2403]: Default passkey agent (:1.22, /org/bluez/passkey) registered Mar 17 20:58:36 gambit hcid[2403]: Default authorization agent (:1.22, /org/bluez/auth) registered Tried Fn-F5 with no luck and checked the bios settings. What other logs can I provide? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c1
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=371927
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c2
JP Rosevear
Please try "hciconfig -a". It should show something like this:
hciconfig -a reports nothing.
Also, check the lsusb output if there is a BT dongle (i doubt there is):
I was probably being confusing - I *also* have a BT USB dongle, I plugged that in to confirm there where no higher level problems with the bt stack. Without that plugged in lsusb of course shows nothing.
If there is none, some fiddling around with the thinkpad_acpi kernel module might be necessary - it is pretty broken right now AFAIU :-( Check if you still have a /proc/acpi/ibm/bluetooth entry and if something happens if you echo stuff in there (my X32 has no builtin bluetooth, so i cannot really advise what to do with that interface, but we will work it out :-)
So, the file does exist and is set to disabled by default: jpr@gambit:~> more /proc/acpi/ibm/bluetooth status: disabled commands: enable, disable Echoing enable into the file turns it on! Any idea why thats the default? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c3
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=371927
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c4
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=371927
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c5
--- Comment #5 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c6
Holger Macht
Yes, I'm beyond alpha2, I have: kernel-default-2.6.25-rc5.git3.6
The setting "stuck" after I echo'ed to enable it. I checked and I also have the problem described in bug 370220.
Do you mean that you cannot disable bluetooth anymore after enabling it once? We currently have no support for enabling/disabling this setting via a FN-Keypress. This was done by a powersave script in the past, which got removed. Can you also please take a look at /proc/bus/input/devices and look for 'ThinkPad'. In this section, you'll find something like 'S: Sysfs=/class/input/input6'. Now please do 'evtest /dev/input/event6' (with the correct event number figured out before). Now press FN-F5 and report what you get. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c7
JP Rosevear
(In reply to comment #5 from JP Rosevear)
Yes, I'm beyond alpha2, I have: kernel-default-2.6.25-rc5.git3.6
The setting "stuck" after I echo'ed to enable it. I checked and I also have the problem described in bug 370220.
Do you mean that you cannot disable bluetooth anymore after enabling it once?
No, just that its not persisten.
We currently have no support for enabling/disabling this setting via a FN-Keypress. This was done by a powersave script in the past, which got removed.
Can we resurrect it into PM utils? If not, what desktop app makes the most sense to hook it up to.
Can you also please take a look at /proc/bus/input/devices and look for 'ThinkPad'. In this section, you'll find something like 'S: Sysfs=/class/input/input6'. Now please do 'evtest /dev/input/event6' (with the correct event number figured out before). Now press FN-F5 and report what you get. Thanks.
I: Bus=0019 Vendor=1014 Product=5054 Version=4101 N: Name="ThinkPad Extra Buttons" P: Phys=thinkpad_acpi/input0 S: Sysfs=/devices/virtual/input/input5 U: Uniq= H: Handlers=kbd event5 B: EV=13 B: KEY=1e8c0000 0 2 100100 0 0 0 1000b 2000 0 1004000 0 0 0 1 B: MSC=10 and: gambit:~ # evtest /dev/input/event5 Input driver version is 1.0.0 Input device ID: bus 0x19 vendor 0x1014 product 0x5054 version 0x4101 Input device name: "ThinkPad Extra Buttons" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 0 (Reserved) Event code 142 (Sleep) Event code 152 (Coffee) Event code 205 (Suspend) Event code 224 (Brightness down) Event code 225 (Brightness up) Event code 227 (?) Event code 240 (Unknown) Event code 360 (Vendor) Event code 372 (Zoom) Event code 385 (Radio) Event code 466 (?) Event code 467 (?) Event code 471 (?) Event code 473 (?) Event code 474 (?) Event code 475 (?) Event code 476 (?) Event type 4 (Misc) Event code 4 (ScanCode) Testing ... (interrupt to exit) Event: time 1206456170.465429, type 1 (Key), code 385 (Radio), value 1 Event: time 1206456170.465440, -------------- Report Sync ------------ Event: time 1206456170.465443, type 1 (Key), code 385 (Radio), value 0 Event: time 1206456170.465446, -------------- Report Sync ------------ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c8
--- Comment #8 from Holger Macht
(In reply to comment #6 from Holger Macht)
(In reply to comment #5 from JP Rosevear)
Yes, I'm beyond alpha2, I have: kernel-default-2.6.25-rc5.git3.6
The setting "stuck" after I echo'ed to enable it. I checked and I also have the problem described in bug 370220.
Do you mean that you cannot disable bluetooth anymore after enabling it once?
No, just that its not persisten.
Right, 'disabled' is the default, which is the correct choice IMHO.
We currently have no support for enabling/disabling this setting via a FN-Keypress. This was done by a powersave script in the past, which got removed.
Can we resurrect it into PM utils? If not, what desktop app makes the most sense to hook it up to.
I think either some standard way in gnome or KDE to assign the appropriate keycode to an action, or of course, gnome-bluetooth and kbluetoothd. But that's not possible at the moment, see below...
Can you also please take a look at /proc/bus/input/devices and look for 'ThinkPad'. In this section, you'll find something like 'S: Sysfs=/class/input/input6'. Now please do 'evtest /dev/input/event6' (with the correct event number figured out before). Now press FN-F5 and report what you get. Thanks.
I: Bus=0019 Vendor=1014 Product=5054 Version=4101 N: Name="ThinkPad Extra Buttons" P: Phys=thinkpad_acpi/input0 S: Sysfs=/devices/virtual/input/input5 U: Uniq= H: Handlers=kbd event5 B: EV=13 B: KEY=1e8c0000 0 2 100100 0 0 0 1000b 2000 0 1004000 0 0 0 1 B: MSC=10
and: gambit:~ # evtest /dev/input/event5 Input driver version is 1.0.0 Input device ID: bus 0x19 vendor 0x1014 product 0x5054 version 0x4101 Input device name: "ThinkPad Extra Buttons" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 0 (Reserved) Event code 142 (Sleep) Event code 152 (Coffee) Event code 205 (Suspend) Event code 224 (Brightness down) Event code 225 (Brightness up) Event code 227 (?) Event code 240 (Unknown) Event code 360 (Vendor) Event code 372 (Zoom) Event code 385 (Radio) Event code 466 (?) Event code 467 (?) Event code 471 (?) Event code 473 (?) Event code 474 (?) Event code 475 (?) Event code 476 (?) Event type 4 (Misc) Event code 4 (ScanCode) Testing ... (interrupt to exit) Event: time 1206456170.465429, type 1 (Key), code 385 (Radio), value 1 Event: time 1206456170.465440, -------------- Report Sync ------------ Event: time 1206456170.465443, type 1 (Key), code 385 (Radio), value 0 Event: time 1206456170.465446, -------------- Report Sync ------------
So it's keycode 385. Unfortunately, the X server is not capable to handle keycodes above 255, so it doesn't show up in X (xev). However, I'm about to create a feature (FATE) for this for SLE11. Maybe this is even possible for openSUSE 11.0, but that's not in my responsibility. In the meanwhile, we could readd some script, somewhere. Maybe a plain acpid script if we do not get the feature for 11.0. pm-utils wouldn't be suitable for that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c9
--- Comment #9 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c11
--- Comment #11 from Danny Kukawka
So it's keycode 385. Unfortunately, the X server is not capable to handle keycodes above 255, so it doesn't show up in X (xev). However, I'm about to create a feature (FATE) for this for SLE11. Maybe this is even possible for openSUSE 11.0, but that's not in my responsibility.
This key should be remapped by HAL to the a keycode that X can handle. If this don't work on your machine, please follow the instructions on the follwoing page and report them to me: http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c12
--- Comment #12 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c13
--- Comment #13 from Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=371927
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c14
--- Comment #14 from Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=371927
User seife@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c15
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=371927
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c16
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=371927
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c17
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=371927
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c18
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=371927
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c19
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=371927
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c20
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=371927
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c21
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c22
--- Comment #22 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c23
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c24
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c25
Christopher Stender
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c26
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c29
--- Comment #29 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User cstender@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c30
Christopher Stender
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c31
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c32
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=371927
User captain.magnus@opensuse.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c33
Magnus Boman
https://bugzilla.novell.com/show_bug.cgi?id=371927
User ast@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c34
--- Comment #34 from Anja Stock
https://bugzilla.novell.com/show_bug.cgi?id=371927
User hmacht@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371927#c35
Holger Macht
participants (1)
-
bugzilla_noreply@novell.com