Re: automount usb-storage..??

2006-10-04 Thread Brad Brock


--- Oguz Yarımtepe [EMAIL PROTECTED] wrote:

 From: Oguz Yarımtepe [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 Subject: Re: automount usb-storage..??
 Date: Wed, 4 Oct 2006 05:25:19 +0300
 
 Sal 03 Eki 2006 18:39 tarihinde, Brad Brock
 şunları yazmıştı: 
  I've just upgraded my debian sarge to etch. When I
  plug usb-storage to my computer, it doesn't detect
  anything. Then after I installed HAL packages and
  autofs package, the auto-detection works but it's
 not
  automatically mounted and KDE Daemon detect it but
 I
  cannot read it instantly from Konqueror. Did I
 miss
  something??
 
  Thanks...
 
 In unstable i solve it by installing dbus, hal and
 latest kernel (it installs 
 udev and removes hotplug), so try also installing
 dbus and udev.

I still cannot solve my problem. KDE still cannot
automount...

 
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: automount usb-storage..??

2006-10-04 Thread Florian Kulzer
On Tue, Oct 03, 2006 at 23:47:08 -0700, Brad Brock wrote:
 
 --- Oguz Yarımtepe [EMAIL PROTECTED] wrote:
 
  From: Oguz Yarımtepe [EMAIL PROTECTED]
  To: debian-user@lists.debian.org
  Subject: Re: automount usb-storage..??
  Date: Wed, 4 Oct 2006 05:25:19 +0300
  
  Sal 03 Eki 2006 18:39 tarihinde, Brad Brock
  şunları yazmıştı: 
   I've just upgraded my debian sarge to etch. When I
   plug usb-storage to my computer, it doesn't detect
   anything. Then after I installed HAL packages and
   autofs package, the auto-detection works but it's
  not
   automatically mounted and KDE Daemon detect it but
  I
   cannot read it instantly from Konqueror. Did I
  miss
   something??
  
   Thanks...
  
  In unstable i solve it by installing dbus, hal and
  latest kernel (it installs 
  udev and removes hotplug), so try also installing
  dbus and udev.
 
 I still cannot solve my problem. KDE still cannot
 automount...

There might be a slight misunderstanding: KDE does not really automount
usb devices in the strict sense of the word. What happens is that an
icon pops up on your desktop after you insert a pluggable device or
removable media, but it is not mounted. After you click on the icon the
device/media will be mounted and opened in konqueror. (You can also
configure other actions, e.g. staring a media player if you insert an
audio CD.)

As Oguz has already pointed out, you will need udev, dbus and hal. In
addition to that it is advisable to install the pmount package and to
add your user to the plugdev group. (Then you will not need /etc/fstab
entries for the USB sticks.) If these packages are installed you should
be able to activate the desktop icons in K-Menu  Control Center 
Desktop  Behavior  Device Icons. The settings for different types of
media can be tuned in Peripherals  Storage Media; there should also
be a dialog if you insert a given type for the first time after
activating the icons.

If you still cannot get it to work you should post the output of

dpkg -l udev\* hal\* dbus\* pmount

so that we can check if you have the correct versions of all necessary
packages installed.

-- 
Regards,
  Florian



Re: automount usb-storage..??

2006-10-04 Thread Pollywog
On Wednesday 04 October 2006 07:49, Florian Kulzer wrote:

 There might be a slight misunderstanding: KDE does not really automount
 usb devices in the strict sense of the word. What happens is that an
 icon pops up on your desktop after you insert a pluggable device or
 removable media, but it is not mounted. After you click on the icon the
 device/media will be mounted and opened in konqueror. (You can also
 configure other actions, e.g. staring a media player if you insert an
 audio CD.)

USB devices are automounted on my Etch system, but I would prefer the action 
you have described.  Is there a way to get that behavior in my system?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: automount usb-storage..??

2006-10-04 Thread Florian Kulzer
On Wed, Oct 04, 2006 at 16:11:29 +, Pollywog wrote:
 On Wednesday 04 October 2006 07:49, Florian Kulzer wrote:
 
  There might be a slight misunderstanding: KDE does not really automount
  usb devices in the strict sense of the word. What happens is that an
  icon pops up on your desktop after you insert a pluggable device or
  removable media, but it is not mounted. After you click on the icon the
  device/media will be mounted and opened in konqueror. (You can also
  configure other actions, e.g. staring a media player if you insert an
  audio CD.)
 
 USB devices are automounted on my Etch system, but I would prefer the action 
 you have described.  Is there a way to get that behavior in my system?

You probably have usbmount or a similar package installed. If you want
to use the desktop-integrated handling of the removable devices it is
better to uninstall this package (as is recommended in the package
description of usbmount). If you do not know which process mounts your
devices you can plug one in and check the syslog.

For any desktop environment (DE) that implements the freedesktop.org
specifications related to removable media it should be enough to install
udev, dbus, hal and pmount, as I have described in my earlier mail for
the example of KDE. If you use Gnome you will need the package
gnome-volume-manager in addition to that. Then it should should be just
a matter of activating the icons in the control center, configuration
menu or whatever it is called for the DE that you use.

Here are some troubleshooting tips if it should not work for you:

1) Check if udev creates the device node after you plug in a usb stick.
   This should be something like /dev/sda, /dev/sda1, /dev/sdb,
   /dev/sdb1, etc. I would assume that this is OK for you, since you
   have some sort of automounting working at the moment.

2) Remove the usb stick, run lshal --monitor and plug it in again. You
   should see messages about the detection of the medium, its device
   label, etc. 

3) Still no icons? Make sure they are activated within the DE and check
   ~/.xsession-errors and the syslog for error messages.

-- 
Regards,
  Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



automount usb-storage..??

2006-10-03 Thread Brad Brock
I've just upgraded my debian sarge to etch. When I
plug usb-storage to my computer, it doesn't detect
anything. Then after I installed HAL packages and
autofs package, the auto-detection works but it's not
automatically mounted and KDE Daemon detect it but I
cannot read it instantly from Konqueror. Did I miss
something?? 

Thanks...

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: automount usb-storage..??

2006-10-03 Thread Oguz Yarımtepe
Sal 03 Eki 2006 18:39 tarihinde, Brad Brock şunları yazmıştı: 
 I've just upgraded my debian sarge to etch. When I
 plug usb-storage to my computer, it doesn't detect
 anything. Then after I installed HAL packages and
 autofs package, the auto-detection works but it's not
 automatically mounted and KDE Daemon detect it but I
 cannot read it instantly from Konqueror. Did I miss
 something??

 Thanks...

In unstable i solve it by installing dbus, hal and latest kernel (it installs 
udev and removes hotplug), so try also installing dbus and udev.



 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com



Re: automount usb-storage..??

2006-10-03 Thread William Xu
Brad Brock [EMAIL PROTECTED] writes:

 I've just upgraded my debian sarge to etch. When I plug usb-storage to
 my computer, it doesn't detect anything. Then after I installed HAL
 packages and autofs package, the auto-detection works but it's not
 automatically mounted and KDE Daemon detect it but I cannot read it
 instantly from Konqueror. Did I miss something??

I just found `usbmount' package does this job nicely. Simple plug in and
remove. Give it a try.


-- 
William

They told me you had proven it  When they discovered our results
About a month before.   Their hair began to curl
The proof was valid, more or less   Instead of understanding it
But rather less than more.  We'd run the thing through PRL.

He sent them word that we would try Don't tell a soul about all this
To pass where they had failed   For it must ever be
And after we were done, to them A secret, kept from all the rest
The new proof would be mailed.  Between yourself and me.

My notion was to start again
Ignoring all they'd done
We quickly turned it into code
To see if it would run.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]