首页 文章 精选 留言 我的

精选列表

搜索[驱动分发],共10004篇文章
优秀的个人博客,低调大师

ubuntu下设置Android手机驱动

如果下面的文章不好使,建议读一这个文章:http://forum.xda-developers.com/xperia-u/general/howto-usb-connection-to-ubuntu-t1574551 以下内容有时候会导致,有的时候手机无法识别,请读上面的文章。 默认情况下 Ubuntu系统无法识别android手机。 运行 adb devices 将会出现一堆 ???号 在这种情况下你可以按照如下方法解决 1.首先查看你手机的ID号 在terminal下运行lsusb命令 再将手机连接上电脑 再次运行lsusb就会多出一个usb信息。该信息即为你手机的usb信息 Bus 002 Device 007: ID18d1:4e21 PS:红色字体为手机的ID号,同一款手机的ID号是一样的。本人手机为(NS) 2 .创建配置文件 sudo vim /etc/udev/rules.d/XXX.rules XXX为你自定义的文件名 输入以下 内容 SUBSYSTEM=="usb", SYSFS{"idVendor"}=="18d1", MODE="0666" 在红色字体的部分 添加上 你 自己手机的id sudo chmod a+rx /etc/udev/rules.d/XXX.rules sudo /etc/init.d/udev restart 3.重启adb服务(必须为sudo 已配置android环境变量) sudo ./adb kill-server sudo ./adb devices --------------------------------------------------------------------- you want MTP support on Ubuntu, try this: Connect Xperia S to an USB2 port. Use the "lsusb" command to list your devices in a terminal One of the lines should look like this: Code: Bus 002 Device 012: ID 0fce:5169 Sony Ericsson Mobile Communications AB Note your vendor- and product id. Usually this is "0fce" for the vendor and "5169" for the product id. If you have USB debugging disabled, product id will be "0169". unplug your phone read this thread:humans-enabled.com Install the newest Version of "libmtp" and copy the 69-libmtp.rules file to /etc/udev/rules.d as described Edit: This step may not be necessary for you! Xperia S support is implementet in the libmtp-1.1.3. release. If you use the newest version fromsourceforge.netskip this and go to step 7.type following to edit the copied file as root: Code: sudo gedit /etc/udev/rules.d/69-libmtp.rules Add the following text somewhere around the sony ericsson devices that are in this file. You can find them by searching for "0fce". Remember to set the correct vendor and product id: Code: # Sony Xperia S ATTR{idVendor}=="0fce", ATTR{idProduct}=="5169", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" ATTR{idVendor}=="0fce", ATTR{idProduct}=="0169", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" reboot, or use Code: sudo udevadm control --reload-rules to actualise. Plug in your device to a USB2 port, it will mount automatically. Use nautlius to copy files around. 本文转自demoblog博客园博客,原文链接http://www.cnblogs.com/0616--ataozhijia/p/3658649.html如需转载请自行联系原作者 demoblog

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册