<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Alexander Morozov,<br>
<br>
From the output of the command "ps -ef | grep wine", we can observe
that the native Windows USB driver ICDUSB2.sys for the Sony IC Recorder
gets loaded with winedevice.exe.<br>
<br>
enming   18814 18781  0 16:15 ?        00:00:00
C:\windows\system32\winedevice.exe ICDUSB2<br>
<br>
However, Digital Voice Editor 3 (under Wine) simply would not detect
the Sony IC Recorder. The dialog box says:<br>
<br>
"Could not communicate with IC Recorder.<br>
Make sure that the cable is connected properly.<br>
<br>
Remove the cable from the IC Recorder and then connect it again.<br>
<br>
If another user is operating the Digital Voice Editor, quit the
software."<br>
<br>
<pre>-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Citizenship: Singapore Citizen/Singaporean
Facebook account: Teo En Ming (Zhang Enming)
Facebook link: <a class="moz-txt-link-freetext" href="http://www.facebook.com/profile.php?id=100000750083982">http://www.facebook.com/profile.php?id=100000750083982</a>
Facebook photos: <a class="moz-txt-link-freetext" href="http://www.facebook.com/profile.php?id=100000750083982#!/profile.php?id=100000750083982&amp;v=photos">http://www.facebook.com/profile.php?id=100000750083982#!/profile.php?id=100000750083982&amp;v=photos</a>
Facebook videos: <a class="moz-txt-link-freetext" href="http://www.facebook.com/profile.php?id=100000750083982&amp;v=app_2392950137">http://www.facebook.com/profile.php?id=100000750083982&amp;v=app_2392950137</a>
Mobile Phone (Starhub pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders (Updated 28 August 2010):-
<a class="moz-txt-link-freetext" href="http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html">http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html">http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html</a>
<a class="moz-txt-link-freetext" href="http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml">http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml</a>
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore: <a class="moz-txt-link-freetext" href="http://img543.imageshack.us/img543/5052/mrteoenmingzhangenmingo.jpg">http://img543.imageshack.us/img543/5052/mrteoenmingzhangenmingo.jpg</a></pre>
<br>
<br>
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
  <tbody>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
      <td>Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01)
to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64
Linux</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
      <td>Fri, 17 Sep 2010 16:34:29 +0800</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
      <td>"Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore"
<a class="moz-txt-link-rfc2396E" href="mailto:space.time.universe@gmail.com">&lt;space.time.universe@gmail.com&gt;</a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Reply-To: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:wine-users@winehq.org">wine-users@winehq.org</a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">CC: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:space.time.universe@gmail.com">&lt;space.time.universe@gmail.com&gt;</a>, <a class="moz-txt-link-abbreviated" href="mailto:teoenming@hotmail.com">teoenming@hotmail.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:teoenming@hotmail.com">&lt;teoenming@hotmail.com&gt;</a>, <a class="moz-txt-link-abbreviated" href="mailto:zhang_enming@lavabit.com">zhang_enming@lavabit.com</a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<pre>Dear All,

With reference to the article entitled "USB device support in wine" by 
Alexander Morozov at <a class="moz-txt-link-freetext" href="http://wiki.winehq.org/USB">http://wiki.winehq.org/USB</a>, here is the list of 
steps I have taken to download, configure, compile and install Wine.

git clone git://source.winehq.org/git/wine.git ~/wine-git

cd ~/wine-git

Check out the development release of Wine.

git checkout wine-1.3.2

wget 
<a class="moz-txt-link-freetext" href="ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt">ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt</a>

wget 
<a class="moz-txt-link-freetext" href="ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0002-Re-generate-some-files.txt">ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.2/0002-Re-generate-some-files.txt</a>

git am 0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt 
0002-Re-generate-some-files.txt

tools/make_makefiles

Install dependencies before building and installing Wine. Please refer 
to the article entitled "WineOn64bit" at 
<a class="moz-txt-link-freetext" href="http://wiki.winehq.org/WineOn64bit#head-9cca3efe8b57810a966d04db51d8000e601d7e26">http://wiki.winehq.org/WineOn64bit#head-9cca3efe8b57810a966d04db51d8000e601d7e26</a>

Switch to superuser.

yum install alsa-lib-devel.i586 alsa-lib-devel audiofile-devel.i586 
audiofile-devel cups-devel.i586 cups-devel dbus-devel.i586 dbus-devel 
esound-devel.i586 esound-devel fontconfig-devel.i586 fontconfig-devel 
freetype-devel.i586 freetype-devel giflib-devel.i586 giflib-devel 
hal-devel.i586 hal-devel lcms-devel.i586 lcms-devel libICE-devel.i586 
libICE-devel libjpeg-devel.i586 libjpeg-devel libpng-devel.i586 
libpng-devel libSM-devel.i586 libSM-devel libusb-devel.i586 libusb-devel 
libX11-devel.i586 libX11-devel libXau-devel.i586 libXau-devel 
libXcomposite-devel.i586 libXcomposite-devel libXcursor-devel.i586 
libXcursor-devel libXext-devel.i586 libXext-devel libXi-devel.i586 
libXi-devel libXinerama-devel.i586 libXinerama-devel libxml2-devel.i586 
libxml2-devel libXrandr-devel.i586 libXrandr-devel libXrender-devel.i586 
libXrender-devel libxslt-devel.i586 libxslt-devel libXt-devel.i586 
libXt-devel libXv-devel.i586 libXv-devel libXxf86vm-devel.i586 
libXxf86vm-devel mesa-libGL-devel.i586 mesa-libGL-devel 
mesa-libGLU-devel.i586 mesa-libGLU-devel ncurses-devel.i586 
ncurses-devel openldap-devel.i586 openldap-devel openssl-devel.i586 
openssl-devel zlib-devel.i586 pkgconfig sane-backends-devel.i586 
sane-backends-devel xorg-x11-proto-devel glibc-devel.i586 prelink 
fontforge flex bison

Log out of superuser.

Install libusb 1.0 development headers.

Binary packages are located at 
<a class="moz-txt-link-freetext" href="http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/">http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/</a>

wget 
<a class="moz-txt-link-freetext" href="http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-1.0.6-1.fc11.i586.rpm">http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-1.0.6-1.fc11.i586.rpm</a>

wget 
<a class="moz-txt-link-freetext" href="http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-devel-1.0.6-1.fc11.i586.rpm">http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-devel-1.0.6-1.fc11.i586.rpm</a>

wget 
<a class="moz-txt-link-freetext" href="http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-static-1.0.6-1.fc11.i586.rpm">http://ringtail.its.monash.edu.au/pub/fedora/linux/updates/11/i386/libusb1-static-1.0.6-1.fc11.i586.rpm</a>

Switch to superuser.

rpm -ivh libusb1-1.0.6-1.fc11.i586.rpm

rpm -ivh libusb1-devel-1.0.6-1.fc11.i586.rpm

rpm -ivh libusb1-static-1.0.6-1.fc11.i586.rpm

cd /usr/include

ln -s /usr/include/libusb-1.0/libusb.h

Log out of superuser.

cd ~/wine-git

./configure

Check config.log to ensure that libusb 1.0 is detected.

grep libusb config.log

make depend

make

Switch to superuser.

make install

Log out of superuser.

Install Sony Digital Voice Editor 3.3.01 in Wine.

cd ~/downloads

wine DVESetup_EN.exe

Export the following three files (01.reg, 02.reg, and 03.reg) from the 
registry in native Windows.

01.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\5&amp;2c3081c&amp;0&amp;2] 

"DeviceDesc"="Sony IC Recorder (P)"
"LocationInformation"="Sony IC Recorder (P)"
"Capabilities"=dword:00000084
"UINumber"=dword:00000000
"HardwareID"=hex(7):55,00,53,00,42,00,5c,00,56,00,69,00,64,00,5f,00,30,00,35,\ 

  
00,34,00,63,00,26,00,50,00,69,00,64,00,5f,00,30,00,32,00,37,00,31,00,26,00,\ 

  
52,00,65,00,76,00,5f,00,30,00,31,00,30,00,30,00,00,00,55,00,53,00,42,00,5c,\ 

  
00,56,00,69,00,64,00,5f,00,30,00,35,00,34,00,63,00,26,00,50,00,69,00,64,00,\ 

  5f,00,30,00,32,00,37,00,31,00,00,00,00,00
"CompatibleIDs"=hex(7):55,00,53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,\ 

  
5f,00,66,00,66,00,26,00,53,00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,\ 

  
00,30,00,30,00,26,00,50,00,72,00,6f,00,74,00,5f,00,30,00,30,00,00,00,55,00,\ 

  
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,26,00,53,\ 

  
00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,00,30,00,30,00,00,00,55,00,\ 

  
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,00,00,00,\ 

  00
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Class"="USB"
"Driver"="{36FC9E60-C465-11CF-8056-444553540000}\\0003"
"Mfg"="Sony Corporation"
"Service"="ICDUSB2"
"ConfigFlags"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\5&amp;2c3081c&amp;0&amp;2\Device 
Parameters]
"ExtPropDescSemaphore"=dword:00000001
"SymbolicName"="\\??\\USB#Vid_054c&amp;Pid_0271#5&amp;2c3081c&amp;0&amp;2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}" 


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\5&amp;2c3081c&amp;0&amp;2\LogConf] 


02.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\6&amp;3a9497ab&amp;0&amp;8] 

"DeviceDesc"="Sony IC Recorder (P)"
"LocationInformation"="Sony IC Recorder (P)"
"Capabilities"=dword:00000084
"UINumber"=dword:00000000
"HardwareID"=hex(7):55,00,53,00,42,00,5c,00,56,00,69,00,64,00,5f,00,30,00,35,\ 

  
00,34,00,63,00,26,00,50,00,69,00,64,00,5f,00,30,00,32,00,37,00,31,00,26,00,\ 

  
52,00,65,00,76,00,5f,00,30,00,31,00,30,00,30,00,00,00,55,00,53,00,42,00,5c,\ 

  
00,56,00,69,00,64,00,5f,00,30,00,35,00,34,00,63,00,26,00,50,00,69,00,64,00,\ 

  5f,00,30,00,32,00,37,00,31,00,00,00,00,00
"CompatibleIDs"=hex(7):55,00,53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,\ 

  
5f,00,66,00,66,00,26,00,53,00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,\ 

  
00,30,00,30,00,26,00,50,00,72,00,6f,00,74,00,5f,00,30,00,30,00,00,00,55,00,\ 

  
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,26,00,53,\ 

  
00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,00,30,00,30,00,00,00,55,00,\ 

  
53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,66,00,66,00,00,00,00,\ 

  00
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Class"="USB"
"Driver"="{36FC9E60-C465-11CF-8056-444553540000}\\0007"
"Mfg"="Sony Corporation"
"Service"="ICDUSB2"
"ConfigFlags"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\6&amp;3a9497ab&amp;0&amp;8\Device 
Parameters]
"ExtPropDescSemaphore"=dword:00000001
"SymbolicName"="\\??\\USB#Vid_054c&amp;Pid_0271#6&amp;3a9497ab&amp;0&amp;8#{a5dcbf10-6530-11d2-901f-00c04fb951ed}" 


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_054c&amp;Pid_0271\6&amp;3a9497ab&amp;0&amp;8\LogConf] 


03.reg
====

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ICDUSB2]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"="c:\windows\system32\drivers\ICDUSB2.sys"
"DisplayName"="Sony IC Recorder (P)"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ICDUSB2\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\ 

  
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 

  
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 

  
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 

  
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\ 

  
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\ 

  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

Import the above three files (01.reg, 02.reg and 03.reg) into the Wine 
registry.

cd

cd .wine/drive_c/Program\ Files/Sony/ICD-P\ Series\ Driver/

cp IcdUSB2.sys ../../../windows/system32/drivers/

Double click on the Digital Voice Editor 3 icon which has been installed 
by Wine on the GNOME Desktop to launch  Digital Voice Editor 3.

ps -ef | grep wine

enming   18777     1  1 16:15 ?        00:00:00 /usr/local/bin/wineserver
enming   18783 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe MountMgr
enming   18788 18783  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe
enming   18800 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe PxHelp20
enming   18806 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe Usbhub
enming   18814 18781  0 16:15 ?        00:00:00 
C:\windows\system32\winedevice.exe ICDUSB2

The Digital Voice Editor is unable to detect the Sony IC Recorder which 
has been plugged into the system via an USB cable.

lsusb

Bus 005 Device 006: ID 054c:0271 Sony Corp. IC Recorder (P)

There are no kernel modules for the Sony IC Recorder and hence no device 
node entries in /dev.

Please advise.

Thank you very much.




</pre>
</body>
</html>