whitequark | lol, my android phone just BSOD'd | 12:40 |
---|---|---|
whitequark | the modem crashed | 12:40 |
whitequark | so it displays a blue screen with white text with instructions of how to get a memory dump | 12:41 |
kristianpaul | hehe | 12:50 |
cde | whitequark: which brand/model? | 12:54 |
whitequark | cde: lg e973 | 13:01 |
whitequark | it was fine on an unofficial cyanogenmod port | 13:02 |
kyak | android phone BSODed? how is that possible? | 13:02 |
whitequark | then I for some reason decided I should upgrade it to the official port done by the same person | 13:02 |
whitequark | nothing works since | 13:02 |
whitequark | wtf | 13:02 |
whitequark | kyak: well, it's not windows' bsod, but it is blue and signifies death | 13:02 |
kyak | ah, not *that* BSOD! :) | 13:03 |
whitequark | well duh | 13:03 |
whitequark | if it was winphone, then it'd be possible though. | 13:03 |
cde | whitequark: can you reproduce the blue screen and take a picture of it? | 13:06 |
cde | it is relevant to my interests | 13:06 |
whitequark | cde: I don't think so but if it repeats I can do that | 13:08 |
whitequark | which interests? | 13:08 |
kyak | blaming lg :) | 13:09 |
cde | whitequark: professional | 13:25 |
whitequark | cde: you work for lg and collect bsods of custom firmwares? :p | 13:34 |
cde | unfortunately, I'm not allowed to say | 13:35 |
whitequark | I can take a memory dump if you want | 13:36 |
whitequark | pretty sure the required sw is leaked somewhere | 13:36 |
whitequark | yea it is | 13:36 |
kyak | the question is whether it is allowed to use memory dumps of custom firmware taken by leaked tools :) | 13:37 |
cde | whitequark: awesome! which tool? | 13:37 |
whitequark | cde: qpst | 13:37 |
cde | ah cool. I have it too, but never tried on an actual phone | 13:38 |
cde | you need to switch the phone to modem mode right? | 13:38 |
whitequark | download mode, basically a bootloader | 13:38 |
whitequark | bsod handler can do that on its own | 13:39 |
cde | awesome, I had no idea it could do that | 13:39 |
whitequark | (also, whoever wrote it accidentally swapped the only two keys used in its UI. grr) | 13:39 |
whitequark | well, it writes that in plain text | 13:39 |
apelete | larsc mth: Hello there | 21:30 |
apelete | still trying to understand why the udc does not seems to be detected as it should (bulk endpoint not being detected -> http://paste.debian.net/60583/, and musb->endpoints member being left initialised to O in struct musb -> http://paste.debian.net/62655/) | 21:49 |
apelete | I read something interesting in the jz4740_udc code: | 21:52 |
apelete | /* Let host detect UDC: | 21:52 |
apelete | * Software must write a 1 to the PWR:USB_POWER_SOFTCONN bit to turn this | 21:52 |
apelete | * transistor on and pull the USBDP pin HIGH. | 21:52 |
apelete | */ | 21:52 |
apelete | usb_setb(dev, JZ_REG_UDC_POWER, USB_POWER_SOFTCONN); | 21:52 |
apelete | looking in programming manual (21.4.3.2 | 21:53 |
apelete | s/looking in programming manual (21.4.3.2/looking in programming manual (21.4.3.2 POWER), bit 6 used in jz4740_udc.c is advertised as "Version specific" but undocumented/ | 21:55 |
apelete | but section 21.5.1 titled "Soft connect/disconnect" explains usage of what is called "PWR:USB_POWER_SOFTCONN bit" in the jz4740_udc code | 21:59 |
apelete | larsc mth: is that SOFTCONN mechanism standard to musb controllers or do you think I should implement it specifically in the jz4740_musb driver too ? | 22:00 |
mth | apelete: is there anything in the generic code that can write that particular bit? | 22:40 |
mth | unsignedsoft_con:1 __deprecated; /* soft connect required */ | 22:40 |
mth | this exists in include/linux/usb/musb.h | 22:40 |
mth | you can use "git blame" to look up the commit in which it was deprecated | 22:40 |
mth | usually the commit comment then says what it was replaced by | 22:41 |
DocScrutinizer05 | we started funraiser: neo900.org | 22:49 |
apelete | mth: found the commit: | 22:49 |
apelete | $ git show c58bfa | 22:49 |
apelete | commit c58bfa6b97731590e42cba6bd13829c4e480992f | 22:49 |
DocScrutinizer05 | fund, but he! | 22:49 |
apelete | Author: Felipe Balbi <felipe.balbi@nokia.com> | 22:49 |
apelete | Date: Thu Jan 21 15:33:55 2010 +0200 | 22:49 |
apelete | 22:49 | |
apelete | USB: musb: deprecate what we don't use | 22:49 |
apelete | 22:49 | |
apelete | after 2.6.34, those fields will be removed from | 22:49 |
apelete | struct musb_hdrc_platform_data, it's expected | 22:49 |
apelete | that other architectures are fixed by then. | 22:50 |
apelete | 22:50 | |
apelete | Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> | 22:50 |
apelete | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | 22:50 |
DocScrutinizer05 | felipe balbi, UGH | 22:50 |
DocScrutinizer05 | KH is ok, but this balbi guy seems a good indicator for stuff that's giving you headache | 22:51 |
whitequark | DocScrutinizer05: ooooh a keyboard | 22:53 |
apelete | well, that commit message does not help finding out what should be used instead of those deprecated fields | 22:53 |
whitequark | I haven't seen a phone with a keyboard for years | 22:53 |
whitequark | oh and LTE. hm. | 22:53 |
Action: whitequark looks at his wallet | 22:53 | |
whitequark | DocScrutinizer05: is there a full list of specs? | 22:54 |
mth | DocScrutinizer05: I can't judge his code quality, but he did respond quickly and friendly when I mailed him once | 22:54 |
DocScrutinizer05 | whitequark: click on "specs" - though "subject to change" | 22:55 |
whitequark | resistive display, huh | 22:55 |
mth | apelete: that sounds like the generic code ignores it, so then the glue would have to take care of it | 22:56 |
apelete | mth: unsigned softconnect:1; | 23:00 |
apelete | that's in struct musb in musb_core.h | 23:00 |
apelete | so it seems it has been moved there | 23:00 |
mth | ah, it still exists but it is no longer platform data? | 23:01 |
apelete | well, found it in musb_core.h, I don't know how it is supposed to be used | 23:02 |
apelete | mth: do you think the glue should write that field to use soft connect capability ? | 23:03 |
mth | only if the generic code doesn't | 23:03 |
apelete | generic code does not seem to handle it, but I may be wrong here | 23:03 |
mth | look for writes to that particular register offset | 23:04 |
mth | the generic code might use different names for it, but the address will be unique | 23:04 |
DocScrutinizer05 | whitequark: http://neo900.org/faq#touch | 23:08 |
whitequark | that's... wishful thinking | 23:09 |
whitequark | for one, it's not multitouch. completely different pattern of interaction | 23:09 |
whitequark | though it's not going to matter, considering all FOSS shells are stuck in 90's anyway | 23:10 |
DocScrutinizer05 | well, we don't have multitouch in any of it's ancestors either | 23:10 |
whitequark | sure. I mainly wanted to know whether it's still in the "it's way inferior but yeah FOSS" category | 23:10 |
whitequark | got better, but still there. | 23:11 |
Action: whitequark shrugs | 23:11 | |
whitequark | personally, I'm somewhat torn between "a foss phone" and "fuck phones completely" | 23:11 |
wpwrak | both at least have the "f" in common :) | 23:12 |
wpwrak | a third option would be "feature phone" | 23:12 |
whitequark | wpwrak: well, I use my current android phone, in order of importance: GPS nav, SIP, web, SMS | 23:12 |
whitequark | so, uh, feature phone ~ no phone at all | 23:13 |
whitequark | it's great in emergencies, but not as something I'd use daily. | 23:13 |
wpwrak | ah, my car nav can't make phone calls :) | 23:14 |
wpwrak | and my feature phone does SMS and voice. that's all. | 23:14 |
whitequark | SIP & web are good enough on the notebook | 23:15 |
whitequark | GPS's kinda inconvenient | 23:15 |
apelete | mth: you're right, it is handled in generic code indeed: | 23:17 |
apelete | $ find drivers/usb/musb/ -type f -exec grep -Hin "MUSB_POWER_SOFTCONN" {} \; | 23:17 |
apelete | drivers/usb/musb/blackfin.c:265:val &= ~MUSB_POWER_SOFTCONN; | 23:17 |
apelete | drivers/usb/musb/blackfin.c:270:val |= MUSB_POWER_SOFTCONN; | 23:17 |
apelete | drivers/usb/musb/musb_gadget.c:1616:power |= MUSB_POWER_SOFTCONN; | 23:17 |
apelete | drivers/usb/musb/musb_gadget.c:1618:power &= ~MUSB_POWER_SOFTCONN; | 23:17 |
apelete | drivers/usb/musb/musb_regs.h:46:#define MUSB_POWER_SOFTCONN0x40 | 23:17 |
apelete | looks like set_vbus() call in musb glue will need fixing | 23:18 |
apelete | DocScrutinizer05: just read http://neo900.org/faq, I was thinking the device would ship with a phone OS (no matter how limited), ie. could make phone calls and/or sms out of the box | 23:36 |
DocScrutinizer05 | we will ship a rudimentary dialer | 23:36 |
DocScrutinizer05 | actually I guess by the time we're shipping SHR should be ported and ready to use | 23:37 |
DocScrutinizer05 | after all it's working on GTA04 already afaik | 23:38 |
apelete | DocScrutinizer05: great. so the device would be more of a foss dev phone than an actual ready to use phone, like the GTA04, right ? | 23:41 |
DocScrutinizer05 | right | 23:41 |
DocScrutinizer05 | GolDeliCo doesn't ship a ral OS - that's up to commuity | 23:42 |
DocScrutinizer05 | we're busy porting fremantle | 23:42 |
DocScrutinizer05 | see | 23:42 |
DocScrutinizer05 | http://talk.maemo.org/showthread.php?t=91142 | 23:42 |
DocScrutinizer05 | link on post#1 | 23:42 |
apelete | DocScrutinizer05: that's what I was going to ask: "who's working on it and how far has it gone ?" :) | 23:45 |
apelete | it's great to see an attempt at building a phone with a keyboard, really | 23:45 |
DocScrutinizer05 | see FPTF thread, though the devels are not really updating that one frequently | 23:45 |
DocScrutinizer05 | well, hw kbd been one of the must-have's | 23:46 |
DocScrutinizer05 | otherwise I wouldn't have left my bed for this | 23:46 |
apelete | I'm still using a Nokia N9, but wish a phone with a keyboard will be available by the time the N9 isn't working anymore | 23:50 |
apelete | DocScrutinizer05: going to keep an eye on this, let's see if I can give a hand when that little musb project of mine is ready :) | 23:57 |
Action: apelete looks at his wallet too... | 23:57 | |
DocScrutinizer05 | :-) | 23:57 |
DocScrutinizer05 | much appreciated | 23:57 |
whitequark | frankly it's tempting | 23:58 |
whitequark | but I just don't want to have yet another phone that doesn't work, for the cost of iphone this time | 23:58 |
--- Thu Oct 31 2013 | 00:00 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!