LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2012, 03:27 PM   #1
HRS1064
LQ Newbie
 
Registered: May 2012
Location: Riga, Latvia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Question Bluetooth not working


Good day to everyone,

Bluetooth on my Lenovo IdeaPad Z580A seems to initialize well (see dmesg output below), but gnome-bluetooth applet behaves quite strange: icon and its tooltip shows that bluetooth is disabled, but when left-clicked the context menu claims it's enabled; however, when "Preferences" are clicked, it again claims that Bluetooth is disabled. After clicking a prominent button "Turn on Bluetooth" in the center of "Preferences" window, nothing changes, but the button appears disabled (font greys). And, of course, i cannot find the laptop when searching from a cell phone.

Adding the user to the group "dialout", as suggested in /usr/share/doc/bluez-utils/README.Debian.gz, does not help.

As i can see from windows (installed alongside), the bluetooth is managed by Broadcom device, and i know that WiFi is also managed by some Broadcom device (see lspci). As only one device appears, i assume that both WiFi and Bluetooth are controlled by it. I have found some thread where some wise man claimed that NM is to be blamed for it, but there questionig user resolved his problem by bying a dongle. So i do not know actual solution to my problem (as i am afraid to remove NM ).

Debian 6.0.5, 3.2.0-0.bpo.3-amd64 kernel.

Part of the dmesg output (i hope the rest part is not needed (still not used to using touchpad to copy-paste), this is in the least part of dmesg output):

Code:
[   21.375438] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.649676] Bluetooth: Core ver 2.16
[   24.649703] NET: Registered protocol family 31
[   24.649706] Bluetooth: HCI device and connection manager initialized
[   24.649710] Bluetooth: HCI socket layer initialized
[   24.649713] Bluetooth: L2CAP socket layer initialized
[   24.649720] Bluetooth: SCO socket layer initialized
[   24.834662] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   24.834670] Bluetooth: BNEP filters: protocol multicast
[   24.853707] lp: driver loaded but no devices found
[   24.913998] ppdev: user-space parallel port driver
[   24.929100] Bluetooth: RFCOMM TTY layer initialized
[   24.929105] Bluetooth: RFCOMM socket layer initialized
[   24.929107] Bluetooth: RFCOMM ver 1.11
[   24.935098] Bridge firewalling registered
lspci:

Code:
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:14.0 USB Controller: Intel Corporation Device 1e31 (rev 04)
00:16.0 Communication controller: Intel Corporation Device 1e3a (rev 04)
00:1a.0 USB Controller: Intel Corporation Device 1e2d (rev 04)
00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
00:1c.0 PCI bridge: Intel Corporation Device 1e10 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Device 1e12 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Device 1e14 (rev c4)
00:1d.0 USB Controller: Intel Corporation Device 1e26 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Device 1e59 (rev 04)
00:1f.2 SATA controller: Intel Corporation Device 1e03 (rev 04)
00:1f.3 SMBus: Intel Corporation Device 1e22 (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation Device 0de9 (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
lsusb:


Code:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0489:e032 Foxconn / Hon Hai 
Bus 002 Device 003: ID 04f2:b2e1 Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
.

Many thanks in advance for any help.

Last edited by HRS1064; 10-02-2012 at 03:29 PM. Reason: add notebook model
 
Old 10-02-2012, 04:08 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
See the following, re replacing the open source driver with the vendor driver:
http://wiki.debian.org/wl

Also see a post in the following link:
http://www.mindwerks.net/2011/11/wir...12-3-2-kernel/

Quote:
... the bluetooth problem solved by addingthe bluetooth problem solved by adding

[General]

Enable=Socket Enable=Socket

in /etc/bluetooth/audio.conf. in /etc/bluetooth/audio.conf.
The post is about 2/3 down the page...

Last edited by JaseP; 10-02-2012 at 04:09 PM.
 
1 members found this post helpful.
Old 10-04-2012, 09:48 AM   #3
HRS1064
LQ Newbie
 
Registered: May 2012
Location: Riga, Latvia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Unhappy Not succeeded, unfortunately.

At first, thank you for your desire to help!
I have tried to build the proprietary driver module with m-a, but it failed to do this and returned error 2; errors started where .ndo_set_multicast_list was requested and not found...
Code:
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219: error:
 unknown field ‘ndo_set_multicast_list’ in the initializator
(mayby not exactly so, i translated bash messages as my locale is Russian).

So i tried to install the patch from the second link you have given me - but this also failed with error messages:
Code:
patching file src/wl/sys/wl_linux.c
Hunk #1 FAILED at 332.
1 out of 1 hunk FAILED -- saving rejects to file src/wl/sys/wl_linux.c.rej
And this file contains essentially nothing except two lines "/dev/null" and the text of the patch of its own.
Code:
*** /dev/null
--- /dev/null
***************
*** 332
-       .ndo_set_multicast_list = wl_set_multicast_list,
--- 332 -----
+       .ndo_set_rx_mode = wl_set_multicast_list,
Eventually, editing /etc/bluetooth/audio.conf as described in the link you advised me does not help, too...

So what should i do now? Thanks in advance again.

Last edited by HRS1064; 10-04-2012 at 09:58 AM. Reason: audio.conf unsuccessful try
 
Old 10-13-2012, 08:19 AM   #4
HRS1064
LQ Newbie
 
Registered: May 2012
Location: Riga, Latvia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Question

I am sorry for bringing this back to attention, but the problem persists.

Maybe this also would be useful:
/var/log/daemon.log:


Code:
Oct 13 14:04:35 esmu-dators1 NetworkManager[1407]: <info> NetworkManager (version 0.8.1) is starting...
Oct 13 14:04:35 esmu-dators1 NetworkManager[1407]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Oct 13 14:04:35 esmu-dators1 NetworkManager[1407]: <info> trying to start the modem manager...
Oct 13 14:04:35 esmu-dators1 modem-manager: ModemManager (version 0.4) starting...
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin MotoC
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Nokia
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Option
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin ZTE
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Option High-Speed
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Generic
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Sierra
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Ericsson MBM
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Gobi
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Huawei
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Novatel
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin AnyData
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin SimTech
Oct 13 14:04:36 esmu-dators1 modem-manager: Loaded plugin Longcheer
Oct 13 14:04:36 esmu-dators1 modem-manager: (tty/ttyS0): port's parent platform driver is not whitelisted
Oct 13 14:04:36 esmu-dators1 modem-manager: (tty/ttyS1): port's parent platform driver is not whitelisted
Oct 13 14:04:36 esmu-dators1 modem-manager: (tty/ttyS2): port's parent platform driver is not whitelisted
Oct 13 14:04:36 esmu-dators1 modem-manager: (tty/ttyS3): port's parent platform driver is not whitelisted
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: init!
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: update_system_hostname
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding mapping eth0 to well_known_interfaces
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: addresses count: 1
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding eth0 to iface_connections
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding iface eth0 to well_known_interfaces
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPluginIfupdown: guessed connection type (eth0-home) = 802-3-ethernet
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0-home, type:802-3-ethernet, id:Ifupdown (eth0-home), uuid: ea581e00-450c-272a-1103-39abf0031c8b
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding eth0-home to iface_connections
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding iface eth0-home to well_known_interfaces
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPluginIfupdown: guessed connection type (none) = 802-3-ethernet
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:none, type:802-3-ethernet, id:Ifupdown (none), uuid: 7e054df0-3287-5797-63b2-9fd396607f06
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding none to iface_connections
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: adding iface none to well_known_interfaces
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: autoconnect
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPluginIfupdown: management mode: unmanaged
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0, iface: eth0)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPluginIfupdown: locking wired connection setting
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/wlan0, iface: wlan0)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: end _init.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    Ifupdown: get unmanaged devices count: 1
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: (33557856) ... get_connections.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: (33557856) ... get_connections (managed=false): return empty list.Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]:    Ifupdown: get unmanaged devices count: 1
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> found WiFi radio killswitch rfkill0 (at /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/VPC2004:00/rfkill/rfkill0) (driver ideapad_acpi)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> found WiFi radio killswitch rfkill2 (at /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/ieee80211/phy0/rfkill2) (driver <unknown>)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> WiFi enabled by radio killswitch; enabled by state file
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> WWAN enabled by radio killswitch; enabled by state file
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> WiMAX enabled by radio killswitch; enabled by state file
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> Networking is enabled by state file
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (eth0): carrier is ON
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): new 802.11 WiFi device (driver: 'brcmsmac' ifindex: 3)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): now managed
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): device state change: 1 -> 2 (reason 2)

Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): bringing up device.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): preparing device.
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): deactivating device (reason: 2).
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> modem-manager is now available
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> Trying to start the supplicant...
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): supplicant manager state:  down -> idle
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): device state change: 2 -> 3 (reason 0)
Oct 13 14:04:36 esmu-dators1 NetworkManager[1407]: <info> (wlan0): supplicant interface state:  starting -> ready
Oct 13 14:04:36 esmu-dators1 wpa_supplicant[1422]: Failed to initiate AP scan.
Oct 13 14:04:37 esmu-dators1 acpid: starting up with netlink and the input layer
Oct 13 14:04:37 esmu-dators1 acpid: 42 rules loaded
Oct 13 14:04:37 esmu-dators1 acpid: waiting for events: event logging is off
Oct 13 14:04:37 esmu-dators1 acpid: client connected from 1441[0:0]
Oct 13 14:04:37 esmu-dators1 acpid: 1 client rule loaded
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Found user 'avahi' (UID 105) and group 'avahi' (GID 108).
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Successfully dropped root privileges.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: avahi-daemon 0.6.27 starting up.
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: Bluetooth deamon 4.66

Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Successfully called chroot().
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Successfully dropped remaining capabilities.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: No service file found in /etc/avahi/services.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::67d:7bff:fe8d:5a23.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: New relevant interface eth0.IPv6 for mDNS.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Joining mDNS multicast group on interface eth0.IPv4 with address 81.198.37.234.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: New relevant interface eth0.IPv4 for mDNS.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Network interface enumeration completed.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Registering new address record for fe80::67d:7bff:fe8d:5a23 on eth0.*.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Registering new address record for 81.198.37.234 on eth0.IPv4.
Oct 13 14:04:38 esmu-dators1 avahi-daemon[1522]: Registering HINFO record with values 'X86_64'/'LINUX'.
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: Starting SDP server
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: Starting experimental netlink support
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: Failed to find Bluetooth netlink family
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: Failed to init netlink plugin
Oct 13 14:04:38 esmu-dators1 bluetoothd[1532]: bridge pan0 created
Oct 13 14:04:38 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/pan0, iface: pan0)

Oct 13 14:04:38 esmu-dators1 NetworkManager[1407]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/pan0, iface: pan0): no ifupdown configuration found.
Oct 13 14:04:38 esmu-dators1 NetworkManager[1407]: <warn> /sys/devices/virtual/net/pan0: couldn't determine device driver; ignoring...
Oct 13 14:04:38 esmu-dators1 modem-manager: (net/pan0): could not get port's parent device
Oct 13 14:04:39 esmu-dators1 avahi-daemon[1522]: Server startup complete. Host name is esmu-dators1.local. Local service cookie is 1781992278.
Oct 13 14:04:46 esmu-dators1 gnome-session[2032]: atk-bridge-WARNING: AT_SPI_REGISTRY was not started at session startup.
Oct 13 14:04:46 esmu-dators1 gnome-session[2032]: atk-bridge-WARNING: IOR not set.
Oct 13 14:04:46 esmu-dators1 gnome-session[2032]: atk-bridge-WARNING: Could not locate registry
Oct 13 14:04:47 esmu-dators1 polkitd[2052]: started daemon version 0.96 using authority implementation `local' version `0.96'

Oct 13 14:04:49 esmu-dators1 gdm-simple-greeter[2049]: Gtk-WARNING: /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwidget.c:5628: widget not within a GtkWindow
Oct 13 14:05:01 esmu-dators1 gdm-simple-greeter[2049]: WARNING: Failed to send buffer
Oct 13 14:05:20 esmu-dators1 AptDaemon: INFO: Initializing daemon
Oct 13 14:10:21 esmu-dators1 AptDaemon: INFO: Quiting due to inactivity
Oct 13 14:10:21 esmu-dators1 AptDaemon: INFO: Shutdown was requested
Oct 13 14:33:57 esmu-dators1 dhclient: DHCPREQUEST on eth0 to 46.109.88.1 port 67
Oct 13 14:33:57 esmu-dators1 dhclient: DHCPACK from 46.109.88.1
Oct 13 14:33:57 esmu-dators1 dhclient: bound to 81.198.37.234 -- renewal in 10816 seconds.

Last edited by HRS1064; 10-14-2012 at 09:28 AM. Reason: unintended rudeness (sorry, my poor English)
 
Old 10-20-2012, 08:33 AM   #5
HRS1064
LQ Newbie
 
Registered: May 2012
Location: Riga, Latvia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Arrow

OK, I realized it was maybe implied to execute the "patch" command in /usr/src/modules/broadcom-sta/amd64. Then the following is displayed:

Code:
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 219 (offset -113 lines).
However, it does not resolve the problem with m-odule-assistant. Here is complete output from it:

Code:
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[2]: Leaving directory `/usr/src/modules/broadcom-sta'
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/3.2.0-0.bpo.3-amd64/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/3.2.0-0.bpo.3-amd64/g ;s/#KVERS#/3.2.0-0.bpo.3-amd64/g ; s/_KVERS_/3.2.0-0.bpo.3-amd64/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_prep
# Build the module
cd /usr/src/modules/broadcom-sta/amd64 && \
	make -C /lib/modules/3.2.0-0.bpo.3-amd64/build M=/usr/src/modules/broadcom-sta/amd64
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.3-amd64'
  CC [M]  /usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219: warning: initialization from incompatible pointer type
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_list’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_count’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1436: error: dereferencing pointer to incomplete type
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1442: error: dereferencing pointer to incomplete type
make[5]: *** [/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o] Error 1
make[4]: *** [_module_/usr/src/modules/broadcom-sta/amd64] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.3-amd64'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
make: *** [kdist_build] Error 2
And when I check manually, the line 219 is:

Code:
.ndo_set_rx_mode = wl_set_multicast_list,
But the line 332 (which, as I understand, is being patched) contains nothing at all. Here is that patch:

Code:
332c332
< 	.ndo_set_multicast_list = wl_set_multicast_list,
---
> 	.ndo_set_rx_mode = wl_set_multicast_list,
So what to do now? I know I probably am an idiot, but could somebody help that idiot, please?

Last edited by HRS1064; 10-20-2012 at 08:35 AM.
 
Old 10-22-2012, 02:56 PM   #6
HRS1064
LQ Newbie
 
Registered: May 2012
Location: Riga, Latvia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Arrow

Following some advice in #! forum, I have installed packages from "testing" Debian repository (m-a did not comply and all the rest ran smoothly). Now I can suppose the Broadcom device is managed better (as I now see wireless networks of two my neighbours ), but the bluetooth problem persists.

Also, "GNOME Network" shows some inactive "unknown interface" pan0. Maybe in my case Bluetooth device is misrecognized as net interface by some part of device management software? How can I check that? Thanks in advance.
Okay, I googled and found that pan0 is normally assigned for Bluetooth So where could the root of the problem be?..

Here is some info from cat /var/log/daemon.log | grep bluetooth:

Code:
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: Bluetooth deamon 4.66
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: Starting SDP server
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: Starting experimental netlink support
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: Failed to find Bluetooth netlink family
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: Failed to init netlink plugin
Oct 22 06:27:13 esmu-dators1 bluetoothd[1517]: bridge pan0 created
And bluetooth-agent says when invoked:

Code:
Can't get default adapter
No such adapter
Output from # hcitool dev:
Code:
Devices:
Output from # lsmod | grep blue
Code:
bluetooth             122093  10 bnep,rfcomm
rfkill                 18970  4 bluetooth,ideapad_laptop
crc16                  12343  2 bluetooth,ext4
Output from # ps -e | grep blue
Code:
 1644 ?        00:00:00 bluetoothd
 2400 ?        00:00:00 bluetooth-apple

Any ideas would be appreciated...

Last edited by HRS1064; 10-22-2012 at 03:42 PM. Reason: additional info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get bluetooth working boast Linux - Hardware 0 11-24-2010 02:40 PM
[SOLVED] Bluetooth is not working shariefbe Linux - Newbie 1 01-29-2010 01:23 AM
Bluetooth not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 10:03 AM
Bluetooth not working at all yumingtian Linux - Wireless Networking 2 08-31-2005 12:30 AM
how can i tell if bluetooth is working evannextel Linux - Hardware 0 08-15-2004 06:55 PM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration