Hey does anyone have the udev rules for the nexus 4?
tweaked said:
Hey does anyone have the udev rules for the nexus 4?
Click to expand...
Click to collapse
Maybe I'm missing something, but just plug your N4 into your Linux machine and type lsusb in Terminal. The numbers will pop right up, along with a number of others...you should be able to spot the N4's numbers easy enough.
tedr108 said:
Maybe I'm missing something, but just plug your N4 into your Linux machine and type lsusb in Terminal. The numbers will pop right up, along with a number of others...you should be able to spot the N4's numbers easy enough.
Click to expand...
Click to collapse
I dont get anything to do with the phone;
Code:
Bus 001 Device 001: ID id6b:001 Linix Foundation 1.1 root hub
Buss 001 Device 002: ID 80eeL0021 VirtualBox USB Tablet
Thats all I get with lsusb.
tweaked said:
I dont get anything to do with the phone;
Code:
Bus 001 Device 001: ID id6b:001 Linix Foundation 1.1 root hub
Buss 001 Device 002: ID 80eeL0021 VirtualBox USB Tablet
Thats all I get with lsusb.
Click to expand...
Click to collapse
Hoping you have a good USB cable connecting your N4 to your computer...
Try enabling Android Debugging under Developer Options. If you are on 4.2, you may need to enable Developer Options first as explained in the second post in this thread here: http://forum.xda-developers.com/showthread.php?t=1989777
I'm not 100% sure that is the problem, but it is worth a shot. Honestly, I kind of figured lsub would show just about anything ... "debugging" enabled or not. Also, you have a really short list with lsusb ... I get a much bigger list than you do. Not sure why that is. Perhaps you are running a virtual machine or whatever ... I have no experience with them at all. If you are connecting other Android devices to your machine without issue, I'm guessing that enabling debugging will work.
Still waiting on my N4 ... or I would just give you the numbers!
Related
Hello,
i followed http://wiki.xda-developers.com/index.php?pagename=HimalayaLinuxBooting to try to boot Linux on my Magican.
1 TCP-Connection via SynCE
2. I started Haret 0.3.6 (Detected COU Family: Unknown) , tapped "listen for network connection" and connected via telnet and typed:
HaRET(4)# set KERNEL "zImage-2.6.3"
HaRET(5)# set MTYPE 448
HaRET(6)# set CMDLINE "root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd"
HaRET(7)# set INITRD "\Storage\initrd-2.6.3.gz"
HaRET(8)# bootlinux
TuX appeared on my screen, with the termometer, wich filled red.
Output on telnet session:
Physical kernel address: a0008000
Preloader physical/virtual address: a3200000
Physical initrd address: a0408000
Goodbye cruel world ...
After that SynCE-TCP-Connection went down.
I'm not sure, if there should be more visible on the screen/in the telnet session? What is this about the serial terminal? How do I connect. minicom to ttyUSB0 did not work, since the device was in use.
I really would like to contribute to porting linux to the Magican.
.... or should I've posted this in the Magican Forum?
FEDORA core 4 possible?
FEDORA core 4 possible?
Click to expand...
Click to collapse
yes, I run FC4 on my PC. Is this a problem? I mean.... SynCE works fine, I can copy files an so on.
Should I use FC3?
fry said:
I'm not sure, if there should be more visible on the screen/in the telnet session?
Click to expand...
Click to collapse
No. wince is a dead duck after the "goodbye cruel world" message.
fry said:
What is this about the serial terminal?
Click to expand...
Click to collapse
A real RS232 connection to the phone
(RXD,TXD,GND).
I have made a cable for Blueangle to
connect the GPS receiver. If i'm not
mistaken it is the same as for Himalaya.
fry said:
How do I connect. minicom to ttyUSB0 did not work, since the device was in use.
Click to expand...
Click to collapse
serial over USB is dead, because the wince USB driver is dead.
The only easy debugging that is possible
at an early boot stage is to write directly
to the PXA serial port register in assembler, but
it's a really hard way of doing things.
fry said:
I really would like to contribute to porting linux to the Magican.
Click to expand...
Click to collapse
You should take the Himalaya (and Blueangel) wiki as an example, and
document the hardware. Writing linux
device drivers without knowing the hardware config is impossible.
Start with the physical/wincevirtual memory map, then you will know if it
is possible to use the himalaya kernel
directly. Although Blueangel hardware is very close
to Himalaya, different physical address space mapping don't let to run the Himalaya kernel. Tough luck for mickeysoft2005 fanboys
double_ofour said:
FEDORA core 4 possible?
Click to expand...
Click to collapse
The usable kernel stuff is in the
handhelds.org CVS. For the packages
- use debian.
fry said:
I really would like to contribute to porting linux to the Magican.
Click to expand...
Click to collapse
Post the output of the haret
'dump gpio' and 'dump mmu' commands.
I've looked at the magician PCB pictures.
Seems to be a really cheap device compared to Blueangel
On the positive side is that there are no HTC
ASICs there, so it is probably using the PXA MMC. The 5pin connector at the bootom
doesn't look like the 22pin ipaq connector
Post the output of the haret
'dump gpio' and 'dump mmu' commands.
Click to expand...
Click to collapse
OK... I did this, see dump.txt. The output stopped while a progress bar on my xda was at about 10%, telling me "Please be patiently until operation finishes ...". After some time, SynCE connection went down. I had to reset the device.
But I think, the dump is complete, since the xda mini has only 64 MB of memory.
The 5pin connector at the bootom
doesn't look like the 22pin ipaq connector
Click to expand...
Click to collapse
It's a standard mini USB connector
With haret-0.3.6-DEBUG.exe from http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch I get:
Physical kernel address: a0008000
Preloader physical/virtual address: a358c000
Goodbye cruel world ...
Reset AC97
set thread priority to critical
disabled multitasking
this process can access all memory domains
we're in kernel mode baby!
*mmu = memPhysMap (cpuGetMMU())
cpu->setup_load
interrupts cleared
peripherals are shut down
cpuFlushCache()
fry said:
OK... I did this, see dump.txt.
Click to expand...
Click to collapse
The last INTER column seems to be broken.
Otherwise there are 4 visible interrupt lines:
0 - reset button (my guess)
13 - ?
37 - ?
38 - ?
The ALT settings and the GPIO directions
provide useful info, too.
You can do 'wgpio 60' in haret and press buttons, start bluetooth, IRDA, connect/disconnect USB,
play/record sound, make a photo, etc. and
log the GPIO changes.
The next step is to dump the PXA registers and look what subsystems are enabled (try CKEN with 'pd 0x4130004 4', or write a haret script dumping all
interesting registers like *SSP, USB, MMC,etc). Another thing you can do, is to
dump the ROM (first 64MB of memory or how big it is, starting at 0x0).
fry said:
It's a standard mini USB connector
Click to expand...
Click to collapse
Bad for you. No serial port.
But you will probably never need it.
fry said:
The output stopped while a progress bar on my xda was at about 10%, telling me "Please be patiently until operation finishes ...". After some time, SynCE connection went down. I had to reset the device.
Click to expand...
Click to collapse
Well, haret is extremely buggy in this
part, but porting 'itsutils' for use with synce
is probably not worth the pain.
Some additional comments before i'll
fell asleep:
This is unusual:
MMU 1st level descriptor table is at A0660000
Try to use haret for hx4700
since you have pxa27x
(look at handhelds.org wiki for a link).
I don't get how do they get the camera working.
IMHO, you can't use the himalaya kernel.
The LCD is probably attached to PXA, bad
for the performance, easy for linux port.
fry said:
Preloader physical/virtual address: a358c000
Click to expand...
Click to collapse
The SDRAM is in the first bank, because
it's top is close to 0xa4000000.
HELP!
After JF 1.51 I installed latest Radio with it.
reboot - fine
Then I installed an SPL.
reboot - fine
Radio : 2_22_19_26I
SPL : Haykuro's "Special"
Then I tried the JacHero 2.1F Image
reboot - the Sign comes up (the unwrapping Phone) - nothing - dead
Here my dmesg:
[15286.272584] usb 2-2: new high speed USB device using ehci_hcd and address 4
[15286.340311] hub 2-0:1.0: unable to enumerate USB device on port 2
[15320.276569] usb 2-2: new high speed USB device using ehci_hcd and address 5
[15320.344322] hub 2-0:1.0: unable to enumerate USB device on port 2
[15361.868634] usb 2-2: new high speed USB device using ehci_hcd and address 6
[15361.936323] hub 2-0:1.0: unable to enumerate USB device on port 2
[15392.128125] usb 2-2: new high speed USB device using ehci_hcd and address 7
[15392.196334] hub 2-0:1.0: unable to enumerate USB device on port 2
[15437.872588] usb 2-2: new high speed USB device using ehci_hcd and address 8
[15437.940333] hub 2-0:1.0: unable to enumerate USB device on port 2
[15446.872067] usb 2-2: new high speed USB device using ehci_hcd and address 9
[15446.940334] hub 2-0:1.0: unable to enumerate USB device on port 2
[15520.032077] usb 2-2: new high speed USB device using ehci_hcd and address 10
[15520.096385] hub 2-0:1.0: unable to enumerate USB device on port 2
[15528.892075] usb 2-2: new high speed USB device using ehci_hcd and address 11
[15528.960253] hub 2-0:1.0: unable to enumerate USB device on port 2
Click to expand...
Click to collapse
lsusb shown NOTHING as it isn't enumerated.
The SAME Story now for my HTC Magic.
This is the most expensive Brick I ever bought :-(
So is the a way to reocver?
- JF 1.51
- SPL.
- 2_22_19_26I
- SPL
- JacHero 2.1F
Um, none of these are Hero ROMs!!!
P
you must send them back to htc, theres no alternative.. but i cant unterstand why people install a software (=rom) for a different hardware system...
felikz said:
you must send them back to htc, theres no alternative.. but i cant unterstand why people install a software (=rom) for a different hardware system...
Click to expand...
Click to collapse
Sorry, that you cant understand...
As the hero is the most expensive I took tis first into account, but as you can read with this software I bricked my my G2 MAGIC as well!
on both phones the same ****.
AND, it would be better if the pseudo developers would be more professional in publishing and tell the user that this Ropm is JUST for this phone, etc... Can't see it written on the Homepage - just here in the forum I see more background infos...
I am Arch LINUX Package Maintainer, registered LINUX User since 2002 and NOT a noob, ok?
thanks anyway, I send both bricks back to recovery service and maybe let you know...
mark.doe said:
AND, it would be better if the pseudo developers would be more professional in publishing and tell the user that this Ropm is JUST for this phone, etc... Can't see it written on the Homepage - just here in the forum I see more background infos...
Click to expand...
Click to collapse
LOL You are a nice guy ...
mark.doe said:
AND, it would be better if the pseudo developers would be more professional in publishing and tell the user that this Ropm is JUST for this phone, etc... Can't see it written on the Homepage - just here in the forum I see more background infos...
Click to expand...
Click to collapse
Very pleasant post!
Given that "justanothercrowd" *specifically* states
PLEASE DO YOUR RESEARCH BEFORE FLASHING ANY ROM INCLUDING MINE!!!
Click to expand...
Click to collapse
in his XDA post for his ROM, I find it rather surprising that you should decide to denigrate the ROM developers because *you* did not follow those instructions. ( link - http://forum.xda-developers.com/showthread.php?t=522076 )
In the XDA world, whatever you do to your phone is *your* responsibility. Even if you correctly follow the instructions, and end up with a bricked phone, it is still *your* responsibility. I'm not try to be harsh here, but this is a simple fact - if you flash any phone with a ROM from a "non-authorized" source, you are effectively unsupported, with the exception of the goodwill of the people and developers in the community that provided the ROM. Making statements like the one quoted above is one of the fastest ways to see that goodwill dissipate!
I am Arch LINUX Package Maintainer, registered LINUX User since 2002 and NOT a noob, ok?
Click to expand...
Click to collapse
Sorry, but by your actions and your subsequent tone, you've established that you are a noob in this context. BTW - what's a "registered linux user"?
Regards,
Dave
Just a quick question - does an "Arch LINUX Package Maintainer" beat a level 5 Arch Mage in Dungeons and Dragons?
Florida
So lets see -
You do something idiotic ( and with known risks we all take onboard )
Then mess it all up...twice
Then go squealing thats it 'not your fault' whilst claiming to be the GOL ( Gandalf of Linux )
Good luck on obtaining help here.
why do i see a flame war coming?
you have three posts and two of them is whining that you screwed up on ROMs that are not for the devices you have....
muahahaha! more money than sense...?
How hard can it be, to use a rom from the correct section (e.g. the Hero forum part for... indeed, Hero roms!).
You should not blame the 'pseudo developers' for your mistakes.
On the other hand I'm going to cut you some slack. Even though you made a terrible mistake, fooked up completely and you are now desperately trying to blame other people for it... I totally feel your pain. Losing two devices like this obviously isn't a nice experience at all. And it's probably going to cost you money on top of that as well, it totally sucks!
Please tell us if HTC fixed your phones for free (just in case that mine gets bricked, too). Wishing you good luck.
BTW with Arch: I love it, but thats the stuff with the not really researching, same on Android and Arch, when you do something without "really" knowing what, you can damage it.
OK, cya anyway and stay with us and Android
Greets.
Well colour me surprised. Nice to see that not everything descends into flaming here..!
Yes. Both have been replaced without a hassle. I told them it was bricked after putting in a foreign card on vacation and getting a spurious OTA (stupid but worked).
The mistake with one fon was definitely my fault and I excuse for the tone. English is not my native language and this sounded way too rude.
Sent from my GT-I9000 using XDA App
Oh I do love a happy ending!
Glad you got it sorted
Read, read again, and then read another few times just to be sure - That's my mantra when it comes to flashing / modding my phone.
Hi
Now that we have noefresh hack and multitouch aside of USB host support, maybe someone can port USB tethering to nook?
This way, we could use a USB 3G modem to have internet on the go with our Nook Simple Touch.
Web browsing in broad daylight in the park! ) working from terrain with webbased applications.... voip calling.... the possibilities are there.
http://forum.xda-developers.com/showthread.php?t=940470
Above's a link from a similar thread explaining the procedure for a non-3g android tablet.
Voip is quite a stretch (no sound, duh). But the idea is quite good, having 3G access is a must, even though battery time would drop sharply (1 day maybe, like regular tablets?).
I want to buy a NST and no 3g is the only thing blocking me from getting one.i thought of getting a super cheap android phone using wifi tether, but it seems like overhead.
I hope I'm proved wrong, but I've worked with embedded linux devices and USB 3G dongles in the past and they place quite heavy demands on the power supply circuitry. In the case of the Nook Touch I get the feeling the USB host functionality would struggle to handle the peak loads required. If you do experiment, start with a powered USB hub and keep an eye out for odd behaviour when transitioning to battery powered (most commonly: device dropping out as unrecognized, failing to connect despite good reported signal)
Worst scenario a hardware mod will be required to supply needed extra oomph.
I was thinking of integrating the USB dongle's insides into the NST anyway, once it'd work automatically.
Can someone with an NST show output from lsusb -vl from adb?
Why not use your mobile as a router(hotspot)and tether via wifi?
Sent from my GT-N7000 using xda premium
imachine said:
Can someone with an NST show output from lsusb -vl from adb?
Click to expand...
Click to collapse
Ok, if it will make you happy.
Code:
busybox lsusb -vl
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 058f:6254
Bus 001 Device 003: ID 058f:6254
Bus 001 Device 004: ID 0d8c:0008
Bus 001 Device 005: ID 04d9:1203
Now you know what I have plugged into my Nook at this very moment.
How does this help?
Here's a graphical shot of the same thing: http://forum.xda-developers.com/showthread.php?p=24824407#post24824407
So i have a CA-FI 7008000 android powered car stereo, it is a freescale based android 2.2 device with a USB host port dedicated for usb modems. Currently I am attempting to use the Sierra wireless 313u (att momentum 4g ) with it. When plugged in, it powers on and status lights begin blinking indicating it does see a network, but does not connect (light should go solid). Currently it isplugged into the correct port and is in Modem only mode. I have verified the device works on windows and a mac.
I've done a fair amount of hacking in android, but I'm beyond lost with this.
under dmesg in terminal im getting **** like this:
<6>usb 1-1: new high speed USB device using fsl-ehci and address 5
<4>usb 1-1: config 1 has an invalid interface number: 7 but max is 3
<4>usb 1-1: config 1 has no interface number 2
any ideas?
It sounds like either the USB descriptors in the device are a bit flakey or else your Linux is.
You can use usbview.exe under Windows (although it's ancient).
http://www.ftdichip.com/Support/Utilities.htm
Copy out the right hand pane for your modem.
Hi,
I was hoping I could post on the developer sub forum, but I have too little post, so I hope some of the devs can help me out.
I have in my possession a USB OTG cable, and I am able to connect it to a usb -> serial port, and send/receive data to and from a PC's hyperterminal. I am also able to send/receive data to and from one of my custom boards (something like arduino) that has a serial interface.
I've written my own program to perform this communication, but it is largely based on
- Slick USB 2 Serial
- USB Serial Monitor Lite
from the playstore.
Now, I am able to perform the above with my Samsung Galaxy S3, however, when I tried running my program, or anyone of the above programs (from the playstore) on one of the china branded tablets, which claimed to have USB host mode, it didn't work.
The tablet that I bought is ICOU7.
Now, I am desperately trying to get my program to run on a tablet, but I do not want to buy a tablet, and waste my money (which I already have with that china tablet) if it doesn't work, so can any of the devs out there, with a Nexus 7, confirm that the Nexus 7 is able to perform serial communication with PC/board through an OTG cable?
Do I need a specific OTG cable to do so?
I can't say for certain that it supports serial connections but it does have host mode. I've used keyboards/mice & flash drives without problem
Sent from my HTC One X using xda app-developers app
Depends on what you mean by "serial" device. If you mean CDC/ACM class usb device, then yes, nexus 7 can handle those, it creates /dev/ttyACMX like on desktop linux. This is only accessible if you have root, though. But, ACM devices are also supported by android USB Host API, which means you can write android app, which communicates with such device, and it does not require root.
Tasssadar said:
Depends on what you mean by "serial" device. If you mean CDC/ACM class usb device, then yes, nexus 7 can handle those, it creates /dev/ttyACMX like on desktop linux. This is only accessible if you have root, though. But, ACM devices are also supported by android USB Host API, which means you can write android app, which communicates with such device, and it does not require root.
Click to expand...
Click to collapse
How about for starters, I just wanna communicate with a PC's hyper terminal through its comport? Will Nexus 7 be able to do that?
bagofcrap24 said:
I can't say for certain that it supports serial connections but it does have host mode. I've used keyboards/mice & flash drives without problem
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
The china tablet I had was able to support mouse/keyboard too. But it was unable to establish a link to my PC's hyper terminal, which I was able to do with my unrooted Samsung S3