[OpenIndiana-discuss] Openindiana in VMWare and usb devices
Gabriele Bulfon
gbulfon at sonicle.com
Tue Jun 21 08:54:07 UTC 2011
Here is the output of truss:
sonicle at openindiana:/var/adm# truss -t stat,open tip /dev/cua/0
stat64("/usr/bin/tip", 0x08047984) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat64("/lib/libc.so.1", 0x08047134) = 0
open("/lib/libc.so.1", O_RDONLY) = 3
stat64("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046C10) = 0
open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
stat64("/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046AF0) Err#2 ENOENT
stat64("/usr/lib/locale/en_US.UTF-8/methods_unicode.so.3", 0x08046AF0) = 0
open("/usr/lib/locale/en_US.UTF-8/methods_unicode.so.3", O_RDONLY) = 3
open("/etc/remote", O_RDONLY) = 3
stat("/dev/cua/0", 0x08047B90) = 0
open("/var/spool/locks/LTMP.1099", O_WRONLY|O_CREAT|O_TRUNC, 0444) = 3
open("/dev/cua/0", O_RDWR) Err#6 ENXIO
tip: /dev/cua/0: No such device or address
stat("/dev/cua/0", 0x08047B90) = 0
all ports busy
The device is present, and linked:
sonicle at openindiana:/dev/cua# ls -l
total 3
lrwxrwxrwx 1 root root 83 Jun 20 19:02 0 -../../devices/pci at 0,0/pci15ad,790 at 11/pci15ad,1976 at 2/communications at 1/modem at 0,2:0,cu
lrwxrwxrwx 1 root root 42 Jun 20 18:55 a -../../devices/pci at 0,0/isa at 7/asy at 1,3f8:a,cu
lrwxrwxrwx 1 root root 42 Jun 20 18:55 b -../../devices/pci at 0,0/isa at 7/asy at 1,2f8:b,cu
Here is the device:
crw-rw-rw- 1 root sys 99, 131072 Jun 21 18:47 /devices/pci at 0,0/pci15ad,790 at 11/pci15ad,1976 at 2/communications at 1/modem at 0,2:0,cu
Thanx so much :)
----------------------------------------------------------------------------------
Da: Michael Stapleton
A: Discussion list for OpenIndiana
Data: 20 giugno 2011 15.59.35 CEST
Oggetto: Re: [OpenIndiana-discuss] Openindiana in VMWare and usb devices
Maybe the output of:
truss -t stat,open tip /dev/cua/0
will give us something to work with.
Mike
On Mon, 2011-06-20 at 12:54 +0200, Gabriele Bulfon wrote:
Hi, I had no trouble with usb devices on native openindiana installations.
Now I installed openindiana inside VMWare4.1 that supports USB devices, and infact
they work correctly with Linux guests.
On a virtualized Openindiana, I can attach usb keys, and see them correctly.
I then attached an USB CDC modem, that usually works instantly on native setup, just
by running "tip /dev/cua/0" I can see it works.
On VMWare4.1, the modem is attached, I can see the device at /dev/cua/0 exactly linked
as it was in the native setup.
Running tip, I receive errors though.
Here is what appears in /var/adm/messages when the modem is attached:
Jun 20 20:45:00 openindiana usba: [ID 912658 kern.info] USB 1.10 interface (usbif6e0,f11a.config2.0) operating at full speed (USB 1.x) on USB 1.10 root hub: modem at 0,2, usbsacm0 at bus address 2
Jun 20 20:45:00 openindiana usba: [ID 349649 kern.info] MultiTech Systems T9234ZBA-USB-CDC
Jun 20 20:45:00 openindiana genunix: [ID 936769 kern.info] usbsacm0 is /pci at 0,0/pci15ad,790 at 11/pci15ad,1976 at 2/communications at 1/modem at 0,2
The pci device then is linked to /dev/cua/0 automatically.
Here is what tip says:
tip: /dev/cua/0: No such device or address
all ports busy
Any idea?
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list