Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14884 > unrolled thread

udevd: interrupted or polled ?

Started byAvoid9Pdf@gmail.com
First post2015-05-30 18:31 +0000
Last post2015-06-02 19:11 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.os.linux.misc


Contents

  udevd: interrupted or polled ? Avoid9Pdf@gmail.com - 2015-05-30 18:31 +0000
    Re: udevd: interrupted or polled ? William Unruh <unruh@invalid.ca> - 2015-05-30 19:27 +0000
    Re: udevd: interrupted or polled ? Michael Black <et472@ncf.ca> - 2015-05-30 21:26 -0400
      Re: udevd: interrupted or polled ? Chick Tower <c.tower@deadspam.com> - 2015-06-02 19:11 +0000

#14884 — udevd: interrupted or polled ?

FromAvoid9Pdf@gmail.com
Date2015-05-30 18:31 +0000
Subjectudevd: interrupted or polled ?
Message-ID<mkcvle$ms$1@dont-email.me>
I'm interested to know how udevd works.
A 5-yr old slackware-based CD is nice :
 it auto-mounts every /dev/hda that `fdisk -l` sees,
 and gives me an answer for any `<cmnd> -h`
 instead of SOMETIMES saying "try --help".
 
But it seems not able to mount USB, if not connected at boot-time.
`lsusb` doesn't see USBs plugged after booting; nor `dmesg |tail`.

`pstree` shows the udevd
Isn't that supposed to detect newly plugged USBs?


 

[toc] | [next] | [standalone]


#14885

FromWilliam Unruh <unruh@invalid.ca>
Date2015-05-30 19:27 +0000
Message-ID<mkd2vc$bes$2@dont-email.me>
In reply to#14884
On 2015-05-30, Avoid9Pdf@gmail.com <Avoid9Pdf@gmail.com> wrote:
> I'm interested to know how udevd works.
> A 5-yr old slackware-based CD is nice :
>  it auto-mounts every /dev/hda that `fdisk -l` sees,
>  and gives me an answer for any `<cmnd> -h`
>  instead of SOMETIMES saying "try --help".
>  
> But it seems not able to mount USB, if not connected at boot-time.
> `lsusb` doesn't see USBs plugged after booting; nor `dmesg |tail`.

If lsusb does not see them then they are not plugged in. Either a
hardware fault or a driver module not installed. 
lsusb is a low level query. It has nothing to with mounting. It asks
"what is on the usb bus".

If the usb driver does not see the device than the system can hardly
mount it. 

And why would you want to use a 5 year old slackware CD?


>
> `pstree` shows the udevd
> Isn't that supposed to detect newly plugged USBs?
>
>
>  
>

[toc] | [prev] | [next] | [standalone]


#14886

FromMichael Black <et472@ncf.ca>
Date2015-05-30 21:26 -0400
Message-ID<alpine.LNX.2.02.1505302122240.3710@darkstar.example.org>
In reply to#14884
On Sat, 30 May 2015, Avoid9Pdf@gmail.com wrote:

> I'm interested to know how udevd works.
> A 5-yr old slackware-based CD is nice :
> it auto-mounts every /dev/hda that `fdisk -l` sees,
> and gives me an answer for any `<cmnd> -h`
> instead of SOMETIMES saying "try --help".
>
> But it seems not able to mount USB, if not connected at boot-time.
> `lsusb` doesn't see USBs plugged after booting; nor `dmesg |tail`.
>
> `pstree` shows the udevd
> Isn't that supposed to detect newly plugged USBs?
>
What are the conditions you are operating under?

A USB device should be noticed and "activated", but the release has to 
know about it.  I could never get one CompactFlash card reader going, I 
assume because it was too new for the version of Slackware that I was 
using at the time.

But, if you are talking about USB memory devices, that's a different 
thing.  I suppose in KDE there may be something to automatically mount 
that memory device, but out of the box console it's not going to do that.

At the very least, you have to tell /etc/fstab to automatically mount it.

   Michael

[toc] | [prev] | [next] | [standalone]


#14890

FromChick Tower <c.tower@deadspam.com>
Date2015-06-02 19:11 +0000
Message-ID<mkkv43$9k0$1@dont-email.me>
In reply to#14886
On 2015-05-31, Michael Black wrote:
> But, if you are talking about USB memory devices, that's a different 
> thing.  I suppose in KDE there may be something to automatically mount 
> that memory device, but out of the box console it's not going to do that.
>
> At the very least, you have to tell /etc/fstab to automatically mount it.

Perhaps it's time to trot out Loki's udev rule to automatically mount
USB drives.  I can't seem to lay my hands on my saved copy of it right now, 
but if you search Google Groups in a.o.l.s. for it you should be able to
find it.
-- 
                                 Chick Tower

For e-mail:  aols2 DOT sent DOT towerboy AT xoxy DOT net

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web