cu: Permission denied

luca pisani luca.pisani at birdo.net
Tue Dec 9 02:49:06 CET 2008


fuser or lsof doesn't give any output....
Which are the other ways?

bye luca

Joachim Ott wrote:
> 2008/12/9 luca pisani <luca.pisani at birdo.net 
> <mailto:luca.pisani at birdo.net>>
>
>     Hello..
>     I'm trying to change u-boot options for boot a larger kernel
>     (http://people.openmoko.org/sean_mcneil/uImage-android)
>     I'm doing (with neo in "flashing mode" Power+Aux):
>
>     /bash-3.1$ su -
>     Password:
>     root at birdo:~# dmesg | tail
>     usbcore: registered new interface driver cdc_acm
>     drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model
>     driver for USB modems and ISDN adapters
>     usb 3-1: new full speed USB device using uhci_hcd and address 4
>     usb 3-1: configuration #1 chosen from 2 choices
>     drivers/usb/class/cdc-acm.c: This device cannot do calls on its
>     own. It is no modem.
>     cdc_acm 3-1:1.0: ttyACM0: USB ACM device
>     root at birdo:~# cu -l /dev/ttyACM0
>     cu: creat (/var/lock/TMP0000000e56): Permission denied
>     cu: /dev/ttyACM0: Line in use
>     root at birdo:~# l /dev/ttyACM0
>     crw-rw---- 1 root uucp 166, 0 2008-12-09 00:54 /dev/ttyACM0
>     root at birdo:~# chown uucp.uucp /dev/ttyACM0
>     root at birdo:~# l /dev/ttyACM0/
>     /crw-rw---- 1 uucp uucp 166, 0 2008-12-09 00:54 /dev/ttyACM0
>     root at birdo:~# cu -l /dev/ttyACM0
>     cu: creat (/var/lock/TMP0000000e75): Permission denied
>     cu: /dev/ttyACM0: Line in use
>
>     /I was able to connect to u-boot in the past, I'm wondering what's
>     happening now?
>
>
> Who is using the the line? Try "fuser  //dev/ttyACM0". Maybe a getty 
> started from inittab, or udev thinks it must do something. And then, 
> there are other ways to modify the uboot environment while the FR is 
> booted.
>
> /
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>   




More information about the support mailing list