LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2007, 01:46 PM   #1
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Unhappy Integrate USB automounting into non-udev system?


I'm having a lot of trouble getting udev/hal/hotplug to behave, when I install them in a three year old Debian installation. The packages pretty much take over all hardware handling and mess up the network configuration, make my wacom tablet unusable and freeze KDE randomly on top of that. The mess it creates is IMO too much to spend a lot of time on.

I've been experimenting with pmount, which is pretty straight-forward and much easier on users who don't want to care about VendorID's and the lot.

I would like to use pmount with a package capable of automounting (preferably with KDE). Are there any alternatives left in the Linux landscape?

(I just don't see why the simple action of adding and removing external devices has turned into something so totally complex and needlessly time consuming.)
 
Old 01-07-2007, 01:51 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,682

Rep: Reputation: 124Reputation: 124
My advise: backup your files and install Etch. I know it doesn't have to, but sometimes it's better to be pragmatic and cut your loses before they grow over your head...
 
Old 01-07-2007, 02:39 PM   #3
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Original Poster
Rep: Reputation: 30
The system is Etch/Sid/Experimental. I just hope there is an alternative to reinstalling, which would be a lot of work as well.
 
Old 01-07-2007, 03:00 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,682

Rep: Reputation: 124Reputation: 124
I'm having doubts this is really a Etch/Sid/Experimental system, or you've just never upgraded from hotplug to udev having started from a Sarge system. My advise remains: backing up your data and start from scratch.
 
Old 01-07-2007, 03:07 PM   #5
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Original Poster
Rep: Reputation: 30
I don't use hotplug either, it tries to handle too much devices (usb, ide, pci, scsi, pnpisa!?). You don't need to doubt if my system is mixed either, I'm telling you it is Since it used to be Sarge and was upgraded gradually it's pretty easy to avoid all the administration needed for hotplug, udev etc.
 
Old 01-07-2007, 03:35 PM   #6
titetanium
Member
 
Registered: Mar 2004
Distribution: debian testing/unstable
Posts: 68

Rep: Reputation: 16
Quote:
Originally Posted by Dutch Master
I'm having doubts this is really a Etch/Sid/Experimental system, or you've just never upgraded from hotplug to udev having started from a Sarge system. My advise remains: backing up your data and start from scratch.
Not necessarily true, I used to try to hold off udev, and go with hotplug because of the reports of problems with udev. I've since made the conversion, but this was some 3 months ago. Now, if the OP originally had GNOME installed, then you would be correct: GNOME has a dependency on udev as opposed to hotplug. I'm not sure about KDE, as I don't use KDE nor GNOME on my system for that matter.
 
Old 01-08-2007, 02:47 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
udev is complex but very powerfull. One of the major change in the 2.6.
Do your problems come from udev or HAL? udev is not supposed to mount anything, its the purpose of HAL who gets notified by udev via dbus. For example, HAL keeps a record of mount options for medias.
If you have problems with HAL then use maybe use autofs? Personnaly I dislike the concept since a long time and would never go back to old mechanisms.
 
Old 01-08-2007, 11:39 AM   #8
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Original Poster
Rep: Reputation: 30
It might the stripped down kernel I use that is one of the causes of my troubles. I'll figure it out Although I dislike udev I realise it's currently the only way to go.
 
Old 01-13-2007, 03:15 AM   #9
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Original Poster
Rep: Reputation: 30
Smile Working

At the third attempt the pieces came together. Hopefully this will be useful to new udev users. Don't switch to udev late at night, a clear mind helps!

The most annoying was the loss of the network card. In /etc/udev/rules.d/z25_persistant-net.rules my card wasn't present. I deleted the file and restarted udev (or reboot). It showed up again and the network was back.

The /dev/input/wacom node was pointing to event3, so xorg.conf had to be changed. After reloading X it worked again.

The freezing of KDE I still can't explain, but it hasn't happened again, since I got all devices working. After installing hal KDE nicely opens a window asking what to do with the plugged in device. All is cool now.

Udev is intimidating, but, at least the Debian implementation, provides a working set. I haven't written any udev rules and intend to stay as far away of it as I can. Documentation on this is pretty clear if I have to
 
  


Reply

Tags
debianhardware, pmount, udev, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Udev upgrade breaks automounting memory cards on Gentoo FreeThinkerJim Linux - Hardware 2 05-27-2006 10:41 AM
automounting, udev, etc. mekoc Slackware 1 11-08-2005 06:38 AM
automounting usbkey using udev bbenn Linux - Software 0 10-04-2005 04:16 AM
System complains failing automounting file system aladin Linux - Hardware 1 08-30-2005 10:07 AM
usb automounting wi_slacker Slackware 6 05-05-2004 12:30 AM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration