Fuego wrote:The detach method doesn't seem to work for me. I did find that eject -s sr0 (or 1,2, etc. depending on what has been assigned to the fake CDROM "ConnMgr Storage") does switch the device, though - but then the device has had a firmware update, even though the hardware is an earlier version than what is on sale today.
>lsusb | grep D-Link
Bus 001 Device 018: ID 07d1:a800 D-Link System
>eject -s sr1
>lsusb | grep D-Link
Bus 001 Device 019: ID 07d1:3e02 D-Link System
I have a DVM-156 of a slightly different version, and don't manage to get it working under Ubuntu 12.10.
I read and searched for the last hours and this place seems to be the closest.
Here is the basic info:
$ lsusb
Bus 001 Device 004: ID 2001:7d00 D-Link Corp.
$ dmesg
[ 2159.459080] usb 1-2: new high-speed USB device number 3 using ehci_hcd
[ 2159.591866] usb 1-2: New USB device found, idVendor=2001, idProduct=a80b
[ 2159.591877] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2159.591884] usb 1-2: Product: D-Link DWM-156
[ 2159.591889] usb 1-2: Manufacturer: D-Link,Inc
[ 2159.591894] usb 1-2: SerialNumber: 532274409833040
[ 2159.593378] scsi7 : usb-storage 1-2:1.0
[ 2160.590971] scsi 7:0:0:0: CD-ROM HSPA USB SCSI CD-ROM 6229 PQ: 0 ANSI: 0 CCS
[ 2160.595305] sr1: scsi3-mmc drive: 0x/0x caddy
[ 2160.595595] sr 7:0:0:0: Attached scsi CD-ROM sr1
[ 2160.598099] sr 7:0:0:0: Attached scsi generic sg7 type 5
[ 2160.966761] usb 1-2: USB disconnect, device number 3
[ 2161.716751] usb 1-2: new high-speed USB device number 4 using ehci_hcd
[ 2161.850067] usb 1-2: New USB device found, idVendor=2001, idProduct=7d00
[ 2161.850079] usb 1-2: New USB device strings: Mfr=5, Product=6, SerialNumber=0
[ 2161.850086] usb 1-2: Product: D-Link DWM-156
[ 2161.850091] usb 1-2: Manufacturer: D-Link,Inc
[ 2161.851828] scsi8 : usb-storage 1-2:1.2
[ 2162.848410] scsi 8:0:0:0: Direct-Access HSPA USB SCSI CD-ROM 6229 PQ: 0 ANSI: 0 CCS
[ 2162.849847] sd 8:0:0:0: Attached scsi generic sg7 type 0
[ 2162.857127] sd 8:0:0:0: [sdg] Attached SCSI removable disk
[ 2164.162903] show_signal_msg: 45 callbacks suppressed
[ 2164.162915] usb_modeswitch_[6067]: segfault at 0 ip 00007fed729a4101 sp 00007fffff6fc738 error 4 in libc-2.15.so[7fed7291b000+1b5000]
What I read above does not seem to work (or I don't understand it):
$ ls -l /dev/sr*
brw-rw----+ 1 root cdrom 11, 0 Feb 17 03:25 /dev/sr0
$ eject -s sr0
eject: unable to eject, last error: Success
$ eject -s sr1
eject: unable to find or open device for: `sr1'
$ eject -s sg7
eject: unable to open `/dev/sg7'
$ lsusb -v
Code: Select all
Bus 001 Device 004: ID 2001:7d00 D-Link Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2001 D-Link Corp.
idProduct 0x7d00
bcdDevice 2.00
iManufacturer 5
iProduct 6
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 104
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 1
iInterface 1
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 04 24 02 0f
** UNRECOGNIZED: 05 24 06 00 01
** UNRECOGNIZED: 05 24 01 03 01
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
What can I do to make it work, respectively extract the details to be added to this software?
Uwe