[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hotplug USB



Hi all,

I am trying to get hotplugging of usb going, so that when I connect a 
usb-storage device, it is automatically mounted, and an icon dropped on my 
desktop -- when the device is removed, it gets cleared up.

So far I am just trying to get it to behave using the command line, but I have 
noticed something odd in the logs.

Jan 18 09:53:44 debian-laptop kernel: hub 2-0:1.0: new USB device on port 1, 
assigned address 2
Jan 18 09:53:44 debian-laptop kernel: SCSI subsystem initialized
Jan 18 09:53:44 debian-laptop kernel: Initializing USB Mass Storage driver...
Jan 18 09:53:45 debian-laptop kernel: scsi0 : SCSI emulation for USB Mass 
Storage devices
Jan 18 09:53:47 debian-laptop kernel:   Vendor: HITACHI_  Model: DK23CA-30         
Rev:  0 0
Jan 18 09:53:47 debian-laptop kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Jan 18 09:53:47 debian-laptop kernel: drivers/usb/core/usb.c: registered new 
driver usb-storage
Jan 18 09:53:47 debian-laptop kernel: USB Mass Storage support registered.
Jan 18 09:53:47 debian-laptop scsi.agent[987]: bogus sysfs DEVPATH=/devices/
pci0000:00/0000:00:0b.0/usb2/2-1/2-1:1.0/host0/0:0:0:0

Why is scsi.agent from hotplug running? Surely it should be usb.agent running? 
I have a script setup for usb, but not scsi ...

If I fdisk -l /dev/sda I get the correct partition table list..

So, is that scsi.agent ok to be ignored?

Andy



Reply to: