LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2013, 04:25 PM   #1
chursch
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Rep: Reputation: 0
blueman /dev/rfcomm0 permission denied


I have a pretty new installation of debian squeeze on my Asus eeePC 1101HA netbook. The netbook AFAIK has no bluetooth card, but does have a wifi card for going out on the internet.

My goal for this post is to set up a bluetooth dongle serial port connection to take readings via a python program from a voltmeter with a serial port. I had this working some time back on an old laptop running WinXP and bluesoleil, but that laptop died . I acquired this netbook a little over a year ago, and the WinXP/bluesoleil config would not start, but I wanted to be over on linux anyways. Given my experiences on the old laptop with Ubuntu (bluez) and on this netbook with Puppeee Linux, I have migrated to debian (which I eventually wanted to arrive at anyways), and am attempting to set up now. I think I am almost there...

Using Blueman, it wasn't long before I got the USB/bluetooth dongle paired up and connected with the bluetooth serial dongle , which I had never managed reliably on a linux distro before using bluez (or whatever). Blueman gave me the port as /dev/rfcomm0. I thought I was ready to rock 'n roll, but unfortunately when I pointed my python program at this port, I got a stack dump with a "permission denied" message .

Searching around for awhile on linuxquestions, I concluded I will need to modify the /etc/bluetooth/rfcomm.conf file (mine is totally commented out). Permissions are 644 on the file, but I believe it is the directives inside that count. Am I barking up the right tree, or is it something else going on? I've never worked with this rfcomm.conf file, so I'll need help or a tutorial, plus I'll be looking at the linuxquestions threads I found.

Something else I found, although it may require a separate posting, is that I've noticed on both debian and puppeee that if I plug in the bluetooth usb dongle, I can no longer access the internet over the wifi card - I have to reboot. I haven't checked this out on the WinXP os. Don't know if this is related - probably separate issue.

Thanks in advance for any help.
 
Old 02-23-2013, 09:27 PM   #2
chursch
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Original Poster
Rep: Reputation: 0
On the permission denied problem, my python program will run fine as root. But I would prefer to run the python program as user chuck. /dev/rfcomm0 is owner root and group dialout. I note that chuck is a member of the bluetooth group, but not the dialout group. So I added chuck to the dialout group with sudo vi to /etc/group. However, I still get the permission denied message.
 
  


Reply



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
/dev/gps0 permission denied aus-city Linux - Software 2 03-13-2007 05:15 AM
/dev/null permission denied sagar.1986 Linux - General 4 01-19-2007 03:39 PM
/dev/null: Permission denied phoenix7 Linux - Distributions 1 10-01-2005 06:31 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
/dev/dsp: Permission denied jtX Slackware 1 02-06-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:51 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
Open Source Consulting | Domain Registration