Re: udev hotplug

2005-10-30 Thread Hamish Moffatt
On Fri, Oct 28, 2005 at 06:23:29PM +0200, Albert Dengg wrote:
 You could also edit udev config to omit the modules...
 so that they are loaded by module-init-tools again...

Or change the order that they start in /etc/rcS.d. It's OK to remove /
rename / add links there, as that directory is considered configuration.

Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


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



udev hotplug

2005-10-28 Thread Karl Hoppel

apt-get wants to remove hotplug to install the latest version
of udev.  Is this okay to do?


#   apt-get -s install udev
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libsepol1
The following packages will be REMOVED:
  hotplug
The following NEW packages will be installed:
  libsepol1
The following packages will be upgraded:
  udev
1 upgraded, 1 newly installed, 1 to remove and 76 not upgraded.
1 not fully installed or removed.
Inst libsepol1 (1.8-1 Debian AMD64 archive:unstable)
Remv hotplug [0.0.20040329-25] [udev ]
Inst udev [0.068-2] (0.071-1 Debian AMD64 archive:unstable)
Conf bug-buddy (2.10.0-4 Debian AMD64 archive:unstable)
Conf libsepol1 (1.8-1 Debian AMD64 archive:unstable)
Conf udev (0.071-1 Debian AMD64 archive:unstable)



..
... Karl Hoppel
... Remote Sensing Physics Branch, Code 7227   
... Naval Research Lab, Washington D.C. 20375-5320 
... PHONE: 202-767-1320
... FAX:   202-767-7885
... EMAIL: [EMAIL PROTECTED]
..



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



Re: udev hotplug

2005-10-28 Thread Gudjon I. Gudjonsson
Yes it was for me. Versions 0.070-3 and 4 where not OK but since then 
everything has worked perfectly.

/Gudjon

On Friday 28 October 2005 17:54, Karl Hoppel wrote:
 apt-get wants to remove hotplug to install the latest version
 of udev.  Is this okay to do?


 #   apt-get -s install udev
 Reading package lists... Done
 Building dependency tree... Done
 The following extra packages will be installed:
   libsepol1
 The following packages will be REMOVED:
   hotplug
 The following NEW packages will be installed:
   libsepol1
 The following packages will be upgraded:
   udev
 1 upgraded, 1 newly installed, 1 to remove and 76 not upgraded.
 1 not fully installed or removed.
 Inst libsepol1 (1.8-1 Debian AMD64 archive:unstable)
 Remv hotplug [0.0.20040329-25] [udev ]
 Inst udev [0.068-2] (0.071-1 Debian AMD64 archive:unstable)
 Conf bug-buddy (2.10.0-4 Debian AMD64 archive:unstable)
 Conf libsepol1 (1.8-1 Debian AMD64 archive:unstable)
 Conf udev (0.071-1 Debian AMD64 archive:unstable)



 ..
 ... Karl Hoppel
 ... Remote Sensing Physics Branch, Code 7227
 ... Naval Research Lab, Washington D.C. 20375-5320
 ... PHONE: 202-767-1320
 ... FAX:   202-767-7885
 ... EMAIL: [EMAIL PROTECTED]
 ..


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



Re: udev hotplug

2005-10-28 Thread Karl Hoppel
[EMAIL PROTECTED] said:
 worked fine for me.  udev replaces hotplug.  Though you'll need to convert  
 your
 hotplug scripts to udev rules.

Should the script /etc/init.d/hotplug and the directory /etc/hotplug 
remain after the upgrade?

Is there something I need to do about the following message that
apt-get gives me:

Removing hotplug ...
(Reading database ... 75737 files and directories currently installed.)
Preparing to replace udev 0.068-2 (using .../udev_0.071-1_amd64.deb) ...

**
* Please purge the hotplug package!
**


Karl

 worked fine for me.  udev replaces hotplug.  Though you'll need to convert 
 your hotplug scripts to udev rules.
 - Original Message - 
 From: Karl Hoppel [EMAIL PROTECTED]
 To: debian-amd64@lists.debian.org
 Sent: Friday, October 28, 2005 10:54 AM
 Subject: udev  hotplug
 
 
 
  apt-get wants to remove hotplug to install the latest version
  of udev.  Is this okay to do?
 
 
  #   apt-get -s install udev
  Reading package lists... Done
  Building dependency tree... Done
  The following extra packages will be installed:
   libsepol1
  The following packages will be REMOVED:
   hotplug
  The following NEW packages will be installed:
   libsepol1
  The following packages will be upgraded:
   udev
  1 upgraded, 1 newly installed, 1 to remove and 76 not upgraded.
  1 not fully installed or removed.
  Inst libsepol1 (1.8-1 Debian AMD64 archive:unstable)
  Remv hotplug [0.0.20040329-25] [udev ]
  Inst udev [0.068-2] (0.071-1 Debian AMD64 archive:unstable)
  Conf bug-buddy (2.10.0-4 Debian AMD64 archive:unstable)
  Conf libsepol1 (1.8-1 Debian AMD64 archive:unstable)
  Conf udev (0.071-1 Debian AMD64 archive:unstable)
 







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



Re: udev hotplug

2005-10-28 Thread Giacomo Mulas

Hi Karl.

On Fri, 28 Oct 2005, Karl Hoppel wrote:


apt-get wants to remove hotplug to install the latest version
of udev.  Is this okay to do?


Almost. Late versions of udev include hotplug support. The only problem I
had is that this changed the order in which things got started at boot. In
particular, I need to load a few modules in a well defined order at boot,
and I have the listed in /etc/modules for that reason. In the previous
setup, the order in which module-loading init scripts got run was: udev
first, then modutils/module-init-tools, then hotplug. In this way, modules
listed in /etc/modules had precedence over those loaded by hotplug and 
all was ok for me. After the upgrade, hotplug merged with udev, and 
its modules got loaded when the udev startup script was executed, _before_

the ones in /etc/modules. Gosh. It drove me crazy for a while to understand
what was wrong with my system. All I had to do was copy module-init-tools
to firstmodule-init-tools, change one line in it to have it parse 
/etc/firstmodules instead of /etc/modules, make a link in /etc/rcS.d which

comes before udev.

The bottom line is that unless you have a particular setup (as I do) 
you will be fine. But hey, this is unstable, you are supposed to be able

to track down and fix such things, aren't you? :)

Bye
Giacomo

--
_

Giacomo Mulas [EMAIL PROTECTED]
_

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_

--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.


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



Re: udev hotplug

2005-10-28 Thread Albert Dengg

Giacomo Mulas wrote:


...
Almost. Late versions of udev include hotplug support. The only problem I
had is that this changed the order in which things got started at 
boot. In

particular, I need to load a few modules in a well defined order at boot,
and I have the listed in /etc/modules for that reason. In the previous
setup, the order in which module-loading init scripts got run was: udev
first, then modutils/module-init-tools, then hotplug. In this way, 
modules
listed in /etc/modules had precedence over those loaded by hotplug and 
all was ok for me. After the upgrade, hotplug merged with udev, and 
its modules got loaded when the udev startup script was executed, 
_before_
the ones in /etc/modules. Gosh. It drove me crazy for a while to 
understand

what was wrong with my system. All I had to do was copy module-init-tools
to firstmodule-init-tools, change one line in it to have it parse 
/etc/firstmodules instead of /etc/modules, make a link in /etc/rcS.d 
which

comes before udev.
...


Hi

You could also edit udev config to omit the modules...
so that they are loaded by module-init-tools again...

yours
Albert


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



Re: udev hotplug

2005-10-28 Thread Giacomo Mulas

On Fri, 28 Oct 2005, Albert Dengg wrote:


You could also edit udev config to omit the modules...
so that they are loaded by module-init-tools again...


But I want it to load the modules. I just need _a couple_
of modules to be loaded in a predefined order, that's all.
The rest are better handled by hotplug/udev. Indeed /etc/modules
was almost empty, with the exception of those few modules.

Bye
Giacomo

--
_

Giacomo Mulas [EMAIL PROTECTED]
_

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_

--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.


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



Re: udev hotplug

2005-10-28 Thread Mike Dobbs
I don't think it matters.  the script ends since /sbin/hotplug isn't there. 
/etc/hotplug I think is empty.
- Original Message - 
From: Karl Hoppel [EMAIL PROTECTED]

To: Mike Dobbs [EMAIL PROTECTED]
Sent: Friday, October 28, 2005 11:09 AM
Subject: Re: udev  hotplug




[EMAIL PROTECTED] said:
worked fine for me.  udev replaces hotplug.  Though you'll need to 
convert  your

hotplug scripts to udev rules.


Should the script /etc/init.d/hotplug and the directory /etc/hotplug
remain after the upgrade?

Is there something I need to do about the following message that
apt-get gives me:

Removing hotplug ...
(Reading database ... 75737 files and directories currently installed.)
Preparing to replace udev 0.068-2 (using .../udev_0.071-1_amd64.deb) ...

**
* Please purge the hotplug package!
**


Karl

worked fine for me.  udev replaces hotplug.  Though you'll need to 
convert

your hotplug scripts to udev rules.
- Original Message - 
From: Karl Hoppel [EMAIL PROTECTED]

To: debian-amd64@lists.debian.org
Sent: Friday, October 28, 2005 10:54 AM
Subject: udev  hotplug



 apt-get wants to remove hotplug to install the latest version
 of udev.  Is this okay to do?


 #   apt-get -s install udev
 Reading package lists... Done
 Building dependency tree... Done
 The following extra packages will be installed:
  libsepol1
 The following packages will be REMOVED:
  hotplug
 The following NEW packages will be installed:
  libsepol1
 The following packages will be upgraded:
  udev
 1 upgraded, 1 newly installed, 1 to remove and 76 not upgraded.
 1 not fully installed or removed.
 Inst libsepol1 (1.8-1 Debian AMD64 archive:unstable)
 Remv hotplug [0.0.20040329-25] [udev ]
 Inst udev [0.068-2] (0.071-1 Debian AMD64 archive:unstable)
 Conf bug-buddy (2.10.0-4 Debian AMD64 archive:unstable)
 Conf libsepol1 (1.8-1 Debian AMD64 archive:unstable)
 Conf udev (0.071-1 Debian AMD64 archive:unstable)









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



udev hotplug

2005-10-07 Thread Mike Dobbs
Does anyone get any hotplug or udev events run when they plug into the
usb bus?  I'm not sure what's wrong, but on my system no scripts are run
unless I coldplug /etc/init.d/hotplug restart.  No logs from hotplug or
udev.  Printer doesn't work until I coldplug.  Any ideas on where to
look or where else to ask?  This is kind of a pain if I don't have my
printer turned on when I boot?


Thanks



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



Re: udev hotplug

2005-10-07 Thread Hamish Moffatt
On Fri, Oct 07, 2005 at 08:01:47PM -0500, Mike Dobbs wrote:
 Does anyone get any hotplug or udev events run when they plug into the
 usb bus?  I'm not sure what's wrong, but on my system no scripts are run
 unless I coldplug /etc/init.d/hotplug restart.  No logs from hotplug or
 udev.  Printer doesn't work until I coldplug.  Any ideas on where to
 look or where else to ask?  This is kind of a pain if I don't have my
 printer turned on when I boot?

How recently did this start?

I did a big upgrade last night and haven't tried since then.
But certainly it's been working fine when I hotplug my USB hard disk
(mp3 player).

Hamish
-- 
Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]


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



Re: udev hotplug

2005-10-07 Thread Mike Dobb
Not sure, no later than a few weeks.  I can plug in a compact flash card
in my memory read and it pops up great on my desktop.  

However my usb cell phone and epson printer won't work when plugged in
until I restart hotplug.  The printerconf says 'Paused: Unable to send
print file to printer: No such device', until I restart hotplug and
resume printer.  The hotplug script for my phone won't work either until
I restart hotplug.

Thanks for your help, this is killing me.



On Sat, 2005-10-08 at 11:32 +1000, Hamish Moffatt wrote: 
 On Fri, Oct 07, 2005 at 08:01:47PM -0500, Mike Dobbs wrote:
  Does anyone get any hotplug or udev events run when they plug into the
  usb bus?  I'm not sure what's wrong, but on my system no scripts are run
  unless I coldplug /etc/init.d/hotplug restart.  No logs from hotplug or
  udev.  Printer doesn't work until I coldplug.  Any ideas on where to
  look or where else to ask?  This is kind of a pain if I don't have my
  printer turned on when I boot?
 
 How recently did this start?
 
 I did a big upgrade last night and haven't tried since then.
 But certainly it's been working fine when I hotplug my USB hard disk
 (mp3 player).
 
 Hamish
 -- 
 Hamish Moffatt VK3SB [EMAIL PROTECTED] [EMAIL PROTECTED]
 
 


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



usb/udev/hotplug problem?

2005-02-16 Thread Karl Hoppel
Hello,

I'm not sure is this problem is specific to amd64, but I have occassional 
problems using my usb memory stick.  Normally, when I plug in the stick,
the device entries /dev/sdc and /dev/sdc1 appear, and then I mount sdc1
to access the stick.  I then reverse the process, and /dev/sdc dissappears as
expected.

However, sometimes, using the same memory stick and usb port,  /dev/sdc appears 
but not /dev/sdc1 and I cannot access the stick.  
Then, when I remove the stick, /dev/sdc does not go away and the usb ports
are useless untill I reboot.  

I am using the latest sid versions of all packages.  Any suggestions. 

Cheers


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