免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1412 | 回复: 0
打印 上一主题 下一主题

virtualbox, usb, ipod touch [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-20 22:28 |只看该作者 |倒序浏览

                Searching in internet tend to be waste of time as more and more people join into this huge information sea and spread their shit out from their mouth with no scruple. I don't want to strict the spirit of 'share', which be main spirit of internet. I just want to gripe about junk information on internet.
Here I want to backup some tips about using ipod touch in virtualbox which running in linux system.
1. Follwing patch might let your linux host system treat ipod touch more friendly.
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index de17738..7da2518 100644
--- a/drivers/usb/core/devio.c
+++ b/drivers/usb/core/devio.c
@@ -88,7 +88,7 @@ MODULE_PARM_DESC(usbfs_snoop, "true to log all usbfs traffic")
#define USB_DEVICE_DEV         MKDEV(USB_DEVICE_MAJOR, 0)


-#define        MAX_USBFS_BUFFER_SIZE   16384
+#define        MAX_USBFS_BUFFER_SIZE   131072

static inline int connected(struct dev_state *ps)
{
I __DO__ __NOT__ want to put shits here about how to apply the patch. So, do not ask me.
2. Above patch does no impact on syncing ipod touch in virtualbox at all. So, the first step can be jump over safely. Now the key operation is mount usbfs on /proc/bus/usb. The following sequence should be offer help.
$ sudo su
# echo "none /proc/bus/usb usbfs devmode=664 0 0" >> /etc/fstab
# umount /proc/bus/usb
# mount /proc/bus/usb
# exit
3. That is all. Startup virtualbox and enable USB support in setting of virtual machine. Enjoy.
There are so many shits in internet about 'add usbfs then ... ' or 'add vboxusr then ...'. Fuck, these shits are nothing but wasting time.
And another, such 'add item to fstab then reboot' is dog+bull shits.
At last, virtualbox should be recommended.
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17564/showart_1934247.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP