Author Topic: Problems with usb pen drive  (Read 2882 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #30 on: February 17, 2012, 05:23:00 AM »
libnotify was not installed, (where installed libnotify1 and libnotify4), BTW I installed libnotify, rebooted and plugged in, but nothing happened :(

I went again to /media (root) and I could open the pen one more time. I tried to copy a file and paste on /home/salud/Documentos but I couldn't, I got a new error message:  access denied.

Uff, sorry Neal so many problems.
     
In PCManFM in /media, right click the entry for your drive and choose properties > permissions. Change ownership and group from root / root to <username> / <username>.     
This must be done as root.     

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #31 on: February 17, 2012, 05:42:08 AM »
Hi Neal,

this is working!!! now I have a pop asking when a plug in and I can copy and paste!

One more question please.

For remove the pen drive safely what have I do? The last time I do my system crashed suddenly...

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #32 on: February 17, 2012, 05:54:18 AM »
I did, sorry, my system crashed :(

I should by more patient...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #33 on: February 17, 2012, 05:59:05 AM »
In PCManFM > left side menu > right click the entry for your usb stick > choose unmount / eject. This is the safe way to remove the stick. Pulling the stick out without unmounting it can cause damage to the stick and its contents.     

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #34 on: February 17, 2012, 06:13:22 AM »
Now, PCManfm left menu was on directory tree and I couldn't do right click, I changed the view and now work: Unmounted.

Thanks, thanks a lot Neal!!

The last two questions, sorry:

- Why this happened to my? any bug, or similar?

- My system crashed 3 times because remove the pen drive. Could this damage the system?
 

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #35 on: February 17, 2012, 06:36:23 AM »
You had the wrong command for opening PCManFM as root.     
Somehow you had got libnotify uninstalled.     
The permissions / ownership of your stick was for root, not you.     

You should never simply pull out a usb stick! Always unmount it first! Also, you should switch to your home folder before unmounting the stick.     
Crash your system enough times, and damage becomes an almost certainty.     

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #36 on: February 17, 2012, 06:56:37 AM »
Quote
You had the wrong command for opening PCManFM as root.     
Somehow you had got libnotify uninstalled.     
The permissions / ownership of your stick was for root, not you.

I never changed nothing on PCManFM... (?)

Quote
Crash your system enough times, and damage becomes an almost certainty.  

I have fear now... :(

Thanks very much for your help Neal.
« Last Edit: February 17, 2012, 06:58:15 AM by Aleph »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #37 on: February 17, 2012, 07:02:13 AM »
Don't forget to mark the thread [Solved].     

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #38 on: February 17, 2012, 07:38:42 AM »
Sorry to bother you again.

This is not working well, now some times I got the pop and some times yes. Without any reason. When not I can unplug the pen, it is unmounted.

Uff.

Online Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: Problems with usb pen drive
« Reply #39 on: February 17, 2012, 08:27:10 AM »
Hi formatted the pen drive...

When to /media, permissions <userneme>  <userneme> and the pen is working, always a pop asking for open, BUT I can't unmount it apparently, a error message appear when I do:

 No se puede desmontar el volumen. Details: "Can not remove directory" -

but I can unplug and the pen drive dissapear from PCManFM, and don't crash.

I did it too, I founded in ubuntu forums:

Code: [Select]
sudo chmod -Rf 777 /media/~

To much problems.
« Last Edit: February 17, 2012, 08:55:14 AM by Aleph »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #40 on: February 17, 2012, 02:22:35 PM »
 ::) We do not use sudo. Use su - root password - command. Like this:     
[neal@thecoffeeshop ~]$ su
Password:
[root@thecoffeeshop neal]# chmod -Rf 777 /media/~     

When you get the can't unmount error, does it say "device is busy," also? If so, wait a minute or 2 and try again.     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #41 on: February 17, 2012, 04:58:16 PM »
Quote
chmod -Rf 777 /media/~

I don't see how this command could be of any help ....  ???

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problems with usb pen drive
« Reply #42 on: February 17, 2012, 05:17:04 PM »
Quote
chmod -Rf 777 /media/~

I don't see how this command could be of any help ....  ???
     
It probably won't help, but Aleph seemed to want to try it, so.........     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Problems with usb pen drive
« Reply #43 on: February 17, 2012, 05:29:32 PM »
Neal,

is there any automount feature in LXDE ?

previously I asked for:

plug in yuour stick and after 5 seconds run the following command:
Code: [Select]
dmesg | tail -15

Aleph answered:
Quote
[salud@localhost ~]$ dmesg | tail -15
scsi6 : usb-storage 5-4:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver uas
scsi 6:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 8224768 512-byte logical blocks: (4.21 GB/3.92 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[salud@localhost ~]$

... it seems to me that his stick get "automounted" ...

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10607
  • MLUs Forever!
Re: Problems with usb pen drive
« Reply #44 on: February 17, 2012, 05:53:26 PM »
Quote
is there any automount feature in LXDE ?

PCManFM has automounting as part of its preferences.

Also if the 'Places' is shown on the left in place of the 'Directory tree' the partitions can be mounted and unmounted from there.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT