[solved] My udev rule for my Android phone doesn't work, not sure why

I have the HTC G1 Android phone and I'm trying to get a udev rule working for it.  This is my rule ...
/etc/udev/rules.d/50-android.rules
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666", NAME=="android"
... but when I connect my phone, /dev/android doesn't appear.  0bb4 is correct ...
/sys/class/usb_device/usbdev5.2/device/idVendor
0bb4
... so what's going on?
Last edited by synthead (2008-11-28 15:19:09)

There is, but I can already use it that way.  I'm learning how to code in java so I can develop applications for it.  There's a feature in the SDK where you can install and run your code on your Android device fairly seamlessly.  You literally hit "Run" and a few moments later, your phone's going to town.  But for this to work, permissions need to be set (0666).  But my udev rule does nothing and I dont understand why.
This is where I got this information: http://code.google.com/android/intro/de … cehardware

Similar Messages

  • HT4623 I've installed the update and even resorted to the restore function. My phone doesn't work not. My screen shows a graphic of the usb connector with an arrow pointing towards and Itunes icon. It will do nothing else! HELP

    I've installed the iPhone update and now my phone doesn't work. I even chose the restore function. It went through all that and it still just shows the graphic of the usb and an arrow and the itunes icon. Help!

    Yes, I connected the phone to my iMac which is the original computer it is backed up on. From iTunes I had no option except to restore, which I did. Still no luck. Still just see the graphic. :-(

  • Broke my Iphone 5c screen and now my phone doesn't work at all why ?

    I have recently broke my Iphone 5c screen and its smashed really badly , it was working for a little while it was all fine apart from the glass being smashed and this morning i woke up and i couldnt accsess my phone it didnt want to charge it didnt show up anything on the screen it was just al black , what should i do ?

    Thank you for your advce i will go and check it out

  • My Contracted SIM is for an android phone, but when i put the sim in an iphone my 3g no longer works?..

    My Contracted SIM is for an android phone, but when i put the sim in an iphone my 3g no longer works?.. Is it because my 3g is only active on the android os and not the ios platform? Texts, Calls and Wifi work fine but the 3g doesn't work. My phone only shows 'GPRS' in the top left corner. Also I get a message come up saying "Could not activate mobile data network. You are not subscribed to a mobile data service".
    Any advice would be great.

    Hi hexonxonx, I'm on o2. Thanks for your advice. You are right. All I had to do was change one of my APN settings to mobile.o2.co.uk and reboot my phone and this sorted it out straight away! Thanks again. Much appreciated . I was thinking I was going to have to go back to an android phone to use my 3g again but this eliminated that need. Thanks.

  • UDEV rules for Xilinx FPGA devices

    I recently purchased a Digilent Nexys3 FPGA board with a Xilinx Spartan 5 FPGA on it. I finally got around to finding some time to using it, and setting up the development environment under Arch linux.
    After spending ages reading around about various problems and workarounds, I finally managed to get Xilinx ISE Webpack installed and working, as well as Digilent Adept software for downloading the designs to the development board. One issue still remains though. I am unable to download the designs to the FPGA as a normal user, but only as root.
    I'm pretty sure this is a udev rules problem. Digilent supplies a rules file (attached below) which is supposed to grant permissions to all users to access the FPGA devices over USB. I placed this rule file under /etc/udev/rules.d, but I am still unable to access the devices as normal user due to the following error:
    $ djtgcfg enum
    libusb couldn't open USB device /dev/bus/usb/001/003: Permission Denied.
    libusb requires write access to USB device nodes.
    $
    I believe that udev rules syntax changed since the last time I had a look at it, so maybe the supplied rules file still uses the old syntax? Any suggestions to fixing this rules file (attached below)?
    # 52-digilent-usb.rules -- UDEV rules for Digilent USB Devices #
    # Author: MTA #
    # Copyright 2010 Digilent Inc. #
    # File Description: #
    # This file contains the rules used by UDEV when creating entries for #
    # Digilent USB devices. In order for Digilent's shared libraries and #
    # applications to access these devices without root privalages it is #
    # necessary for UDEV to create entries for which all users have read #
    # and write permission. #
    # Usage: #
    # Copy this file to "/etc/udev/rules.d/" and execute #
    # "/sbin/udevcontrol reload_rules" as root. This only needs to be done #
    # immediately after installation. Each time you reboot your system the #
    # rules are automatically loaded by UDEV. #
    # Revision History: #
    # 04/15/2010(MTA): created #
    # 02/28/2011(MTA): modified to support FTDI based devices #
    # Create "/dev" entries for Digilent device's with read and write
    # permission granted to all users.
    SYSFS{idVendor}=="1443", MODE="666"
    ACTION=="add", SYSFS{idVendor}=="0403", SYSFS{manufacturer}=="Digilent", MODE="666", RUN+="/usr/local/sbin/dftdrvdtch %s{busnum} %s{devnum}"
    # The following rules (if present) cause UDEV to ignore all UEVENTS for
    # which the subsystem is "usb_endpoint" and the action is "add" or
    # "remove". These rules are necessary to work around what appears to be a
    # bug in the Kernel used by Red Hat Enterprise Linux 5/CentOS 5. The Kernel
    # sends UEVENTS to remove and then add entries for the endpoints of a USB
    # device in "/dev" each time a process releases an interface. This occurs
    # each time a data transaction occurs. When an FPGA is configured or flash
    # device is written a large number of transactions take place. If the
    # following lines are commented out then UDEV will be overloaded for a long
    # period of time while it tries to process the massive number of UEVENTS it
    # receives from the kernel. Please note that this work around only applies
    # to systems running RHEL5 or CentOS 5 and as a result the rules will only
    # be present on those systems.
    Thanks!
    -Igor
    Last edited by UQ-igor (2011-12-24 03:56:10)

    Try this
    Use ATTR or ATTRS.
    -SYSFS{idVendor}=="1443", MODE="666"
    -ACTION=="add", SYSFS{idVendor}=="0403", SYSFS{manufacturer}=="Digilent", MODE="666", RUN+="/usr/sbin/dftdrvdtch %s{busnum} %s{devnum}"
    +ATTRS{idVendor}=="1443", MODE="666"
    +ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{manufacturer}=="Digilent", MODE="666", RUN+="/usr/sbin/dftdrvdtch %s{busnum} %s{devnum}"
    +ATTR{idVendor}=="1443", MODE="666"
    +ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE="666", RUN+="/usr/sbin/dftdrvdtch %s{busnum} %s{devnum}"

  • Can i get app for iCloud for my android phone?and what is it called?

    can i get app for iCloud for my android phone?and what is it called?

    For contacts and calendars, take a look at SmoothSync for Cloud Contacts and SmoothSync for Cloud Calendars.  For your iCloud email account, set it up with these settings: http://support.apple.com/kb/HT4864.

  • Is there a "Configuration utility" for SE android phones?

    Hi, I'm wondering If there Is an application similar to Apples "Iphone Configuration utility" for SE Android phones?
    //Johan

    http://support.apple.com/kb/DL926
    It gives you the ability to craft configuration profiles (for mail, wlan and so on) and activate them on the phone via a PC or Mac. I work in a support enviroment and this would be a great app for us (remote to customers computer and use app to configure phone).

  • There are many apps I purchased for my android phone that are exactly the same for the iPhone, do I have to buy these again or would the license transfer?

    There are many apps I purchased for my android phone that are exactly the same for the iPhone, do I have to buy these again or would the license transfer?

    Yes you need to buy them again. Apps written for one device will not run on the other.

  • Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doe

    Hello. The Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doesn't auto play either. Thanks!

    Hi Mariana,
    Please make sure you have the autoplay checkbox selected from the fly-out options:
    Regards,
    Akshay

  • Thread- unfortunately the process com.android.phone has stopped working

    Hello Everyone,
    I am Rohit from India but recently moved to new Zealand. I have been fan of lenovo since 2008 when I purchased first laptop Lenovo 3000 Y 410. after that I have recently imporated Lenovo vibeX S960 phone.
    It was started and working well initially. but one day the message pop up about upgrade the firmware.
    I have updated it to Kitkat 4.4.2. After that I have been constantly getting message " unfortunatly  the process com.android.phone has stopped working".
    I have tried factory reset few times but the error has not been removed.
    I am annoyed by this problem.
    Kindly give me solution. pls

    try this: settings/appsswype to left until you reach ALL tab.scroll down to Phone icontap ittap on clear datatap on force stopreboot your device then try again with SSID code, if it still crash, only a factory reset probably will fix the issue.

  • Since iOS 7.1 my phone won't turn on and is asking me to connect to iTunes. I connect to itunes and it says it needs to be restored. Not sure why. I try to restore it and then it says something went wrong and it won't work. So I've been without my phone

    Since iOS 7.1 my phone won't turn on and is asking me to connect to iTunes. I connect to itunes and it says it needs to be restored. Not sure why. I try to restore it and then it says something went wrong and it won't work. So I've been without my phone for a couple days now. It gives me error code (29). The phone almost reboots and then 3/4 of the way through it gives me the error message.

    If using windows...
    Temporarily disable your firewall and antivirus software and try again...
    http://support.apple.com/kb/TS1379
    See iTunes Connection Issues here...
    iTunes for Windows: Troubleshooting security software issues
    NOTE:
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download

  • My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay in store?

    My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay for repairs in store because I didnt get the Apple care plan when I purchased it. Sprint said it may be a phone problem not sure if I should take it to Sprint or Apple...I just need my phone

    I'm sorry to learn that you are not able to make/receive calls chelseabee! (ticket number removed) results indicate that there is no issues with the network or account provisioning. Since you have already done a hard reset http://vz.to/1gBkSJc (as per your post), I recommend exploring replacement options. If your phone is within the one year manufacturers' warranty we can provide a Certified Like New replacement http://vz.to/uyYF0o as long as no physical/liquid damage exist. If your phone has sustained physical/water damage and you have insurance, you can submit a claim to the insurance company online at this link http://bit.ly/07CrqPK
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • Windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....aaahhh

    windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....as itunes does not pick up the phone I have connected anymore. My ipod synchs fine still and thats over 6 years old!

    Hi rubicon7,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If the issue is not resolved, you may need to uninstall iTunes and all of it's components, and reinstall the latest version as explained in this article:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    I hope this information helps ....
    Have a great day!
    - Judy

  • Phone doesn't work

    Just installed the new modem you say I have to have.  Went through the activate scenario and now my phone doesn't work....no dial tone, no nothing.  How will you fix that?   And, it's the only phone I have!!!

    ButtEr42fly wrote:
    corporate office?  this is a service issue- phone has been blinking for some time and everything is plugged in and rechecked.  This is a user to user forum with very little interaction with Comcast employees.
    Self Help is here: http://customer.xfinity.com/help-and-support/phone/troubleshooting-no-dial-tone/
    You can call on your cell or do a online chat here
    https://www.comcastsupport.com/ChatEntry/Protected.aspx
    Always start troubleshooting by resetting your gateway or telephony model by pressing the indented reset button on the panel where the cables attach. Plug in a known good wired phone to the L1/L2 jack to bypass the inside wiring and all telephone equipment. If it still doesn't work, then contact Comcast support.

  • HT4061 I have an iphone 3gs - the new ios 6.1 (?) upgrade has inabled my phone. I get a white apple on the screen. can't reset phone - doesn't work. what can I do besides take phone into Apple?

    I have an iphone 3gs - yes, an older iphone. 
    This morning apple had a msg that asked if I wanted to upgrade to the new ios 6.1 (?).  I said yes.  Now I can't use my phone.  I've tried hitting the power and other buttons.  I get a white apple on the screen. can't reset phone - doesn't work. what can I do besides take phone into Apple?  This *****!  I realize (now from reading internet) that my phone/system may be uncompatible.  Help!

    I have a 3GS (a true classic design!) and have upgraded it to 6.1 today.  The process did not go without a glitch - it took a few attempts to get the app's to sync but after detecting the ones causing an issue and deleting them it works - so far!  I have had issues about 50% of the numerous times a new OS is uploaded to this phone and always take the new OS with trepidation.  But at least you know there is a 3GS with 6.1 working OK.
    I suggest you do a fresh restart to the phone several times - without it being connected to the computer - to see if it gets its act together and starts.  I think it will.  Hold down the top 'power' button and front round control button until it shuts down - goes blank and dead.  Then press the top power button to re-activate - reboot - it.
    If that does not work then plug into your itunes computer, navigate in iTunes to see your iPhone and hopefully you will be able to sync it or at least 'restore iPhone' from the 'summary' tab.
    If you can not get onto the iphone perhaps you will still be able to sync if in iTunes by going - 'file' - 'devices' - 'sync iphone' or failing that try transfer purchases' and ultimately 'restore from back-up'.
    I had technical problems with my old 3GS (suffered a failed wireless antenna) so I took it to an Apple Store and they issued me with a service-replacement/reconditioned phone for a very modest charge.  So if worst come to the worst get a new phone that way!

Maybe you are looking for