Re: Upgrade from Jessie to Stretch: Bluetooth mouse is not working.
On Tue, 29 May 2018 12:01:20 -0500
"Martin McCormick" <martin.m@suddenlink.net> wrote:
> You might get some information from dmesg. dmesg lists
> all the electronic devices your system knows about when it booted
> up such as sound cards, disk controllers and network interfaces.
> Your computer should make note of the bluetooth interface and
> might even throw an error message if it doesn't like something
> about it. The mouse should pair with the bluetooth system on
> your computer and since your installation is an upgrade, this may
> be an indication of trouble with the module associated with the
> mouse.
dmesg gave me this (relevant lines when BT mouse was connected)
[ 4218.671838] hid-generic 0005:0A5C:0001.0004: unknown main item tag 0x0
[ 4218.676386] input: Bluetooth 3.0 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:3/0005:0A5C:0001.0004/input/input21
[ 4218.679232] hid-generic 0005:0A5C:0001.0004: input,hidraw1: BLUETOOTH HID v1.29 Mouse [Bluetooth 3.0 Mouse] on 00:15:83:0c:bf:eb
[ 4245.882600] hid-generic 0005:0A5C:0001.0005: unknown main item tag 0x0
[ 4245.885751] input: Bluetooth 3.0 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:4/0005:0A5C:0001.0005/input/input22
[ 4245.887779] hid-generic 0005:0A5C:0001.0005: input,hidraw1: BLUETOOTH HID v1.29 Mouse [Bluetooth 3.0 Mouse] on 00:15:83:0c:bf:eb
[ 4276.111082] hid-generic 0005:0A5C:0001.0006: unknown main item tag 0x0
[ 4276.115032] input: Bluetooth 3.0 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:5/0005:0A5C:0001.0006/input/input23
[ 4276.118450] hid-generic 0005:0A5C:0001.0006: input,hidraw1:
BLUETOOTH HID v1.29 Mouse [Bluetooth 3.0 Mouse] on 00:15:83:0c:bf:eb
But I do not know what should I do with this.
>
> You can also see which modules your system loaded on boot
> by using the command
>
> lsmod
Module Size Used by
hidp 24576 0
hid_generic 16384 0
usbhid 45056 0
hid 94208 3 hid_generic,usbhid,hidp
rfcomm 53248 12
ctr 16384 4
ccm 20480 2
fuse 90112 5
l2tp_ppp 24576 0
l2tp_netlink 20480 1 l2tp_ppp
l2tp_core 24576 2 l2tp_ppp,l2tp_netlink
ip6_udp_tunnel 16384 1 l2tp_core
udp_tunnel 16384 1 l2tp_core
pppox 16384 1 l2tp_ppp
ppp_generic 32768 2 l2tp_ppp,pppox
slhc 16384 1 ppp_generic
vboxnetadp 32768 0
vboxnetflt 28672 0
xfrm_user 36864 2
xfrm4_tunnel 16384 0
tunnel4 16384 1 xfrm4_tunnel
ipcomp 16384 0
xfrm_ipcomp 16384 1 ipcomp
esp4 20480 0
ah4 20480 0
af_key 36864 0
xfrm_algo 16384 5 xfrm_user,esp4,ah4,af_key,xfrm_ipcomp
vboxdrv 303104 2 vboxnetadp,vboxnetflt
bnep 20480 2
binfmt_misc 20480 1
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
uvcvideo 77824 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 20480 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
btusb 36864 0
btrtl 16384 1 btusb
videodev 131072 3 uvcvideo,videobuf2_core,videobuf2_v4l2
btbcm 16384 1 btusb
btintel 16384 1 btusb
media 28672 2 uvcvideo,videodev
arc4 16384 2
bluetooth 434176 40 btrtl,hidp,btintel,bnep,btbcm,rfcomm,btusb
ath9k 90112 0
ath9k_common 32768 1 ath9k
ath9k_hw 425984 2 ath9k,ath9k_common
ath 24576 3 ath9k_hw,ath9k,ath9k_common
mac80211 552960 1 ath9k
samsung_laptop 20480 0
coretemp 16384 0
cfg80211 450560 4 mac80211,ath9k,ath,ath9k_common
pcspkr 16384 0
joydev 20480 0
evdev 20480 22
rfkill 20480 7 bluetooth,samsung_laptop,cfg80211
serio_raw 16384 0
i915 1183744 3
snd_hda_codec_realtek 73728 1
lpc_ich 20480 0
snd_hda_codec_generic 65536 1 snd_hda_codec_realtek
mfd_core 16384 1 lpc_ich
snd_hda_intel 28672 3
sg 32768 0
rng_core 16384 0
snd_hda_codec 94208 3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
drm_kms_helper 114688 1 i915
snd_hda_core 57344 4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
battery 20480 0
drm 253952 5 i915,drm_kms_helper
snd_pcm 86016 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 28672 1 snd_pcm
snd 57344 13 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd
i2c_algo_bit 16384 1 i915
shpchp 32768 0
ac 16384 0
video 36864 2 samsung_laptop,i915
acpi_cpufreq 20480 1
button 16384 1 i915
parport_pc 28672 0
sunrpc 249856 1
ppdev 20480 0
lp 20480 0
parport 40960 3 lp,parport_pc,ppdev
ip_tables 20480 0
x_tables 20480 1 ip_tables
autofs4 36864 2
ext4 499712 3
crc16 16384 2 bluetooth,ext4
jbd2 77824 1 ext4
crc32c_generic 16384 0
fscrypto 24576 1 ext4
ecb 16384 0
lrw 16384 0
ablk_helper 16384 0
cryptd 20480 1 ablk_helper
aes_i586 20480 5
mbcache 16384 4 ext4
xts 16384 3
gf128mul 20480 2 lrw,xts
algif_skcipher 20480 0
af_alg 16384 1 algif_skcipher
dm_crypt 24576 1
dm_mod 94208 12 dm_crypt
sd_mod 40960 3
ata_generic 16384 0
psmouse 118784 0
ata_piix 32768 2
i2c_i801 24576 0
i2c_smbus 16384 1 i2c_i801
libata 192512 2 ata_piix,ata_generic
scsi_mod 180224 3 sd_mod,libata,sg
uhci_hcd 40960 0
ehci_pci 16384 0
ehci_hcd 65536 1 ehci_pci
usbcore 184320 6 uvcvideo,usbhid,ehci_hcd,uhci_hcd,btusb,ehci_pci
usb_common 16384 1 usbcore
r8169 77824 0
mii 16384 1 r8169
fan 16384 0
thermal 20480 0
>
> Notice the psmouse module. You'll hopefully have something
> comparable for the bluetooth mouse. It may not appear until you
> try to pair your mouse with bluetooth.
I redirected lsmod when there was no BT mouse connection to file 1 and when it was connected to file 2. The "diff 1 2" gave this:
user@localhost:~$ diff 1 2
2c2
< hidp 24576 0
---
> hidp 24576 1
46c46
< bluetooth 434176 40 btrtl,hidp,btintel,bnep,btbcm,rfcomm,btusb
---
> bluetooth 434176 44 btrtl,hidp,btintel,bnep,btbcm,rfcomm,btusb
57c57
< evdev 20480 22
---
> evdev 20480 23
> Finally, there is a file in /etc called modules. Any
> module whose name appears on a line in that file will be loaded
> on boot.
In my system the file only contains comments.
> I used to have trouble on this system with sound from
> the built-in sound chip set on the mother board. It would
> usually be a no-show as sound card 0 and a usb sound card would
> intermittently show up as card 0. By using /etc/modules to load
> the sound module for the built-in card, it is always card 0.
Should I add some module in my case to this file?
> Use that feature carefully since modules you don't
> actually need just waste resources.
>
> That should get you started with an afternoon of
> head-scratching/banging as these things can be frustrating so
> patience is a virtue.
Patience I have. What I do not is the knowledge where to look and which dots to connect.
Thanks for helping.
Regards,
Piotr
Reply to: