From: Grahame J. <gb...@th...> - 2007-12-01 10:58:15
|
Hi, Mmmmm? When connected via ttyS0, ls -laR / works perfectly as it does via usbnet. Pointlessly lists all the files recursively, however it creates lots of traffic on the ports. Only when using usbserial connected via /dev/ttyACM0 on the computer to the Gumstix listening on /dev/ttygserial do I have problems. It hangs the port. Once the port hangs I can drop the module "kill -9 ttyName; rmmod g_serial" and reinsert it "modprobe g_serial use_acm=1" I can get it back, but as soon as I try it again it hangs. There is something wrong here. Has anyone had success with usb_serial on the gumstix? Am I doing something wrong with my setup? Cheers Grahame notstix wrote: > > Grahame Jordan wrote: > >> ... >> "ls -laR /" is just an example. "ls -la" in root's dir does the same??. >> ... >> >> > ls -laR / > list all files recursively(go through all subdirectories) using long format > (permissions, owner, mod. time). > ls -la / > list all files only in / directory using long format > > These are not same. First has -R and it goes through all directory tree to > list each folder contents, starting with directory you give as argument - in > your case its root dir and it list ALL your root directory files and folders > and it may take some time to do it. > Is listing one file or directory (ls /etc) fast and does't lock your > computer? > > ls --help > -l use a long listing format > -a, --all do not ignore entries starting with . > -R, --recursive list subdirectories recursively > |