More infos: I compared the /var/adm/messages of a native OI and a virtual OI, 
these are the two logs:
NATIVE:
Jun 15 15:07:36 nativeoi usba: [ID 912658 kern.info] USB 1.10 device 
(usb6e0,f11a) operating at full speed (USB 1.x) on USB 1.10 root hub: 
communications@1, usb_mid0 at bus address 2
Jun 15 15:07:36 nativeoi usba: [ID 349649 kern.info]    MultiTech Systems 
T9234ZBA-USB-CDC
Jun 15 15:07:36 nativeoi genunix: [ID 936769 kern.info] usb_mid0 is 
/pci@0,0/pci15d9,5480@1d/communications@1
Jun 15 15:07:36 nativeoi genunix: [ID 408114 kern.info] 
/pci@0,0/pci15d9,5480@1d/communications@1 (usb_mid0) online
Jun 15 15:07:36 nativeoi usba: [ID 349649 kern.info] usba:      no driver found 
for interface 1 (nodename: 'data') of MultiTech Systems T9234ZBA-USB-CDC
Jun 15 15:07:36 nativeoi 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@0,2, usbsacm0 at bus address 2
Jun 15 15:07:36 nativeoi usba: [ID 349649 kern.info]    MultiTech Systems 
T9234ZBA-USB-CDC
Jun 15 15:07:36 nativeoi genunix: [ID 936769 kern.info] usbsacm0 is 
/pci@0,0/pci15d9,5480@1d/communications@1/modem@0,2
Jun 15 15:07:36 nativeoi genunix: [ID 408114 kern.info] 
/pci@0,0/pci15d9,5480@1d/communications@1/modem@0,2 (usbsacm0) online
VMWARE:
Jun 22 00:53:52 vmwareoi usba: [ID 912658 kern.info] USB 1.10 device (usbe0f,2) 
operating at full speed (USB 1.x) on USB 1.10 root hub: hub@2, hubd0 at bus 
address 3
Jun 22 00:53:52 vmwareoi usba: [ID 349649 kern.info]         VMware Virtual USB 
Hub
Jun 22 00:53:52 vmwareoi genunix: [ID 936769 kern.info] hubd0 is 
/pci@0,0/pci15ad,790@11/pci15ad,1976@2/hub@2
Jun 22 00:53:52 vmwareoi genunix: [ID 408114 kern.info] 
/pci@0,0/pci15ad,790@11/pci15ad,1976@2/hub@2 (hubd0) online
Jun 22 00:53:52 vmwareoi usba: [ID 349649 kern.info] usba:   no driver found 
for interface 1 (nodename: 'data') of MultiTech Systems T9234ZBA-USB-CDC
Jun 22 00:53:52 vmwareoi 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@0,2, usbsacm0 at bus address 2
Jun 22 00:53:52 vmwareoi usba: [ID 349649 kern.info]         MultiTech Systems 
T9234ZBA-USB-CDC
Jun 22 00:53:52 vmwareoi genunix: [ID 936769 kern.info] usbsacm0 is 
/pci@0,0/pci15ad,790@11/pci15ad,1976@2/communications@1/modem@0,2
Jun 22 00:53:52 vmwareoi genunix: [ID 408114 kern.info] 
/pci@0,0/pci15ad,790@11/pci15ad,1976@2/communications@1/modem@0,2 (usbsacm0) 
online
----------------------------------------------------------------------------------
Da: Gabriele Bulfon
A: Gary Mills
Cc: Discussion list for OpenIndiana
Data: 21 giugno 2011 15.29.33 CEST
Oggetto: Re: [OpenIndiana-discuss] Openindiana in VMWare and usb devices
Thanks, but this doesn't happen on native machine, just only inside VMWare.
Actually, yes, tip is suid uucp, but the device is rw to anyone by default:
crw-rw-rw-   1 root     sys       99, 131072 Jun 21 23:25 modem@0,2:0,cu
and then linked to /dev/rmt/0
----------------------------------------------------------------------------------
Da: Gary Mills
A: Gabriele Bulfon
Cc: Discussion list for OpenIndiana
Data: 21 giugno 2011 14.29.02 CEST
Oggetto: Re: [OpenIndiana-discuss] Openindiana in VMWare and usb devices
On Tue, Jun 21, 2011 at 10:54:07AM +0200, Gabriele Bulfon wrote:
Here is the output of truss:
[...]
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:
Does it look like this?
$ ll -L /dev/cua
total 0
crw-------   1 uucp     uucp     106, 131072 Jun 21 07:24 a
$ ll /usr/bin/tip
-r-s--x--x   1 uucp     bin        70980 Nov  5  2010 /usr/bin/tip
This is on Solaris 11 Express, but it shouldn't have changed.  `tip'
is supposed to be setuid uucp.  The device is supposed to be owned
by uucp.
--
-Gary Mills-        -Unix Group-        -Computer and Network Services-
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to