How do i detect a USB device from the Linux Box

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 [at] 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
mukundjb [ Fr, 19 August 2005 08:20 ] [ ID #928815 ]

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

no need ... that's server identification number

regards
osk

On 8/19/05, Mukund JB`. <mukundjb [at] esntechnologies.co.in> 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 [at] 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 [at] 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
karthi n [ Fr, 19 August 2005 13:06 ] [ ID #928816 ]

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

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 [at] 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 [at] 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
cr [ Sa, 20 August 2005 21:14 ] [ ID #930424 ]
Linux » gmane.linux.newbie » How do i detect a USB device from the Linux Box

Vorheriges Thema: programs/daemons/PIDs using the network
Nächstes Thema: dmesg output: impending hardware failure?