Question about usb storage device and device driver
I am new to device drivers and I would like to understand the following points:
-When say a usb storage device is inserted into the usb port, I presume the kernel uses the drivers/usb/storage driver automatically. Is the following information used at all: Bus 001 Device 006: ID 13fe:1a20 Kingston Technology Company Inc.(as provided by a lsusb)?
-It so happens I own a Kingston usb key that has the behaviour of showing two icons on the desktop upon insertion into the usb port. What determines why such usb device will exhibit this behaviour whereas another will not?
-What .c file in drivers/usb/storage is relevant to the above device (Bus 001 Device 006: ID 13fe:1a20 Kingston Technology Company Inc.) ?
Any clue welcome,
The usb key probably has two disk partitions.
Plug the device and look at the output of 'dmesg | tail'. Look for the line like:
Actually i have just repartitioned the usb drive and an fdisk shows:
|All times are GMT -5. The time now is 07:30 PM.|