LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2016, 05:43 PM   #31
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 704

Rep: Reputation: Disabled

Quote:
Originally Posted by BW-userx View Post
if you are using the other one on PCIe mini it might be canceling it out, or it is not plugged in all of the way, may need a pull it out then push it back in ( that's what she said) solution. lol
Yep, I took out all my PCIe cards (WLAN, WPAN and WWAN) but my Dell OCW725 is still listed as a USB device.

Code:
Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
 
Old 10-16-2016, 05:51 PM   #32
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by Skaendo View Post
Yep, I took out all my PCIe cards (WLAN, WPAN and WWAN) but my Dell OCW725 is still listed as a USB device.

Code:
Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
specs on it
BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)

mod:
Quote:
Supports high-speed UART baud rate of up to 4 Mbps, USB 2.0
full-speed compliant interface, SDI, and eSPI HCI transports

Last edited by BW-userx; 10-16-2016 at 05:53 PM.
 
Old 10-16-2016, 06:03 PM   #33
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 704

Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
specs on it
BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)

mod:
My point is still valid, it is a USB device and the user needs to be in the plugdev group. (At least in my situation.) I unplugged it and all my bluetooth devices are no longer listed anywhere.
 
Old 10-16-2016, 06:08 PM   #34
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by Skaendo View Post
My point is still valid, it is a USB device and the user needs to be in the plugdev group. (At least in my situation.) I unplugged it and all my bluetooth devices are no longer listed anywhere.

Code:
userx@SlackDaddy & ~ >> $groups
wheel audio plugdev power netdev users userx
MOD:
now it is
just after I posted that I added more to my user, I thought I added that entire list but the cd, and floppy, and printer, so I added the rest
Code:
userx@SlackDaddy & ~ >> $groups
wheel lp audio video plugdev power netdev users userx
which was video and lp, now my bluetooth icon is up in Notifaction Area, why I do not know. no logic to it at first glance. video and lp (printer) I don't even use a printer in this laptop, why add myself to a group when I am not going to use it, and what does video got to do with bluetooth?

the ole' add oneself to a group called bluetooth seems easier to me.

whatever.

Last edited by BW-userx; 10-16-2016 at 06:17 PM.
 
Old 10-16-2016, 06:20 PM   #35
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 704

Rep: Reputation: Disabled
So what you're saying is that if you had listened to ponce in the first reply, this would have been solved a long time ago?
 
Old 10-16-2016, 06:29 PM   #36
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by Skaendo View Post
So what you're saying is that if you had listened to ponce in the first reply, this would have been solved a long time ago?
I didn't actually add all of them so, yes and no, and I am thinking of removing myself from all of them then add one at a time to see what actually needs to be added to find out exactly what needs to be added to get just Bluetooth.

I am thinking that these three are the only ones because they can be Bluetooth'ed to a device.
lp audio plugdev

Last edited by BW-userx; 10-16-2016 at 06:30 PM.
 
Old 10-16-2016, 06:30 PM   #37
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 704

Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
I didn't actually add all of them so, yes and no, and I am thinking of removing myself from all of them then add one at a time to see what actually needs to be added to find out exactly what needs to be added to get just Bluetooth.
plugdev and lp

Like ponce said in the first reply..............
 
Old 10-16-2016, 06:39 PM   #38
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 5,094

Rep: Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875
You missed my big reply that stated you NEEDED lp for bluetooth to function (I even included the file that selects this group). This is a BlueZ default, and Slackware just uses it. Why they used the printer group, I don't know, but Pat is keeping upstream defaults (as usual).
 
Old 10-16-2016, 06:42 PM   #39
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by bassmadrigal View Post
You missed my big reply that stated you NEEDED lp for bluetooth to function (I even included the file that selects this group). This is a BlueZ default, and Slackware just uses it. Why they used the printer group, I don't know, but Pat is keeping upstream defaults (as usual).
Code:
userx@SlackDaddy & ~ >> $groups
wheel lp audio plugdev users userx
that is all I belong to and Bluetooth works, live and learn sorry for all of the hassle

at least all of you that were right know that you where right, and I am just siting here eating crow.
 
Old 10-16-2016, 08:06 PM   #40
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 395

Rep: Reputation: 229Reputation: 229Reputation: 229
<edit>sorry, just saw it's already marked solved</edit> But next time you have a problem, just be cool about it, much better By the way, based on this;
Quote:
Originally Posted by BW-userx View Post
Code:
userx@SlackDaddy & ~ >> $groups
wheel lp audio plugdev users userx
I would recommend doing what ponce said at the start (emphasis added);

Quote:
Originally Posted by ponce View Post
http://docs.slackware.com/slackbook:...ers_and_groups

the group that adduser suggests you by default in slackware 14.2 are
Code:
audio cdrom floppy plugdev video power netdev lp scanner
if you want to add your existing user to them you can use gpasswd, like
Code:
gpasswd -a youruser yourgroup
once your user will be in those groups and you have logged out and logged in again bluetooth should work fine: maybe plugdev and lp are enough, but I would add your user to all of them if you are using a desktop environment.

Last edited by drgibbon; 10-16-2016 at 08:09 PM.
 
Old 10-17-2016, 05:57 AM   #41
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by drgibbon View Post
<edit>sorry, just saw it's already marked solved</edit> But next time you have a problem, just be cool about it, much better By the way, based on this;
everybody has their days .... whatever happen to empathy over control freaks
 
Old 10-17-2016, 06:25 AM   #42
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by drgibbon View Post
Cool, but they're not entirely equivalent. For example, if you've just added a user to a group but they've not logged out of their environment yet, then grepping /etc/group and what is returned from the groups command will be different;

Code:
## as user 'abc'
bash-4.3$ groups
users
bash-4.3$ su 
root@slack /home/abc # usermod -a -G plugdev abc          
root@slack /home/abc # exit
bash-4.3$ grep abc /etc/group
plugdev:x:83:abc
bash-4.3$ groups
users
Obviously after a logout it will be in sync. Not a huge deal, but it's worth checking groups with the groups command, since it will tell you what groups you are really in at that moment. Your bluetooth problem seems like a permissions issue, but who knows. Good luck.
--------------##################----------
as far as your way in how to see what groups the user belongs to, and what I was doing, which where two separate things.


Orginal groups adding the user to a group called netdev then checking to see if the group was added, a just to be sure procedure.

Quote:
userx@SlackDaddy & ~ >> $groups
wheel lp audio plugdev users userx
in root add to group
Quote:
userx@SlackDaddy & ~ >> $su
Password:
root@SlackDaddy & userx >> $usermod -aG netdev userx
root@SlackDaddy & userx >> $exit
exit
in user to check which groups user belongs to using function groups it will not show up as having been added, BUT if done a different way then one can check their math and see if the user was added to the right group, and all that is left is logging out and back in again. thus avoiding having to do so ahead of time, or when the user/root dude is unable to at the moment.


here by just using the function call, groups, we see that I cannot actually check to see if the group I added actually was added, and if I actually added the right group, BUT...
Quote:
userx@SlackDaddy & ~ >> $groups
wheel lp audio plugdev users userx
if done a different way, I can then show my math to let me and others know that yes in fact the group, or groups where added. this is long math,

Quote:
userx@SlackDaddy & ~ >> $cat /etc/group
root:x:0:root
bin:x:1:root,bin
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp,userx
mem:x:8:
kmem:x:9:
wheel:x:10:root,userx
floppy:x:11:
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
dialout:x:16:uucp
audio:x:17:root,pulse,userx
video:x:18:
cdrom:x:19:
games:x:20:
slocate:x:21:
utmp:x:22:
smmsp:x:25:smmsp
tape:x:26:
mysql:x:27:
rpc:x:32:
sshd:x:33:sshd
gdm:x:42:
shadow:x:43:
ftp:x:50:
oprofile:x:51:
sddm:x:64:
pulse:x:65:
input:x:71:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:userx
power:x:84:
netdev:x:86:userx
polkitd:x:87:
pop:x:90op
scanner:x:93:
nobody:x:98:nobody
nogroup:x:99:
users:x:100:userx
console:x:101:
userx:x:1000:userx
This is short math. returning the same results.

Quote:
userx@SlackDaddy & ~ >> $cat /etc/group | grep userx
lp:x:7:lp,userx
wheel:x:10:root,userx
audio:x:17:root,pulse,userx
plugdev:x:83:userx
netdev:x:86:userx
users:x:100:userx
userx:x:1000:userx
userx@SlackDaddy & ~ >> $

that yes netdev had actually been added to the user, or visa a versa. without having to log out then back in again. it all works and it doesn't hurt the system by using that method to see the results of ones work.

thank you very much have a nice day please leave the pencils in the box on your way out.
 
Old 10-17-2016, 06:36 AM   #43
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 395

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by BW-userx View Post
everybody has their days .... whatever happen to empathy over control freaks
Eh? The only point I was trying to make was that it doesn't matter if you're right or wrong, it's just about basic respect. As in, if people offer help and you go "nope, next lol / look at the posting order hello.. / pointing out facts ... hello ... / I'll go back and run it tomorrow. k?" etc etc then you basically come across as rude. Maybe you can't see that, but the way people communicate does make a difference. The groups suggestion was intended to help you avoid problems with your computer later on, but that's up to you.

As for your page of stuff about /etc/group, I was trying to help you learn something (i.e. that groups are not applied until you log out, and the groups command shows that), but if you already understood the difference then no problem.

Last edited by drgibbon; 10-17-2016 at 07:44 AM. Reason: typo
 
5 members found this post helpful.
Old 10-17-2016, 04:25 PM   #44
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 2,952

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
Quote:
Originally Posted by BW-userx View Post
everybody has their days .... whatever happen to empathy over control freaks
You appeared to have had several of them in a row.

Last edited by Richard Cranium; 10-17-2016 at 04:25 PM. Reason: Grammar.
 
Old 10-17-2016, 04:36 PM   #45
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,359

Original Poster
Rep: Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229Reputation: 1229
Quote:
Originally Posted by Richard Cranium View Post
You appeared to have had several of them in a row.
observationalist?
 
  


Reply

Tags
bluetoothd


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
[SOLVED] DBD::ODBC works as root but not as non-root user on CentOS5 - any ideas? prgupta Red Hat 2 07-13-2010 12:20 AM
Gnome Bluetooth applet in Lenny: root user vs. ordinary user SuSE_Lamer Linux - Desktop 1 03-20-2009 05:41 AM
Gnome Bluetooth applet in Lenny: root user vs. ordinary user SuSE_Lamer Debian 1 02-25-2009 01:30 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:24 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