おのたく日記 YouTubeも始めました→
2008-09-01(Mon) VMware Server 1.0.6上のiTuneでiPodを接続できるようにLinux Kernel 2.6.26にパッチする [長年日記]
■ [VMware][Debian][iPod]VMware Server 1.0.6上のiTuneでiPodを接続できるようにLinux Kernel 2.6.26にパッチする
7月16日の日記を参考に
$ apt-get source linux-image-2.6.26-1-amd64
$ cd linux-2.6-*/drivers/usb/core
$ vi driver.c
$ diff -u driver.c.org driver.c
--- driver.c.org 2008-04-17 11:49:44.000000000 +0900
+++ driver.c 2008-07-22 06:05:47.000000000 +0900
@@ -262,10 +262,12 @@
driver->disconnect(intf);
+#if 0 /* iPod Connect from VMWare Guest OS */
/* reset other interface state */
usb_set_interface(interface_to_usbdev(intf),
intf->altsetting[0].desc.bInterfaceNumber,0);
+#endif
usb_set_intfdata(intf, NULL);
intf->condition = USB_INTERFACE_UNBOUND;
$ cd ../../..
linux-2.6 (2.6.26-3.1ipod) unstable; urgency=low
* Non-maintainer upload.
* iPod on VMware support.
$ dpkg-buildpackage -us -uc -rfakeroot
exit 1
make[1]: *** [debian/control-real] エラー 1
make[1]: ディレクトリ `/home/mirara/tkyn/sys/kernel/linux-2.6-2.6.26' から出ます
make: *** [debian/control] エラー 2
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
$ dpkg-buildpackage -us -uc -rfakeroot
で完成
|