* How do i detect a USB device from the Linux Box
@ 2005-08-19 6:20 Mukund JB`.
2005-08-19 11:06 ` osk
2005-08-20 19:14 ` cr
0 siblings, 2 replies; 8+ messages in thread
From: Mukund JB`. @ 2005-08-19 6:20 UTC (permalink / raw)
To: linux-newbie
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do i detect a USB device from the Linux Box
2005-08-19 6:20 How do i detect a USB device from the Linux Box Mukund JB`.
@ 2005-08-19 11:06 ` osk
2005-08-20 19:14 ` cr
1 sibling, 0 replies; 8+ messages in thread
From: osk @ 2005-08-19 11:06 UTC (permalink / raw)
To: Mukund JB`.; +Cc: linux-newbie
no need ... that's server identification number
regards
osk
On 8/19/05, Mukund JB`. <mukundjb@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@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do i detect a USB device from the Linux Box
2005-08-19 6:20 How do i detect a USB device from the Linux Box Mukund JB`.
2005-08-19 11:06 ` osk
@ 2005-08-20 19:14 ` cr
1 sibling, 0 replies; 8+ messages in thread
From: cr @ 2005-08-20 19:14 UTC (permalink / raw)
To: linux-newbie
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: How do i detect a USB device from the Linux Box
@ 2005-08-19 11:10 Mukund JB`.
2005-08-19 11:29 ` osk
0 siblings, 1 reply; 8+ messages in thread
From: Mukund JB`. @ 2005-08-19 11:10 UTC (permalink / raw)
To: osk; +Cc: linux-newbie
I understood it. Thanks
However I have doubt regarding how Linux can work with any USB device
attached to it.
How does a device run without a device driver specific to the controller
on the attached USB?
Is it like it has all driver included for each & every device?
That cannot be possible. That will result in so BIG nasty kernel.
Thanks & regards,
Mukund Jampala
>-----Original Message-----
>From: osk [mailto:linuxkarthi@gmail.com]
>Sent: Friday, August 19, 2005 4:37 PM
>To: Mukund JB`.
>Cc: linux-newbie@vger.kernel.org
>Subject: 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@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@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do i detect a USB device from the Linux Box
2005-08-19 11:10 Mukund JB`.
@ 2005-08-19 11:29 ` osk
2005-08-19 11:47 ` Arturas Moskvinas
0 siblings, 1 reply; 8+ messages in thread
From: osk @ 2005-08-19 11:29 UTC (permalink / raw)
To: Mukund JB`.; +Cc: linux-newbie
the drivers are build with kernel as modules, those drivers will
dnamically load into the memory when it's needed.
regards
osk
On 8/19/05, Mukund JB`. <mukundjb@esntechnologies.co.in> wrote:
>
> I understood it. Thanks
>
> However I have doubt regarding how Linux can work with any USB device
> attached to it.
> How does a device run without a device driver specific to the controller
> on the attached USB?
>
> Is it like it has all driver included for each & every device?
> That cannot be possible. That will result in so BIG nasty kernel.
>
> Thanks & regards,
> Mukund Jampala
>
>
> >-----Original Message-----
> >From: osk [mailto:linuxkarthi@gmail.com]
> >Sent: Friday, August 19, 2005 4:37 PM
> >To: Mukund JB`.
> >Cc: linux-newbie@vger.kernel.org
> >Subject: 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@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@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
>
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do i detect a USB device from the Linux Box
2005-08-19 11:29 ` osk
@ 2005-08-19 11:47 ` Arturas Moskvinas
0 siblings, 0 replies; 8+ messages in thread
From: Arturas Moskvinas @ 2005-08-19 11:47 UTC (permalink / raw)
To: osk; +Cc: Mukund JB`., linux-newbie
> the drivers are build with kernel as modules, those drivers will
> dnamically load into the memory when it's needed.
>
> regards
> osk
I also think that lot's of device are very generic, I mean there is
tons of USB flash drives, and for most of them there is one driver
that "emulates" scsi interface (i think i'm wrong by saying
emulating...). The same goes to most of printers and so on, of course
there are specific drivers, but not much... Look in linux sources,
directory "/drivers/usb/" and you'll see that it is not that big...
Arturas M.
-
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: How do i detect a USB device from the Linux Box
@ 2005-08-19 11:48 Mukund JB`.
2005-08-19 12:08 ` Arturas Moskvinas
0 siblings, 1 reply; 8+ messages in thread
From: Mukund JB`. @ 2005-08-19 11:48 UTC (permalink / raw)
To: Arturas Moskvinas, osk; +Cc: linux-newbie
Hi Arthurus,
>I also think that lot's of device are very generic, I mean there is
>tons of USB flash drives, and for most of them there is one driver
>that "emulates" scsi interface (i think i'm wrong by saying
>emulating...). The same goes to most of printers and so on, of course
>there are specific drivers, but not much... Look in linux sources,
>directory "/drivers/usb/" and you'll see that it is not that big...
What u r saying looks absolutely correct?
I get some messages when ever I plug-in a USB device saying
SCSIxx: SCSI emulation for USB Mass Storage device.
Where can see this code that integrates any USB device with the SCSI
Emulation?
I am just exited to know how it works.
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-08-20 19:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 6:20 How do i detect a USB device from the Linux Box Mukund JB`.
2005-08-19 11:06 ` osk
2005-08-20 19:14 ` cr
-- strict thread matches above, loose matches on Subject: below --
2005-08-19 11:10 Mukund JB`.
2005-08-19 11:29 ` osk
2005-08-19 11:47 ` Arturas Moskvinas
2005-08-19 11:48 Mukund JB`.
2005-08-19 12:08 ` Arturas Moskvinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox