Cannot open serial device /dev/ttyUSB0

George Andguladze gandguladze at hotmail.com
Tue Jun 4 19:09:12 UTC 2013





No it doesn't. 

> From: ml at mail.tsaitgaist.info
> To: baseband-devel at lists.osmocom.org
> Subject: Re: Cannot open serial device /dev/ttyUSB0
> Date: Tue, 4 Jun 2013 11:29:13 -0700
> 
> Excerpts from George Andguladze's message of 2013-06-04 10:40:35 -0700:
> > Cannot open serial device /dev/ttyUSB0
> > 
> > I am getting this error message when I try to connect to my C155 phone and upload hello_world.compalram.bin using this command:
> > 
> > ./osmocon -p /dev/ttyUSB0 -m c155 ../../target/firmware/board/compal_e99/hello_world.compalram.bin
> > 
> > Even though device ttyUSB0 exists in my /dev/ directory, and I have set modprobe cp210x, and chmod 777 /dev/ttyUSB0.
> 
> instead of setting 777 permissions on this device, you can simply add yourself to the dialout group (it's the more proper way)
> here the debian command (don't forget to log out and in again for this to take effect)
> sudo adduser $USER dialout
> 
> > crw-rw---- 1 root dialout   4, 71 2013-06-04 20:40 /dev/ttyS7
> > crw-rw---- 1 root dialout   4, 72 2013-06-04 20:40 /dev/ttyS8
> > crw-rw---- 1 root dialout   4, 73 2013-06-04 20:40 /dev/ttyS9
> > crwxrwxrwx 1 root dialout 188,  0 2013-06-04 21:07 /dev/ttyUSB0
> > 
> > 
> > What is it that I am doing wrong?
> 
> does it work with root rights (using sudo)?
> 
> kevin                        
> 
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130604/ed5c81e9/attachment.html>


More information about the baseband-devel mailing list