Belli Button wrote:
> Well if anybody has a similar difficulty this is what I did. Plug your thumb 
> drive into the motherboard USB, I guess the port on the front runs through a 
> USB hub on the motherboard and that this particular driver is not loaded. 
> The mouse for some reson works great in any port...
> 
> Greg
> 

> ----- Original Message ----- 
> From: "Belli Button" <be...@iafrica.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Saturday, February 06, 2010 8:34 PM
> Subject: Re: [Emc-users] Hardy won't mount my thumb drive
> 
> 
>> Hello All,
>>
>> I have am starting with EMC, so far so good.  I tried move a gcode program
>> from my windows machine to the EMC machine but Ubuntu doesn't see the 
>> thumb
>> drive and so can't even mount it manually. Is it related to this problem?
>> https://bugs.launchpad.net/ubuntu/+bug/211760
>>
>> This is a new CD image install downloaded a week ago, 8.04 with no updates
>> after the download.
>>
>> Help please..
>>
>> Greg
>>

Troubleshooting USB memory devices under Linux:

- check that usb storage module is installed
lsmod | egrep 'usb|stor'
usb_storage            52576  0       <-- possible output
if not try
modprobe usb-storage
modprobe needs to be run as root or use sudo in front of the command.
Then try lsmod again to see if the module was installed.

You should see something like this in /var/log/messages file:
Feb  7 10:47:12 krpan kernel: [ 4503.411593] Initializing USB Mass
Storage driver...
Feb  7 10:47:12 krpan kernel: [ 4503.411649] usbcore: registered new
interface driver usb-storage
Feb  7 10:47:12 krpan kernel: [ 4503.411653] USB Mass Storage support
registered.

- check what's on USB port(s)
lsusb

you should get something like
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0c45:63fa Microdia
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

One of the devices should be your memory device. Try lsusb both with and
without memory plugged in. Should see the difference.

- if the device is visible on USB bus, then try to see if there's a
recognizable partition on that device:
fdisk -l
or
fdisk -l /dev/sdb
fdisk -l /dev/sdc
etc.

if a partition is recognized then try to mount it (as root or use sudo) with

mount /dev/sdb1 /mnt/usbmem

where sdb1 is the first partition on USB memory thingie and /mnt/usbmem
is empty directory used as a mounting point.

To create empty partition on USB memory usable in windog do the following
mkfs -t vfat /dev/sdb1

Be careful with mkfs as it can ruin your day.

- if the memory was plugged in during bootup, it should be recognized
which you can verify with
dmesg | less
look for USB related stuff and storage following the line with:

sd 0:0:0:0: [sda] Attached SCSI disk

I know from personal experience that some USB memory is simply not being
recognized no matter what. That includes SD memory cards. Disconnecting
and reconnecting helped sometimes.

If you write to USB memory you either need to wait for a minute or two
before you unplugg USB memory device or use command
sync

I was under impression that this is not needed in modern Unix systems,
however, I learned that sometimes not all data written to that "drive"
actually ended there.

By the way, why not use network connection to copy files over?

Good luck,
-- 
Rafael

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to