Re: [Cooker] Hotplug

2003-08-16 Thread Adam Williamson
On Sat, 2003-08-16 at 04:09, Todd Lyons wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Nathan A. Smith wanted us to know:
> 
> >> >I was wondering -- is there any effort to expand the usb.distmap file to
> >> >include usb devices like thumbdrives, compact flash cards, zaurus, etc
> >> If "thumbdrive" is the same thing as the usb flash drives, then some are
> >> already supported.  If not, then I'm going to start googling.
> >Yes, usb flash drives and thumbdrives are the same...  I guess all these
> >devices are under "usb-storage".  Now usb-storage only insures the
> >correct modules are loaded -- any effort to make these devices
> >automount?
> 
> In KDE that shipped with 9.1, when I plug my USB Flash drive in, an icon
> appears on the desktop within about 7 seconds.  I click on it and I see
> the contents of the Flash drive.  Capability is already there.  If it's
> not showing up on yours:
> 1) Try using KDE if you're not already
> 2) Check that you have the latest version of hotplug
> 3) Check dmesg to see if it's reporting any odd errors
> 
> I don't know if any other desktop provides this as I don't normally run
> anything other than KDE and IceWM (which doesn't have desktop icons).

GNOME does it too.
-- 
adamw




Re: [Cooker] Hotplug

2003-08-15 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan A. Smith wanted us to know:

>Aug 15 21:19:36 NASA kernel: hub.c: new USB device 02:00.0-4, assigned
>address 4
>Aug 15 21:19:36 NASA kernel: scsi1 : SCSI emulation for USB Mass Storage
>devices
>Aug 15 21:19:36 NASA kernel:   Vendor: 256MB Model:
>HardDrive Rev: 1.88
>Aug 15 21:19:36 NASA kernel:   Type:  
>Direct-Access  ANSI SCSI revision: 02
>Aug 15 21:19:36 NASA kernel: Attached scsi removable disk sdb at scsi1,
>channel 0, id 0, lun 0
>Aug 15 21:19:36 NASA kernel: SCSI device sdb: 512000 512-byte hdwr
>sectors (262 MB)
>Aug 15 21:19:36 NASA kernel: sdb: Write Protect is off
>Aug 15 21:19:36 NASA kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
>Aug 15 21:19:39 NASA /etc/hotplug/usb.agent: Setup usb-storage for USB
>product ea0/6828/110
>Which all looks normal (and good), however, no desktop icon and I have
>to mount it manually...

Yes, it all looks good.  But mine has a couple of lines beyond that:

Aug 13 23:17:10 trip kernel: hub.c: new USB device 00:02.2-1.3, assigned
address
 3
Aug 13 23:17:10 trip kernel: usb.c: USB device 3 (vend/prod
0xea0/0x6803) is not
 claimed by any active driver.
Aug 13 23:17:13 trip /etc/hotplug/usb.agent: Setup usb-storage for USB
product e
a0/6803/100
Aug 13 23:17:13 trip kernel: Initializing USB Mass Storage driver...
Aug 13 23:17:13 trip kernel: usb.c: registered new driver usb-storage
Aug 13 23:17:13 trip kernel: scsi1 : SCSI emulation for USB Mass Storage
devices
Aug 13 23:17:13 trip kernel:   Vendor: MobileModel: Drive
Rev: 1
.11
Aug 13 23:17:13 trip kernel:   Type:   Direct-Access
ANSI S
CSI revision: 02
Aug 13 23:17:13 trip kernel: Attached scsi removable disk sda at scsi1,
channel
0, id 0, lun 0
Aug 13 23:17:13 trip kernel: SCSI device sda: 129024 512-byte hdwr
sectors (66 M
B)
Aug 13 23:17:13 trip kernel: sda: Write Protect is off
Aug 13 23:17:13 trip kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Aug 13 23:17:13 trip kernel: USB Mass Storage support registered.
Aug 13 23:17:14 trip /etc/hotplug/usb.agent: Module setup usb-storage
for USB pr
oduct ea0/6803/100
Aug 13 23:17:14 trip /etc/hotplug/usb/usb-storage: Load scsimon
Aug 13 23:17:14 trip /etc/hotplug/usb/usb-storage: loading ... scsimon
Aug 13 23:17:14 trip /etc/hotplug/scsi.agent: sd_mod allready loaded
Aug 13 23:17:14 trip /etc/hotplug/scsi.agent: sr_mod allready loaded


So figure out why mine is loading scsimon and you'll probably figure out
why yours isn't.  Good luck!
>
>Nasa
>
>> 
>> I don't know if any other desktop provides this as I don't normally run
>> anything other than KDE and IceWM (which doesn't have desktop icons).
>> - -- 
>> Blue skies...Todd
>> | Get a bigger hammer!   | What does IIRC mean?   |
>> | http://www.mrball.net  |   --OpenLDAP Mailing List  |
>> | http://faq.mrball.net  ||
>> Linux kernel 2.4.21-0.25mdk   7 users,  load average: 0.00, 0.01, 0.16
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.2.2 (GNU/Linux)
>> Comment: http://www.mrball.net/todd.asc
>> 
>> iD8DBQE/PaB6IBT1264ScBURApwjAJ42BIqd7q9QnqS3AJxActab45xXLACfVO62
>> 51Et7z4lrBZf1/UplUe7lXM=
>> =pPUC
>> -END PGP SIGNATURE-
>> 

- -- 
Blue skies...   Todd
| Get a bigger hammer!   |  PPPoE: the internet for people who|
| http://www.mrball.net  |  don't want the Internet.  |
| http://faq.mrball.net  |   --Aaron Lehmann  |
Linux kernel 2.4.21-0.25mdk   6 users,  load average: 1.18, 0.79, 0.35
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/PaaKIBT1264ScBURAkqlAKCv8Ucwmd8VH3s3DoAcRIx32wglZQCghC3v
95CUI+uS4kxMiZXSPiv/5eY=
=+4ZD
-END PGP SIGNATURE-



Re: [Cooker] Hotplug

2003-08-15 Thread Nathan A. Smith
On Fri, 2003-08-15 at 21:09, Todd Lyons wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Nathan A. Smith wanted us to know:
> 
> >> >I was wondering -- is there any effort to expand the usb.distmap file to
> >> >include usb devices like thumbdrives, compact flash cards, zaurus, etc
> >> If "thumbdrive" is the same thing as the usb flash drives, then some are
> >> already supported.  If not, then I'm going to start googling.
> >Yes, usb flash drives and thumbdrives are the same...  I guess all these
> >devices are under "usb-storage".  Now usb-storage only insures the
> >correct modules are loaded -- any effort to make these devices
> >automount?
> 
> In KDE that shipped with 9.1, when I plug my USB Flash drive in, an icon
> appears on the desktop within about 7 seconds.  I click on it and I see
> the contents of the Flash drive.  Capability is already there.  If it's
> not showing up on yours:
> 1) Try using KDE if you're not already
> 2) Check that you have the latest version of hotplug
> 3) Check dmesg to see if it's reporting any odd errors
Ok, I tried this with a generic 256Meg thumb drive (from compusa) -- The
following is what shows up in my /var/log/messages:

Aug 15 21:19:36 NASA kernel: hub.c: new USB device 02:00.0-4, assigned
address 4
Aug 15 21:19:36 NASA kernel: scsi1 : SCSI emulation for USB Mass Storage
devices
Aug 15 21:19:36 NASA kernel:   Vendor: 256MB Model:
HardDrive Rev: 1.88
Aug 15 21:19:36 NASA kernel:   Type:  
Direct-Access  ANSI SCSI revision: 02
Aug 15 21:19:36 NASA kernel: Attached scsi removable disk sdb at scsi1,
channel 0, id 0, lun 0
Aug 15 21:19:36 NASA kernel: SCSI device sdb: 512000 512-byte hdwr
sectors (262 MB)
Aug 15 21:19:36 NASA kernel: sdb: Write Protect is off
Aug 15 21:19:36 NASA kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Aug 15 21:19:39 NASA /etc/hotplug/usb.agent: Setup usb-storage for USB
product ea0/6828/110

Which all looks normal (and good), however, no desktop icon and I have
to mount it manually...

Nasa

> 
> I don't know if any other desktop provides this as I don't normally run
> anything other than KDE and IceWM (which doesn't have desktop icons).
> - -- 
> Blue skies... Todd
> | Get a bigger hammer!   | What does IIRC mean?   |
> | http://www.mrball.net  |   --OpenLDAP Mailing List  |
> | http://faq.mrball.net  ||
> Linux kernel 2.4.21-0.25mdk   7 users,  load average: 0.00, 0.01, 0.16
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: http://www.mrball.net/todd.asc
> 
> iD8DBQE/PaB6IBT1264ScBURApwjAJ42BIqd7q9QnqS3AJxActab45xXLACfVO62
> 51Et7z4lrBZf1/UplUe7lXM=
> =pPUC
> -END PGP SIGNATURE-
> 




Re: [Cooker] Hotplug

2003-08-15 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan A. Smith wanted us to know:

>> >I was wondering -- is there any effort to expand the usb.distmap file to
>> >include usb devices like thumbdrives, compact flash cards, zaurus, etc
>> If "thumbdrive" is the same thing as the usb flash drives, then some are
>> already supported.  If not, then I'm going to start googling.
>Yes, usb flash drives and thumbdrives are the same...  I guess all these
>devices are under "usb-storage".  Now usb-storage only insures the
>correct modules are loaded -- any effort to make these devices
>automount?

In KDE that shipped with 9.1, when I plug my USB Flash drive in, an icon
appears on the desktop within about 7 seconds.  I click on it and I see
the contents of the Flash drive.  Capability is already there.  If it's
not showing up on yours:
1) Try using KDE if you're not already
2) Check that you have the latest version of hotplug
3) Check dmesg to see if it's reporting any odd errors

I don't know if any other desktop provides this as I don't normally run
anything other than KDE and IceWM (which doesn't have desktop icons).
- -- 
Blue skies...   Todd
| Get a bigger hammer!   | What does IIRC mean?   |
| http://www.mrball.net  |   --OpenLDAP Mailing List  |
| http://faq.mrball.net  ||
Linux kernel 2.4.21-0.25mdk   7 users,  load average: 0.00, 0.01, 0.16
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/PaB6IBT1264ScBURApwjAJ42BIqd7q9QnqS3AJxActab45xXLACfVO62
51Et7z4lrBZf1/UplUe7lXM=
=pPUC
-END PGP SIGNATURE-



Re: [Cooker] Hotplug

2003-08-15 Thread Nathan A. Smith
On Fri, 2003-08-15 at 20:43, Todd Lyons wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Nathan A. Smith wanted us to know:
> 
> >I was wondering -- is there any effort to expand the usb.distmap file to
> >include usb devices like thumbdrives, compact flash cards, zaurus, etc
> 
> If "thumbdrive" is the same thing as the usb flash drives, then some are
> already supported.  If not, then I'm going to start googling.
Yes, usb flash drives and thumbdrives are the same...  I guess all these
devices are under "usb-storage".  Now usb-storage only insures the
correct modules are loaded -- any effort to make these devices
automount?

> - -- 
> Blue skies... ToddPublic key: http://www.mrball.net/todd.asc
> ...and I will strike down upon thee with great vengeance and furious
>  anger, those who attempt to poison and destroy my binaries, and you 
> will know my name is root, when I lay my vengeance upon thee.
> Linux kernel 2.4.21-0.25mdk   7 users,  load average: 0.70, 1.27, 0.88
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: http://www.mrball.net/todd.asc
> 
> iD8DBQE/PZpRIBT1264ScBURAnf4AKC+MkuEGA8GxX6SScj1JVrkPLW7/wCfd0oF
> Kf0Wb4CA+w1XhO48jCxJScY=
> =6/ei
> -END PGP SIGNATURE-
> 




Re: [Cooker] Hotplug

2003-08-15 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan A. Smith wanted us to know:

>I was wondering -- is there any effort to expand the usb.distmap file to
>include usb devices like thumbdrives, compact flash cards, zaurus, etc

If "thumbdrive" is the same thing as the usb flash drives, then some are
already supported.  If not, then I'm going to start googling.
- -- 
Blue skies...   ToddPublic key: http://www.mrball.net/todd.asc
...and I will strike down upon thee with great vengeance and furious
 anger, those who attempt to poison and destroy my binaries, and you 
will know my name is root, when I lay my vengeance upon thee.
Linux kernel 2.4.21-0.25mdk   7 users,  load average: 0.70, 1.27, 0.88
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/PZpRIBT1264ScBURAnf4AKC+MkuEGA8GxX6SScj1JVrkPLW7/wCfd0oF
Kf0Wb4CA+w1XhO48jCxJScY=
=6/ei
-END PGP SIGNATURE-



Re: [Cooker] hotplug - usbutils dependencies

2001-06-18 Thread Chmouel Boudjnah

Andrej Borsenkow <[EMAIL PROTECTED]> writes:

> Hotplug needs usbutils package (it needs usbmodules). Should it not
> require it?

no, only the usb.rc use it and we don't use it by default (aka: the
user need to explicitely do a chkconfig hotplug) since we have our own
usb initialisers.




Re: [Cooker] hotplug vs usbd

2001-05-31 Thread Frederic Lepied

DUCLOS Andre <[EMAIL PROTECTED]> writes:

> http://linux-hotplug.sourceforge.net
> 
> When in Cooker ?

I'm evaluating it...
-- 
Fred - May the source be with you