LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not locate /dev/ttyUSB0, tried to install driver but not success with that. (Using Contiki VMware w/ OS Ubuntu) (USB device: TmoteSky) (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-locate-dev-ttyusb0-tried-to-install-driver-but-not-success-with-that-using-contiki-vmware-w-os-ubuntu-usb-device-tmotesky-4175581681/)

sjoneill11 06-07-2016 12:52 PM

Can not locate /dev/ttyUSB0, tried to install driver but not success with that. (Using Contiki VMware w/ OS Ubuntu) (USB device: TmoteSky)
 
I have spent the last 3 hours unsuccessfully installing a driver for the TmoteSky so I can use it as a wireless network sniffer.

when I run lsusb:
Code:

user@instant-contiki:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

when I run lsmod
Code:

Module                  Size  Used by
ftdi_sio              44082  0
usbserial              38902  1 ftdi_sio
snd_ens1371            24547  2
snd_ac97_codec        105709  1 snd_ens1371
ac97_bus              12642  1 snd_ac97_codec
gameport              15189  1 snd_ens1371
snd_pcm                85501  2 snd_ac97_codec,snd_ens1371
coretemp              13195  0
crc32_pclmul          12967  0
snd_page_alloc        14230  1 snd_pcm
snd_seq_midi          13132  0
aesni_intel            18156  0
snd_seq_midi_event    14475  1 snd_seq_midi
aes_i586              16995  1 aesni_intel
xts                    12749  1 aesni_intel
vmw_balloon            13191  0
lrw                    13057  1 aesni_intel
snd_rawmidi            25135  2 snd_ens1371,snd_seq_midi
gf128mul              14503  2 lrw,xts
ablk_helper            13357  1 aesni_intel
cryptd                15578  1 ablk_helper
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
rfcomm                53664  8
bnep                  18895  2
joydev                17101  0
snd_seq_device        14137  3 snd_seq,snd_rawmidi,snd_seq_midi
serio_raw              13230  0
vmwgfx                149294  2
snd_timer              28584  2 snd_pcm,snd_seq
binfmt_misc            13140  1
ttm                    85079  1 vmwgfx
snd                    60939  12 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device,snd_seq_midi
btusb                  27580  0
bluetooth            342208  22 bnep,btusb,rfcomm
soundcore              12600  1 snd
drm                  244037  3 ttm,vmwgfx
vmw_vmci              60731  0
i2c_piix4              17723  0
shpchp                32128  0
mac_hid                13037  0
parport_pc            31981  1
ppdev                  17391  0
lp                    13299  0
parport                40836  3 lp,ppdev,parport_pc
hid_generic            12492  0
usbhid                47070  0
hid                    87604  2 hid_generic,usbhid
psmouse                95439  0
pcnet32                36539  0
vmw_pvscsi            22359  0
mii                    13654  1 pcnet32
mptspi                22158  2
mptscsih              38998  1 mptspi
mptbase                95810  2 mptspi,mptscsih
vmxnet3                48743  0
pata_acpi              12886  0
floppy                55416  0

However, I believe that ftdi_sio & usb serial are only there because I ran the command 'sudo modprobe ftdi_sio' in order for the usb port to be read, without any success. Please help!

jefro 06-08-2016 04:46 PM

You'll need vmware tools added to client to allow you to run usb directly from client usually.

suicidaleggroll 06-08-2016 04:56 PM

And I assume you've already passed the USB device to the VM using VMWare's menu (Virtual Machine -> Removable Devices)?


All times are GMT -5. The time now is 04:30 AM.