Fedora Linux Support Community & Resources Center
  #1  
Old 12th December 2011, 04:01 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,997
linuxfirefox
Why is the /dev/ttyUSB0 (modem) locked?

I've added the groups "dialout" and "lock" to my normal user, but when I try to dial the modem to send a fax, Fedora 16 insists that the device is locked. But looking in /var/lock/lockdev shows no lock and
the ownership of /dev/ttyUSB0 is:
Quote:
ls -l /dev/ttyUSB0

crw-rw----, 1 root dialout 188, 0 dec 11 22:49 /dev/ttyUSB0
since the ttyUSB0 is read writeable to the dialout group and my user is in that group, why can't
I unlock and use the modem?

this confirms I have the dialout and lock groups:

Quote:
id -a mos
uid=1000(mos) gid=1000(mos) groups=1000(mos),10(wheel),54(lock),18(dialout)
Note that I have also added the "mos" user to the mgetty-sendfax "fax.allow" file
and the ttyUSB0 is a Prolific PL2303 usb to serial adapter which connects the Fedora 16 usb port to the USR external modem's serial port. The fax can send ok as root.

Last edited by marko; 12th December 2011 at 05:11 AM. Reason: added lock group
Reply With Quote
  #2  
Old 12th December 2011, 04:44 AM
fdrake Offline
Registered User
 
Join Date: Dec 2011
Posts: 47
linuxfirefox
Re: Why is the /dev/ttyUSB0 (modem) locked?

nevermind.... i missed 1 group name while reading..

EDIT:
do you have any entry in "/etc/tmpfiles.d/lockdev.conf" ?

Last edited by fdrake; 12th December 2011 at 05:05 AM.
Reply With Quote
  #3  
Old 12th December 2011, 05:09 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,997
linuxfirefox
Re: Why is the /dev/ttyUSB0 (modem) locked?

I don't even have that file, should it exist?

Anyway, I've been retrying my efax-gtk that I built from source and it seems to work well enough (the problems I had in the original post were trying to fax
using 'sendfax' command line directly) that I'll go with it. I suspect efax-gtk handles the device more correctly than sendfax.

Mark

Last edited by marko; 12th December 2011 at 04:07 PM.
Reply With Quote
Reply

Tags
locked, modem, or dev or ttyusb0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 13 inittab for ttyUSB0 ikirko Using Fedora 2 7th July 2011 11:50 AM
Fedrora 6 /dev/ttyUSB0 not found VectorPrime EOL (End Of Life) Versions 0 21st June 2011 04:11 PM
udev, ttyUSB0, premission denied MrUmunhum Using Fedora 8 16th March 2009 09:43 PM
GNOME PPP and ttyUSB0 HaroldHallikain Servers & Networking 0 10th December 2007 03:39 AM
huawei USB-Modem install: Only one /dev/ttyUSB0 philippjosefric Hardware & Laptops 1 5th December 2007 03:42 AM


Current GMT-time: 04:21 (Thursday, 24-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat