Posts: 107
brian
Joined: 10 Sep 2011
#1
Hi everyone,
I've searched and tried various attempts at being able to access my external DVD player, but I can't find it for the life of me! Or rather, when I open Thunar, it appears, but denies me permissions. So when I go root, it disappears!!
However, if I connect my USB mouse, no problems!

Any suggestions? I've searched this forum but nothing so far..

Thanks!

brian

-Loving AntiX on my old Compaq Presario 2700! __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
In thunar as root. look in /media. Another way to mount external hard drive is through control center>Disks>mount connected devices.
Posts: 107
brian
Joined: 10 Sep 2011
#3
rokytnji wrote:In thunar as root. look in /media. Another way to mount external hard drive is through control center>Disks>mount connected devices.
In root, the drive disappeared. It shows only when not in root, and gives to permissions. I also used the control center. No luck. __{{emoticon}}__

I found this from a post on another thread, from anticapitalista:"As root rename /etc/udev/rules.d/99-usbstorage.rules.unused to 99-usbstorage.rules"

Would this command also be valid for my external drive?


Brian
Posts: 325
male
Joined: 04 Nov 2011
#4
Hello,
an attempt ...
the player has to be plugged ...
change in that directory for example

Code: Select all

cd /media/<player>
will root

Code: Select all

# chown -R brian: /media/<player>
The":" ensures that the group rights are matched with.

Good luck (and sorry my google-english)
Posts: 1,062
Dave
Joined: 20 Jan 2010
#5
brian wrote: I found this from a post on another thread, from anticapitalista:"As root rename /etc/udev/rules.d/99-usbstorage.rules.unused to 99-usbstorage.rules"

Would this command also be valid for my external drive?
Yes it will work to mount the device using pmount, so thunar may deny access or not allow you to unmount. I would first check your startup to see if you have thunar --daemon enabled.
by leafpad
leafpad ~/.fluxbox/startup OR ~/.icewm-startup
by control center
control center > desktop > edit fluxbox settings OR edit icewm settings
by add-start
The line should look similar to

Code: Select all

thunar --daemon &
make sure there is no # in front of the line.

You could mount it directly by running terminal as root and executing the command mount /dev/DEVICE /mnt/DEVICE_MOUNT_POINT, You need to be root to use the device though. This can be done by:
menu --> run
type: roxterm (press enter/return)
type: su (press enter/return)
type: YOUR ROOT PASSWORD (press enter/return)
type: mkdir /mnt/drive (press enter/return)
type: mount /dev/DEVICE /mnt/drive (press enter/return)
type: thunar /mnt/drive (press enter/return)
type: umount /dev/DEVICE (press enter/return)
Posts: 107
brian
Joined: 10 Sep 2011
#6
FYI..

I opened Thunar as root, and then attached the external drive. My terminal tells me:

thunar-volman: Unsupported USB device type.

Does that mean that I cannot use the device, or is there a way to recognize it?


Brian
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#7
Brian, trying Google(thunar-volman: Unsupported USB device type). There are a lot of people having this same problem.
Posts: 117
buttcoffee
Joined: 20 Aug 2010
#8
Brian, to clarify, did you try what Dave suggested?
Posts: 107
brian
Joined: 10 Sep 2011
#9
I haven't had a chance yet.. been busy doing/trying other things; but I was able to get a USB stick mounted through the control center. Rox opened and I was able to transfer files.

I'll try the DVD/CD drive tomorrow and see how it goes. (it's late where I am: Italy) __{{emoticon}}__

I do appreciate the comments and suggestions; I know Google is useful much of the time, and I know that things can often be sorted out in more than one way..


Brian
Posts: 107
brian
Joined: 10 Sep 2011
#10
rokytnji wrote:In thunar as root. look in /media. Another way to mount external hard drive is through control center>Disks>mount connected devices.
Hi rok,
I attached a USB drive and went into control center>Disks>mount and I found my USB drive. As the mount point, I selected cdrom1. Is this bad? Or can"cdrom1" also indicate my USB port? I am able to access the files fine, but I was unsure about which mount point to select.

Thanks!
brian
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#11
but I was unsure about which mount point to select
In the window. There is a button that shows fdisk -l for connected devices. The mounted drive point path can be selected there. Also, you can make your own directory in /media in any file manager opened as root and name the dvd directory anything you want and use that directory as a mount point .

Also. You can use the blkid command to get the UUID number of external DVD drive and edit your /etc/fstab to auto mount (I think, I am a bit hung over this morning so can't swear to it). __{{emoticon}}__

This post is being done while my head is pounding and I am not all here yet.
Posts: 107
brian
Joined: 10 Sep 2011
#12
rokytnji wrote:
but I was unsure about which mount point to select
In the window. There is a button that shows fdisk -l for connected devices. The mounted drive point path can be selected there. Also, you can make your own directory in /media in any file manager opened as root and name the dvd directory anything you want and use that directory as a mount point .

Also. You can use the blkid command to get the UUID number of external DVD drive and edit your /etc/fstab to auto mount (I think, I am a bit hung over this morning so can't swear to it). __{{emoticon}}__

This post is being done while my head is pounding and I am not all here yet.
Even if you're hung over you still lost me...! __{{emoticon}}__ I think I have a piece or two missing in this"mounting puzzle." When I connect a USB drive, I can see it but thunar doesn't mount it, so I used your suggestion in using the control center mount command, which works, but only in rox. Actually, I thought that by using

Code: Select all

chmod -R 777 /media
that it would make anything connecting to the USB port mount automatically, but no. __{{emoticon}}__

brian
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#13
IMO use rox rather than thunar for mounting devices.

Did you do this."As root rename /etc/udev/rules.d/99-usbstorage.rules.unused to 99-usbstorage.rules"

This should automount newly plugged usb devices in Rox under /media

Also you do not need to be root to run the mount application. It should appear in the menu under Applications->Other->antiX-mountbox

Use the list to see if your device has been detected and enter the same name for device and mount point.

eg usb stick appears as sdc1 according to list so Device reads /dev/sdc1 and Mountpoint /media/sdc1
Posts: 107
brian
Joined: 10 Sep 2011
#14
anticapitalista wrote:IMO use rox rather than thunar for mounting devices.

Did you do this."As root rename /etc/udev/rules.d/99-usbstorage.rules.unused to 99-usbstorage.rules"

This should automount newly plugged usb devices in Rox under /media

Also you do not need to be root to run the mount application. It should appear in the menu under Applications->Other->antiX-mountbox

Use the list to see if your device has been detected and enter the same name for device and mount point.

eg usb stick appears as sdc1 according to list so Device reads /dev/sdc1 and Mountpoint /media/sdc1
Hi anticapitalista,
I did change the .rules.unused file to .rules and now it works fine even in Thunar. The USB drive mounted right away and I was able to move files no problem.
You mentioned Rox for mounting. Do you mean that I should use Rox"only" for mounting and unmounting the device? Does Thunar create problems unmounting? I was able to mount it easily (I made the /media folder to have all permissions (777)).
Is that not a good idea?

brian
Posts: 107
brian
Joined: 10 Sep 2011
#15
Dave wrote:
brian wrote: I found this from a post on another thread, from anticapitalista:"As root rename /etc/udev/rules.d/99-usbstorage.rules.unused to 99-usbstorage.rules"

Would this command also be valid for my external drive?
Yes it will work to mount the device using pmount, so thunar may deny access or not allow you to unmount. I would first check your startup to see if you have thunar --daemon enabled.
by leafpad
leafpad ~/.fluxbox/startup OR ~/.icewm-startup
by control center
control center > desktop > edit fluxbox settings OR edit icewm settings
by add-start
The line should look similar to

Code: Select all

thunar --daemon &
make sure there is no # in front of the line.

You could mount it directly by running terminal as root and executing the command mount /dev/DEVICE /mnt/DEVICE_MOUNT_POINT, You need to be root to use the device though. This can be done by:
menu --> run
type: roxterm (press enter/return)
type: su (press enter/return)
type: YOUR ROOT PASSWORD (press enter/return)
type: mkdir /mnt/drive (press enter/return)
type: mount /dev/DEVICE /mnt/drive (press enter/return)
type: thunar /mnt/drive (press enter/return)
type: umount /dev/DEVICE (press enter/return)
Dave,
I tried mounting my external DVD drive again, with no luck.
I followed your directions to a point, but my question now is: how do I know what my device is called, if I can't even see it??
I did the mkdir part no problem, but I don't know how to proceed.
Any help appreciated..!

brian