How do i detect a USB device from the Linux Box

How do i detect a USB device from the Linux Box

am 19.08.2005 08:20:47 von mukundjb

Dear all,

I have a USB device connected to Linux BOX running 2.6.10 kernel (F3).

I am able to mount read/write to the device with NO problem.



I find the following messages at attach time:-



usb 1-3: new high speed device using ehci_hcd and address 5

scsi4: SCSI emulation for USB Mass storage devices

usb-storage: device fount at 5



This are the messages are generated when I have plugged in my USB to the
system.

The address value & the device found value keeps on increasing for every
plug-in.



I find the following messages at detach time:-



usb 1-3: USB disconnected, address 5



The address value & the device found value keeps on increasing for every
plugin



What is it doing?

Do I need to run something like " detach the device safely" before
detaching the USB-device?



Thanks & Regards,

Mukund Jampala


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: How do i detect a USB device from the Linux Box

am 19.08.2005 13:06:54 von karthi n

no need ... that's server identification number

regards
osk

On 8/19/05, Mukund JB`. wrote:
>
>
> Dear all,
>
> I have a USB device connected to Linux BOX running 2.6.10 kernel (F3).
>
> I am able to mount read/write to the device with NO problem.
>
>
>
> I find the following messages at attach time:-
>
>
>
> usb 1-3: new high speed device using ehci_hcd and address 5
>
> scsi4: SCSI emulation for USB Mass storage devices
>
> usb-storage: device fount at 5
>
>
>
> This are the messages are generated when I have plugged in my USB to the
> system.
>
> The address value & the device found value keeps on increasing for every
> plug-in.
>
>
>
> I find the following messages at detach time:-
>
>
>
> usb 1-3: USB disconnected, address 5
>
>
>
> The address value & the device found value keeps on increasing for every
> plugin
>
>
>
> What is it doing?
>
> Do I need to run something like " detach the device safely" before
> detaching the USB-device?
>
>
>
> Thanks & Regards,
>
> Mukund Jampala
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>


--
winners don't do different things
they do things differently
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: How do i detect a USB device from the Linux Box

am 20.08.2005 21:14:21 von cr

Assuming it's some sort of storage device you're using -

I'd say, *before* unplugging the USB device, you need to un-mount it with
the 'umount' command
(and wait until the linux prompt comes up on the command line again, to make
sure it's finished writing everything to the USB device, *before* you unplug
it)

cr


On Fri, 19 Aug 2005 18:20, Mukund JB`. wrote:
> Dear all,
>
> I have a USB device connected to Linux BOX running 2.6.10 kernel (F3).
>
> I am able to mount read/write to the device with NO problem.
>
>
>
> I find the following messages at attach time:-
>
>
>
> usb 1-3: new high speed device using ehci_hcd and address 5
>
> scsi4: SCSI emulation for USB Mass storage devices
>
> usb-storage: device fount at 5
>
>
>
> This are the messages are generated when I have plugged in my USB to the
> system.
>
> The address value & the device found value keeps on increasing for every
> plug-in.
>
>
>
> I find the following messages at detach time:-
>
>
>
> usb 1-3: USB disconnected, address 5
>
>
>
> The address value & the device found value keeps on increasing for every
> plugin
>
>
>
> What is it doing?
>
> Do I need to run something like " detach the device safely" before
> detaching the USB-device?
>
>
>
> Thanks & Regards,
>
> Mukund Jampala
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs