Announcement

Collapse
No announcement yet.

Porting Linux Drivers To Android

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Porting Linux Drivers To Android

    Hi

    I'm in middle of my own Android tablet project ( using Nook Color )
    trying to get some devices working with USB HOST ( OTG )
    I saw a couple of cool projects here , and I wondered if someone here tried porting some car-pc hardware drivers to Android?

    My main goals are :
    1.Contour ShuttleXpress
    2.GlobalSat BU-353
    3.DCDC-USB

    I don't have any coding skills in linux ( I don't even know how to compile but it seems pretty easy ) , but I'm willing to learn
    And if someone here already done some progress or have knowledge about the things needed to make driver ports and willing to share it would be a great step forward

    Here is a post I made on the NC usb-host thread on XDA with logs and info on the ShuttleXpress and BU-353 : http://forum.xda-developers.com/show...&postcount=587

    The DCDC-USB psu should be here soon I hope
    and here are the drivers for Linux : https://gitorious.org/minibox-dcdcus...b/trees/master

    Again , any help would be grateful so don't be shy
    HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

  • #2
    i haven't seen any porting of drivers to the android platform that i know of but the honeycomb platform does have peripheral driver support i believe and there are definately alot of interesting projects going on to port things back and forth between traditional x86 and portable devices.

    Comment


    • #3
      Normal devices do work right out of the box without any porting because of the built-in drivers ( keyboards , mice etc. )
      But special devices needs porting , I found some info on how to port and I'll be starting figuring out how to do it in the next few days hoping for some quick results
      First I need to probably setup vm for compiling before I start messing with the code
      HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

      Comment


      • #4
        how to access linux I2C keypad device driver in Android

        Hi,

        Actually i need to Access linux device driver i.e. I2C keypad/mouse, etc.. in Android
        but i don't find the solution how to Access it, so can anyone help me in this.

        Thanks a lot.

        BR
        Maddy

        Comment


        • #5
          Updates for anyone who is interested

          I'm hoping the GPS will work on the next kernel release , with this commit
          http://review.cyanogenmod.com/#change,7264

          I've made some progress with the ShuttleXpress
          Here is a thread describing where I'm at now :
          http://forum.xda-developers.com/show....php?t=1220621

          the DCDC-USB arrived and I already connected it to the nook to see if its recognized
          Here is the info from dmesg :
          Code:
          <6>usb 1-1: new full speed USB device using musb_hdrc and address 2
          <7>usb 1-1: ep0 maxpacket = 8
          <7>usb 1-1: skipped 1 descriptor after interface
          <7>usb 1-1: default language 0x0409
          <3>usb 1-1: device v04d8 pd003 is not supported
          <7>usb 1-1: udev 2, busnum 1, minor = 1
          <6>usb 1-1: New USB device found, idVendor=04d8, idProduct=d003
          <6>usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
          <6>usb 1-1: Product: DCDC-USB
          <6>usb 1-1: Manufacturer: MINI-BOX.COM
          <6>usb 1-1: SerialNumber: 1.00rel.
          <7>usb 1-1: uevent
          <7>usb 1-1: usb_probe_device
          <6>usb 1-1: configuration #1 chosen from 1 choice
          <7>usb 1-1: adding 1-1:1.0 (config #1, interface 0)
          <7>usb 1-1:1.0: uevent
          <7>usbserial_generic 1-1:1.0: usb_probe_interface
          <7>usbserial_generic 1-1:1.0: usb_probe_interface - got id
          <7>usbhid 1-1:1.0: usb_probe_interface
          <7>usbhid 1-1:1.0: usb_probe_interface - got id
          after I'll work out the gps and shuttlexpress I'm planning to try and port the dcdc drivers
          HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

          Comment


          • #6
            Interesting stuff. As you know from another thread I am looking at doing the same thing for an AM/FM radio. I will be following this closely.

            Comment


            • #7
              Originally posted by maddilety View Post
              Hi,

              Actually i need to Access linux device driver i.e. I2C keypad/mouse, etc.. in Android
              but i don't find the solution how to Access it, so can anyone help me in this.

              Thanks a lot.

              BR
              Maddy
              Which drivers exactly are you trying to find?
              What do you want to do? key mapping?
              Try in your kernel source @ drivers/input
              If you can't find it share the github link or specify the device and kernel you are using

              Originally posted by mhermann View Post
              Interesting stuff. As you know from another thread I am looking at doing the same thing for an AM/FM radio. I will be following this closely.
              Which radio module did you decide to try and port?
              At the bottom I'll post a list of sources that might help you

              So some updates :

              - A friend of mine who know more about coding should be here tomorrow to help me get some progress done

              - I made some progress with the GPS , info : http://forum.xda-developers.com/show...&postcount=642
              It seems we need some app like BT GPS just for USB
              Sadly , I don't have enough knowledge atm to write this kind of app - maybe in the future if there will be no-one intersted

              Here is some sites/documentation I've used to help me start and still uses as a knowledge base ( not all related to android )
              http://source.android.com/source/initializing.html
              http://tldp.org/LDP/lkmpg/2.6/html/x380.html
              http://kernelnewbies.org/
              http://yidonghan.wordpress.com/categ...dded-software/
              http://www.linuxjournal.com/article/7353
              http://cianer.com/androidg1/28-build...-kernel-images
              http://blog.linuxconsulting.ro/2010/...o-android.html
              http://forum.xda-developers.com/show....php?t=1078668
              http://groups.google.com/group/taske...64e6f88aa3ddcb
              http://forum.xda-developers.com/showthread.php?t=915435
              http://wiki.cyanogenmod.com/wiki/Bar...ogenMod_(Linux)
              http://wiki.cyanogenmod.com/wiki/Bui...el_from_source
              Last edited by Madboy; 08-24-2011, 01:22 AM.
              HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

              Comment

              Working...
              X