public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Mounting a usb device
@ 2009-06-29 11:48 dhk
  2009-06-29 12:36 ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: dhk @ 2009-06-29 11:48 UTC (permalink / raw
  To: gentoo-user

I have a wireless hand held scanner that is temporary connected with a
usb cable.  I would like to embed Gentoo on it, but I don't know the
mount.  How can I find the device?

> lsscsi # just shows the scsi hard drive.
> cat /proc/partitions # just shows the eide and scsi partitions.
> lsusb # This does recognize the device and give me the following
Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

What do I do at this point to communicate with the device?

Thanks,
dave



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 11:48 [gentoo-user] Mounting a usb device dhk
@ 2009-06-29 12:36 ` Stroller
  2009-06-29 12:53   ` dhk
  2009-06-29 12:54   ` Dale
  0 siblings, 2 replies; 10+ messages in thread
From: Stroller @ 2009-06-29 12:36 UTC (permalink / raw
  To: gentoo-user


On 29 Jun 2009, at 12:48, dhk wrote:

> I have a wireless hand held scanner that is temporary connected with a
> usb cable.  I would like to embed Gentoo on it, but I don't know the
> mount.  How can I find the device?
>
>> lsscsi # just shows the scsi hard drive.
>> cat /proc/partitions # just shows the eide and scsi partitions.
>> lsusb # This does recognize the device and give me the following
> Bus 005 Device 004: ID 05e0:2000 Symbol Technologies
>
> What do I do at this point to communicate with the device?

Are you sure the device should appear as a mass storage device? That  
appears to be what you're expecting, but I don't find that clear at all.

Stroller.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 12:36 ` Stroller
@ 2009-06-29 12:53   ` dhk
  2009-06-29 13:25     ` Stroller
  2009-06-30 15:34     ` Paul Hartman
  2009-06-29 12:54   ` Dale
  1 sibling, 2 replies; 10+ messages in thread
From: dhk @ 2009-06-29 12:53 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
> 
> On 29 Jun 2009, at 12:48, dhk wrote:
> 
>> I have a wireless hand held scanner that is temporary connected with a
>> usb cable.  I would like to embed Gentoo on it, but I don't know the
>> mount.  How can I find the device?
>>
>>> lsscsi # just shows the scsi hard drive.
>>> cat /proc/partitions # just shows the eide and scsi partitions.
>>> lsusb # This does recognize the device and give me the following
>> Bus 005 Device 004: ID 05e0:2000 Symbol Technologies
>>
>> What do I do at this point to communicate with the device?
> 
> Are you sure the device should appear as a mass storage device? That
> appears to be what you're expecting, but I don't find that clear at all.
> 
> Stroller.
> 
> 
> 
No, I'm not sure how the device should appear.  However, I thought it
should look like any other disk or usb stick since it currently has a
Microsoft CE on it, which I want to change to Gentoo.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 12:36 ` Stroller
  2009-06-29 12:53   ` dhk
@ 2009-06-29 12:54   ` Dale
  2009-06-29 13:04     ` dhk
  1 sibling, 1 reply; 10+ messages in thread
From: Dale @ 2009-06-29 12:54 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
>
> On 29 Jun 2009, at 12:48, dhk wrote:
>
>> I have a wireless hand held scanner that is temporary connected with a
>> usb cable.  I would like to embed Gentoo on it, but I don't know the
>> mount.  How can I find the device?
>>
>>> lsscsi # just shows the scsi hard drive.
>>> cat /proc/partitions # just shows the eide and scsi partitions.
>>> lsusb # This does recognize the device and give me the following
>> Bus 005 Device 004: ID 05e0:2000 Symbol Technologies
>>
>> What do I do at this point to communicate with the device?
>
> Are you sure the device should appear as a mass storage device? That
> appears to be what you're expecting, but I don't find that clear at all.
>
> Stroller.
>
>
>

I googled a bit and it appears to be seen as a keyboard device.  I
googled for "05e0:2000 Symbol Technologies" with no quotes tho.  I
thought maybe I was finding the wrong device.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 12:54   ` Dale
@ 2009-06-29 13:04     ` dhk
  0 siblings, 0 replies; 10+ messages in thread
From: dhk @ 2009-06-29 13:04 UTC (permalink / raw
  To: gentoo-user

Dale wrote:
> Stroller wrote:
>> On 29 Jun 2009, at 12:48, dhk wrote:
>>
>>> I have a wireless hand held scanner that is temporary connected with a
>>> usb cable.  I would like to embed Gentoo on it, but I don't know the
>>> mount.  How can I find the device?
>>>
>>>> lsscsi # just shows the scsi hard drive.
>>>> cat /proc/partitions # just shows the eide and scsi partitions.
>>>> lsusb # This does recognize the device and give me the following
>>> Bus 005 Device 004: ID 05e0:2000 Symbol Technologies
>>>
>>> What do I do at this point to communicate with the device?
>> Are you sure the device should appear as a mass storage device? That
>> appears to be what you're expecting, but I don't find that clear at all.
>>
>> Stroller.
>>
>>
>>
> 
> I googled a bit and it appears to be seen as a keyboard device.  I
> googled for "05e0:2000 Symbol Technologies" with no quotes tho.  I
> thought maybe I was finding the wrong device.
> 
> Dale
> 
> :-)  :-)
> 
> 
I'm still not sure what to do with this, but I'll see if any of these
Google links help.  Thanks.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 12:53   ` dhk
@ 2009-06-29 13:25     ` Stroller
  2009-06-30 10:21       ` dhk
  2009-06-30 15:34     ` Paul Hartman
  1 sibling, 1 reply; 10+ messages in thread
From: Stroller @ 2009-06-29 13:25 UTC (permalink / raw
  To: gentoo-user


On 29 Jun 2009, at 13:53, dhk wrote:
>>> ...
>>> What do I do at this point to communicate with the device?
>>
>> Are you sure the device should appear as a mass storage device? That
>> appears to be what you're expecting, but I don't find that clear at  
>> all.
>>
>
> No, I'm not sure how the device should appear.  However, I thought it
> should look like any other disk or usb stick since it currently has a
> Microsoft CE on it, which I want to change to Gentoo.

I don't think that's a reasonable conclusion _at all_.

If the scanner plugs into a Windows PC and appears as a disk drive  
then, sure, I'd expect to be able to treat it the same under Linux.  
But, assuming it plugs into a Windows PC at all, it's more likely that  
the manufacturer's software (which you'll need on the PC anyway, to  
handle barcode & stock-control data?) talks to it over in some  
proprietary-over-serial format.

Finally, can you even install Linux on this scanner? Chances are its  
processor is ARM - Linux will run on that architecture, but you won't  
be able to chroot in from your x86 box & install GRUB.

Chances are that this scanner is some kind of rebadged HP iPaq or  
something, onto which Linux has been / can be cludged onto, but you  
seem to be making a lot of assumptions ahead of time.

Stroller.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 13:25     ` Stroller
@ 2009-06-30 10:21       ` dhk
  2009-06-30 12:51         ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: dhk @ 2009-06-30 10:21 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
> 
> On 29 Jun 2009, at 13:53, dhk wrote:
>>>> ...
>>>> What do I do at this point to communicate with the device?
>>>
>>> Are you sure the device should appear as a mass storage device? That
>>> appears to be what you're expecting, but I don't find that clear at all.
>>>
>>
>> No, I'm not sure how the device should appear.  However, I thought it
>> should look like any other disk or usb stick since it currently has a
>> Microsoft CE on it, which I want to change to Gentoo.
> 
> I don't think that's a reasonable conclusion _at all_.
> 
> If the scanner plugs into a Windows PC and appears as a disk drive then,
> sure, I'd expect to be able to treat it the same under Linux. But,
> assuming it plugs into a Windows PC at all, it's more likely that the
> manufacturer's software (which you'll need on the PC anyway, to handle
> barcode & stock-control data?) talks to it over in some
> proprietary-over-serial format.
> 
> Finally, can you even install Linux on this scanner? Chances are its
> processor is ARM - Linux will run on that architecture, but you won't be
> able to chroot in from your x86 box & install GRUB.
> 
> Chances are that this scanner is some kind of rebadged HP iPaq or
> something, onto which Linux has been / can be cludged onto, but you seem
> to be making a lot of assumptions ahead of time.
> 
> Stroller.
> 
> 
> 
I done have a Windows box so I don't know how it looks on that.
However, I already build the arm cross compiler and have a kernel to
install on it, the only thing is I don't know how to reach it.  Now I
just want to know how to get the kernel to the device.  This may be a
bigger project than I thought.

Thanks.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-30 10:21       ` dhk
@ 2009-06-30 12:51         ` Stroller
  2009-06-30 15:33           ` Pupino
  0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2009-06-30 12:51 UTC (permalink / raw
  To: gentoo-user


On 30 Jun 2009, at 11:21, dhk wrote:
>> ...
>> Finally, can you even install Linux on this scanner? Chances are its
>> processor is ARM - Linux will run on that architecture, but you  
>> won't be
>> able to chroot in from your x86 box & install GRUB.
>>
>> Chances are that this scanner is some kind of rebadged HP iPaq or
>> something, onto which Linux has been / can be cludged onto, but you  
>> seem
>> to be making a lot of assumptions ahead of time.
>>
>
> I done have a Windows box so I don't know how it looks on that.
> However, I already build the arm cross compiler and have a kernel to
> install on it, the only thing is I don't know how to reach it.  Now I
> just want to know how to get the kernel to the device.  This may be a
> bigger project than I thought.

Having managed to cross-compile the kernel is a pretty good start. I  
couldn't do that much.

But you need to determine stuff like how the bootloader works on this  
device.

As I said, chances are that the device is not completely unique. If it  
is simply a rebadged HP iPaq or something then efforts (at the very  
least) to install Linux on it will surely be documented. First thing  
to do is learn all you can about the hardware.

Stroller.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-30 12:51         ` Stroller
@ 2009-06-30 15:33           ` Pupino
  0 siblings, 0 replies; 10+ messages in thread
From: Pupino @ 2009-06-30 15:33 UTC (permalink / raw
  To: gentoo-user

Hi,
I have no clues about cross compiling and bootloaders other than grub
(ok, maybe lilo) but if you want to determine if that device is seen
as a storage device why don't you just plug it in and have a look at
dmesg?
when I plug a usb key on my machine i see something like this:
[ 1647.577443] usb 2-1:1.0: uevent
[ 1647.577488] usb-storage 2-1:1.0: usb_probe_interface
[ 1647.577500] usb-storage 2-1:1.0: usb_probe_interface - got id
[ 1647.577618] scsi5 : SCSI emulation for USB Mass Storage devices
[ 1647.577848] usb-storage: device found at 3
[ 1647.577853] usb-storage: waiting for device to settle before scanning
[ 1647.577966] drivers/usb/core/inode.c: creating file '003'
[ 1652.579409] scsi 5:0:0:0: Direct-Access     USB      DISK 2.0
  1219 PQ: 0 ANSI: 0 CCS
[ 1652.581857] sd 5:0:0:0: [sdb] 15663104 512-byte hardware sectors:
(8.01 GB/7.46 GiB)
[ 1652.592206] sd 5:0:0:0: [sdb] Write Protect is off
[ 1652.592214] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1652.592220] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1652.595359] sd 5:0:0:0: [sdb] 15663104 512-byte hardware sectors:
(8.01 GB/7.46 GiB)
[ 1652.596203] sd 5:0:0:0: [sdb] Write Protect is off
[ 1652.596210] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1652.596215] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1652.596221]  sdb: sdb1
[ 1652.646484] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 1652.646551] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1652.661531] usb-storage: device scan complete
[ 1652.663087] usb 2-1:1.0: uevent
[ 1652.663212] usb 2-1: uevent

this tells me it's a storage device and the associated evice file is
/dev/sdb1 so i know where to find it...
HTH
Davide

2009/6/30 Stroller <stroller@stellar.eclipse.co.uk>:
>
> On 30 Jun 2009, at 11:21, dhk wrote:
>>>
>>> ...
>>> Finally, can you even install Linux on this scanner? Chances are its
>>> processor is ARM - Linux will run on that architecture, but you won't be
>>> able to chroot in from your x86 box & install GRUB.
>>>
>>> Chances are that this scanner is some kind of rebadged HP iPaq or
>>> something, onto which Linux has been / can be cludged onto, but you seem
>>> to be making a lot of assumptions ahead of time.
>>>
>>
>> I done have a Windows box so I don't know how it looks on that.
>> However, I already build the arm cross compiler and have a kernel to
>> install on it, the only thing is I don't know how to reach it.  Now I
>> just want to know how to get the kernel to the device.  This may be a
>> bigger project than I thought.
>
> Having managed to cross-compile the kernel is a pretty good start. I
> couldn't do that much.
>
> But you need to determine stuff like how the bootloader works on this
> device.
>
> As I said, chances are that the device is not completely unique. If it is
> simply a rebadged HP iPaq or something then efforts (at the very least) to
> install Linux on it will surely be documented. First thing to do is learn
> all you can about the hardware.
>
> Stroller.
>
>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Mounting a usb device
  2009-06-29 12:53   ` dhk
  2009-06-29 13:25     ` Stroller
@ 2009-06-30 15:34     ` Paul Hartman
  1 sibling, 0 replies; 10+ messages in thread
From: Paul Hartman @ 2009-06-30 15:34 UTC (permalink / raw
  To: gentoo-user

On Mon, Jun 29, 2009 at 7:53 AM, dhk<dhkuhl@optonline.net> wrote:
> Stroller wrote:
>>
>> On 29 Jun 2009, at 12:48, dhk wrote:
>>
>>> I have a wireless hand held scanner that is temporary connected with a
>>> usb cable.  I would like to embed Gentoo on it, but I don't know the
>>> mount.  How can I find the device?
>>>
>>>> lsscsi # just shows the scsi hard drive.
>>>> cat /proc/partitions # just shows the eide and scsi partitions.
>>>> lsusb # This does recognize the device and give me the following
>>> Bus 005 Device 004: ID 05e0:2000 Symbol Technologies
>>>
>>> What do I do at this point to communicate with the device?
>>
>> Are you sure the device should appear as a mass storage device? That
>> appears to be what you're expecting, but I don't find that clear at all.
>>
>> Stroller.
>>
>>
>>
> No, I'm not sure how the device should appear.  However, I thought it
> should look like any other disk or usb stick since it currently has a
> Microsoft CE on it, which I want to change to Gentoo.

I don't think that is possible...



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-30 15:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 11:48 [gentoo-user] Mounting a usb device dhk
2009-06-29 12:36 ` Stroller
2009-06-29 12:53   ` dhk
2009-06-29 13:25     ` Stroller
2009-06-30 10:21       ` dhk
2009-06-30 12:51         ` Stroller
2009-06-30 15:33           ` Pupino
2009-06-30 15:34     ` Paul Hartman
2009-06-29 12:54   ` Dale
2009-06-29 13:04     ` dhk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox